diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.in b/configure.in index fbf117b94..c533d4209 100644 --- a/configure.in +++ b/configure.in | |||
@@ -43,6 +43,7 @@ case "$host" in | |||
43 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | 43 | LDFLAGS="$LDFLAGS -L/usr/local/lib" |
44 | AC_DEFINE(IPADDR_IN_DISPLAY) | 44 | AC_DEFINE(IPADDR_IN_DISPLAY) |
45 | AC_DEFINE(USE_UTMPX) | 45 | AC_DEFINE(USE_UTMPX) |
46 | AC_DEFINE(NEED_IN_SYSTM_H) | ||
46 | AC_MSG_CHECKING(for HPUX trusted system password database) | 47 | AC_MSG_CHECKING(for HPUX trusted system password database) |
47 | if test -f /tcb/files/auth/system/default; then | 48 | if test -f /tcb/files/auth/system/default; then |
48 | AC_MSG_RESULT(yes) | 49 | AC_MSG_RESULT(yes) |
@@ -907,9 +908,24 @@ AC_ARG_WITH(pid-dir, | |||
907 | fi | 908 | fi |
908 | ] | 909 | ] |
909 | ) | 910 | ) |
911 | |||
910 | AC_DEFINE_UNQUOTED(PIDDIR, "$piddir") | 912 | AC_DEFINE_UNQUOTED(PIDDIR, "$piddir") |
911 | AC_SUBST(piddir) | 913 | AC_SUBST(piddir) |
912 | 914 | ||
915 | |||
916 | # Change default command timeout for builtin PRNG | ||
917 | entropy_timeout=100 | ||
918 | AC_ARG_WITH(entropy-timeout, | ||
919 | [ --with-entropy-timeout Specify entropy gathering command timeout (msec)], | ||
920 | [ | ||
921 | if test "x$withval" != "xno" ; then | ||
922 | entropy_timeout=$withval | ||
923 | fi | ||
924 | ] | ||
925 | ) | ||
926 | AC_DEFINE_UNQUOTED(ENTROPY_TIMEOUT_MSEC, $entropy_timeout) | ||
927 | |||
928 | |||
913 | if test ! -z "$blibpath" ; then | 929 | if test ! -z "$blibpath" ; then |
914 | LDFLAGS="$LDFLAGS -blibpath:$blibpath" | 930 | LDFLAGS="$LDFLAGS -blibpath:$blibpath" |
915 | AC_MSG_WARN([Please check and edit -blibpath in LDFLAGS in Makefile]) | 931 | AC_MSG_WARN([Please check and edit -blibpath in LDFLAGS in Makefile]) |