[asterisk-commits] branch group/autoconf_and_menuselect r21737 - /team/group/autoconf_and_menuse...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Apr 19 19:47:40 MST 2006


Author: russell
Date: Wed Apr 19 21:47:38 2006
New Revision: 21737

URL: http://svn.digium.com/view/asterisk?rev=21737&view=rev
Log:
Instead of defining _REENTRANT in the CFLAGS, stick it in autoconfig.h

Modified:
    team/group/autoconf_and_menuselect/Makefile
    team/group/autoconf_and_menuselect/configure.ac

Modified: team/group/autoconf_and_menuselect/Makefile
URL: http://svn.digium.com/view/asterisk/team/group/autoconf_and_menuselect/Makefile?rev=21737&r1=21736&r2=21737&view=diff
==============================================================================
--- team/group/autoconf_and_menuselect/Makefile (original)
+++ team/group/autoconf_and_menuselect/Makefile Wed Apr 19 21:47:38 2006
@@ -248,7 +248,7 @@
 endif
 
 INCLUDE+=-Iinclude -I../include
-ASTCFLAGS+=-pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(DEBUG) $(INCLUDE) -D_REENTRANT #-DMAKE_VALGRIND_HAPPY
+ASTCFLAGS+=-pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(DEBUG) $(INCLUDE) #-DMAKE_VALGRIND_HAPPY
 ASTCFLAGS+=$(OPTIMIZE)
 ASTCFLAGS+=# -Werror -Wunused
 ifeq ($(shell gcc -v 2>&1 | grep 'gcc version' | cut -f3 -d' ' | cut -f1 -d.),4)

Modified: team/group/autoconf_and_menuselect/configure.ac
URL: http://svn.digium.com/view/asterisk/team/group/autoconf_and_menuselect/configure.ac?rev=21737&r1=21736&r2=21737&view=diff
==============================================================================
--- team/group/autoconf_and_menuselect/configure.ac (original)
+++ team/group/autoconf_and_menuselect/configure.ac Wed Apr 19 21:47:38 2006
@@ -101,6 +101,12 @@
 
 # This needs to be before any macros that use the C compiler
 AC_GNU_SOURCE
+
+AH_TOP(
+#ifndef _REENTRANT
+#define _REENTRANT
+#endif
+)
 
 # cross-compile checks
 if test x"${build}" != x"${host}"; 



More information about the asterisk-commits mailing list