6 |
|
# |
7 |
|
|
8 |
|
# Change these to change the package name and version |
9 |
< |
AC_INIT(ihost, 1.5.5, dev@i-scream.org.uk) |
10 |
< |
AM_INIT_AUTOMAKE(ihost, 1.5.5) |
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$) |
81 |
|
freebsd4.*) |
82 |
|
AC_CHECK_LIB(ukcprog, fpgetline,[:],[AC_MSG_ERROR([need libukcprog])]) |
83 |
|
AC_DEFINE(FREEBSD, , [Building on FreeBSD 4.x]) |
84 |
< |
LIBS="$LIBS -lkvm -lstatgrab -lukcprog -static" |
84 |
> |
LIBS="$LIBS -lstatgrab -lkvm -ldevstat -lukcprog -static" |
85 |
|
# FreeBSD needs ihost to be setgid kmem |
86 |
|
AM_CONDITIONAL(SETGIDKMEM, true) |
87 |
|
;; |
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]) |