source: trunk/athena/bin/passwd/configure.in @ 11848

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 
1dnl Process this file with autoconf to produce a configure script.
2AC_INIT(passwd.c)
3
4AC_PROG_CC
5AC_PROG_INSTALL
6
7AC_MSG_CHECKING(for /etc/master.passwd)
8if test -f /etc/master.passwd; then
9        AC_DEFINE(HAVE_MASTER_PASSWD)
10        AC_MSG_RESULT(yes)
11else
12        AC_MSG_RESULT(no)
13fi
14
15AC_MSG_CHECKING(for /etc/shadow)
16if test -f /etc/shadow; then
17        AC_DEFINE(HAVE_SHADOW)
18        AC_MSG_RESULT(yes)
19else
20        AC_MSG_RESULT(no)
21fi
22
23AC_CANONICAL_HOST
24case $host_os in
25netbsd*)
26        AC_DEFINE(PASSWD_NEEDS_LFLAG)
27        ;;
28esac
29
30ATHENA_HESIOD
31
32AC_OUTPUT(Makefile)
Note: See TracBrowser for help on using the repository browser.