chiark / gitweb /
build-sys: fix sysvcompat handling in distcheck
authorTom Gundersen <teg@jklm.no>
Tue, 20 Nov 2012 17:19:44 +0000 (18:19 +0100)
committerTom Gundersen <teg@jklm.no>
Tue, 20 Nov 2012 18:35:27 +0000 (19:35 +0100)
commit1d0b59f932d96c108ad5e921213723a48e6b47b8
tree32f6a1805c43019e6e5546cc2f0ba98354bb0f3c
parente9fd44b728ff1fc0d1f24fccb87a767f6865df27
build-sys: fix sysvcompat handling in distcheck

Distcheck would fail due to sysvinit dir being set,
but not sysvrcnd dir:

 # ./configure --enable-gtk-doc --with-sysvrcd-path=/etc/rc.d
 # --with-sysvinit-path=/etc/rc.d
 # make distcheck
 ...
 configure: error: *** You need both --with-sysvinit-path=PATH and
--with-sysvrcd-path=PATH to enable SysV compatibility support, or both
empty to disable it.
make: *** [distcheck] Error 1

This also allows sysvcompat support to be disabled from distcheck.
Makefile.am