commit 367b41d08b0c3164e02c83fa28ba7fe140247024
parent 2fdb46715d9205f4aa51240fd2604581637380af
Author: ng0 <ng0@n0.is>
Date: Tue, 19 Nov 2019 19:31:01 +0000
configure: remove cpp, add uncrustify check.
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
@@ -31,7 +31,6 @@ AC_PROG_AWK
AC_PROG_CC
AC_PROG_MKDIR_P
-AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
@@ -114,6 +113,11 @@ backup_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="-D_FILE_OFFSET_BITS=64"
AC_CHECK_HEADERS([fuse.h],,AC_MSG_ERROR([gnunet-fuse requires fuse.h]))
+# uncrustify
+# TODO: maybe add flag to pass location
+AC_CHECK_PROG(UNCRUSTIFY_BINARY, uncrustify, true)
+AM_CONDITIONAL(HAVE_UNCRUSTIFY_BINARY, $UNCRUSTIFY_BINARY)
+
# test for GNUnet core
gnunet=0
lookin=${prefix}