comparison 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
comparison
equal deleted inserted replaced
923:2647b2078cc8 924:a07bd351008b
143 AM_CONDITIONAL(HGCSET, test x$hgcset = xyes) 143 AM_CONDITIONAL(HGCSET, test x$hgcset = xyes)
144 if test "${hgcset}" = "yes"; then 144 if test "${hgcset}" = "yes"; then
145 AC_DEFINE(ENABLE_HGCSET, 1, [Use Mercurial changeset]) 145 AC_DEFINE(ENABLE_HGCSET, 1, [Use Mercurial changeset])
146 fi 146 fi
147 147
148 # We need _GNU_SOURCE for strptime() and strcasestr()
149 CFLAGS="$CFLAGS -D_GNU_SOURCE"
150
148 AC_CONFIG_FILES([connwrap/Makefile 151 AC_CONFIG_FILES([connwrap/Makefile
149 libjabber/Makefile 152 libjabber/Makefile
150 src/Makefile 153 src/Makefile
151 doc/Makefile 154 doc/Makefile
152 doc/help/Makefile 155 doc/help/Makefile