1 dnl $Id: configure.in,v 1.184 2003-06-08 14:52:37 srittau Exp $
2 dnl configure.in for netatalk
4 AC_INIT(bin/adv1tov2/adv1tov2.c)
6 NETATALK_VERSION=`cat $srcdir/VERSION`
7 AC_SUBST(NETATALK_VERSION)
10 AM_INIT_AUTOMAKE(netatalk, ${NETATALK_VERSION})
11 AM_CONFIG_HEADER(config.h)
13 dnl Checks for programs.
27 dnl *********************************************************************
28 dnl FIXME! FIXME! These should be selectable properly, and should produce
29 dnl the proper flags and defines...
30 dnl *********************************************************************
32 dnl Checks for libraries.
33 dnl Replace `main' with a function in -labs:
34 AC_CHECK_LIB(abs, main)
35 dnl Replace `main' with a function in -laudit:
36 AC_CHECK_LIB(audit, main)
37 dnl Replace `main' with a function in -lauth:
38 AC_CHECK_LIB(auth, main)
39 dnl Replace `main' with a function in -lcmd:
40 AC_CHECK_LIB(cmd, main)
41 dnl Replace `main' with a function in -lcrypt:
42 AC_CHECK_LIB(crypt, main)
43 dnl Replace `main' with a function in -ld:
45 dnl Replace `main' with a function in -ldl:
46 AC_CHECK_LIB(dl, main)
47 dnl Replace `main' with a function in -lkauth:
48 AC_CHECK_LIB(kauth, main)
49 dnl Replace `main' with a function in -lkrb:
50 AC_CHECK_LIB(krb, main)
51 dnl Replace `main' with a function in -llwp:
52 AC_CHECK_LIB(lwp, main)
53 dnl Replace `main' with a function in -ln:
55 dnl Replace `main' with a function in -lnsl:
56 AC_CHECK_LIB(nsl, main)
57 dnl Replace `main' with a function in -lprot:
58 AC_CHECK_LIB(prot, main)
59 dnl Replace `main' with a function in -lrx:
60 AC_CHECK_LIB(rx, main)
61 dnl Replace `main' with a function in -lrxkad:
62 AC_CHECK_LIB(rxkad, main)
63 dnl Replace `main' with a function in -lsocket:
64 AC_CHECK_LIB(socket, main)
65 dnl Replace `main' with a function in -lsys:
66 AC_CHECK_LIB(sys, main)
67 dnl Replace `main' with a function in -lubik:
68 AC_CHECK_LIB(ubik, main)
71 # Check presence of some functions
73 # Check for XPG4 access() function
74 # Be sure to test before adding AFS libs in LIBS path as AFS lib
75 # has such a function that works only on AFS filesystems.
76 AC_CHECK_FUNCS(access)
78 AC_CHECK_FUNCS(pread pwrite)
80 dnl Checks for header files.
84 AC_CHECK_HEADERS(fcntl.h limits.h stdint.h strings.h sys/fcntl.h sys/file.h sys/ioctl.h sys/time.h sys/mnttab.h sys/statvfs.h sys/stat.h sys/vfs.h mntent.h syslog.h unistd.h termios.h sys/termios.h netdb.h sgtty.h ufs/quota.h mount.h sys/mount.h statfs.h sys/types.h dlfcn.h errno.h sys/errno.h)
85 AC_CHECK_HEADER(sys/cdefs.h,,
86 AC_MSG_RESULT([enabling generic cdefs.h from tree])
87 CFLAGS="-I\$(top_srcdir)/sys/generic $CFLAGS"
90 dnl Checks for typedefs, structures, and compiler characteristics.
102 dnl Checks for library functions.
104 AC_PROG_GCC_TRADITIONAL
111 AC_CHECK_FUNCS(getcwd gethostname gettimeofday getusershell mkdir rmdir select socket strdup strcasestr strstr strtoul setpgrp strchr memcpy)
114 dnl Checks for (v)snprintf
115 NETATALK_SNPRINTF_CHECK
117 dnl --------------------------------------------------------------------------
118 dnl specific configuration comes in here:
119 dnl --------------------------------------------------------------------------
121 AC_DEFINE(ADMIN_GRP, 1, [Define if the admin group should be enabled])
123 AC_MSG_CHECKING([for administrative group support])
124 AC_ARG_WITH(admin-group,
125 [ --disable-admin-group disable admin group], [
126 if test "$enableval" = "no"; then
127 AC_DEFINE(ADMIN_GRP, 0, [Define if the admin group should be enabled])
140 AC_MSG_CHECKING([for logfile path])
142 [ --with-logfile=PATH path for file used by logger [/var/log/netatalk.log]
143 use --without-logfile to disable logger], [
144 if test "x$withval" == "xno"; then
145 AC_DEFINE(DISABLE_LOGGER, 1, [Define if the logger should not be used])
146 AC_MSG_RESULT([syslog])
147 elif test "$withval" != "yes"; then
148 AC_DEFINE_UNQUOTED(LOGFILEPATH, "$withval", [Path to the log file])
149 AC_MSG_RESULT([$withval])
151 AC_DEFINE_UNQUOTED(LOGFILEPATH, "/var/log/netatalk.log", [Path to the log file])
152 AC_MSG_RESULT([/var/log/netatalk.log])
154 AC_DEFINE_UNQUOTED(LOGFILEPATH, "/var/log/netatalk.log", [Path to the log file])
155 AC_MSG_RESULT([/var/log/netatalk.log])
159 AC_ARG_WITH(cracklib,
160 [ --with-cracklib=DICT enable/set location of cracklib dictionary],
161 if test "x$withval" != "xno" ; then
163 AC_CHECK_LIB(crack, main,
164 AC_DEFINE(USE_CRACKLIB, 1, [Define if cracklib should be used])
166 AC_MSG_RESULT([enabling cracklib support])
167 if test "$cracklib" = "yes"; then
168 cracklib="/usr/lib/cracklib_dict"
170 AC_DEFINE_UNQUOTED(_PATH_CRACKLIB, "$cracklib",
171 [path to cracklib dictionary])
172 AC_MSG_RESULT([setting cracklib dictionary to $cracklib]),
173 AC_MSG_ERROR([cracklib not found!])
178 AC_MSG_CHECKING([whether to enable DDP])
180 [ --disable-ddp disable DDP], [
181 if test "x$enableval" = "xno"; then
182 AC_DEFINE(NO_DDP, 1, [Define if DDP should be disabled])
192 AC_MSG_CHECKING([whether to enable debugging code])
194 [ --enable-debug enable debug code], [
195 if test "x$enableval" != "xno"; then
196 if test "x$enableval" = "xyes"; then
197 AC_DEFINE(DEBUG, 1, [Define if debugging information should be included])
199 AC_DEFINE_UNQUOTED(DEBUG, $enableval, [Define if debugging information should be included])
212 [ --enable-afp3 enable AFP 3.x calls],
213 if test "$enableval" = "yes"; then
215 AC_DEFINE(AFP3x, 1, [Define to enable AFP 3.x support])
216 AC_MSG_RESULT([enabling AFP 3.x calls])
220 if test "$afp3" = "yes"; then
226 dnl ----------- A NOTE ABOUT DROPKLUDGE
227 dnl The trouble with this fix is that if you know what the file is called, it
228 dnl can be read from the Unix side. That's okay for most academic institutions
229 dnl since the students don't have telnet access to the Mac servers. There is
230 dnl currently no one working on further development/fixes of DROPKLUDGE.
233 AC_MSG_CHECKING([whether to enable experimental dropbox support])
234 AC_ARG_ENABLE(dropkludge,
235 [ --enable-dropkludge enable the experimental dropbox fix (INSECURE!) ], [
236 if test "x$enableval" = "xyes"; then
237 AC_DEFINE(DROPKLUDGE, 1, [Define if you want to use the experimental dropkludge support])
242 ], [AC_MSG_RESULT([no])]
245 AC_MSG_CHECKING([whether to enable forcing of uid/gid per volume])
246 AC_ARG_ENABLE(force-uidgid,
247 [ --enable-force-uidgid allow forcing of uid/gid per volume (BROKEN) ], [
248 if test "x$enableval" = "xyes"; then
249 AC_DEFINE(FORCE_UIDGID, 1, [Define if you want forcing of uid/gid per volume])
254 ], [AC_MSG_RESULT([no])]
259 dnl Determine whether or not to use filename mangling
260 AC_MSG_CHECKING([whether to use filename mangling])
261 AC_ARG_WITH(mangling,
262 [ --with-mangling enable filename mangling],
264 if test "x$withval" = "xyes"; then
265 if test "x$did_scheme" != "xcnid"; then
266 AC_MSG_ERROR([DID scheme must be CNID to use filename mangling])
268 AC_DEFINE(FILE_MANGLING, 1, [Define if file name mangling should be used])
275 if test "x$did_scheme" = "xcnid"; then
276 AC_DEFINE(FILE_MANGLING, 1, [Define if file name mangling should be used])
284 if test "$did_scheme" = "cnid"; then
290 dnl Determine whether or not to use CDB or transactional DB store
291 AC_MSG_CHECKING([whether to use CNID with Concurrent Data Store])
293 [ --with-cdb enable CNID with Concurrent Data Store],
294 if test "$withval" = "no"; then
295 if test "x$did_scheme" != "xcnid"; then
297 AC_MSG_ERROR([DID scheme must be CNID to use CDB])
306 , AC_MSG_RESULT([yes])
309 if test "$USE_CDB" = "yes"; then
310 AC_DEFINE(CNID_DB_CDB, 1, [Define if CNID should be used with Concurrent Data Store])
313 dnl Check for quota support
316 dnl Check for optional server location protocol support (used by MacOS X)
319 dnl Check for PAM libs
323 AC_DEFINE(USE_PAM, 1, [Define to enable PAM support])
326 AC_MSG_CHECKING([whether shadow support should be enabled])
328 [ --with-shadow enable shadow password support],
329 [shadowpw="$withval"],
332 if test "x$shadowpw" = "xyes"; then
333 AC_DEFINE(SHADOWPW, 1, [Define if shadow passwords should be used])
335 AC_MSG_RESULT([$shadowpw])
337 AC_ARG_ENABLE(shell-check,
338 [ --disable-shell-check disable checking for a valid shell],
339 if test "$enableval" = "no"; then
340 AC_DEFINE(DISABLE_SHELLCHECK, 1, [Define if shell check should be disabled])
341 AC_MSG_RESULT([disabling valid shell check])
345 AC_ARG_WITH(tcp-wrappers,
346 [ --with-tcp-wrappers enable TCP wrappers support],
347 AC_CHECK_LIB(wrap, tcpd_warn,
348 AC_DEFINE(TCPWRAP, 1, [Define if TCP wrappers should be used])
350 AC_MSG_RESULT([enabling TCP wrappers support])
355 AC_ARG_ENABLE(redhat,
356 [ --enable-redhat use redhat-style sysv configuration ],
357 if test "$enableval" = "yes"; then
360 AC_MSG_RESULT([enabling redhat-style sysv support])
364 [ --enable-suse use suse-style sysv configuration ],
365 if test "$enableval" = "yes"; then
368 AC_MSG_RESULT([enabling suse-style sysv support])
371 AC_ARG_ENABLE(cobalt,
372 [ --enable-cobalt use cobalt-style sysv configuration ],
373 if test "$enableval" = "yes"; then
376 AC_MSG_RESULT([enabling cobalt-style sysv support])
379 AC_ARG_ENABLE(netbsd,
380 [ --enable-netbsd use NetBSD-style rc.d configuration ],
381 if test "x$enableval" = "xyes"; then
384 AC_MSG_RESULT([enabling NetBSD-style rc.d support])
387 dnl ----- timelord compilation (disabled by default)
388 AC_MSG_CHECKING([whether timelord should be compiled])
390 AC_ARG_ENABLE(timelord,
391 [ --enable-timelord enable compilation of timelord server],
392 [compile_timelord="$enableval"],
393 [compile_timelord="no"]
395 AC_MSG_RESULT([$compile_timelord])
397 dnl ----- a2boot compilation (disabled by default)
398 AC_MSG_CHECKING([whether a2boot should be compiled])
400 AC_ARG_ENABLE(a2boot,
401 [ --enable-a2boot enable compilation of Apple2 boot server],
402 [compile_a2boot="$enableval"],
403 [compile_a2boot="no"]
405 AC_MSG_RESULT([$compile_a2boot])
407 AC_ARG_WITH(uams-path,
408 [ --with-uams-path=PATH path to UAMs [[PKGCONF/uams]]],
409 uams_path="$withval",
410 uams_path="${PKGCONFDIR}/uams"
413 dnl --------------------------------------------------------------------------
414 dnl FHS stuff has to be done last because it overrides other defaults
415 dnl --------------------------------------------------------------------------
418 [ --enable-fhs use Filesystem Hierarchy Standard (FHS) compatibility],
419 if test "$enableval" = "yes"; then
420 uams_path="${libdir}/netatalk"
422 PKGCONFDIR=${sysconfdir}/netatalk
423 SERVERTEXT="${PKGCONFDIR}/msg"
424 NLSDIR="${PKGCONFDIR}/nls"
426 mandir="/usr/share/man"
427 AC_DEFINE(FHS_COMPATIBILITY, 1, [Define if you want compatibily with the FHS])
429 AC_MSG_RESULT([enabling Filesystem Hierarchy Standard (FHS) compatibility])
432 dnl --------------------------------------------------------------------------
433 dnl post-FHS substitutions, etc
434 dnl --------------------------------------------------------------------------
437 AC_DEFINE_UNQUOTED(UAMS_PATH, "${uams_path}",
438 [path to UAMs [default=PKGCONF/uams]])
439 UAMS_PATH="${uams_path}"
442 dnl --------------------------------------------------------------------------
443 dnl drop in includes for top level directory structures here...
444 dnl --------------------------------------------------------------------------
446 dnl Note: $(top_srcdir)/include should be added before all other includes
447 dnl so that includes from that directory a preferred to includes from
448 dnl /usr/include or similar places.
449 LIBS="$LIBS -L\$(top_srcdir)/libatalk"
450 CFLAGS="-I\$(top_srcdir)/include $CFLAGS -I\$(top_srcdir)/sys"
452 dnl --------------------------------------------------------------------------
453 dnl specific configuration comes in here:
454 dnl --------------------------------------------------------------------------
456 dnl ac_cv_target_os is now host_os, ac_cv_target_cpu is now host_cpu
458 dnl --------------------- determine operating system from "target"
460 *aix*) this_os=aix ;;
461 *freebsd*) this_os=freebsd ;;
462 *hpux11*) this_os=hpux11 ;;
463 *irix*) this_os=irix ;;
464 *linux*) this_os=linux ;;
465 *osx*) this_os=macosx ;;
466 *darwin*) this_os=macosx ;;
467 *netbsd*) this_os=netbsd ;;
468 *openbsd*) this_os=openbsd ;;
469 *osf*) this_os=tru64 ;;
470 *solaris*) this_os=solaris ;;
474 i386|i486|i586|i686|k7) this_cpu=x86 ;;
475 alpha) this_cpu=alpha ;;
476 mips) this_cpu=mips ;;
477 powerpc|ppc) this_cpu=ppc ;;
480 dnl --------------------- operating system specific flags (port from sys/*)
482 dnl ----- AIX specific -----
483 if test x"$this_os" = "xaix"; then
484 AC_MSG_RESULT([ * AIX specific configuration])
485 AC_DEFINE(NO_STRUCT_TM_GMTOFF, 1, [Define if the gmtoff member of struct tm is not available])
487 dnl This is probably a lie; AIX 4.3 supports a 64-bit long
488 dnl compilation environment. It's enough to get things defined
489 dnl right in endian.h provided that long long is supported, though.
490 AC_DEFINE(HAVE_32BIT_LONGS, 1, [Define if the data type long has 32 bit])
493 dnl ----- FreeBSD specific -----
494 if test x"$this_os" = "xfreebsd"; then
495 AC_MSG_RESULT([ * FreeBSD specific configuration])
496 AC_DEFINE(BSD4_4, 1, [BSD compatiblity macro])
497 AC_DEFINE(SENDFILE_FLAVOR_BSD, 1, [Define if the sendfile() function uses BSD semantics])
499 AC_DEFINE(NO_CRYPT_H, 1, [Define if crypt.h does not exist])
502 dnl ----- HP-UX 11 specific -----
503 if test x"$this_os" = "xhpux11"; then
504 AC_MSG_RESULT([ * HP-UX 11 specific configuration])
506 AC_DEFINE(_ISOC9X_SOURCE, 1, [Compatibility macro])
507 AC_DEFINE(NO_STRUCT_TM_GMTOFF, 1, [Define if the gmtoff member of struct tm is not available])
510 dnl ----- IRIX specific -----
511 if test x"$this_os" = "xirix"; then
512 AC_MSG_RESULT([ * IRIX specific configuration])
514 AC_DEFINE(NO_STRUCT_TM_GMTOFF, 1, [Define if the gmtoff member of struct tm is not available])
517 dnl ----- Linux specific -----
518 if test x"$this_os" = "xlinux"; then
519 AC_MSG_RESULT([ * Linux specific configuration])
521 dnl ----- check if we need the quotactl wrapper
522 AC_CHECK_HEADERS(sys/quota.h linux/quota.h)
523 AC_CHECK_FUNC(quotactl,,
524 AC_DEFINE(NEED_QUOTACTL_WRAPPER, 1, [Define if the quotactl wrapper is needed])
525 AC_MSG_RESULT([enabling quotactl wrapper])
528 dnl ----- as far as I can tell, dbtob always does the wrong thing
529 dnl ----- on every single version of linux I've ever played with.
530 dnl ----- see etc/afpd/quota.c
531 AC_DEFINE(HAVE_BROKEN_DBTOB, 1, [Define if dbtob is broken])
533 dnl --- added by Yoshinobu Ishizaki (2001.03.13) ---
534 dnl ----- check if version is newer than 2.2.x
536 majorvers="`uname -r | sed 's/\([0-9]\)..*/\1/'`"
537 minorvers="`uname -r | sed 's/[0-9]\.\([0-9]\)\..*/\1/'`"
538 if [ $majorvers -ge 2 ]; then
539 if [ $minorvers -ge 2 ]; then
541 AC_MSG_RESULT([ * found Linux 2.2.x or higher])
542 AC_DEFINE(SENDFILE_FLAVOR_LINUX, 1, [Define if the sendfile() function uses Linux semantics])
544 AC_MSG_RESULT([ * found Linux 2.0.x ])
548 dnl ----- Linux/alpha specific -----
549 if test x"$this_cpu" = "xalpha"; then
550 AC_MSG_RESULT([enabling gcc memcpy bug workaround])
551 AC_DEFINE(HAVE_GCC_MEMCPY_BUG, 1, [Define if memcpy is buggy])
556 dnl ----- Mac OSX specific -----
557 if test x"$this_os" = "xmacosx"; then
558 AC_MSG_RESULT([ * Mac OSX specific configuration])
559 AC_DEFINE(BSD4_4, 1, [BSD compatiblity macro])
560 AC_DEFINE(HAVE_BROKEN_CPP, 1, [Define if cpp is broken])
561 AC_DEFINE(HAVE_2ARG_DBTOB, 1, [Define if dbtob takes two arguments])
562 dnl AC_DEFINE(NO_DLFCN_H)
563 AC_DEFINE(MACOSX_SERVER, 1, [Define if compiling for MacOS X Server])
566 dnl ----- NetBSD specific -----
567 if test x"$this_os" = "xnetbsd"; then
568 AC_MSG_RESULT([ * NetBSD specific configuration])
569 AC_DEFINE(BSD4_4, 1, [BSD compatiblity macro])
570 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
571 # NetBSD ELF machines don't have to have DLSYM_PREPEND_UNDERSCORE.
572 # If this test is true, it's not an ELF box.
573 # This REALLY should be a configure test.
574 AC_DEFINE(DLSYM_PREPEND_UNDERSCORE, 1, [BSD compatibility macro])
576 CFLAGS="-I\$(top_srcdir)/sys/netbsd -I/usr/include/kerberosIV $CFLAGS"
579 dnl ----- NetBSD does not have crypt.h, uses unistd.h -----
580 AC_DEFINE(UAM_DHX, 1, [Define if the DHX UAM modules should be compiled])
581 AC_DEFINE(NO_CRYPT_H, 1, [Define if crypt.h does not exist])
584 dnl ----- OpenBSD specific -----
585 if test x"$this_os" = "xopenbsd"; then
586 AC_MSG_RESULT([ * OpenBSD specific configuration])
587 AC_DEFINE(BSD4_4, 1, [BSD compatiblity macro])
588 AC_DEFINE(DLSYM_PREPEND_UNDERSCORE, 1, [BSD compatibility macro])
590 dnl ----- OpenBSD does not have crypt.h, uses unistd.h -----
591 AC_DEFINE(UAM_DHX, 1, [Define if the DHX UAM modules should be compiled])
592 AC_DEFINE(NO_CRYPT_H, 1, [Define if crypt.h does not exist])
595 dnl ----- Solaris specific -----
596 if test x"$this_os" = "xsolaris"; then
597 AC_MSG_RESULT([ * Solaris specific configuration])
598 AC_DEFINE(__svr4__, 1, [Solaris compatibility macro])
599 AC_DEFINE(_ISOC9X_SOURCE, 1, [Compatibility macro])
600 AC_DEFINE(NO_STRUCT_TM_GMTOFF, 1, [Define if the gmtoff member of struct tm is not available])
601 AC_DEFINE(SOLARIS, 1, [Solaris compatibility macro])
602 CFLAGS="-I\$(top_srcdir)/sys/generic $CFLAGS"
605 AC_MSG_RESULT([enabling Solaris kernel module build])
609 dnl ----- Tru64 specific -----
610 if test x"$this_os" = "xtru64"; then
611 AC_MSG_RESULT([ * Tru64 specific configuration])
612 AC_DEFINE(NO_DDP, 1, [Define if DDP should be disabled])
613 AC_DEFINE(HAVE_64BIT_LONGS, 1, [Define if the data type long has 64 bit])
614 dnl AC_DEFINE(USE_MOUNT_H)
615 AC_DEFINE(USE_OLD_RQUOTA, 1, [Define to use old rquota])
616 dnl AC_DEFINE(USE_UFS_QUOTA_H)
617 AC_DEFINE(TRU64, 1, [Define on Tru64 platforms])
618 AC_CHECK_LIB(security,set_auth_parameters)
619 CFLAGS="-I\$(top_srcdir)/sys/tru64 $CFLAGS"
624 dnl -- look for openssl
627 dnl --------------------- check for building PGP UAM module
629 AC_ARG_ENABLE(pgp-uam,
630 [ --enable-pgp-uam enable build of PGP UAM module],
631 if test "$enableval" = "yes"; then
632 if test "$compile_ssl" = "yes"; then
633 AC_DEFINE(UAM_PGP, 1, [Define if the PGP UAM module should be compiled])
635 AC_MSG_RESULT([enabling build with PGP UAM module])
640 dnl --------------------- check for building Kerberos v4 UAM module
642 AC_ARG_ENABLE(krb4-uam,
643 [ --enable-krb4-uam enable build of Kerberos v4 UAM module],
644 if test "$enableval" = "yes"; then
645 AC_DEFINE(UAM_KRB4, 1, [Define if the Kerberos 4 UAM module should be compiled])
647 AC_MSG_RESULT([enabling build with Kerberos v4 UAM module])
650 dnl --------------------- overwrite the config files . . . or not.
652 AC_MSG_CHECKING([whether configuration files should be overwritten])
653 AC_ARG_ENABLE(overwrite,
654 [ --enable-overwrite overwrite configuration files during installation],
655 [OVERWRITE_CONFIG="${enable_overwrite}"],
656 [OVERWRITE_CONFIG="no"]
658 AC_MSG_RESULT([$OVERWRITE_CONFIG])
660 dnl --------------------- last minute substitutions
664 AC_SUBST(OVERWRITE_CONFIG)
666 AM_CONDITIONAL(SOLARIS_MODULE, test x$solaris_module = xyes)
667 AM_CONDITIONAL(COMPILE_TIMELORD, test x$compile_timelord = xyes)
668 AM_CONDITIONAL(COMPILE_A2BOOT, test x$compile_a2boot = xyes)
669 AM_CONDITIONAL(USE_DHX, test x$compile_ssl = xyes)
670 AM_CONDITIONAL(USE_KERBEROS, test x$compile_kerberos = xyes)
671 AM_CONDITIONAL(USE_PAM_SO, test x$use_pam_so = xyes)
672 AM_CONDITIONAL(USE_PAM, test x$compile_pam = xyes)
673 AM_CONDITIONAL(BUILD_PAM, test x$compile_pam = xyes)
674 AM_CONDITIONAL(USE_PGP, test x$compile_pgp = xyes)
675 AM_CONDITIONAL(USE_COBALT, test x$sysv_style = xcobalt)
676 AM_CONDITIONAL(USE_NETBSD, test x$sysv_style = xnetbsd)
677 AM_CONDITIONAL(USE_REDHAT, test x$sysv_style = xredhat)
678 AM_CONDITIONAL(USE_SUSE, test x$sysv_style = xsuse)
679 AM_CONDITIONAL(USE_SHADOWPW, test x$shadowpw = xyes)
680 AM_CONDITIONAL(USE_TRU64, test x$sysv_style = xtru64)
682 dnl --------------------- generate files
686 bin/adv1tov2/Makefile
689 bin/afppasswd/Makefile
692 bin/getzones/Makefile
693 bin/megatron/Makefile
699 contrib/macusers/Makefile
700 contrib/macusers/macusers
703 contrib/printing/Makefile
704 contrib/shell_utils/Makefile
705 contrib/shell_utils/afpd-mtab.pl
706 contrib/shell_utils/apple_cp
707 contrib/shell_utils/apple_mv
708 contrib/shell_utils/apple_rm
709 contrib/shell_utils/cleanappledouble.pl
710 contrib/shell_utils/lp2pap.sh
711 contrib/shell_utils/netatalkshorternamelinks.pl
712 contrib/timelord/Makefile
713 contrib/a2boot/Makefile
715 distrib/config/Makefile
716 distrib/config/netatalk-config
717 distrib/initscripts/Makefile
722 etc/afpd/nls/Makefile
725 etc/uams/uams_krb4/Makefile
730 include/atalk/Makefile
732 libatalk/adouble/Makefile
733 libatalk/asp/Makefile
734 libatalk/atp/Makefile
735 libatalk/cnid/Makefile
736 libatalk/compat/Makefile
737 libatalk/dsi/Makefile
738 libatalk/nbp/Makefile
739 libatalk/netddp/Makefile
740 libatalk/util/Makefile
750 sys/generic/sys/Makefile
751 sys/netatalk/Makefile
753 sys/netbsd/netatalk/Makefile
755 sys/solaris/Makefile.kernel
759 [chmod a+x distrib/config/netatalk-config contrib/shell_utils/apple_*]