]> arthur.barton.de Git - netatalk.git/blobdiff - configure.in
implemented Sebastian Rittau's change to avoid overwriting AppleDouble headers
[netatalk.git] / configure.in
index eff37a5ce65e2bf432933c32477741ee32d570a1..8b73e9c1861ca930d3f749ea0283df292e082324 100644 (file)
@@ -1,3 +1,4 @@
+dnl $Id: configure.in,v 1.79 2001-05-31 18:42:58 srittau Exp $
 dnl configure.in for netatalk
 
 AC_INIT(bin/adv1tov2/adv1tov2.c)
@@ -8,7 +9,6 @@ AC_SUBST(NETATALK_VERSION)
 AC_CANONICAL_SYSTEM
 AM_INIT_AUTOMAKE(netatalk, ${NETATALK_VERSION})
 AM_CONFIG_HEADER(config.h)
-AM_PROG_LIBTOOL
 
 dnl Reset locations to proper places
 AC_PREFIX_DEFAULT(/usr/local)
@@ -19,7 +19,7 @@ AC_PROG_CC
 AC_PROG_INSTALL
 AC_PROG_LN_S
 AC_PROG_MAKE_SET
-AC_PROG_LIBTOOL
+AM_PROG_LIBTOOL
 
 dnl *********************************************************************
 dnl FIXME! FIXME! These should be selectable properly, and should produce
@@ -84,7 +84,7 @@ dnl Checks for header files.
 AC_HEADER_DIRENT
 AC_HEADER_STDC
 AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS(fcntl.h limits.h stdint.h strings.h sys/fcntl.h sys/file.h sys/ioctl.h sys/time.h syslog.h unistd.h termios.h sys/termios.h netdb.h sgtty.h)
+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)
 AC_CHECK_HEADER(sys/cdefs.h,,
        AC_MSG_RESULT([enabling generic cdefs.h from tree])
        CFLAGS="-I\$(top_srcdir)/sys/generic $CFLAGS"
@@ -154,15 +154,6 @@ AC_ARG_ENABLE(afs,
        fi
 )
 
-AC_ARG_WITH(auth-printing-dir,
-       [  --with-auth-printing-dir=path
-              path to authenticated printing directory],
-               cap_dir="$withval"
-               AC_DEFINE_UNQUOTED(CAPDIR, "$cap_dir")
-               AC_DEFINE(USE_CAP)
-               AC_MSG_RESULT([enabling authenticated printing support]),
-)
-
 AC_ARG_WITH(config-dir,
        [  --with-config-dir=path  path to config files [default=$ac_default_prefix/etc]],
                config_dir="$withval",
@@ -294,7 +285,7 @@ AC_ARG_WITH(flock-locks,
 
 AC_ARG_WITH(tcp-wrappers,
        [  --with-tcp-wrappers     enable TCP wrappers support],
-       AC_CHECK_LIB(wrap, hosts_access,
+       AC_CHECK_LIB(wrap, tcpd_warn,
                AC_DEFINE(TCPWRAP)
                AFPD_LIBS="$AFPD_LIBS -lwrap"
                AC_MSG_RESULT([enabling TCP wrappers support])
@@ -528,10 +519,11 @@ if test x"$this_os" = "xtru64"; then
        AC_MSG_RESULT([ * Tru64 specific configuration])
        AC_DEFINE(NO_DDP)
        AC_DEFINE(HAVE_64BIT_LONGS)
-       AC_DEFINE(USE_MOUNT_H)
+       dnl AC_DEFINE(USE_MOUNT_H)
        AC_DEFINE(USE_OLD_RQUOTA)
-       AC_DEFINE(USE_UFS_QUOTA_H)
+       dnl AC_DEFINE(USE_UFS_QUOTA_H)
        AC_DEFINE(TRU64)
+       AC_CHECK_LIB(security,set_auth_parameters)
        CFLAGS="-I\$(top_srcdir)/sys/tru64 $CFLAGS"
        LDSHAREDFLAGS="-shared -expect_unresolved \*"
        need_dash_r=no
@@ -626,6 +618,7 @@ AC_OUTPUT([Makefile
        bin/psorder/Makefile
        config/Makefile
        contrib/Makefile
+       contrib/macusers/Makefile
        contrib/nu/Makefile
        contrib/printing/Makefile
        contrib/shell_utils/Makefile