Enlightenment CVS committal

Author  : tsauerbeck
Project : misc
Module  : eplayer

Dir     : misc/eplayer


Modified Files:
        configure.ac 


Log Message:
use bool, true and false instead of int, 1 and 0, where it's appropriate
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/configure.ac,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- configure.ac        30 Jan 2004 10:48:57 -0000      1.19
+++ configure.ac        31 Jan 2004 10:49:10 -0000      1.20
@@ -1,4 +1,4 @@
-dnl $Id: configure.ac,v 1.19 2004/01/30 10:48:57 technikolor Exp $
+dnl $Id: configure.ac,v 1.20 2004/01/31 10:49:10 tsauerbeck Exp $
 
 AC_INIT(src/eplayer.c)
 
@@ -10,10 +10,22 @@
 AC_ISC_POSIX
 AC_PROG_INSTALL
 AC_HEADER_STDC
+AC_HEADER_STDBOOL
 AC_C_BIGENDIAN
 AM_DISABLE_STATIC
 AC_PROG_LIBTOOL
 
+AH_VERBATIM([_BOOL], [
+/* Define bool on systems that don't support C99 */
+#ifdef HAVE_STDBOOL_H
+# include <stdbool.h>
+#else
+# define bool int
+# define true 1
+# define false 0
+#endif
+])
+
 ACX_PTHREAD(, AC_MSG_ERROR(Cannot find pthread library!))
 
 AC_EXPAND_DIR(DATA_DIR, "$datadir/eplayer")




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to