X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=configure;h=390c72f3b0757159a9b05ecf8e97b9b3fb4cb481;hb=29712efb58a9520824b4b0d7d1b9b9e2d1f59694;hp=1556069fa20ce0e8d2a8135944478dd8bbb91adf;hpb=034367b3733d55dd9a7ba574a1f6b005f51fe73a;p=pkg%2Fabook.git diff --git a/configure b/configure index 1556069..390c72f 100755 --- a/configure +++ b/configure @@ -606,7 +606,8 @@ ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS -VFORMAT +ENABLE_VFORMAT_SUPPORT_FALSE +ENABLE_VFORMAT_SUPPORT_TRUE ANSI2KNR U USE_INCLUDED_INTL_H_FALSE @@ -11487,7 +11488,6 @@ else vformat=false fi -VFORMAT="no" if test x$vformat = xtrue; then ac_fn_c_check_header_mongrel "$LINENO" "vf_iface.h" "ac_cv_header_vf_iface_h" "$ac_includes_default" if test "x$ac_cv_header_vf_iface_h" = xyes; then : @@ -11531,9 +11531,10 @@ $as_echo "$ac_cv_lib_vformat_vf_read_file" >&6; } if test "x$ac_cv_lib_vformat_vf_read_file" = xyes; then : MODULES="$MODULES m_vcf" - VFORMAT="yes" - LDFLAGS="-lvformat $LDFLAGS" - CFLAGS="-DVFORMAT=1 $CFLAGS" + +$as_echo "#define HAVE_VFORMAT 1" >>confdefs.h + + have_vformat=yes fi @@ -11542,6 +11543,13 @@ fi fi + if test x"$have_vformat" = "xyes"; then + ENABLE_VFORMAT_SUPPORT_TRUE= + ENABLE_VFORMAT_SUPPORT_FALSE='#' +else + ENABLE_VFORMAT_SUPPORT_TRUE='#' + ENABLE_VFORMAT_SUPPORT_FALSE= +fi @@ -11745,6 +11753,10 @@ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${ENABLE_VFORMAT_SUPPORT_TRUE}" && test -z "${ENABLE_VFORMAT_SUPPORT_FALSE}"; then + as_fn_error $? "conditional \"ENABLE_VFORMAT_SUPPORT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0