From 03f3994751e63b3b5a167490587eb513efe406ed Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 23 Jan 2003 20:09:07 +0000 Subject: Edited file paths git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@138 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 39 +++++++++++++++++---------------------- 1 file changed, 17 insertions(+), 22 deletions(-) diff --git a/configure b/configure index b48b0b5dc..d0e506392 100755 --- a/configure +++ b/configure @@ -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" -- cgit v1.2.3