1 dnl configure.in for netatalk
3 AC_INIT(bin/adv1tov2/adv1tov2.c)
4 AM_INIT_AUTOMAKE([netatalk], [1.5])
6 dnl Checks for programs.
14 dnl *********************************************************************
15 dnl FIXME! FIXME! These should be selectable properly, and should produce
16 dnl the proper flags and defines...
17 dnl *********************************************************************
19 dnl Checks for libraries.
20 dnl Replace `main' with a function in -labs:
21 AC_CHECK_LIB(abs, main)
22 dnl Replace `main' with a function in -latalk:
23 dnl (internal) AC_CHECK_LIB(atalk, main)
24 dnl Replace `main' with a function in -laudit:
25 AC_CHECK_LIB(audit, main)
26 dnl Replace `main' with a function in -lauth:
27 AC_CHECK_LIB(auth, main)
28 dnl Replace `main' with a function in -lcmd:
29 AC_CHECK_LIB(cmd, main)
30 dnl Replace `main' with a function in -lcom_err:
31 AC_CHECK_LIB(com_err, main)
32 dnl Replace `main' with a function in -lcrack:
33 AC_CHECK_LIB(crack, main)
34 dnl Replace `main' with a function in -lcrypt:
35 AC_CHECK_LIB(crypt, main)
36 dnl Replace `main' with a function in -lcrypto:
37 AC_CHECK_LIB(crypto, main)
38 dnl Replace `main' with a function in -ld:
40 dnl Replace `main' with a function in -ldb:
41 AC_CHECK_LIB(db, main)
42 dnl Replace `main' with a function in -ldes:
43 AC_CHECK_LIB(des, main)
44 dnl Replace `main' with a function in -ldl:
45 AC_CHECK_LIB(dl, main)
46 dnl Replace `main' with a function in -lkauth:
47 AC_CHECK_LIB(kauth, main)
48 dnl Replace `main' with a function in -lkrb:
49 AC_CHECK_LIB(krb, main)
50 dnl Replace `main' with a function in -llwp:
51 AC_CHECK_LIB(lwp, main)
52 dnl Replace `main' with a function in -ln:
54 dnl Replace `main' with a function in -lnsl:
55 AC_CHECK_LIB(nsl, main)
56 dnl Replace `main' with a function in -lpam:
57 AC_CHECK_LIB(pam, main)
58 dnl Replace `main' with a function in -lprot:
59 AC_CHECK_LIB(prot, main)
60 dnl Replace `main' with a function in -lresolv:
61 AC_CHECK_LIB(resolv, main)
62 dnl Replace `main' with a function in -lrpcsvc:
63 AC_CHECK_LIB(rpcsvc, main)
64 dnl Replace `main' with a function in -lrx:
65 AC_CHECK_LIB(rx, main)
66 dnl Replace `main' with a function in -lrxkad:
67 AC_CHECK_LIB(rxkad, main)
68 dnl Replace `main' with a function in -lsocket:
69 AC_CHECK_LIB(socket, main)
70 dnl Replace `main' with a function in -lsys:
71 AC_CHECK_LIB(sys, main)
72 dnl Replace `main' with a function in -lubik:
73 AC_CHECK_LIB(ubik, main)
74 dnl Replace `main' with a function in -lwrap:
75 AC_CHECK_LIB(wrap, main)
77 dnl Checks for header files.
81 AC_CHECK_HEADERS(fcntl.h limits.h strings.h sys/file.h sys/ioctl.h sys/time.h syslog.h unistd.h)
83 dnl Checks for typedefs, structures, and compiler characteristics.
95 dnl Checks for library functions.
97 AC_PROG_GCC_TRADITIONAL
104 AC_CHECK_FUNCS(getcwd gethostname gettimeofday getusershell mkdir rmdir select socket strdup strstr strtoul)
106 dnl --------------------------------------------------------------------------
107 dnl specific configuration comes in here:
108 dnl --------------------------------------------------------------------------
110 AC_ARG_ENABLE(shadow,
111 [ --with-shadow enable shadow password support],
115 dnl List of Makefiles to generate
117 AC_OUTPUT(libatalk/nbp/Makefile etc/psf/Makefile sys/ultrix/Makefile libatalk/compat/Makefile sys/openbsd/Makefile bin/Makefile man/man4/Makefile etc/atalkd/Makefile etc/Makefile sys/linux/Makefile man/man8/Makefile etc/uams/Makefile etc/afpd/nls/Makefile libatalk/Makefile bin/megatron/Makefile sys/sunos/Makefile bin/psorder/Makefile sys/osx/Makefile bin/aecho/Makefile sys/freebsd/Makefile sys/solaris/Makefile etc/papd/Makefile libatalk/util/Makefile bin/afppasswd/Makefile Makefile libatalk/dsi/Makefile bin/getzones/Makefile libatalk/asp/Makefile libatalk/atp/Makefile man/man1/Makefile man/man3/Makefile man/Makefile bin/adv1tov2/Makefile include/Makefile etc/afpd/Makefile bin/nbp/Makefile bin/pap/Makefile sys/generic/Makefile sys/netbsd/Makefile libatalk/adouble/Makefile libatalk/cnid/Makefile libatalk/netddp/Makefile)