From: Ted Lemon Date: Sat, 22 Feb 1997 13:24:33 +0000 (+0000) Subject: Hack makefiles in all the subdirectories... X-Git-Tag: DHCP_970222~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7d3bc4e595c1cf19bb73be1bc91bab9d42ffceb6;p=thirdparty%2Fdhcp.git Hack makefiles in all the subdirectories... --- diff --git a/configure b/configure index de30db4f0..69f606eb7 100755 --- a/configure +++ b/configure @@ -62,48 +62,11 @@ if [ "$sysname" = "" ]; then exit 1; fi -if [ \( $sysname = "bsdos" -o $sysname = "netbsd" -o $sysname = "freebsd" \) \ - -a \( ! -f /var/db/dhcpd.leases \) -a \( -f /etc/dhcpd.leases \) ]; - then - echo - echo " !!!WARNING!!!" - echo - echo DHCPD is now storing the DHCP lease database in /var/db - echo instead of /etc. Before you start using this new version - echo of dhcpd, you must move your dhcpd.leases file from /etc - echo to /var/db! - echo - echo " !!!WARNING!!!" - echo -fi - -if [ \( $sysname = "linux" \) \ - -a \( ! -f /var/dhcpd/dhcpd.leases \) -a \( -f /etc/dhcpd.leases \) ]; - then - echo - echo " !!!WARNING!!!" - echo - echo DHCPD is now storing the DHCP lease database in /var/dhcpd - echo instead of /etc. Before you start using this new version - echo of dhcpd, you must move your dhcpd.leases file from /etc - echo to /var/dhcpd! - echo - echo " !!!WARNING!!!" - echo -fi - -echo -echo " !!!WARNING!!!" -echo -echo " The lease database format changed as of Beta 5. Please read the" -echo " RELNOTES file for details!" -echo -echo " !!!WARNING!!!" - - echo "System Type: $sysname" -sed -e "/^##--${sysname}--/,/^##--${sysname}--/s/^#//" \ - Makefile +for foo in . client server common; do + (cd $foo; sed -e "/^##--${sysname}--/,/^##--${sysname}--/s/^#//" \ + Makefile) +done exit 0