ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/configure
(Generate patch)

Comparing hopm/trunk/configure (file contents):
Revision 8551 by michael, Sat Sep 22 20:56:15 2018 UTC vs.
Revision 8850 by michael, Sat Feb 9 18:34:12 2019 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 8550 2018-09-22 20:55:46Z michael .
2 > # From configure.ac Id: configure.ac 8559 2018-09-23 09:25:41Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4   # Generated by GNU Autoconf 2.69 for hopm TRUNK.
5   #
# Line 638 | Line 638 | ac_subst_vars='am__EXEEXT_FALSE
638   am__EXEEXT_TRUE
639   LTLIBOBJS
640   LIBOBJS
641 ENABLE_SSL_FALSE
642 ENABLE_SSL_TRUE
641   LEXLIB
642   LEX_OUTPUT_ROOT
643   LEX
# Line 683 | Line 681 | am__nodep
681   AMDEPBACKSLASH
682   AMDEP_FALSE
683   AMDEP_TRUE
686 am__quote
684   am__include
685   DEPDIR
686   OBJEXT
# Line 760 | Line 757 | PACKAGE_VERSION
757   PACKAGE_TARNAME
758   PACKAGE_NAME
759   PATH_SEPARATOR
760 < SHELL'
760 > SHELL
761 > am__quote'
762   ac_subst_files=''
763   ac_user_opts='
764   enable_option_checking
# Line 778 | Line 776 | enable_libtool_lock
776   enable_openssl
777   enable_assert
778   enable_warnings
779 + enable_efence
780   '
781        ac_precious_vars='build_alias
782   host_alias
# Line 1427 | Line 1426 | Optional Features:
1426    --disable-openssl            Disable LibreSSL/OpenSSL support.
1427    --enable-assert         Enable assert() statements
1428    --enable-warnings       Enable compiler warnings.
1429 +  --enable-efence         Enable linking with Electric Fence 'efence' memory
1430 +                          debugger library.
1431  
1432   Optional Packages:
1433    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
# Line 2150 | Line 2151 | ac_link='$CC -o conftest$ac_exeext $CFLA
2151   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2152  
2153  
2154 < am__api_version='1.15'
2154 > am__api_version='1.16'
2155  
2156   ac_aux_dir=
2157   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2695 | Line 2696 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2696  
2697   # For better backward compatibility.  To be removed once Automake 1.9.x
2698   # dies out for good.  For more background, see:
2699 < # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2700 < # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2699 > # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2700 > # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2701   mkdir_p='$(MKDIR_P)'
2702  
2703   # We need awk for the "check" target (and possibly the TAP driver).  The
# Line 2747 | Line 2748 | END
2748   Aborting the configuration process, to ensure you take notice of the issue.
2749  
2750   You can download and install GNU coreutils to get an 'rm' implementation
2751 < that behaves properly: <http://www.gnu.org/software/coreutils/>.
2751 > that behaves properly: <https://www.gnu.org/software/coreutils/>.
2752  
2753   If you want to complete the configuration process using your problematic
2754   'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
# Line 2791 | Line 2792 | DEPDIR="${am__leading_dot}deps"
2792  
2793   ac_config_commands="$ac_config_commands depfiles"
2794  
2795 <
2796 < am_make=${MAKE-make}
2797 < cat > confinc << 'END'
2795 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
2796 > $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
2797 > cat > confinc.mk << 'END'
2798   am__doit:
2799 <        @echo this is the am__doit target
2799 >        @echo this is the am__doit target >confinc.out
2800   .PHONY: am__doit
2801   END
2801 # If we don't find an include directive, just comment out the code.
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2803 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2802   am__include="#"
2803   am__quote=
2804 < _am_result=none
2805 < # First try GNU make style include.
2806 < echo "include confinc" > confmf
2807 < # Ignore all kinds of additional output from 'make'.
2808 < case `$am_make -s -f confmf 2> /dev/null` in #(
2809 < *the\ am__doit\ target*)
2810 <  am__include=include
2811 <  am__quote=
2812 <  _am_result=GNU
2813 <  ;;
2814 < esac
2815 < # Now try BSD make style include.
2816 < if test "$am__include" = "#"; then
2817 <   echo '.include "confinc"' > confmf
2818 <   case `$am_make -s -f confmf 2> /dev/null` in #(
2819 <   *the\ am__doit\ target*)
2820 <     am__include=.include
2821 <     am__quote="\""
2822 <     _am_result=BSD
2804 > # BSD make does it like this.
2805 > echo '.include "confinc.mk" # ignored' > confmf.BSD
2806 > # Other make implementations (GNU, Solaris 10, AIX) do it like this.
2807 > echo 'include confinc.mk # ignored' > confmf.GNU
2808 > _am_result=no
2809 > for s in GNU BSD; do
2810 >  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
2811 >   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
2812 >   ac_status=$?
2813 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 >   (exit $ac_status); }
2815 >  case $?:`cat confinc.out 2>/dev/null` in #(
2816 >  '0:this is the am__doit target') :
2817 >    case $s in #(
2818 >  BSD) :
2819 >    am__include='.include' am__quote='"' ;; #(
2820 >  *) :
2821 >    am__include='include' am__quote='' ;;
2822 > esac ;; #(
2823 >  *) :
2824       ;;
2825 <   esac
2826 < fi
2827 <
2828 <
2829 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2830 < $as_echo "$_am_result" >&6; }
2831 < rm -f confinc confmf
2825 > esac
2826 >  if test "$am__include" != "#"; then
2827 >    _am_result="yes ($s style)"
2828 >    break
2829 >  fi
2830 > done
2831 > rm -f confinc.* confmf.*
2832 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
2833 > $as_echo "${_am_result}" >&6; }
2834  
2835   # Check whether --enable-dependency-tracking was given.
2836   if test "${enable_dependency_tracking+set}" = set; then :
# Line 12636 | Line 12637 | $as_echo "disabled" >&6; }
12637   fi
12638  
12639   if test "$cf_enable_openssl" != "no"; then :
12640 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5
12641 < $as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; }
12640 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 1.0.1d and above" >&5
12641 > $as_echo_n "checking for LibreSSL or OpenSSL 1.0.1d and above... " >&6; }
12642    if test "$cross_compiling" = yes; then :
12643    cf_openssl_version_ok=no
12644   else
# Line 12650 | Line 12651 | else
12651   int
12652   main ()
12653   {
12654 < exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
12654 > exit(!(OPENSSL_VERSION_NUMBER >= 0x1000104fL));
12655    ;
12656    return 0;
12657   }
# Line 12769 | Line 12770 | $as_echo "no - LibreSSL/OpenSSL support
12770   fi
12771   fi
12772  
12772 if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
12773  ENABLE_SSL_TRUE=
12774  ENABLE_SSL_FALSE='#'
12775 else
12776  ENABLE_SSL_TRUE='#'
12777  ENABLE_SSL_FALSE=
12778 fi
12779
12780
12773  
12774    # Check whether --enable-assert was given.
12775   if test "${enable_assert+set}" = set; then :
# Line 14758 | Line 14750 | done
14750   fi
14751  
14752  
14753 +  # Check whether --enable-efence was given.
14754 + if test "${enable_efence+set}" = set; then :
14755 +  enableval=$enable_efence; efence="$enableval"
14756 + else
14757 +  efence="no"
14758 + fi
14759 +
14760 +
14761 +  if test "$efence" = "yes"; then :
14762 +
14763 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5
14764 + $as_echo_n "checking for library containing EF_Print... " >&6; }
14765 + if ${ac_cv_search_EF_Print+:} false; then :
14766 +  $as_echo_n "(cached) " >&6
14767 + else
14768 +  ac_func_search_save_LIBS=$LIBS
14769 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14770 + /* end confdefs.h.  */
14771 +
14772 + /* Override any GCC internal prototype to avoid an error.
14773 +   Use char because int might match the return type of a GCC
14774 +   builtin and then its argument prototype would still apply.  */
14775 + #ifdef __cplusplus
14776 + extern "C"
14777 + #endif
14778 + char EF_Print ();
14779 + int
14780 + main ()
14781 + {
14782 + return EF_Print ();
14783 +  ;
14784 +  return 0;
14785 + }
14786 + _ACEOF
14787 + for ac_lib in '' efence; do
14788 +  if test -z "$ac_lib"; then
14789 +    ac_res="none required"
14790 +  else
14791 +    ac_res=-l$ac_lib
14792 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14793 +  fi
14794 +  if ac_fn_c_try_link "$LINENO"; then :
14795 +  ac_cv_search_EF_Print=$ac_res
14796 + fi
14797 + rm -f core conftest.err conftest.$ac_objext \
14798 +    conftest$ac_exeext
14799 +  if ${ac_cv_search_EF_Print+:} false; then :
14800 +  break
14801 + fi
14802 + done
14803 + if ${ac_cv_search_EF_Print+:} false; then :
14804 +
14805 + else
14806 +  ac_cv_search_EF_Print=no
14807 + fi
14808 + rm conftest.$ac_ext
14809 + LIBS=$ac_func_search_save_LIBS
14810 + fi
14811 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5
14812 + $as_echo "$ac_cv_search_EF_Print" >&6; }
14813 + ac_res=$ac_cv_search_EF_Print
14814 + if test "$ac_res" != no; then :
14815 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14816 +
14817 + else
14818 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14819 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14820 + as_fn_error $? "Electric Fence 'efence' library not found
14821 + See \`config.log' for more details" "$LINENO" 5; }
14822 + fi
14823 +
14824 +
14825 + fi
14826 +
14827 +
14828   for ac_func in strlcpy strlcat
14829   do :
14830    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
# Line 14910 | Line 14977 | if test -z "${am__fastdepCC_TRUE}" && te
14977    as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14978   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14979   fi
14913 if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14914  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14915 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14916 fi
14980  
14981   : "${CONFIG_STATUS=./config.status}"
14982   ac_write_fail=0
# Line 15496 | Line 15559 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15559   #
15560   # INIT-COMMANDS
15561   #
15562 < AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15562 > AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
15563  
15564  
15565   # The HP-UX ksh and POSIX shell print the target directory to stdout
# Line 16396 | Line 16459 | $as_echo "$as_me: executing $ac_file com
16459    # Older Autoconf quotes --file arguments for eval, but not when files
16460    # are listed without --file.  Let's play safe and only enable the eval
16461    # if we detect the quoting.
16462 <  case $CONFIG_FILES in
16463 <  *\'*) eval set x "$CONFIG_FILES" ;;
16464 <  *)   set x $CONFIG_FILES ;;
16465 <  esac
16462 >  # TODO: see whether this extra hack can be removed once we start
16463 >  # requiring Autoconf 2.70 or later.
16464 >  case $CONFIG_FILES in #(
16465 >  *\'*) :
16466 >    eval set x "$CONFIG_FILES" ;; #(
16467 >  *) :
16468 >    set x $CONFIG_FILES ;; #(
16469 >  *) :
16470 >     ;;
16471 > esac
16472    shift
16473 <  for mf
16473 >  # Used to flag and report bootstrapping failures.
16474 >  am_rc=0
16475 >  for am_mf
16476    do
16477      # Strip MF so we end up with the name of the file.
16478 <    mf=`echo "$mf" | sed -e 's/:.*$//'`
16479 <    # Check whether this is an Automake generated Makefile or not.
16480 <    # We used to match only the files named 'Makefile.in', but
16481 <    # some people rename them; so instead we look at the file content.
16411 <    # Grep'ing the first line is not enough: some people post-process
16412 <    # each Makefile.in and add a new line on top of each file to say so.
16413 <    # Grep'ing the whole file is not good either: AIX grep has a line
16478 >    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
16479 >    # Check whether this is an Automake generated Makefile which includes
16480 >    # dependency-tracking related rules and includes.
16481 >    # Grep'ing the whole file directly is not great: AIX grep has a line
16482      # limit of 2048, but all sed's we know have understand at least 4000.
16483 <    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16484 <      dirpart=`$as_dirname -- "$mf" ||
16485 < $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16486 <         X"$mf" : 'X\(//\)[^/]' \| \
16487 <         X"$mf" : 'X\(//\)$' \| \
16488 <         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16489 < $as_echo X"$mf" |
16483 >    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
16484 >      || continue
16485 >    am_dirpart=`$as_dirname -- "$am_mf" ||
16486 > $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16487 >         X"$am_mf" : 'X\(//\)[^/]' \| \
16488 >         X"$am_mf" : 'X\(//\)$' \| \
16489 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16490 > $as_echo X"$am_mf" |
16491      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16492              s//\1/
16493              q
# Line 16436 | Line 16505 | $as_echo X"$mf" |
16505              q
16506            }
16507            s/.*/./; q'`
16508 <    else
16509 <      continue
16510 <    fi
16511 <    # Extract the definition of DEPDIR, am__include, and am__quote
16512 <    # from the Makefile without running 'make'.
16513 <    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16445 <    test -z "$DEPDIR" && continue
16446 <    am__include=`sed -n 's/^am__include = //p' < "$mf"`
16447 <    test -z "$am__include" && continue
16448 <    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16449 <    # Find all dependency output files, they are included files with
16450 <    # $(DEPDIR) in their names.  We invoke sed twice because it is the
16451 <    # simplest approach to changing $(DEPDIR) to its actual value in the
16452 <    # expansion.
16453 <    for file in `sed -n "
16454 <      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16455 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16456 <      # Make sure the directory exists.
16457 <      test -f "$dirpart/$file" && continue
16458 <      fdir=`$as_dirname -- "$file" ||
16459 < $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16460 <         X"$file" : 'X\(//\)[^/]' \| \
16461 <         X"$file" : 'X\(//\)$' \| \
16462 <         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16463 < $as_echo X"$file" |
16464 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16465 <            s//\1/
16466 <            q
16467 <          }
16468 <          /^X\(\/\/\)[^/].*/{
16508 >    am_filepart=`$as_basename -- "$am_mf" ||
16509 > $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
16510 >         X"$am_mf" : 'X\(//\)$' \| \
16511 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16512 > $as_echo X/"$am_mf" |
16513 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
16514              s//\1/
16515              q
16516            }
16517 <          /^X\(\/\/\)$/{
16517 >          /^X\/\(\/\/\)$/{
16518              s//\1/
16519              q
16520            }
16521 <          /^X\(\/\).*/{
16521 >          /^X\/\(\/\).*/{
16522              s//\1/
16523              q
16524            }
16525            s/.*/./; q'`
16526 <      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16527 <      # echo "creating $dirpart/$file"
16528 <      echo '# dummy' > "$dirpart/$file"
16529 <    done
16526 >    { echo "$as_me:$LINENO: cd "$am_dirpart" \
16527 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
16528 >        | $MAKE -f - am--depfiles" >&5
16529 >   (cd "$am_dirpart" \
16530 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
16531 >        | $MAKE -f - am--depfiles) >&5 2>&5
16532 >   ac_status=$?
16533 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16534 >   (exit $ac_status); } || am_rc=$?
16535    done
16536 +  if test $am_rc -ne 0; then
16537 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16538 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16539 + as_fn_error $? "Something went wrong bootstrapping makefile fragments
16540 +    for automatic dependency tracking.  Try re-running configure with the
16541 +    '--disable-dependency-tracking' option to at least be able to build
16542 +    the package (albeit without support for automatic dependency tracking).
16543 + See \`config.log' for more details" "$LINENO" 5; }
16544 +  fi
16545 +  { am_dirpart=; unset am_dirpart;}
16546 +  { am_filepart=; unset am_filepart;}
16547 +  { am_mf=; unset am_mf;}
16548 +  { am_rc=; unset am_rc;}
16549 +  rm -f conftest-deps.mk
16550   }
16551   ;;
16552      "libtool":C)

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)