Diff

configure @ 5050:2ad43c183d00

Merge with Zash
author Matthew Wild <mwild1@gmail.com>
date Sun, 29 Jul 2012 02:28:25 +0100
parent 5048:e02161ba20e0
child 5145:53f741a5a73a
line wrap: on
line diff
--- a/configure	Sun Jul 29 02:27:07 2012 +0100
+++ b/configure	Sun Jul 29 02:28:25 2012 +0100
@@ -96,6 +96,7 @@
 	LUA_SUFFIX_SET=yes
 	LUA_INCDIR=/usr/include/lua5.1;
 	LUA_INCDIR_SET=yes
+	CFLAGS="$CFLAGS -D_GNU_SOURCE"
 	fi
 	if [ "$OSTYPE" = "macosx" ]
 	then LUA_INCDIR=/usr/local/include;
@@ -110,6 +111,7 @@
         LUA_LIBDIR=/usr/local/lib
         LUA_LIBDIR_SET=yes
         CFLAGS="-Wall -fPIC"
+        CFLAGS="$CFLAGS -D_GNU_SOURCE"
         LDFLAGS="-shared"
         fi
         if [ "$OSTYPE" = "freebsd" -o "$OSTYPE" = "openbsd" ]