aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 5 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index cd9beb1..02131f3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -210,7 +210,7 @@ AS_IF([test "x$gnunet" = "x0" -a ! "x$lookin" = "x"],
gnunet=1
EXT_LIB_PATH="-L${lookin}/lib $EXT_LIB_PATH"
]
- ),,[#include <gnunet/platform.h>]
+ )
)
])
@@ -298,23 +298,20 @@ AC_ARG_WITH(anastasis,
[yes],[
AC_CHECK_HEADERS([anastasis/anastasis_service.h],
AC_CHECK_LIB([anastasisrest], [ANASTASIS_get_config],
- [anastasis=1]
- ),,[#include <gnunet/platform.h>])
+ [anastasis=1]))
],[
LDFLAGS="-L$with_anastasis/lib $LDFLAGS"
CPPFLAGS="-I$with_anastasis/include $CPPFLAGS"
AC_CHECK_HEADERS([anastasis/anastasis_service.h],
AC_CHECK_LIB([anastasisrest], [ANASTASIS_get_config],
EXT_LIB_PATH="-L$with_anastasis/lib $EXT_LIB_PATH"
- [anastasis=1]
- ),,[#include <gnunet/platform.h>])
+ [anastasis=1]))
])
],
[AC_MSG_RESULT([--with-anastasis not specified])
AC_CHECK_HEADERS([anastasis/anastasis_service.h],
AC_CHECK_LIB([anastasisrest], [ANASTASIS_get_config],
- [anastasis=1]
- ),,[#include <gnunet/platform.h>])])
+ [anastasis=1]))])
AS_IF([test "$anastasis" != 1],
@@ -459,7 +456,7 @@ AC_ARG_ENABLE([logging],
AC_DEFINE_UNQUOTED([GNUNET_EXTRA_LOGGING],[$extra_logging],[1 if extra logging is enabled, 2 for very verbose extra logging, 0 otherwise])
AC_CHECK_HEADERS([gnunet/gnunet_util_lib.h], [],
- AC_MSG_ERROR([compiling anastasis-gtk requires libgnunetutil]), [#include <gnunet/platform.h>])
+ AC_MSG_ERROR([compiling anastasis-gtk requires libgnunetutil]))
AC_CHECK_LIB(gladeui-1,glade_xml_node_new, [],
[