[FriBidi-commit] fribidi2 configure.ac,1.23,1.24

Behdad Esfahbod behdad at freedesktop.org
Mon Jan 30 19:23:14 PST 2006


Update of /cvs/fribidi/fribidi2
In directory gabe:/tmp/cvs-serv8113

Modified Files:
	configure.ac 
Log Message:
Add an option --disable-deprecated.


Index: configure.ac
===================================================================
RCS file: /cvs/fribidi/fribidi2/configure.ac,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- configure.ac	3 Nov 2005 01:39:01 -0000	1.23
+++ configure.ac	31 Jan 2006 03:23:12 -0000	1.24
@@ -133,12 +133,23 @@
 AC_ARG_ENABLE(debug,
               AC_HELP_STRING([--enable-debug],
                              [turn on debugging @<:@default=debug_default()@:>@]),,
-              enableval=debug_default())
-if test x$enableval = xyes; then
+              enable_debug=debug_default())
+if test x$enable_debug = xyes; then
 	AC_DEFINE(DEBUG,1,
                   [Define to 1 if you want to include debug code in the library])
 fi
 
+# --disable-deprecated
+AC_ARG_ENABLE(deprecated,
+              AC_HELP_STRING([--disable-deprecated],
+                             [do not build deprecated functionality]))
+if test x$enable_deprecated = xno; then
+	FRIBIDI_NO_DEPRECATED=1
+else
+	FRIBIDI_NO_DEPRECATED=0
+fi
+AC_SUBST(FRIBIDI_NO_DEPRECATED)
+
 # --enable-malloc
 AC_ARG_ENABLE(malloc,
               AC_HELP_STRING([--enable-malloc],



More information about the fribidi-commit mailing list