]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Hack makefiles in all the subdirectories...
authorTed Lemon <source@isc.org>
Sat, 22 Feb 1997 13:24:33 +0000 (13:24 +0000)
committerTed Lemon <source@isc.org>
Sat, 22 Feb 1997 13:24:33 +0000 (13:24 +0000)
configure

index de30db4f02e585f1f92da7e7c31013ed3f0d45ba..69f606eb7474c53c111cf0c24647177a15a99797 100755 (executable)
--- 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.dist >Makefile
+for foo in . client server common; do
+       (cd $foo; sed -e "/^##--${sysname}--/,/^##--${sysname}--/s/^#//" \
+               <Makefile.dist >Makefile)
+done
 
 exit 0