1 dnl configure.in for netatalk
3 AC_INIT(bin/adv1tov2/adv1tov2.c)
5 NETATALK_VERSION=`cat VERSION`
6 AC_SUBST(NETATALK_VERSION)
8 AM_INIT_AUTOMAKE(netatalk, ${NETATALK_VERSION})
9 AM_CONFIG_HEADER(config.h)
11 dnl Checks for programs.
19 dnl *********************************************************************
20 dnl FIXME! FIXME! These should be selectable properly, and should produce
21 dnl the proper flags and defines...
22 dnl *********************************************************************
24 dnl Checks for libraries.
25 dnl Replace `main' with a function in -labs:
26 AC_CHECK_LIB(abs, main)
27 dnl Replace `main' with a function in -latalk:
28 dnl (internal) AC_CHECK_LIB(atalk, main)
29 dnl Replace `main' with a function in -laudit:
30 AC_CHECK_LIB(audit, main)
31 dnl Replace `main' with a function in -lauth:
32 AC_CHECK_LIB(auth, main)
33 dnl Replace `main' with a function in -lcmd:
34 AC_CHECK_LIB(cmd, main)
35 dnl Replace `main' with a function in -lcom_err:
36 AC_CHECK_LIB(com_err, main)
37 dnl Replace `main' with a function in -lcrack:
38 AC_CHECK_LIB(crack, main)
39 dnl Replace `main' with a function in -lcrypt:
40 AC_CHECK_LIB(crypt, main)
41 dnl Replace `main' with a function in -lcrypto:
42 AC_CHECK_LIB(crypto, main)
43 dnl Replace `main' with a function in -ld:
45 dnl Replace `main' with a function in -ldb:
46 AC_CHECK_LIB(db, main)
47 dnl Replace `main' with a function in -ldes:
48 AC_CHECK_LIB(des, main)
49 dnl Replace `main' with a function in -ldl:
50 AC_CHECK_LIB(dl, main)
51 dnl Replace `main' with a function in -lkauth:
52 AC_CHECK_LIB(kauth, main)
53 dnl Replace `main' with a function in -lkrb:
54 AC_CHECK_LIB(krb, main)
55 dnl Replace `main' with a function in -llwp:
56 AC_CHECK_LIB(lwp, main)
57 dnl Replace `main' with a function in -ln:
59 dnl Replace `main' with a function in -lnsl:
60 AC_CHECK_LIB(nsl, main)
61 dnl Replace `main' with a function in -lpam:
62 AC_CHECK_LIB(pam, main)
63 dnl Replace `main' with a function in -lprot:
64 AC_CHECK_LIB(prot, main)
65 dnl Replace `main' with a function in -lresolv:
66 AC_CHECK_LIB(resolv, main)
67 dnl Replace `main' with a function in -lrpcsvc:
68 AC_CHECK_LIB(rpcsvc, main)
69 dnl Replace `main' with a function in -lrx:
70 AC_CHECK_LIB(rx, main)
71 dnl Replace `main' with a function in -lrxkad:
72 AC_CHECK_LIB(rxkad, main)
73 dnl Replace `main' with a function in -lsocket:
74 AC_CHECK_LIB(socket, main)
75 dnl Replace `main' with a function in -lsys:
76 AC_CHECK_LIB(sys, main)
77 dnl Replace `main' with a function in -lubik:
78 AC_CHECK_LIB(ubik, main)
79 dnl Replace `main' with a function in -lwrap:
80 AC_CHECK_LIB(wrap, main)
82 dnl Checks for header files.
86 AC_CHECK_HEADERS(fcntl.h limits.h strings.h sys/file.h sys/ioctl.h sys/time.h syslog.h unistd.h)
88 dnl Checks for typedefs, structures, and compiler characteristics.
100 dnl Checks for library functions.
102 AC_PROG_GCC_TRADITIONAL
109 AC_CHECK_FUNCS(getcwd gethostname gettimeofday getusershell mkdir rmdir select socket strdup strstr strtoul)
111 dnl --------------------------------------------------------------------------
112 dnl specific configuration comes in here:
113 dnl --------------------------------------------------------------------------
115 AC_ARG_ENABLE(shadow,
116 [ --with-shadow enable shadow password support],
120 AC_ARG_ENABLE(tcp-wrappers,
121 [ --with-tcp-wrappers enable TCP wrappers support],
125 dnl List of Makefiles to generate
129 bin/adv1tov2/Makefile
131 bin/afppasswd/Makefile
132 bin/getzones/Makefile
133 bin/megatron/Makefile
139 etc/afpd/nls/Makefile
145 libatalk/adouble/Makefile
146 libatalk/asp/Makefile
147 libatalk/atp/Makefile
148 libatalk/compat/Makefile
149 libatalk/dsi/Makefile
150 libatalk/nbp/Makefile
151 libatalk/netddp/Makefile
152 libatalk/util/Makefile