|
Lines 434-440
Link Here
|
| 434 |
|
434 |
|
| 435 |
# Checks for header files. |
435 |
# Checks for header files. |
| 436 |
AC_CHECK_HEADERS(bstring.h crypt.h endian.h features.h floatingpoint.h \ |
436 |
AC_CHECK_HEADERS(bstring.h crypt.h endian.h features.h floatingpoint.h \ |
| 437 |
getopt.h glob.h ia.h lastlog.h libgen.h limits.h login.h \ |
437 |
getopt.h glob.h ia.h lastlog.h limits.h login.h \ |
| 438 |
login_cap.h maillock.h netdb.h netgroup.h \ |
438 |
login_cap.h maillock.h netdb.h netgroup.h \ |
| 439 |
netinet/in_systm.h paths.h pty.h readpassphrase.h \ |
439 |
netinet/in_systm.h paths.h pty.h readpassphrase.h \ |
| 440 |
rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ |
440 |
rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ |
|
Lines 455-463
Link Here
|
| 455 |
fi |
455 |
fi |
| 456 |
fi |
456 |
fi |
| 457 |
|
457 |
|
| 458 |
AC_CHECK_FUNC(getspnam, , |
|
|
| 459 |
AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lgen")) |
| 460 |
|
| 461 |
AC_ARG_WITH(rpath, |
458 |
AC_ARG_WITH(rpath, |
| 462 |
[ --without-rpath Disable auto-added -R linker paths], |
459 |
[ --without-rpath Disable auto-added -R linker paths], |
| 463 |
[ |
460 |
[ |
|
Lines 668-674
Link Here
|
| 668 |
) |
665 |
) |
| 669 |
|
666 |
|
| 670 |
AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP)) |
667 |
AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP)) |
| 671 |
AC_SEARCH_LIBS(basename, gen, AC_DEFINE(HAVE_BASENAME)) |
|
|
| 672 |
|
668 |
|
| 673 |
dnl Make sure prototypes are defined for these before using them. |
669 |
dnl Make sure prototypes are defined for these before using them. |
| 674 |
AC_CHECK_DECL(strsep, [AC_CHECK_FUNCS(strsep)]) |
670 |
AC_CHECK_DECL(strsep, [AC_CHECK_FUNCS(strsep)]) |
|
Lines 710-715
Link Here
|
| 710 |
fi |
706 |
fi |
| 711 |
]) |
707 |
]) |
| 712 |
]) |
708 |
]) |
|
|
709 |
|
| 710 |
AC_CHECK_FUNC(getspnam, , |
| 711 |
AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lgen")) |
| 712 |
AC_SEARCH_LIBS(basename, gen, AC_DEFINE(HAVE_BASENAME)) |
| 713 |
|
713 |
|
| 714 |
dnl Checks for time functions |
714 |
dnl Checks for time functions |
| 715 |
AC_CHECK_FUNCS(gettimeofday time) |
715 |
AC_CHECK_FUNCS(gettimeofday time) |