From 5291e2815ee96821382c197060a1753cf40cc453 Mon Sep 17 00:00:00 2001 From: frostycoolslug Date: Sat, 4 Sep 2004 14:54:45 +0000 Subject: Fixed bug with falsly reporting that configs CAN be copied. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@852 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 1428cdd2f..e9e006bca 100755 --- 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" -- cgit v1.2.3