diff mcabber/configure.ac @ 924:a07bd351008b

Move _GNU_SOURCE define to the Makefile (Reimar Döffinger)
author Mikael Berthe <mikael@lilotux.net>
date Sun, 02 Jul 2006 22:54:18 +0200
parents 2647b2078cc8
children 8a31dd49130d
line wrap: on
line diff
--- a/mcabber/configure.ac	Tue Jun 27 23:05:41 2006 +0200
+++ b/mcabber/configure.ac	Sun Jul 02 22:54:18 2006 +0200
@@ -145,6 +145,9 @@
     AC_DEFINE(ENABLE_HGCSET, 1, [Use Mercurial changeset])
 fi
 
+# We need _GNU_SOURCE for strptime() and strcasestr()
+CFLAGS="$CFLAGS -D_GNU_SOURCE"
+
 AC_CONFIG_FILES([connwrap/Makefile
                  libjabber/Makefile
                  src/Makefile