X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=6cefea4e54529c676da6916609df823d4e362c8f;hb=63f564447cf22a7caf18ae8a1297a5ab0ad873a4;hp=ecc48d7dc4c1a3c6ed525d495aa04843df7c9182;hpb=9f1bd74b09810565502451047b06b6eca7e47f7f;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index ecc48d7dc..6cefea4e5 100755 --- a/configure +++ b/configure @@ -26,6 +26,7 @@ NICK_LENGT=32 CHAN_LENGT=64 MAX_CHANNE=20 MAXI_MODES=20 +HAS_STRLCPY=0 OSNAME=`(uname -s) 2>/dev/null` || OSNAME="unknown" if [ -z $MAX_CLIENT_T ] ; then @@ -54,12 +55,12 @@ if [ "$1" = "-update" -o "$2" = "-update" ] ; then # Check for modules case "$OSNAME" in - (FreeBSD) + FreeBSD) LDLIBS="-Ldl" FLAGS="-fPIC -frtti $OPTIMISATI" MAKEPROG="gmake" ;; - (*) + *) LDLIBS="-ldl" FLAGS="-fPIC -frtti $OPTIMISATI" MAKEPROG="make" @@ -73,7 +74,47 @@ if [ "$1" = "-update" -o "$2" = "-update" ] ; then done # Write the new makefile. - . .Makefile.inc + for file in Makefile; do + echo -e "\033[0mWriting \033[1;32m$file\033[0m" + rm -f $file + sed -e " + s%@MAKEPROG@%$MAKEPROG%g + s%@FLAGS@%$FLAGS%g + s%@LDLIBS@%$LDLIBS%g + s%@CONFIG_DIR@%$CONFIG_DIR%g + s%@MODULE_DIR@%$MODULE_DIR%g + s%@BINARY_DIR@%$BINARY_DIR%g + s%@MODULES@%$MODULES%g + " .${file}.inc >> $file + done + echo -e "\033[0mWriting \033[1;32msrc/modules/Makefile\033[0m" + rm -f src/modules/Makefile + + # Generate the Header.. + + echo "# (C) ChatSpike development team" >> src/modules/Makefile + echo "# Makefile by " >> src/modules/Makefile + echo "# Many Thanks to Andrew Church " >> src/modules/Makefile + echo "# for assisting with making this work right." >> src/modules/Makefile + echo "#" >> src/modules/Makefile + echo "# Automatically Generated by ./configure to add a module" >> src/modules/Makefile + echo "# please run ./configure --update" >> src/modules/Makefile + echo "" >> src/modules/Makefile + echo "all: \$(MODULES)" >> src/modules/Makefile + echo "" >> src/modules/Makefile + + + for module in src/modules/*.cpp ; do + flags=`grep '$CompileFlags: ' $module | sed 's/\/\* $CompileFlags://' | sed 's/\*\///'` + mod=`echo $module | sed 's/.cpp/.so/' | sed 's/src\/modules\///'` + mod2=`echo $module | sed 's/src\/modules\///'` + echo "$mod: $mod2 ../../include/modules.h ../../include/users.h ../../include/channels.h ../../include/servers.h ../../include/base.h" >> src/modules/Makefile + echo " \$(CC) -I../../include \$(FLAGS) -shared$flags -o $mod $mod2" >> src/modules/Makefile + echo " @cp $mod \$(MODPATH)/" >> src/modules/Makefile + echo "" >> src/modules/Makefile + done + + echo "Complete." exit 1; fi @@ -101,34 +142,37 @@ exists () { # because some shells don't have test -e } echo "#include ">.test.cpp -echo >"int main() { char a[10]; char b[10]; strlcpy(a,b,10); sprintf("999"); }" >>.test.cpp -gcc -o .test .test.cpp -$HAS_STRLCPY=`./.test` +echo "#include ">>.test.cpp +echo "int main() { char a[10]; char b[10]; strlcpy(a,b,10); printf(\"%d\\n\",9); }" >>.test.cpp +g++ -o .test .test.cpp 2>&1 +if [ -e ".test" ] ; then + HAS_STRLCPY=1 +fi rm -f .test.cpp .test clear -echo -e "'\033[1;33m####\033[0;37m:'\033[1;33m##\033[0;37m::: \033[1;33m##\033[0;37m::'\033[1;33m######\033[0;37m::'\033[1;33m########\033[0;37m::'\033[1;33m####\033[0;37m:'\033[1;33m########\033[0;37m:::'\033[1;33m######\033[0;37m::'\033[1;33m########\033[0;37m::" -echo -e ". \033[1;33m##\033[0;37m:: \033[1;33m###\033[0;37m:: \033[1;33m##\033[0;37m:'\033[1;33m##\033[0;37m... \033[1;33m##\033[0;37m: \033[1;33m##\033[0;37m.... \033[1;33m##\033[0;37m:. \033[1;33m##\033[0;37m:: \033[1;33m##\033[0;37m.... \033[1;33m##\033[0;37m:'\033[1;33m##\033[0;37m... \033[1;33m##\033[0;37m: \033[1;33m##\033[0;37m.... \033[1;33m##\033[0;37m:" -echo -e ": \033[1;33m##\033[0;37m:: \033[1;33m####\033[0;37m: \033[1;33m##\033[0;37m: \033[1;33m##\033[0;37m:::..:: \033[1;33m##\033[0;37m:::: \033[1;33m##\033[0;37m:: \033[1;33m##\033[0;37m:: \033[1;33m##\033[0;37m:::: \033[1;33m##\033[0;37m: \033[1;33m##\033[0;37m:::..:: \033[1;33m##\033[0;37m:::: \033[1;33m##\033[0;37m:" -echo -e ": \033[1;33m##\033[0;37m:: \033[1;33m##\033[0;37m \033[1;33m##\033[0;37m \033[1;33m##\033[0;37m:. \033[1;33m######\033[0;37m:: \033[1;33m########\033[0;37m::: \033[1;33m##\033[0;37m:: \033[1;33m########\033[0;37m:: \033[1;33m##\033[0;37m::::::: \033[1;33m##\033[0;37m:::: \033[1;33m##\033[0;37m:" -echo -e ": \033[1;33m##\033[0;37m:: \033[1;33m##\033[0;37m. \033[1;33m####\033[0;37m::..... \033[1;33m##\033[0;37m: \033[1;33m##\033[0;37m.....:::: \033[1;33m##\033[0;37m:: \033[1;33m##\033[0;37m.. \033[1;33m##\033[0;37m::: \033[1;33m##\033[0;37m::::::: \033[1;33m##\033[0;37m:::: \033[1;33m##\033[0;37m:" -echo -e ": \033[1;33m##\033[0;37m:: \033[1;33m##\033[0;37m:. \033[1;33m###\033[0;37m:'\033[1;33m##\033[0;37m::: \033[1;33m##\033[0;37m: \033[1;33m##\033[0;37m::::::::: \033[1;33m##\033[0;37m:: \033[1;33m##\033[0;37m::. \033[1;33m##\033[0;37m:: \033[1;33m##\033[0;37m::: \033[1;33m##\033[0;37m: \033[1;33m##\033[0;37m:::: \033[1;33m##\033[0;37m:" -echo -e "'\033[1;33m####\033[0;37m: \033[1;33m##\033[0;37m::. \033[1;33m##\033[0;37m:. \033[1;33m######\033[0;37m:: \033[1;33m##\033[0;37m::::::::'\033[1;33m####\033[0;37m: \033[1;33m##\033[0;37m:::. \033[1;33m##\033[0;37m:. \033[1;33m######\033[0;37m:: \033[1;33m########\033[0;37m::" -echo -e "\033[0;37m\033[0;37m....::..::::..:::......:::..:::::::::....::..:::::..:::......:::........:::" +echo -e "'\033[1;33m####\033[0m:'\033[1;33m##\033[0m::: \033[1;33m##\033[0m::'\033[1;33m######\033[0m::'\033[1;33m########\033[0m::'\033[1;33m####\033[0m:'\033[1;33m########\033[0m:::'\033[1;33m######\033[0m::'\033[1;33m########\033[0m::" +echo -e ". \033[1;33m##\033[0m:: \033[1;33m###\033[0m:: \033[1;33m##\033[0m:'\033[1;33m##\033[0m... \033[1;33m##\033[0m: \033[1;33m##\033[0m.... \033[1;33m##\033[0m:. \033[1;33m##\033[0m:: \033[1;33m##\033[0m.... \033[1;33m##\033[0m:'\033[1;33m##\033[0m... \033[1;33m##\033[0m: \033[1;33m##\033[0m.... \033[1;33m##\033[0m:" +echo -e ": \033[1;33m##\033[0m:: \033[1;33m####\033[0m: \033[1;33m##\033[0m: \033[1;33m##\033[0m:::..:: \033[1;33m##\033[0m:::: \033[1;33m##\033[0m:: \033[1;33m##\033[0m:: \033[1;33m##\033[0m:::: \033[1;33m##\033[0m: \033[1;33m##\033[0m:::..:: \033[1;33m##\033[0m:::: \033[1;33m##\033[0m:" +echo -e ": \033[1;33m##\033[0m:: \033[1;33m##\033[0m \033[1;33m##\033[0m \033[1;33m##\033[0m:. \033[1;33m######\033[0m:: \033[1;33m########\033[0m::: \033[1;33m##\033[0m:: \033[1;33m########\033[0m:: \033[1;33m##\033[0m::::::: \033[1;33m##\033[0m:::: \033[1;33m##\033[0m:" +echo -e ": \033[1;33m##\033[0m:: \033[1;33m##\033[0m. \033[1;33m####\033[0m::..... \033[1;33m##\033[0m: \033[1;33m##\033[0m.....:::: \033[1;33m##\033[0m:: \033[1;33m##\033[0m.. \033[1;33m##\033[0m::: \033[1;33m##\033[0m::::::: \033[1;33m##\033[0m:::: \033[1;33m##\033[0m:" +echo -e ": \033[1;33m##\033[0m:: \033[1;33m##\033[0m:. \033[1;33m###\033[0m:'\033[1;33m##\033[0m::: \033[1;33m##\033[0m: \033[1;33m##\033[0m::::::::: \033[1;33m##\033[0m:: \033[1;33m##\033[0m::. \033[1;33m##\033[0m:: \033[1;33m##\033[0m::: \033[1;33m##\033[0m: \033[1;33m##\033[0m:::: \033[1;33m##\033[0m:" +echo -e "'\033[1;33m####\033[0m: \033[1;33m##\033[0m::. \033[1;33m##\033[0m:. \033[1;33m######\033[0m:: \033[1;33m##\033[0m::::::::'\033[1;33m####\033[0m: \033[1;33m##\033[0m:::. \033[1;33m##\033[0m:. \033[1;33m######\033[0m:: \033[1;33m########\033[0m::" +echo -e "\033[0m\033[0m....::..::::..:::......:::..:::::::::....::..:::::..:::......:::........:::" echo "" -echo -e "\033[1;37mWelcome to the InspIRCd Configuration program!" +echo "Welcome to the InspIRCd Configuration program!" echo "" echo "*** If you are unsure of any of these values, leave it blank for ***" echo "*** standard settings that will work, and your server will run ***" echo "*** using them. If you are running this server as part of a ***" echo "*** larger network, you must consult with your network admins ***" echo "*** for the proper values to use, or server links will be unstable! ***" -echo -e "\033[0;37m" -echo -e "Press \033[1;37m\033[0;37m to accept the default for any option, or enter" -echo -e "a new value. Please note: You will \033[1;37mHAVE\033[0;37m to read the docs" +echo "" +echo -e "Press \033[1m\033[0m to accept the default for any option, or enter" +echo -e "a new value. Please note: You will \033[1mHAVE\033[0m to read the docs" echo -e "dir, otherwise you won't have a config file!" echo "" -echo -e "Your operating system is: \033[1;37m$OSNAME\033[0;37m (`uname -mnr`), fdmax: $MAX_CLIENT_T" +echo -e "Your operating system is: \033[1;32m$OSNAME\033[0m (`uname -mnr`), fdmax: $MAX_CLIENT_T" echo "" ############################################################################# @@ -137,7 +181,7 @@ echo "" asked=1 echo "In what directory are the configuration files?" while [ $ok -eq 0 ] ; do - echo -e $n "[\033[1;32m$CONFIG_DIR\033[0;37m] -> $c" + echo -e $n "[\033[1;32m$CONFIG_DIR\033[0m] -> $c" if read INPUT ; then : ; else echo "" ; exit 1 ; fi if [ ! "$INPUT" ] ; then INPUT=$CONFIG_DIR @@ -150,7 +194,7 @@ echo "" echo "$INPUT exists, but is not a directory!" else echo "$INPUT does not exist. Create it?" - echo -e $n "[\033[1;32my\033[0;37m] $c" + echo -e $n "[\033[1;32my\033[0m] $c" read YN if [ "$YN" != "n" ] ; then if mkdir -p "$INPUT" ; then @@ -172,7 +216,7 @@ echo "" asked=1 echo "In What directory are the modules to be compiled to?" while [ $ok -eq 0 ] ; do - echo -e $n "[\033[1;32m$MODULE_DIR\033[0;37m] -> $c" + echo -e $n "[\033[1;32m$MODULE_DIR\033[0m] -> $c" if read INPUT ; then : ; else echo "" ; exit 1 ; fi if [ ! "$INPUT" ] ; then INPUT=$MODULE_DIR @@ -185,7 +229,7 @@ echo "" echo "$INPUT exists, but is not a directory!" else echo "$INPUT does not exist. Create it?" - echo -e $n "[\033[1;32my\033[0;37m] $c" + echo -e $n "[\033[1;32my\033[0m] $c" read YN if [ "$YN" != "n" ] ; then if mkdir -p "$INPUT" ; then @@ -207,7 +251,7 @@ echo "" asked=1 echo "In what directory is the IRCd binary to be placed?" while [ $ok -eq 0 ] ; do - echo -e $n "[\033[1;32m$BINARY_DIR\033[0;37m] -> $c" + echo -e $n "[\033[1;32m$BINARY_DIR\033[0m] -> $c" if read INPUT ; then : ; else echo "" ; exit 1 ; fi if [ ! "$INPUT" ] ; then INPUT=$BINARY_DIR @@ -220,7 +264,7 @@ echo "" echo "$INPUT exists, but is not a directory!" else echo "$INPUT does not exist. Create it?" - echo -e $n "[\033[1;32my\033[0;37m] $c" + echo -e $n "[\033[1;32my\033[0m] $c" read YN if [ "$YN" != "n" ] ; then if mkdir -p "$INPUT" ; then @@ -239,9 +283,9 @@ echo "" # Craigs Version 3 With slightly less Cheeze :p cheeze=0 -echo -e "Maximum number of clients at any one time (\033[1;32m1-$MAX_CLIENT_T\033[0;37m)?" +echo -e "Maximum number of clients at any one time (\033[1;32m1-$MAX_CLIENT_T\033[0m)?" while [ "$cheeze" -eq "0" ] ; do - echo -e $n "[\033[1;32m$MAX_CLIENT\033[0;37m] -> $c" + echo -e $n "[\033[1;32m$MAX_CLIENT\033[0m] -> $c" read cc if [ -z "$cc" ] ; then @@ -254,14 +298,14 @@ while [ "$cheeze" -eq "0" ] ; do echo -e "WARNING: Our scans have indicated that you are attempting" echo -e "to use more sockets than there are avaliable. Are you sure" echo -e "you wish to do this? It may cause the IRCd to malfunction [y/n]" - echo -e $n "[\033[1;32mn\033[0;37m] -> $c" + echo -e $n "[\033[1;32mn\033[0m] -> $c" read YN if [ "$YN" = "y" ] ; then MAX_CLIENT=$cc cheeze=1 else echo "" - echo -e "Please enter the correct value (\033[1;32m1-$MAX_CLIENT_T\033[0;37m)" + echo -e "Please enter the correct value (\033[1;32m1-$MAX_CLIENT_T\033[0m)" fi else echo $SCAN_FAILED @@ -283,7 +327,7 @@ echo "" cheeze=0 echo -e "What is the Maximum length of nicknames?" while [ "$cheeze" -eq "0" ] ; do - echo -e $n "[\033[1;32m$NICK_LENGT\033[0;37m] -> $c" + echo -e $n "[\033[1;32m$NICK_LENGT\033[0m] -> $c" read cc if [ "$cc" ] ; then case "$cc" in @@ -308,7 +352,7 @@ echo "" cheeze=0 echo -e "What is the Maximum length of channel names?" while [ "$cheeze" -eq "0" ] ; do - echo -e $n "[\033[1;32m$MAX_CHANNE\033[0;37m] -> $c" + echo -e $n "[\033[1;32m$MAX_CHANNE\033[0m] -> $c" read cc if [ "$cc" ] ; then case "$cc" in @@ -333,7 +377,7 @@ echo "" cheeze=0 echo -e "What is the Maximum number of mode changes in one line?" while [ "$cheeze" -eq "0" ] ; do - echo -e $n "[\033[1;32m$MAXI_MODES\033[0;37m] -> $c" + echo -e $n "[\033[1;32m$MAXI_MODES\033[0m] -> $c" read cc if [ "$cc" ] ; then case "$cc" in @@ -364,25 +408,25 @@ echo "" echo -e "" echo -e "The Higher the number, the more optimised your binary will be. This value will default to 0" echo -e "If you either a) Dont enter a number, or b) Enter a value outside the range." - echo -e $n "[\033[1;32m$OPTIMITEMP\033[0;37m] -> $c" + echo -e $n "[\033[1;32m$OPTIMITEMP\033[0m] -> $c" read cc if [ -z "$cc" ] ; then cc=$OPTIMITEMP fi case "$cc" in - (1) + 1) OPTIMITEMP=1 OPTIMISATI="-O" ;; - (2) + 2) OPTIMITEMP=2 OPTIMISATI="-O2" ;; - (3) + 3) OPTIMITEMP=3 OPTIMISATI="-O3" ;; - (*) + *) OPTIMITEMP=0 OPTIMISATI="-g" ;; @@ -392,21 +436,22 @@ echo "" ############################################################################### -echo -e "\033[1;32mPre-build configuration is complete!\033[0;37m" +echo -e "\033[1;32mPre-build configuration is complete!\033[0m" echo "" -echo -e "\033[0;37mConfig path:\033[1;32m\t\t\t$CONFIG_DIR" -echo -e "\033[0;37mModule path:\033[1;32m\t\t\t$MODULE_DIR" -echo -e "\033[0;37mMax connections:\033[1;32m\t\t$MAX_CLIENT" -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.$GCC34" -echo -e "\033[0;37mOptimatizaton Flag:\033[1;32m\t\t$OPTIMISATI" -echo -e "\033[0;37m" - -yyecho "Writing cache file for future ./configures ..." - +echo -e "\033[0mConfig path:\033[1;32m\t\t\t$CONFIG_DIR" +echo -e "\033[0mModule path:\033[1;32m\t\t\t$MODULE_DIR" +echo -e "\033[0mMax connections:\033[1;32m\t\t$MAX_CLIENT" +echo -e "\033[0mMax User Channels\033[1;32m\t\t$MAX_CHANNE" +echo -e "\033[0mMax nickname length:\033[1;32m\t\t$NICK_LENGT" +echo -e "\033[0mMax channel length:\033[1;32m\t\t$CHAN_LENGT" +echo -e "\033[0mMax mode length:\033[1;32m\t\t$MAXI_MODES" +echo -e "\033[0mGCC Version Found:\033[1;32m\t\t$GCCVER.$GCC34" +echo -e "\033[0mOptimatizaton Flag:\033[1;32m\t\t$OPTIMISATI" +echo -e "\033[0m" + +echo "Writing cache file for future ./configures ..." + +COPY_CONF=0 if [ "$CONFIG_DIR" != "$ME/conf" ] ; then COPY_CONF=1 fi @@ -428,7 +473,7 @@ echo "GCC34=\"$GCC34\"" >> .config.cache echo "HAS_STRLCPY=\"$HAS_STRLCPY\"" >> .config.cache echo "COPY_CONF=\"$COPY_CONF\"" >> .config.cache -echo "Writing include/inspircd_config.h ..." +echo -e "Writing \033[1;32minspircd_config.h" echo "/* Auto generated by configure, do not modify! */" >include/inspircd_config.h echo "" >>include/inspircd_config.h @@ -438,7 +483,7 @@ echo "#define GCC3" >>include/inspircd_config.h echo "#define GCC34" >>include/inspircd_config.h fi fi -if [ "$HAS_STRLCPY" -eq "999" ] ; then +if [ "$HAS_STRLCPY" -eq "1" ] ; then echo "#define HAS_STRLCPY" >>include/inspircd_config.h fi echo "#define SYSLOG_FACILITY LOG_DAEMON" >>include/inspircd_config.h @@ -456,15 +501,13 @@ echo "#define SYSTEM \"`uname -n -s -r`\"" >>include/inspircd_config.h echo "#define MAXBUF 514">>include/inspircd_config.h touch include/inspircd_config.h -echo "Preparing Variables for the Makefile" - case "$OSNAME" in - (FreeBSD) + FreeBSD) LDLIBS="-Ldl" FLAGS="-fPIC -frtti $OPTIMISATI" MAKEPROG="gmake" ;; - (*) + *) LDLIBS="-ldl" FLAGS="-fPIC -frtti $OPTIMISATI" MAKEPROG="make" @@ -477,44 +520,68 @@ for module in src/modules/*.cpp ; do MODULES="$MODULES $mod" done -echo -e "Writing \033[1;37m$OSNAME\033[0;37m makefile" -echo "" +for file in Makefile inspircd; do + echo -e "\033[0mWriting \033[1;32m$file\033[0m" + rm -f $file + sed -e " + s%@MAKEPROG@%$MAKEPROG%g + s%@FLAGS@%$FLAGS%g + s%@LDLIBS@%$LDLIBS%g + s%@CONFIG_DIR@%$CONFIG_DIR%g + s%@MODULE_DIR@%$MODULE_DIR%g + s%@BINARY_DIR@%$BINARY_DIR%g + s%@MODULES@%$MODULES%g + " .${file}.inc >> $file +done +`chmod 700 inspircd` + +echo -e "\033[0mWriting \033[1;32msrc/modules/Makefile\033[0m" +rm -f src/modules/Makefile + +# Generate the Header.. + +echo "# (C) ChatSpike development team" >> src/modules/Makefile +echo "# Makefile by " >> src/modules/Makefile +echo "# Many Thanks to Andrew Church " >> src/modules/Makefile +echo "# for assisting with making this work right." >> src/modules/Makefile +echo "#" >> src/modules/Makefile +echo "# Automatically Generated by ./configure to add a module" >> src/modules/Makefile +echo "# please run ./configure --update" >> src/modules/Makefile +echo "" >> src/modules/Makefile +echo "all: \$(MODULES)" >> src/modules/Makefile +echo "" >> src/modules/Makefile + +for module in src/modules/*.cpp ; do + flags=`grep '$CompileFlags: ' $module | sed 's/\/\* $CompileFlags://' | sed 's/\*\///'` + mod=`echo $module | sed 's/.cpp/.so/' | sed 's/src\/modules\///'` + mod2=`echo $module | sed 's/src\/modules\///'` + echo "$mod: $mod2 ../../include/modules.h ../../include/users.h ../../include/channels.h ../../include/servers.h ../../include/base.h" >> src/modules/Makefile + echo " \$(CC) -I../../include \$(FLAGS) -shared$flags -o $mod $mod2" >> src/modules/Makefile + echo " @cp $mod \$(MODPATH)/" >> src/modules/Makefile + echo "" >> src/modules/Makefile +done -. .Makefile.inc echo "" echo "" echo "Do you want to compile the IRCd binaries?" -echo -e $n "[\033[1;32my\033[0;37m] $c" +echo -e $n "[\033[1;32my\033[0m] $c" read YN if [ "$YN" != "n" ] ; then echo "" - echo -e "\033[1;32mCompiling...\033[0;37m" + echo -e "\033[1;32mCompiling...\033[0m" echo "" cd $ME $MAKEPROG echo "" echo "Done!" - echo "" else echo "" - echo "Done!" - echo "" - echo -e "To build your server with these settings, please type '\033[1;32mmake\033[0;37m' now." - echo "" - echo -e "*** \033[1;32mRemember to edit your configuration files!!!\033[0;37m ***" - echo "" + echo -e "To build your server with these settings, please type '\033[1;32m$MAKEPROG\033[0m' now." fi echo "" -echo "Do you want to run the config file maker?" -echo -e $n "[\033[1;32my\033[0;37m] $c" -read YN -if [ "$YN" != "n" ] ; then - sh makeconf -fi - -echo -e "*** \033[1;32mRemember to edit your configuration files!!!\033[0;37m ***" +echo -e "*** \033[1;32mRemember to edit your configuration files!!!\033[0m ***" echo ""