6 |
|
# |
7 |
|
|
8 |
|
# Change these to change the package name and version |
9 |
< |
AC_INIT(idar, 1.1, dev@i-scream.org.uk) |
10 |
< |
AM_INIT_AUTOMAKE(idar, 1.1) |
9 |
> |
AC_INIT(idar, 1.2, dev@i-scream.org.uk) |
10 |
> |
AM_INIT_AUTOMAKE(idar, 1.2) |
11 |
|
|
12 |
|
# Revision number (automatically updated) |
13 |
|
AC_REVISION($Revision$) |
93 |
|
AC_MSG_ERROR([Cannot build on unknown OS: $host_os]) |
94 |
|
;; |
95 |
|
esac |
96 |
+ |
|
97 |
+ |
# Check for the --with-server-name option |
98 |
+ |
AC_ARG_WITH([server-name], [ --with-server-name=FILE default server name (default: localhost)], [servername=$withval], [servername=[localhost]]) |
99 |
+ |
AC_DEFINE_UNQUOTED([DEF_SERVER_NAME], ["$servername"], [Default Server Name]) |
100 |
+ |
|
101 |
+ |
# Check for the --with-server-port option |
102 |
+ |
AC_ARG_WITH([server-port], [ --with-server-port=FILE default server port (default: 4510)], [serverport=$withval], [serverport=[4510]]) |
103 |
+ |
AC_DEFINE_UNQUOTED([DEF_SERVER_PORT], [$serverport], [Default Server Port]) |
104 |
|
|
105 |
|
# And finish by changing these files |
106 |
|
AC_CONFIG_FILES([Makefile]) |