]> granicus.if.org Git - check/commitdiff
* use AC_USE_SYSTEM_EXTENSIONS instead of #define _GNU_SOURCE
authorcpickett <cpickett@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 28 Dec 2008 19:58:42 +0000 (19:58 +0000)
committercpickett <cpickett@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 28 Dec 2008 19:58:42 +0000 (19:58 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@465 64e312b2-a51f-0410-8e61-82d0ca0eb02a

configure.ac
src/check_run.c
tests/check_check_master.c

index 7c248b63354612fa19ea73d721ff70eb9a7c8f37..7f2fdcdd1ca5a5fe914bae031b4818d67b39b064 100644 (file)
@@ -17,6 +17,9 @@ AC_CONFIG_LIBOBJ_DIR([lib])
 # place to put some extra build scripts installed
 AC_CONFIG_AUX_DIR([build-aux])
 
+# define things like _GNU_SOURCE appropriately
+AC_USE_SYSTEM_EXTENSIONS
+
 # really severe build strictness
 AM_INIT_AUTOMAKE([-Wall -Werror gnits 1.9.6])
 
index d94ceca2b46d3e5e20f42e600a4b5544dc7af72c..b8b7eb7d311b8c5c9064c268963747b3c61245bc 100644 (file)
@@ -18,7 +18,6 @@
  * Boston, MA 02111-1307, USA.
  */
 
-#define _GNU_SOURCE
 #include "config.h"
 #include <sys/types.h>
 #ifdef HAVE_SYS_WAIT_H
index 43763ae6f7b1a7e52f239680c6d7d898332e9190..8256a65a63604927aea80add9e4d8b7ea38d734c 100644 (file)
@@ -1,5 +1,3 @@
-#define _GNU_SOURCE
-
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>