]> arthur.barton.de Git - netatalk.git/commitdiff
Back-port from trunk: NetBSD support.
authorsrittau <srittau>
Thu, 7 Feb 2002 23:46:23 +0000 (23:46 +0000)
committersrittau <srittau>
Thu, 7 Feb 2002 23:46:23 +0000 (23:46 +0000)
configure.in

index d52e79028fa26c8df866b611ffdb304bc64b455a..907b66c6a9bba54beebca05a63191b49b523f9d8 100644 (file)
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.126.2.10 2002-02-07 23:44:42 srittau Exp $
+dnl $Id: configure.in,v 1.126.2.11 2002-02-07 23:46:23 srittau Exp $
 dnl configure.in for netatalk
 
 AC_INIT(bin/adv1tov2/adv1tov2.c)
@@ -321,6 +321,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
@@ -596,6 +604,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)