1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 08:53:12 +02:00

+- Added possiblity to add parameters to configure in Config

This commit is contained in:
stskeeps
2001-07-10 09:52:44 +00:00
parent 510a8fb9c2
commit c6e8b4b28b
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -673,3 +673,4 @@ seen. gmtime warning still there
- Changed pthread process check to pthread_join on proposal and idea by
codemastr
- Some configure.in fixes to pthread stuff
- Added possiblity to add parameters to configure in Config
+10
View File
@@ -53,6 +53,7 @@ ARG="$ARG--with-hostname=$DOMAINNAME "
ARG="$ARG--with-permissions=$DEFPERM "
ARG="$ARG--with-fd-setsize=$MAXCONNECTIONS "
ARG="$ARG--enable-dynamic-linking "
ARG="$ARG $EXTRAPARA "
CONF="./configure $ARG"
echo $CONF
$CONF
@@ -87,6 +88,7 @@ MAXSENDQLENGTH="3000000"
BUFFERPOOL="9"
MAXCONNECTIONS="1024"
INET6=""
EXTRAPARA=""
if [ "`eval echo -n 'a'`" = "-n a" ] ; then
c="\c"
else
@@ -560,6 +562,13 @@ while [ -z "$TEST" ] ; do
;;
esac
done
echo ""
echo "Would you like any more parameters to configure?"
echo "Write them here:"
echo $n "[]-> $c"
read EXTRAPARA
rm -f config.settings
cat > config.settings << __EOF__
#
@@ -580,6 +589,7 @@ HUB="$HUB"
DOMAINNAME="$DOMAINNAME"
DEFPERM="$DEFPERM"
CRYPTOIRCD="$CRYPTOIRCD"
EXTRAPARA="$EXTRAPARA"
__EOF__
RUN_CONFIGURE
cat << __EOF__