]> arthur.barton.de Git - netatalk.git/blobdiff - configure.in
Revert 1.10. This was pointless anyway.
[netatalk.git] / configure.in
index ce8499f9db9e5ce2061b362346ed4be8188bc10b..9136a3e61a8316d319c7e7d6b936d3567538ea9e 100644 (file)
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.140 2001-12-11 00:38:50 srittau Exp $
+dnl $Id: configure.in,v 1.142 2001-12-14 23:01:47 srittau Exp $
 dnl configure.in for netatalk
 
 AC_INIT(bin/adv1tov2/adv1tov2.c)
@@ -83,24 +83,6 @@ AC_CHECK_HEADER(sys/cdefs.h,,
        CFLAGS="-I\$(top_srcdir)/sys/generic $CFLAGS"
 )
 
-# Allow user to specify flags
-AC_ARG_WITH(cflags,
-       [  --with-cflags           specify additional flags to pass to compiler],
-       [
-               if test "x$withval" != "xno" ; then
-                       CFLAGS="$CFLAGS $withval"
-               fi
-       ]       
-)
-AC_ARG_WITH(libs,
-       [  --with-libs             specify additional libraries to link with],
-       [
-               if test "x$withval" != "xno" ; then
-                       LIBS="$LIBS $withval"
-               fi
-       ]
-)
-
 dnl Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
 AC_TYPE_UID_T
@@ -246,6 +228,7 @@ elif test "x$did_scheme" = "xcnid"; then
 else
        AC_MSG_ERROR([unknown DID scheme])
 fi
+AM_CONDITIONAL(COMPILE_CNID, test "x$did_scheme" = "xcnid")
 
 dnl Check for Berkeley DB3 library
 if test "x$db3_required" = "xyes"; then