]> arthur.barton.de Git - netatalk.git/commitdiff
New configure switch: --enable-netbsd.
authorsrittau <srittau>
Thu, 17 Jan 2002 05:57:04 +0000 (05:57 +0000)
committersrittau <srittau>
Thu, 17 Jan 2002 05:57:04 +0000 (05:57 +0000)
configure.in

index fd90fb3ce30f6ca4988da2b561b388a39f65eafa..2f6d6ff0a3f573b6e3f0d8e0bd4f16d25c32efaf 100644 (file)
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.148 2002-01-17 05:55:41 srittau Exp $
+dnl $Id: configure.in,v 1.149 2002-01-17 05:57:04 srittau Exp $
 dnl configure.in for netatalk
 
 AC_INIT(bin/adv1tov2/adv1tov2.c)
@@ -336,6 +336,14 @@ AC_ARG_ENABLE(cobalt,
        AC_MSG_RESULT([enabling cobalt-style sysv support])
 )
 
+AC_ARG_ENABLE(netbsd,
+       [  --enable-netbsd         use NetBSD-style rc.d configuration ],
+       if test "x$enableval" = "xyes"; then
+               sysv_style=netbsd
+       fi
+       AC_MSG_RESULT([enabling NetBSD-style rc.d support])
+)
+
 dnl ----- timelord compilation (disabled by default)
 AC_MSG_CHECKING([whether timelord should be compiled])
 compile_timelord=no
@@ -611,6 +619,7 @@ AM_CONDITIONAL(USE_PAM, test x$compile_pam = xyes)
 AM_CONDITIONAL(BUILD_PAM, test x$compile_pam = xyes)
 AM_CONDITIONAL(USE_PGP, test x$compile_pgp = xyes)
 AM_CONDITIONAL(USE_COBALT, test x$sysv_style = xcobalt)
+AM_CONDITIONAL(USE_NETBSD, test x$sysv_style = xnetbsd)
 AM_CONDITIONAL(USE_REDHAT, test x$sysv_style = xredhat)
 AM_CONDITIONAL(USE_SUSE, test x$sysv_style = xsuse)
 AM_CONDITIONAL(USE_SHADOWPW, test x$shadowpw = xyes)