X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=configure.ac;h=eac662787e3e8389f705814d508aa3511c2b6ae0;hb=1af991046fce47d6c3ff58240819ebe7ee15eedd;hp=bb926da51cd5839aa3571ce75f30d08713fb8c2f;hpb=e6b32936c569d9f2ceaea76af2f8f0551d163dd9;p=meshlink diff --git a/configure.ac b/configure.ac index bb926da5..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