diff options
-rwxr-xr-x | configure | 39 |
1 files changed, 17 insertions, 22 deletions
@@ -254,24 +254,23 @@ 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;37m" -echo "Writing inspircd_config.h ..." - - -echo "/* Auto generated by configure, do not modify! */" >inspircd_config.h -echo "" >>inspircd_config.h -echo "#define SYSLOG_FACILITY LOG_DAEMON" >>inspircd_config.h -echo "#define SYSLOG_LEVEL LOG_NOTICE" >>inspircd_config.h -echo "#define CONFIG_FILE \"$CONFIG_DIR/inspircd.conf\"" >>inspircd_config.h -echo "#define MOD_PATH \"$MODULE_DIR\"" >>inspircd_config.h -echo "#define VERSION \"`sh ./version.sh`\"" >>inspircd_config.h -echo "#define MAXCLIENTS $MAX_CLIENT" >>inspircd_config.h -echo "#define NICKMAX $NICK_LENGT" >>inspircd_config.h -echo "#define CHANMAX $CHAN_LENGT" >>inspircd_config.h -echo "#define MAXCHANS $MAX_CHANNE" >>inspircd_config.h -echo "#define MAXMODES $MAXI_MODES" >>inspircd_config.h -echo "#define SYSTEM \"`uname -n -s -r`\"" >>inspircd_config.h -echo "#define MAXBUF 514">>inspircd_config.h -echo "$MODULE_DIR">.modpath +echo "Writing include/inspircd_config.h ..." + + +echo "/* Auto generated by configure, do not modify! */" >include/inspircd_config.h +echo "" >>include/inspircd_config.h +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 +echo "#define MOD_PATH \"$MODULE_DIR\"" >>include/inspircd_config.h +echo "#define VERSION \"`sh ./version.sh`\"" >>include/inspircd_config.h +echo "#define MAXCLIENTS $MAX_CLIENT" >>include/inspircd_config.h +echo "#define NICKMAX $NICK_LENGT" >>include/inspircd_config.h +echo "#define CHANMAX $CHAN_LENGT" >>include/inspircd_config.h +echo "#define MAXCHANS $MAX_CHANNE" >>include/inspircd_config.h +echo "#define MAXMODES $MAXI_MODES" >>include/inspircd_config.h +echo "#define SYSTEM \"`uname -n -s -r`\"" >>include/inspircd_config.h +echo "#define MAXBUF 514">>include/inspircd_config.h touch inspircd_config.h rm -rf *.o core $MOD_PATH/*.so @@ -287,10 +286,6 @@ for module in m_*.cpp ; do MODLINE="$mod.so $MODLINE" done echo "" -echo -e "Module list: \033[1;32m$MODLINE\033[0;37m" -echo "" - - echo -e "Writing \033[1;37m$OSNAME\033[0;37m makefile" |