--- projects/cms/source/ihost/configure.in 2003/08/22 14:44:06 1.27 +++ projects/cms/source/ihost/configure.in 2003/10/05 12:52:12 1.28 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. # # configure.in for i-scream ihost -# $Id: configure.in,v 1.27 2003/08/22 14:44:06 tdb Exp $ +# $Id: configure.in,v 1.28 2003/10/05 12:52:12 tdb Exp $ # # Change these to change the package name and version @@ -10,7 +10,7 @@ AC_INIT(ihost, 1.5.7, bugs@i-scream.org) AM_INIT_AUTOMAKE(ihost, 1.5.7) # Revision number (automatically updated) -AC_REVISION($Revision: 1.27 $) +AC_REVISION($Revision: 1.28 $) # Might work with older autoconfs... but tested on 2.57 AC_PREREQ(2.57) @@ -106,6 +106,14 @@ AC_DEFINE_UNQUOTED([MAX_UDP_PACKET_SIZE], [$max_udp_si # Check for the --with-log-file option AC_ARG_WITH([log-file], [ --with-log-file=FILE location of log file (default: /var/log/ihost.log)], [logfile=$withval], [logfile=[/var/log/ihost.log]]) AC_DEFINE_UNQUOTED([LOG_FILE], ["$logfile"], [Location of log file]) + +# Check for the --with-server-name option +AC_ARG_WITH([server-name], [ --with-server-name=NAME default server name (default: i-scream)], [servername=$withval], [servername=[i-scream]]) +AC_DEFINE_UNQUOTED([DEF_SERVER_NAME], ["$servername"], [Default Server Name]) + +# Check for the --with-server-port option +AC_ARG_WITH([server-port], [ --with-server-port=PORT default server port (default: 4567)], [serverport=$withval], [serverport=[4567]]) +AC_DEFINE_UNQUOTED([DEF_SERVER_PORT], [$serverport], [Default Server Port]) # And finish by changing these files AC_CONFIG_FILES([Makefile])