X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=configure.ac;h=c584491aaf876834455c697cc4e4c0c9d9b14198;hb=HEAD;hp=ce1ff704461f82dde7a644b0b860253520ee3692;hpb=28c12afefeedee77921efcc886a435078b69d673;p=platform%2Fupstream%2Faugeas.git diff --git a/configure.ac b/configure.ac index ce1ff70..c584491 100644 --- a/configure.ac +++ b/configure.ac @@ -1,8 +1,8 @@ -AC_INIT(augeas, 1.6.0) +AC_INIT(augeas, 1.14.1) AC_CONFIG_SRCDIR([src/augeas.c]) AC_CONFIG_AUX_DIR([build/ac-aux]) AM_CONFIG_HEADER([config.h]) -AM_INIT_AUTOMAKE([-Wno-portability 1.11 color-tests parallel-tests]) +AM_INIT_AUTOMAKE([-Wno-portability color-tests parallel-tests]) AM_SILENT_RULES([yes]) # make --enable-silent-rules the default. @@ -65,8 +65,8 @@ if test x"$enable_debug" = x"yes"; then fi dnl Version info in libtool's notation -AC_SUBST([LIBAUGEAS_VERSION_INFO], [21:0:21]) -AC_SUBST([LIBFA_VERSION_INFO], [5:3:4]) +AC_SUBST([LIBAUGEAS_VERSION_INFO], [25:0:25]) +AC_SUBST([LIBFA_VERSION_INFO], [6:3:5]) AC_GNU_SOURCE @@ -98,6 +98,10 @@ AC_MSG_CHECKING([how to pass version script to the linker ($LD)]) VERSION_SCRIPT_FLAGS=none if $LD --help 2>&1 | grep "version-script" >/dev/null 2>/dev/null; then VERSION_SCRIPT_FLAGS=-Wl,--version-script= + # Solaris needs gnu-version-script-compat to use version-script + if test x"$host_os" = x"solaris2.11"; then + VERSION_SCRIPT_FLAGS="-z gnu-version-script-compat,${VERSION_SCRIPT_FLAGS}" + fi elif $LD --help 2>&1 | grep "M mapfile" >/dev/null 2>/dev/null; then VERSION_SCRIPT_FLAGS="-Wl,-M -Wl," fi @@ -107,6 +111,20 @@ AM_CONDITIONAL([USE_VERSION_SCRIPT], [test "$VERSION_SCRIPT_FLAGS" != none]) gl_INIT +dnl Should we run the gnulib tests? +AC_MSG_CHECKING([if we should run the GNUlib tests]) +AC_ARG_ENABLE([gnulib-tests], + [AS_HELP_STRING([--disable-gnulib-tests], + [disable running GNU Portability library tests @<:@default=yes@:>@])], + [ENABLE_GNULIB_TESTS="$enableval"], + [ENABLE_GNULIB_TESTS=yes]) +AM_CONDITIONAL([ENABLE_GNULIB_TESTS],[test "x$ENABLE_GNULIB_TESTS" = "xyes"]) +AC_MSG_RESULT([$ENABLE_GNULIB_TESTS]) + +dnl set PC_SELINUX for use by augeas.pc.in +PC_SELINUX=$(echo $LIB_SELINUX | sed -e 's/-l/lib/') +AC_SUBST([PC_SELINUX]) + PKG_PROG_PKG_CONFIG PKG_CHECK_MODULES([LIBXML], [libxml-2.0]) @@ -122,3 +140,8 @@ AC_OUTPUT(Makefile \ doc/Makefile \ doc/naturaldocs/Makefile \ augeas.pc augeas.spec) + +# Bash completion ... +PKG_CHECK_VAR(bashcompdir, [bash-completion], [completionsdir], , + bashcompdir="${sysconfdir}/bash_completion.d") +AC_SUBST(bashcompdir)