diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-06-10 14:05:45 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-06-10 14:05:45 +0000 |
commit | 97cc339a06563f1e14c8fec4e93dd5d8a24a3a7a (patch) | |
tree | 0ee8b74efe96cbebdd8d2eaa98f8ce519a91ba57 /configure.ac | |
parent | 29795c865db8a793e1ad85acb71f621d397eed37 (diff) | |
download | gnunet-97cc339a06563f1e14c8fec4e93dd5d8a24a3a7a.tar.gz gnunet-97cc339a06563f1e14c8fec4e93dd5d8a24a3a7a.zip |
-minor fixes
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
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 | |||
50 | AC_FUNC_FSEEKO | 50 | AC_FUNC_FSEEKO |
51 | 51 | ||
52 | 52 | ||
53 | if test "$enable_shared" = "no" | ||
54 | then | ||
55 | AC_MSG_ERROR([GNUnet only works with shared libraries. Sorry.]) | ||
56 | fi | ||
57 | |||
58 | CFLAGS="-Wall $CFLAGS" | 53 | CFLAGS="-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 |
60 | if gcc -fno-strict-aliasing -S -o /dev/null -xc /dev/null >/dev/null 2>&1; | 55 | if gcc -fno-strict-aliasing -S -o /dev/null -xc /dev/null >/dev/null 2>&1; |
@@ -672,6 +667,11 @@ AC_CHECK_LIB(z, compress2, | |||
672 | AC_SUBST(Z_CFLAGS) | 667 | AC_SUBST(Z_CFLAGS) |
673 | AC_SUBST(Z_LIBS) | 668 | AC_SUBST(Z_LIBS) |
674 | 669 | ||
670 | if test "$enable_shared" = "no" | ||
671 | then | ||
672 | AC_MSG_ERROR([GNUnet only works with shared libraries. Sorry.]) | ||
673 | fi | ||
674 | |||
675 | 675 | ||
676 | 676 | ||
677 | # restore LIBS | 677 | # restore LIBS |