gsasl-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS gsasl/lib


From: gsasl-commit
Subject: CVS gsasl/lib
Date: Mon, 20 Dec 2004 02:12:55 +0100

Update of /home/cvs/gsasl/lib
In directory dopio:/tmp/cvs-serv4232/lib

Modified Files:
        configure.ac 
Log Message:
Add --disable-obsolete.

--- /home/cvs/gsasl/lib/configure.ac    2004/12/19 19:10:43     1.46
+++ /home/cvs/gsasl/lib/configure.ac    2004/12/20 01:12:55     1.47
@@ -374,10 +374,10 @@
 
 # Allow disabling of client or server.
 AC_ARG_ENABLE(client,
-              AS_HELP_STRING([--disable-client], [Disable client code]),
+              AS_HELP_STRING([--disable-client], [disable client code]),
              client=$enableval)
 AC_ARG_ENABLE(server,
-              AS_HELP_STRING([--disable-server], [Disable server code]),
+              AS_HELP_STRING([--disable-server], [disable server code]),
              server=$enableval)
 if test "$client" != "no"; then
   AC_DEFINE(USE_CLIENT, 1, [Define to 1 if you want client code.])
@@ -397,6 +397,20 @@
 AM_CONDITIONAL(CLIENT, test x$client = xyes)
 AM_CONDITIONAL(SERVER, test x$server = xyes)
 
+# Allow disabling of obsolete stuff.
+AC_ARG_ENABLE(obsolete,
+  AS_HELP_STRING([--disable-obsolete], [disable backwards compatibility code]),
+    obsolete=$enableval)
+if test "$obsolete" = "no"; then
+  AC_DEFINE(GSASL_NO_OBSOLETE, 1,
+    [Define to 1 if you don't want backwards compatibility code.])
+else
+  obsolete=yes
+fi
+AC_MSG_CHECKING([if backwards compatibility code should be present])
+AC_MSG_RESULT($obsolete)
+AM_CONDITIONAL(OBSOLETE, test "$obsolete" = "yes")
+
 # For gnulib stuff in gl/.
 gl_SOURCE_BASE(gl)
 gl_M4_BASE(gl/m4)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]