gsasl-commit
[Top][All Lists]
Advanced

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

CVS gsasl


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

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

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

--- /home/cvs/gsasl/configure.ac        2004/12/16 01:42:43     1.131
+++ /home/cvs/gsasl/configure.ac        2004/12/20 01:12:55     1.132
@@ -48,6 +48,20 @@
 # We want getaddrinfo, should be a gnulib module for it.
 AC_CHECK_FUNCS(getaddrinfo)
 
+# 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]