1 dnl configure.in for netatalk
3 AC_INIT(etc/afpd/main.c)
5 NETATALK_VERSION=`cat $srcdir/VERSION`
6 AC_SUBST(NETATALK_VERSION)
9 AM_INIT_AUTOMAKE(netatalk, ${NETATALK_VERSION})
10 AM_CONFIG_HEADER(config.h)
11 AM_MAINTAINER_MODE([enable])
13 dnl Checks for programs.
28 dnl Checks for header files.
32 AC_CHECK_HEADERS(fcntl.h limits.h stdint.h strings.h time.h sys/param.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 statfs.h sys/types.h dlfcn.h errno.h sys/errno.h sys/uio.h langinfo.h locale.h sys/filio.h)
33 AC_CHECK_HEADER(sys/cdefs.h,,
34 AC_MSG_RESULT([enabling generic cdefs.h from tree])
35 CFLAGS="-I\$(top_srcdir)/sys/generic $CFLAGS"
37 AC_CHECK_HEADERS([sys/mount.h], , ,
38 [#ifdef HAVE_SYS_PARAM_H
39 #include <sys/param.h>
43 dnl Checks for typedefs, structures, and compiler characteristics.
55 dnl --------------------------------------------------------------------------
56 dnl check if dlsym needs to add an underscore, uses libtool macros
57 dnl --------------------------------------------------------------------------
59 AC_CHECK_FUNCS(dlopen dlsym dlclose)
61 if test x"$libltdl_cv_need_uscore" = xyes; then
62 AC_DEFINE(DLSYM_PREPEND_UNDERSCORE, 1, [BSD compatibility macro])
65 dnl Checks for library functions.
67 AC_PROG_GCC_TRADITIONAL
74 AC_CHECK_FUNCS(getcwd gethostname gettimeofday getusershell mkdir rmdir select socket strdup strcasestr strstr strtoul strchr memcpy)
75 AC_CHECK_FUNCS(backtrace_symbols setlocale nl_langinfo strlcpy strlcat setlinebuf dirfd pselect access pread pwrite)
76 AC_CHECK_FUNCS(waitpid getcwd strdup strndup strnlen strtoul strerror chown fchown chmod fchmod chroot link mknod mknod64)
77 ac_neta_haveatfuncs=yes
78 AC_CHECK_FUNCS(openat renameat fstatat unlinkat, , ac_neta_haveatfuncs=no)
79 if test x"$ac_neta_haveatfuncs" = x"yes" ; then
80 AC_DEFINE([_ATFILE_SOURCE], 1, AT file source)
81 AC_DEFINE([HAVE_ATFUNCS], 1, whether at funcs are available)
84 AC_CHECK_MEMBERS(struct tm.tm_gmtoff,,, [#include <time.h>])
86 AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname)])
87 AC_CHECK_FUNC(connect,,[AC_CHECK_LIB(socket,connect)])
88 dnl search for necessary libs for libpthread stuff
89 AC_SEARCH_LIBS(pthread_sigmask, pthread,,
90 [AC_MSG_ERROR([cannot find pthread_sigmask in libc or libpthread])])
91 if test x"$ac_cv_search_pthread_sigmask" != x"none required" ; then
92 PTHREAD_LIBS=$ac_cv_search_pthread_sigmask
94 AC_SUBST(PTHREAD_LIBS)
97 dnl Checks for (v)snprintf
98 NETATALK_SNPRINTF_CHECK
100 dnl --------------------------------------------------------------------------
101 dnl 64bit platform check
102 dnl --------------------------------------------------------------------------
104 AC_MSG_CHECKING([whether to check for 64bit libraries])
105 # Test if the compiler is in 64bit mode
106 echo 'int i;' > conftest.$ac_ext
107 atalk_cv_cc_64bit_output=no
108 if AC_TRY_EVAL(ac_compile); then
109 case `/usr/bin/file conftest.$ac_objext` in
111 atalk_cv_cc_64bit_output=yes
117 case $host_cpu:$atalk_cv_cc_64bit_output in
118 powerpc64:yes | s390x:yes | sparc*:yes | x86_64:yes | i386:yes)
122 atalk_libname="lib/64"
130 atalk_libname="lib64"
140 dnl --------------------------------------------------------------------------
141 dnl specific configuration comes in here:
142 dnl --------------------------------------------------------------------------
145 netatalk_cv_admin_group=yes
146 AC_MSG_CHECKING([for administrative group support])
147 AC_ARG_ENABLE(admin-group,
148 [ --disable-admin-group disable admin group],[
149 if test x"$enableval" = x"no"; then
150 AC_DEFINE(ADMIN_GRP, 0, [Define if the admin group should be enabled])
151 netatalk_cv_admin_group=no
154 AC_DEFINE(ADMIN_GRP, 1, [Define if the admin group should be enabled])
157 AC_DEFINE(ADMIN_GRP, 1, [Define if the admin group should be enabled])
166 netatalk_cv_with_cracklib=no
167 AC_ARG_WITH(cracklib,
168 [ --with-cracklib=DICT enable/set location of cracklib dictionary],[
169 if test "x$withval" != "xno" ; then
171 AC_CHECK_LIB(crack, main, [
172 AC_DEFINE(USE_CRACKLIB, 1, [Define if cracklib should be used])
174 if test "$cracklib" = "yes"; then
175 cracklib="/usr/$atalk_libname/cracklib_dict"
177 AC_DEFINE_UNQUOTED(_PATH_CRACKLIB, "$cracklib",
178 [path to cracklib dictionary])
179 AC_MSG_RESULT([setting cracklib dictionary to $cracklib])
180 netatalk_cv_with_cracklib=yes
182 AC_MSG_ERROR([cracklib not found!])
188 AC_MSG_CHECKING([for cracklib support])
189 AC_MSG_RESULT([$netatalk_cv_with_cracklib])
191 netatalk_cv_ddp_enabled=no
192 AC_MSG_CHECKING([whether to enable DDP])
194 [ --enable-ddp enable DDP (AppleTalk)],[
195 if test "$enableval" = "yes"; then
197 netatalk_cv_ddp_enabled=yes
200 AC_DEFINE(NO_DDP, 1, [Define if DDP should be disabled])
204 AC_DEFINE(NO_DDP, 1, [Define if DDP should be disabled])
208 AC_MSG_CHECKING([whether to enable debug code])
209 AC_ARG_ENABLE(debug1,
210 [ --enable-debug1 enable debug code],[
211 if test "$enableval" != "no"; then
212 if test "$enableval" = "yes"; then
213 AC_DEFINE(DEBUG1, 1, [Define if debugging information should be included])
215 AC_DEFINE_UNQUOTED(DEBUG1, $enableval, [Define if debugging information should be included])
226 AC_MSG_CHECKING([whether to enable verbose debug code])
228 [ --enable-debug enable verbose debug code],[
229 if test "$enableval" != "no"; then
230 if test "$enableval" = "yes"; then
231 AC_DEFINE(DEBUG, 1, [Define if verbose debugging information should be included])
233 AC_DEFINE_UNQUOTED(DEBUG, $enableval, [Define if verbose debugging information should be included])
238 AC_DEFINE(NDEBUG, 1, [Disable assertions])
242 AC_DEFINE(NDEBUG, 1, [Disable assertions])
246 AC_MSG_CHECKING([whether to enable debugging with debuggers])
247 AC_ARG_ENABLE(debugging,
248 [ --enable-debugging disable SIGALRM timers and DSI tickles (eg for debugging with gdb/dbx/...)],[
249 if test "$enableval" != "no"; then
250 if test "$enableval" = "yes"; then
251 AC_DEFINE(DEBUGGING, 1, [Define if you want to disable SIGALRM timers and DSI tickles])
253 AC_DEFINE_UNQUOTED(DEBUGGING, $enableval, [Define if you want to disable SIGALRM timers and DSI tickles])
264 AC_SYS_LARGEFILE([], AC_MSG_ERROR([AFP 3.x support requires Large File Support.]))
267 dnl ----------- A NOTE ABOUT DROPKLUDGE
268 dnl The trouble with this fix is that if you know what the file is called, it
269 dnl can be read from the Unix side. That's okay for most academic institutions
270 dnl since the students don't have telnet access to the Mac servers. There is
271 dnl currently no one working on further development/fixes of DROPKLUDGE.
274 netatalk_cv_dropkludge=no
275 AC_MSG_CHECKING([whether to enable experimental dropbox support])
276 AC_ARG_ENABLE(dropkludge,
277 [ --enable-dropkludge enable the experimental dropbox fix (INSECURE!) ],[
278 if test "$enableval" = "yes"; then
279 AC_DEFINE(DROPKLUDGE, 1, [Define if you want to use the experimental dropkludge support])
281 netatalk_cv_dropkludge=yes
290 netatalk_cv_force_uidgid=no
291 AC_MSG_CHECKING([whether to enable forcing of uid/gid per volume])
292 AC_ARG_ENABLE(force-uidgid,
293 [ --enable-force-uidgid allow forcing of uid/gid per volume (BROKEN) ],[
294 if test "$enableval" = "yes"; then
295 AC_DEFINE(FORCE_UIDGID, 1, [Define if you want forcing of uid/gid per volume])
296 AC_MSG_RESULT([enabling forcing of uid/gid per volume])
298 netatalk_cv_force_uidgid=yes
307 dnl Check for CNID database backends
309 AC_NETATALK_CNID([bdb_required=yes],[bdb_required=no])
311 dnl Check for quota support
314 dnl Check for optional server location protocol support (used by MacOS X)
317 dnl Check for optional Zeroconf support
320 dnl Check for PAM libs
321 netatalk_cv_use_pam=no
325 netatalk_cv_use_pam=yes
326 AC_DEFINE(USE_PAM, 1, [Define to enable PAM support])
329 netatalk_cv_use_shadowpw=no
331 [ --with-shadow enable shadow password support [[auto]]],
332 [netatalk_cv_use_shadowpw="$withval"],
333 [netatalk_cv_use_shadowpw=auto]
336 if test "x$netatalk_cv_use_shadowpw" != "xno"; then
337 AC_CHECK_HEADER([shadow.h])
338 if test x"$ac_cv_header_shadow_h" = x"yes"; then
339 netatalk_cv_use_shadowpw=yes
340 AC_DEFINE(SHADOWPW, 1, [Define if shadow passwords should be used])
342 if test "x$shadowpw" = "xyes"; then
343 AC_MSG_ERROR([shadow support not available])
345 netatalk_cv_use_shadowpw=no
350 AC_MSG_CHECKING([whether shadow support should be enabled])
351 if test "x$netatalk_cv_use_shadowpw" = "xyes"; then
359 netatalk_cv_use_shellcheck=yes
360 AC_MSG_CHECKING([whether checking for a valid shell should be enabled])
361 AC_ARG_ENABLE(shell-check,
362 [ --disable-shell-check disable checking for a valid shell],[
363 if test "$enableval" = "no"; then
364 AC_DEFINE(DISABLE_SHELLCHECK, 1, [Define if shell check should be disabled])
366 netatalk_cv_use_shellcheck=no
375 NETATALK_TCP_WRAPPERS
377 AC_MSG_CHECKING([whether system (fcntl) locking should be disabled])
378 AC_ARG_ENABLE(locking,
379 [ --disable-locking disable system locking],[
380 if test "$enableval" = "no"; then
381 AC_DEFINE(DISABLE_LOCKING, 1, [Define if system (fcntl) locking should be disabled])
393 AC_ARG_ENABLE(redhat,
394 [ --enable-redhat obsoleted ],[
395 echo "ERROR: --enable-redhat is obsoleted. Use --enable-redhat-sysv or --enable-redhat-systemd."
401 AC_ARG_ENABLE(redhat-sysv,
402 [ --enable-redhat-sysv use redhat-style sysv (upstart) configuration ],[
403 if test "$enableval" = "yes"; then
404 sysv_style=redhat-sysv
406 AC_MSG_RESULT([enabling redhat-style sysv support])
410 AC_ARG_ENABLE(redhat-systemd,
411 [ --enable-redhat-systemd use redhat-style systemd (>=Fedora15) configuration ],[
412 if test "$enableval" = "yes"; then
413 sysv_style=redhat-systemd
415 AC_MSG_RESULT([enabling redhat-style systemd support])
420 [ --enable-suse use suse-style sysv configuration ],[
421 if test "$enableval" = "yes"; then
424 AC_MSG_RESULT([enabling suse-style sysv support])
428 AC_ARG_ENABLE(gentoo,
429 [ --enable-gentoo use gentoo-style sysv configuration ],[
430 if test "$enableval" = "yes"; then
433 AC_MSG_RESULT([enabling gentoo-style sysv support])
437 AC_ARG_ENABLE(netbsd,
438 [ --enable-netbsd use NetBSD-style rc.d configuration ],
439 if test "x$enableval" = "xyes"; then
442 AC_MSG_RESULT([enabling NetBSD-style rc.d support])
445 AC_ARG_ENABLE(debian,
446 [ --enable-debian use debian-style sysv configuration ],[
447 if test "$enableval" = "yes"; then
450 AC_MSG_RESULT([enabling debian-style sysv support])
454 dnl ----- timelord compilation (disabled by default)
455 AC_MSG_CHECKING([whether timelord should be compiled])
457 AC_ARG_ENABLE(timelord,
458 [ --enable-timelord enable compilation of timelord server],
459 [compile_timelord="$enableval"],
460 [compile_timelord="no"]
462 AC_MSG_RESULT([$compile_timelord])
464 dnl ----- a2boot compilation (disabled by default)
465 AC_MSG_CHECKING([whether a2boot should be compiled])
467 AC_ARG_ENABLE(a2boot,
468 [ --enable-a2boot enable compilation of Apple2 boot server],
469 [compile_a2boot="$enableval"],
470 [compile_a2boot="no"]
472 AC_MSG_RESULT([$compile_a2boot])
474 AC_ARG_WITH(uams-path,
475 [ --with-uams-path=PATH path to UAMs [[PKGCONF/uams]]],[
478 uams_path="${PKGCONFDIR}/uams"
484 dnl check if we can use attribute unused (gcc only) from ethereal
485 AC_MSG_CHECKING(to see if we can add '__attribute__((unused))' to CFLAGS)
486 if test x$GCC != x ; then
487 CFLAGS="-D_U_=\"__attribute__((unused))\" $CFLAGS"
490 CFLAGS="-D_U_=\"\" $CFLAGS"
494 dnl --------------------------------------------------------------------------
495 dnl FHS stuff has to be done last because it overrides other defaults
496 dnl --------------------------------------------------------------------------
498 AC_MSG_CHECKING([whether to use Filesystem Hierarchy Standard (FHS) compatibility])
500 [ --enable-fhs use Filesystem Hierarchy Standard (FHS) compatibility],[
501 if test "$enableval" = "yes"; then
502 uams_path="${libdir}/netatalk"
504 PKGCONFDIR=${sysconfdir}/netatalk
505 SERVERTEXT="${PKGCONFDIR}/msg"
507 mandir="/usr/share/man"
508 AC_DEFINE(FHS_COMPATIBILITY, 1, [Define if you want compatibily with the FHS])
518 dnl --------------------------------------------------------------------------
519 dnl post-FHS substitutions, etc
520 dnl --------------------------------------------------------------------------
523 dnl AC_DEFINE_UNQUOTED(UAMS_PATH, "${uams_path}",
524 dnl [path to UAMs [default=PKGCONF/uams]])
525 UAMS_PATH="${uams_path}"
528 dnl --------------------------------------------------------------------------
529 dnl drop in includes for top level directory structures here...
530 dnl --------------------------------------------------------------------------
532 dnl Note: $(top_srcdir)/include should be added before all other includes
533 dnl so that includes from that directory a preferred to includes from
534 dnl /usr/include or similar places.
535 LIBS="$LIBS -L\$(top_srcdir)/libatalk"
536 CFLAGS="-I\$(top_srcdir)/include $CFLAGS -I\$(top_srcdir)/sys"
538 AC_DEFINE(OPEN_NOFOLLOW_ERRNO, ELOOP, errno returned by open with O_NOFOLLOW)
540 dnl --------------------------------------------------------------------------
541 dnl specific configuration comes in here:
542 dnl --------------------------------------------------------------------------
544 dnl ac_cv_target_os is now host_os, ac_cv_target_cpu is now host_cpu
546 dnl --------------------- determine operating system from "target"
548 *aix*) this_os=aix ;;
549 *kfreebsd*-gnu) this_os=kfreebsd-gnu ;;
550 *freebsd*) this_os=freebsd ;;
551 *hpux11*) this_os=hpux11 ;;
552 *irix*) this_os=irix ;;
553 *linux*) this_os=linux ;;
554 *osx*) this_os=macosx ;;
555 *darwin*) this_os=macosx ;;
556 *netbsd*) this_os=netbsd ;;
557 *openbsd*) this_os=openbsd ;;
558 *osf*) this_os=tru64 ;;
559 *solaris*) this_os=solaris ;;
563 i386|i486|i586|i686|k7) this_cpu=x86 ;;
564 alpha) this_cpu=alpha ;;
565 mips) this_cpu=mips ;;
566 powerpc|ppc) this_cpu=ppc ;;
569 dnl --------------------- GNU source
571 linux) AC_DEFINE(_GNU_SOURCE, 1, [Whether to use GNU libc extensions])
573 kfreebsd-gnu) AC_DEFINE(_GNU_SOURCE, 1, [Whether to use GNU libc extensions])
577 dnl --------------------- operating system specific flags (port from sys/*)
579 dnl ----- AIX specific -----
580 if test x"$this_os" = "xaix"; then
581 AC_MSG_RESULT([ * AIX specific configuration])
582 AC_DEFINE(NO_STRUCT_TM_GMTOFF, 1, [Define if the gmtoff member of struct tm is not available])
584 dnl This is probably a lie; AIX 4.3 supports a 64-bit long
585 dnl compilation environment. It's enough to get things defined
586 dnl right in endian.h provided that long long is supported, though.
587 AC_DEFINE(HAVE_32BIT_LONGS, 1, [Define if the data type long has 32 bit])
590 dnl ----- FreeBSD specific -----
591 if test x"$this_os" = "xfreebsd"; then
592 AC_MSG_RESULT([ * FreeBSD specific configuration])
593 AC_DEFINE(BSD4_4, 1, [BSD compatiblity macro])
594 AC_DEFINE(FREEBSD, 1, [Define if OS is FreeBSD])
595 AC_DEFINE(SENDFILE_FLAVOR_BSD, 1, [Define if the sendfile() function uses BSD semantics])
596 AC_DEFINE(OPEN_NOFOLLOW_ERRNO, EMLINK, errno returned by open with O_NOFOLLOW)
599 dnl ----- GNU/kFreeBSD specific -----
600 if test x"$this_os" = "xkfreebsd-gnu"; then
601 AC_MSG_RESULT([ * GNU/kFreeBSD specific configuration])
602 AC_DEFINE(BSD4_4, 1, [BSD compatiblity macro])
603 AC_DEFINE(FREEBSD, 1, [Define if OS is FreeBSD])
604 AC_DEFINE(SENDFILE_FLAVOR_BSD, 1, [Define if the sendfile() function uses BSD semantics])
605 AC_DEFINE(OPEN_NOFOLLOW_ERRNO, EMLINK, errno returned by open with O_NOFOLLOW)
608 dnl ----- HP-UX 11 specific -----
609 if test x"$this_os" = "xhpux11"; then
610 AC_MSG_RESULT([ * HP-UX 11 specific configuration])
612 AC_DEFINE(_ISOC9X_SOURCE, 1, [Compatibility macro])
613 AC_DEFINE(NO_STRUCT_TM_GMTOFF, 1, [Define if the gmtoff member of struct tm is not available])
616 dnl ----- IRIX specific -----
617 if test x"$this_os" = "xirix"; then
618 AC_MSG_RESULT([ * IRIX specific configuration])
620 AC_DEFINE(NO_STRUCT_TM_GMTOFF, 1, [Define if the gmtoff member of struct tm is not available])
623 dnl ----- Linux specific -----
624 if test x"$this_os" = "xlinux"; then
625 AC_MSG_RESULT([ * Linux specific configuration])
627 dnl ----- kernel 2.6 changed struct at_addr to atalk_addr
628 AC_MSG_CHECKING([for struct atalk_addr])
629 dnl AC_COMPILE_IFELSE([
631 #include <sys/socket.h>
632 #include <asm/types.h>
633 #include <linux/atalk.h>
635 struct atalk_addr foo;
638 ac_have_atalk_addr=yes
644 if test "x$ac_have_atalk_addr" = "xyes"; then
645 AC_DEFINE(HAVE_ATALK_ADDR, 1, [set if struct at_addr is called atalk_addr])
648 dnl ----- check if we need the quotactl wrapper
649 # AC_CHECK_HEADERS(sys/quota.h linux/quota.h)
650 # AC_CHECK_FUNC(quotactl,,
651 # AC_DEFINE(NEED_QUOTACTL_WRAPPER, 1, [Define if the quotactl wrapper is needed])
652 # AC_MSG_RESULT([enabling quotactl wrapper])
655 # For quotas on Linux XFS filesystems
658 AC_CHECK_HEADERS(linux/dqblk_xfs.h,,
659 [AC_CHECK_HEADERS(linux/xqm.h linux/xfs_fs.h)
660 AC_CHECK_HEADERS(xfs/libxfs.h xfs/xqm.h xfs/xfs_fs.h)]
664 dnl ----- as far as I can tell, dbtob always does the wrong thing
665 dnl ----- on every single version of linux I've ever played with.
666 dnl ----- see etc/afpd/quota.c
667 AC_DEFINE(HAVE_BROKEN_DBTOB, 1, [Define if dbtob is broken])
669 netatalk_cv_linux_sendfile=yes
670 AC_MSG_CHECKING([use sendfile syscall])
671 AC_ARG_ENABLE(sendfile,
672 [ --disable-sendfile disable linux sendfile syscall],[
673 if test x"$enableval" = x"no"; then
674 netatalk_cv_linux_sendfile=no
686 if test x"$netatalk_cv_linux_sendfile" = "xyes"; then
687 AC_CACHE_CHECK([for linux sendfile support],netatalk_cv_HAVE_SENDFILE,[
688 AC_TRY_LINK([#include <sys/sendfile.h>],
693 ssize_t nwritten = sendfile(tofd, fromfd, &offset, total);
695 netatalk_cv_HAVE_SENDFILE=yes,netatalk_cv_HAVE_SENDFILE=no)])
697 # Try and cope with broken Linux sendfile....
698 AC_CACHE_CHECK([for broken linux sendfile support],netatalk_cv_HAVE_BROKEN_LINUX_SENDFILE,[
700 #if defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)
701 #undef _FILE_OFFSET_BITS
703 #include <sys/sendfile.h>],
708 ssize_t nwritten = sendfile(tofd, fromfd, &offset, total);
710 netatalk_cv_HAVE_BROKEN_LINUX_SENDFILE=yes,netatalk_cv_HAVE_BROKEN_LINUX_SENDFILE=no,netatalk_cv_HAVE_BROKEN_SENDFILE=cross)])
712 if test x"$netatalk_cv_HAVE_SENDFILE" = x"yes"; then
713 AC_DEFINE(HAVE_SENDFILE,1,[Whether sendfile() is available])
714 AC_DEFINE(SENDFILE_FLAVOR_LINUX,1,[Whether linux sendfile() API is available])
715 AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile() should be used])
716 elif test x"$netatalk_cv_HAVE_BROKEN_LINUX_SENDFILE" = x"yes"; then
717 AC_DEFINE(SENDFILE_FLAVOR_LINUX,1,[Whether linux sendfile() API is available])
718 AC_DEFINE(LINUX_BROKEN_SENDFILE_API,1,[Whether (linux) sendfile() is broken])
719 AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile should be used])
721 netatalk_cv_linux_sendfile=no
726 dnl ----- Linux/alpha specific -----
727 if test x"$this_cpu" = "xalpha"; then
728 AC_MSG_RESULT([enabling gcc memcpy bug workaround])
729 AC_DEFINE(HAVE_GCC_MEMCPY_BUG, 1, [Define if memcpy is buggy])
736 dnl ----- Mac OSX specific -----
737 if test x"$this_os" = "xmacosx"; then
738 AC_MSG_RESULT([ * Mac OSX specific configuration])
739 AC_DEFINE(BSD4_4, 1, [BSD compatiblity macro])
740 AC_DEFINE(HAVE_2ARG_DBTOB, 1, [Define if dbtob takes two arguments])
741 dnl AC_DEFINE(NO_DLFCN_H)
742 AC_DEFINE(NO_DDP, 1, [Define if DDP should be disabled])
743 AC_DEFINE(NO_QUOTA_SUPPORT, 1, [Define if Quota support should be disabled])
744 AC_DEFINE(MACOSX_SERVER, 1, [Define if compiling for MacOS X Server])
747 dnl ----- NetBSD specific -----
748 if test x"$this_os" = "xnetbsd"; then
749 AC_MSG_RESULT([ * NetBSD specific configuration])
750 AC_DEFINE(BSD4_4, 1, [BSD compatiblity macro])
751 AC_DEFINE(NETBSD, 1, [Define if OS is NetBSD])
752 AC_DEFINE(OPEN_NOFOLLOW_ERRNO, EFTYPE, errno returned by open with O_NOFOLLOW)
754 CFLAGS="-I\$(top_srcdir)/sys/netbsd $CFLAGS"
757 dnl ----- NetBSD does not have crypt.h, uses unistd.h -----
758 AC_DEFINE(UAM_DHX, 1, [Define if the DHX UAM modules should be compiled])
761 dnl ----- OpenBSD specific -----
762 if test x"$this_os" = "xopenbsd"; then
763 AC_MSG_RESULT([ * OpenBSD specific configuration])
764 AC_DEFINE(BSD4_4, 1, [BSD compatiblity macro])
765 dnl ----- OpenBSD does not have crypt.h, uses unistd.h -----
766 AC_DEFINE(UAM_DHX, 1, [Define if the DHX UAM modules should be compiled])
767 AC_DEFINE(NO_DDP, 1, [Define if DDP should be disabled])
770 dnl ----- Solaris specific -----
771 if test x"$this_os" = "xsolaris"; then
772 AC_MSG_RESULT([ * Solaris specific configuration])
773 AC_DEFINE(__svr4__, 1, [Solaris compatibility macro])
774 AC_DEFINE(_ISOC9X_SOURCE, 1, [Compatibility macro])
775 AC_DEFINE(NO_STRUCT_TM_GMTOFF, 1, [Define if the gmtoff member of struct tm is not available])
776 AC_DEFINE(SOLARIS, 1, [Solaris compatibility macro])
777 CFLAGS="-I\$(top_srcdir)/sys/generic $CFLAGS"
782 AC_MSG_CHECKING([if we can build Solaris kernel module])
783 if test -x /usr/ccs/bin/ld && test x"$netatalk_cv_ddp_enabled" = x"yes" ; then
786 AC_MSG_RESULT([$solaris_module])
788 COMPILE_64BIT_KMODULE=no
791 COMPILE_KERNEL_GCC=no
793 if test "$solaris_module" = "yes"; then
794 dnl Solaris kernel module stuff
795 AC_MSG_CHECKING([if we have to build a 64bit kernel module])
797 # check for isainfo, if not found it has to be a 32 bit kernel (<=2.6)
798 if test -x /usr/bin/isainfo; then
799 # check for 64 bit platform
800 if isainfo -kv | grep '^64-bit'; then
801 COMPILE_64BIT_KMODULE=yes
805 AC_MSG_RESULT([$COMPILE_64BIT_KMODULE])
807 if test "${GCC}" = yes; then
808 COMPILE_KERNEL_GCC=yes
809 if test "$COMPILE_64BIT_KMODULE" = yes; then
811 AC_MSG_CHECKING([if we can build a 64bit kernel module])
813 case `$CC --version 2>/dev/null` in
815 COMPILE_64BIT_KMODULE=no
816 COMPILE_KERNEL_GCC=no
821 #KLDFLAGS="-melf64_sparc"
825 AC_MSG_RESULT([$COMPILE_64BIT_KMODULE])
831 KCFLAGS="$KCFLAGS -D_KERNEL -Wall -Wstrict-prototypes"
833 if test "$COMPILE_64BIT_KMODULE" = yes; then
834 # use Sun CC (for a 64-bit kernel, uncomment " -xarch=v9 -xregs=no%appl ")
835 KCFLAGS="-xarch=v9 -xregs=no%appl"
841 KCFLAGS="-D_KERNEL $KCFLAGS -mno-app-regs -munaligned-doubles -fpcc-struct-return"
844 AC_CACHE_CHECK([for timeout_id_t],netatalk_cv_HAVE_TIMEOUT_ID_T,[
846 #include <sys/stream.h>
847 #include <sys/ddi.h>],
851 netatalk_cv_HAVE_TIMEOUT_ID_T=yes,netatalk_cv_HAVE_TIMEOUT_ID_T=no,netatalk_cv_HAVE_TIMEOUT_ID_T=cross)])
853 AC_DEFINE(HAVE_TIMEOUT_ID_T, test x"$netatalk_cv_HAVE_TIMEOUT_ID" = x"yes", [define for timeout_id_t])
856 AC_SUBST(COMPILE_KERNEL_GCC)
857 AC_SUBST(COMPILE_64BIT_KMODULE)
862 dnl ----- Tru64 specific -----
863 if test x"$this_os" = "xtru64"; then
864 AC_MSG_RESULT([ * Tru64 specific configuration])
865 AC_DEFINE(NO_DDP, 1, [Define if DDP should be disabled])
866 AC_DEFINE(HAVE_64BIT_LONGS, 1, [Define if the data type long has 64 bit])
867 dnl AC_DEFINE(USE_MOUNT_H)
868 AC_DEFINE(USE_OLD_RQUOTA, 1, [Define to use old rquota])
869 dnl AC_DEFINE(USE_UFS_QUOTA_H)
870 AC_DEFINE(TRU64, 1, [Define on Tru64 platforms])
871 AC_DEFINE(_OSF_SOURCE, 1, [Define if the *passwd UAMs should be used])
872 AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, [Define for Berkeley DB 4])
873 AC_CHECK_LIB(security,set_auth_parameters)
874 CFLAGS="-I\$(top_srcdir)/sys/tru64 $CFLAGS"
879 dnl -- check for libgcrypt, if found enables DHX UAM
880 AM_PATH_LIBGCRYPT([1:1.2.3],[neta_cv_compile_dhx2=yes
881 neta_cv_have_libgcrypt=yes
882 AC_MSG_NOTICE([Enabling DHX2 UAM])
883 AC_DEFINE(HAVE_LIBGCRYPT, 1, [Define if the DHX2 modules should be built with libgcrypt])
884 AC_DEFINE(UAM_DHX2, 1, [Define if the DHX2 UAM modules should be compiled])
887 dnl -- look for openssl, if found enables DHX UAM and Randnum UAM
890 dnl Check for Berkeley DB library
891 if test "x$bdb_required" = "xyes"; then
894 AC_MSG_RESULT([Make sure you have the required Berkeley DB libraries AND headers installed.])
895 AC_MSG_RESULT([You can download the latest version from http://www.sleepycat.com.])
896 AC_MSG_RESULT([If you have installed BDB in a non standard location use the])
897 AC_MSG_RESULT([--with-bdb=/path/to/bdb configure option and make sure])
898 AC_MSG_RESULT([your linker is configured to check for libraries there.])
899 AC_MSG_ERROR([Berkeley DB library required but not found!])
903 dnl -- check for crypt
906 dnl --------------------- check for building PGP UAM module
908 AC_MSG_CHECKING([whether the PGP UAM should be build])
909 AC_ARG_ENABLE(pgp-uam,
910 [ --enable-pgp-uam enable build of PGP UAM module],[
911 if test "$enableval" = "yes"; then
912 if test "x$neta_cv_have_openssl" = "xyes"; then
913 AC_DEFINE(UAM_PGP, 1, [Define if the PGP UAM module should be compiled])
925 dnl --------------------- check for building Kerberos v4 UAM module
927 AC_MSG_CHECKING([whether the Kerberos IV UAM should be build])
928 AC_ARG_ENABLE(krb4-uam,
929 [ --enable-krb4-uam enable build of Kerberos v4 UAM module],[
930 if test "$enableval" = "yes"; then
931 AC_DEFINE(UAM_KRB4, 1, [Define if the Kerberos 4 UAM module should be compiled])
942 dnl --------------------- check for building Kerberos V UAM module
944 netatalk_cv_build_krb5_uam=no
945 AC_ARG_ENABLE(krbV-uam,
946 [ --enable-krbV-uam enable build of Kerberos V UAM module],
948 if test x"$enableval" = x"yes"; then
949 NETATALK_GSSAPI_CHECK([
950 netatalk_cv_build_krb5_uam=yes
952 AC_MSG_ERROR([need GSSAPI to build Kerberos V UAM])
959 AC_MSG_CHECKING([whether Kerberos V UAM should be build])
960 if test x"$netatalk_cv_build_krb5_uam" = x"yes"; then
965 AM_CONDITIONAL(USE_GSSAPI, test x"$netatalk_cv_build_krb5_uam" = x"yes")
967 dnl --------------------- overwrite the config files . . . or not.
969 AC_MSG_CHECKING([whether configuration files should be overwritten])
970 AC_ARG_ENABLE(overwrite,
971 [ --enable-overwrite overwrite configuration files during installation],
972 [OVERWRITE_CONFIG="${enable_overwrite}"],
973 [OVERWRITE_CONFIG="no"]
975 AC_MSG_RESULT([$OVERWRITE_CONFIG])
977 dnl --------------------- check for LDAP support, for client-side ACL visibility
978 AC_MSG_CHECKING(for LDAP (necessary for client-side ACL visibility))
980 [AS_HELP_STRING([--with-ldap],
981 [LDAP support (default=auto)])],
990 AC_MSG_RESULT($with_ldap)
992 if test x"$with_ldap" != x"no" ; then
993 AC_CHECK_HEADER([ldap.h], with_ldap=yes,
994 [ if test x"$with_ldap" = x"yes" ; then
995 AC_MSG_ERROR([Missing LDAP headers])
999 AC_CHECK_LIB(ldap, ldap_init, with_ldap=yes,
1000 [ if test x"$with_ldap" = x"yes" ; then
1001 AC_MSG_ERROR([Missing LDAP library])
1007 if test x"$with_ldap" = x"yes"; then
1008 AC_DEFINE(HAVE_LDAP,1,[Whether LDAP is available])
1011 dnl --------------------- check for ACL support
1012 AC_MSG_CHECKING(whether to support ACLs)
1014 [AS_HELP_STRING([--with-acls],
1015 [Include ACL support (default=auto)])],
1016 [ case "$withval" in
1018 with_acl_support="$withval"
1021 with_acl_support=auto
1024 [with_acl_support=auto])
1025 AC_MSG_RESULT($with_acl_support)
1027 if test x"$with_acl_support" = x"no"; then
1028 AC_MSG_RESULT(Disabling ACL support)
1029 AC_DEFINE(HAVE_NO_ACLS,1,[Whether no ACLs support should be built in])
1031 with_acl_support=yes
1034 if test x"$with_acl_support" = x"yes" ; then
1035 AC_MSG_NOTICE(checking whether ACL support is available:)
1038 AC_MSG_NOTICE(Using UnixWare ACLs)
1039 AC_DEFINE(HAVE_UNIXWARE_ACLS,1,[Whether UnixWare ACLs are available])
1042 AC_MSG_NOTICE(Using solaris ACLs)
1043 AC_DEFINE(HAVE_SOLARIS_ACLS,1,[Whether solaris ACLs are available])
1044 ACL_LIBS="$ACL_LIBS -lsec"
1047 AC_MSG_NOTICE(Using HPUX ACLs)
1048 AC_DEFINE(HAVE_HPUX_ACLS,1,[Whether HPUX ACLs are available])
1051 AC_MSG_NOTICE(Using IRIX ACLs)
1052 AC_DEFINE(HAVE_IRIX_ACLS,1,[Whether IRIX ACLs are available])
1055 AC_MSG_NOTICE(Using AIX ACLs)
1056 AC_DEFINE(HAVE_AIX_ACLS,1,[Whether AIX ACLs are available])
1059 AC_MSG_NOTICE(Using Tru64 ACLs)
1060 AC_DEFINE(HAVE_TRU64_ACLS,1,[Whether Tru64 ACLs are available])
1061 ACL_LIBS="$ACL_LIBS -lpacl"
1064 AC_MSG_NOTICE(ACLs on Darwin currently not supported)
1065 AC_DEFINE(HAVE_NO_ACLS,1,[Whether no ACLs support is available])
1068 AC_CHECK_LIB(acl,acl_get_file,[ACL_LIBS="$ACL_LIBS -lacl"])
1071 AC_CHECK_LIB(attr,getxattr,[ACL_LIBS="$ACL_LIBS -lattr"])
1074 AC_CACHE_CHECK([for POSIX ACL support],netatalk_cv_HAVE_POSIX_ACLS,[
1076 LIBS="$LIBS $ACL_LIBS"
1078 #include <sys/types.h>
1079 #include <sys/acl.h>
1083 acl_entry_t *entry_p;
1084 return acl_get_entry(acl, entry_id, entry_p);
1086 [netatalk_cv_HAVE_POSIX_ACLS=yes],
1087 [netatalk_cv_HAVE_POSIX_ACLS=no
1088 with_acl_support=no])
1091 if test x"$netatalk_cv_HAVE_POSIX_ACLS" = x"yes"; then
1092 AC_MSG_NOTICE(Using POSIX ACLs)
1093 AC_DEFINE(HAVE_POSIX_ACLS,1,[Whether POSIX ACLs are available])
1094 AC_CACHE_CHECK([for acl_get_perm_np],netatalk_cv_HAVE_ACL_GET_PERM_NP,[
1096 LIBS="$LIBS $ACL_LIBS"
1098 #include <sys/types.h>
1099 #include <sys/acl.h>
1101 acl_permset_t permset_d;
1103 return acl_get_perm_np(permset_d, perm);
1105 [netatalk_cv_HAVE_ACL_GET_PERM_NP=yes],
1106 [netatalk_cv_HAVE_ACL_GET_PERM_NP=no])
1109 if test x"$netatalk_cv_HAVE_ACL_GET_PERM_NP" = x"yes"; then
1110 AC_DEFINE(HAVE_ACL_GET_PERM_NP,1,[Whether acl_get_perm_np() is available])
1113 AC_CACHE_CHECK([for acl_from_mode], netatalk_cv_HAVE_ACL_FROM_MODE,[
1115 LIBS="$LIBS $ACL_LIBS"
1116 AC_CHECK_FUNCS(acl_from_mode,
1117 [netatalk_cv_HAVE_ACL_FROM_MODE=yes],
1118 [netatalk_cv_HAVE_ACL_FROM_MODE=no])
1121 if test x"netatalk_cv_HAVE_ACL_FROM_MODE" = x"yes"; then
1122 AC_DEFINE(HAVE_ACL_FROM_MODE,1,[Whether acl_from_mode() is available])
1127 AC_MSG_NOTICE(ACL support is not avaliable)
1128 AC_DEFINE(HAVE_NO_ACLS,1,[Whether no ACLs support is available])
1134 if test x"$with_acl_support" = x"yes" ; then
1135 AC_CHECK_HEADERS([acl/libacl.h])
1136 AC_DEFINE(HAVE_ACLS,1,[Whether ACLs support is available])
1140 dnl --------------------- check for Extended Attributes support
1142 neta_cv_eas_sys_found=no
1143 neta_cv_eas_sys_not_found=no
1145 AC_CHECK_HEADERS(sys/attributes.h attr/xattr.h sys/xattr.h sys/extattr.h sys/uio.h sys/ea.h)
1150 AC_SEARCH_LIBS(getproplist, [proplist])
1151 AC_CHECK_FUNCS([getproplist fgetproplist setproplist fsetproplist],
1152 [neta_cv_eas_sys_found=yes],
1153 [neta_cv_eas_sys_not_found=yes])
1154 AC_CHECK_FUNCS([delproplist fdelproplist add_proplist_entry get_proplist_entry],,
1155 [neta_cv_eas_sys_not_found=yes])
1156 AC_CHECK_FUNCS([sizeof_proplist_entry],,
1157 [neta_cv_eas_sys_not_found=yes])
1161 AC_CHECK_FUNCS([attropen],
1162 [neta_cv_eas_sys_found=yes],
1163 [neta_cv_eas_sys_not_found=yes])
1167 AC_CHECK_FUNCS([extattr_delete_fd extattr_delete_file extattr_delete_link],
1168 [neta_cv_eas_sys_found=yes],
1169 [neta_cv_eas_sys_not_found=yes])
1170 AC_CHECK_FUNCS([extattr_get_fd extattr_get_file extattr_get_link],,
1171 [neta_cv_eas_sys_not_found=yes])
1172 AC_CHECK_FUNCS([extattr_list_fd extattr_list_file extattr_list_link],,
1173 [neta_cv_eas_sys_not_found=yes])
1174 AC_CHECK_FUNCS([extattr_set_fd extattr_set_file extattr_set_link],,
1175 [neta_cv_eas_sys_not_found=yes])
1178 *freebsd4* | *dragonfly* )
1179 AC_DEFINE(BROKEN_EXTATTR, 1, [Does extattr API work])
1183 AC_SEARCH_LIBS(getxattr, [attr])
1185 if test "x$neta_cv_eas_sys_found" != "xyes" ; then
1186 AC_CHECK_FUNCS([getxattr lgetxattr fgetxattr listxattr llistxattr],
1187 [neta_cv_eas_sys_found=yes],
1188 [neta_cv_eas_sys_not_found=yes])
1189 AC_CHECK_FUNCS([flistxattr removexattr lremovexattr fremovexattr],,
1190 [neta_cv_eas_sys_not_found=yes])
1191 AC_CHECK_FUNCS([setxattr lsetxattr fsetxattr],,
1192 [neta_cv_eas_sys_not_found=yes])
1195 if test "x$neta_cv_eas_sys_found" != "xyes" ; then
1196 AC_CHECK_FUNCS([getea fgetea lgetea listea flistea llistea],
1197 [neta_cv_eas_sys_found=yes],
1198 [neta_cv_eas_sys_not_found=yes])
1199 AC_CHECK_FUNCS([removeea fremoveea lremoveea setea fsetea lsetea],,
1200 [neta_cv_eas_sys_not_found=yes])
1203 if test "x$neta_cv_eas_sys_found" != "xyes" ; then
1204 AC_CHECK_FUNCS([attr_get attr_list attr_set attr_remove],,
1205 [neta_cv_eas_sys_not_found=yes])
1206 AC_CHECK_FUNCS([attr_getf attr_listf attr_setf attr_removef],,
1207 [neta_cv_eas_sys_not_found=yes])
1212 # Do xattr functions take additional options like on Darwin?
1213 if test x"$ac_cv_func_getxattr" = x"yes" ; then
1214 AC_CACHE_CHECK([whether xattr interface takes additional options], smb_attr_cv_xattr_add_opt, [
1216 LIBS="$LIBS $ACL_LIBS"
1218 #include <sys/types.h>
1219 #if HAVE_ATTR_XATTR_H
1220 #include <attr/xattr.h>
1221 #elif HAVE_SYS_XATTR_H
1222 #include <sys/xattr.h>
1225 getxattr(0, 0, 0, 0, 0, 0);
1227 [smb_attr_cv_xattr_add_opt=yes],
1228 [smb_attr_cv_xattr_add_opt=no;LIBS=$old_LIBS])
1230 if test x"$smb_attr_cv_xattr_add_opt" = x"yes"; then
1231 AC_DEFINE(XATTR_ADD_OPT, 1, [xattr functions have additional options])
1235 if test "x$neta_cv_eas_sys_found" = "xyes" ; then
1236 if test "x$neta_cv_eas_sys_not_found" != "xyes" ; then
1237 neta_cv_eas="$neta_cv_eas | sys"
1240 AC_DEFINE_UNQUOTED(EA_MODULES,["$neta_cv_eas"],[Available Extended Attributes modules])
1242 dnl --------------------- Check if realpath() takes NULL
1243 AC_CACHE_CHECK([if the realpath function allows a NULL argument],
1244 neta_cv_REALPATH_TAKES_NULL, [
1250 void exit_on_core(int ignored) {
1256 signal(SIGSEGV, exit_on_core);
1257 newpath = realpath("/tmp", NULL);
1258 exit((newpath != NULL) ? 0 : 1);
1260 neta_cv_REALPATH_TAKES_NULL=yes,
1261 neta_cv_REALPATH_TAKES_NULL=no,
1262 neta_cv_REALPATH_TAKES_NULL=cross
1267 if test x"$neta_cv_REALPATH_TAKES_NULL" = x"yes"; then
1268 AC_DEFINE(REALPATH_TAKES_NULL,1,[Whether the realpath function allows NULL])
1271 dnl --------------------- Netatalk Webmin
1274 dnl --------------------- last minute substitutions
1278 AC_SUBST(OVERWRITE_CONFIG)
1280 AM_CONDITIONAL(SOLARIS_MODULE, test x$solaris_module = xyes)
1281 AM_CONDITIONAL(COMPILE_TIMELORD, test x$compile_timelord = xyes)
1282 AM_CONDITIONAL(COMPILE_A2BOOT, test x$compile_a2boot = xyes)
1283 AM_CONDITIONAL(HAVE_LIBGCRYPT, test x$neta_cv_have_libgcrypt = xyes)
1284 AM_CONDITIONAL(HAVE_OPENSSL, test x$neta_cv_have_openssl = xyes)
1285 AM_CONDITIONAL(HAVE_ACLS, test x"$with_acl_support" = x"yes")
1286 AM_CONDITIONAL(HAVE_LDAP, test x"$with_ldap" = x"yes")
1287 AM_CONDITIONAL(USE_DHX, test x$neta_cv_compile_dhx = xyes)
1288 AM_CONDITIONAL(USE_DHX2, test x$neta_cv_compile_dhx2 = xyes)
1289 AM_CONDITIONAL(USE_RANDNUM, test x$neta_cv_have_openssl = xyes)
1290 AM_CONDITIONAL(USE_KERBEROS, test x$compile_kerberos = xyes)
1291 AM_CONDITIONAL(USE_PAM_SO, test x$use_pam_so = xyes)
1292 AM_CONDITIONAL(USE_PAM, test x$netatalk_cv_install_pam = xyes)
1293 AM_CONDITIONAL(BUILD_PAM, test x$compile_pam = xyes)
1294 AM_CONDITIONAL(USE_PGP, test x$compile_pgp = xyes)
1295 AM_CONDITIONAL(DEFAULT_HOOK, test x$neta_cv_have_libgcrypt != xyes && test x$neta_cv_have_openssl != xyes)
1296 AM_CONDITIONAL(USE_NETBSD, test x$sysv_style = xnetbsd)
1297 AM_CONDITIONAL(USE_REDHAT_SYSV, test x$sysv_style = xredhat-sysv)
1298 AM_CONDITIONAL(USE_REDHAT_SYSTEMD, test x$sysv_style = xredhat-systemd)
1299 AM_CONDITIONAL(USE_SUSE, test x$sysv_style = xsuse)
1300 AM_CONDITIONAL(USE_SHADOWPW, test x$shadowpw = xyes)
1301 AM_CONDITIONAL(USE_TRU64, test x$sysv_style = xtru64)
1302 AM_CONDITIONAL(USE_SOLARIS, test x$sysv_style = xsolaris)
1303 AM_CONDITIONAL(USE_GENTOO, test x$sysv_style = xgentoo)
1304 AM_CONDITIONAL(USE_DEBIAN, test x$sysv_style = xdebian)
1305 AM_CONDITIONAL(USE_UNDEF, test x$sysv_style = x)
1306 AM_CONDITIONAL(USE_BDB, test x$bdb_required = xyes)
1307 AM_CONDITIONAL(USE_APPLETALK, test x$netatalk_cv_ddp_enabled = xyes)
1308 AM_CONDITIONAL(HAVE_ATFUNCS, test x"$ac_neta_haveatfuncs" = x"yes")
1310 dnl --------------------- generate files
1315 bin/adv1tov2/Makefile
1317 bin/afppasswd/Makefile
1319 bin/cnid/cnid2_create
1320 bin/getzones/Makefile
1321 bin/megatron/Makefile
1325 bin/psorder/Makefile
1326 bin/uniconv/Makefile
1330 contrib/macusers/Makefile
1331 contrib/macusers/macusers
1332 contrib/misc/Makefile
1333 contrib/printing/Makefile
1334 contrib/shell_utils/Makefile
1335 contrib/shell_utils/apple_dump
1336 contrib/shell_utils/asip-status.pl
1337 contrib/timelord/Makefile
1338 contrib/a2boot/Makefile
1340 distrib/config/Makefile
1341 distrib/config/netatalk-config
1342 distrib/initscripts/Makefile
1348 etc/cnid_dbd/Makefile
1350 etc/uams/uams_krb4/Makefile
1354 include/atalk/Makefile
1356 libatalk/acl/Makefile
1357 libatalk/adouble/Makefile
1358 libatalk/asp/Makefile
1359 libatalk/atp/Makefile
1360 libatalk/bstring/Makefile
1361 libatalk/cnid/Makefile
1362 libatalk/cnid/cdb/Makefile
1363 libatalk/cnid/last/Makefile
1364 libatalk/cnid/dbd/Makefile
1365 libatalk/cnid/tdb/Makefile
1366 libatalk/compat/Makefile
1367 libatalk/dsi/Makefile
1368 libatalk/nbp/Makefile
1369 libatalk/netddp/Makefile
1370 libatalk/util/Makefile
1371 libatalk/tdb/Makefile
1372 libatalk/unicode/Makefile
1373 libatalk/unicode/charsets/Makefile
1374 libatalk/vfs/Makefile
1383 sys/generic/Makefile
1384 sys/generic/sys/Makefile
1385 sys/netatalk/Makefile
1387 sys/netbsd/netatalk/Makefile
1388 sys/solaris/Makefile
1394 [chmod a+x distrib/config/netatalk-config contrib/shell_utils/apple_*]
1397 AC_NETATALK_LIBS_SUMMARY
1398 AC_NETATALK_CONFIG_SUMMARY