6 |
|
# |
7 |
|
|
8 |
|
# Change these to change the package name and version |
9 |
< |
AC_INIT(ihost, 1.5.6, dev@i-scream.org.uk) |
10 |
< |
AM_INIT_AUTOMAKE(ihost, 1.5.6) |
9 |
> |
AC_INIT(ihost, 1.5.7, bugs@i-scream.org) |
10 |
> |
AM_INIT_AUTOMAKE(ihost, 1.5.7) |
11 |
|
|
12 |
|
# Revision number (automatically updated) |
13 |
|
AC_REVISION($Revision$) |
106 |
|
# Check for the --with-log-file option |
107 |
|
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]]) |
108 |
|
AC_DEFINE_UNQUOTED([LOG_FILE], ["$logfile"], [Location of log file]) |
109 |
+ |
|
110 |
+ |
# Check for the --with-server-name option |
111 |
+ |
AC_ARG_WITH([server-name], [ --with-server-name=NAME default server name (default: i-scream)], [servername=$withval], [servername=[i-scream]]) |
112 |
+ |
AC_DEFINE_UNQUOTED([DEF_SERVER_NAME], ["$servername"], [Default Server Name]) |
113 |
+ |
|
114 |
+ |
# Check for the --with-server-port option |
115 |
+ |
AC_ARG_WITH([server-port], [ --with-server-port=PORT default server port (default: 4567)], [serverport=$withval], [serverport=[4567]]) |
116 |
+ |
AC_DEFINE_UNQUOTED([DEF_SERVER_PORT], [$serverport], [Default Server Port]) |
117 |
|
|
118 |
|
# And finish by changing these files |
119 |
|
AC_CONFIG_FILES([Makefile]) |