From 984035c87f0bb7baf327c2a5ecd6c8d5fe07ce07 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 23 Jan 2003 20:28:13 +0000 Subject: Fixed paths and makefile locations git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@142 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'configure') diff --git a/configure b/configure index d0e506392..21bddac07 100755 --- a/configure +++ b/configure @@ -263,7 +263,7 @@ 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 VERSION \"`sh ./src/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 @@ -272,26 +272,13 @@ 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 - -echo "" -echo -e "\033[1;32mDetecting modules...\033[0;37m" -MODLINE="" -for module in m_*.cpp ; do - mod=`perl -e '$a='$module';print substr($a,0,length($a)-3)'` - dmod=`perl -e '$a="'$mod'";while (length($a)<30) { $a = "$a ";}; print $a;'` - desc=`perl -e 'open (F, "<'$module'");local($/)=undef;$blah=;$blah=~/\$ModDesc(.*)\*\//;print substr($1,13,length($1));close F;'` - echo -e "Found \033[1;32m$dmod\033[0;37m$desc" - MODLINE="$mod.so $MODLINE" -done -echo "" +touch include/inspircd_config.h echo -e "Writing \033[1;37m$OSNAME\033[0;37m makefile" cp -f Makefile.$OSNAME Makefile -cp -f src/Makefile.$OSNAME src/Makefile.$OSNAME -cp -f src/modules/Makefile.$OSNAME src/modules/Makefile.$OSNAME +cp -f src/Makefile.$OSNAME src/Makefile +cp -f src/modules/Makefile.$OSNAME src/modules/Makefile echo "" echo "Do you want to compile the IRCd binaries?" -- cgit v1.2.3