aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-10 14:05:45 +0000
committerChristian Grothoff <christian@grothoff.org>2015-06-10 14:05:45 +0000
commit97cc339a06563f1e14c8fec4e93dd5d8a24a3a7a (patch)
tree0ee8b74efe96cbebdd8d2eaa98f8ce519a91ba57 /configure.ac
parent29795c865db8a793e1ad85acb71f621d397eed37 (diff)
downloadgnunet-97cc339a06563f1e14c8fec4e93dd5d8a24a3a7a.tar.gz
gnunet-97cc339a06563f1e14c8fec4e93dd5d8a24a3a7a.zip
-minor fixes
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 67633b107..4972e0f49 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,11 +50,6 @@ AC_SYS_LARGEFILE
50AC_FUNC_FSEEKO 50AC_FUNC_FSEEKO
51 51
52 52
53if test "$enable_shared" = "no"
54then
55 AC_MSG_ERROR([GNUnet only works with shared libraries. Sorry.])
56fi
57
58CFLAGS="-Wall $CFLAGS" 53CFLAGS="-Wall $CFLAGS"
59# use '-fno-strict-aliasing', but only if the compiler can take it 54# use '-fno-strict-aliasing', but only if the compiler can take it
60if gcc -fno-strict-aliasing -S -o /dev/null -xc /dev/null >/dev/null 2>&1; 55if gcc -fno-strict-aliasing -S -o /dev/null -xc /dev/null >/dev/null 2>&1;
@@ -672,6 +667,11 @@ AC_CHECK_LIB(z, compress2,
672AC_SUBST(Z_CFLAGS) 667AC_SUBST(Z_CFLAGS)
673AC_SUBST(Z_LIBS) 668AC_SUBST(Z_LIBS)
674 669
670if test "$enable_shared" = "no"
671then
672 AC_MSG_ERROR([GNUnet only works with shared libraries. Sorry.])
673fi
674
675 675
676 676
677# restore LIBS 677# restore LIBS