diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-05-28 15:58:14 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-05-28 15:58:14 +1000 |
commit | 0c9653f57e10e1a555905c7de906dbcac91ede93 (patch) | |
tree | 75afde204bc386bb48a1463679bc2945f1f87eff /configure.ac | |
parent | 2be1cbb7be25d32bc5741c96cc4d6951bd91fc30 (diff) |
- (dtucker) [configure.ac] For AC_CHECK_HEADERS() and AC_CHECK_FUNCS() have
one entry per line to make it easier to merge changes. ok djm@
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 165 |
1 files changed, 140 insertions, 25 deletions
diff --git a/configure.ac b/configure.ac index a936d2bfd..af14953b6 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.263 2005/05/27 11:13:41 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.264 2005/05/28 05:58:14 dtucker Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -537,17 +537,64 @@ int main(){exit(0);} | |||
537 | [ AC_MSG_WARN([cross compiling: not checking compiler sanity]) ] | 537 | [ AC_MSG_WARN([cross compiling: not checking compiler sanity]) ] |
538 | ) | 538 | ) |
539 | 539 | ||
540 | # Checks for header files. | 540 | dnl Checks for header files. |
541 | AC_CHECK_HEADERS(bstring.h crypt.h dirent.h endian.h features.h \ | 541 | AC_CHECK_HEADERS( \ |
542 | floatingpoint.h getopt.h glob.h ia.h lastlog.h limits.h login.h \ | 542 | bstring.h \ |
543 | login_cap.h maillock.h ndir.h netdb.h netgroup.h \ | 543 | crypt.h \ |
544 | netinet/in_systm.h pam/pam_appl.h paths.h pty.h readpassphrase.h \ | 544 | dirent.h \ |
545 | rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ | 545 | endian.h \ |
546 | strings.h sys/dir.h sys/strtio.h sys/audit.h sys/bitypes.h \ | 546 | features.h \ |
547 | sys/bsdtty.h sys/cdefs.h sys/mman.h sys/ndir.h sys/prctl.h \ | 547 | floatingpoint.h \ |
548 | sys/pstat.h sys/select.h sys/stat.h sys/stream.h \ | 548 | getopt.h \ |
549 | sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h sys/un.h \ | 549 | glob.h \ |
550 | time.h tmpdir.h ttyent.h usersec.h util.h utime.h utmp.h utmpx.h vis.h) | 550 | ia.h \ |
551 | lastlog.h \ | ||
552 | limits.h \ | ||
553 | login.h \ | ||
554 | login_cap.h \ | ||
555 | maillock.h \ | ||
556 | ndir.h \ | ||
557 | netdb.h \ | ||
558 | netgroup.h \ | ||
559 | netinet/in_systm.h \ | ||
560 | pam/pam_appl.h \ | ||
561 | paths.h \ | ||
562 | pty.h \ | ||
563 | readpassphrase.h \ | ||
564 | rpc/types.h \ | ||
565 | security/pam_appl.h \ | ||
566 | shadow.h \ | ||
567 | stddef.h \ | ||
568 | stdint.h \ | ||
569 | strings.h \ | ||
570 | sys/audit.h \ | ||
571 | sys/bitypes.h \ | ||
572 | sys/bsdtty.h \ | ||
573 | sys/cdefs.h \ | ||
574 | sys/dir.h \ | ||
575 | sys/mman.h \ | ||
576 | sys/ndir.h \ | ||
577 | sys/prctl.h \ | ||
578 | sys/pstat.h \ | ||
579 | sys/select.h \ | ||
580 | sys/stat.h \ | ||
581 | sys/stream.h \ | ||
582 | sys/stropts.h \ | ||
583 | sys/strtio.h \ | ||
584 | sys/sysmacros.h \ | ||
585 | sys/time.h \ | ||
586 | sys/timers.h \ | ||
587 | sys/un.h \ | ||
588 | time.h \ | ||
589 | tmpdir.h \ | ||
590 | ttyent.h \ | ||
591 | usersec.h \ | ||
592 | util.h \ | ||
593 | utime.h \ | ||
594 | utmp.h \ | ||
595 | utmpx.h \ | ||
596 | vis.h\ | ||
597 | ) | ||
551 | 598 | ||
552 | # sys/ptms.h requires sys/stream.h to be included first on Solaris | 599 | # sys/ptms.h requires sys/stream.h to be included first on Solaris |
553 | AC_CHECK_HEADERS(sys/ptms.h, [], [], [ | 600 | AC_CHECK_HEADERS(sys/ptms.h, [], [], [ |
@@ -926,19 +973,87 @@ AC_ARG_WITH(audit, | |||
926 | ) | 973 | ) |
927 | 974 | ||
928 | dnl Checks for library functions. Please keep in alphabetical order | 975 | dnl Checks for library functions. Please keep in alphabetical order |
929 | AC_CHECK_FUNCS(\ | 976 | AC_CHECK_FUNCS( \ |
930 | arc4random __b64_ntop b64_ntop __b64_pton b64_pton bcopy \ | 977 | arc4random \ |
931 | bindresvport_sa clock closefrom dirfd fchdir fchmod fchown \ | 978 | b64_ntop \ |
932 | freeaddrinfo futimes getaddrinfo getcwd getgrouplist getnameinfo \ | 979 | __b64_ntop \ |
933 | getopt getpeereid _getpty getrlimit getttyent glob inet_aton \ | 980 | b64_pton \ |
934 | inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ | 981 | __b64_pton \ |
935 | mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \ | 982 | bcopy \ |
936 | pstat prctl readpassphrase realpath recvmsg rresvport_af sendmsg \ | 983 | bindresvport_sa \ |
937 | setdtablesize setegid setenv seteuid setgroups setlogin setpcred \ | 984 | clock \ |
938 | setproctitle setregid setreuid setrlimit setsid setvbuf \ | 985 | closefrom \ |
939 | sigaction sigvec snprintf socketpair strdup strerror \ | 986 | dirfd \ |
940 | strlcat strlcpy strmode strnvis strtonum strtoul sysconf tcgetpgrp \ | 987 | fchdir \ |
941 | truncate unsetenv updwtmpx utimes vhangup vsnprintf waitpid \ | 988 | fchmod \ |
989 | fchown \ | ||
990 | freeaddrinfo \ | ||
991 | futimes \ | ||
992 | getaddrinfo \ | ||
993 | getcwd \ | ||
994 | getgrouplist \ | ||
995 | getnameinfo \ | ||
996 | getopt \ | ||
997 | getpeereid \ | ||
998 | _getpty \ | ||
999 | getrlimit \ | ||
1000 | getttyent \ | ||
1001 | glob \ | ||
1002 | inet_aton \ | ||
1003 | inet_ntoa \ | ||
1004 | inet_ntop \ | ||
1005 | innetgr \ | ||
1006 | login_getcapbool \ | ||
1007 | md5_crypt \ | ||
1008 | memmove \ | ||
1009 | mkdtemp \ | ||
1010 | mmap \ | ||
1011 | ngetaddrinfo \ | ||
1012 | nsleep \ | ||
1013 | ogetaddrinfo \ | ||
1014 | openlog_r \ | ||
1015 | openpty \ | ||
1016 | prctl \ | ||
1017 | pstat \ | ||
1018 | readpassphrase \ | ||
1019 | realpath \ | ||
1020 | recvmsg \ | ||
1021 | rresvport_af \ | ||
1022 | sendmsg \ | ||
1023 | setdtablesize \ | ||
1024 | setegid \ | ||
1025 | setenv \ | ||
1026 | seteuid \ | ||
1027 | setgroups \ | ||
1028 | setlogin \ | ||
1029 | setpcred \ | ||
1030 | setproctitle \ | ||
1031 | setregid \ | ||
1032 | setreuid \ | ||
1033 | setrlimit \ | ||
1034 | setsid \ | ||
1035 | setvbuf \ | ||
1036 | sigaction \ | ||
1037 | sigvec \ | ||
1038 | snprintf \ | ||
1039 | socketpair \ | ||
1040 | strdup \ | ||
1041 | strerror \ | ||
1042 | strlcat \ | ||
1043 | strlcpy \ | ||
1044 | strmode \ | ||
1045 | strnvis \ | ||
1046 | strtonum \ | ||
1047 | strtoul \ | ||
1048 | sysconf \ | ||
1049 | tcgetpgrp \ | ||
1050 | truncate \ | ||
1051 | unsetenv \ | ||
1052 | updwtmpx \ | ||
1053 | utimes \ | ||
1054 | vhangup \ | ||
1055 | vsnprintf \ | ||
1056 | waitpid \ | ||
942 | ) | 1057 | ) |
943 | 1058 | ||
944 | # IRIX has a const char return value for gai_strerror() | 1059 | # IRIX has a const char return value for gai_strerror() |