]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fixed bug with falsly reporting that configs CAN be copied.
authorfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 4 Sep 2004 14:54:45 +0000 (14:54 +0000)
committerfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 4 Sep 2004 14:54:45 +0000 (14:54 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@852 e03df62e-2008-0410-955e-edbf42e46eb7

configure

index 1428cdd2fb6eeb70ddcb20fb0a86e864ff6de7c1..e9e006bca2098c96304f725fd7abff3f095e42db 100755 (executable)
--- a/configure
+++ b/configure
@@ -399,6 +399,12 @@ echo -e "\033[0;37mOptimation Flag:\033[1;32m\t\t$OPTIMISATI"
 echo -e "\033[0;37m"
 
 echo "Writing cache file for future ./configures ..."
+
+if [ "$CONFIG_DIR" != "$ME/conf" ] ; then
+    COPY_CONF=1
+fi
+
+
 if [ -e ".config.cache" ] ; then
        rm .config.cache
 fi
@@ -411,7 +417,7 @@ echo "NICK_LENGT=\"$NICK_LENGT\"" >> .config.cache
 echo "MAXI_MODES=\"$MAXI_MODES\"" >> .config.cache 
 echo "OPTIMITEMP=\"$OPTIMITEMP\"" >> .config.cache
 echo "OPTIMISATI=\"$OPTIMISATI\"" >> .config.cache
-
+echo "COPY_CONF=\"$COPY_CONF\"" >> .config.cache
 
 echo "Writing include/inspircd_config.h ..."
 
@@ -437,11 +443,6 @@ touch include/inspircd_config.h
 
 echo "Preparing Variables for the Makefile"
 
-if [ "$CONFIG_DIR" != "$ME/conf" ] ; then
-    COPY_CONF=1
-fi
-
-
 case "$OSNAME" in
        (FreeBSD)
                LDLIBS="-Ldl"