summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-25 06:14:33 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-25 06:14:33 +0000
commitc114e8713539e85389db444b3938119fae05afec (patch)
tree6230689e941fc99b1adabc36bd862174c86c48ac
parente2359d9a4ed9d27139346aa045c784db04d15776 (diff)
GCC 3.4 detection tested and working
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@903 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index 24e6c6de1..a9d695aea 100755
--- a/configure
+++ b/configure
@@ -395,8 +395,8 @@ echo -e "\033[0;37mMax User Channels\033[1;32m\t\t$MAX_CHANNE"
echo -e "\033[0;37mMax nickname length:\033[1;32m\t\t$NICK_LENGT"
echo -e "\033[0;37mMax channel length:\033[1;32m\t\t$CHAN_LENGT"
echo -e "\033[0;37mMax mode length:\033[1;32m\t\t$MAXI_MODES"
-echo -e "\033[0;37mGCC Version Found:\033[1;32m\t\t$GCCVER"
-echo -e "\033[0;37mOptimation Flag:\033[1;32m\t\t$OPTIMISATI"
+echo -e "\033[0;37mGCC Version Found:\033[1;32m\t\t$GCCVER.$GCC34"
+echo -e "\033[0;37mOptimatizaton Flag:\033[1;32m\t\t$OPTIMISATI"
echo -e "\033[0;37m"
echo "Writing cache file for future ./configures ..."
@@ -427,9 +427,9 @@ echo "/* Auto generated by configure, do not modify! */" >include/inspircd_confi
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
+ if [ "$GCC34" -eq "4" ] ; then
+ echo "#define GCC34" >>include/inspircd_config.h
+ fi
fi
echo "#define SYSLOG_FACILITY LOG_DAEMON" >>include/inspircd_config.h
echo "#define SYSLOG_LEVEL LOG_NOTICE" >>include/inspircd_config.h