From 3fe9ccb9aeeb14f86407619ac3d23eb7005a8c24 Mon Sep 17 00:00:00 2001 From: Marcelo Roberto Jimenez Date: Tue, 25 Dec 2007 13:14:48 +0000 Subject: [PATCH] Fixes an error introduced in the last configure.ac commit with the usage of the macro AC_LANG_PROGRAM. The generated test program was incorrect. git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@278 119443c7-1b9e-41f8-b6fc-b9c35fce742c --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index e078ec0..bdb47a3 100644 --- a/configure.ac +++ b/configure.ac @@ -342,8 +342,8 @@ AC_COMPILE_IFELSE( AC_MSG_RESULT([yes, supported without any options])], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( - [#define _GNU_SOURCE], - [#include ], + [#define _GNU_SOURCE + #include ], [pthread_rwlock_t *x;])], [AC_DEFINE([UPNP_USE_RWLOCK], [1], [Use pthread_rwlock_t]) CFLAGS="$CFLAGS -D_GNU_SOURCE"