diff options
author | frostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-09-04 14:54:45 +0000 |
---|---|---|
committer | frostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-09-04 14:54:45 +0000 |
commit | 5291e2815ee96821382c197060a1753cf40cc453 (patch) | |
tree | 92431dee9fc5ec4187bdb406a03b62425e1e6b17 | |
parent | 58f012efd7e90aad197f2537b5fffdaae8acb437 (diff) |
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
-rwxr-xr-x | configure | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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" |