aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-29 02:28:25 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-29 02:28:25 +0100
commitabc359a28fc9a70348da270c5cbc8b169f2495cf (patch)
treed297759efe7397d10a00b7b941221a17f5701cd1 /configure
parent30f0c3a465a1488d553fe8b40bbfbe593be8a656 (diff)
parent79e7a7cac4f67fa812b522c8db1e0c4652a51ccd (diff)
downloadprosody-abc359a28fc9a70348da270c5cbc8b169f2495cf.tar.gz
prosody-abc359a28fc9a70348da270c5cbc8b169f2495cf.zip
Merge with Zash
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index dd6af49c..209fdccb 100755
--- a/configure
+++ b/configure
@@ -96,6 +96,7 @@ do
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 @@ do
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" ]