diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -14,6 +14,7 @@ echo "Configuring default values..." ME=`pwd` GCCVER=`gcc -dumpversion | cut -c 1` +GCC34=`gcc -dumpversion | cut -c 3` CONFIG_DIR=$ME/conf MODULE_DIR=$ME/modules BINARY_DIR=$ME/bin @@ -417,6 +418,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 "GCC34=\"$GCC34\"" >> .config.cache echo "COPY_CONF=\"$COPY_CONF\"" >> .config.cache echo "Writing include/inspircd_config.h ..." @@ -426,6 +428,9 @@ echo "" >>include/inspircd_config.h if [ "$GCCVER" -eq "3" ] ; then echo "#define GCC3" >>include/inspircd_config.h fi +if [ "$GCC34" -eq "3.4" ] ; then +echo "#define GCC34" >>include/inspircd_config.h +fi echo "#define SYSLOG_FACILITY LOG_DAEMON" >>include/inspircd_config.h echo "#define SYSLOG_LEVEL LOG_NOTICE" >>include/inspircd_config.h echo "#define CONFIG_FILE \"$CONFIG_DIR/inspircd.conf\"" >>include/inspircd_config.h |