X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=configure.ac;h=eac662787e3e8389f705814d508aa3511c2b6ae0;hb=a337cef0be4a75ff0f4d88264d242444240fcc66;hp=4b6d8ab840263e0c4a3ca72acf241c31cb783f76;hpb=b7d59f035bfa2e546428cac2b72318d4f5c517fb;p=meshlink diff --git a/configure.ac b/configure.ac index 4b6d8ab8..eac66278 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.61) -AC_INIT([tinc], [1.1pre9]) +AC_INIT([tinc], [1.1pre10]) AC_CONFIG_SRCDIR([src/tincd.c]) AC_GNU_SOURCE AM_INIT_AUTOMAKE([check-news std-options subdir-objects -Wall]) @@ -18,7 +18,7 @@ AC_PROG_CC_C99 AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LN_S -AC_PROG_RANLIB +AC_PROG_LIBTOOL AM_PROG_CC_C_O @@ -148,6 +148,7 @@ AS_IF([test "x$enable_hardening" != "xno"], ;; *) AX_CHECK_COMPILE_FLAG([-fPIE], [CPPFLAGS="$CPPFLAGS -fPIE"]) + AX_CHECK_COMPILE_FLAG([-fPIC], [CPPFLAGS="$CPPFLAGS -fPIC"]) AX_CHECK_LINK_FLAG([-pie], [LDFLAGS="$LDFLAGS -pie"]) ;; esac @@ -216,7 +217,7 @@ tinc_READLINE tinc_ZLIB tinc_LZO -if test "x$with_libgcrypt" != "xno"; then +if test -n "$with_libgcrypt"; then gcrypt=true tinc_LIBGCRYPT else