41 |
|
;; |
42 |
|
esac |
43 |
|
|
44 |
+ |
AC_ARG_WITH([pid-file], AC_HELP_STRING([--with-pid-file=FILE],[location of PID file (default: /var/tmp/.ihost.pid)]), [pidfile=$withval], [pidfile=[/var/tmp/.ihost.pid]]) |
45 |
+ |
AC_DEFINE_UNQUOTED([PID_FILE], ["$pidfile"], [Location of PID file]) |
46 |
+ |
AC_SUBST([pidfile], [$pidfile]) |
47 |
+ |
|
48 |
+ |
AC_ARG_WITH([max-udp-size], AC_HELP_STRING([--with-max-udp-size=SIZE],[maximum size of UDP packets in kilobytes (default: 8192kb)]), [max_udp_size=$withval], [max_udp_size=[8192]]) |
49 |
+ |
AC_DEFINE_UNQUOTED([UDP_MAX_PACKET_SIZE], [$max_udp_size], [Maximum size of UDP packets in kilobytes]) |
50 |
+ |
|
51 |
|
AC_CONFIG_FILES([Makefile libstatgrab/Makefile libukcprog/Makefile]) |
52 |
+ |
AC_CONFIG_FILES([ihostchk.sh], [chmod +x ihostchk.sh]) |
53 |
|
|
54 |
|
AC_OUTPUT |