Revision 11848,
523 bytes
checked in by ghudson, 26 years ago
(diff) |
Use AC_CANONICAL_HOST and host_os instead of target_os (which is for
cross-compilers).
|
Line | |
---|
1 | dnl Process this file with autoconf to produce a configure script. |
---|
2 | AC_INIT(passwd.c) |
---|
3 | |
---|
4 | AC_PROG_CC |
---|
5 | AC_PROG_INSTALL |
---|
6 | |
---|
7 | AC_MSG_CHECKING(for /etc/master.passwd) |
---|
8 | if test -f /etc/master.passwd; then |
---|
9 | AC_DEFINE(HAVE_MASTER_PASSWD) |
---|
10 | AC_MSG_RESULT(yes) |
---|
11 | else |
---|
12 | AC_MSG_RESULT(no) |
---|
13 | fi |
---|
14 | |
---|
15 | AC_MSG_CHECKING(for /etc/shadow) |
---|
16 | if test -f /etc/shadow; then |
---|
17 | AC_DEFINE(HAVE_SHADOW) |
---|
18 | AC_MSG_RESULT(yes) |
---|
19 | else |
---|
20 | AC_MSG_RESULT(no) |
---|
21 | fi |
---|
22 | |
---|
23 | AC_CANONICAL_HOST |
---|
24 | case $host_os in |
---|
25 | netbsd*) |
---|
26 | AC_DEFINE(PASSWD_NEEDS_LFLAG) |
---|
27 | ;; |
---|
28 | esac |
---|
29 | |
---|
30 | ATHENA_HESIOD |
---|
31 | |
---|
32 | AC_OUTPUT(Makefile) |
---|
Note: See
TracBrowser
for help on using the repository browser.