Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/efreet

Dir     : e17/libs/efreet


Modified Files:
        configure.in 


Log Message:
Use ifdef instead of if for strict spec.

===================================================================
RCS file: /cvs/e/e17/libs/efreet/configure.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- configure.in        24 Mar 2007 16:22:09 -0000      1.3
+++ configure.in        4 Apr 2007 10:41:53 -0000       1.4
@@ -48,11 +48,16 @@
 AC_ARG_ENABLE(strict-spec,
        [AC_HELP_STRING([--enable-strict-spec],[Enable strict spec 
compliance])],
        [enable_strict_spec=$enableval], [enable_strict_spec="auto"])
-STRICT_SPEC=0
 if test "x$enable_strict_spec" = "xyes" ; then
-    STRICT_SPEC=1
+    AC_DEFINE(STRICT_SPEC, 1, [Strict Spec Compliance])
+fi
+
+AC_ARG_ENABLE(sloppy-spec,
+       [AC_HELP_STRING([--enable-sloppy-spec],[Enable sloppy spec 
compliance])],
+       [enable_sloppy_spec=$enableval], [enable_sloppy_spec="auto"])
+if test "x$enable_sloppy_spec" = "xyes" ; then
+    AC_DEFINE(SLOPPY_SPEC, 1, [Sloppy Spec Compliance])
 fi
-AC_DEFINE_UNQUOTED(STRICT_SPEC, $STRICT_SPEC, [Strict Spec Compliance])
 
 CFLAGS=$PCFLAGS
 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to