3 AC_CONFIG_HEADER(config.h)
11 AC_CHECK_PROG(AR, ar, ar)
12 AC_PATH_PROG(PERL, perl)
14 AC_PATH_PROG(ENT, ent)
16 AC_PATH_PROGS(FILEPRIV, filepriv, true, /sbin:/usr/sbin)
18 # Use LOGIN_PROGRAM from environment if possible
19 if test ! -z "$LOGIN_PROGRAM" ; then
20 AC_DEFINE_UNQUOTED(LOGIN_PROGRAM_FALLBACK, "$LOGIN_PROGRAM")
23 AC_PATH_PROG(LOGIN_PROGRAM_FALLBACK, login)
24 if test ! -z "$LOGIN_PROGRAM_FALLBACK" ; then
25 AC_DEFINE_UNQUOTED(LOGIN_PROGRAM_FALLBACK, "$LOGIN_PROGRAM_FALLBACK")
29 if test -z "$LD" ; then
36 if test "$GCC" = "yes"; then
37 CFLAGS="$CFLAGS -Wall"
40 CFLAGS="$CFLAGS -I. -I${srcdir-.}"
42 # Check for some target-specific stuff
46 CFLAGS="$CFLAGS -I/usr/local/include"
47 LDFLAGS="$LDFLAGS -L/usr/local/lib"
48 if (test "$LD" != "gcc" && test -z "$blibpath"); then
49 blibpath="/usr/lib:/lib:/usr/local/lib"
51 AC_CHECK_FUNC(authenticate, [AC_DEFINE(WITH_AIXAUTHENTICATE)])
52 AC_DEFINE(BROKEN_GETADDRINFO)
55 dnl AIX handles lastlog as part of its login message
56 AC_DEFINE(DISABLE_LASTLOG)
61 LIBS="$LIBS /usr/lib/textmode.o"
62 AC_DEFINE(HAVE_CYGWIN)
63 AC_DEFINE(DISABLE_PAM)
64 AC_DEFINE(DISABLE_SHADOW)
65 AC_DEFINE(IPV4_DEFAULT)
66 AC_DEFINE(IP_TOS_IS_BROKEN)
67 AC_DEFINE(BROKEN_VHANGUP)
73 if test -z "$GCC"; then
76 CFLAGS="$CFLAGS -D_HPUX_SOURCE"
79 AC_DEFINE(DISABLE_SHADOW)
80 AC_DEFINE(DISABLE_UTMP)
86 CFLAGS="$CFLAGS -D_HPUX_SOURCE"
89 AC_DEFINE(DISABLE_SHADOW)
90 AC_DEFINE(DISABLE_UTMP)
96 CFLAGS="$CFLAGS -I/usr/local/include"
102 AC_DEFINE(BROKEN_INET_NTOA)
105 CFLAGS="$CFLAGS -I/usr/local/include"
107 PATH="$PATH:/usr/etc"
109 AC_DEFINE(WITH_IRIX_ARRAY)
110 AC_DEFINE(WITH_IRIX_PROJECT)
111 AC_DEFINE(WITH_IRIX_AUDIT)
114 AC_DEFINE(BROKEN_INET_NTOA)
118 AC_DEFINE(DONT_TRY_OTHER_AF)
119 AC_DEFINE(PAM_TTY_KLUDGE)
120 inet6_default_4in6=yes
126 conf_lastlog_location="/usr/adm/lastlog"
127 conf_utmp_location=/etc/utmp
128 conf_wtmp_location=/usr/adm/wtmp
131 CFLAGS="$CFLAGS -I/usr/local/include"
134 CFLAGS="$CFLAGS -I/usr/local/include"
135 LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib -L/usr/ucblib -R/usr/ucblib"
137 # hardwire lastlog location (can't detect it on some versions)
138 conf_lastlog_location="/var/adm/lastlog"
139 AC_MSG_CHECKING(for obsolete utmp and wtmp in solaris2.x)
140 sol2ver=`echo "$host"| sed -e 's/.*[[0-9]]\.//'`
141 if test "$sol2ver" -ge 8; then
143 AC_DEFINE(DISABLE_UTMP)
144 AC_DEFINE(DISABLE_WTMP)
150 CFLAGS="$CFLAGS -DSUNOS4"
151 AC_CHECK_FUNCS(getpwanam)
152 conf_utmp_location=/etc/utmp
153 conf_wtmp_location=/var/adm/wtmp
154 conf_lastlog_location=/var/adm/lastlog
160 CFLAGS="$CFLAGS -I/usr/local/include"
161 LDFLAGS="$LDFLAGS -L/usr/local/lib -L/usr/ucblib"
163 AC_DEFINE(IP_TOS_IS_BROKEN)
165 LIBS="$LIBS -lgen -lnsl -lucb"
168 CFLAGS="$CFLAGS -I/usr/local/include"
169 LDFLAGS="$LDFLAGS -L/usr/local/lib"
172 LIBS="$LIBS -lgen -lsocket -lnsl -lresolv"
176 CFLAGS="$CFLAGS -I/usr/local/include"
177 LDFLAGS="$LDFLAGS -L/usr/local/lib"
180 LIBS="$LIBS -lgen -lsocket"
184 CFLAGS="$CFLAGS -I/usr/local/include"
185 LDFLAGS="$LDFLAGS -L/usr/local/lib"
188 LIBS="$LIBS -lgen -lsocket"
192 CFLAGS="$CFLAGS -Dftruncate=chsize -I/usr/local/include"
193 LDFLAGS="$LDFLAGS -L/usr/local/lib"
196 LIBS="$LIBS -lgen -lsocket -los -lprot -lx"
199 AC_DEFINE(BROKEN_SYS_TERMIO_H)
200 rsh_path="/usr/bin/rcmd"
201 AC_DEFINE(HAVE_SCO_PROTECTED_PW)
204 CFLAGS="$CFLAGS -I/usr/local/include"
205 LDFLAGS="$LDFLAGS -L/usr/local/lib"
208 LIBS="$LIBS -lgen -lsocket -lprot -lx"
210 rsh_path="/usr/bin/rcmd"
211 AC_DEFINE(HAVE_SCO_PROTECTED_PW)
215 if test ! -z "USE_SIA" ; then
216 AC_MSG_CHECKING(for Digital Unix Security Integration Architecture)
217 if test -f /etc/sia/matrix.conf; then
219 AC_DEFINE(HAVE_OSF_SIA)
220 AC_DEFINE(DISABLE_LOGIN)
221 LIBS="$LIBS -lsecurity -ldb -lm -laud"
229 # Allow user to specify flags
231 [ --with-cflags Specify additional flags to pass to compiler],
233 if test "x$withval" != "xno" ; then
234 CFLAGS="$CFLAGS $withval"
239 [ --with-ldlags Specify additional flags to pass to linker],
241 if test "x$withval" != "xno" ; then
242 LDFLAGS="$LDFLAGS $withval"
247 [ --with-libs Specify additional libraries to link with],
249 if test "x$withval" != "xno" ; then
250 LIBS="$LIBS $withval"
256 # Checks for libraries.
257 AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***]))
258 AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil")
260 if test -z "$no_libsocket" ; then
261 AC_CHECK_LIB(nsl, yp_match, , )
263 if test -z "$no_libnsl" ; then
264 AC_CHECK_LIB(socket, main, , )
267 # Checks for header files.
268 AC_CHECK_HEADERS(bstring.h endian.h floatingpoint.h getopt.h lastlog.h limits.h login.h login_cap.h maillock.h netdb.h netgroup.h netinet/in_systm.h paths.h poll.h pty.h shadow.h security/pam_appl.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h sys/poll.h sys/select.h sys/stat.h sys/stropts.h sys/sysmacros.h sys/time.h sys/ttcompat.h sys/un.h stddef.h time.h ttyent.h usersec.h util.h utmp.h utmpx.h vis.h)
270 dnl Checks for library functions.
271 AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_af clock fchmod freeaddrinfo futimes gai_strerror getaddrinfo getnameinfo getrusage getttyent inet_aton inet_ntoa innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty rresvport_af setenv seteuid setlogin setproctitle setreuid setrlimit sigaction sigvec snprintf strerror strlcat strlcpy strsep strtok_r vsnprintf vhangup vis _getpty __b64_ntop)
272 dnl Checks for time functions
273 AC_CHECK_FUNCS(gettimeofday time)
274 dnl Checks for libutil functions
275 AC_CHECK_FUNCS(login logout updwtmp logwtmp)
276 dnl Checks for utmp functions
277 AC_CHECK_FUNCS(entutent getutent getutid getutline pututline setutent)
278 AC_CHECK_FUNCS(utmpname)
279 dnl Checks for utmpx functions
280 AC_CHECK_FUNCS(entutxent getutxent getutxid getutxline pututxline )
281 AC_CHECK_FUNCS(setutxent utmpxname)
283 AC_CHECK_FUNC(getuserattr,
284 [AC_DEFINE(HAVE_GETUSERATTR)],
285 [AC_CHECK_LIB(s, getuserattr, [LIBS="$LIBS -ls"; AC_DEFINE(HAVE_GETUSERATTR)])]
289 [AC_DEFINE(HAVE_LOGIN)],
290 [AC_CHECK_LIB(bsd, login, [LIBS="$LIBS -lbsd"; AC_DEFINE(HAVE_LOGIN)])]
293 AC_CHECK_FUNC(daemon,
294 [AC_DEFINE(HAVE_DAEMON)],
295 [AC_CHECK_LIB(bsd, daemon, [LIBS="$LIBS -lbsd"; AC_DEFINE(HAVE_DAEMON)])]
298 AC_CHECK_FUNC(getpagesize,
299 [AC_DEFINE(HAVE_GETPAGESIZE)],
300 [AC_CHECK_LIB(ucb, getpagesize, [LIBS="$LIBS -lucb"; AC_DEFINE(HAVE_GETPAGESIZE)])]
303 # Check for broken snprintf
304 if test "x$ac_cv_func_snprintf" = "xyes" ; then
305 AC_MSG_CHECKING([whether snprintf correctly terminates long strings])
309 int main(void){char b[5];snprintf(b,5,"123456789");return(b[4]!='\0');}
311 [AC_MSG_RESULT(yes)],
314 AC_DEFINE(BROKEN_SNPRINTF)
315 AC_MSG_WARN([****** Your snprintf() function is broken, complain to your vendor])
324 [ --without-pam Disable PAM support ],
326 if test "x$withval" = "xno" ; then
328 AC_DEFINE(DISABLE_PAM)
333 if (test -z "$no_pam" && test "x$ac_cv_header_security_pam_appl_h" = "xyes") ; then
334 AC_CHECK_LIB(dl, dlopen, , )
337 AC_CHECK_FUNCS(pam_getenvlist)
343 # Check PAM strerror arguments (old PAM)
344 AC_MSG_CHECKING([whether pam_strerror takes only one argument])
348 #include <security/pam_appl.h>
350 [(void)pam_strerror((pam_handle_t *)NULL, -1);],
353 AC_DEFINE(HAVE_OLD_PAM)
355 PAM_MSG="yes (old library)"
360 # The big search for OpenSSL
362 [ --with-ssl-dir=PATH Specify path to OpenSSL installation ],
364 if test "x$withval" != "$xno" ; then
371 saved_LDFLAGS="$LDFLAGS"
372 saved_CFLAGS="$CFLAGS"
373 if test "x$prefix" != "xNONE" ; then
374 tryssldir="$tryssldir $prefix"
376 AC_CACHE_CHECK([for OpenSSL directory], ac_cv_openssldir, [
378 for ssldir in $tryssldir "" /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl ; do
379 if test ! -z "$ssldir" ; then
380 LDFLAGS="$saved_LDFLAGS -L$ssldir/lib -L$ssldir"
381 CFLAGS="$saved_CFLAGS -I$ssldir/include"
382 if test ! -z "$need_dash_r" ; then
383 LDFLAGS="$LDFLAGS -R$ssldir/lib -R$ssldir"
386 LDFLAGS="$saved_LDFLAGS"
389 LIBS="$saved_LIBS -lcrypto"
391 # Basic test to check for compatible version and correct linking
392 # *does not* test for RSA - that comes later.
396 #include <openssl/rand.h>
400 memset(a, 0, sizeof(a));
401 RAND_add(a, sizeof(a), sizeof(a));
402 return(RAND_status() <= 0);
411 if test ! -z "$found_crypto" ; then
416 if test -z "$found_crypto" ; then
417 AC_MSG_ERROR([Could not find working SSLeay / OpenSSL libraries, please install])
419 if test -z "$ssldir" ; then
423 ac_cv_openssldir=$ssldir
426 if (test ! -z "$ac_cv_openssldir" && test "x$ac_cv_openssldir" != "x(system)") ; then
427 AC_DEFINE(HAVE_OPENSSL)
428 dnl Need to recover ssldir - test above runs in subshell
429 ssldir=$ac_cv_openssldir
430 CFLAGS="$saved_CFLAGS -I$ssldir/include"
431 LDFLAGS="$saved_LDFLAGS -L$ssldir/lib -L$ssldir"
432 if test ! -z "$need_dash_r" ; then
433 LDFLAGS="$LDFLAGS -R$ssldir/lib -R$ssldir"
435 if test ! -z "$blibpath" ; then
436 blibpath="$blibpath:$ssldir:$ssldir/lib"
439 LIBS="$saved_LIBS -lcrypto"
441 # Now test RSA support
443 AC_MSG_CHECKING([for RSA support])
444 for WANTS_RSAREF in "" 1 ; do
445 if test -z "$WANTS_RSAREF" ; then
448 LIBS="$saved_LIBS -lRSAglue -lrsaref"
452 #include <openssl/rand.h>
453 #include <openssl/rsa.h>
454 #include <openssl/bn.h>
455 #include <openssl/sha.h>
458 int num; RSA *key; static unsigned char p_in[] = "blahblah";
459 unsigned char c[256], p[256];
460 memset(c, 0, sizeof(c)); RAND_add(c, sizeof(c), sizeof(c));
461 if ((key=RSA_generate_key(512, 3, NULL, NULL))==NULL) return(1);
462 num = RSA_public_encrypt(sizeof(p_in) - 1, p_in, c, key, RSA_PKCS1_PADDING);
463 return(-1 == RSA_private_decrypt(num, c, p, key, RSA_PKCS1_PADDING));
472 if test ! -z "$no_rsa" ; then
473 AC_MSG_RESULT(disabled)
476 if test -z "$rsa_works" ; then
477 AC_MSG_WARN([*** No RSA support found *** ])
480 if test -z "$WANTS_RSAREF" ; then
484 RSA_MSG="yes (using RSAref)"
485 AC_MSG_RESULT(using RSAref)
486 LIBS="$saved_LIBS -lcrypto -lRSAglue -lrsaref"
491 # Checks for data types
492 AC_CHECK_SIZEOF(char, 1)
493 AC_CHECK_SIZEOF(short int, 2)
494 AC_CHECK_SIZEOF(int, 4)
495 AC_CHECK_SIZEOF(long int, 4)
496 AC_CHECK_SIZEOF(long long int, 8)
498 # More checks for data types
499 AC_CACHE_CHECK([for u_int type], ac_cv_have_u_int, [
501 [ #include <sys/types.h> ],
503 [ ac_cv_have_u_int="yes" ],
504 [ ac_cv_have_u_int="no" ]
507 if test "x$ac_cv_have_u_int" = "xyes" ; then
508 AC_DEFINE(HAVE_U_INT)
512 AC_CACHE_CHECK([for intXX_t types], ac_cv_have_intxx_t, [
514 [ #include <sys/types.h> ],
515 [ int8_t a; int16_t b; int32_t c; a = b = c = 1;],
516 [ ac_cv_have_intxx_t="yes" ],
517 [ ac_cv_have_intxx_t="no" ]
520 if test "x$ac_cv_have_intxx_t" = "xyes" ; then
521 AC_DEFINE(HAVE_INTXX_T)
525 AC_CACHE_CHECK([for int64_t type], ac_cv_have_int64_t, [
527 [ #include <sys/types.h> ],
528 [ int64_t a; a = 1;],
529 [ ac_cv_have_int64_t="yes" ],
530 [ ac_cv_have_int64_t="no" ]
533 if test "x$ac_cv_have_int64_t" = "xyes" ; then
534 AC_DEFINE(HAVE_INT64_T)
538 AC_CACHE_CHECK([for u_intXX_t types], ac_cv_have_u_intxx_t, [
540 [ #include <sys/types.h> ],
541 [ u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;],
542 [ ac_cv_have_u_intxx_t="yes" ],
543 [ ac_cv_have_u_intxx_t="no" ]
546 if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
547 AC_DEFINE(HAVE_U_INTXX_T)
551 AC_CACHE_CHECK([for u_int64_t types], ac_cv_have_u_int64_t, [
553 [ #include <sys/types.h> ],
554 [ u_int64_t a; a = 1;],
555 [ ac_cv_have_u_int64_t="yes" ],
556 [ ac_cv_have_u_int64_t="no" ]
559 if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
560 AC_DEFINE(HAVE_U_INT64_T)
564 if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
565 test "x$ac_cv_header_sys_bitypes_h" = "xyes")
567 AC_MSG_CHECKING([for intXX_t and u_intXX_t types in sys/bitypes.h])
570 #include <sys/bitypes.h>
573 int8_t a; int16_t b; int32_t c;
574 u_int8_t e; u_int16_t f; u_int32_t g;
575 a = b = c = e = f = g = 1;
578 AC_DEFINE(HAVE_U_INTXX_T)
579 AC_DEFINE(HAVE_INTXX_T)
586 if test -z "$have_u_intxx_t" ; then
587 AC_CACHE_CHECK([for uintXX_t types], ac_cv_have_uintxx_t, [
590 #include <sys/types.h>
592 [ uint8_t a; uint16_t b; uint32_t c; a = b = c = 1; ],
593 [ ac_cv_have_uintxx_t="yes" ],
594 [ ac_cv_have_uintxx_t="no" ]
597 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
598 AC_DEFINE(HAVE_UINTXX_T)
602 AC_CACHE_CHECK([for socklen_t], ac_cv_have_socklen_t, [
605 #include <sys/types.h>
606 #include <sys/socket.h>
608 [socklen_t foo; foo = 1235;],
609 [ ac_cv_have_socklen_t="yes" ],
610 [ ac_cv_have_socklen_t="no" ]
613 if test "x$ac_cv_have_socklen_t" = "xyes" ; then
614 AC_DEFINE(HAVE_SOCKLEN_T)
617 AC_CACHE_CHECK([for size_t], ac_cv_have_size_t, [
620 #include <sys/types.h>
622 [ size_t foo; foo = 1235; ],
623 [ ac_cv_have_size_t="yes" ],
624 [ ac_cv_have_size_t="no" ]
627 if test "x$ac_cv_have_size_t" = "xyes" ; then
628 AC_DEFINE(HAVE_SIZE_T)
631 AC_CACHE_CHECK([for ssize_t], ac_cv_have_ssize_t, [
634 #include <sys/types.h>
636 [ ssize_t foo; foo = 1235; ],
637 [ ac_cv_have_ssize_t="yes" ],
638 [ ac_cv_have_ssize_t="no" ]
641 if test "x$ac_cv_have_ssize_t" = "xyes" ; then
642 AC_DEFINE(HAVE_SSIZE_T)
645 AC_CACHE_CHECK([for sa_family_t], ac_cv_have_sa_family_t, [
648 #include <sys/types.h>
649 #include <sys/socket.h>
651 [ sa_family_t foo; foo = 1235; ],
652 [ ac_cv_have_sa_family_t="yes" ],
655 #include <sys/types.h>
656 #include <sys/socket.h>
657 #include <netinet/in.h>
659 [ sa_family_t foo; foo = 1235; ],
660 [ ac_cv_have_sa_family_t="yes" ],
662 [ ac_cv_have_sa_family_t="no" ]
666 if test "x$ac_cv_have_sa_family_t" = "xyes" ; then
667 AC_DEFINE(HAVE_SA_FAMILY_T)
670 AC_CACHE_CHECK([for pid_t], ac_cv_have_pid_t, [
673 #include <sys/types.h>
675 [ pid_t foo; foo = 1235; ],
676 [ ac_cv_have_pid_t="yes" ],
677 [ ac_cv_have_pid_t="no" ]
680 if test "x$ac_cv_have_pid_t" = "xyes" ; then
681 AC_DEFINE(HAVE_PID_T)
684 AC_CACHE_CHECK([for mode_t], ac_cv_have_mode_t, [
687 #include <sys/types.h>
689 [ mode_t foo; foo = 1235; ],
690 [ ac_cv_have_mode_t="yes" ],
691 [ ac_cv_have_mode_t="no" ]
694 if test "x$ac_cv_have_mode_t" = "xyes" ; then
695 AC_DEFINE(HAVE_MODE_T)
699 AC_CACHE_CHECK([for struct sockaddr_storage], ac_cv_have_struct_sockaddr_storage, [
702 #include <sys/types.h>
703 #include <sys/socket.h>
705 [ struct sockaddr_storage s; ],
706 [ ac_cv_have_struct_sockaddr_storage="yes" ],
707 [ ac_cv_have_struct_sockaddr_storage="no" ]
710 if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
711 AC_DEFINE(HAVE_STRUCT_SOCKADDR_STORAGE)
714 AC_CACHE_CHECK([for struct sockaddr_in6], ac_cv_have_struct_sockaddr_in6, [
717 #include <sys/types.h>
718 #include <netinet/in.h>
720 [ struct sockaddr_in6 s; s.sin6_family = 0; ],
721 [ ac_cv_have_struct_sockaddr_in6="yes" ],
722 [ ac_cv_have_struct_sockaddr_in6="no" ]
725 if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
726 AC_DEFINE(HAVE_STRUCT_SOCKADDR_IN6)
729 AC_CACHE_CHECK([for struct in6_addr], ac_cv_have_struct_in6_addr, [
732 #include <sys/types.h>
733 #include <netinet/in.h>
735 [ struct in6_addr s; s.s6_addr[0] = 0; ],
736 [ ac_cv_have_struct_in6_addr="yes" ],
737 [ ac_cv_have_struct_in6_addr="no" ]
740 if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
741 AC_DEFINE(HAVE_STRUCT_IN6_ADDR)
744 AC_CACHE_CHECK([for struct addrinfo], ac_cv_have_struct_addrinfo, [
747 #include <sys/types.h>
748 #include <sys/socket.h>
751 [ struct addrinfo s; s.ai_flags = AI_PASSIVE; ],
752 [ ac_cv_have_struct_addrinfo="yes" ],
753 [ ac_cv_have_struct_addrinfo="no" ]
756 if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
757 AC_DEFINE(HAVE_STRUCT_ADDRINFO)
760 dnl Checks for structure members
761 OSSH_CHECK_HEADER_FOR_FIELD(ut_host, utmp.h, HAVE_HOST_IN_UTMP)
762 OSSH_CHECK_HEADER_FOR_FIELD(ut_host, utmpx.h, HAVE_HOST_IN_UTMPX)
763 OSSH_CHECK_HEADER_FOR_FIELD(syslen, utmpx.h, HAVE_SYSLEN_IN_UTMPX)
764 OSSH_CHECK_HEADER_FOR_FIELD(ut_pid, utmp.h, HAVE_PID_IN_UTMP)
765 OSSH_CHECK_HEADER_FOR_FIELD(ut_type, utmp.h, HAVE_TYPE_IN_UTMP)
766 OSSH_CHECK_HEADER_FOR_FIELD(ut_type, utmpx.h, HAVE_TYPE_IN_UTMPX)
767 OSSH_CHECK_HEADER_FOR_FIELD(ut_tv, utmp.h, HAVE_TV_IN_UTMP)
768 OSSH_CHECK_HEADER_FOR_FIELD(ut_id, utmp.h, HAVE_ID_IN_UTMP)
769 OSSH_CHECK_HEADER_FOR_FIELD(ut_id, utmpx.h, HAVE_ID_IN_UTMPX)
770 OSSH_CHECK_HEADER_FOR_FIELD(ut_addr, utmp.h, HAVE_ADDR_IN_UTMP)
771 OSSH_CHECK_HEADER_FOR_FIELD(ut_addr, utmpx.h, HAVE_ADDR_IN_UTMPX)
772 OSSH_CHECK_HEADER_FOR_FIELD(ut_addr_v6, utmp.h, HAVE_ADDR_V6_IN_UTMP)
773 OSSH_CHECK_HEADER_FOR_FIELD(ut_addr_v6, utmpx.h, HAVE_ADDR_V6_IN_UTMPX)
774 OSSH_CHECK_HEADER_FOR_FIELD(ut_exit, utmp.h, HAVE_EXIT_IN_UTMP)
775 OSSH_CHECK_HEADER_FOR_FIELD(ut_time, utmp.h, HAVE_TIME_IN_UTMP)
776 OSSH_CHECK_HEADER_FOR_FIELD(ut_time, utmpx.h, HAVE_TIME_IN_UTMPX)
777 OSSH_CHECK_HEADER_FOR_FIELD(ut_tv, utmpx.h, HAVE_TV_IN_UTMPX)
780 AC_CACHE_CHECK([for sun_len field in struct sockaddr_un],
781 ac_cv_have_sun_len_in_struct_sockaddr_un, [
784 #include <sys/types.h>
785 #include <sys/socket.h>
787 [ struct sockaddr_un s; s.sun_len = 1; ],
788 [ ac_cv_have_sun_len_in_struct_sockaddr_un="yes" ],
789 [ ac_cv_have_sun_len_in_struct_sockaddr_un="no" ],
792 if test "x$ac_cv_have_sun_len_in_struct_sockaddr_un" = "xyes" ; then
793 AC_DEFINE(HAVE_SUN_LEN_IN_SOCKADDR_UN)
796 AC_CACHE_CHECK([for ss_family field in struct sockaddr_storage],
797 ac_cv_have_ss_family_in_struct_ss, [
800 #include <sys/types.h>
801 #include <sys/socket.h>
803 [ struct sockaddr_storage s; s.ss_family = 1; ],
804 [ ac_cv_have_ss_family_in_struct_ss="yes" ],
805 [ ac_cv_have_ss_family_in_struct_ss="no" ],
808 if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
809 AC_DEFINE(HAVE_SS_FAMILY_IN_SS)
812 AC_CACHE_CHECK([for __ss_family field in struct sockaddr_storage],
813 ac_cv_have___ss_family_in_struct_ss, [
816 #include <sys/types.h>
817 #include <sys/socket.h>
819 [ struct sockaddr_storage s; s.__ss_family = 1; ],
820 [ ac_cv_have___ss_family_in_struct_ss="yes" ],
821 [ ac_cv_have___ss_family_in_struct_ss="no" ]
824 if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
825 AC_DEFINE(HAVE___SS_FAMILY_IN_SS)
828 AC_CACHE_CHECK([for pw_class field in struct passwd],
829 ac_cv_have_pw_class_in_struct_passwd, [
834 [ struct passwd p; p.pw_class = 0; ],
835 [ ac_cv_have_pw_class_in_struct_passwd="yes" ],
836 [ ac_cv_have_pw_class_in_struct_passwd="no" ]
839 if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then
840 AC_DEFINE(HAVE_PW_CLASS_IN_PASSWD)
844 AC_CACHE_CHECK([if libc defines __progname], ac_cv_libc_defines___progname, [
846 [ extern char *__progname; printf("%s", __progname); ],
847 [ ac_cv_libc_defines___progname="yes" ],
848 [ ac_cv_libc_defines___progname="no" ]
851 if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
852 AC_DEFINE(HAVE___PROGNAME)
856 AC_CACHE_CHECK([if libc defines sys_errlist], ac_cv_libc_defines_sys_errlist, [
858 [ extern const char *const sys_errlist[]; printf("%s", sys_errlist[0]);],
859 [ ac_cv_libc_defines_sys_errlist="yes" ],
860 [ ac_cv_libc_defines_sys_errlist="no" ]
863 if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
864 AC_DEFINE(HAVE_SYS_ERRLIST)
868 AC_CACHE_CHECK([if libc defines sys_nerr], ac_cv_libc_defines_sys_nerr, [
870 [ extern int sys_nerr; printf("%i", sys_nerr);],
871 [ ac_cv_libc_defines_sys_nerr="yes" ],
872 [ ac_cv_libc_defines_sys_nerr="no" ]
875 if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
876 AC_DEFINE(HAVE_SYS_NERR)
880 # Looking for programs, paths and files
882 [ --with-rsh=PATH Specify path to remote shell program ],
884 if test "x$withval" != "$no" ; then
889 AC_PATH_PROG(rsh_path, rsh)
894 [ --with-xauth=PATH Specify path to xauth program ],
896 if test "x$withval" != "$xno" ; then
901 AC_PATH_PROG(xauth_path, xauth,,$PATH:/usr/X/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/openwin/bin)
902 if (test ! -z "$xauth_path" && test -x "/usr/openwin/bin/xauth") ; then
903 xauth_path="/usr/openwin/bin/xauth"
908 if test ! -z "$xauth_path" ; then
909 AC_DEFINE_UNQUOTED(XAUTH_PATH, "$xauth_path")
911 if test ! -z "$rsh_path" ; then
912 AC_DEFINE_UNQUOTED(RSH_PATH, "$rsh_path")
915 # Check for mail directory (last resort if we cannot get it from headers)
916 if test ! -z "$MAIL" ; then
917 maildir=`dirname $MAIL`
918 AC_DEFINE_UNQUOTED(MAIL_DIRECTORY, "$maildir")
921 if test -z "$no_dev_ptmx" ; then
922 AC_CHECK_FILE("/dev/ptmx",
924 AC_DEFINE_UNQUOTED(HAVE_DEV_PTMX)
929 AC_CHECK_FILE("/dev/ptc",
931 AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC)
936 # Options from here on. Some of these are preset by platform above
938 # Check for user-specified random device, otherwise check /dev/urandom
940 [ --with-random=FILE read randomness from FILE (default=/dev/urandom)],
942 if test "x$withval" != "xno" ; then
943 RANDOM_POOL="$withval";
944 AC_DEFINE_UNQUOTED(RANDOM_POOL, "$RANDOM_POOL")
948 # Check for random device
949 AC_CHECK_FILE("/dev/urandom",
951 RANDOM_POOL="/dev/urandom";
952 AC_SUBST(RANDOM_POOL)
953 AC_DEFINE_UNQUOTED(RANDOM_POOL, "$RANDOM_POOL")
959 # Check for EGD pool file
960 AC_ARG_WITH(egd-pool,
961 [ --with-egd-pool=FILE read randomness from EGD pool FILE (default none)],
963 if test "x$withval" != "xno" ; then
964 EGD_SOCKET="$withval";
965 AC_DEFINE_UNQUOTED(EGD_SOCKET, "$EGD_SOCKET")
970 # detect pathnames for entropy gathering commands, if we need them
971 INSTALL_SSH_PRNG_CMDS=""
973 if (test -z "$RANDOM_POOL" && test -z "$EGD_SOCKET") ; then
974 # Use these commands to collect entropy
975 OSSH_PATH_ENTROPY_PROG(PROG_LS, ls)
976 OSSH_PATH_ENTROPY_PROG(PROG_NETSTAT, netstat)
977 OSSH_PATH_ENTROPY_PROG(PROG_ARP, arp)
978 OSSH_PATH_ENTROPY_PROG(PROG_IFCONFIG, ifconfig)
979 OSSH_PATH_ENTROPY_PROG(PROG_PS, ps)
980 OSSH_PATH_ENTROPY_PROG(PROG_W, w)
981 OSSH_PATH_ENTROPY_PROG(PROG_WHO, who)
982 OSSH_PATH_ENTROPY_PROG(PROG_LAST, last)
983 OSSH_PATH_ENTROPY_PROG(PROG_LASTLOG, lastlog)
984 OSSH_PATH_ENTROPY_PROG(PROG_DF, df)
985 OSSH_PATH_ENTROPY_PROG(PROG_VMSTAT, vmstat)
986 OSSH_PATH_ENTROPY_PROG(PROG_UPTIME, uptime)
987 OSSH_PATH_ENTROPY_PROG(PROG_IPCS, ipcs)
988 OSSH_PATH_ENTROPY_PROG(PROG_TAIL, tail)
989 OSSH_PATH_ENTROPY_PROG(PROG_LS, ls)
991 INSTALL_SSH_PRNG_CMDS="yes"
993 AC_SUBST(INSTALL_SSH_PRNG_CMDS)
997 [ --with-catman=man|cat Install preformatted manpages[no]],
1000 if test x"$withval" != x"yes" ; then
1006 if test -z "$MANTYPE" ; then
1007 MANTYPE='$(TROFFMAN)'
1015 # Check whether user wants Kerberos support
1017 AC_ARG_WITH(kerberos4,
1018 [ --with-kerberos4=PATH Enable Kerberos 4 support],
1020 if test "x$withval" != "xno" ; then
1022 if test "x$withval" != "$xyes" ; then
1023 CFLAGS="$CFLAGS -I${withval}/include"
1024 LDFLAGS="$LDFLAGS -L${withval}/lib"
1025 if test ! -z "$need_dash_r" ; then
1026 LDFLAGS="$LDFLAGS -R${withval}/lib"
1028 if test ! -z "$blibpath" ; then
1029 blibpath="$blibpath:${withval}/lib"
1032 if test -d /usr/include/kerberosIV ; then
1033 CFLAGS="$CFLAGS -I/usr/include/kerberosIV"
1037 AC_CHECK_HEADERS(krb.h)
1038 AC_CHECK_LIB(krb, main)
1039 if test "$ac_cv_header_krb_h" != yes; then
1040 AC_MSG_WARN([Cannot find krb.h, build may fail])
1042 if test "$ac_cv_lib_krb_main" != yes; then
1043 AC_MSG_WARN([Cannot find libkrb, build may fail])
1047 AC_CHECK_LIB(resolv, dn_expand, , )
1055 # Check whether user wants AFS support
1058 [ --with-afs=PATH Enable AFS support],
1060 if test "x$withval" != "xno" ; then
1062 if test "x$withval" != "$xyes" ; then
1063 CFLAGS="$CFLAGS -I${withval}/include"
1064 LFLAGS="$LFLAGS -L${withval}/lib"
1067 if test -z "$KRB4" ; then
1068 AC_MSG_WARN([AFS requires Kerberos IV support, build may fail])
1072 if test ! -z "$AFS_LIBS" ; then
1073 LIBS="$LIBS $AFS_LIBS"
1082 # Check whether user wants S/Key support
1085 [ --with-skey Enable S/Key support],
1087 if test "x$withval" != "xno" ; then
1095 # Check whether user wants TCP wrappers support
1097 AC_ARG_WITH(tcp-wrappers,
1098 [ --with-tcp-wrappers Enable tcpwrappers support],
1100 if test "x$withval" != "xno" ; then
1103 AC_MSG_CHECKING(for libwrap)
1107 int deny_severity = 0, allow_severity = 0;
1116 AC_MSG_ERROR([*** libwrap missing])
1123 # Check whether to enable MD5 passwords
1125 AC_ARG_WITH(md5-passwords,
1126 [ --with-md5-passwords Enable use of MD5 passwords],
1128 if test "x$withval" != "xno" ; then
1129 AC_DEFINE(HAVE_MD5_PASSWORDS)
1135 # Whether to disable shadow password support
1137 [ --without-shadow Disable shadow password support],
1139 if test "x$withval" = "xno" ; then
1140 AC_DEFINE(DISABLE_SHADOW)
1146 if test -z "$disable_shadow" ; then
1147 AC_MSG_CHECKING([if the systems has expire shadow information])
1150 #include <sys/types.h>
1153 ],[ sp.sp_expire = sp.sp_lstchg = sp.sp_inact = 0; ],
1154 [ sp_expire_available=yes ], []
1157 if test "x$sp_expire_available" = "xyes" ; then
1159 AC_DEFINE(HAS_SHADOW_EXPIRE)
1165 # Use ip address instead of hostname in $DISPLAY
1166 if test ! -z "$IPADDR_IN_DISPLAY" ; then
1167 DISPLAY_HACK_MSG="yes"
1168 AC_DEFINE(IPADDR_IN_DISPLAY)
1170 DISPLAY_HACK_MSG="no"
1171 AC_ARG_WITH(ipaddr-display,
1172 [ --with-ipaddr-display Use ip address instead of hostname in \$DISPLAY],
1174 if test "x$withval" != "xno" ; then
1175 AC_DEFINE(IPADDR_IN_DISPLAY)
1176 DISPLAY_HACK_MSG="yes"
1182 # Whether to mess with the default path
1183 SERVER_PATH_MSG="(default)"
1184 AC_ARG_WITH(default-path,
1185 [ --with-default-path=PATH Specify default \$PATH environment for server],
1187 if test "x$withval" != "xno" ; then
1188 AC_DEFINE_UNQUOTED(USER_PATH, "$withval")
1189 SERVER_PATH_MSG="$withval"
1194 # Whether to force IPv4 by default (needed on broken glibc Linux)
1196 AC_ARG_WITH(ipv4-default,
1197 [ --with-ipv4-default Use IPv4 by connections unless '-6' specified],
1199 if test "x$withval" != "xno" ; then
1200 AC_DEFINE(IPV4_DEFAULT)
1206 AC_MSG_CHECKING([if we need to convert IPv4 in IPv6-mapped addresses])
1207 IPV4_IN6_HACK_MSG="no"
1209 [ --with-4in6 Check for and convert IPv4 in IPv6 mapped addresses],
1211 if test "x$withval" != "xno" ; then
1213 AC_DEFINE(IPV4_IN_IPV6)
1214 IPV4_IN6_HACK_MSG="yes"
1219 if test "x$inet6_default_4in6" = "xyes"; then
1220 AC_MSG_RESULT([yes (default)])
1221 AC_DEFINE(IPV4_IN_IPV6)
1222 IPV4_IN6_HACK_MSG="yes"
1224 AC_MSG_RESULT([no (default)])
1229 AC_MSG_CHECKING(whether to install ssh as suid root)
1230 AC_ARG_ENABLE(suid-ssh,
1231 [ --enable-suid-ssh Install ssh as suid root (default)
1232 --disable-suid-ssh Install ssh without suid bit],
1233 [ case "$enableval" in
1238 *) AC_MSG_RESULT(yes)
1248 # Where to place sshd.pid
1250 AC_ARG_WITH(pid-dir,
1251 [ --with-pid-dir=PATH Specify location of ssh.pid file],
1253 if test "x$withval" != "xno" ; then
1259 # make sure the directory exists
1260 if test ! -d $piddir ; then
1261 piddir=`eval echo ${sysconfdir}`
1263 NONE/*) piddir=`echo $piddir | sed "s~NONE~$ac_default_prefix~"` ;;
1267 AC_DEFINE_UNQUOTED(PIDDIR, "$piddir")
1270 dnl allow user to disable some login recording features
1271 AC_ARG_ENABLE(lastlog,
1272 [ --disable-lastlog disable use of lastlog even if detected [no]],
1273 [ AC_DEFINE(DISABLE_LASTLOG) ]
1276 [ --disable-utmp disable use of utmp even if detected [no]],
1277 [ AC_DEFINE(DISABLE_UTMP) ]
1279 AC_ARG_ENABLE(utmpx,
1280 [ --disable-utmpx disable use of utmpx even if detected [no]],
1281 [ AC_DEFINE(DISABLE_UTMPX) ]
1284 [ --disable-wtmp disable use of wtmp even if detected [no]],
1285 [ AC_DEFINE(DISABLE_WTMP) ]
1287 AC_ARG_ENABLE(wtmpx,
1288 [ --disable-wtmpx disable use of wtmpx even if detected [no]],
1289 [ AC_DEFINE(DISABLE_WTMPX) ]
1291 AC_ARG_ENABLE(libutil,
1292 [ --disable-libutil disable use of libutil (login() etc.) [no]],
1293 [ AC_DEFINE(DISABLE_LOGIN) ]
1295 AC_ARG_ENABLE(pututline,
1296 [ --disable-pututline disable use of pututline() etc. ([uw]tmp) [no]],
1297 [ AC_DEFINE(DISABLE_PUTUTLINE) ]
1299 AC_ARG_ENABLE(pututxline,
1300 [ --disable-pututxline disable use of pututxline() etc. ([uw]tmpx) [no]],
1301 [ AC_DEFINE(DISABLE_PUTUTXLINE) ]
1303 AC_ARG_WITH(lastlog,
1304 [ --with-lastlog=FILE|DIR specify lastlog location [common locations]],
1305 [ conf_lastlog_location="$withval"; ],)
1307 dnl lastlog, [uw]tmpx? detection
1308 dnl NOTE: set the paths in the platform section to avoid the
1309 dnl need for command-line parameters
1310 dnl lastlog and [uw]tmp are subject to a file search if all else fails
1312 dnl lastlog detection
1313 dnl NOTE: the code itself will detect if lastlog is a directory
1314 AC_MSG_CHECKING([if your system defines LASTLOG_FILE])
1316 #include <sys/types.h>
1318 #ifdef HAVE_LASTLOG_H
1319 # include <lastlog.h>
1325 [ char *lastlog = LASTLOG_FILE; ],
1326 [ AC_MSG_RESULT(yes) ],
1329 AC_MSG_CHECKING([if your system defines _PATH_LASTLOG])
1331 #include <sys/types.h>
1333 #ifdef HAVE_LASTLOG_H
1334 # include <lastlog.h>
1340 [ char *lastlog = _PATH_LASTLOG; ],
1341 [ AC_MSG_RESULT(yes) ],
1344 system_lastlog_path=no
1349 if test -z "$conf_lastlog_location"; then
1350 if test x"$system_lastlog_path" = x"no" ; then
1351 for f in /var/log/lastlog /usr/adm/lastlog /var/adm/lastlog /etc/security/lastlog ; do
1352 if (test -d "$f" || test -f "$f") ; then
1353 conf_lastlog_location=$f
1356 if test -z "$conf_lastlog_location"; then
1357 AC_MSG_WARN([** Cannot find lastlog **])
1358 dnl Don't define DISABLE_LASTLOG - that means we don't try wtmp/wtmpx
1363 if test -n "$conf_lastlog_location"; then
1364 AC_DEFINE_UNQUOTED(CONF_LASTLOG_FILE, "$conf_lastlog_location")
1368 AC_MSG_CHECKING([if your system defines UTMP_FILE])
1370 #include <sys/types.h>
1376 [ char *utmp = UTMP_FILE; ],
1377 [ AC_MSG_RESULT(yes) ],
1379 system_utmp_path=no ]
1381 if test -z "$conf_utmp_location"; then
1382 if test x"$system_utmp_path" = x"no" ; then
1383 for f in /etc/utmp /usr/adm/utmp /var/run/utmp; do
1384 if test -f $f ; then
1385 conf_utmp_location=$f
1388 if test -z "$conf_utmp_location"; then
1389 AC_DEFINE(DISABLE_UTMP)
1393 if test -n "$conf_utmp_location"; then
1394 AC_DEFINE_UNQUOTED(CONF_UTMP_FILE, "$conf_utmp_location")
1398 AC_MSG_CHECKING([if your system defines WTMP_FILE])
1400 #include <sys/types.h>
1406 [ char *wtmp = WTMP_FILE; ],
1407 [ AC_MSG_RESULT(yes) ],
1409 system_wtmp_path=no ]
1411 if test -z "$conf_wtmp_location"; then
1412 if test x"$system_wtmp_path" = x"no" ; then
1413 for f in /usr/adm/wtmp /var/log/wtmp; do
1414 if test -f $f ; then
1415 conf_wtmp_location=$f
1418 if test -z "$conf_wtmp_location"; then
1419 AC_DEFINE(DISABLE_WTMP)
1423 if test -n "$conf_wtmp_location"; then
1424 AC_DEFINE_UNQUOTED(CONF_WTMP_FILE, "$conf_wtmp_location")
1428 dnl utmpx detection - I don't know any system so perverse as to require
1429 dnl utmpx, but not define UTMPX_FILE (ditto wtmpx.) No doubt it's out
1431 AC_MSG_CHECKING([if your system defines UTMPX_FILE])
1433 #include <sys/types.h>
1442 [ char *utmpx = UTMPX_FILE; ],
1443 [ AC_MSG_RESULT(yes) ],
1445 system_utmpx_path=no ]
1447 if test -z "$conf_utmpx_location"; then
1448 if test x"$system_utmpx_path" = x"no" ; then
1449 AC_DEFINE(DISABLE_UTMPX)
1452 AC_DEFINE_UNQUOTED(CONF_UTMPX_FILE, "$conf_utmpx_location")
1456 AC_MSG_CHECKING([if your system defines WTMPX_FILE])
1458 #include <sys/types.h>
1467 [ char *wtmpx = WTMPX_FILE; ],
1468 [ AC_MSG_RESULT(yes) ],
1470 system_wtmpx_path=no ]
1472 if test -z "$conf_wtmpx_location"; then
1473 if test x"$system_wtmpx_path" = x"no" ; then
1474 AC_DEFINE(DISABLE_WTMPX)
1477 AC_DEFINE_UNQUOTED(CONF_WTMPX_FILE, "$conf_wtmpx_location")
1481 # Change default command timeout for builtin PRNG
1483 AC_ARG_WITH(entropy-timeout,
1484 [ --with-entropy-timeout Specify entropy gathering command timeout (msec)],
1486 if test "x$withval" != "xno" ; then
1487 entropy_timeout=$withval
1491 AC_DEFINE_UNQUOTED(ENTROPY_TIMEOUT_MSEC, $entropy_timeout)
1494 if test ! -z "$blibpath" ; then
1495 LDFLAGS="$LDFLAGS -blibpath:$blibpath"
1496 AC_MSG_WARN([Please check and edit -blibpath in LDFLAGS in Makefile])
1501 AC_OUTPUT(Makefile ssh_prng_cmds)
1503 # Print summary of options
1505 if test x$MANTYPE = x'$(CATMAN)' ; then
1510 if test ! -z "$RANDOM_POOL" ; then
1511 RAND_MSG="Device ($RANDOM_POOL)"
1513 if test ! -z "$EGD_SOCKET" ; then
1514 RAND_MSG="EGD ($EGD_SOCKET)"
1516 RAND_MSG="Builtin (timeout $entropy_timeout)"
1520 # Someone please show me a better way :)
1521 A=`eval echo ${prefix}` ; A=`eval echo ${A}`
1522 B=`eval echo ${bindir}` ; B=`eval echo ${B}`
1523 C=`eval echo ${sbindir}` ; C=`eval echo ${C}`
1524 D=`eval echo ${sysconfdir}` ; D=`eval echo ${D}`
1525 E=`eval echo ${libexecdir}/ssh/ssh-askpass` ; E=`eval echo ${E}`
1526 F=`eval echo ${mandir}/${mansubdir}X` ; F=`eval echo ${F}`
1527 G=`eval echo ${piddir}` ; G=`eval echo ${G}`
1530 echo "OpenSSH configured has been configured with the following options."
1531 echo " User binaries: $B"
1532 echo " User binaries: $B"
1533 echo " System binaries: $C"
1534 echo " Configuration files: $D"
1535 echo " Askpass program: $E"
1536 echo " Manual pages: $F"
1537 echo " PID file: $G"
1538 echo " Random number collection: $RAND_MSG"
1539 echo " Manpage format: $MAN_MSG"
1540 echo " PAM support: ${PAM_MSG}"
1541 echo " KerberosIV support: $KRB4_MSG"
1542 echo " AFS support: $AFS_MSG"
1543 echo " S/KEY support: $SKEY_MSG"
1544 echo " TCP Wrappers support: $TCPW_MSG"
1545 echo " MD5 password support: $MD5_MSG"
1546 echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG"
1547 echo " Use IPv4 by default hack: $IPV4_HACK_MSG"
1548 echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG"
1552 echo " Host: ${host}"
1553 echo " Compiler: ${CC}"
1554 echo " Compiler flags: ${CFLAGS}"
1555 echo " Linker flags: ${LDFLAGS}"
1556 echo " Libraries: ${LIBS}"