Lines 9-15
Link Here
|
9 |
##AC_PROG_RANLIB |
9 |
##AC_PROG_RANLIB |
10 |
AC_HEADER_DIRENT |
10 |
AC_HEADER_DIRENT |
11 |
AC_PREFIX_DEFAULT(/usr) |
11 |
AC_PREFIX_DEFAULT(/usr) |
12 |
|
12 |
|
|
|
13 |
AC_CONFIG_SRCDIR([src/config.h.in]) |
14 |
AC_CONFIG_HEADERS([src/config.h]) |
15 |
|
13 |
AC_ARG_ENABLE(debug,[ --enable-debug Turns on rpcbind debugging], |
16 |
AC_ARG_ENABLE(debug,[ --enable-debug Turns on rpcbind debugging], |
14 |
[case "${enableval}" in |
17 |
[case "${enableval}" in |
15 |
yes) debug=true ;; |
18 |
yes) debug=true ;; |
Lines 18-23
Link Here
|
18 |
esac],[debug=false]) |
21 |
esac],[debug=false]) |
19 |
AM_CONDITIONAL(DEBUG, test x$debug = xtrue) |
22 |
AM_CONDITIONAL(DEBUG, test x$debug = xtrue) |
20 |
|
23 |
|
|
|
24 |
AC_ARG_ENABLE(warmstarts,[ --enable-warmstarts Enables Warm Starts], |
25 |
[case "${enableval}" in |
26 |
yes) warmstarts=true ;; |
27 |
no) warmstarts=no ;; |
28 |
*) AC_MSG_ERROR(bad value ${enableval} for --enable-warmstarts) ;; |
29 |
esac],[warmstarts=false]) |
30 |
AM_CONDITIONAL(WARMSTART, test x$warmstarts = xtrue) |
31 |
|
32 |
if test "$warmstarts" = "true" ; then |
33 |
AC_ARG_WITH(statedir, |
34 |
[ --with-statedir=/foo use state dir /foo [/tmp]], |
35 |
statedir=$withval, |
36 |
statedir=/tmp) |
37 |
AC_SUBST(statedir) |
38 |
AC_DEFINE_UNQUOTED(RPCBIND_STATEDIR, "$statedir", [This defines the location where the state files will be kept for warm starts]) |
39 |
fi |
40 |
|
21 |
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h \ |
41 |
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h \ |
22 |
netinet/in.h stdlib.h string.h \ |
42 |
netinet/in.h stdlib.h string.h \ |
23 |
sys/param.h sys/socket.h \ |
43 |
sys/param.h sys/socket.h \ |