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:
@@ -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
|
||||
|
||||
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user