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]) |
120 |
|
|