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"
125 atalk_libname="lib64"
135 dnl --------------------------------------------------------------------------
136 dnl specific configuration comes in here:
137 dnl --------------------------------------------------------------------------
140 netatalk_cv_admin_group=yes
141 AC_MSG_CHECKING([for administrative group support])
142 AC_ARG_ENABLE(admin-group,
143 [ --disable-admin-group disable admin group],[
144 if test x"$enableval" = x"no"; then
145 AC_DEFINE(ADMIN_GRP, 0, [Define if the admin group should be enabled])
146 netatalk_cv_admin_group=no
149 AC_DEFINE(ADMIN_GRP, 1, [Define if the admin group should be enabled])
152 AC_DEFINE(ADMIN_GRP, 1, [Define if the admin group should be enabled])
161 netatalk_cv_with_cracklib=no
162 AC_ARG_WITH(cracklib,
163 [ --with-cracklib=DICT enable/set location of cracklib dictionary],[
164 if test "x$withval" != "xno" ; then
166 AC_CHECK_LIB(crack, main, [
167 AC_DEFINE(USE_CRACKLIB, 1, [Define if cracklib should be used])
169 if test "$cracklib" = "yes"; then
170 cracklib="/usr/$atalk_libname/cracklib_dict"
172 AC_DEFINE_UNQUOTED(_PATH_CRACKLIB, "$cracklib",
173 [path to cracklib dictionary])
174 AC_MSG_RESULT([setting cracklib dictionary to $cracklib])
175 netatalk_cv_with_cracklib=yes
177 AC_MSG_ERROR([cracklib not found!])
183 AC_MSG_CHECKING([for cracklib support])
184 AC_MSG_RESULT([$netatalk_cv_with_cracklib])
186 netatalk_cv_ddp_enabled=no
187 AC_MSG_CHECKING([whether to enable DDP])
189 [ --enable-ddp enable DDP (AppleTalk)],[
190 if test "$enableval" = "yes"; then
192 netatalk_cv_ddp_enabled=yes
195 AC_DEFINE(NO_DDP, 1, [Define if DDP should be disabled])
199 AC_DEFINE(NO_DDP, 1, [Define if DDP should be disabled])
203 AC_MSG_CHECKING([whether to enable debug code])
204 AC_ARG_ENABLE(debug1,
205 [ --enable-debug1 enable debug code],[
206 if test "$enableval" != "no"; then
207 if test "$enableval" = "yes"; then
208 AC_DEFINE(DEBUG1, 1, [Define if debugging information should be included])
210 AC_DEFINE_UNQUOTED(DEBUG1, $enableval, [Define if debugging information should be included])
221 AC_MSG_CHECKING([whether to enable verbose debug code])
223 [ --enable-debug enable verbose debug code],[
224 if test "$enableval" != "no"; then
225 if test "$enableval" = "yes"; then
226 AC_DEFINE(DEBUG, 1, [Define if verbose debugging information should be included])
228 AC_DEFINE_UNQUOTED(DEBUG, $enableval, [Define if verbose debugging information should be included])
233 AC_DEFINE(NDEBUG, 1, [Disable assertions])
237 AC_DEFINE(NDEBUG, 1, [Disable assertions])
241 AC_MSG_CHECKING([whether to enable debugging with debuggers])
242 AC_ARG_ENABLE(debugging,
243 [ --enable-debugging disable SIGALRM timers and DSI tickles (eg for debugging with gdb/dbx/...)],[
244 if test "$enableval" != "no"; then
245 if test "$enableval" = "yes"; then
246 AC_DEFINE(DEBUGGING, 1, [Define if you want to disable SIGALRM timers and DSI tickles])
248 AC_DEFINE_UNQUOTED(DEBUGGING, $enableval, [Define if you want to disable SIGALRM timers and DSI tickles])
259 AC_SYS_LARGEFILE([], AC_MSG_ERROR([AFP 3.x support requires Large File Support.]))
262 dnl ----------- A NOTE ABOUT DROPKLUDGE
263 dnl The trouble with this fix is that if you know what the file is called, it
264 dnl can be read from the Unix side. That's okay for most academic institutions
265 dnl since the students don't have telnet access to the Mac servers. There is
266 dnl currently no one working on further development/fixes of DROPKLUDGE.
269 netatalk_cv_dropkludge=no
270 AC_MSG_CHECKING([whether to enable experimental dropbox support])
271 AC_ARG_ENABLE(dropkludge,
272 [ --enable-dropkludge enable the experimental dropbox fix (INSECURE!) ],[
273 if test "$enableval" = "yes"; then
274 AC_DEFINE(DROPKLUDGE, 1, [Define if you want to use the experimental dropkludge support])
276 netatalk_cv_dropkludge=yes
285 netatalk_cv_force_uidgid=no
286 AC_MSG_CHECKING([whether to enable forcing of uid/gid per volume])
287 AC_ARG_ENABLE(force-uidgid,
288 [ --enable-force-uidgid allow forcing of uid/gid per volume (BROKEN) ],[
289 if test "$enableval" = "yes"; then
290 AC_DEFINE(FORCE_UIDGID, 1, [Define if you want forcing of uid/gid per volume])
291 AC_MSG_RESULT([enabling forcing of uid/gid per volume])
293 netatalk_cv_force_uidgid=yes
302 dnl Check for CNID database backends
304 AC_NETATALK_CNID([bdb_required=yes],[bdb_required=no])
306 dnl Check for quota support
309 dnl Check for optional server location protocol support (used by MacOS X)
312 dnl Check for optional Zeroconf support
315 dnl Check for PAM libs
316 netatalk_cv_use_pam=no
320 netatalk_cv_use_pam=yes
321 AC_DEFINE(USE_PAM, 1, [Define to enable PAM support])
324 netatalk_cv_use_shadowpw=no
326 [ --with-shadow enable shadow password support [[auto]]],
327 [netatalk_cv_use_shadowpw="$withval"],
328 [netatalk_cv_use_shadowpw=auto]
331 if test "x$netatalk_cv_use_shadowpw" != "xno"; then
332 AC_CHECK_HEADER([shadow.h])
333 if test x"$ac_cv_header_shadow_h" = x"yes"; then
334 netatalk_cv_use_shadowpw=yes
335 AC_DEFINE(SHADOWPW, 1, [Define if shadow passwords should be used])
337 if test "x$shadowpw" = "xyes"; then
338 AC_MSG_ERROR([shadow support not available])
340 netatalk_cv_use_shadowpw=no
345 AC_MSG_CHECKING([whether shadow support should be enabled])
346 if test "x$netatalk_cv_use_shadowpw" = "xyes"; then
354 netatalk_cv_use_shellcheck=yes
355 AC_MSG_CHECKING([whether checking for a valid shell should be enabled])
356 AC_ARG_ENABLE(shell-check,
357 [ --disable-shell-check disable checking for a valid shell],[
358 if test "$enableval" = "no"; then
359 AC_DEFINE(DISABLE_SHELLCHECK, 1, [Define if shell check should be disabled])
361 netatalk_cv_use_shellcheck=no
370 NETATALK_TCP_WRAPPERS
372 AC_MSG_CHECKING([whether system (fcntl) locking should be disabled])
373 AC_ARG_ENABLE(locking,
374 [ --disable-locking disable system locking],[
375 if test "$enableval" = "no"; then
376 AC_DEFINE(DISABLE_LOCKING, 1, [Define if system (fcntl) locking should be disabled])
388 AC_ARG_ENABLE(redhat,
389 [ --enable-redhat obsoleted ],[
390 echo "ERROR: --enable-redhat is obsoleted. Use --enable-redhat-sysv or --enable-redhat-systemd."
396 AC_ARG_ENABLE(redhat-sysv,
397 [ --enable-redhat-sysv use redhat-style sysv (upstart) configuration ],[
398 if test "$enableval" = "yes"; then
399 sysv_style=redhat-sysv
401 AC_MSG_RESULT([enabling redhat-style sysv support])
405 AC_ARG_ENABLE(redhat-systemd,
406 [ --enable-redhat-systemd use redhat-style systemd (>=Fedora15) configuration ],[
407 if test "$enableval" = "yes"; then
408 sysv_style=redhat-systemd
410 AC_MSG_RESULT([enabling redhat-style systemd support])
415 [ --enable-suse use suse-style sysv configuration ],[
416 if test "$enableval" = "yes"; then
419 AC_MSG_RESULT([enabling suse-style sysv support])
423 AC_ARG_ENABLE(gentoo,
424 [ --enable-gentoo use gentoo-style sysv configuration ],[
425 if test "$enableval" = "yes"; then
428 AC_MSG_RESULT([enabling gentoo-style sysv support])
432 AC_ARG_ENABLE(netbsd,
433 [ --enable-netbsd use NetBSD-style rc.d configuration ],
434 if test "x$enableval" = "xyes"; then
437 AC_MSG_RESULT([enabling NetBSD-style rc.d support])
440 AC_ARG_ENABLE(debian,
441 [ --enable-debian use debian-style sysv configuration ],[
442 if test "$enableval" = "yes"; then
445 AC_MSG_RESULT([enabling debian-style sysv support])
449 dnl ----- timelord compilation (disabled by default)
450 AC_MSG_CHECKING([whether timelord should be compiled])
452 AC_ARG_ENABLE(timelord,
453 [ --enable-timelord enable compilation of timelord server],
454 [compile_timelord="$enableval"],
455 [compile_timelord="no"]
457 AC_MSG_RESULT([$compile_timelord])
459 dnl ----- a2boot compilation (disabled by default)
460 AC_MSG_CHECKING([whether a2boot should be compiled])
462 AC_ARG_ENABLE(a2boot,
463 [ --enable-a2boot enable compilation of Apple2 boot server],
464 [compile_a2boot="$enableval"],
465 [compile_a2boot="no"]
467 AC_MSG_RESULT([$compile_a2boot])
469 AC_ARG_WITH(uams-path,
470 [ --with-uams-path=PATH path to UAMs [[PKGCONF/uams]]],[
473 uams_path="${PKGCONFDIR}/uams"
479 dnl check if we can use attribute unused (gcc only) from ethereal
480 AC_MSG_CHECKING(to see if we can add '__attribute__((unused))' to CFLAGS)
481 if test x$GCC != x ; then
482 CFLAGS="-D_U_=\"__attribute__((unused))\" $CFLAGS"
485 CFLAGS="-D_U_=\"\" $CFLAGS"
489 dnl --------------------------------------------------------------------------
490 dnl FHS stuff has to be done last because it overrides other defaults
491 dnl --------------------------------------------------------------------------
493 AC_MSG_CHECKING([whether to use Filesystem Hierarchy Standard (FHS) compatibility])
495 [ --enable-fhs use Filesystem Hierarchy Standard (FHS) compatibility],[
496 if test "$enableval" = "yes"; then
497 uams_path="${libdir}/netatalk"
499 PKGCONFDIR=${sysconfdir}/netatalk
500 SERVERTEXT="${PKGCONFDIR}/msg"
502 mandir="/usr/share/man"
503 AC_DEFINE(FHS_COMPATIBILITY, 1, [Define if you want compatibily with the FHS])
513 dnl --------------------------------------------------------------------------
514 dnl post-FHS substitutions, etc
515 dnl --------------------------------------------------------------------------
518 dnl AC_DEFINE_UNQUOTED(UAMS_PATH, "${uams_path}",
519 dnl [path to UAMs [default=PKGCONF/uams]])
520 UAMS_PATH="${uams_path}"
523 dnl --------------------------------------------------------------------------
524 dnl drop in includes for top level directory structures here...
525 dnl --------------------------------------------------------------------------
527 dnl Note: $(top_srcdir)/include should be added before all other includes
528 dnl so that includes from that directory a preferred to includes from
529 dnl /usr/include or similar places.
530 LIBS="$LIBS -L\$(top_srcdir)/libatalk"
531 CFLAGS="-I\$(top_srcdir)/include $CFLAGS -I\$(top_srcdir)/sys"
533 AC_DEFINE(OPEN_NOFOLLOW_ERRNO, ELOOP, errno returned by open with O_NOFOLLOW)
535 dnl --------------------------------------------------------------------------
536 dnl specific configuration comes in here:
537 dnl --------------------------------------------------------------------------
539 dnl ac_cv_target_os is now host_os, ac_cv_target_cpu is now host_cpu
541 dnl --------------------- determine operating system from "target"
543 *aix*) this_os=aix ;;
544 *freebsd*) this_os=freebsd ;;
545 *hpux11*) this_os=hpux11 ;;
546 *irix*) this_os=irix ;;
547 *linux*) this_os=linux ;;
548 *osx*) this_os=macosx ;;
549 *darwin*) this_os=macosx ;;
550 *netbsd*) this_os=netbsd ;;
551 *openbsd*) this_os=openbsd ;;
552 *osf*) this_os=tru64 ;;
553 *solaris*) this_os=solaris ;;
557 i386|i486|i586|i686|k7) this_cpu=x86 ;;
558 alpha) this_cpu=alpha ;;
559 mips) this_cpu=mips ;;
560 powerpc|ppc) this_cpu=ppc ;;
563 dnl --------------------- GNU source
565 linux) AC_DEFINE(_GNU_SOURCE, 1, [Whether to use GNU libc extensions])
567 *kfreebsd-gnu*) AC_DEFINE(_GNU_SOURCE, 1, [Whether to use GNU libc extensions])
571 dnl --------------------- operating system specific flags (port from sys/*)
573 dnl ----- AIX specific -----
574 if test x"$this_os" = "xaix"; then
575 AC_MSG_RESULT([ * AIX specific configuration])
576 AC_DEFINE(NO_STRUCT_TM_GMTOFF, 1, [Define if the gmtoff member of struct tm is not available])
578 dnl This is probably a lie; AIX 4.3 supports a 64-bit long
579 dnl compilation environment. It's enough to get things defined
580 dnl right in endian.h provided that long long is supported, though.
581 AC_DEFINE(HAVE_32BIT_LONGS, 1, [Define if the data type long has 32 bit])
584 dnl ----- FreeBSD specific -----
585 if test x"$this_os" = "xfreebsd"; then
586 AC_MSG_RESULT([ * FreeBSD specific configuration])
587 AC_DEFINE(BSD4_4, 1, [BSD compatiblity macro])
588 AC_DEFINE(FREEBSD, 1, [Define if OS is FreeBSD])
589 AC_DEFINE(SENDFILE_FLAVOR_BSD, 1, [Define if the sendfile() function uses BSD semantics])
590 AC_DEFINE(OPEN_NOFOLLOW_ERRNO, EMLINK, errno returned by open with O_NOFOLLOW)
593 dnl ----- HP-UX 11 specific -----
594 if test x"$this_os" = "xhpux11"; then
595 AC_MSG_RESULT([ * HP-UX 11 specific configuration])
597 AC_DEFINE(_ISOC9X_SOURCE, 1, [Compatibility macro])
598 AC_DEFINE(NO_STRUCT_TM_GMTOFF, 1, [Define if the gmtoff member of struct tm is not available])
601 dnl ----- IRIX specific -----
602 if test x"$this_os" = "xirix"; then
603 AC_MSG_RESULT([ * IRIX specific configuration])
605 AC_DEFINE(NO_STRUCT_TM_GMTOFF, 1, [Define if the gmtoff member of struct tm is not available])
608 dnl ----- Linux specific -----
609 if test x"$this_os" = "xlinux"; then
610 AC_MSG_RESULT([ * Linux specific configuration])
612 dnl ----- kernel 2.6 changed struct at_addr to atalk_addr
613 AC_MSG_CHECKING([for struct atalk_addr])
614 dnl AC_COMPILE_IFELSE([
616 #include <sys/socket.h>
617 #include <asm/types.h>
618 #include <linux/atalk.h>
620 struct atalk_addr foo;
623 ac_have_atalk_addr=yes
629 if test "x$ac_have_atalk_addr" = "xyes"; then
630 AC_DEFINE(HAVE_ATALK_ADDR, 1, [set if struct at_addr is called atalk_addr])
633 dnl ----- check if we need the quotactl wrapper
634 # AC_CHECK_HEADERS(sys/quota.h linux/quota.h)
635 # AC_CHECK_FUNC(quotactl,,
636 # AC_DEFINE(NEED_QUOTACTL_WRAPPER, 1, [Define if the quotactl wrapper is needed])
637 # AC_MSG_RESULT([enabling quotactl wrapper])
640 # For quotas on Linux XFS filesystems
643 AC_CHECK_HEADERS(linux/dqblk_xfs.h,,
644 [AC_CHECK_HEADERS(linux/xqm.h linux/xfs_fs.h)
645 AC_CHECK_HEADERS(xfs/libxfs.h xfs/xqm.h xfs/xfs_fs.h)]
649 dnl ----- as far as I can tell, dbtob always does the wrong thing
650 dnl ----- on every single version of linux I've ever played with.
651 dnl ----- see etc/afpd/quota.c
652 AC_DEFINE(HAVE_BROKEN_DBTOB, 1, [Define if dbtob is broken])
654 netatalk_cv_linux_sendfile=yes
655 AC_MSG_CHECKING([use sendfile syscall])
656 AC_ARG_ENABLE(sendfile,
657 [ --disable-sendfile disable linux sendfile syscall],[
658 if test x"$enableval" = x"no"; then
659 netatalk_cv_linux_sendfile=no
671 if test x"$netatalk_cv_linux_sendfile" = "xyes"; then
672 AC_CACHE_CHECK([for linux sendfile support],netatalk_cv_HAVE_SENDFILE,[
673 AC_TRY_LINK([#include <sys/sendfile.h>],
678 ssize_t nwritten = sendfile(tofd, fromfd, &offset, total);
680 netatalk_cv_HAVE_SENDFILE=yes,netatalk_cv_HAVE_SENDFILE=no)])
682 # Try and cope with broken Linux sendfile....
683 AC_CACHE_CHECK([for broken linux sendfile support],netatalk_cv_HAVE_BROKEN_LINUX_SENDFILE,[
685 #if defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)
686 #undef _FILE_OFFSET_BITS
688 #include <sys/sendfile.h>],
693 ssize_t nwritten = sendfile(tofd, fromfd, &offset, total);
695 netatalk_cv_HAVE_BROKEN_LINUX_SENDFILE=yes,netatalk_cv_HAVE_BROKEN_LINUX_SENDFILE=no,netatalk_cv_HAVE_BROKEN_SENDFILE=cross)])
697 if test x"$netatalk_cv_HAVE_SENDFILE" = x"yes"; then
698 AC_DEFINE(HAVE_SENDFILE,1,[Whether sendfile() is available])
699 AC_DEFINE(SENDFILE_FLAVOR_LINUX,1,[Whether linux sendfile() API is available])
700 AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile() should be used])
701 elif test x"$netatalk_cv_HAVE_BROKEN_LINUX_SENDFILE" = x"yes"; then
702 AC_DEFINE(SENDFILE_FLAVOR_LINUX,1,[Whether linux sendfile() API is available])
703 AC_DEFINE(LINUX_BROKEN_SENDFILE_API,1,[Whether (linux) sendfile() is broken])
704 AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile should be used])
706 netatalk_cv_linux_sendfile=no
711 dnl ----- Linux/alpha specific -----
712 if test x"$this_cpu" = "xalpha"; then
713 AC_MSG_RESULT([enabling gcc memcpy bug workaround])
714 AC_DEFINE(HAVE_GCC_MEMCPY_BUG, 1, [Define if memcpy is buggy])
721 dnl ----- Mac OSX specific -----
722 if test x"$this_os" = "xmacosx"; then
723 AC_MSG_RESULT([ * Mac OSX specific configuration])
724 AC_DEFINE(BSD4_4, 1, [BSD compatiblity macro])
725 AC_DEFINE(HAVE_2ARG_DBTOB, 1, [Define if dbtob takes two arguments])
726 dnl AC_DEFINE(NO_DLFCN_H)
727 AC_DEFINE(NO_DDP, 1, [Define if DDP should be disabled])
728 AC_DEFINE(NO_QUOTA_SUPPORT, 1, [Define if Quota support should be disabled])
729 AC_DEFINE(MACOSX_SERVER, 1, [Define if compiling for MacOS X Server])
732 dnl ----- NetBSD specific -----
733 if test x"$this_os" = "xnetbsd"; then
734 AC_MSG_RESULT([ * NetBSD specific configuration])
735 AC_DEFINE(BSD4_4, 1, [BSD compatiblity macro])
736 AC_DEFINE(NETBSD, 1, [Define if OS is NetBSD])
737 AC_DEFINE(OPEN_NOFOLLOW_ERRNO, EFTYPE, errno returned by open with O_NOFOLLOW)
739 CFLAGS="-I\$(top_srcdir)/sys/netbsd $CFLAGS"
742 dnl ----- NetBSD does not have crypt.h, uses unistd.h -----
743 AC_DEFINE(UAM_DHX, 1, [Define if the DHX UAM modules should be compiled])
746 dnl ----- OpenBSD specific -----
747 if test x"$this_os" = "xopenbsd"; then
748 AC_MSG_RESULT([ * OpenBSD specific configuration])
749 dnl ----- OpenBSD does not have crypt.h, uses unistd.h -----
750 AC_DEFINE(UAM_DHX, 1, [Define if the DHX UAM modules should be compiled])
753 dnl ----- Solaris specific -----
754 if test x"$this_os" = "xsolaris"; then
755 AC_MSG_RESULT([ * Solaris specific configuration])
756 AC_DEFINE(__svr4__, 1, [Solaris compatibility macro])
757 AC_DEFINE(_ISOC9X_SOURCE, 1, [Compatibility macro])
758 AC_DEFINE(NO_STRUCT_TM_GMTOFF, 1, [Define if the gmtoff member of struct tm is not available])
759 AC_DEFINE(SOLARIS, 1, [Solaris compatibility macro])
760 CFLAGS="-I\$(top_srcdir)/sys/generic $CFLAGS"
765 AC_MSG_CHECKING([if we can build Solaris kernel module])
766 if test -x /usr/ccs/bin/ld && test x"$netatalk_cv_ddp_enabled" = x"yes" ; then
769 AC_MSG_RESULT([$solaris_module])
771 COMPILE_64BIT_KMODULE=no
774 COMPILE_KERNEL_GCC=no
776 if test "$solaris_module" = "yes"; then
777 dnl Solaris kernel module stuff
778 AC_MSG_CHECKING([if we have to build a 64bit kernel module])
780 # check for isainfo, if not found it has to be a 32 bit kernel (<=2.6)
781 if test -x /usr/bin/isainfo; then
782 # check for 64 bit platform
783 if isainfo -kv | grep '^64-bit'; then
784 COMPILE_64BIT_KMODULE=yes
788 AC_MSG_RESULT([$COMPILE_64BIT_KMODULE])
790 if test "${GCC}" = yes; then
791 COMPILE_KERNEL_GCC=yes
792 if test "$COMPILE_64BIT_KMODULE" = yes; then
794 AC_MSG_CHECKING([if we can build a 64bit kernel module])
796 case `$CC --version 2>/dev/null` in
798 COMPILE_64BIT_KMODULE=no
799 COMPILE_KERNEL_GCC=no
804 #KLDFLAGS="-melf64_sparc"
808 AC_MSG_RESULT([$COMPILE_64BIT_KMODULE])
814 KCFLAGS="$KCFLAGS -D_KERNEL -Wall -Wstrict-prototypes"
816 if test "$COMPILE_64BIT_KMODULE" = yes; then
817 # use Sun CC (for a 64-bit kernel, uncomment " -xarch=v9 -xregs=no%appl ")
818 KCFLAGS="-xarch=v9 -xregs=no%appl"
824 KCFLAGS="-D_KERNEL $KCFLAGS -mno-app-regs -munaligned-doubles -fpcc-struct-return"
827 AC_CACHE_CHECK([for timeout_id_t],netatalk_cv_HAVE_TIMEOUT_ID_T,[
829 #include <sys/stream.h>
830 #include <sys/ddi.h>],
834 netatalk_cv_HAVE_TIMEOUT_ID_T=yes,netatalk_cv_HAVE_TIMEOUT_ID_T=no,netatalk_cv_HAVE_TIMEOUT_ID_T=cross)])
836 AC_DEFINE(HAVE_TIMEOUT_ID_T, test x"$netatalk_cv_HAVE_TIMEOUT_ID" = x"yes", [define for timeout_id_t])
839 AC_SUBST(COMPILE_KERNEL_GCC)
840 AC_SUBST(COMPILE_64BIT_KMODULE)
845 dnl ----- Tru64 specific -----
846 if test x"$this_os" = "xtru64"; then
847 AC_MSG_RESULT([ * Tru64 specific configuration])
848 AC_DEFINE(NO_DDP, 1, [Define if DDP should be disabled])
849 AC_DEFINE(HAVE_64BIT_LONGS, 1, [Define if the data type long has 64 bit])
850 dnl AC_DEFINE(USE_MOUNT_H)
851 AC_DEFINE(USE_OLD_RQUOTA, 1, [Define to use old rquota])
852 dnl AC_DEFINE(USE_UFS_QUOTA_H)
853 AC_DEFINE(TRU64, 1, [Define on Tru64 platforms])
854 AC_DEFINE(_OSF_SOURCE, 1, [Define if the *passwd UAMs should be used])
855 AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, [Define for Berkeley DB 4])
856 AC_CHECK_LIB(security,set_auth_parameters)
857 CFLAGS="-I\$(top_srcdir)/sys/tru64 $CFLAGS"
862 dnl -- check for libgcrypt, if found enables DHX UAM
863 AM_PATH_LIBGCRYPT([1:1.2.3],[neta_cv_compile_dhx2=yes
864 neta_cv_have_libgcrypt=yes
865 AC_MSG_NOTICE([Enabling DHX2 UAM])
866 AC_DEFINE(HAVE_LIBGCRYPT, 1, [Define if the DHX2 modules should be built with libgcrypt])
867 AC_DEFINE(UAM_DHX2, 1, [Define if the DHX2 UAM modules should be compiled])
870 dnl -- look for openssl, if found enables DHX UAM and Randnum UAM
873 dnl Check for Berkeley DB library
874 if test "x$bdb_required" = "xyes"; then
877 AC_MSG_RESULT([Make sure you have the required Berkeley DB libraries AND headers installed.])
878 AC_MSG_RESULT([You can download the latest version from http://www.sleepycat.com.])
879 AC_MSG_RESULT([If you have installed BDB in a non standard location use the])
880 AC_MSG_RESULT([--with-bdb=/path/to/bdb configure option and make sure])
881 AC_MSG_RESULT([your linker is configured to check for libraries there.])
882 AC_MSG_ERROR([Berkeley DB library required but not found!])
886 dnl -- check for crypt
889 dnl --------------------- check for building PGP UAM module
891 AC_MSG_CHECKING([whether the PGP UAM should be build])
892 AC_ARG_ENABLE(pgp-uam,
893 [ --enable-pgp-uam enable build of PGP UAM module],[
894 if test "$enableval" = "yes"; then
895 if test "x$neta_cv_have_openssl" = "xyes"; then
896 AC_DEFINE(UAM_PGP, 1, [Define if the PGP UAM module should be compiled])
908 dnl --------------------- check for building Kerberos v4 UAM module
910 AC_MSG_CHECKING([whether the Kerberos IV UAM should be build])
911 AC_ARG_ENABLE(krb4-uam,
912 [ --enable-krb4-uam enable build of Kerberos v4 UAM module],[
913 if test "$enableval" = "yes"; then
914 AC_DEFINE(UAM_KRB4, 1, [Define if the Kerberos 4 UAM module should be compiled])
925 dnl --------------------- check for building Kerberos V UAM module
927 netatalk_cv_build_krb5_uam=no
928 AC_ARG_ENABLE(krbV-uam,
929 [ --enable-krbV-uam enable build of Kerberos V UAM module],
931 if test x"$enableval" = x"yes"; then
932 NETATALK_GSSAPI_CHECK([
933 netatalk_cv_build_krb5_uam=yes
935 AC_MSG_ERROR([need GSSAPI to build Kerberos V UAM])
942 AC_MSG_CHECKING([whether Kerberos V UAM should be build])
943 if test x"$netatalk_cv_build_krb5_uam" = x"yes"; then
948 AM_CONDITIONAL(USE_GSSAPI, test x"$netatalk_cv_build_krb5_uam" = x"yes")
950 dnl --------------------- overwrite the config files . . . or not.
952 AC_MSG_CHECKING([whether configuration files should be overwritten])
953 AC_ARG_ENABLE(overwrite,
954 [ --enable-overwrite overwrite configuration files during installation],
955 [OVERWRITE_CONFIG="${enable_overwrite}"],
956 [OVERWRITE_CONFIG="no"]
958 AC_MSG_RESULT([$OVERWRITE_CONFIG])
960 dnl --------------------- check for LDAP support, for client-side ACL visibility
961 AC_MSG_CHECKING(for LDAP (necessary for client-side ACL visibility))
963 [AS_HELP_STRING([--with-ldap],
964 [LDAP support (default=auto)])],
973 AC_MSG_RESULT($with_ldap)
975 if test x"$with_ldap" != x"no" ; then
976 AC_CHECK_HEADER([ldap.h], with_ldap=yes,
977 [ if test x"$with_ldap" = x"yes" ; then
978 AC_MSG_ERROR([Missing LDAP headers])
982 AC_CHECK_LIB(ldap, ldap_init, with_ldap=yes,
983 [ if test x"$with_ldap" = x"yes" ; then
984 AC_MSG_ERROR([Missing LDAP library])
990 if test x"$with_ldap" = x"yes"; then
991 AC_DEFINE(HAVE_LDAP,1,[Whether LDAP is available])
994 dnl --------------------- check for ACL support
995 AC_MSG_CHECKING(whether to support ACLs)
997 [AS_HELP_STRING([--with-acls],
998 [Include ACL support (default=auto)])],
1001 with_acl_support="$withval"
1004 with_acl_support=auto
1007 [with_acl_support=auto])
1008 AC_MSG_RESULT($with_acl_support)
1010 if test x"$with_acl_support" = x"no"; then
1011 AC_MSG_RESULT(Disabling ACL support)
1012 AC_DEFINE(HAVE_NO_ACLS,1,[Whether no ACLs support should be built in])
1014 with_acl_support=yes
1017 if test x"$with_acl_support" = x"yes" ; then
1018 AC_MSG_NOTICE(checking whether ACL support is available:)
1021 AC_MSG_NOTICE(Using UnixWare ACLs)
1022 AC_DEFINE(HAVE_UNIXWARE_ACLS,1,[Whether UnixWare ACLs are available])
1025 AC_MSG_NOTICE(Using solaris ACLs)
1026 AC_DEFINE(HAVE_SOLARIS_ACLS,1,[Whether solaris ACLs are available])
1027 ACL_LIBS="$ACL_LIBS -lsec"
1030 AC_MSG_NOTICE(Using HPUX ACLs)
1031 AC_DEFINE(HAVE_HPUX_ACLS,1,[Whether HPUX ACLs are available])
1034 AC_MSG_NOTICE(Using IRIX ACLs)
1035 AC_DEFINE(HAVE_IRIX_ACLS,1,[Whether IRIX ACLs are available])
1038 AC_MSG_NOTICE(Using AIX ACLs)
1039 AC_DEFINE(HAVE_AIX_ACLS,1,[Whether AIX ACLs are available])
1042 AC_MSG_NOTICE(Using Tru64 ACLs)
1043 AC_DEFINE(HAVE_TRU64_ACLS,1,[Whether Tru64 ACLs are available])
1044 ACL_LIBS="$ACL_LIBS -lpacl"
1047 AC_MSG_NOTICE(ACLs on Darwin currently not supported)
1048 AC_DEFINE(HAVE_NO_ACLS,1,[Whether no ACLs support is available])
1051 AC_CHECK_LIB(acl,acl_get_file,[ACL_LIBS="$ACL_LIBS -lacl"])
1054 AC_CHECK_LIB(attr,getxattr,[ACL_LIBS="$ACL_LIBS -lattr"])
1057 AC_CACHE_CHECK([for POSIX ACL support],netatalk_cv_HAVE_POSIX_ACLS,[
1059 LIBS="$LIBS $ACL_LIBS"
1061 #include <sys/types.h>
1062 #include <sys/acl.h>
1066 acl_entry_t *entry_p;
1067 return acl_get_entry(acl, entry_id, entry_p);
1069 [netatalk_cv_HAVE_POSIX_ACLS=yes],
1070 [netatalk_cv_HAVE_POSIX_ACLS=no
1071 with_acl_support=no])
1074 if test x"$netatalk_cv_HAVE_POSIX_ACLS" = x"yes"; then
1075 AC_MSG_NOTICE(Using POSIX ACLs)
1076 AC_DEFINE(HAVE_POSIX_ACLS,1,[Whether POSIX ACLs are available])
1077 AC_CACHE_CHECK([for acl_get_perm_np],netatalk_cv_HAVE_ACL_GET_PERM_NP,[
1079 LIBS="$LIBS $ACL_LIBS"
1081 #include <sys/types.h>
1082 #include <sys/acl.h>
1084 acl_permset_t permset_d;
1086 return acl_get_perm_np(permset_d, perm);
1088 [netatalk_cv_HAVE_ACL_GET_PERM_NP=yes],
1089 [netatalk_cv_HAVE_ACL_GET_PERM_NP=no])
1092 if test x"$netatalk_cv_HAVE_ACL_GET_PERM_NP" = x"yes"; then
1093 AC_DEFINE(HAVE_ACL_GET_PERM_NP,1,[Whether acl_get_perm_np() is available])
1096 AC_CACHE_CHECK([for acl_from_mode], netatalk_cv_HAVE_ACL_FROM_MODE,[
1098 LIBS="$LIBS $ACL_LIBS"
1099 AC_CHECK_FUNCS(acl_from_mode,
1100 [netatalk_cv_HAVE_ACL_FROM_MODE=yes],
1101 [netatalk_cv_HAVE_ACL_FROM_MODE=no])
1104 if test x"netatalk_cv_HAVE_ACL_FROM_MODE" = x"yes"; then
1105 AC_DEFINE(HAVE_ACL_FROM_MODE,1,[Whether acl_from_mode() is available])
1110 AC_MSG_NOTICE(ACL support is not avaliable)
1111 AC_DEFINE(HAVE_NO_ACLS,1,[Whether no ACLs support is available])
1117 if test x"$with_acl_support" = x"yes" ; then
1118 AC_CHECK_HEADERS([acl/libacl.h])
1119 AC_DEFINE(HAVE_ACLS,1,[Whether ACLs support is available])
1123 dnl --------------------- check for Extended Attributes support
1125 neta_cv_eas_sys_found=no
1126 neta_cv_eas_sys_not_found=no
1128 AC_CHECK_HEADERS(sys/attributes.h attr/xattr.h sys/xattr.h sys/extattr.h sys/uio.h sys/ea.h)
1133 AC_SEARCH_LIBS(getproplist, [proplist])
1134 AC_CHECK_FUNCS([getproplist fgetproplist setproplist fsetproplist],
1135 [neta_cv_eas_sys_found=yes],
1136 [neta_cv_eas_sys_not_found=yes])
1137 AC_CHECK_FUNCS([delproplist fdelproplist add_proplist_entry get_proplist_entry],,
1138 [neta_cv_eas_sys_not_found=yes])
1139 AC_CHECK_FUNCS([sizeof_proplist_entry],,
1140 [neta_cv_eas_sys_not_found=yes])
1144 AC_CHECK_FUNCS([attropen],
1145 [neta_cv_eas_sys_found=yes],
1146 [neta_cv_eas_sys_not_found=yes])
1150 AC_CHECK_FUNCS([extattr_delete_fd extattr_delete_file extattr_delete_link],
1151 [neta_cv_eas_sys_found=yes],
1152 [neta_cv_eas_sys_not_found=yes])
1153 AC_CHECK_FUNCS([extattr_get_fd extattr_get_file extattr_get_link],,
1154 [neta_cv_eas_sys_not_found=yes])
1155 AC_CHECK_FUNCS([extattr_list_fd extattr_list_file extattr_list_link],,
1156 [neta_cv_eas_sys_not_found=yes])
1157 AC_CHECK_FUNCS([extattr_set_fd extattr_set_file extattr_set_link],,
1158 [neta_cv_eas_sys_not_found=yes])
1161 *freebsd4* | *dragonfly* )
1162 AC_DEFINE(BROKEN_EXTATTR, 1, [Does extattr API work])
1166 AC_SEARCH_LIBS(getxattr, [attr])
1168 if test "x$neta_cv_eas_sys_found" != "xyes" ; then
1169 AC_CHECK_FUNCS([getxattr lgetxattr fgetxattr listxattr llistxattr],
1170 [neta_cv_eas_sys_found=yes],
1171 [neta_cv_eas_sys_not_found=yes])
1172 AC_CHECK_FUNCS([flistxattr removexattr lremovexattr fremovexattr],,
1173 [neta_cv_eas_sys_not_found=yes])
1174 AC_CHECK_FUNCS([setxattr lsetxattr fsetxattr],,
1175 [neta_cv_eas_sys_not_found=yes])
1178 if test "x$neta_cv_eas_sys_found" != "xyes" ; then
1179 AC_CHECK_FUNCS([getea fgetea lgetea listea flistea llistea],
1180 [neta_cv_eas_sys_found=yes],
1181 [neta_cv_eas_sys_not_found=yes])
1182 AC_CHECK_FUNCS([removeea fremoveea lremoveea setea fsetea lsetea],,
1183 [neta_cv_eas_sys_not_found=yes])
1186 if test "x$neta_cv_eas_sys_found" != "xyes" ; then
1187 AC_CHECK_FUNCS([attr_get attr_list attr_set attr_remove],,
1188 [neta_cv_eas_sys_not_found=yes])
1189 AC_CHECK_FUNCS([attr_getf attr_listf attr_setf attr_removef],,
1190 [neta_cv_eas_sys_not_found=yes])
1195 # Do xattr functions take additional options like on Darwin?
1196 if test x"$ac_cv_func_getxattr" = x"yes" ; then
1197 AC_CACHE_CHECK([whether xattr interface takes additional options], smb_attr_cv_xattr_add_opt, [
1199 LIBS="$LIBS $ACL_LIBS"
1201 #include <sys/types.h>
1202 #if HAVE_ATTR_XATTR_H
1203 #include <attr/xattr.h>
1204 #elif HAVE_SYS_XATTR_H
1205 #include <sys/xattr.h>
1208 getxattr(0, 0, 0, 0, 0, 0);
1210 [smb_attr_cv_xattr_add_opt=yes],
1211 [smb_attr_cv_xattr_add_opt=no;LIBS=$old_LIBS])
1213 if test x"$smb_attr_cv_xattr_add_opt" = x"yes"; then
1214 AC_DEFINE(XATTR_ADD_OPT, 1, [xattr functions have additional options])
1218 if test "x$neta_cv_eas_sys_found" = "xyes" ; then
1219 if test "x$neta_cv_eas_sys_not_found" != "xyes" ; then
1220 neta_cv_eas="$neta_cv_eas | sys"
1223 AC_DEFINE_UNQUOTED(EA_MODULES,["$neta_cv_eas"],[Available Extended Attributes modules])
1225 dnl --------------------- Check if realpath() takes NULL
1226 AC_CACHE_CHECK([if the realpath function allows a NULL argument],
1227 neta_cv_REALPATH_TAKES_NULL, [
1233 void exit_on_core(int ignored) {
1239 signal(SIGSEGV, exit_on_core);
1240 newpath = realpath("/tmp", NULL);
1241 exit((newpath != NULL) ? 0 : 1);
1243 neta_cv_REALPATH_TAKES_NULL=yes,
1244 neta_cv_REALPATH_TAKES_NULL=no,
1245 neta_cv_REALPATH_TAKES_NULL=cross
1250 if test x"$neta_cv_REALPATH_TAKES_NULL" = x"yes"; then
1251 AC_DEFINE(REALPATH_TAKES_NULL,1,[Whether the realpath function allows NULL])
1254 dnl --------------------- Netatalk Webmin
1257 dnl --------------------- last minute substitutions
1261 AC_SUBST(OVERWRITE_CONFIG)
1263 AM_CONDITIONAL(SOLARIS_MODULE, test x$solaris_module = xyes)
1264 AM_CONDITIONAL(COMPILE_TIMELORD, test x$compile_timelord = xyes)
1265 AM_CONDITIONAL(COMPILE_A2BOOT, test x$compile_a2boot = xyes)
1266 AM_CONDITIONAL(HAVE_LIBGCRYPT, test x$neta_cv_have_libgcrypt = xyes)
1267 AM_CONDITIONAL(HAVE_OPENSSL, test x$neta_cv_have_openssl = xyes)
1268 AM_CONDITIONAL(HAVE_ACLS, test x"$with_acl_support" = x"yes")
1269 AM_CONDITIONAL(HAVE_LDAP, test x"$with_ldap" = x"yes")
1270 AM_CONDITIONAL(USE_DHX, test x$neta_cv_compile_dhx = xyes)
1271 AM_CONDITIONAL(USE_DHX2, test x$neta_cv_compile_dhx2 = xyes)
1272 AM_CONDITIONAL(USE_RANDNUM, test x$neta_cv_have_openssl = xyes)
1273 AM_CONDITIONAL(USE_KERBEROS, test x$compile_kerberos = xyes)
1274 AM_CONDITIONAL(USE_PAM_SO, test x$use_pam_so = xyes)
1275 AM_CONDITIONAL(USE_PAM, test x$netatalk_cv_install_pam = xyes)
1276 AM_CONDITIONAL(BUILD_PAM, test x$compile_pam = xyes)
1277 AM_CONDITIONAL(USE_PGP, test x$compile_pgp = xyes)
1278 AM_CONDITIONAL(DEFAULT_HOOK, test x$neta_cv_have_libgcrypt != xyes && test x$neta_cv_have_openssl != xyes)
1279 AM_CONDITIONAL(USE_NETBSD, test x$sysv_style = xnetbsd)
1280 AM_CONDITIONAL(USE_REDHAT_SYSV, test x$sysv_style = xredhat-sysv)
1281 AM_CONDITIONAL(USE_REDHAT_SYSTEMD, test x$sysv_style = xredhat-systemd)
1282 AM_CONDITIONAL(USE_SUSE, test x$sysv_style = xsuse)
1283 AM_CONDITIONAL(USE_SHADOWPW, test x$shadowpw = xyes)
1284 AM_CONDITIONAL(USE_TRU64, test x$sysv_style = xtru64)
1285 AM_CONDITIONAL(USE_SOLARIS, test x$sysv_style = xsolaris)
1286 AM_CONDITIONAL(USE_GENTOO, test x$sysv_style = xgentoo)
1287 AM_CONDITIONAL(USE_DEBIAN, test x$sysv_style = xdebian)
1288 AM_CONDITIONAL(USE_UNDEF, test x$sysv_style = x)
1289 AM_CONDITIONAL(USE_BDB, test x$bdb_required = xyes)
1290 AM_CONDITIONAL(USE_APPLETALK, test x$netatalk_cv_ddp_enabled = xyes)
1291 AM_CONDITIONAL(HAVE_ATFUNCS, test x"$ac_neta_haveatfuncs" = x"yes")
1293 dnl --------------------- generate files
1298 bin/adv1tov2/Makefile
1300 bin/afppasswd/Makefile
1302 bin/cnid/cnid2_create
1303 bin/getzones/Makefile
1304 bin/megatron/Makefile
1308 bin/psorder/Makefile
1309 bin/uniconv/Makefile
1313 contrib/macusers/Makefile
1314 contrib/macusers/macusers
1315 contrib/printing/Makefile
1316 contrib/shell_utils/Makefile
1317 contrib/shell_utils/afpd-mtab.pl
1318 contrib/shell_utils/apple_dump
1319 contrib/shell_utils/asip-status.pl
1320 contrib/timelord/Makefile
1321 contrib/a2boot/Makefile
1323 distrib/config/Makefile
1324 distrib/config/netatalk-config
1325 distrib/initscripts/Makefile
1331 etc/cnid_dbd/Makefile
1333 etc/uams/uams_krb4/Makefile
1337 include/atalk/Makefile
1339 libatalk/acl/Makefile
1340 libatalk/adouble/Makefile
1341 libatalk/asp/Makefile
1342 libatalk/atp/Makefile
1343 libatalk/bstring/Makefile
1344 libatalk/cnid/Makefile
1345 libatalk/cnid/cdb/Makefile
1346 libatalk/cnid/last/Makefile
1347 libatalk/cnid/dbd/Makefile
1348 libatalk/cnid/tdb/Makefile
1349 libatalk/compat/Makefile
1350 libatalk/dsi/Makefile
1351 libatalk/nbp/Makefile
1352 libatalk/netddp/Makefile
1353 libatalk/util/Makefile
1354 libatalk/tdb/Makefile
1355 libatalk/unicode/Makefile
1356 libatalk/unicode/charsets/Makefile
1357 libatalk/vfs/Makefile
1366 sys/generic/Makefile
1367 sys/generic/sys/Makefile
1368 sys/netatalk/Makefile
1370 sys/netbsd/netatalk/Makefile
1371 sys/solaris/Makefile
1377 [chmod a+x distrib/config/netatalk-config contrib/shell_utils/apple_*]
1380 AC_NETATALK_LIBS_SUMMARY
1381 AC_NETATALK_CONFIG_SUMMARY