From c4d16a3de335b4a930cbb1ecaebcb860e4eccb0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Miku=C5=82a?= Date: Fri, 18 Sep 2026 14:10:49 +0200 Subject: [PATCH 1/2] Update jemalloc to 5.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mateusz MikuĊ‚a --- jemalloc-sys/Cargo.toml | 2 +- jemalloc-sys/README.md | 2 +- jemalloc-sys/configure/configure | 7201 ++++++++++++++++-------------- jemalloc-sys/jemalloc | 2 +- 4 files changed, 3882 insertions(+), 3325 deletions(-) diff --git a/jemalloc-sys/Cargo.toml b/jemalloc-sys/Cargo.toml index 9b3d922f1..7e53840b5 100644 --- a/jemalloc-sys/Cargo.toml +++ b/jemalloc-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tikv-jemalloc-sys" -version = "0.7.0+5.3.1-0-g81034ce1f1373e37dc865038e1bc8eeecf559ce8" +version = "0.7.0+5.4.0-0-g7a34f18502e7b222724097cdcd499b437d189acc" authors = [ "Alex Crichton ", "Gonzalo Brito Gadeschi ", diff --git a/jemalloc-sys/README.md b/jemalloc-sys/README.md index bce9ae000..5c03ad63a 100644 --- a/jemalloc-sys/README.md +++ b/jemalloc-sys/README.md @@ -19,7 +19,7 @@ [jemalloc_docs]: http://jemalloc.net/jemalloc.3.html [jemalloc_wiki]: https://github.com/jemalloc/jemalloc/wiki -**Current jemalloc version**: 5.3.1. +**Current jemalloc version**: 5.4.0. ## Platform support diff --git a/jemalloc-sys/configure/configure b/jemalloc-sys/configure/configure index a6ac459e5..53f9ed932 100755 --- a/jemalloc-sys/configure/configure +++ b/jemalloc-sys/configure/configure @@ -1,9 +1,9 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71. +# Generated by GNU Autoconf 2.73. # # -# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, +# Copyright (C) 1992-1996, 1998-2017, 2020-2026 Free Software Foundation, # Inc. # # @@ -15,21 +15,21 @@ # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -as_nop=: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. + # contradicts POSIX and common usage. Disable this. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST -else $as_nop - case `(set -o) 2>/dev/null` in #( +else case e in #( + e) case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; +esac ;; esac fi @@ -101,13 +101,13 @@ IFS=$as_save_IFS ;; esac -# We did not find ourselves, most probably we were run as `sh COMMAND' +# We did not find ourselves, most probably we were run as 'sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then - printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi @@ -129,30 +129,33 @@ case $- in # (((( *x* ) as_opts=-x ;; * ) as_opts= ;; esac -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +case $# in # (( + 0) exec $CONFIG_SHELL $as_opts "$as_myself" ;; + *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;; +esac # Admittedly, this is quite paranoid, since all the known shells bail -# out after a failed `exec'. -printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 +# out after a failed 'exec'. +printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="as_nop=: -if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 + as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. + # contradicts POSIX and common usage. Disable this. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST -else \$as_nop - case \`(set -o) 2>/dev/null\` in #( +else case e in #( + e) case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; +esac ;; esac fi " @@ -170,8 +173,9 @@ as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ) then : -else \$as_nop - exitcode=1; echo positional parameters were not saved. +else case e in #( + e) exitcode=1; echo positional parameters were not saved. ;; +esac fi test x\$exitcode = x0 || exit 1 blah=\$(echo \$(echo blah)) @@ -185,14 +189,15 @@ test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null then : as_have_required=yes -else $as_nop - as_have_required=no +else case e in #( + e) as_have_required=no ;; +esac fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null then : -else $as_nop - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +else case e in #( + e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do @@ -225,12 +230,13 @@ IFS=$as_save_IFS if $as_found then : -else $as_nop - if { test -f "$SHELL" || test -f "$SHELL.exe"; } && +else case e in #( + e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } && as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null then : CONFIG_SHELL=$SHELL as_have_required=yes -fi +fi ;; +esac fi @@ -250,28 +256,32 @@ case $- in # (((( *x* ) as_opts=-x ;; * ) as_opts= ;; esac -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +case $# in # (( + 0) exec $CONFIG_SHELL $as_opts "$as_myself" ;; + *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;; +esac # Admittedly, this is quite paranoid, since all the known shells bail -# out after a failed `exec'. -printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 +# out after a failed 'exec'. +printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno then : - printf "%s\n" "$0: This script requires a shell more modern than all" - printf "%s\n" "$0: the shells that I found on your system." + printf '%s\n' "$0: This script requires a shell more modern than all" + printf '%s\n' "$0: the shells that I found on your system." if test ${ZSH_VERSION+y} ; then - printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" - printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." + printf '%s\n' "$0: In particular, zsh $ZSH_VERSION has bugs and should" + printf '%s\n' "$0: be upgraded to zsh 4.3.4 or later." else - printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system, + printf '%s\n' "$0: Please tell bug-autoconf@gnu.org about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." fi exit 1 -fi +fi ;; +esac fi fi SHELL=${CONFIG_SHELL-/bin/sh} @@ -310,14 +320,6 @@ as_fn_exit () as_fn_set_status $1 exit $1 } # as_fn_exit -# as_fn_nop -# --------- -# Do nothing but, unlike ":", preserve the value of $?. -as_fn_nop () -{ - return $? -} -as_nop=as_fn_nop # as_fn_mkdir_p # ------------- @@ -332,7 +334,7 @@ as_fn_mkdir_p () as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" @@ -341,7 +343,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X"$as_dir" | +printf '%s\n' X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -386,11 +388,12 @@ then : { eval $1+=\$2 }' -else $as_nop - as_fn_append () +else case e in #( + e) as_fn_append () { eval $1=\$$1\$2 - } + } ;; +esac fi # as_fn_append # as_fn_arith ARG... @@ -404,21 +407,14 @@ then : { as_val=$(( $* )) }' -else $as_nop - as_fn_arith () +else case e in #( + e) as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` - } + } ;; +esac fi # as_fn_arith -# as_fn_nop -# --------- -# Do nothing but, unlike ":", preserve the value of $?. -as_fn_nop () -{ - return $? -} -as_nop=as_fn_nop # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- @@ -430,9 +426,9 @@ as_fn_error () as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - printf "%s\n" "$as_me: error: $2" >&2 + printf '%s\n' "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error @@ -459,7 +455,7 @@ as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X/"$0" | +printf '%s\n' X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -492,6 +488,8 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits /[$]LINENO/= ' <$as_myself | sed ' + t clear + :clear s/[$]LINENO.*/&-/ t lineno b @@ -503,7 +501,7 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || - { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + { printf '%s\n' "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall @@ -517,30 +515,6 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits exit } - -# Determine whether it's possible to make 'echo' print without a newline. -# These variables are no longer used directly by Autoconf, but are AC_SUBSTed -# for compatibility with existing Makefiles. -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -# For backward compatibility with old third-party macros, we provide -# the shell variables $as_echo and $as_echo_n. New code should use -# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. -as_echo='printf %s\n' -as_echo_n='printf %s' - - rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -552,9 +526,9 @@ if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -pR'. + # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. + # In both cases, we have to default to 'cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then @@ -579,10 +553,12 @@ as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" +as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" +as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated # Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" +as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" +as_tr_sh="eval sed '$as_sed_sh'" # deprecated test -n "$DJDIR" || exec 7<&0 /dev/null | sed 1q` # Initializations. # ac_default_prefix=/usr/local +ac_clean_CONFIG_STATUS= ac_clean_files= ac_config_libobj_dir=. LIBOBJS= @@ -669,6 +646,7 @@ enable_experimental_sdt enable_utrace enable_fill enable_prof +enable_experimental_fiber_safe_tls enable_experimental_smallocx enable_stats enable_debug @@ -677,6 +655,7 @@ install_suffix private_namespace JEMALLOC_CPREFIX JEMALLOC_PREFIX +have_ucontext enable_static enable_shared enable_doc @@ -731,6 +710,8 @@ build EXTRA_CXXFLAGS SPECIFIED_CXXFLAGS CONFIGURE_CXXFLAGS +enable_cxx_infallible_new +enable_cxx_exceptions enable_cxx HAVE_CXX14 HAVE_CXX17 @@ -762,13 +743,13 @@ abs_srcroot srcroot rev CONFIG +ECHO_T +ECHO_N +ECHO_C target_alias host_alias build_alias LIBS -ECHO_T -ECHO_N -ECHO_C DEFS mandir localedir @@ -807,6 +788,7 @@ enable_option_checking with_xslroot enable_cxx with_cxx_stdlib +enable_cxx_infallible_new with_lg_vaddr with_version with_rpath @@ -824,10 +806,10 @@ enable_debug enable_stats enable_user_config enable_experimental_smallocx +enable_experimental_fiber_safe_tls enable_prof enable_prof_libunwind with_static_libunwind -enable_prof_frameptr enable_prof_libgcc enable_prof_gcc enable_dss @@ -976,9 +958,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: \`$ac_useropt'" + as_fn_error $? "invalid feature name: '$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -1002,9 +984,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: \`$ac_useropt'" + as_fn_error $? "invalid feature name: '$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -1215,9 +1197,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: \`$ac_useropt'" + as_fn_error $? "invalid package name: '$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1231,9 +1213,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: \`$ac_useropt'" + as_fn_error $? "invalid package name: '$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1261,8 +1243,8 @@ do | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; - -*) as_fn_error $? "unrecognized option: \`$ac_option' -Try \`$0 --help' for more information" + -*) as_fn_error $? "unrecognized option: '$ac_option' +Try '$0 --help' for more information" ;; *=*) @@ -1270,16 +1252,16 @@ Try \`$0 --help' for more information" # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) - as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + as_fn_error $? "invalid variable name: '$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. - printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 + printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 + printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; @@ -1287,7 +1269,7 @@ Try \`$0 --help' for more information" done if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` + ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi @@ -1295,7 +1277,7 @@ if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; - *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + *) printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi @@ -1320,7 +1302,7 @@ do as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done -# There might be people who depend on the old broken behavior: `$host' +# There might be people who depend on the old broken behavior: '$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias @@ -1359,7 +1341,7 @@ $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X"$as_myself" | +printf '%s\n' X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -1388,7 +1370,7 @@ if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` @@ -1416,7 +1398,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. +'configure' configures this package to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1430,11 +1412,11 @@ Configuration: --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking ...' messages + -q, --quiet, --silent do not print 'checking ...' messages --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' + -C, --config-cache alias for '--cache-file=config.cache' -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] + --srcdir=DIR find the sources in DIR [configure dir or '..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX @@ -1442,10 +1424,10 @@ Installation directories: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. +By default, 'make install' will install all the files in +'$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify +an installation prefix other than '$ac_default_prefix' using '--prefix', +for instance '--prefix=\$HOME'. For better control, use the options below. @@ -1489,6 +1471,9 @@ Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-cxx Disable C++ integration + --enable-cxx-infallible-new + Abort on OOM in throwing operator new instead of + throwing std::bad_alloc --enable-autogen Automatically regenerate configure output --enable-doc Build documentation --enable-shared Build shared libaries @@ -1499,10 +1484,12 @@ Optional Features: MALLOC_CONF --enable-experimental-smallocx Enable experimental smallocx API + --enable-experimental-fiber-safe-tls + Make jemalloc's own TLS access safe for fibers that + migrate across threads (partial mitigation; see + INSTALL.md) --enable-prof Enable allocation profiling --enable-prof-libunwind Use libunwind for backtracing - --enable-prof-frameptr Use optimized frame pointer unwinder for backtracing - (Linux only) --disable-prof-libgcc Do not use libgcc for backtracing --disable-prof-gcc Do not use gcc intrinsics for backtracing --disable-dss Disable usage of sbrk(2) @@ -1587,7 +1574,7 @@ Some influential environment variables: CXX C++ compiler command CXXFLAGS C++ compiler flags -Use these variables to override the choices made by `configure' or to help +Use these variables to override the choices made by 'configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to the package provider. @@ -1606,9 +1593,9 @@ if test "$ac_init_help" = "recursive"; then case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -1645,7 +1632,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix echo && $SHELL "$ac_srcdir/configure" --help=recursive else - printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done @@ -1655,9 +1642,9 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF configure -generated by GNU Autoconf 2.71 +generated by GNU Autoconf 2.73 -Copyright (C) 2021 Free Software Foundation, Inc. +Copyright (C) 2026 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1681,7 +1668,7 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf "%s\n" "$ac_try_echo"; } >&5 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -1689,18 +1676,19 @@ printf "%s\n" "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext then : ac_retval=0 -else $as_nop - printf "%s\n" "$as_me: failed program was:" >&5 +else case e in #( + e) printf '%s\n' "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=1 + ac_retval=1 ;; +esac fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval @@ -1719,7 +1707,7 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf "%s\n" "$ac_try_echo"; } >&5 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -1727,18 +1715,19 @@ printf "%s\n" "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err } then : ac_retval=0 -else $as_nop - printf "%s\n" "$as_me: failed program was:" >&5 +else case e in #( + e) printf '%s\n' "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=1 + ac_retval=1 ;; +esac fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval @@ -1758,7 +1747,7 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf "%s\n" "$ac_try_echo"; } >&5 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -1766,18 +1755,19 @@ printf "%s\n" "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext then : ac_retval=0 -else $as_nop - printf "%s\n" "$as_me: failed program was:" >&5 +else case e in #( + e) printf '%s\n' "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=1 + ac_retval=1 ;; +esac fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval @@ -1797,7 +1787,7 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf "%s\n" "$ac_try_echo"; } >&5 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -1805,7 +1795,7 @@ printf "%s\n" "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err @@ -1815,11 +1805,12 @@ printf "%s\n" "$ac_try_echo"; } >&5 } then : ac_retval=0 -else $as_nop - printf "%s\n" "$as_me: failed program was:" >&5 +else case e in #( + e) printf '%s\n' "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=1 + ac_retval=1 ;; +esac fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would @@ -1831,6 +1822,54 @@ fi } # ac_fn_c_try_link +# ac_fn_cxx_try_link LINENO +# ------------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_cxx_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +printf '%s\n' "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + test -x conftest$ac_exeext + } +then : + ac_retval=0 +else case e in #( + e) printf '%s\n' "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 ;; +esac +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_cxx_try_link + # ac_fn_c_try_run LINENO # ---------------------- # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that @@ -1844,29 +1883,30 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf "%s\n" "$ac_try_echo"; } >&5 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf "%s\n" "$ac_try_echo"; } >&5 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } then : ac_retval=0 -else $as_nop - printf "%s\n" "$as_me: program exited with status $ac_status" >&5 - printf "%s\n" "$as_me: failed program was:" >&5 +else case e in #( + e) printf '%s\n' "$as_me: program exited with status $ac_status" >&5 + printf '%s\n' "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=$ac_status + ac_retval=$ac_status ;; +esac fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno @@ -1881,13 +1921,13 @@ fi ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> @@ -1895,14 +1935,16 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : eval "$3=yes" -else $as_nop - eval "$3=no" +else case e in #( + e) eval "$3=no" ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf '%s\n' "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile @@ -1952,18 +1994,19 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_hi=$ac_mid; break -else $as_nop - as_fn_arith $ac_mid + 1 && ac_lo=$as_val +else case e in #( + e) as_fn_arith $ac_mid + 1 && ac_lo=$as_val if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi - as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int @@ -1998,20 +2041,23 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_lo=$ac_mid; break -else $as_nop - as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val +else case e in #( + e) as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi - as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done -else $as_nop - ac_lo= ac_hi= +else case e in #( + e) ac_lo= ac_hi= ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext # Binary search between lo and hi bounds. @@ -2034,8 +2080,9 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_hi=$ac_mid -else $as_nop - as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val +else case e in #( + e) as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done @@ -2083,8 +2130,9 @@ _ACEOF if ac_fn_c_try_run "$LINENO" then : echo >>conftest.val; read $3 &5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. */ + which can conflict with char $2 (void); below. */ #include #undef $2 @@ -2126,7 +2174,7 @@ else $as_nop #ifdef __cplusplus extern "C" #endif -char $2 (); +char $2 (void); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ @@ -2145,15 +2193,17 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : eval "$3=yes" -else $as_nop - eval "$3=no" +else case e in #( + e) eval "$3=no" ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf '%s\n' "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func @@ -2166,13 +2216,13 @@ ac_fn_check_decl () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack as_decl_name=`echo $2|sed 's/ *(.*//'` - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 printf %s "checking whether $as_decl_name is declared... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 -else $as_nop - as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` +else case e in #( + e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` eval ac_save_FLAGS=\$$6 as_fn_append $6 " $5" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -2196,16 +2246,18 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : eval "$3=yes" -else $as_nop - eval "$3=no" +else case e in #( + e) eval "$3=no" ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext eval $6=\$ac_save_FLAGS - + ;; +esac fi eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf '%s\n' "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_check_decl @@ -2217,13 +2269,13 @@ printf "%s\n" "$ac_res" >&6; } ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 -else $as_nop - eval "$3=no" +else case e in #( + e) eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 @@ -2253,16 +2305,18 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : -else $as_nop - eval "$3=yes" +else case e in #( + e) eval "$3=yes" ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf '%s\n' "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_type @@ -2271,7 +2325,7 @@ for ac_arg do case $ac_arg in *\'*) - ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append ac_configure_args_raw " '$ac_arg'" done @@ -2283,7 +2337,7 @@ case $ac_configure_args_raw in ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. ac_unsafe_a="$ac_unsafe_z#~" ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" - ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; + ac_configure_args_raw=` printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; esac cat >config.log <<_ACEOF @@ -2291,7 +2345,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was -generated by GNU Autoconf 2.71. Invocation command line was +generated by GNU Autoconf 2.73. Invocation command line was $ $0$ac_configure_args_raw @@ -2331,7 +2385,7 @@ do */) ;; *) as_dir=$as_dir/ ;; esac - printf "%s\n" "PATH: $as_dir" + printf '%s\n' "PATH: $as_dir" done IFS=$as_save_IFS @@ -2366,7 +2420,7 @@ do | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) - ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; @@ -2395,31 +2449,22 @@ done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -trap 'exit_status=$? - # Sanitize IFS. - IFS=" "" $as_nl" - # Save into config.log some information that might help in debugging. - { - echo - - printf "%s\n" "## ---------------- ## -## Cache variables. ## -## ---------------- ##" - echo - # The following way of writing the cache mishandles newlines in values, +# Dump the cache to stdout. It can be in a pipe (this is a requirement). +ac_cache_dump () +{ + # The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. ( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -2428,67 +2473,95 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} esac ;; esac done + (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) + # 'set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) + # 'set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) - echo +} + +# Print debugging info to stdout. +ac_dump_debugging_info () +{ + echo - printf "%s\n" "## ----------------- ## + printf '%s\n' "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + ac_cache_dump + echo + + printf '%s\n' "## ----------------- ## ## Output variables. ## ## ----------------- ##" + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;; + esac + printf '%s\n' "$ac_var='$ac_val'" + done | sort + echo + + if test -n "$ac_subst_files"; then + printf '%s\n' "## ------------------- ## +## File substitutions. ## +## ------------------- ##" echo - for ac_var in $ac_subst_vars + for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in - *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;; esac - printf "%s\n" "$ac_var='\''$ac_val'\''" + printf '%s\n' "$ac_var='$ac_val'" done | sort echo + fi - if test -n "$ac_subst_files"; then - printf "%s\n" "## ------------------- ## -## File substitutions. ## -## ------------------- ##" - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - printf "%s\n" "$ac_var='\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - printf "%s\n" "## ----------- ## + if test -s confdefs.h; then + printf '%s\n' "## ----------- ## ## confdefs.h. ## ## ----------- ##" - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - printf "%s\n" "$as_me: caught signal $ac_signal" - printf "%s\n" "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + printf '%s\n' "$as_me: caught signal $ac_signal" + printf '%s\n' "$as_me: exit $exit_status" +} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. +ac_exit_trap () +{ + exit_status= + # Sanitize IFS. + IFS=" "" $as_nl" + # Save into config.log some information that might help in debugging. + ac_dump_debugging_info >&5 + eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status -' 0 +} + +trap 'ac_exit_trap $?' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done @@ -2497,21 +2570,21 @@ ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h -printf "%s\n" "/* confdefs.h */" > confdefs.h +printf '%s\n' "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. -printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h +printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h -printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h +printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h -printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h +printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h -printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h +printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h -printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h +printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h -printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h +printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h # Let the site file select an alternate cache file if it wants to. @@ -2533,14 +2606,14 @@ do ac_site_file=./$ac_site_file ;; esac if test -f "$ac_site_file" && test -r "$ac_site_file"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ - || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } fi done @@ -2548,27 +2621,120 @@ if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -printf "%s\n" "$as_me: loading cache $cache_file" >&6;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +printf '%s\n' "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -printf "%s\n" "$as_me: creating cache $cache_file" >&6;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +printf '%s\n' "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +# Test code for whether the C compiler supports C23 (global declarations) +ac_c_conftest_c23_globals=' +/* Does the compiler advertise conformance to C17 or earlier? + Although GCC 14 does not do that, even with -std=gnu23, + it is close enough, and defines __STDC_VERSION == 202000L. */ +#if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L +# error "Compiler advertises conformance to C17 or earlier" +#endif + +// Check alignas. +char alignas (double) c23_aligned_as_double; +char alignas (0) c23_no_special_alignment; +extern char c23_aligned_as_int; +char alignas (0) alignas (int) c23_aligned_as_int; + +// Check alignof. +enum +{ + c23_int_alignment = alignof (int), + c23_int_array_alignment = alignof (int[100]), + c23_char_alignment = alignof (char) +}; +static_assert (0 < -alignof (int), "alignof is signed"); + +int function_with_unnamed_parameter (int) { return 0; } + +void c23_noreturn (); + +/* Test parsing of string and char UTF-8 literals (including hex escapes). + The parens pacify GCC 15. */ +bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\''); + +bool check_that_bool_works = true | false | !nullptr; +#if !true +# error "true does not work in #if" +#endif +#if false +#elifdef __STDC_VERSION__ +#else +# error "#elifdef does not work" +#endif + +#ifndef __has_c_attribute +# error "__has_c_attribute not defined" +#endif + +#ifndef __has_include +# error "__has_include not defined" +#endif + +#define LPAREN() ( +#define FORTY_TWO(x) 42 +#define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x)) +static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42); + +static_assert (0b101010 == 42); +static_assert (0B101010 == 42); +static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559); +static_assert (0.500'\''000'\''000 == 0.5); + +enum unsignedish : unsigned int { uione = 1 }; +static_assert (0 < -uione); + +#include +constexpr nullptr_t null_pointer = nullptr; + +static typeof (1 + 1L) two () { return 2; } +static long int three () { return 3; } +' + +# Test code for whether the C compiler supports C23 (body of main). +ac_c_conftest_c23_main=' + { + label_before_declaration: + int arr[10] = {}; + if (arr[0]) + goto label_before_declaration; + if (!arr[0]) + goto label_at_end_of_block; + label_at_end_of_block: + } + ok |= !null_pointer; + ok |= two != three; +' + +# Test code for whether the C compiler supports C23 (complete). +ac_c_conftest_c23_program="${ac_c_conftest_c23_globals} + +int +main (int, char **) +{ + int ok = 0; + ${ac_c_conftest_c23_main} + return ok; +} +" + # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' -/* Does the compiler advertise C89 conformance? - Do not test the value of __STDC__, because some compilers set it to 0 - while being otherwise adequately conformant. */ -#if !defined __STDC__ -# error "Compiler does not advertise C89 conformance" -#endif +/* Do not test the value of __STDC__, because some compilers define it to 0 + or do not define it, while otherwise adequately conforming. */ #include #include @@ -2576,9 +2742,7 @@ struct stat; /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ struct buf { int x; }; struct buf * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; +static char *e (char **p, int i) { return p[i]; } @@ -2592,6 +2756,21 @@ static char *f (char * (*g) (char **, int), char **p, ...) return s; } +/* C89 style stringification. */ +#define noexpand_stringify(a) #a +const char *stringified = noexpand_stringify(arbitrary+token=sequence); + +/* C89 style token pasting. Exercises some of the corner cases that + e.g. old MSVC gets wrong, but not very hard. */ +#define noexpand_concat(a,b) a##b +#define expand_concat(a,b) noexpand_concat(a,b) +extern int vA; +extern int vbee; +#define aye A +#define bee B +int *pvA = &expand_concat(v,aye); +int *pvbee = &noexpand_concat(v,bee); + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not \xHH hex character constants. These do not provoke an error unfortunately, instead are silently treated @@ -2619,20 +2798,24 @@ ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); # Test code for whether the C compiler supports C99 (global declarations) ac_c_conftest_c99_globals=' -// Does the compiler advertise C99 conformance? +/* Does the compiler advertise C99 conformance? */ #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L # error "Compiler does not advertise C99 conformance" #endif +// See if C++-style comments work. + #include extern int puts (const char *); extern int printf (const char *, ...); extern int dprintf (int, const char *, ...); extern void *malloc (size_t); +extern void free (void *); // Check varargs macros. These examples are taken from C99 6.10.3.5. // dprintf is used instead of fprintf to avoid needing to declare -// FILE and stderr. +// FILE and stderr, and "aND" is used instead of "and" to work around +// GCC bug 40564 which is irrelevant here. #define debug(...) dprintf (2, __VA_ARGS__) #define showlist(...) puts (#__VA_ARGS__) #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) @@ -2643,7 +2826,7 @@ test_varargs_macros (void) int y = 5678; debug ("Flag"); debug ("X = %d\n", x); - showlist (The first, second, and third items.); + showlist (The first, second, aND third items.); report (x>y, "x is %d but y is %d", x, y); } @@ -2678,7 +2861,6 @@ typedef const char *ccp; static inline int test_restrict (ccp restrict text) { - // See if C++-style comments work. // Iterate through items via the restricted pointer. // Also check for declarations in for loops. for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) @@ -2732,18 +2914,20 @@ ac_c_conftest_c99_main=' // Check restrict. if (test_restrict ("String literal") == 0) success = true; - char *restrict newvar = "Another string"; + const char *restrict newvar = "Another string"; // Check varargs. success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); test_varargs_macros (); // Check flexible array members. - struct incomplete_array *ia = - malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); + static struct incomplete_array *volatile incomplete_array_pointer; + struct incomplete_array *ia = incomplete_array_pointer; ia->datasize = 10; for (int i = 0; i < ia->datasize; ++i) ia->data[i] = i * 1.234; + // Work around memory leak warnings. + free (ia); // Check named initializers. struct named_init ni = { @@ -2754,18 +2938,17 @@ ac_c_conftest_c99_main=' ni.number = 58; - int dynamic_array[ni.number]; - dynamic_array[0] = argv[0][0]; - dynamic_array[ni.number - 1] = 543; + // Do not test for VLAs, as some otherwise-conforming compilers lack them. + // C code should instead use __STDC_NO_VLA__; see Autoconf manual. // work around unused variable warnings ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' - || dynamic_array[ni.number - 1] != 543); + || ni.number != 58); ' # Test code for whether the C compiler supports C11 (global declarations) ac_c_conftest_c11_globals=' -// Does the compiler advertise C11 conformance? +/* Does the compiler advertise C11 conformance? */ #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L # error "Compiler does not advertise C11 conformance" #endif @@ -2869,259 +3052,43 @@ main (int argc, char **argv) } " -# Test code for whether the C++ compiler supports C++98 (global declarations) -ac_cxx_conftest_cxx98_globals=' -// Does the compiler advertise C++98 conformance? -#if !defined __cplusplus || __cplusplus < 199711L -# error "Compiler does not advertise C++98 conformance" -#endif - -// These inclusions are to reject old compilers that -// lack the unsuffixed header files. -#include -#include - -// and are *not* freestanding headers in C++98. -extern void assert (int); -namespace std { - extern int strcmp (const char *, const char *); -} - -// Namespaces, exceptions, and templates were all added after "C++ 2.0". -using std::exception; -using std::strcmp; - -namespace { - -void test_exception_syntax() -{ - try { - throw "test"; - } catch (const char *s) { - // Extra parentheses suppress a warning when building autoconf itself, - // due to lint rules shared with more typical C programs. - assert (!(strcmp) (s, "test")); - } -} +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" +as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" +as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" +as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" +as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" +as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" +as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" +as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" +as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" -template struct test_template -{ - T const val; - explicit test_template(T t) : val(t) {} - template T add(U u) { return static_cast(u) + val; } -}; +# Auxiliary files required by this configure script. +ac_aux_files="install-sh config.guess config.sub" -} // anonymous namespace -' +# Locations in which to look for auxiliary files. +ac_aux_dir_candidates="${srcdir}/build-aux" -# Test code for whether the C++ compiler supports C++98 (body of main) -ac_cxx_conftest_cxx98_main=' - assert (argc); - assert (! argv[0]); -{ - test_exception_syntax (); - test_template tt (2.0); - assert (tt.add (4) == 6.0); - assert (true && !false); -} -' +# Search for a directory containing all of the required auxiliary files, +# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. +# If we don't find one directory that contains all the files we need, +# we report the set of missing files from the *first* directory in +# $ac_aux_dir_candidates and give up. +ac_missing_aux_files="" +ac_first_candidate=: +printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in $ac_aux_dir_candidates +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + as_found=: -# Test code for whether the C++ compiler supports C++11 (global declarations) -ac_cxx_conftest_cxx11_globals=' -// Does the compiler advertise C++ 2011 conformance? -#if !defined __cplusplus || __cplusplus < 201103L -# error "Compiler does not advertise C++11 conformance" -#endif - -namespace cxx11test -{ - constexpr int get_val() { return 20; } - - struct testinit - { - int i; - double d; - }; - - class delegate - { - public: - delegate(int n) : n(n) {} - delegate(): delegate(2354) {} - - virtual int getval() { return this->n; }; - protected: - int n; - }; - - class overridden : public delegate - { - public: - overridden(int n): delegate(n) {} - virtual int getval() override final { return this->n * 2; } - }; - - class nocopy - { - public: - nocopy(int i): i(i) {} - nocopy() = default; - nocopy(const nocopy&) = delete; - nocopy & operator=(const nocopy&) = delete; - private: - int i; - }; - - // for testing lambda expressions - template Ret eval(Fn f, Ret v) - { - return f(v); - } - - // for testing variadic templates and trailing return types - template auto sum(V first) -> V - { - return first; - } - template auto sum(V first, Args... rest) -> V - { - return first + sum(rest...); - } -} -' - -# Test code for whether the C++ compiler supports C++11 (body of main) -ac_cxx_conftest_cxx11_main=' -{ - // Test auto and decltype - auto a1 = 6538; - auto a2 = 48573953.4; - auto a3 = "String literal"; - - int total = 0; - for (auto i = a3; *i; ++i) { total += *i; } - - decltype(a2) a4 = 34895.034; -} -{ - // Test constexpr - short sa[cxx11test::get_val()] = { 0 }; -} -{ - // Test initializer lists - cxx11test::testinit il = { 4323, 435234.23544 }; -} -{ - // Test range-based for - int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, - 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; - for (auto &x : array) { x += 23; } -} -{ - // Test lambda expressions - using cxx11test::eval; - assert (eval ([](int x) { return x*2; }, 21) == 42); - double d = 2.0; - assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); - assert (d == 5.0); - assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); - assert (d == 5.0); -} -{ - // Test use of variadic templates - using cxx11test::sum; - auto a = sum(1); - auto b = sum(1, 2); - auto c = sum(1.0, 2.0, 3.0); -} -{ - // Test constructor delegation - cxx11test::delegate d1; - cxx11test::delegate d2(); - cxx11test::delegate d3(45); -} -{ - // Test override and final - cxx11test::overridden o1(55464); -} -{ - // Test nullptr - char *c = nullptr; -} -{ - // Test template brackets - test_template<::test_template> v(test_template(12)); -} -{ - // Unicode literals - char const *utf8 = u8"UTF-8 string \u2500"; - char16_t const *utf16 = u"UTF-8 string \u2500"; - char32_t const *utf32 = U"UTF-32 string \u2500"; -} -' - -# Test code for whether the C compiler supports C++11 (complete). -ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals} -${ac_cxx_conftest_cxx11_globals} - -int -main (int argc, char **argv) -{ - int ok = 0; - ${ac_cxx_conftest_cxx98_main} - ${ac_cxx_conftest_cxx11_main} - return ok; -} -" - -# Test code for whether the C compiler supports C++98 (complete). -ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals} -int -main (int argc, char **argv) -{ - int ok = 0; - ${ac_cxx_conftest_cxx98_main} - return ok; -} -" - -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" -as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" -as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" -as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" -as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" -as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" -as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" -as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" -as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" - -# Auxiliary files required by this configure script. -ac_aux_files="install-sh config.guess config.sub" - -# Locations in which to look for auxiliary files. -ac_aux_dir_candidates="${srcdir}/build-aux" - -# Search for a directory containing all of the required auxiliary files, -# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. -# If we don't find one directory that contains all the files we need, -# we report the set of missing files from the *first* directory in -# $ac_aux_dir_candidates and give up. -ac_missing_aux_files="" -ac_first_candidate=: -printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_found=false -for as_dir in $ac_aux_dir_candidates -do - IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - as_found=: - - printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 ac_aux_dir_found=yes ac_install_sh= for ac_aux in $ac_aux_files @@ -3132,13 +3099,13 @@ do if test x"$ac_aux" = x"install-sh" then if test -f "${as_dir}install-sh"; then - printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 ac_install_sh="${as_dir}install-sh -c" elif test -f "${as_dir}install.sh"; then - printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 ac_install_sh="${as_dir}install.sh -c" elif test -f "${as_dir}shtool"; then - printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 ac_install_sh="${as_dir}shtool install -c" else ac_aux_dir_found=no @@ -3150,7 +3117,7 @@ do fi else if test -f "${as_dir}${ac_aux}"; then - printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 else ac_aux_dir_found=no if $ac_first_candidate; then @@ -3173,8 +3140,9 @@ IFS=$as_save_IFS if $as_found then : -else $as_nop - as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 +else case e in #( + e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;; +esac fi @@ -3202,38 +3170,44 @@ for ac_var in $ac_precious_vars; do eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5 +printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5 +printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. - ac_old_val_w=`echo x $ac_old_val` - ac_new_val_w=`echo x $ac_new_val` + ac_old_val_w= + for ac_val in x $ac_old_val; do + ac_old_val_w="$ac_old_val_w $ac_val" + done + ac_new_val_w= + for ac_val in x $ac_new_val; do + ac_new_val_w="$ac_new_val_w $ac_val" + done if test "$ac_old_val_w" != "$ac_new_val_w"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5 +printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5 +printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5 +printf '%s\n' "$as_me: former value: '$ac_old_val'" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5 +printf '%s\n' "$as_me: current value: '$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in - *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in @@ -3243,17 +3217,34 @@ printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} fi done if $ac_cache_corrupted; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBSTed +# for compatibility with existing Makefiles. +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -3309,40 +3300,38 @@ abs_objroot="`pwd`/" case "$prefix" in - *\ * ) as_fn_error $? "Prefix should not contain spaces" "$LINENO" 5 ;; "NONE" ) prefix="/usr/local" ;; esac case "$exec_prefix" in - *\ * ) as_fn_error $? "Exec prefix should not contain spaces" "$LINENO" 5 ;; "NONE" ) exec_prefix=$prefix ;; esac PREFIX=$prefix -BINDIR=`eval echo $bindir` -BINDIR=`eval echo $BINDIR` +BINDIR=`eval echo "\"$bindir\""` +BINDIR=`eval echo "\"$BINDIR\""` -INCLUDEDIR=`eval echo $includedir` -INCLUDEDIR=`eval echo $INCLUDEDIR` +INCLUDEDIR=`eval echo "\"$includedir\""` +INCLUDEDIR=`eval echo "\"$INCLUDEDIR\""` -LIBDIR=`eval echo $libdir` -LIBDIR=`eval echo $LIBDIR` +LIBDIR=`eval echo "\"$libdir\""` +LIBDIR=`eval echo "\"$LIBDIR\""` -DATADIR=`eval echo $datadir` -DATADIR=`eval echo $DATADIR` +DATADIR=`eval echo "\"$datadir\""` +DATADIR=`eval echo "\"$DATADIR\""` -MANDIR=`eval echo $mandir` -MANDIR=`eval echo $MANDIR` +MANDIR=`eval echo "\"$mandir\""` +MANDIR=`eval echo "\"$MANDIR\""` # Extract the first word of "xsltproc", so it can be a program name with args. set dummy xsltproc; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_XSLTPROC+y} then : printf %s "(cached) " >&6 -else $as_nop - case $XSLTPROC in +else case e in #( + e) case $XSLTPROC in [\\/]* | ?:[\\/]*) ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. ;; @@ -3359,7 +3348,7 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -3368,15 +3357,16 @@ IFS=$as_save_IFS test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="false" ;; +esac ;; esac fi XSLTPROC=$ac_cv_path_XSLTPROC if test -n "$XSLTPROC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 -printf "%s\n" "$XSLTPROC" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 +printf '%s\n' "$XSLTPROC" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -3398,9 +3388,10 @@ else XSLROOT="${with_xslroot}" fi -else $as_nop - XSLROOT="${DEFAULT_XSLROOT}" - +else case e in #( + e) XSLROOT="${DEFAULT_XSLROOT}" + ;; +esac fi if test "x$XSLTPROC" = "xfalse" ; then @@ -3418,6 +3409,9 @@ CFLAGS=$CFLAGS + + + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -3426,13 +3420,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$CC"; then +else case e in #( + e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3447,22 +3441,23 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -printf "%s\n" "$CC" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf '%s\n' "$CC" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -3471,13 +3466,13 @@ if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_CC"; then +else case e in #( + e) if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3492,22 +3487,23 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -printf "%s\n" "$ac_ct_CC" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf '%s\n' "$ac_ct_CC" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi if test "x$ac_ct_CC" = x; then @@ -3515,8 +3511,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -3529,13 +3525,13 @@ if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$CC"; then +else case e in #( + e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3550,22 +3546,23 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -printf "%s\n" "$CC" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf '%s\n' "$CC" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -3574,13 +3571,13 @@ fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$CC"; then +else case e in #( + e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no @@ -3600,7 +3597,7 @@ do continue fi ac_cv_prog_CC="cc" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -3619,15 +3616,16 @@ if test $ac_prog_rejected = yes; then ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" fi fi -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -printf "%s\n" "$CC" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf '%s\n' "$CC" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -3638,13 +3636,13 @@ if test -z "$CC"; then do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$CC"; then +else case e in #( + e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3659,22 +3657,23 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -printf "%s\n" "$CC" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf '%s\n' "$CC" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -3687,13 +3686,13 @@ if test -z "$CC"; then do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_CC"; then +else case e in #( + e) if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3708,22 +3707,23 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -printf "%s\n" "$ac_ct_CC" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf '%s\n' "$ac_ct_CC" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -3735,8 +3735,8 @@ done else case $cross_compiling:$ac_tool_warned in yes:) -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -3748,13 +3748,13 @@ if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. set dummy ${ac_tool_prefix}clang; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$CC"; then +else case e in #( + e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3769,22 +3769,23 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}clang" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -printf "%s\n" "$CC" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf '%s\n' "$CC" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -3793,13 +3794,13 @@ if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "clang", so it can be a program name with args. set dummy clang; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_CC"; then +else case e in #( + e) if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3814,22 +3815,23 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="clang" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -printf "%s\n" "$ac_ct_CC" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf '%s\n' "$ac_ct_CC" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi if test "x$ac_ct_CC" = x; then @@ -3837,8 +3839,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -3850,13 +3852,13 @@ fi fi -test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. -printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion -version; do @@ -3866,7 +3868,7 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf "%s\n" "$ac_try_echo"; } >&5 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -3876,7 +3878,7 @@ printf "%s\n" "$ac_try_echo"; } >&5 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done @@ -3896,9 +3898,9 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 printf %s "checking whether the C compiler works... " >&6; } -ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` +ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" @@ -3919,14 +3921,14 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf "%s\n" "$ac_try_echo"; } >&5 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then : - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' + # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'. +# So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. @@ -3946,7 +3948,7 @@ do ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' + # safe: cross compilers may not add the suffix if given an '-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. @@ -3957,33 +3959,35 @@ do done test "$ac_cv_exeext" = no && ac_cv_exeext= -else $as_nop - ac_file='' +else case e in #( + e) ac_file='' ;; +esac fi if test -z "$ac_file" then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } -printf "%s\n" "$as_me: failed program was:" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } +printf '%s\n' "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables -See \`config.log' for more details" "$LINENO" 5; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } +See 'config.log' for more details" "$LINENO" 5; } +else case e in #( + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 printf %s "checking for C compiler default output file name... " >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -printf "%s\n" "$ac_file" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +printf '%s\n' "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 printf %s "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in @@ -3991,16 +3995,16 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf "%s\n" "$ac_try_echo"; } >&5 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then : - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. + # If both 'conftest.exe' and 'conftest' are 'present' (well, observable) +# catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will +# work properly (i.e., refer to 'conftest.exe'), while it won't with +# 'rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in @@ -4010,15 +4014,16 @@ for ac_file in conftest.exe conftest conftest.*; do * ) break;; esac done -else $as_nop - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +else case e in #( + e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } ;; +esac fi rm -f conftest conftest$ac_cv_exeext -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -printf "%s\n" "$ac_cv_exeext" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +printf '%s\n' "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext @@ -4030,6 +4035,8 @@ int main (void) { FILE *f = fopen ("conftest.out", "w"); + if (!f) + return 1; return ferror (f) || fclose (f) != 0; ; @@ -4039,7 +4046,7 @@ _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 printf %s "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" @@ -4048,10 +4055,10 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf "%s\n" "$ac_try_echo"; } >&5 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in @@ -4059,36 +4066,37 @@ printf "%s\n" "$ac_try_echo"; } >&5 *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf "%s\n" "$ac_try_echo"; } >&5 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error 77 "cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details" "$LINENO" 5; } +If you meant to cross compile, use '--host'. +See 'config.log' for more details" "$LINENO" 5; } fi fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -printf "%s\n" "$cross_compiling" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +printf '%s\n' "$cross_compiling" >&6; } -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +rm -f conftest.$ac_ext conftest$ac_cv_exeext \ + conftest.o conftest.obj conftest.out ac_clean_files=$ac_clean_files_save -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 printf %s "checking for suffix of object files... " >&6; } if test ${ac_cv_objext+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4106,10 +4114,10 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf "%s\n" "$ac_try_echo"; } >&5 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then : for ac_file in conftest.o conftest.obj conftest.*; do @@ -4120,28 +4128,30 @@ then : break;; esac done -else $as_nop - printf "%s\n" "$as_me: failed program was:" >&5 +else case e in #( + e) printf '%s\n' "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } ;; +esac fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext +rm -f conftest.$ac_cv_objext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -printf "%s\n" "$ac_cv_objext" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +printf '%s\n' "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 printf %s "checking whether the compiler supports GNU C... " >&6; } if test ${ac_cv_c_compiler_gnu+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4158,15 +4168,17 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_compiler_gnu=yes -else $as_nop - ac_compiler_gnu=no +else case e in #( + e) ac_compiler_gnu=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu - + ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; } ac_compiler_gnu=$ac_cv_c_compiler_gnu if test $ac_compiler_gnu = yes; then @@ -4176,13 +4188,13 @@ else fi ac_test_CFLAGS=${CFLAGS+y} ac_save_CFLAGS=$CFLAGS -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 printf %s "checking whether $CC accepts -g... " >&6; } if test ${ac_cv_prog_cc_g+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_save_c_werror_flag=$ac_c_werror_flag +else case e in #( + e) ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" @@ -4200,8 +4212,8 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_g=yes -else $as_nop - CFLAGS="" +else case e in #( + e) CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -4216,8 +4228,8 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : -else $as_nop - ac_c_werror_flag=$ac_save_c_werror_flag +else case e in #( + e) ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -4234,15 +4246,18 @@ if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_g=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag + ac_c_werror_flag=$ac_save_c_werror_flag ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -printf "%s\n" "$ac_cv_prog_cc_g" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +printf '%s\n' "$ac_cv_prog_cc_g" >&6; } if test $ac_test_CFLAGS; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then @@ -4261,19 +4276,68 @@ fi ac_prog_cc_stdc=no if test x$ac_prog_cc_stdc = xno then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5 +printf %s "checking for $CC option to enable C23 features... " >&6; } +if test ${ac_cv_prog_cc_c23+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_prog_cc_c23=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_c_conftest_c23_program +_ACEOF +for ac_arg in '' -std=gnu23 +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_prog_cc_c23=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cc_c23" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC ;; +esac +fi + +if test "x$ac_cv_prog_cc_c23" = xno +then : + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf '%s\n' "unsupported" >&6; } +else case e in #( + e) if test "x$ac_cv_prog_cc_c23" = x +then : + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf '%s\n' "none needed" >&6; } +else case e in #( + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5 +printf '%s\n' "$ac_cv_prog_cc_c23" >&6; } + CC="$CC $ac_cv_prog_cc_c23" ;; +esac +fi + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23 + ac_prog_cc_stdc=c23 ;; +esac +fi +fi +if test x$ac_prog_cc_stdc = xno +then : + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 printf %s "checking for $CC option to enable C11 features... " >&6; } if test ${ac_cv_prog_cc_c11+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_cv_prog_cc_c11=no +else case e in #( + e) ac_cv_prog_cc_c11=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_c_conftest_c11_program _ACEOF -for ac_arg in '' -std=gnu11 +for ac_arg in '' -std=gnu11 -std:c11 do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO" @@ -4284,36 +4348,39 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c11" != "xno" && break done rm -f conftest.$ac_ext -CC=$ac_save_CC +CC=$ac_save_CC ;; +esac fi if test "x$ac_cv_prog_cc_c11" = xno then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -printf "%s\n" "unsupported" >&6; } -else $as_nop - if test "x$ac_cv_prog_cc_c11" = x -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -printf "%s\n" "none needed" >&6; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 -printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } - CC="$CC $ac_cv_prog_cc_c11" + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf '%s\n' "unsupported" >&6; } +else case e in #( + e) if test "x$ac_cv_prog_cc_c11" = x +then : + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf '%s\n' "none needed" >&6; } +else case e in #( + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 +printf '%s\n' "$ac_cv_prog_cc_c11" >&6; } + CC="$CC $ac_cv_prog_cc_c11" ;; +esac fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 - ac_prog_cc_stdc=c11 + ac_prog_cc_stdc=c11 ;; +esac fi fi if test x$ac_prog_cc_stdc = xno then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 printf %s "checking for $CC option to enable C99 features... " >&6; } if test ${ac_cv_prog_cc_c99+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_cv_prog_cc_c99=no +else case e in #( + e) ac_cv_prog_cc_c99=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -4330,36 +4397,39 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c99" != "xno" && break done rm -f conftest.$ac_ext -CC=$ac_save_CC +CC=$ac_save_CC ;; +esac fi if test "x$ac_cv_prog_cc_c99" = xno then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -printf "%s\n" "unsupported" >&6; } -else $as_nop - if test "x$ac_cv_prog_cc_c99" = x -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -printf "%s\n" "none needed" >&6; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 -printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } - CC="$CC $ac_cv_prog_cc_c99" + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf '%s\n' "unsupported" >&6; } +else case e in #( + e) if test "x$ac_cv_prog_cc_c99" = x +then : + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf '%s\n' "none needed" >&6; } +else case e in #( + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 +printf '%s\n' "$ac_cv_prog_cc_c99" >&6; } + CC="$CC $ac_cv_prog_cc_c99" ;; +esac fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 - ac_prog_cc_stdc=c99 + ac_prog_cc_stdc=c99 ;; +esac fi fi if test x$ac_prog_cc_stdc = xno then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 printf %s "checking for $CC option to enable C89 features... " >&6; } if test ${ac_cv_prog_cc_c89+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_cv_prog_cc_c89=no +else case e in #( + e) ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -4376,25 +4446,28 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext -CC=$ac_save_CC +CC=$ac_save_CC ;; +esac fi if test "x$ac_cv_prog_cc_c89" = xno then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -printf "%s\n" "unsupported" >&6; } -else $as_nop - if test "x$ac_cv_prog_cc_c89" = x -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -printf "%s\n" "none needed" >&6; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } - CC="$CC $ac_cv_prog_cc_c89" + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf '%s\n' "unsupported" >&6; } +else case e in #( + e) if test "x$ac_cv_prog_cc_c89" = x +then : + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf '%s\n' "none needed" >&6; } +else case e in #( + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +printf '%s\n' "$ac_cv_prog_cc_c89" >&6; } + CC="$CC $ac_cv_prog_cc_c89" ;; +esac fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 - ac_prog_cc_stdc=c89 + ac_prog_cc_stdc=c89 ;; +esac fi fi @@ -4407,13 +4480,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu if test "x$GCC" != "xyes" ; then -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler is MSVC" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler is MSVC" >&5 printf %s "checking whether compiler is MSVC... " >&6; } if test ${je_cv_msvc+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4431,13 +4504,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_msvc=yes -else $as_nop - je_cv_msvc=no +else case e in #( + e) je_cv_msvc=no ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_msvc" >&5 -printf "%s\n" "$je_cv_msvc" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_msvc" >&5 +printf '%s\n' "$je_cv_msvc" >&6; } fi je_cv_cray_prgenv_wrapper="" @@ -4451,13 +4526,13 @@ if test "x${PE_ENV}" != "x" ; then esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler is cray" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler is cray" >&5 printf %s "checking whether compiler is cray... " >&6; } if test ${je_cv_cray+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4475,22 +4550,24 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cray=yes -else $as_nop - je_cv_cray=no +else case e in #( + e) je_cv_cray=no ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_cray" >&5 -printf "%s\n" "$je_cv_cray" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_cray" >&5 +printf '%s\n' "$je_cv_cray" >&6; } if test "x${je_cv_cray}" = "xyes" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cray compiler version is 8.4" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether cray compiler version is 8.4" >&5 printf %s "checking whether cray compiler version is 8.4... " >&6; } if test ${je_cv_cray_84+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4508,18 +4585,20 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cray_84=yes -else $as_nop - je_cv_cray_84=no +else case e in #( + e) je_cv_cray_84=no ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_cray_84" >&5 -printf "%s\n" "$je_cv_cray_84" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_cray_84" >&5 +printf '%s\n' "$je_cv_cray_84" >&6; } fi if test "x$GCC" = "xyes" ; then -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -std=gnu11" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -std=gnu11" >&5 printf %s "checking whether compiler supports -std=gnu11... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-std=gnu11 @@ -4553,14 +4632,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-std=gnu11 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -4572,11 +4652,11 @@ fi if test "x$je_cv_cflags_added" = "x-std=gnu11" ; then -printf "%s\n" "#define JEMALLOC_HAS_RESTRICT " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAS_RESTRICT " >>confdefs.h else -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -std=gnu99" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -std=gnu99" >&5 printf %s "checking whether compiler supports -std=gnu99... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-std=gnu99 @@ -4610,14 +4690,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-std=gnu99 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -4629,12 +4710,12 @@ fi if test "x$je_cv_cflags_added" = "x-std=gnu99" ; then -printf "%s\n" "#define JEMALLOC_HAS_RESTRICT " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAS_RESTRICT " >>confdefs.h fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror=unknown-warning-option" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror=unknown-warning-option" >&5 printf %s "checking whether compiler supports -Werror=unknown-warning-option... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror=unknown-warning-option @@ -4668,14 +4749,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror=unknown-warning-option - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -4686,7 +4768,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wall" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wall" >&5 printf %s "checking whether compiler supports -Wall... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wall @@ -4720,14 +4802,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wall - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -4738,7 +4821,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wextra" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wextra" >&5 printf %s "checking whether compiler supports -Wextra... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wextra @@ -4772,14 +4855,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wextra - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -4790,7 +4874,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wshorten-64-to-32" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wshorten-64-to-32" >&5 printf %s "checking whether compiler supports -Wshorten-64-to-32... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wshorten-64-to-32 @@ -4824,14 +4908,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wshorten-64-to-32 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -4842,7 +4927,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wsign-compare" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wsign-compare" >&5 printf %s "checking whether compiler supports -Wsign-compare... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wsign-compare @@ -4876,14 +4961,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wsign-compare - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -4894,7 +4980,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wundef" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wundef" >&5 printf %s "checking whether compiler supports -Wundef... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wundef @@ -4928,14 +5014,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wundef - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -4946,7 +5033,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-format-zero-length" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-format-zero-length" >&5 printf %s "checking whether compiler supports -Wno-format-zero-length... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wno-format-zero-length @@ -4980,14 +5067,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wno-format-zero-length - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -4998,7 +5086,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wpointer-arith" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wpointer-arith" >&5 printf %s "checking whether compiler supports -Wpointer-arith... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wpointer-arith @@ -5032,14 +5120,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wpointer-arith - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5050,7 +5139,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-braces" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-braces" >&5 printf %s "checking whether compiler supports -Wno-missing-braces... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wno-missing-braces @@ -5084,14 +5173,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wno-missing-braces - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5102,7 +5192,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-field-initializers" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-field-initializers" >&5 printf %s "checking whether compiler supports -Wno-missing-field-initializers... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wno-missing-field-initializers @@ -5136,14 +5226,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wno-missing-field-initializers - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5154,7 +5245,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-attributes" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-attributes" >&5 printf %s "checking whether compiler supports -Wno-missing-attributes... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wno-missing-attributes @@ -5188,14 +5279,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wno-missing-attributes - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5206,7 +5298,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -pipe" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -pipe" >&5 printf %s "checking whether compiler supports -pipe... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-pipe @@ -5240,14 +5332,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-pipe - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5258,7 +5351,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -g3" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -g3" >&5 printf %s "checking whether compiler supports -g3... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-g3 @@ -5292,15 +5385,16 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-g3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - -fi + ;; +esac +fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then CFLAGS="${CONFIGURE_CFLAGS}${SPECIFIED_CFLAGS}" @@ -5312,7 +5406,7 @@ fi elif test "x$je_cv_msvc" = "xyes" ; then CC="$CC -nologo" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Zi" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Zi" >&5 printf %s "checking whether compiler supports -Zi... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Zi @@ -5346,14 +5440,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Zi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5364,7 +5459,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -MT" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -MT" >&5 printf %s "checking whether compiler supports -MT... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-MT @@ -5398,14 +5493,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-MT - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5416,7 +5512,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -W3" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -W3" >&5 printf %s "checking whether compiler supports -W3... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-W3 @@ -5450,14 +5546,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-W3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5468,7 +5565,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -FS" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -FS" >&5 printf %s "checking whether compiler supports -FS... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-FS @@ -5502,14 +5599,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-FS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5531,7 +5629,7 @@ fi if test "x$je_cv_cray" = "xyes" ; then if test "x$je_cv_cray_84" = "xyes" ; then -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -hipa2" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -hipa2" >&5 printf %s "checking whether compiler supports -hipa2... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-hipa2 @@ -5565,14 +5663,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-hipa2 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5583,7 +5682,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -hnognu" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -hnognu" >&5 printf %s "checking whether compiler supports -hnognu... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-hnognu @@ -5617,14 +5716,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-hnognu - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5636,7 +5736,7 @@ fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -hnomessage=128" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -hnomessage=128" >&5 printf %s "checking whether compiler supports -hnomessage=128... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-hnomessage=128 @@ -5670,14 +5770,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-hnomessage=128 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5688,7 +5789,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -hnomessage=1357" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -hnomessage=1357" >&5 printf %s "checking whether compiler supports -hnomessage=1357... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-hnomessage=1357 @@ -5722,14 +5823,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-hnomessage=1357 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5748,7 +5850,7 @@ ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 printf %s "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then @@ -5758,8 +5860,8 @@ if test -z "$CPP"; then if test ${ac_cv_prog_CPP+y} then : printf %s "(cached) " >&6 -else $as_nop - # Double quotes because $CC needs to be expanded +else case e in #( + e) # Double quotes because $CC needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp do ac_preproc_ok=false @@ -5777,9 +5879,10 @@ _ACEOF if ac_fn_c_try_cpp "$LINENO" then : -else $as_nop - # Broken: fails on valid input. -continue +else case e in #( + e) # Broken: fails on valid input. +continue ;; +esac fi rm -f conftest.err conftest.i conftest.$ac_ext @@ -5793,15 +5896,16 @@ if ac_fn_c_try_cpp "$LINENO" then : # Broken: success on invalid input. continue -else $as_nop - # Passes both tests. +else case e in #( + e) # Passes both tests. ac_preproc_ok=: -break +break ;; +esac fi rm -f conftest.err conftest.i conftest.$ac_ext done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok then : @@ -5810,14 +5914,15 @@ fi done ac_cv_prog_CPP=$CPP - + ;; +esac fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -printf "%s\n" "$CPP" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +printf '%s\n' "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do @@ -5833,9 +5938,10 @@ _ACEOF if ac_fn_c_try_cpp "$LINENO" then : -else $as_nop - # Broken: fails on valid input. -continue +else case e in #( + e) # Broken: fails on valid input. +continue ;; +esac fi rm -f conftest.err conftest.i conftest.$ac_ext @@ -5849,24 +5955,26 @@ if ac_fn_c_try_cpp "$LINENO" then : # Broken: success on invalid input. continue -else $as_nop - # Passes both tests. +else case e in #( + e) # Passes both tests. ac_preproc_ok=: -break +break ;; +esac fi rm -f conftest.err conftest.i conftest.$ac_ext done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok then : -else $as_nop - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +else case e in #( + e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } ;; +esac fi ac_ext=c @@ -5885,9 +5993,10 @@ else enable_cxx="1" fi -else $as_nop - enable_cxx="1" - +else case e in #( + e) enable_cxx="1" + ;; +esac fi @@ -5898,9 +6007,10 @@ then : libstdc++|libcxx) ;; *) as_fn_error $? "bad value ${with_cxx_stdlib} for --with-cxx-stdlib" "$LINENO" 5 ;; esac -else $as_nop - with_cxx_stdlib="" - +else case e in #( + e) with_cxx_stdlib="" + ;; +esac fi if test "x$enable_cxx" = "x1" ; then @@ -5973,13 +6083,7 @@ if test "x$enable_cxx" = "x1" ; then - - - - - - -ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' @@ -5993,13 +6097,13 @@ if test -z "$CXX"; then do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CXX+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$CXX"; then +else case e in #( + e) if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -6014,22 +6118,23 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi +fi ;; +esac fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -printf "%s\n" "$CXX" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 +printf '%s\n' "$CXX" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -6042,13 +6147,13 @@ if test -z "$CXX"; then do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CXX+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_CXX"; then +else case e in #( + e) if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -6063,22 +6168,23 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CXX="$ac_prog" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -printf "%s\n" "$ac_ct_CXX" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 +printf '%s\n' "$ac_ct_CXX" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -6090,8 +6196,8 @@ done else case $cross_compiling:$ac_tool_warned in yes:) -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CXX=$ac_ct_CXX @@ -6101,7 +6207,7 @@ fi fi fi # Provide some information about the compiler. -printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 +printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do @@ -6111,7 +6217,7 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf "%s\n" "$ac_try_echo"; } >&5 +printf '%s\n' "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -6121,17 +6227,17 @@ printf "%s\n" "$ac_try_echo"; } >&5 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5 printf %s "checking whether the compiler supports GNU C++... " >&6; } if test ${ac_cv_cxx_compiler_gnu+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -6148,15 +6254,17 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : ac_compiler_gnu=yes -else $as_nop - ac_compiler_gnu=no +else case e in #( + e) ac_compiler_gnu=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - + ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 +printf '%s\n' "$ac_cv_cxx_compiler_gnu" >&6; } ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test $ac_compiler_gnu = yes; then @@ -6166,13 +6274,13 @@ else fi ac_test_CXXFLAGS=${CXXFLAGS+y} ac_save_CXXFLAGS=$CXXFLAGS -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 printf %s "checking whether $CXX accepts -g... " >&6; } if test ${ac_cv_prog_cxx_g+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_save_cxx_werror_flag=$ac_cxx_werror_flag +else case e in #( + e) ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-g" @@ -6190,8 +6298,8 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : ac_cv_prog_cxx_g=yes -else $as_nop - CXXFLAGS="" +else case e in #( + e) CXXFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -6206,8 +6314,8 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : -else $as_nop - ac_cxx_werror_flag=$ac_save_cxx_werror_flag +else case e in #( + e) ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -6224,15 +6332,18 @@ if ac_fn_cxx_try_compile "$LINENO" then : ac_cv_prog_cxx_g=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ac_cxx_werror_flag=$ac_save_cxx_werror_flag + ac_cxx_werror_flag=$ac_save_cxx_werror_flag ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -printf "%s\n" "$ac_cv_prog_cxx_g" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 +printf '%s\n' "$ac_cv_prog_cxx_g" >&6; } if test $ac_test_CXXFLAGS; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then @@ -6248,100 +6359,6 @@ else CXXFLAGS= fi fi -ac_prog_cxx_stdcxx=no -if test x$ac_prog_cxx_stdcxx = xno -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5 -printf %s "checking for $CXX option to enable C++11 features... " >&6; } -if test ${ac_cv_prog_cxx_11+y} -then : - printf %s "(cached) " >&6 -else $as_nop - ac_cv_prog_cxx_11=no -ac_save_CXX=$CXX -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_cxx_conftest_cxx11_program -_ACEOF -for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA -do - CXX="$ac_save_CXX $ac_arg" - if ac_fn_cxx_try_compile "$LINENO" -then : - ac_cv_prog_cxx_cxx11=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam - test "x$ac_cv_prog_cxx_cxx11" != "xno" && break -done -rm -f conftest.$ac_ext -CXX=$ac_save_CXX -fi - -if test "x$ac_cv_prog_cxx_cxx11" = xno -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -printf "%s\n" "unsupported" >&6; } -else $as_nop - if test "x$ac_cv_prog_cxx_cxx11" = x -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -printf "%s\n" "none needed" >&6; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5 -printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; } - CXX="$CXX $ac_cv_prog_cxx_cxx11" -fi - ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11 - ac_prog_cxx_stdcxx=cxx11 -fi -fi -if test x$ac_prog_cxx_stdcxx = xno -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5 -printf %s "checking for $CXX option to enable C++98 features... " >&6; } -if test ${ac_cv_prog_cxx_98+y} -then : - printf %s "(cached) " >&6 -else $as_nop - ac_cv_prog_cxx_98=no -ac_save_CXX=$CXX -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_cxx_conftest_cxx98_program -_ACEOF -for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA -do - CXX="$ac_save_CXX $ac_arg" - if ac_fn_cxx_try_compile "$LINENO" -then : - ac_cv_prog_cxx_cxx98=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam - test "x$ac_cv_prog_cxx_cxx98" != "xno" && break -done -rm -f conftest.$ac_ext -CXX=$ac_save_CXX -fi - -if test "x$ac_cv_prog_cxx_cxx98" = xno -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -printf "%s\n" "unsupported" >&6; } -else $as_nop - if test "x$ac_cv_prog_cxx_cxx98" = x -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -printf "%s\n" "none needed" >&6; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5 -printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; } - CXX="$CXX $ac_cv_prog_cxx_cxx98" -fi - ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98 - ac_prog_cxx_stdcxx=cxx98 -fi -fi - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -6362,14 +6379,14 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test x$ac_success = xno; then for alternative in ${ax_cxx_compile_alternatives}; do for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do - cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | $as_tr_sh` - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5 + cachevar=`printf '%s\n' "ax_cv_cxx_compile_cxx17_$switch" | sed "$as_sed_sh"` + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5 printf %s "checking whether $CXX supports C++17 features with $switch... " >&6; } if eval test \${$cachevar+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_save_CXX="$CXX" +else case e in #( + e) ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -7163,15 +7180,17 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : eval $cachevar=yes -else $as_nop - eval $cachevar=no +else case e in #( + e) eval $cachevar=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - CXX="$ac_save_CXX" + CXX="$ac_save_CXX" ;; +esac fi eval ac_res=\$$cachevar - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf '%s\n' "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -7199,12 +7218,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi if test x$ac_success = xno; then HAVE_CXX17=0 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++17 support was found" >&5 -printf "%s\n" "$as_me: No compiler with C++17 support was found" >&6;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: No compiler with C++17 support was found" >&5 +printf '%s\n' "$as_me: No compiler with C++17 support was found" >&6;} else HAVE_CXX17=1 -printf "%s\n" "#define HAVE_CXX17 1" >>confdefs.h +printf '%s\n' "#define HAVE_CXX17 1" >>confdefs.h fi @@ -7223,14 +7242,14 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test x$ac_success = xno; then for alternative in ${ax_cxx_compile_alternatives}; do for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do - cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx14_$switch" | $as_tr_sh` - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features with $switch" >&5 + cachevar=`printf '%s\n' "ax_cv_cxx_compile_cxx14_$switch" | sed "$as_sed_sh"` + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features with $switch" >&5 printf %s "checking whether $CXX supports C++14 features with $switch... " >&6; } if eval test \${$cachevar+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_save_CXX="$CXX" +else case e in #( + e) ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -7646,15 +7665,17 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : eval $cachevar=yes -else $as_nop - eval $cachevar=no +else case e in #( + e) eval $cachevar=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - CXX="$ac_save_CXX" + CXX="$ac_save_CXX" ;; +esac fi eval ac_res=\$$cachevar - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf '%s\n' "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -7682,12 +7703,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi if test x$ac_success = xno; then HAVE_CXX14=0 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++14 support was found" >&5 -printf "%s\n" "$as_me: No compiler with C++14 support was found" >&6;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: No compiler with C++14 support was found" >&5 +printf '%s\n' "$as_me: No compiler with C++14 support was found" >&6;} else HAVE_CXX14=1 -printf "%s\n" "#define HAVE_CXX14 1" >>confdefs.h +printf '%s\n' "#define HAVE_CXX14 1" >>confdefs.h fi @@ -7695,7 +7716,7 @@ printf "%s\n" "#define HAVE_CXX14 1" >>confdefs.h fi if test "x${HAVE_CXX14}" = "x1" -o "x${HAVE_CXX17}" = "x1"; then -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wall" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wall" >&5 printf %s "checking whether compiler supports -Wall... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-Wall @@ -7735,14 +7756,15 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-Wall - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cxxflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cxxflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -7759,7 +7781,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wextra" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wextra" >&5 printf %s "checking whether compiler supports -Wextra... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-Wextra @@ -7799,14 +7821,145 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-Wextra - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cxxflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cxxflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } + CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" + ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +if test "x${CONFIGURE_CXXFLAGS}" = "x" -o "x${SPECIFIED_CXXFLAGS}" = "x" ; then + CXXFLAGS="${CONFIGURE_CXXFLAGS}${SPECIFIED_CXXFLAGS}" +else + CXXFLAGS="${CONFIGURE_CXXFLAGS} ${SPECIFIED_CXXFLAGS}" +fi + + + +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-braces" >&5 +printf %s "checking whether compiler supports -Wno-missing-braces... " >&6; } +T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" +T_APPEND_V=-Wno-missing-braces + if test "x${CONFIGURE_CXXFLAGS}" = "x" -o "x${T_APPEND_V}" = "x" ; then + CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}${T_APPEND_V}" +else + CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS} ${T_APPEND_V}" +fi + + +if test "x${CONFIGURE_CXXFLAGS}" = "x" -o "x${SPECIFIED_CXXFLAGS}" = "x" ; then + CXXFLAGS="${CONFIGURE_CXXFLAGS}${SPECIFIED_CXXFLAGS}" +else + CXXFLAGS="${CONFIGURE_CXXFLAGS} ${SPECIFIED_CXXFLAGS}" +fi + +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +int +main (void) +{ + + return 0; + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + je_cv_cxxflags_added=-Wno-missing-braces + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cxxflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" + ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +if test "x${CONFIGURE_CXXFLAGS}" = "x" -o "x${SPECIFIED_CXXFLAGS}" = "x" ; then + CXXFLAGS="${CONFIGURE_CXXFLAGS}${SPECIFIED_CXXFLAGS}" +else + CXXFLAGS="${CONFIGURE_CXXFLAGS} ${SPECIFIED_CXXFLAGS}" +fi + + + +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-field-initializers" >&5 +printf %s "checking whether compiler supports -Wno-missing-field-initializers... " >&6; } +T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" +T_APPEND_V=-Wno-missing-field-initializers + if test "x${CONFIGURE_CXXFLAGS}" = "x" -o "x${T_APPEND_V}" = "x" ; then + CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}${T_APPEND_V}" +else + CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS} ${T_APPEND_V}" +fi + + +if test "x${CONFIGURE_CXXFLAGS}" = "x" -o "x${SPECIFIED_CXXFLAGS}" = "x" ; then + CXXFLAGS="${CONFIGURE_CXXFLAGS}${SPECIFIED_CXXFLAGS}" +else + CXXFLAGS="${CONFIGURE_CXXFLAGS} ${SPECIFIED_CXXFLAGS}" +fi + +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +int +main (void) +{ + + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + je_cv_cxxflags_added=-Wno-missing-field-initializers + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cxxflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } + CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -7823,7 +7976,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -g3" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -g3" >&5 printf %s "checking whether compiler supports -g3... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-g3 @@ -7863,14 +8016,15 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-g3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cxxflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cxxflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -7919,13 +8073,13 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libstdc++ linkage is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether libstdc++ linkage is compilable" >&5 printf %s "checking whether libstdc++ linkage is compilable... " >&6; } if test ${je_cv_libstdcxx+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -7945,14 +8099,16 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_libstdcxx=yes -else $as_nop - je_cv_libstdcxx=no +else case e in #( + e) je_cv_libstdcxx=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_libstdcxx" >&5 -printf "%s\n" "$je_cv_libstdcxx" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_libstdcxx" >&5 +printf '%s\n' "$je_cv_libstdcxx" >&6; } if test "x${je_cv_libstdcxx}" = "xno" ; then LIBS="${SAVED_LIBS}" @@ -7965,27 +8121,117 @@ printf "%s\n" "$je_cv_libstdcxx" >&6; } fi if test "x$enable_cxx" = "x1"; then -printf "%s\n" "#define JEMALLOC_ENABLE_CXX " >>confdefs.h +printf '%s\n' "#define JEMALLOC_ENABLE_CXX " >>confdefs.h fi +if test "x$enable_cxx" = "x1"; then + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + SAVED_CXXFLAGS="${CXXFLAGS}" + CXXFLAGS="${CXXFLAGS} ${EXTRA_CXXFLAGS}" +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether C++ exception support is compilable" >&5 +printf %s "checking whether C++ exception support is compilable... " >&6; } +if test ${je_cv_cxx_exceptions+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item + try { + throw std::bad_alloc(); + } catch (const std::bad_alloc &) { + } + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO" +then : + je_cv_cxx_exceptions=yes +else case e in #( + e) je_cv_cxx_exceptions=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext ;; +esac +fi +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_cxx_exceptions" >&5 +printf '%s\n' "$je_cv_cxx_exceptions" >&6; } + + CXXFLAGS="${SAVED_CXXFLAGS}" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + if test "x${je_cv_cxx_exceptions}" = "xyes" ; then + +printf '%s\n' "#define JEMALLOC_HAVE_CXX_EXCEPTIONS " >>confdefs.h + + enable_cxx_exceptions="1" + else + enable_cxx_exceptions="0" + fi +fi + +# Check whether --enable-cxx-infallible-new was given. +if test ${enable_cxx_infallible_new+y} +then : + enableval=$enable_cxx_infallible_new; if test "x$enable_cxx_infallible_new" = "xno" ; then + enable_cxx_infallible_new="0" +else + enable_cxx_infallible_new="1" +fi + +else case e in #( + e) enable_cxx_infallible_new="0" + ;; +esac +fi + +if test "x$enable_cxx" != "x1" ; then + enable_cxx_infallible_new="0" +fi +if test "x$enable_cxx_infallible_new" = "x1" ; then + +printf '%s\n' "#define JEMALLOC_INFALLIBLE_NEW 1" >>confdefs.h + +fi + + + + + + + +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf '%s\n' "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item fi done @@ -7999,16 +8245,16 @@ done if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes then : -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h +printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 printf %s "checking whether byte ordering is bigendian... " >&6; } if test ${ac_cv_c_bigendian+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_cv_c_bigendian=unknown +else case e in #( + e) ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -8054,8 +8300,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext int main (void) { -#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ - && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\ + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\ && LITTLE_ENDIAN) bogus endian macros #endif @@ -8086,8 +8332,9 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_c_bigendian=yes -else $as_nop - ac_cv_c_bigendian=no +else case e in #( + e) ac_cv_c_bigendian=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi @@ -8131,8 +8378,9 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_c_bigendian=yes -else $as_nop - ac_cv_c_bigendian=no +else case e in #( + e) ac_cv_c_bigendian=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi @@ -8159,22 +8407,23 @@ unsigned short int ascii_mm[] = int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; } - extern int foo; - -int -main (void) -{ -return use_ascii (foo) == use_ebcdic (foo); - ; - return 0; -} + int + main (int argc, char **argv) + { + /* Intimidate the compiler so that it does not + optimize the arrays away. */ + char *p = argv[0]; + ascii_mm[1] = *p++; ebcdic_mm[1] = *p++; + ascii_ii[1] = *p++; ebcdic_ii[1] = *p++; + return use_ascii (argc) == use_ebcdic (*p); + } _ACEOF -if ac_fn_c_try_compile "$LINENO" +if ac_fn_c_try_link "$LINENO" then : - if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then + if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then ac_cv_c_bigendian=yes fi - if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then + if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then if test "$ac_cv_c_bigendian" = unknown; then ac_cv_c_bigendian=no else @@ -8183,9 +8432,10 @@ then : fi fi fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int @@ -8208,17 +8458,20 @@ _ACEOF if ac_fn_c_try_run "$LINENO" then : ac_cv_c_bigendian=no -else $as_nop - ac_cv_c_bigendian=yes +else case e in #( + e) ac_cv_c_bigendian=yes ;; +esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi - fi + fi ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 -printf "%s\n" "$ac_cv_c_bigendian" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 +printf '%s\n' "$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in #( yes) ac_cv_big_endian=1;; #( @@ -8226,7 +8479,7 @@ printf "%s\n" "$ac_cv_c_bigendian" >&6; } ac_cv_big_endian=0 ;; #( universal) -printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h +printf '%s\n' "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ;; #( *) @@ -8236,7 +8489,7 @@ printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h if test "x${ac_cv_big_endian}" = "x1" ; then -printf "%s\n" "#define JEMALLOC_BIG_ENDIAN " >>confdefs.h +printf '%s\n' "#define JEMALLOC_BIG_ENDIAN " >>confdefs.h fi @@ -8253,40 +8506,35 @@ fi if test "x${je_cv_msvc}" = "xyes" ; then LG_SIZEOF_PTR=LG_SIZEOF_PTR_WIN - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Using a predefined value for sizeof(void *): 4 for 32-bit, 8 for 64-bit" >&5 -printf "%s\n" "Using a predefined value for sizeof(void *): 4 for 32-bit, 8 for 64-bit" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: Using a predefined value for sizeof(void *): 4 for 32-bit, 8 for 64-bit" >&5 +printf '%s\n' "Using a predefined value for sizeof(void *): 4 for 32-bit, 8 for 64-bit" >&6; } else # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 printf %s "checking size of void *... " >&6; } if test ${ac_cv_sizeof_void_p+y} then : printf %s "(cached) " >&6 -else $as_nop - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default" +else case e in #( + e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default" then : -else $as_nop - if test "$ac_cv_type_void_p" = yes; then - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (void *) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_void_p=0 - fi +else case e in #( + e) ac_cv_sizeof_void_p=0 ;; +esac fi - + ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 -printf "%s\n" "$ac_cv_sizeof_void_p" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 +printf '%s\n' "$ac_cv_sizeof_void_p" >&6; } -printf "%s\n" "#define SIZEOF_VOID_P $ac_cv_sizeof_void_p" >>confdefs.h +printf '%s\n' "#define SIZEOF_VOID_P $ac_cv_sizeof_void_p" >>confdefs.h if test "x${ac_cv_sizeof_void_p}" = "x8" ; then @@ -8298,40 +8546,35 @@ printf "%s\n" "#define SIZEOF_VOID_P $ac_cv_sizeof_void_p" >>confdefs.h fi fi -printf "%s\n" "#define LG_SIZEOF_PTR $LG_SIZEOF_PTR" >>confdefs.h +printf '%s\n' "#define LG_SIZEOF_PTR $LG_SIZEOF_PTR" >>confdefs.h # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 printf %s "checking size of int... " >&6; } if test ${ac_cv_sizeof_int+y} then : printf %s "(cached) " >&6 -else $as_nop - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default" +else case e in #( + e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default" then : -else $as_nop - if test "$ac_cv_type_int" = yes; then - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (int) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_int=0 - fi +else case e in #( + e) ac_cv_sizeof_int=0 ;; +esac fi - + ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 -printf "%s\n" "$ac_cv_sizeof_int" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 +printf '%s\n' "$ac_cv_sizeof_int" >&6; } -printf "%s\n" "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h +printf '%s\n' "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h if test "x${ac_cv_sizeof_int}" = "x8" ; then @@ -8342,40 +8585,35 @@ else as_fn_error $? "Unsupported int size: ${ac_cv_sizeof_int}" "$LINENO" 5 fi -printf "%s\n" "#define LG_SIZEOF_INT $LG_SIZEOF_INT" >>confdefs.h +printf '%s\n' "#define LG_SIZEOF_INT $LG_SIZEOF_INT" >>confdefs.h # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 printf %s "checking size of long... " >&6; } if test ${ac_cv_sizeof_long+y} then : printf %s "(cached) " >&6 -else $as_nop - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default" +else case e in #( + e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default" then : -else $as_nop - if test "$ac_cv_type_long" = yes; then - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (long) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_long=0 - fi +else case e in #( + e) ac_cv_sizeof_long=0 ;; +esac fi - + ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 -printf "%s\n" "$ac_cv_sizeof_long" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 +printf '%s\n' "$ac_cv_sizeof_long" >&6; } -printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h +printf '%s\n' "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h if test "x${ac_cv_sizeof_long}" = "x8" ; then @@ -8386,40 +8624,35 @@ else as_fn_error $? "Unsupported long size: ${ac_cv_sizeof_long}" "$LINENO" 5 fi -printf "%s\n" "#define LG_SIZEOF_LONG $LG_SIZEOF_LONG" >>confdefs.h +printf '%s\n' "#define LG_SIZEOF_LONG $LG_SIZEOF_LONG" >>confdefs.h # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 printf %s "checking size of long long... " >&6; } if test ${ac_cv_sizeof_long_long+y} then : printf %s "(cached) " >&6 -else $as_nop - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default" +else case e in #( + e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default" then : -else $as_nop - if test "$ac_cv_type_long_long" = yes; then - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (long long) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_long_long=0 - fi +else case e in #( + e) ac_cv_sizeof_long_long=0 ;; +esac fi - + ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 -printf "%s\n" "$ac_cv_sizeof_long_long" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 +printf '%s\n' "$ac_cv_sizeof_long_long" >&6; } -printf "%s\n" "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h +printf '%s\n' "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h if test "x${ac_cv_sizeof_long_long}" = "x8" ; then @@ -8430,40 +8663,35 @@ else as_fn_error $? "Unsupported long long size: ${ac_cv_sizeof_long_long}" "$LINENO" 5 fi -printf "%s\n" "#define LG_SIZEOF_LONG_LONG $LG_SIZEOF_LONG_LONG" >>confdefs.h +printf '%s\n' "#define LG_SIZEOF_LONG_LONG $LG_SIZEOF_LONG_LONG" >>confdefs.h # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of intmax_t" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of intmax_t" >&5 printf %s "checking size of intmax_t... " >&6; } if test ${ac_cv_sizeof_intmax_t+y} then : printf %s "(cached) " >&6 -else $as_nop - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (intmax_t))" "ac_cv_sizeof_intmax_t" "$ac_includes_default" +else case e in #( + e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (intmax_t))" "ac_cv_sizeof_intmax_t" "$ac_includes_default" then : -else $as_nop - if test "$ac_cv_type_intmax_t" = yes; then - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (intmax_t) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_intmax_t=0 - fi +else case e in #( + e) ac_cv_sizeof_intmax_t=0 ;; +esac fi - + ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intmax_t" >&5 -printf "%s\n" "$ac_cv_sizeof_intmax_t" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intmax_t" >&5 +printf '%s\n' "$ac_cv_sizeof_intmax_t" >&6; } -printf "%s\n" "#define SIZEOF_INTMAX_T $ac_cv_sizeof_intmax_t" >>confdefs.h +printf '%s\n' "#define SIZEOF_INTMAX_T $ac_cv_sizeof_intmax_t" >>confdefs.h if test "x${ac_cv_sizeof_intmax_t}" = "x16" ; then @@ -8476,7 +8704,7 @@ else as_fn_error $? "Unsupported intmax_t size: ${ac_cv_sizeof_intmax_t}" "$LINENO" 5 fi -printf "%s\n" "#define LG_SIZEOF_INTMAX_T $LG_SIZEOF_INTMAX_T" >>confdefs.h +printf '%s\n' "#define LG_SIZEOF_INTMAX_T $LG_SIZEOF_INTMAX_T" >>confdefs.h @@ -8486,23 +8714,24 @@ printf "%s\n" "#define LG_SIZEOF_INTMAX_T $LG_SIZEOF_INTMAX_T" >>confdefs.h $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 printf %s "checking build system type... " >&6; } if test ${ac_cv_build+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_build_alias=$build_alias +else case e in #( + e) ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 - + ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -printf "%s\n" "$ac_cv_build" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +printf '%s\n' "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; @@ -8518,25 +8747,26 @@ shift; shift # except with old shells: build_os=$* IFS=$ac_save_IFS -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac +case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 printf %s "checking host system type... " >&6; } if test ${ac_cv_host+y} then : printf %s "(cached) " >&6 -else $as_nop - if test "x$host_alias" = x; then +else case e in #( + e) if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 fi - + ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -printf "%s\n" "$ac_cv_host" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +printf '%s\n' "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; @@ -8552,7 +8782,7 @@ shift; shift # except with old shells: host_os=$* IFS=$ac_save_IFS -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac +case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac CPU_SPINWAIT="" @@ -8563,15 +8793,15 @@ case "${host_cpu}" in if test ${je_cv_pause_msvc+y} then : printf %s "(cached) " >&6 -else $as_nop - -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pause instruction MSVC is compilable" >&5 +else case e in #( + e) +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pause instruction MSVC is compilable" >&5 printf %s "checking whether pause instruction MSVC is compilable... " >&6; } if test ${je_cv_pause_msvc+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -8585,15 +8815,18 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_pause_msvc=yes -else $as_nop - je_cv_pause_msvc=no +else case e in #( + e) je_cv_pause_msvc=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_pause_msvc" >&5 -printf "%s\n" "$je_cv_pause_msvc" >&6; } - +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pause_msvc" >&5 +printf '%s\n' "$je_cv_pause_msvc" >&6; } + ;; +esac fi if test "x${je_cv_pause_msvc}" = "xyes" ; then @@ -8603,15 +8836,15 @@ fi if test ${je_cv_pause+y} then : printf %s "(cached) " >&6 -else $as_nop - -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pause instruction is compilable" >&5 +else case e in #( + e) +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pause instruction is compilable" >&5 printf %s "checking whether pause instruction is compilable... " >&6; } if test ${je_cv_pause+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -8625,15 +8858,18 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_pause=yes -else $as_nop - je_cv_pause=no +else case e in #( + e) je_cv_pause=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_pause" >&5 -printf "%s\n" "$je_cv_pause" >&6; } - +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pause" >&5 +printf '%s\n' "$je_cv_pause" >&6; } + ;; +esac fi if test "x${je_cv_pause}" = "xyes" ; then @@ -8646,15 +8882,15 @@ fi if test ${je_cv_isb+y} then : printf %s "(cached) " >&6 -else $as_nop - -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether isb instruction is compilable" >&5 +else case e in #( + e) +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether isb instruction is compilable" >&5 printf %s "checking whether isb instruction is compilable... " >&6; } if test ${je_cv_isb+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -8668,15 +8904,18 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_isb=yes -else $as_nop - je_cv_isb=no +else case e in #( + e) je_cv_isb=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_isb" >&5 -printf "%s\n" "$je_cv_isb" >&6; } - +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_isb" >&5 +printf '%s\n' "$je_cv_isb" >&6; } + ;; +esac fi if test "x${je_cv_isb}" = "xyes" ; then @@ -8688,10 +8927,10 @@ fi ;; esac -printf "%s\n" "#define HAVE_CPU_SPINWAIT $HAVE_CPU_SPINWAIT" >>confdefs.h +printf '%s\n' "#define HAVE_CPU_SPINWAIT $HAVE_CPU_SPINWAIT" >>confdefs.h -printf "%s\n" "#define CPU_SPINWAIT $CPU_SPINWAIT" >>confdefs.h +printf '%s\n' "#define CPU_SPINWAIT $CPU_SPINWAIT" >>confdefs.h @@ -8699,15 +8938,16 @@ printf "%s\n" "#define CPU_SPINWAIT $CPU_SPINWAIT" >>confdefs.h if test ${with_lg_vaddr+y} then : withval=$with_lg_vaddr; LG_VADDR="$with_lg_vaddr" -else $as_nop - LG_VADDR="detect" +else case e in #( + e) LG_VADDR="detect" ;; +esac fi -case "${host_cpu}" in - aarch64) - if test "x$LG_VADDR" = "xdetect"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5 +if test "x$LG_VADDR" = "xdetect"; then + case "${host_cpu}" in + aarch64) + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5 printf %s "checking number of significant virtual address bits... " >&6; } if test "x${LG_SIZEOF_PTR}" = "x2" ; then #aarch64 ILP32 @@ -8716,23 +8956,21 @@ printf %s "checking number of significant virtual address bits... " >&6; } #aarch64 LP64 LG_VADDR=48 fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LG_VADDR" >&5 -printf "%s\n" "$LG_VADDR" >&6; } - fi - ;; - x86_64) - if test "x$LG_VADDR" = "xdetect"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LG_VADDR" >&5 +printf '%s\n' "$LG_VADDR" >&6; } + ;; + x86_64) + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5 printf %s "checking number of significant virtual address bits... " >&6; } if test ${je_cv_lg_vaddr+y} then : printf %s "(cached) " >&6 -else $as_nop - if test "$cross_compiling" = yes +else case e in #( + e) if test "$cross_compiling" = yes then : je_cv_lg_vaddr=57 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -8778,37 +9016,60 @@ _ACEOF if ac_fn_c_try_run "$LINENO" then : je_cv_lg_vaddr=`cat conftest.out` -else $as_nop - je_cv_lg_vaddr=error +else case e in #( + e) je_cv_lg_vaddr=error ;; +esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi - + ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_lg_vaddr" >&5 -printf "%s\n" "$je_cv_lg_vaddr" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_lg_vaddr" >&5 +printf '%s\n' "$je_cv_lg_vaddr" >&6; } + if test "x${je_cv_lg_vaddr}" = "xerror" ; then + as_fn_error $? "cannot determine number of significant virtual address bits" "$LINENO" 5 + fi if test "x${je_cv_lg_vaddr}" != "x" ; then LG_VADDR="${je_cv_lg_vaddr}" fi - if test "x${LG_VADDR}" != "xerror" ; then - -printf "%s\n" "#define LG_VADDR $LG_VADDR" >>confdefs.h - + ;; + *) + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5 +printf %s "checking number of significant virtual address bits... " >&6; } + if test "x${LG_SIZEOF_PTR}" = "x3" ; then + LG_VADDR=64 + elif test "x${LG_SIZEOF_PTR}" = "x2" ; then + LG_VADDR=32 + elif test "x${LG_SIZEOF_PTR}" = "xLG_SIZEOF_PTR_WIN" ; then + LG_VADDR="(1U << (LG_SIZEOF_PTR_WIN+3))" else - as_fn_error $? "cannot determine number of significant virtual address bits" "$LINENO" 5 + as_fn_error $? "Unsupported lg(pointer size): ${LG_SIZEOF_PTR}" "$LINENO" 5 fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking rdtscp support" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LG_VADDR" >&5 +printf '%s\n' "$LG_VADDR" >&6; } + ;; + esac +fi + +printf '%s\n' "#define LG_VADDR $LG_VADDR" >>confdefs.h + + +case "${host_cpu}" in + x86_64) + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking rdtscp support" >&5 printf %s "checking rdtscp support... " >&6; } if test ${je_cv_rdtscp+y} then : printf %s "(cached) " >&6 -else $as_nop - if test "$cross_compiling" = yes +else case e in #( + e) if test "$cross_compiling" = yes then : je_cv_rdtscp=no -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -8828,55 +9089,38 @@ _ACEOF if ac_fn_c_try_run "$LINENO" then : je_cv_rdtscp=yes -else $as_nop - je_cv_rdtscp=no +else case e in #( + e) je_cv_rdtscp=no ;; +esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi - + ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_rdtscp" >&5 -printf "%s\n" "$je_cv_rdtscp" >&6; } - if test "x${je_cv_rdtscp}" = "xyes"; then +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_rdtscp" >&5 +printf '%s\n' "$je_cv_rdtscp" >&6; } + if test "x${je_cv_rdtscp}" = "xyes"; then -printf "%s\n" "#define JEMALLOC_HAVE_RDTSCP " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_RDTSCP " >>confdefs.h - fi - fi - ;; - *) - if test "x$LG_VADDR" = "xdetect"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5 -printf %s "checking number of significant virtual address bits... " >&6; } - if test "x${LG_SIZEOF_PTR}" = "x3" ; then - LG_VADDR=64 - elif test "x${LG_SIZEOF_PTR}" = "x2" ; then - LG_VADDR=32 - elif test "x${LG_SIZEOF_PTR}" = "xLG_SIZEOF_PTR_WIN" ; then - LG_VADDR="(1U << (LG_SIZEOF_PTR_WIN+3))" - else - as_fn_error $? "Unsupported lg(pointer size): ${LG_SIZEOF_PTR}" "$LINENO" 5 - fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LG_VADDR" >&5 -printf "%s\n" "$LG_VADDR" >&6; } fi ;; esac -printf "%s\n" "#define LG_VADDR $LG_VADDR" >>confdefs.h - -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking asm volatile support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking asm volatile support" >&5 printf %s "checking asm volatile support... " >&6; } if test ${je_cv_asm_volatile+y} then : printf %s "(cached) " >&6 -else $as_nop - if test "$cross_compiling" = yes +else case e in #( + e) if test "$cross_compiling" = yes then : je_cv_asm_volatile=no -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -8895,32 +9139,35 @@ _ACEOF if ac_fn_c_try_run "$LINENO" then : je_cv_asm_volatile=yes -else $as_nop - je_cv_asm_volatile=no +else case e in #( + e) je_cv_asm_volatile=no ;; +esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi - + ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_asm_volatile" >&5 -printf "%s\n" "$je_cv_asm_volatile" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_asm_volatile" >&5 +printf '%s\n' "$je_cv_asm_volatile" >&6; } if test "x${je_cv_asm_volatile}" = "xyes"; then -printf "%s\n" "#define JEMALLOC_HAVE_ASM_VOLATILE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_ASM_VOLATILE " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking __int128 support" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking __int128 support" >&5 printf %s "checking __int128 support... " >&6; } if test ${je_cv_int128+y} then : printf %s "(cached) " >&6 -else $as_nop - if test "$cross_compiling" = yes +else case e in #( + e) if test "$cross_compiling" = yes then : je_cv_int128=no -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -8938,19 +9185,22 @@ _ACEOF if ac_fn_c_try_run "$LINENO" then : je_cv_int128=yes -else $as_nop - je_cv_int128=no +else case e in #( + e) je_cv_int128=no ;; +esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi - + ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_int128" >&5 -printf "%s\n" "$je_cv_int128" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_int128" >&5 +printf '%s\n' "$je_cv_int128" >&6; } if test "x${je_cv_int128}" = "xyes"; then -printf "%s\n" "#define JEMALLOC_HAVE_INT128 " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_INT128 " >>confdefs.h fi @@ -8988,13 +9238,13 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_AR+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$AR"; then +else case e in #( + e) if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -9009,22 +9259,23 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AR="${ac_tool_prefix}ar" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi +fi ;; +esac fi AR=$ac_cv_prog_AR if test -n "$AR"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -printf "%s\n" "$AR" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +printf '%s\n' "$AR" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -9033,13 +9284,13 @@ if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_AR+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_AR"; then +else case e in #( + e) if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -9054,22 +9305,23 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="ar" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -printf "%s\n" "$ac_ct_AR" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +printf '%s\n' "$ac_ct_AR" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi if test "x$ac_ct_AR" = x; then @@ -9077,8 +9329,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR @@ -9094,13 +9346,13 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. set dummy ${ac_tool_prefix}nm; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_NM+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$NM"; then +else case e in #( + e) if test -n "$NM"; then ac_cv_prog_NM="$NM" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -9115,22 +9367,23 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_NM="${ac_tool_prefix}nm" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi +fi ;; +esac fi NM=$ac_cv_prog_NM if test -n "$NM"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 -printf "%s\n" "$NM" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 +printf '%s\n' "$NM" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -9139,13 +9392,13 @@ if test -z "$ac_cv_prog_NM"; then ac_ct_NM=$NM # Extract the first word of "nm", so it can be a program name with args. set dummy nm; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_NM+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_NM"; then +else case e in #( + e) if test -n "$ac_ct_NM"; then ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -9160,22 +9413,23 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_NM="nm" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_NM=$ac_cv_prog_ac_ct_NM if test -n "$ac_ct_NM"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 -printf "%s\n" "$ac_ct_NM" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 +printf '%s\n' "$ac_ct_NM" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi if test "x$ac_ct_NM" = x; then @@ -9183,8 +9437,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac NM=$ac_ct_NM @@ -9194,17 +9448,17 @@ else fi -for ac_prog in gawk mawk nawk awk +for ac_prog in gawk mawk nawk awk 'busybox awk' do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_AWK+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$AWK"; then +else case e in #( + e) if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -9219,22 +9473,23 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi +fi ;; +esac fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -printf "%s\n" "$AWK" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +printf '%s\n' "$AWK" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -9258,8 +9513,8 @@ then : fi fi -else $as_nop - +else case e in #( + e) if test "x`test ! \"${srcroot}\" && cd \"${srcroot}\"; git rev-parse --is-inside-work-tree 2>/dev/null`" = "xtrue" ; then for pattern in '[0-9].[0-9].[0-9]' '[0-9].[0-9].[0-9][0-9]' \ '[0-9].[0-9][0-9].[0-9]' '[0-9].[0-9][0-9].[0-9][0-9]' \ @@ -9274,14 +9529,15 @@ else $as_nop done fi rm -f "${objroot}VERSION.tmp" - + ;; +esac fi if test ! -e "${objroot}VERSION" ; then if test ! -e "${srcroot}VERSION" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Missing VERSION file, and unable to generate it; creating bogus VERSION" >&5 -printf "%s\n" "Missing VERSION file, and unable to generate it; creating bogus VERSION" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: Missing VERSION file, and unable to generate it; creating bogus VERSION" >&5 +printf '%s\n' "Missing VERSION file, and unable to generate it; creating bogus VERSION" >&6; } echo "0.0.0-0-g000000missing_version_try_git_fetch_tags" > "${objroot}VERSION" else cp ${srcroot}VERSION ${objroot}VERSION @@ -9331,9 +9587,6 @@ fi abi="elf" - -printf "%s\n" "#define JEMALLOC_SYSCTL_VM_OVERCOMMIT " >>confdefs.h - force_lazy_lock="1" ;; *-*-dragonfly*) @@ -9358,19 +9611,16 @@ fi abi="elf" glibc="0" -printf "%s\n" "#define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS " >>confdefs.h - +printf '%s\n' "#define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS " >>confdefs.h -printf "%s\n" "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h -printf "%s\n" "#define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY " >>confdefs.h +printf '%s\n' "#define JEMALLOC_THREADED_INIT " >>confdefs.h -printf "%s\n" "#define JEMALLOC_THREADED_INIT " >>confdefs.h - -printf "%s\n" "#define JEMALLOC_C11_ATOMICS " >>confdefs.h +printf '%s\n' "#define JEMALLOC_C11_ATOMICS " >>confdefs.h force_tls="0" if test "${LG_SIZEOF_PTR}" = "3"; then @@ -9389,16 +9639,13 @@ fi abi="elf" -printf "%s\n" "#define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS " >>confdefs.h - +printf '%s\n' "#define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS " >>confdefs.h -printf "%s\n" "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h -printf "%s\n" "#define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY " >>confdefs.h - -printf "%s\n" "#define JEMALLOC_THREADED_INIT " >>confdefs.h +printf '%s\n' "#define JEMALLOC_THREADED_INIT " >>confdefs.h if test "${LG_SIZEOF_PTR}" = "3"; then default_retain="1" @@ -9417,19 +9664,16 @@ fi abi="elf" glibc="1" -printf "%s\n" "#define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS " >>confdefs.h - +printf '%s\n' "#define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS " >>confdefs.h -printf "%s\n" "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h -printf "%s\n" "#define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY " >>confdefs.h +printf '%s\n' "#define JEMALLOC_THREADED_INIT " >>confdefs.h -printf "%s\n" "#define JEMALLOC_THREADED_INIT " >>confdefs.h - -printf "%s\n" "#define JEMALLOC_USE_CXX_THROW " >>confdefs.h +printf '%s\n' "#define JEMALLOC_USE_CXX_THROW " >>confdefs.h if test "${LG_SIZEOF_PTR}" = "3"; then default_retain="1" @@ -9447,20 +9691,17 @@ fi abi="elf" -printf "%s\n" "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h - +printf '%s\n' "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h -printf "%s\n" "#define JEMALLOC_SYSCTL_VM_OVERCOMMIT " >>confdefs.h +printf '%s\n' "#define JEMALLOC_THREADED_INIT " >>confdefs.h -printf "%s\n" "#define JEMALLOC_THREADED_INIT " >>confdefs.h - -printf "%s\n" "#define JEMALLOC_USE_CXX_THROW " >>confdefs.h +printf '%s\n' "#define JEMALLOC_USE_CXX_THROW " >>confdefs.h ;; *-*-netbsd*) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking ABI" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking ABI" >&5 printf %s "checking ABI... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -9481,12 +9722,13 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : abi="elf" -else $as_nop - abi="aout" +else case e in #( + e) abi="aout" ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $abi" >&5 -printf "%s\n" "$abi" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $abi" >&5 +printf '%s\n' "$abi" >&6; } ;; *-*-solaris2*) abi="elf" @@ -9557,12 +9799,12 @@ fi abi="elf" force_tls="0" -printf "%s\n" "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h ;; *) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Unsupported operating system: ${host}" >&5 -printf "%s\n" "Unsupported operating system: ${host}" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: Unsupported operating system: ${host}" >&5 +printf '%s\n' "Unsupported operating system: ${host}" >&6; } abi="elf" ;; esac @@ -9573,9 +9815,9 @@ do : ac_fn_c_check_header_compile "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" if test "x$ac_cv_header_malloc_h" = xyes then : - printf "%s\n" "#define HAVE_MALLOC_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_MALLOC_H 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc_usable_size definition can use const argument" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether malloc_usable_size definition can use const argument" >&5 printf %s "checking whether malloc_usable_size definition can use const argument... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -9594,15 +9836,16 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } - -else $as_nop + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) JEMALLOC_USABLE_SIZE_CONST= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } - + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext @@ -9610,7 +9853,7 @@ fi done -printf "%s\n" "#define JEMALLOC_USABLE_SIZE_CONST $JEMALLOC_USABLE_SIZE_CONST" >>confdefs.h +printf '%s\n' "#define JEMALLOC_USABLE_SIZE_CONST $JEMALLOC_USABLE_SIZE_CONST" >>confdefs.h @@ -9649,20 +9892,26 @@ printf "%s\n" "#define JEMALLOC_USABLE_SIZE_CONST $JEMALLOC_USABLE_SIZE_CONST" > if test "x$je_cv_msvc" = "xyes" ; then LM= else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5 printf %s "checking for library containing log... " >&6; } if test ${ac_cv_search_log+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_func_search_save_LIBS=$LIBS +else case e in #( + e) ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char log (); + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C" +#endif +char log (void); int main (void) { @@ -9693,21 +9942,24 @@ done if test ${ac_cv_search_log+y} then : -else $as_nop - ac_cv_search_log=no +else case e in #( + e) ac_cv_search_log=no ;; +esac fi rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS +LIBS=$ac_func_search_save_LIBS ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5 -printf "%s\n" "$ac_cv_search_log" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5 +printf '%s\n' "$ac_cv_search_log" >&6; } ac_res=$ac_cv_search_log if test "$ac_res" != no then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" -else $as_nop - as_fn_error $? "Missing math functions" "$LINENO" 5 +else case e in #( + e) as_fn_error $? "Missing math functions" "$LINENO" 5 ;; +esac fi if test "x$ac_cv_search_log" != "xnone required" ; then @@ -9719,13 +9971,13 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether __attribute__ syntax is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether __attribute__ syntax is compilable" >&5 printf %s "checking whether __attribute__ syntax is compilable... " >&6; } if test ${je_cv_attribute+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ static __attribute__((unused)) void foo(void){} int @@ -9739,22 +9991,24 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_attribute=yes -else $as_nop - je_cv_attribute=no +else case e in #( + e) je_cv_attribute=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_attribute" >&5 -printf "%s\n" "$je_cv_attribute" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_attribute" >&5 +printf '%s\n' "$je_cv_attribute" >&6; } if test "x${je_cv_attribute}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_ATTR " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_ATTR " >>confdefs.h if test "x${GCC}" = "xyes" -a "x${abi}" = "xelf"; then -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fvisibility=hidden" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fvisibility=hidden" >&5 printf %s "checking whether compiler supports -fvisibility=hidden... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-fvisibility=hidden @@ -9788,14 +10042,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-fvisibility=hidden - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -9806,7 +10061,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fvisibility=hidden" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fvisibility=hidden" >&5 printf %s "checking whether compiler supports -fvisibility=hidden... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-fvisibility=hidden @@ -9846,14 +10101,15 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-fvisibility=hidden - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cxxflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cxxflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -9874,7 +10130,7 @@ fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 printf %s "checking whether compiler supports -Werror... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror @@ -9908,14 +10164,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -9926,7 +10183,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 printf %s "checking whether compiler supports -herror_on_warning... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-herror_on_warning @@ -9960,14 +10217,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-herror_on_warning - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -9978,13 +10236,13 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether tls_model attribute is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether tls_model attribute is compilable" >&5 printf %s "checking whether tls_model attribute is compilable... " >&6; } if test ${je_cv_tls_model+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -10000,14 +10258,16 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_tls_model=yes -else $as_nop - je_cv_tls_model=no +else case e in #( + e) je_cv_tls_model=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_tls_model" >&5 -printf "%s\n" "$je_cv_tls_model" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_tls_model" >&5 +printf '%s\n' "$je_cv_tls_model" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10021,7 +10281,7 @@ fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 printf %s "checking whether compiler supports -Werror... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror @@ -10055,14 +10315,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10073,7 +10334,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 printf %s "checking whether compiler supports -herror_on_warning... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-herror_on_warning @@ -10107,14 +10368,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-herror_on_warning - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10125,13 +10387,13 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether alloc_size attribute is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether alloc_size attribute is compilable" >&5 printf %s "checking whether alloc_size attribute is compilable... " >&6; } if test ${je_cv_alloc_size+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int @@ -10145,14 +10407,16 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_alloc_size=yes -else $as_nop - je_cv_alloc_size=no +else case e in #( + e) je_cv_alloc_size=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_alloc_size" >&5 -printf "%s\n" "$je_cv_alloc_size" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_alloc_size" >&5 +printf '%s\n' "$je_cv_alloc_size" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10164,13 +10428,13 @@ fi if test "x${je_cv_alloc_size}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_ATTR_ALLOC_SIZE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_ATTR_ALLOC_SIZE " >>confdefs.h fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 printf %s "checking whether compiler supports -Werror... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror @@ -10204,14 +10468,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10222,7 +10487,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 printf %s "checking whether compiler supports -herror_on_warning... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-herror_on_warning @@ -10256,14 +10521,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-herror_on_warning - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10274,13 +10540,13 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether format(gnu_printf, ...) attribute is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether format(gnu_printf, ...) attribute is compilable" >&5 printf %s "checking whether format(gnu_printf, ...) attribute is compilable... " >&6; } if test ${je_cv_format_gnu_printf+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int @@ -10294,14 +10560,16 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_format_gnu_printf=yes -else $as_nop - je_cv_format_gnu_printf=no +else case e in #( + e) je_cv_format_gnu_printf=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_format_gnu_printf" >&5 -printf "%s\n" "$je_cv_format_gnu_printf" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_format_gnu_printf" >&5 +printf '%s\n' "$je_cv_format_gnu_printf" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10313,13 +10581,13 @@ fi if test "x${je_cv_format_gnu_printf}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF " >>confdefs.h fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 printf %s "checking whether compiler supports -Werror... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror @@ -10353,14 +10621,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10371,7 +10640,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 printf %s "checking whether compiler supports -herror_on_warning... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-herror_on_warning @@ -10405,14 +10674,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-herror_on_warning - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10423,13 +10693,13 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether format(printf, ...) attribute is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether format(printf, ...) attribute is compilable" >&5 printf %s "checking whether format(printf, ...) attribute is compilable... " >&6; } if test ${je_cv_format_printf+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int @@ -10443,14 +10713,16 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_format_printf=yes -else $as_nop - je_cv_format_printf=no +else case e in #( + e) je_cv_format_printf=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_format_printf" >&5 -printf "%s\n" "$je_cv_format_printf" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_format_printf" >&5 +printf '%s\n' "$je_cv_format_printf" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10462,14 +10734,14 @@ fi if test "x${je_cv_format_printf}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF " >>confdefs.h fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 printf %s "checking whether compiler supports -Werror... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror @@ -10503,14 +10775,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10521,7 +10794,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 printf %s "checking whether compiler supports -herror_on_warning... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-herror_on_warning @@ -10555,14 +10828,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-herror_on_warning - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10573,13 +10847,13 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether format(printf, ...) attribute is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether format(printf, ...) attribute is compilable" >&5 printf %s "checking whether format(printf, ...) attribute is compilable... " >&6; } if test ${je_cv_format_arg+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int @@ -10593,14 +10867,16 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_format_arg=yes -else $as_nop - je_cv_format_arg=no +else case e in #( + e) je_cv_format_arg=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_format_arg" >&5 -printf "%s\n" "$je_cv_format_arg" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_format_arg" >&5 +printf '%s\n' "$je_cv_format_arg" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10612,14 +10888,14 @@ fi if test "x${je_cv_format_arg}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_ATTR_FORMAT_ARG " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_ATTR_FORMAT_ARG " >>confdefs.h fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wimplicit-fallthrough" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wimplicit-fallthrough" >&5 printf %s "checking whether compiler supports -Wimplicit-fallthrough... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wimplicit-fallthrough @@ -10653,14 +10929,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wimplicit-fallthrough - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10671,13 +10948,13 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fallthrough attribute is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether fallthrough attribute is compilable" >&5 printf %s "checking whether fallthrough attribute is compilable... " >&6; } if test ${je_cv_fallthrough+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if !__has_attribute(fallthrough) #error "foo" @@ -10697,14 +10974,16 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_fallthrough=yes -else $as_nop - je_cv_fallthrough=no +else case e in #( + e) je_cv_fallthrough=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_fallthrough" >&5 -printf "%s\n" "$je_cv_fallthrough" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_fallthrough" >&5 +printf '%s\n' "$je_cv_fallthrough" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10716,10 +10995,10 @@ fi if test "x${je_cv_fallthrough}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_ATTR_FALLTHROUGH " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_ATTR_FALLTHROUGH " >>confdefs.h -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wimplicit-fallthrough" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wimplicit-fallthrough" >&5 printf %s "checking whether compiler supports -Wimplicit-fallthrough... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wimplicit-fallthrough @@ -10753,14 +11032,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wimplicit-fallthrough - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10771,7 +11051,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wimplicit-fallthrough" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wimplicit-fallthrough" >&5 printf %s "checking whether compiler supports -Wimplicit-fallthrough... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-Wimplicit-fallthrough @@ -10811,14 +11091,15 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-Wimplicit-fallthrough - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cxxflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cxxflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -10839,7 +11120,7 @@ fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 printf %s "checking whether compiler supports -Werror... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror @@ -10873,14 +11154,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10891,7 +11173,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 printf %s "checking whether compiler supports -herror_on_warning... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-herror_on_warning @@ -10925,14 +11207,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-herror_on_warning - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10943,13 +11226,13 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cold attribute is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether cold attribute is compilable" >&5 printf %s "checking whether cold attribute is compilable... " >&6; } if test ${je_cv_cold+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -10963,14 +11246,16 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_cold=yes -else $as_nop - je_cv_cold=no +else case e in #( + e) je_cv_cold=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_cold" >&5 -printf "%s\n" "$je_cv_cold" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_cold" >&5 +printf '%s\n' "$je_cv_cold" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10982,14 +11267,14 @@ fi if test "x${je_cv_cold}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_ATTR_COLD " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_ATTR_COLD " >>confdefs.h fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wdeprecated-declarations" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wdeprecated-declarations" >&5 printf %s "checking whether compiler supports -Wdeprecated-declarations... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wdeprecated-declarations @@ -11023,14 +11308,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wdeprecated-declarations - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -11041,13 +11327,13 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether deprecated attribute is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether deprecated attribute is compilable" >&5 printf %s "checking whether deprecated attribute is compilable... " >&6; } if test ${je_cv_deprecated+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if !__has_attribute(deprecated) #error "deprecated attribute not supported" @@ -11071,14 +11357,16 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_deprecated=yes -else $as_nop - je_cv_deprecated=no +else case e in #( + e) je_cv_deprecated=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_deprecated" >&5 -printf "%s\n" "$je_cv_deprecated" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_deprecated" >&5 +printf '%s\n' "$je_cv_deprecated" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -11090,10 +11378,10 @@ fi if test "x${je_cv_deprecated}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_ATTR_DEPRECATED " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_ATTR_DEPRECATED " >>confdefs.h -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wdeprecated-declarations" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wdeprecated-declarations" >&5 printf %s "checking whether compiler supports -Wdeprecated-declarations... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wdeprecated-declarations @@ -11127,14 +11415,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wdeprecated-declarations - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -11145,7 +11434,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wdeprecated-declarations" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wdeprecated-declarations" >&5 printf %s "checking whether compiler supports -Wdeprecated-declarations... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-Wdeprecated-declarations @@ -11185,14 +11474,15 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-Wdeprecated-declarations - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cxxflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cxxflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -11211,13 +11501,13 @@ fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether vm_make_tag is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether vm_make_tag is compilable" >&5 printf %s "checking whether vm_make_tag is compilable... " >&6; } if test ${je_cv_vm_make_tag+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include @@ -11234,18 +11524,20 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_vm_make_tag=yes -else $as_nop - je_cv_vm_make_tag=no +else case e in #( + e) je_cv_vm_make_tag=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_vm_make_tag" >&5 -printf "%s\n" "$je_cv_vm_make_tag" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_vm_make_tag" >&5 +printf '%s\n' "$je_cv_vm_make_tag" >&6; } if test "x${je_cv_vm_make_tag}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_VM_MAKE_TAG " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_VM_MAKE_TAG " >>confdefs.h fi @@ -11258,9 +11550,10 @@ then : else RPATH_EXTRA="`echo $with_rpath | tr \":\" \" \"`" fi -else $as_nop - RPATH_EXTRA= - +else case e in #( + e) RPATH_EXTRA= + ;; +esac fi @@ -11274,9 +11567,10 @@ else enable_autogen="1" fi -else $as_nop - enable_autogen="0" - +else case e in #( + e) enable_autogen="0" + ;; +esac fi @@ -11296,14 +11590,14 @@ fi # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 printf %s "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test ${ac_cv_path_install+y} then : printf %s "(cached) " >&6 -else $as_nop - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +else case e in #( + e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS @@ -11319,8 +11613,8 @@ case $as_dir in #(( ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root + # OSF/1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF/1 since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do @@ -11357,7 +11651,8 @@ esac IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir - + ;; +esac fi if test ${ac_cv_path_install+y}; then INSTALL=$ac_cv_path_install @@ -11369,8 +11664,8 @@ fi INSTALL=$ac_install_sh fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -printf "%s\n" "$INSTALL" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +printf '%s\n' "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. @@ -11383,13 +11678,13 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_RANLIB+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$RANLIB"; then +else case e in #( + e) if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -11404,22 +11699,23 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi +fi ;; +esac fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -printf "%s\n" "$RANLIB" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +printf '%s\n' "$RANLIB" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -11428,13 +11724,13 @@ if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_RANLIB+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_RANLIB"; then +else case e in #( + e) if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -11449,22 +11745,23 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -printf "%s\n" "$ac_ct_RANLIB" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +printf '%s\n' "$ac_ct_RANLIB" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then @@ -11472,8 +11769,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB @@ -11484,13 +11781,13 @@ fi # Extract the first word of "ld", so it can be a program name with args. set dummy ld; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_LD+y} then : printf %s "(cached) " >&6 -else $as_nop - case $LD in +else case e in #( + e) case $LD in [\\/]* | ?:[\\/]*) ac_cv_path_LD="$LD" # Let the user override the test with a path. ;; @@ -11507,7 +11804,7 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_path_LD="$as_dir$ac_word$ac_exec_ext" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -11516,27 +11813,28 @@ IFS=$as_save_IFS test -z "$ac_cv_path_LD" && ac_cv_path_LD="false" ;; +esac ;; esac fi LD=$ac_cv_path_LD if test -n "$LD"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 -printf "%s\n" "$LD" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +printf '%s\n' "$LD" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi # Extract the first word of "autoconf", so it can be a program name with args. set dummy autoconf; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_AUTOCONF+y} then : printf %s "(cached) " >&6 -else $as_nop - case $AUTOCONF in +else case e in #( + e) case $AUTOCONF in [\\/]* | ?:[\\/]*) ac_cv_path_AUTOCONF="$AUTOCONF" # Let the user override the test with a path. ;; @@ -11553,7 +11851,7 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_path_AUTOCONF="$as_dir$ac_word$ac_exec_ext" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -11562,15 +11860,16 @@ IFS=$as_save_IFS test -z "$ac_cv_path_AUTOCONF" && ac_cv_path_AUTOCONF="false" ;; +esac ;; esac fi AUTOCONF=$ac_cv_path_AUTOCONF if test -n "$AUTOCONF"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5 -printf "%s\n" "$AUTOCONF" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5 +printf '%s\n' "$AUTOCONF" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } fi @@ -11584,9 +11883,10 @@ else enable_doc="1" fi -else $as_nop - enable_doc="1" - +else case e in #( + e) enable_doc="1" + ;; +esac fi @@ -11600,9 +11900,10 @@ else enable_shared="1" fi -else $as_nop - enable_shared="1" - +else case e in #( + e) enable_shared="1" + ;; +esac fi @@ -11616,9 +11917,10 @@ else enable_static="1" fi -else $as_nop - enable_static="1" - +else case e in #( + e) enable_static="1" + ;; +esac fi @@ -11628,12 +11930,59 @@ if test "$enable_shared$enable_static" = "00" ; then fi +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ucontext is compilable" >&5 +printf %s "checking whether ucontext is compilable... " >&6; } +if test ${je_cv_ucontext+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include + +int +main (void) +{ + + ucontext_t uc, ret; + getcontext(&uc); + makecontext(&uc, (void (*)(void))0, 0); + swapcontext(&ret, &uc); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO" +then : + je_cv_ucontext=yes +else case e in #( + e) je_cv_ucontext=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext ;; +esac +fi +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_ucontext" >&5 +printf '%s\n' "$je_cv_ucontext" >&6; } + +if test "x${je_cv_ucontext}" = "xyes" ; then + have_ucontext="1" +else + have_ucontext="0" +fi + + + # Check whether --with-mangling was given. if test ${with_mangling+y} then : withval=$with_mangling; mangling_map="$with_mangling" -else $as_nop - mangling_map="" +else case e in #( + e) mangling_map="" ;; +esac fi @@ -11642,26 +11991,27 @@ fi if test ${with_jemalloc_prefix+y} then : withval=$with_jemalloc_prefix; JEMALLOC_PREFIX="$with_jemalloc_prefix" -else $as_nop - if test "x$abi" != "xmacho" -a "x$abi" != "xpecoff"; then +else case e in #( + e) if test "x$abi" != "xmacho" -a "x$abi" != "xpecoff"; then JEMALLOC_PREFIX="" else JEMALLOC_PREFIX="je_" fi - + ;; +esac fi if test "x$JEMALLOC_PREFIX" = "x" ; then -printf "%s\n" "#define JEMALLOC_IS_MALLOC " >>confdefs.h +printf '%s\n' "#define JEMALLOC_IS_MALLOC " >>confdefs.h else JEMALLOC_CPREFIX=`echo ${JEMALLOC_PREFIX} | tr "a-z" "A-Z"` -printf "%s\n" "#define JEMALLOC_PREFIX \"$JEMALLOC_PREFIX\"" >>confdefs.h +printf '%s\n' "#define JEMALLOC_PREFIX \"$JEMALLOC_PREFIX\"" >>confdefs.h -printf "%s\n" "#define JEMALLOC_CPREFIX \"$JEMALLOC_CPREFIX\"" >>confdefs.h +printf '%s\n' "#define JEMALLOC_CPREFIX \"$JEMALLOC_CPREFIX\"" >>confdefs.h fi @@ -11673,7 +12023,7 @@ if test ${with_export+y} then : withval=$with_export; if test "x$with_export" = "xno"; then -printf "%s\n" "#define JEMALLOC_EXPORT " >>confdefs.h +printf '%s\n' "#define JEMALLOC_EXPORT " >>confdefs.h fi @@ -11685,7 +12035,7 @@ ac_fn_c_check_func "$LINENO" "memalign" "ac_cv_func_memalign" if test "x$ac_cv_func_memalign" = xyes then : -printf "%s\n" "#define JEMALLOC_OVERRIDE_MEMALIGN " >>confdefs.h +printf '%s\n' "#define JEMALLOC_OVERRIDE_MEMALIGN " >>confdefs.h public_syms="${public_syms} memalign" fi @@ -11694,7 +12044,7 @@ ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc" if test "x$ac_cv_func_valloc" = xyes then : -printf "%s\n" "#define JEMALLOC_OVERRIDE_VALLOC " >>confdefs.h +printf '%s\n' "#define JEMALLOC_OVERRIDE_VALLOC " >>confdefs.h public_syms="${public_syms} valloc" fi @@ -11703,7 +12053,7 @@ ac_fn_c_check_func "$LINENO" "pvalloc" "ac_cv_func_pvalloc" if test "x$ac_cv_func_pvalloc" = xyes then : -printf "%s\n" "#define JEMALLOC_OVERRIDE_PVALLOC " >>confdefs.h +printf '%s\n' "#define JEMALLOC_OVERRIDE_PVALLOC " >>confdefs.h public_syms="${public_syms} pvalloc" fi @@ -11712,7 +12062,7 @@ ac_fn_c_check_func "$LINENO" "malloc_size" "ac_cv_func_malloc_size" if test "x$ac_cv_func_malloc_size" = xyes then : -printf "%s\n" "#define JEMALLOC_HAVE_MALLOC_SIZE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_MALLOC_SIZE " >>confdefs.h public_syms="${public_syms} malloc_size" fi @@ -11724,7 +12074,7 @@ if test "x${JEMALLOC_PREFIX}" = "x" ; then if test "x$ac_cv_func___libc_calloc" = xyes then : -printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_CALLOC " >>confdefs.h +printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_CALLOC " >>confdefs.h wrap_syms="${wrap_syms} __libc_calloc" fi @@ -11733,7 +12083,7 @@ fi if test "x$ac_cv_func___libc_free" = xyes then : -printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_FREE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_FREE " >>confdefs.h wrap_syms="${wrap_syms} __libc_free" fi @@ -11742,7 +12092,7 @@ fi if test "x$ac_cv_func___libc_free_sized" = xyes then : -printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_FREE_SIZED " >>confdefs.h +printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_FREE_SIZED " >>confdefs.h wrap_syms="${wrap_syms} __libc_free_sized" fi @@ -11751,7 +12101,7 @@ fi if test "x$ac_cv_func___libc_free_aligned_sized" = xyes then : -printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_FREE_ALIGNED_SIZED " >>confdefs.h +printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_FREE_ALIGNED_SIZED " >>confdefs.h wrap_syms="${wrap_syms} __libc_free_aligned_sized" fi @@ -11760,7 +12110,7 @@ fi if test "x$ac_cv_func___libc_malloc" = xyes then : -printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_MALLOC " >>confdefs.h +printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_MALLOC " >>confdefs.h wrap_syms="${wrap_syms} __libc_malloc" fi @@ -11769,7 +12119,7 @@ fi if test "x$ac_cv_func___libc_memalign" = xyes then : -printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_MEMALIGN " >>confdefs.h +printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_MEMALIGN " >>confdefs.h wrap_syms="${wrap_syms} __libc_memalign" fi @@ -11778,7 +12128,7 @@ fi if test "x$ac_cv_func___libc_realloc" = xyes then : -printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_REALLOC " >>confdefs.h +printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_REALLOC " >>confdefs.h wrap_syms="${wrap_syms} __libc_realloc" fi @@ -11787,7 +12137,7 @@ fi if test "x$ac_cv_func___libc_valloc" = xyes then : -printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_VALLOC " >>confdefs.h +printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_VALLOC " >>confdefs.h wrap_syms="${wrap_syms} __libc_valloc" fi @@ -11796,7 +12146,7 @@ fi if test "x$ac_cv_func___libc_pvalloc" = xyes then : -printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_PVALLOC " >>confdefs.h +printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_PVALLOC " >>confdefs.h wrap_syms="${wrap_syms} __libc_pvalloc" fi @@ -11805,7 +12155,7 @@ fi if test "x$ac_cv_func___posix_memalign" = xyes then : -printf "%s\n" "#define JEMALLOC_OVERRIDE___POSIX_MEMALIGN " >>confdefs.h +printf '%s\n' "#define JEMALLOC_OVERRIDE___POSIX_MEMALIGN " >>confdefs.h wrap_syms="${wrap_syms} __posix_memalign" fi @@ -11825,13 +12175,14 @@ esac if test ${with_private_namespace+y} then : withval=$with_private_namespace; JEMALLOC_PRIVATE_NAMESPACE="${with_private_namespace}je_" -else $as_nop - JEMALLOC_PRIVATE_NAMESPACE="je_" - +else case e in #( + e) JEMALLOC_PRIVATE_NAMESPACE="je_" + ;; +esac fi -printf "%s\n" "#define JEMALLOC_PRIVATE_NAMESPACE $JEMALLOC_PRIVATE_NAMESPACE" >>confdefs.h +printf '%s\n' "#define JEMALLOC_PRIVATE_NAMESPACE $JEMALLOC_PRIVATE_NAMESPACE" >>confdefs.h private_namespace="$JEMALLOC_PRIVATE_NAMESPACE" @@ -11844,9 +12195,10 @@ then : *\ * ) as_fn_error $? "Install suffix should not contain spaces" "$LINENO" 5 ;; * ) INSTALL_SUFFIX="$with_install_suffix" ;; esac -else $as_nop - INSTALL_SUFFIX= - +else case e in #( + e) INSTALL_SUFFIX= + ;; +esac fi install_suffix="$INSTALL_SUFFIX" @@ -11857,14 +12209,15 @@ install_suffix="$INSTALL_SUFFIX" if test ${with_malloc_conf+y} then : withval=$with_malloc_conf; JEMALLOC_CONFIG_MALLOC_CONF="$with_malloc_conf" -else $as_nop - JEMALLOC_CONFIG_MALLOC_CONF="" - +else case e in #( + e) JEMALLOC_CONFIG_MALLOC_CONF="" + ;; +esac fi config_malloc_conf="$JEMALLOC_CONFIG_MALLOC_CONF" -printf "%s\n" "#define JEMALLOC_CONFIG_MALLOC_CONF \"$config_malloc_conf\"" >>confdefs.h +printf '%s\n' "#define JEMALLOC_CONFIG_MALLOC_CONF \"$config_malloc_conf\"" >>confdefs.h je_="je_" @@ -11945,14 +12298,15 @@ else enable_debug="1" fi -else $as_nop - enable_debug="0" - +else case e in #( + e) enable_debug="0" + ;; +esac fi if test "x$enable_debug" = "x1" ; then -printf "%s\n" "#define JEMALLOC_DEBUG " >>confdefs.h +printf '%s\n' "#define JEMALLOC_DEBUG " >>confdefs.h fi @@ -11960,7 +12314,7 @@ fi if test "x$enable_debug" = "x0" ; then if test "x$GCC" = "xyes" ; then -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O3" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O3" >&5 printf %s "checking whether compiler supports -O3... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-O3 @@ -11994,14 +12348,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-O3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -12012,7 +12367,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O3" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O3" >&5 printf %s "checking whether compiler supports -O3... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-O3 @@ -12052,14 +12407,15 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-O3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cxxflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cxxflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -12076,7 +12432,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -funroll-loops" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -funroll-loops" >&5 printf %s "checking whether compiler supports -funroll-loops... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-funroll-loops @@ -12110,14 +12466,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-funroll-loops - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -12129,7 +12486,7 @@ fi elif test "x$je_cv_msvc" = "xyes" ; then -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O2" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O2" >&5 printf %s "checking whether compiler supports -O2... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-O2 @@ -12163,14 +12520,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-O2 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -12181,7 +12539,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O2" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O2" >&5 printf %s "checking whether compiler supports -O2... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-O2 @@ -12221,14 +12579,15 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-O2 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cxxflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cxxflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -12246,7 +12605,7 @@ fi else -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O" >&5 printf %s "checking whether compiler supports -O... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-O @@ -12280,14 +12639,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-O - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -12298,7 +12658,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O" >&5 printf %s "checking whether compiler supports -O... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-O @@ -12338,14 +12698,15 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-O - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cxxflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cxxflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -12373,14 +12734,15 @@ else enable_stats="1" fi -else $as_nop - enable_stats="1" - +else case e in #( + e) enable_stats="1" + ;; +esac fi if test "x$enable_stats" = "x1" ; then -printf "%s\n" "#define JEMALLOC_STATS " >>confdefs.h +printf '%s\n' "#define JEMALLOC_STATS " >>confdefs.h fi @@ -12394,17 +12756,18 @@ else enable_user_config="1" fi -else $as_nop - enable_user_config="1" - +else case e in #( + e) enable_user_config="1" + ;; +esac fi if test "x$enable_user_config" = "x1" ; then -printf "%s\n" "#define JEMALLOC_CONFIG_ENV " >>confdefs.h +printf '%s\n' "#define JEMALLOC_CONFIG_ENV " >>confdefs.h -printf "%s\n" "#define JEMALLOC_CONFIG_FILE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_CONFIG_FILE " >>confdefs.h fi @@ -12417,14 +12780,37 @@ else enable_experimental_smallocx="1" fi -else $as_nop - enable_experimental_smallocx="0" - +else case e in #( + e) enable_experimental_smallocx="0" + ;; +esac fi if test "x$enable_experimental_smallocx" = "x1" ; then -printf "%s\n" "#define JEMALLOC_EXPERIMENTAL_SMALLOCX_API " >>confdefs.h +printf '%s\n' "#define JEMALLOC_EXPERIMENTAL_SMALLOCX_API " >>confdefs.h + +fi + + +# Check whether --enable-experimental_fiber_safe_tls was given. +if test ${enable_experimental_fiber_safe_tls+y} +then : + enableval=$enable_experimental_fiber_safe_tls; if test "x$enable_experimental_fiber_safe_tls" = "xno" ; then +enable_experimental_fiber_safe_tls="0" +else +enable_experimental_fiber_safe_tls="1" +fi + +else case e in #( + e) enable_experimental_fiber_safe_tls="0" + ;; +esac +fi + +if test "x$enable_experimental_fiber_safe_tls" = "x1" ; then + +printf '%s\n' "#define JEMALLOC_EXPERIMENTAL_FIBER_SAFE_TLS " >>confdefs.h fi @@ -12438,9 +12824,10 @@ else enable_prof="1" fi -else $as_nop - enable_prof="0" - +else case e in #( + e) enable_prof="0" + ;; +esac fi if test "x$enable_prof" = "x1" ; then @@ -12461,9 +12848,10 @@ else fi fi -else $as_nop - enable_prof_libunwind="0" - +else case e in #( + e) enable_prof_libunwind="0" + ;; +esac fi @@ -12478,9 +12866,10 @@ else fi LUNWIND="$with_static_libunwind" fi -else $as_nop - LUNWIND="-lunwind" - +else case e in #( + e) LUNWIND="-lunwind" + ;; +esac fi if test "x$backtrace_method" = "x" -a "x$enable_prof_libunwind" = "x1" ; then @@ -12489,29 +12878,36 @@ do : ac_fn_c_check_header_compile "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default" if test "x$ac_cv_header_libunwind_h" = xyes then : - printf "%s\n" "#define HAVE_LIBUNWIND_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_LIBUNWIND_H 1" >>confdefs.h -else $as_nop - enable_prof_libunwind="0" +else case e in #( + e) enable_prof_libunwind="0" ;; +esac fi done if test "x$LUNWIND" = "x-lunwind" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_backtrace in -lunwind" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for unw_backtrace in -lunwind" >&5 printf %s "checking for unw_backtrace in -lunwind... " >&6; } if test ${ac_cv_lib_unwind_unw_backtrace+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_check_lib_save_LIBS=$LIBS +else case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lunwind $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char unw_backtrace (); + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C" +#endif +char unw_backtrace (void); int main (void) { @@ -12523,15 +12919,17 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_unwind_unw_backtrace=yes -else $as_nop - ac_cv_lib_unwind_unw_backtrace=no +else case e in #( + e) ac_cv_lib_unwind_unw_backtrace=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +LIBS=$ac_check_lib_save_LIBS ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_unw_backtrace" >&5 -printf "%s\n" "$ac_cv_lib_unwind_unw_backtrace" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_unw_backtrace" >&5 +printf '%s\n' "$ac_cv_lib_unwind_unw_backtrace" >&6; } if test "x$ac_cv_lib_unwind_unw_backtrace" = xyes then : T_APPEND_V=$LUNWIND @@ -12542,8 +12940,9 @@ else fi -else $as_nop - enable_prof_libunwind="0" +else case e in #( + e) enable_prof_libunwind="0" ;; +esac fi else @@ -12559,139 +12958,63 @@ fi if test "x${enable_prof_libunwind}" = "x1" ; then backtrace_method="libunwind" -printf "%s\n" "#define JEMALLOC_PROF_LIBUNWIND " >>confdefs.h +printf '%s\n' "#define JEMALLOC_PROF_LIBUNWIND " >>confdefs.h fi fi -if test `uname -s` = "Linux" -then - # Check whether --enable-prof-frameptr was given. -if test ${enable_prof_frameptr+y} +# Check whether --enable-prof-libgcc was given. +if test ${enable_prof_libgcc+y} then : - enableval=$enable_prof_frameptr; if test "x$enable_prof_frameptr" = "xno" ; then - enable_prof_frameptr="0" - else - enable_prof_frameptr="1" - if test "x$enable_prof" = "x0" ; then - as_fn_error $? "--enable-prof-frameptr should only be used with --enable-prof" "$LINENO" 5 - fi - fi - -else $as_nop - enable_prof_frameptr="0" - + enableval=$enable_prof_libgcc; if test "x$enable_prof_libgcc" = "xno" ; then + enable_prof_libgcc="0" +else + enable_prof_libgcc="1" fi - if test "x$backtrace_method" = "x" -a "x$enable_prof_frameptr" = "x1" \ - -a "x$GCC" = "xyes" ; then - -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fno-omit-frame-pointer" >&5 -printf %s "checking whether compiler supports -fno-omit-frame-pointer... " >&6; } -T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -T_APPEND_V=-fno-omit-frame-pointer - if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${T_APPEND_V}" = "x" ; then - CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}${T_APPEND_V}" -else - CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS} ${T_APPEND_V}" +else case e in #( + e) enable_prof_libgcc="1" + ;; +esac fi +if test "x$backtrace_method" = "x" -a "x$enable_prof_libgcc" = "x1" \ + -a "x$GCC" = "xyes" ; then + for ac_header in unwind.h +do : + ac_fn_c_check_header_compile "$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default" +if test "x$ac_cv_header_unwind_h" = xyes +then : + printf '%s\n' "#define HAVE_UNWIND_H 1" >>confdefs.h -if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then - CFLAGS="${CONFIGURE_CFLAGS}${SPECIFIED_CFLAGS}" -else - CFLAGS="${CONFIGURE_CFLAGS} ${SPECIFIED_CFLAGS}" -fi - -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -int -main (void) -{ - - return 0; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - je_cv_cflags_added=-fno-omit-frame-pointer - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } - CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then - CFLAGS="${CONFIGURE_CFLAGS}${SPECIFIED_CFLAGS}" -else - CFLAGS="${CONFIGURE_CFLAGS} ${SPECIFIED_CFLAGS}" -fi - - - backtrace_method="frame pointer linux" - -printf "%s\n" "#define JEMALLOC_PROF_FRAME_POINTER " >>confdefs.h - - else - enable_prof_frameptr="0" - fi -else - enable_prof_frameptr="0" -fi - -# Check whether --enable-prof-libgcc was given. -if test ${enable_prof_libgcc+y} -then : - enableval=$enable_prof_libgcc; if test "x$enable_prof_libgcc" = "xno" ; then - enable_prof_libgcc="0" -else - enable_prof_libgcc="1" -fi - -else $as_nop - enable_prof_libgcc="1" - -fi - -if test "x$backtrace_method" = "x" -a "x$enable_prof_libgcc" = "x1" \ - -a "x$GCC" = "xyes" ; then - for ac_header in unwind.h -do : - ac_fn_c_check_header_compile "$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default" -if test "x$ac_cv_header_unwind_h" = xyes -then : - printf "%s\n" "#define HAVE_UNWIND_H 1" >>confdefs.h - -else $as_nop - enable_prof_libgcc="0" +else case e in #( + e) enable_prof_libgcc="0" ;; +esac fi done if test "x${enable_prof_libgcc}" = "x1" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _Unwind_Backtrace in -lgcc" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for _Unwind_Backtrace in -lgcc" >&5 printf %s "checking for _Unwind_Backtrace in -lgcc... " >&6; } if test ${ac_cv_lib_gcc__Unwind_Backtrace+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_check_lib_save_LIBS=$LIBS +else case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lgcc $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char _Unwind_Backtrace (); + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C" +#endif +char _Unwind_Backtrace (void); int main (void) { @@ -12703,15 +13026,17 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_gcc__Unwind_Backtrace=yes -else $as_nop - ac_cv_lib_gcc__Unwind_Backtrace=no +else case e in #( + e) ac_cv_lib_gcc__Unwind_Backtrace=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +LIBS=$ac_check_lib_save_LIBS ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcc__Unwind_Backtrace" >&5 -printf "%s\n" "$ac_cv_lib_gcc__Unwind_Backtrace" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcc__Unwind_Backtrace" >&5 +printf '%s\n' "$ac_cv_lib_gcc__Unwind_Backtrace" >&6; } if test "x$ac_cv_lib_gcc__Unwind_Backtrace" = xyes then : T_APPEND_V=-lgcc @@ -12722,15 +13047,16 @@ else fi -else $as_nop - enable_prof_libgcc="0" +else case e in #( + e) enable_prof_libgcc="0" ;; +esac fi fi if test "x${enable_prof_libgcc}" = "x1" ; then backtrace_method="libgcc" -printf "%s\n" "#define JEMALLOC_PROF_LIBGCC " >>confdefs.h +printf '%s\n' "#define JEMALLOC_PROF_LIBGCC " >>confdefs.h fi else @@ -12746,15 +13072,16 @@ else enable_prof_gcc="1" fi -else $as_nop - enable_prof_gcc="1" - +else case e in #( + e) enable_prof_gcc="1" + ;; +esac fi if test "x$backtrace_method" = "x" -a "x$enable_prof_gcc" = "x1" \ -a "x$GCC" = "xyes" ; then -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fno-omit-frame-pointer" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fno-omit-frame-pointer" >&5 printf %s "checking whether compiler supports -fno-omit-frame-pointer... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-fno-omit-frame-pointer @@ -12788,14 +13115,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-fno-omit-frame-pointer - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -12807,7 +13135,7 @@ fi backtrace_method="gcc intrinsics" -printf "%s\n" "#define JEMALLOC_PROF_GCC " >>confdefs.h +printf '%s\n' "#define JEMALLOC_PROF_GCC " >>confdefs.h else enable_prof_gcc="0" @@ -12817,10 +13145,10 @@ if test "x$backtrace_method" = "x" ; then backtrace_method="none (disabling profiling)" enable_prof="0" fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking configured backtracing method" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking configured backtracing method" >&5 printf %s "checking configured backtracing method... " >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $backtrace_method" >&5 -printf "%s\n" "$backtrace_method" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $backtrace_method" >&5 +printf '%s\n' "$backtrace_method" >&6; } if test "x$enable_prof" = "x1" ; then T_APPEND_V=$LM if test "x${LIBS}" = "x" -o "x${T_APPEND_V}" = "x" ; then @@ -12832,26 +13160,26 @@ fi -printf "%s\n" "#define JEMALLOC_PROF " >>confdefs.h +printf '%s\n' "#define JEMALLOC_PROF " >>confdefs.h fi if test "x${maps_coalesce}" = "x1" ; then -printf "%s\n" "#define JEMALLOC_MAPS_COALESCE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_MAPS_COALESCE " >>confdefs.h fi if test "x$default_retain" = "x1" ; then -printf "%s\n" "#define JEMALLOC_RETAIN " >>confdefs.h +printf '%s\n' "#define JEMALLOC_RETAIN " >>confdefs.h fi if test "x$zero_realloc_default_free" = "x1" ; then -printf "%s\n" "#define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE " >>confdefs.h fi @@ -12864,9 +13192,10 @@ else enable_dss="1" fi -else $as_nop - enable_dss="1" - +else case e in #( + e) enable_dss="1" + ;; +esac fi @@ -12875,14 +13204,15 @@ ac_fn_c_check_func "$LINENO" "sbrk" "ac_cv_func_sbrk" if test "x$ac_cv_func_sbrk" = xyes then : have_sbrk="1" -else $as_nop - have_sbrk="0" +else case e in #( + e) have_sbrk="0" ;; +esac fi if test "x$have_sbrk" = "x1" ; then if test "x$sbrk_deprecated" = "x1" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling dss allocation because sbrk is deprecated" >&5 -printf "%s\n" "Disabling dss allocation because sbrk is deprecated" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: Disabling dss allocation because sbrk is deprecated" >&5 +printf '%s\n' "Disabling dss allocation because sbrk is deprecated" >&6; } have_dss="0" fi else @@ -12891,7 +13221,7 @@ fi if test "x$have_dss" = "x1" -a "x$enable_dss" = "x1" ; then -printf "%s\n" "#define JEMALLOC_DSS " >>confdefs.h +printf '%s\n' "#define JEMALLOC_DSS " >>confdefs.h fi @@ -12904,14 +13234,15 @@ else enable_fill="1" fi -else $as_nop - enable_fill="1" - +else case e in #( + e) enable_fill="1" + ;; +esac fi if test "x$enable_fill" = "x1" ; then -printf "%s\n" "#define JEMALLOC_FILL " >>confdefs.h +printf '%s\n' "#define JEMALLOC_FILL " >>confdefs.h fi @@ -12925,19 +13256,20 @@ else enable_utrace="1" fi -else $as_nop - enable_utrace="0" - +else case e in #( + e) enable_utrace="0" + ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether utrace(2) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether utrace(2) is compilable" >&5 printf %s "checking whether utrace(2) is compilable... " >&6; } if test ${je_cv_utrace+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -12959,24 +13291,26 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_utrace=yes -else $as_nop - je_cv_utrace=no +else case e in #( + e) je_cv_utrace=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_utrace" >&5 -printf "%s\n" "$je_cv_utrace" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_utrace" >&5 +printf '%s\n' "$je_cv_utrace" >&6; } if test "x${je_cv_utrace}" = "xno" ; then -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether utrace(2) with label is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether utrace(2) with label is compilable" >&5 printf %s "checking whether utrace(2) with label is compilable... " >&6; } if test ${je_cv_utrace_label+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -12998,27 +13332,29 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_utrace_label=yes -else $as_nop - je_cv_utrace_label=no +else case e in #( + e) je_cv_utrace_label=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_utrace_label" >&5 -printf "%s\n" "$je_cv_utrace_label" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_utrace_label" >&5 +printf '%s\n' "$je_cv_utrace_label" >&6; } if test "x${je_cv_utrace_label}" = "xno"; then enable_utrace="0" fi if test "x$enable_utrace" = "x1" ; then -printf "%s\n" "#define JEMALLOC_UTRACE_LABEL " >>confdefs.h +printf '%s\n' "#define JEMALLOC_UTRACE_LABEL " >>confdefs.h fi else if test "x$enable_utrace" = "x1" ; then -printf "%s\n" "#define JEMALLOC_UTRACE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_UTRACE " >>confdefs.h fi fi @@ -13031,13 +13367,13 @@ then : enable_experimental_sdt="0" else -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether systemtap sdt is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether systemtap sdt is compilable" >&5 printf %s "checking whether systemtap sdt is compilable... " >&6; } if test ${je_cv_stap_sdt+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -13055,14 +13391,16 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_stap_sdt=yes -else $as_nop - je_cv_stap_sdt=no +else case e in #( + e) je_cv_stap_sdt=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_stap_sdt" >&5 -printf "%s\n" "$je_cv_stap_sdt" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_stap_sdt" >&5 +printf '%s\n' "$je_cv_stap_sdt" >&6; } if test "x${je_cv_stap_sdt}" = "xyes" ; then @@ -13091,19 +13429,20 @@ printf "%s\n" "$je_cv_stap_sdt" >&6; } fi fi -else $as_nop - enable_experimental_sdt="0" - +else case e in #( + e) enable_experimental_sdt="0" + ;; +esac fi if test "x$enable_experimental_sdt" = "x1" ; then -printf "%s\n" "#define JEMALLOC_EXPERIMENTAL_USDT_STAP " >>confdefs.h +printf '%s\n' "#define JEMALLOC_EXPERIMENTAL_USDT_STAP " >>confdefs.h elif test "x$enable_experimental_sdt" = "x2"; then -printf "%s\n" "#define JEMALLOC_EXPERIMENTAL_USDT_CUSTOM " >>confdefs.h +printf '%s\n' "#define JEMALLOC_EXPERIMENTAL_USDT_CUSTOM " >>confdefs.h fi @@ -13117,14 +13456,15 @@ else enable_xmalloc="1" fi -else $as_nop - enable_xmalloc="0" - +else case e in #( + e) enable_xmalloc="0" + ;; +esac fi if test "x$enable_xmalloc" = "x1" ; then -printf "%s\n" "#define JEMALLOC_XMALLOC " >>confdefs.h +printf '%s\n' "#define JEMALLOC_XMALLOC " >>confdefs.h fi @@ -13138,14 +13478,15 @@ else enable_cache_oblivious="1" fi -else $as_nop - enable_cache_oblivious="1" - +else case e in #( + e) enable_cache_oblivious="1" + ;; +esac fi if test "x$enable_cache_oblivious" = "x1" ; then -printf "%s\n" "#define JEMALLOC_CACHE_OBLIVIOUS " >>confdefs.h +printf '%s\n' "#define JEMALLOC_CACHE_OBLIVIOUS " >>confdefs.h fi @@ -13159,14 +13500,15 @@ else enable_log="1" fi -else $as_nop - enable_log="0" - +else case e in #( + e) enable_log="0" + ;; +esac fi if test "x$enable_log" = "x1" ; then -printf "%s\n" "#define JEMALLOC_LOG " >>confdefs.h +printf '%s\n' "#define JEMALLOC_LOG " >>confdefs.h fi @@ -13180,14 +13522,15 @@ else enable_readlinkat="1" fi -else $as_nop - enable_readlinkat="0" - +else case e in #( + e) enable_readlinkat="0" + ;; +esac fi if test "x$enable_readlinkat" = "x1" ; then -printf "%s\n" "#define JEMALLOC_READLINKAT " >>confdefs.h +printf '%s\n' "#define JEMALLOC_READLINKAT " >>confdefs.h fi @@ -13201,14 +13544,15 @@ else enable_force_getenv="1" fi -else $as_nop - enable_force_getenv="0" - +else case e in #( + e) enable_force_getenv="0" + ;; +esac fi if test "x$enable_force_getenv" = "x1" ; then -printf "%s\n" "#define JEMALLOC_FORCE_GETENV " >>confdefs.h +printf '%s\n' "#define JEMALLOC_FORCE_GETENV " >>confdefs.h fi @@ -13222,14 +13566,15 @@ else enable_opt_safety_checks="1" fi -else $as_nop - enable_opt_safety_checks="0" - +else case e in #( + e) enable_opt_safety_checks="0" + ;; +esac fi if test "x$enable_opt_safety_checks" = "x1" ; then -printf "%s\n" "#define JEMALLOC_OPT_SAFETY_CHECKS " >>confdefs.h +printf '%s\n' "#define JEMALLOC_OPT_SAFETY_CHECKS " >>confdefs.h fi @@ -13243,14 +13588,15 @@ else enable_opt_size_checks="1" fi -else $as_nop - enable_opt_size_checks="0" - +else case e in #( + e) enable_opt_size_checks="0" + ;; +esac fi if test "x$enable_opt_size_checks" = "x1" ; then -printf "%s\n" "#define JEMALLOC_OPT_SIZE_CHECKS " >>confdefs.h +printf '%s\n' "#define JEMALLOC_OPT_SIZE_CHECKS " >>confdefs.h fi @@ -13264,26 +13610,27 @@ else enable_uaf_detection="1" fi -else $as_nop - enable_uaf_detection="0" - +else case e in #( + e) enable_uaf_detection="0" + ;; +esac fi if test "x$enable_uaf_detection" = "x1" ; then -printf "%s\n" "#define JEMALLOC_UAF_DETECTION " >>confdefs.h +printf '%s\n' "#define JEMALLOC_UAF_DETECTION " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program using __builtin_unreachable is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a program using __builtin_unreachable is compilable" >&5 printf %s "checking whether a program using __builtin_unreachable is compilable... " >&6; } if test ${je_cv_gcc_builtin_unreachable+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ void foo (void) { @@ -13305,33 +13652,35 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_gcc_builtin_unreachable=yes -else $as_nop - je_cv_gcc_builtin_unreachable=no +else case e in #( + e) je_cv_gcc_builtin_unreachable=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_builtin_unreachable" >&5 -printf "%s\n" "$je_cv_gcc_builtin_unreachable" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_builtin_unreachable" >&5 +printf '%s\n' "$je_cv_gcc_builtin_unreachable" >&6; } if test "x${je_cv_gcc_builtin_unreachable}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable" >>confdefs.h +printf '%s\n' "#define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable" >>confdefs.h else -printf "%s\n" "#define JEMALLOC_INTERNAL_UNREACHABLE abort" >>confdefs.h +printf '%s\n' "#define JEMALLOC_INTERNAL_UNREACHABLE abort" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program using __builtin_ffsl is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a program using __builtin_ffsl is compilable" >&5 printf %s "checking whether a program using __builtin_ffsl is compilable... " >&6; } if test ${je_cv_gcc_builtin_ffsl+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -13354,34 +13703,36 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_gcc_builtin_ffsl=yes -else $as_nop - je_cv_gcc_builtin_ffsl=no +else case e in #( + e) je_cv_gcc_builtin_ffsl=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_builtin_ffsl" >&5 -printf "%s\n" "$je_cv_gcc_builtin_ffsl" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_builtin_ffsl" >&5 +printf '%s\n' "$je_cv_gcc_builtin_ffsl" >&6; } if test "x${je_cv_gcc_builtin_ffsl}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll" >>confdefs.h +printf '%s\n' "#define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll" >>confdefs.h -printf "%s\n" "#define JEMALLOC_INTERNAL_FFSL __builtin_ffsl" >>confdefs.h +printf '%s\n' "#define JEMALLOC_INTERNAL_FFSL __builtin_ffsl" >>confdefs.h -printf "%s\n" "#define JEMALLOC_INTERNAL_FFS __builtin_ffs" >>confdefs.h +printf '%s\n' "#define JEMALLOC_INTERNAL_FFS __builtin_ffs" >>confdefs.h else -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program using ffsl is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a program using ffsl is compilable" >&5 printf %s "checking whether a program using ffsl is compilable... " >&6; } if test ${je_cv_function_ffsl+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -13404,24 +13755,26 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_function_ffsl=yes -else $as_nop - je_cv_function_ffsl=no +else case e in #( + e) je_cv_function_ffsl=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_function_ffsl" >&5 -printf "%s\n" "$je_cv_function_ffsl" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_function_ffsl" >&5 +printf '%s\n' "$je_cv_function_ffsl" >&6; } if test "x${je_cv_function_ffsl}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_INTERNAL_FFSLL ffsll" >>confdefs.h +printf '%s\n' "#define JEMALLOC_INTERNAL_FFSLL ffsll" >>confdefs.h -printf "%s\n" "#define JEMALLOC_INTERNAL_FFSL ffsl" >>confdefs.h +printf '%s\n' "#define JEMALLOC_INTERNAL_FFSL ffsl" >>confdefs.h -printf "%s\n" "#define JEMALLOC_INTERNAL_FFS ffs" >>confdefs.h +printf '%s\n' "#define JEMALLOC_INTERNAL_FFS ffs" >>confdefs.h else as_fn_error $? "Cannot build without ffsl(3) or __builtin_ffsl()" "$LINENO" 5 @@ -13429,13 +13782,13 @@ printf "%s\n" "#define JEMALLOC_INTERNAL_FFS ffs" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program using __builtin_popcountl is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a program using __builtin_popcountl is compilable" >&5 printf %s "checking whether a program using __builtin_popcountl is compilable... " >&6; } if test ${je_cv_gcc_builtin_popcountl+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -13458,24 +13811,26 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_gcc_builtin_popcountl=yes -else $as_nop - je_cv_gcc_builtin_popcountl=no +else case e in #( + e) je_cv_gcc_builtin_popcountl=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_builtin_popcountl" >&5 -printf "%s\n" "$je_cv_gcc_builtin_popcountl" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_builtin_popcountl" >&5 +printf '%s\n' "$je_cv_gcc_builtin_popcountl" >&6; } if test "x${je_cv_gcc_builtin_popcountl}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount" >>confdefs.h +printf '%s\n' "#define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount" >>confdefs.h -printf "%s\n" "#define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl" >>confdefs.h +printf '%s\n' "#define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl" >>confdefs.h -printf "%s\n" "#define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll" >>confdefs.h +printf '%s\n' "#define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll" >>confdefs.h fi @@ -13488,7 +13843,7 @@ fi if test "x$with_lg_quantum" != "x" ; then -printf "%s\n" "#define LG_QUANTUM $with_lg_quantum" >>confdefs.h +printf '%s\n' "#define LG_QUANTUM $with_lg_quantum" >>confdefs.h fi @@ -13497,13 +13852,14 @@ fi if test ${with_lg_slab_maxregs+y} then : withval=$with_lg_slab_maxregs; CONFIG_LG_SLAB_MAXREGS="with_lg_slab_maxregs" -else $as_nop - CONFIG_LG_SLAB_MAXREGS="" +else case e in #( + e) CONFIG_LG_SLAB_MAXREGS="" ;; +esac fi if test "x$with_lg_slab_maxregs" != "x" ; then -printf "%s\n" "#define CONFIG_LG_SLAB_MAXREGS $with_lg_slab_maxregs" >>confdefs.h +printf '%s\n' "#define CONFIG_LG_SLAB_MAXREGS $with_lg_slab_maxregs" >>confdefs.h fi @@ -13512,8 +13868,9 @@ fi if test ${with_lg_page+y} then : withval=$with_lg_page; LG_PAGE="$with_lg_page" -else $as_nop - LG_PAGE="detect" +else case e in #( + e) LG_PAGE="detect" ;; +esac fi case "${host}" in @@ -13524,13 +13881,13 @@ case "${host}" in ;; *-*-linux-android) if test "x$LG_PAGE" = "xdetect"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 -printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5 +printf %s "checking for $CC options to detect undeclared functions... " >&6; } if test ${ac_cv_c_undeclared_builtin_options+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_save_CFLAGS=$CFLAGS +else case e in #( + e) ac_save_CFLAGS=$CFLAGS ac_cv_c_undeclared_builtin_options='cannot detect' for ac_arg in '' -fno-builtin; do CFLAGS="$ac_save_CFLAGS $ac_arg" @@ -13549,8 +13906,8 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : -else $as_nop - # This test program should compile successfully. +else case e in #( + e) # This test program should compile successfully. # No library function is consistently available on # freestanding implementations, so test against a dummy # declaration. Include always-available headers on the @@ -13578,46 +13935,94 @@ then : if test x"$ac_arg" = x then : ac_cv_c_undeclared_builtin_options='none needed' -else $as_nop - ac_cv_c_undeclared_builtin_options=$ac_arg +else case e in #( + e) ac_cv_c_undeclared_builtin_options=$ac_arg ;; +esac fi break fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done CFLAGS=$ac_save_CFLAGS - + ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 -printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 +printf '%s\n' "$ac_cv_c_undeclared_builtin_options" >&6; } case $ac_cv_c_undeclared_builtin_options in #( 'cannot detect') : - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot make $CC report undeclared builtins -See \`config.log' for more details" "$LINENO" 5; } ;; #( +See 'config.log' for more details" "$LINENO" 5; } ;; #( 'none needed') : ac_c_undeclared_builtin_options='' ;; #( *) : ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; esac +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5 +printf %s "checking for $CC options to ignore future-version functions... " >&6; } +if test ${ac_cv_c_future_darwin_options+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_compile_saved="$ac_compile" + ac_compile="$ac_compile -Werror=unguarded-availability-new" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if ! (defined __APPLE__ && defined __MACH__) + #error "-Werror=unguarded-availability-new not needed here" + #endif + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new' +else case e in #( + e) ac_cv_c_future_darwin_options='none needed' ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ac_compile="$ac_compile_saved" + ;; +esac +fi +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5 +printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; } + case $ac_cv_c_future_darwin_options in #( + 'none needed') : + ac_c_future_darwin_options='' ;; #( + *) : + ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;; +esac + ac_fn_check_decl "$LINENO" "PAGE_SIZE" "ac_cv_have_decl_PAGE_SIZE" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" if test "x$ac_cv_have_decl_PAGE_SIZE" = xyes then : ac_have_decl=1 -else $as_nop - ac_have_decl=0 +else case e in #( + e) ac_have_decl=0 ;; +esac fi -printf "%s\n" "#define HAVE_DECL_PAGE_SIZE $ac_have_decl" >>confdefs.h +printf '%s\n' "#define HAVE_DECL_PAGE_SIZE $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : LG_PAGE=12 -else $as_nop - LG_PAGE=14 +else case e in #( + e) LG_PAGE=14 ;; +esac fi fi @@ -13629,17 +14034,17 @@ fi ;; esac if test "x$LG_PAGE" = "xdetect"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LG_PAGE" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking LG_PAGE" >&5 printf %s "checking LG_PAGE... " >&6; } if test ${je_cv_lg_page+y} then : printf %s "(cached) " >&6 -else $as_nop - if test "$cross_compiling" = yes +else case e in #( + e) if test "$cross_compiling" = yes then : je_cv_lg_page=12 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -13685,35 +14090,42 @@ _ACEOF if ac_fn_c_try_run "$LINENO" then : je_cv_lg_page=`cat conftest.out` -else $as_nop - je_cv_lg_page=undefined +else case e in #( + e) je_cv_lg_page=undefined ;; +esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi - + ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_lg_page" >&5 -printf "%s\n" "$je_cv_lg_page" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_lg_page" >&5 +printf '%s\n' "$je_cv_lg_page" >&6; } fi if test "x${je_cv_lg_page}" != "x" ; then LG_PAGE="${je_cv_lg_page}" fi if test "x${LG_PAGE}" != "xundefined" ; then -printf "%s\n" "#define LG_PAGE $LG_PAGE" >>confdefs.h +printf '%s\n' "#define LG_PAGE $LG_PAGE" >>confdefs.h else as_fn_error $? "cannot determine value for LG_PAGE" "$LINENO" 5 fi +if test "${LG_PAGE}" -lt 8 ; then + as_fn_error $? "LG_PAGE must be at least 8 (PAGE >= 256)" "$LINENO" 5 +fi # Check whether --with-lg_hugepage was given. if test ${with_lg_hugepage+y} then : withval=$with_lg_hugepage; je_cv_lg_hugepage="${with_lg_hugepage}" -else $as_nop - je_cv_lg_hugepage="" +else case e in #( + e) je_cv_lg_hugepage="" ;; +esac fi if test "x${je_cv_lg_hugepage}" = "x" ; then @@ -13735,11 +14147,13 @@ if test "x${je_cv_lg_hugepage}" = "x" ; then fi fi if test "x${LG_PAGE}" != "xundefined" -a \ - "${je_cv_lg_hugepage}" -lt "${LG_PAGE}" ; then - as_fn_error $? "Huge page size (2^${je_cv_lg_hugepage}) must be at least page size (2^${LG_PAGE})" "$LINENO" 5 + "${je_cv_lg_hugepage}" -le "${LG_PAGE}" ; then + as_fn_error $? "Huge page size (2^${je_cv_lg_hugepage}) must be greater than page size (2^${LG_PAGE})" "$LINENO" 5 fi -printf "%s\n" "#define LG_HUGEPAGE ${je_cv_lg_hugepage}" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define LG_HUGEPAGE ${je_cv_lg_hugepage} +_ACEOF # Check whether --enable-libdl was given. @@ -13751,9 +14165,10 @@ else enable_libdl="1" fi -else $as_nop - enable_libdl="1" - +else case e in #( + e) enable_libdl="1" + ;; +esac fi @@ -13761,35 +14176,42 @@ fi if test "x$abi" != "xpecoff" ; then -printf "%s\n" "#define JEMALLOC_HAVE_PTHREAD " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD " >>confdefs.h for ac_header in pthread.h do : ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" if test "x$ac_cv_header_pthread_h" = xyes then : - printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_PTHREAD_H 1" >>confdefs.h -else $as_nop - as_fn_error $? "pthread.h is missing" "$LINENO" 5 +else case e in #( + e) as_fn_error $? "pthread.h is missing" "$LINENO" 5 ;; +esac fi done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 printf %s "checking for pthread_create in -lpthread... " >&6; } if test ${ac_cv_lib_pthread_pthread_create+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_check_lib_save_LIBS=$LIBS +else case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char pthread_create (); + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C" +#endif +char pthread_create (void); int main (void) { @@ -13801,15 +14223,17 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_pthread_pthread_create=yes -else $as_nop - ac_cv_lib_pthread_pthread_create=no +else case e in #( + e) ac_cv_lib_pthread_pthread_create=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +LIBS=$ac_check_lib_save_LIBS ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 -printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 +printf '%s\n' "$ac_cv_lib_pthread_pthread_create" >&6; } if test "x$ac_cv_lib_pthread_pthread_create" = xyes then : T_APPEND_V=-pthread @@ -13820,21 +14244,27 @@ else fi -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 +else case e in #( + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 printf %s "checking for library containing pthread_create... " >&6; } if test ${ac_cv_search_pthread_create+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_func_search_save_LIBS=$LIBS +else case e in #( + e) ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char pthread_create (); + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C" +#endif +char pthread_create (void); int main (void) { @@ -13865,23 +14295,27 @@ done if test ${ac_cv_search_pthread_create+y} then : -else $as_nop - ac_cv_search_pthread_create=no +else case e in #( + e) ac_cv_search_pthread_create=no ;; +esac fi rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS +LIBS=$ac_func_search_save_LIBS ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5 -printf "%s\n" "$ac_cv_search_pthread_create" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5 +printf '%s\n' "$ac_cv_search_pthread_create" >&6; } ac_res=$ac_cv_search_pthread_create if test "$ac_res" != no then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" -else $as_nop - as_fn_error $? "libpthread is missing" "$LINENO" 5 +else case e in #( + e) as_fn_error $? "libpthread is missing" "$LINENO" 5 ;; +esac fi - + ;; +esac fi wrap_syms="${wrap_syms} pthread_create" @@ -13894,27 +14328,33 @@ do : ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" if test "x$ac_cv_header_dlfcn_h" = xyes then : - printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h + printf '%s\n' "#define HAVE_DLFCN_H 1" >>confdefs.h ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym" if test "x$ac_cv_func_dlsym" = xyes then : -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5 +else case e in #( + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5 printf %s "checking for dlsym in -ldl... " >&6; } if test ${ac_cv_lib_dl_dlsym+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_check_lib_save_LIBS=$LIBS +else case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char dlsym (); + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C" +#endif +char dlsym (void); int main (void) { @@ -13926,32 +14366,37 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_dl_dlsym=yes -else $as_nop - ac_cv_lib_dl_dlsym=no +else case e in #( + e) ac_cv_lib_dl_dlsym=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +LIBS=$ac_check_lib_save_LIBS ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5 -printf "%s\n" "$ac_cv_lib_dl_dlsym" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5 +printf '%s\n' "$ac_cv_lib_dl_dlsym" >&6; } if test "x$ac_cv_lib_dl_dlsym" = xyes then : LIBS="$LIBS -ldl" -else $as_nop - have_dlsym="0" +else case e in #( + e) have_dlsym="0" ;; +esac fi - + ;; +esac fi -else $as_nop - have_dlsym="0" +else case e in #( + e) have_dlsym="0" ;; +esac fi done if test "x$have_dlsym" = "x1" ; then -printf "%s\n" "#define JEMALLOC_HAVE_DLSYM " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_DLSYM " >>confdefs.h fi else @@ -13959,13 +14404,13 @@ printf "%s\n" "#define JEMALLOC_HAVE_DLSYM " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_atfork(3) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pthread_atfork(3) is compilable" >&5 printf %s "checking whether pthread_atfork(3) is compilable... " >&6; } if test ${je_cv_pthread_atfork+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -13983,28 +14428,30 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_pthread_atfork=yes -else $as_nop - je_cv_pthread_atfork=no +else case e in #( + e) je_cv_pthread_atfork=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_atfork" >&5 -printf "%s\n" "$je_cv_pthread_atfork" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_atfork" >&5 +printf '%s\n' "$je_cv_pthread_atfork" >&6; } if test "x${je_cv_pthread_atfork}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_PTHREAD_ATFORK " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD_ATFORK " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_setname_np(3) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pthread_setname_np(3) is compilable" >&5 printf %s "checking whether pthread_setname_np(3) is compilable... " >&6; } if test ${je_cv_pthread_setname_np+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14022,28 +14469,30 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_pthread_setname_np=yes -else $as_nop - je_cv_pthread_setname_np=no +else case e in #( + e) je_cv_pthread_setname_np=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_setname_np" >&5 -printf "%s\n" "$je_cv_pthread_setname_np" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_setname_np" >&5 +printf '%s\n' "$je_cv_pthread_setname_np" >&6; } if test "x${je_cv_pthread_setname_np}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_PTHREAD_SETNAME_NP " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD_SETNAME_NP " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_getname_np(3) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pthread_getname_np(3) is compilable" >&5 printf %s "checking whether pthread_getname_np(3) is compilable... " >&6; } if test ${je_cv_pthread_getname_np+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14066,28 +14515,30 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_pthread_getname_np=yes -else $as_nop - je_cv_pthread_getname_np=no +else case e in #( + e) je_cv_pthread_getname_np=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_getname_np" >&5 -printf "%s\n" "$je_cv_pthread_getname_np" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_getname_np" >&5 +printf '%s\n' "$je_cv_pthread_getname_np" >&6; } if test "x${je_cv_pthread_getname_np}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_PTHREAD_GETNAME_NP " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD_GETNAME_NP " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_set_name_np(3) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pthread_set_name_np(3) is compilable" >&5 printf %s "checking whether pthread_set_name_np(3) is compilable... " >&6; } if test ${je_cv_pthread_set_name_np+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14106,28 +14557,30 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_pthread_set_name_np=yes -else $as_nop - je_cv_pthread_set_name_np=no +else case e in #( + e) je_cv_pthread_set_name_np=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_set_name_np" >&5 -printf "%s\n" "$je_cv_pthread_set_name_np" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_set_name_np" >&5 +printf '%s\n' "$je_cv_pthread_set_name_np" >&6; } if test "x${je_cv_pthread_set_name_np}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_PTHREAD_SET_NAME_NP " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD_SET_NAME_NP " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_get_name_np(3) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pthread_get_name_np(3) is compilable" >&5 printf %s "checking whether pthread_get_name_np(3) is compilable... " >&6; } if test ${je_cv_pthread_get_name_np+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14151,18 +14604,86 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_pthread_get_name_np=yes -else $as_nop - je_cv_pthread_get_name_np=no +else case e in #( + e) je_cv_pthread_get_name_np=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_get_name_np" >&5 -printf "%s\n" "$je_cv_pthread_get_name_np" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_get_name_np" >&5 +printf '%s\n' "$je_cv_pthread_get_name_np" >&6; } if test "x${je_cv_pthread_get_name_np}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_PTHREAD_GET_NAME_NP " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD_GET_NAME_NP " >>confdefs.h + + fi + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pthread_condattr_setclock with CLOCK_MONOTONIC is usable" >&5 +printf %s "checking whether pthread_condattr_setclock with CLOCK_MONOTONIC is usable... " >&6; } +if test ${je_cv_pthread_cond_timedwait_monotonic+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) if test "$cross_compiling" = yes +then : + je_cv_pthread_cond_timedwait_monotonic=no +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main (void) +{ + + pthread_condattr_t attr; + pthread_cond_t cond; + struct timespec ts; + int ret = pthread_condattr_init(&attr); + if (ret != 0) { + return 1; + } + ret = pthread_condattr_setclock(&attr, CLOCK_MONOTONIC); + if (ret != 0) { + pthread_condattr_destroy(&attr); + return 1; + } + ret = pthread_cond_init(&cond, &attr); + pthread_condattr_destroy(&attr); + if (ret != 0) { + return 1; + } + ret = clock_gettime(CLOCK_MONOTONIC, &ts); + pthread_cond_destroy(&cond); + return ret != 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + je_cv_pthread_cond_timedwait_monotonic=yes +else case e in #( + e) je_cv_pthread_cond_timedwait_monotonic=no ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi + ;; +esac +fi +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_cond_timedwait_monotonic" >&5 +printf '%s\n' "$je_cv_pthread_cond_timedwait_monotonic" >&6; } + if test "x${je_cv_pthread_cond_timedwait_monotonic}" = "xyes" ; then + +printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC " >>confdefs.h fi fi @@ -14176,20 +14697,26 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 printf %s "checking for library containing clock_gettime... " >&6; } if test ${ac_cv_search_clock_gettime+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_func_search_save_LIBS=$LIBS +else case e in #( + e) ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char clock_gettime (); + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C" +#endif +char clock_gettime (void); int main (void) { @@ -14220,14 +14747,16 @@ done if test ${ac_cv_search_clock_gettime+y} then : -else $as_nop - ac_cv_search_clock_gettime=no +else case e in #( + e) ac_cv_search_clock_gettime=no ;; +esac fi rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS +LIBS=$ac_func_search_save_LIBS ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 -printf "%s\n" "$ac_cv_search_clock_gettime" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 +printf '%s\n' "$ac_cv_search_clock_gettime" >&6; } ac_res=$ac_cv_search_clock_gettime if test "$ac_res" != no then : @@ -14243,7 +14772,7 @@ if test "x$je_cv_cray_prgenv_wrapper" = "xyes" ; then unset ac_cv_search_clock_gettime -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -dynamic" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -dynamic" >&5 printf %s "checking whether compiler supports -dynamic... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-dynamic @@ -14277,14 +14806,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-dynamic - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -14294,20 +14824,26 @@ else fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 printf %s "checking for library containing clock_gettime... " >&6; } if test ${ac_cv_search_clock_gettime+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_func_search_save_LIBS=$LIBS +else case e in #( + e) ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char clock_gettime (); + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C" +#endif +char clock_gettime (void); int main (void) { @@ -14338,14 +14874,16 @@ done if test ${ac_cv_search_clock_gettime+y} then : -else $as_nop - ac_cv_search_clock_gettime=no +else case e in #( + e) ac_cv_search_clock_gettime=no ;; +esac fi rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS +LIBS=$ac_func_search_save_LIBS ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 -printf "%s\n" "$ac_cv_search_clock_gettime" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 +printf '%s\n' "$ac_cv_search_clock_gettime" >&6; } ac_res=$ac_cv_search_clock_gettime if test "$ac_res" != no then : @@ -14366,13 +14904,13 @@ fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable" >&5 printf %s "checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable... " >&6; } if test ${je_cv_clock_monotonic_coarse+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14392,29 +14930,31 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_clock_monotonic_coarse=yes -else $as_nop - je_cv_clock_monotonic_coarse=no +else case e in #( + e) je_cv_clock_monotonic_coarse=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_clock_monotonic_coarse" >&5 -printf "%s\n" "$je_cv_clock_monotonic_coarse" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_clock_monotonic_coarse" >&5 +printf '%s\n' "$je_cv_clock_monotonic_coarse" >&6; } if test "x${je_cv_clock_monotonic_coarse}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime(CLOCK_MONOTONIC, ...) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime(CLOCK_MONOTONIC, ...) is compilable" >&5 printf %s "checking whether clock_gettime(CLOCK_MONOTONIC, ...) is compilable... " >&6; } if test ${je_cv_clock_monotonic+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14438,29 +14978,31 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_clock_monotonic=yes -else $as_nop - je_cv_clock_monotonic=no +else case e in #( + e) je_cv_clock_monotonic=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_clock_monotonic" >&5 -printf "%s\n" "$je_cv_clock_monotonic" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_clock_monotonic" >&5 +printf '%s\n' "$je_cv_clock_monotonic" >&6; } if test "x${je_cv_clock_monotonic}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_CLOCK_MONOTONIC " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_CLOCK_MONOTONIC " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mach_absolute_time() is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether mach_absolute_time() is compilable" >&5 printf %s "checking whether mach_absolute_time() is compilable... " >&6; } if test ${je_cv_mach_absolute_time+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14478,29 +15020,31 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_mach_absolute_time=yes -else $as_nop - je_cv_mach_absolute_time=no +else case e in #( + e) je_cv_mach_absolute_time=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_mach_absolute_time" >&5 -printf "%s\n" "$je_cv_mach_absolute_time" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_mach_absolute_time" >&5 +printf '%s\n' "$je_cv_mach_absolute_time" >&6; } if test "x${je_cv_mach_absolute_time}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_MACH_ABSOLUTE_TIME " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_MACH_ABSOLUTE_TIME " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime(CLOCK_REALTIME, ...) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime(CLOCK_REALTIME, ...) is compilable" >&5 printf %s "checking whether clock_gettime(CLOCK_REALTIME, ...) is compilable... " >&6; } if test ${je_cv_clock_realtime+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14520,29 +15064,31 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_clock_realtime=yes -else $as_nop - je_cv_clock_realtime=no +else case e in #( + e) je_cv_clock_realtime=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_clock_realtime" >&5 -printf "%s\n" "$je_cv_clock_realtime" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_clock_realtime" >&5 +printf '%s\n' "$je_cv_clock_realtime" >&6; } if test "x${je_cv_clock_realtime}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_CLOCK_REALTIME " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_CLOCK_REALTIME " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime_nsec_np() is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime_nsec_np() is compilable" >&5 printf %s "checking whether clock_gettime_nsec_np() is compilable... " >&6; } if test ${je_cv_clock_gettime_nsec_np+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14560,18 +15106,20 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_clock_gettime_nsec_np=yes -else $as_nop - je_cv_clock_gettime_nsec_np=no +else case e in #( + e) je_cv_clock_gettime_nsec_np=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_clock_gettime_nsec_np" >&5 -printf "%s\n" "$je_cv_clock_gettime_nsec_np" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_clock_gettime_nsec_np" >&5 +printf '%s\n' "$je_cv_clock_gettime_nsec_np" >&6; } if test "x${je_cv_clock_gettime_nsec_np}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_CLOCK_GETTIME_NSEC_NP " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_CLOCK_GETTIME_NSEC_NP " >>confdefs.h fi @@ -14582,18 +15130,19 @@ then : enable_syscall="0" else enable_syscall="1" -fi - -else $as_nop - enable_syscall="1" +fi +else case e in #( + e) enable_syscall="1" + ;; +esac fi if test "x$enable_syscall" = "x1" ; then SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 printf %s "checking whether compiler supports -Werror... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror @@ -14627,14 +15176,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -14645,13 +15195,13 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether syscall(2) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether syscall(2) is compilable" >&5 printf %s "checking whether syscall(2) is compilable... " >&6; } if test ${je_cv_syscall+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14670,14 +15220,16 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_syscall=yes -else $as_nop - je_cv_syscall=no +else case e in #( + e) je_cv_syscall=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_syscall" >&5 -printf "%s\n" "$je_cv_syscall" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_syscall" >&5 +printf '%s\n' "$je_cv_syscall" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -14689,7 +15241,7 @@ fi if test "x$je_cv_syscall" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_USE_SYSCALL " >>confdefs.h +printf '%s\n' "#define JEMALLOC_USE_SYSCALL " >>confdefs.h fi fi @@ -14698,14 +15250,15 @@ ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv" if test "x$ac_cv_func_secure_getenv" = xyes then : have_secure_getenv="1" -else $as_nop - have_secure_getenv="0" - +else case e in #( + e) have_secure_getenv="0" + ;; +esac fi if test "x$have_secure_getenv" = "x1" ; then -printf "%s\n" "#define JEMALLOC_HAVE_SECURE_GETENV " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_SECURE_GETENV " >>confdefs.h fi @@ -14713,14 +15266,15 @@ ac_fn_c_check_func "$LINENO" "sched_getcpu" "ac_cv_func_sched_getcpu" if test "x$ac_cv_func_sched_getcpu" = xyes then : have_sched_getcpu="1" -else $as_nop - have_sched_getcpu="0" - +else case e in #( + e) have_sched_getcpu="0" + ;; +esac fi if test "x$have_sched_getcpu" = "x1" ; then -printf "%s\n" "#define JEMALLOC_HAVE_SCHED_GETCPU " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_SCHED_GETCPU " >>confdefs.h fi @@ -14728,14 +15282,15 @@ ac_fn_c_check_func "$LINENO" "sched_setaffinity" "ac_cv_func_sched_setaffinity" if test "x$ac_cv_func_sched_setaffinity" = xyes then : have_sched_setaffinity="1" -else $as_nop - have_sched_setaffinity="0" - +else case e in #( + e) have_sched_setaffinity="0" + ;; +esac fi if test "x$have_sched_setaffinity" = "x1" ; then -printf "%s\n" "#define JEMALLOC_HAVE_SCHED_SETAFFINITY " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_SCHED_SETAFFINITY " >>confdefs.h fi @@ -14743,14 +15298,15 @@ ac_fn_c_check_func "$LINENO" "pthread_setaffinity_np" "ac_cv_func_pthread_setaff if test "x$ac_cv_func_pthread_setaffinity_np" = xyes then : have_pthread_setaffinity_np="1" -else $as_nop - have_pthread_setaffinity_np="0" - +else case e in #( + e) have_pthread_setaffinity_np="0" + ;; +esac fi if test "x$have_pthread_setaffinity_np" = "x1" ; then -printf "%s\n" "#define JEMALLOC_HAVE_PTHREAD_SETAFFINITY_NP " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD_SETAFFINITY_NP " >>confdefs.h fi @@ -14758,14 +15314,15 @@ ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid" if test "x$ac_cv_func_issetugid" = xyes then : have_issetugid="1" -else $as_nop - have_issetugid="0" - +else case e in #( + e) have_issetugid="0" + ;; +esac fi if test "x$have_issetugid" = "x1" ; then -printf "%s\n" "#define JEMALLOC_HAVE_ISSETUGID " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_ISSETUGID " >>confdefs.h fi @@ -14773,14 +15330,15 @@ ac_fn_c_check_func "$LINENO" "_malloc_thread_cleanup" "ac_cv_func__malloc_thread if test "x$ac_cv_func__malloc_thread_cleanup" = xyes then : have__malloc_thread_cleanup="1" -else $as_nop - have__malloc_thread_cleanup="0" - +else case e in #( + e) have__malloc_thread_cleanup="0" + ;; +esac fi if test "x$have__malloc_thread_cleanup" = "x1" ; then -printf "%s\n" "#define JEMALLOC_MALLOC_THREAD_CLEANUP " >>confdefs.h +printf '%s\n' "#define JEMALLOC_MALLOC_THREAD_CLEANUP " >>confdefs.h wrap_syms="${wrap_syms} _malloc_thread_cleanup _malloc_tsd_cleanup_register" force_tls="1" @@ -14790,14 +15348,15 @@ ac_fn_c_check_func "$LINENO" "_pthread_mutex_init_calloc_cb" "ac_cv_func__pthrea if test "x$ac_cv_func__pthread_mutex_init_calloc_cb" = xyes then : have__pthread_mutex_init_calloc_cb="1" -else $as_nop - have__pthread_mutex_init_calloc_cb="0" - +else case e in #( + e) have__pthread_mutex_init_calloc_cb="0" + ;; +esac fi if test "x$have__pthread_mutex_init_calloc_cb" = "x1" ; then -printf "%s\n" "#define JEMALLOC_MUTEX_INIT_CB " >>confdefs.h +printf '%s\n' "#define JEMALLOC_MUTEX_INIT_CB " >>confdefs.h wrap_syms="${wrap_syms} _malloc_prefork _malloc_postfork" fi @@ -14806,13 +15365,14 @@ ac_fn_c_check_func "$LINENO" "memcntl" "ac_cv_func_memcntl" if test "x$ac_cv_func_memcntl" = xyes then : have_memcntl="1" -else $as_nop - have_memcntl="0" +else case e in #( + e) have_memcntl="0" ;; +esac fi if test "x$have_memcntl" = "x1" ; then -printf "%s\n" "#define JEMALLOC_HAVE_MEMCNTL " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_MEMCNTL " >>confdefs.h fi @@ -14820,13 +15380,14 @@ ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl" if test "x$ac_cv_func_prctl" = xyes then : have_prctl="1" -else $as_nop - have_prctl="0" +else case e in #( + e) have_prctl="0" ;; +esac fi if test "x$have_prctl" = "x1" ; then -printf "%s\n" "#define JEMALLOC_HAVE_PRCTL " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_PRCTL " >>confdefs.h fi @@ -14839,29 +15400,30 @@ else enable_lazy_lock="1" fi -else $as_nop - enable_lazy_lock="" - +else case e in #( + e) enable_lazy_lock="" + ;; +esac fi if test "x${enable_lazy_lock}" = "x" ; then if test "x${force_lazy_lock}" = "x1" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Forcing lazy-lock to avoid allocator/threading bootstrap issues" >&5 -printf "%s\n" "Forcing lazy-lock to avoid allocator/threading bootstrap issues" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: Forcing lazy-lock to avoid allocator/threading bootstrap issues" >&5 +printf '%s\n' "Forcing lazy-lock to avoid allocator/threading bootstrap issues" >&6; } enable_lazy_lock="1" else enable_lazy_lock="0" fi fi if test "x${enable_lazy_lock}" = "x1" -a "x${abi}" = "xpecoff" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Forcing no lazy-lock because thread creation monitoring is unimplemented" >&5 -printf "%s\n" "Forcing no lazy-lock because thread creation monitoring is unimplemented" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: Forcing no lazy-lock because thread creation monitoring is unimplemented" >&5 +printf '%s\n' "Forcing no lazy-lock because thread creation monitoring is unimplemented" >&6; } enable_lazy_lock="0" fi if test "x$enable_lazy_lock" = "x1" ; then if test "x$have_dlsym" = "x1" ; then -printf "%s\n" "#define JEMALLOC_LAZY_LOCK " >>confdefs.h +printf '%s\n' "#define JEMALLOC_LAZY_LOCK " >>confdefs.h else as_fn_error $? "Missing dlsym support: lazy-lock cannot be enabled." "$LINENO" 5 @@ -14877,7 +15439,7 @@ else enable_tls="1" fi if test "x${enable_tls}" = "x1" ; then -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5 printf %s "checking for TLS... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -14898,12 +15460,13 @@ main (void) _ACEOF if ac_fn_c_try_compile "$LINENO" then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } - enable_tls="0" + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } + enable_tls="0" ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext else @@ -14912,19 +15475,19 @@ fi if test "x${enable_tls}" = "x1" ; then -printf "%s\n" "#define JEMALLOC_TLS " >>confdefs.h +printf '%s\n' "#define JEMALLOC_TLS " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C11 atomics is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether C11 atomics is compilable" >&5 printf %s "checking whether C11 atomics is compilable... " >&6; } if test ${je_cv_c11_atomics+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14951,30 +15514,32 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_c11_atomics=yes -else $as_nop - je_cv_c11_atomics=no +else case e in #( + e) je_cv_c11_atomics=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_c11_atomics" >&5 -printf "%s\n" "$je_cv_c11_atomics" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_c11_atomics" >&5 +printf '%s\n' "$je_cv_c11_atomics" >&6; } if test "x${je_cv_c11_atomics}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_C11_ATOMICS " >>confdefs.h +printf '%s\n' "#define JEMALLOC_C11_ATOMICS " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GCC __atomic atomics is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GCC __atomic atomics is compilable" >&5 printf %s "checking whether GCC __atomic atomics is compilable... " >&6; } if test ${je_cv_gcc_atomic_atomics+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -14995,28 +15560,30 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_gcc_atomic_atomics=yes -else $as_nop - je_cv_gcc_atomic_atomics=no +else case e in #( + e) je_cv_gcc_atomic_atomics=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_atomic_atomics" >&5 -printf "%s\n" "$je_cv_gcc_atomic_atomics" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_atomic_atomics" >&5 +printf '%s\n' "$je_cv_gcc_atomic_atomics" >&6; } if test "x${je_cv_gcc_atomic_atomics}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_GCC_ATOMIC_ATOMICS " >>confdefs.h +printf '%s\n' "#define JEMALLOC_GCC_ATOMIC_ATOMICS " >>confdefs.h -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GCC 8-bit __atomic atomics is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GCC 8-bit __atomic atomics is compilable" >&5 printf %s "checking whether GCC 8-bit __atomic atomics is compilable... " >&6; } if test ${je_cv_gcc_u8_atomic_atomics+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -15037,31 +15604,33 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_gcc_u8_atomic_atomics=yes -else $as_nop - je_cv_gcc_u8_atomic_atomics=no +else case e in #( + e) je_cv_gcc_u8_atomic_atomics=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_u8_atomic_atomics" >&5 -printf "%s\n" "$je_cv_gcc_u8_atomic_atomics" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_u8_atomic_atomics" >&5 +printf '%s\n' "$je_cv_gcc_u8_atomic_atomics" >&6; } if test "x${je_cv_gcc_u8_atomic_atomics}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_GCC_U8_ATOMIC_ATOMICS " >>confdefs.h +printf '%s\n' "#define JEMALLOC_GCC_U8_ATOMIC_ATOMICS " >>confdefs.h fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GCC __sync atomics is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GCC __sync atomics is compilable" >&5 printf %s "checking whether GCC __sync atomics is compilable... " >&6; } if test ${je_cv_gcc_sync_atomics+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -15081,28 +15650,30 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_gcc_sync_atomics=yes -else $as_nop - je_cv_gcc_sync_atomics=no +else case e in #( + e) je_cv_gcc_sync_atomics=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_sync_atomics" >&5 -printf "%s\n" "$je_cv_gcc_sync_atomics" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_sync_atomics" >&5 +printf '%s\n' "$je_cv_gcc_sync_atomics" >&6; } if test "x${je_cv_gcc_sync_atomics}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_GCC_SYNC_ATOMICS " >>confdefs.h +printf '%s\n' "#define JEMALLOC_GCC_SYNC_ATOMICS " >>confdefs.h -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GCC 8-bit __sync atomics is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GCC 8-bit __sync atomics is compilable" >&5 printf %s "checking whether GCC 8-bit __sync atomics is compilable... " >&6; } if test ${je_cv_gcc_u8_sync_atomics+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -15122,31 +15693,33 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_gcc_u8_sync_atomics=yes -else $as_nop - je_cv_gcc_u8_sync_atomics=no +else case e in #( + e) je_cv_gcc_u8_sync_atomics=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_u8_sync_atomics" >&5 -printf "%s\n" "$je_cv_gcc_u8_sync_atomics" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_u8_sync_atomics" >&5 +printf '%s\n' "$je_cv_gcc_u8_sync_atomics" >&6; } if test "x${je_cv_gcc_u8_sync_atomics}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_GCC_U8_SYNC_ATOMICS " >>confdefs.h +printf '%s\n' "#define JEMALLOC_GCC_U8_SYNC_ATOMICS " >>confdefs.h fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Darwin OSAtomic*() is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether Darwin OSAtomic*() is compilable" >&5 printf %s "checking whether Darwin OSAtomic*() is compilable... " >&6; } if test ${je_cv_osatomic+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15174,18 +15747,20 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_osatomic=yes -else $as_nop - je_cv_osatomic=no +else case e in #( + e) je_cv_osatomic=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_osatomic" >&5 -printf "%s\n" "$je_cv_osatomic" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_osatomic" >&5 +printf '%s\n' "$je_cv_osatomic" >&6; } if test "x${je_cv_osatomic}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_OSATOMIC " >>confdefs.h +printf '%s\n' "#define JEMALLOC_OSATOMIC " >>confdefs.h fi @@ -15195,20 +15770,21 @@ fi if test ${with_experimental_sys_process_madvise+y} then : withval=$with_experimental_sys_process_madvise; je_cv_sys_pmadv_nr="${with_experimental_sys_process_madvise}" -else $as_nop - je_cv_sys_pmadv_nr="" +else case e in #( + e) je_cv_sys_pmadv_nr="" ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether madvise(2) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether madvise(2) is compilable" >&5 printf %s "checking whether madvise(2) is compilable... " >&6; } if test ${je_cv_madvise+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15226,28 +15802,30 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_madvise=yes -else $as_nop - je_cv_madvise=no +else case e in #( + e) je_cv_madvise=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_madvise" >&5 -printf "%s\n" "$je_cv_madvise" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_madvise" >&5 +printf '%s\n' "$je_cv_madvise" >&6; } if test "x${je_cv_madvise}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_MADVISE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_MADVISE " >>confdefs.h -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_FREE) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_FREE) is compilable" >&5 printf %s "checking whether madvise(..., MADV_FREE) is compilable... " >&6; } if test ${je_cv_madv_free+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15265,27 +15843,29 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_madv_free=yes -else $as_nop - je_cv_madv_free=no +else case e in #( + e) je_cv_madv_free=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_free" >&5 -printf "%s\n" "$je_cv_madv_free" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_free" >&5 +printf '%s\n' "$je_cv_madv_free" >&6; } if test "x${je_cv_madv_free}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_PURGE_MADVISE_FREE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_PURGE_MADVISE_FREE " >>confdefs.h elif test "x${je_cv_madvise}" = "xyes" ; then case "${host_cpu}" in i686|x86_64) case "${host}" in *-*-linux*) -printf "%s\n" "#define JEMALLOC_PURGE_MADVISE_FREE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_PURGE_MADVISE_FREE " >>confdefs.h -printf "%s\n" "#define JEMALLOC_DEFINE_MADVISE_FREE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_DEFINE_MADVISE_FREE " >>confdefs.h ;; esac @@ -15294,13 +15874,13 @@ printf "%s\n" "#define JEMALLOC_DEFINE_MADVISE_FREE " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_DONTNEED) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_DONTNEED) is compilable" >&5 printf %s "checking whether madvise(..., MADV_DONTNEED) is compilable... " >&6; } if test ${je_cv_madv_dontneed+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15318,29 +15898,31 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_madv_dontneed=yes -else $as_nop - je_cv_madv_dontneed=no +else case e in #( + e) je_cv_madv_dontneed=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_dontneed" >&5 -printf "%s\n" "$je_cv_madv_dontneed" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_dontneed" >&5 +printf '%s\n' "$je_cv_madv_dontneed" >&6; } if test "x${je_cv_madv_dontneed}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_PURGE_MADVISE_DONTNEED " >>confdefs.h +printf '%s\n' "#define JEMALLOC_PURGE_MADVISE_DONTNEED " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_DO[NT]DUMP) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_DO[NT]DUMP) is compilable" >&5 printf %s "checking whether madvise(..., MADV_DO[NT]DUMP) is compilable... " >&6; } if test ${je_cv_madv_dontdump+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15359,29 +15941,31 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_madv_dontdump=yes -else $as_nop - je_cv_madv_dontdump=no +else case e in #( + e) je_cv_madv_dontdump=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_dontdump" >&5 -printf "%s\n" "$je_cv_madv_dontdump" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_dontdump" >&5 +printf '%s\n' "$je_cv_madv_dontdump" >&6; } if test "x${je_cv_madv_dontdump}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_MADVISE_DONTDUMP " >>confdefs.h +printf '%s\n' "#define JEMALLOC_MADVISE_DONTDUMP " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_[NO]HUGEPAGE) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_[NO]HUGEPAGE) is compilable" >&5 printf %s "checking whether madvise(..., MADV_[NO]HUGEPAGE) is compilable... " >&6; } if test ${je_cv_thp+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15400,14 +15984,16 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_thp=yes -else $as_nop - je_cv_thp=no +else case e in #( + e) je_cv_thp=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_thp" >&5 -printf "%s\n" "$je_cv_thp" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_thp" >&5 +printf '%s\n' "$je_cv_thp" >&6; } case "${host_cpu}" in arm*) @@ -15415,20 +16001,20 @@ printf "%s\n" "$je_cv_thp" >&6; } *) if test "x${je_cv_thp}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_MADVISE_HUGE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_MADVISE_HUGE " >>confdefs.h fi ;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_[NO]CORE) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_[NO]CORE) is compilable" >&5 printf %s "checking whether madvise(..., MADV_[NO]CORE) is compilable... " >&6; } if test ${je_cv_madv_nocore+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15447,29 +16033,31 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_madv_nocore=yes -else $as_nop - je_cv_madv_nocore=no +else case e in #( + e) je_cv_madv_nocore=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_nocore" >&5 -printf "%s\n" "$je_cv_madv_nocore" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_nocore" >&5 +printf '%s\n' "$je_cv_madv_nocore" >&6; } if test "x${je_cv_madv_nocore}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_MADVISE_NOCORE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_MADVISE_NOCORE " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_COLLAPSE) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_COLLAPSE) is compilable" >&5 printf %s "checking whether madvise(..., MADV_COLLAPSE) is compilable... " >&6; } if test ${je_cv_madv_collapse+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15487,29 +16075,31 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_madv_collapse=yes -else $as_nop - je_cv_madv_collapse=no +else case e in #( + e) je_cv_madv_collapse=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_collapse" >&5 -printf "%s\n" "$je_cv_madv_collapse" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_collapse" >&5 +printf '%s\n' "$je_cv_madv_collapse" >&6; } if test "x${je_cv_madv_collapse}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_MADVISE_COLLAPSE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_MADVISE_COLLAPSE " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether process_madvise(2) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether process_madvise(2) is compilable" >&5 printf %s "checking whether process_madvise(2) is compilable... " >&6; } if test ${je_cv_process_madvise+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15529,40 +16119,44 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_process_madvise=yes -else $as_nop - je_cv_process_madvise=no +else case e in #( + e) je_cv_process_madvise=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_process_madvise" >&5 -printf "%s\n" "$je_cv_process_madvise" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_process_madvise" >&5 +printf '%s\n' "$je_cv_process_madvise" >&6; } if test "x${je_cv_process_madvise}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_PROCESS_MADVISE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_PROCESS_MADVISE " >>confdefs.h else if test "x${je_cv_sys_pmadv_nr}" != "x" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Forcing usage of process_madvise with syscall nr=${je_cv_sys_pmadv_nr}" >&5 -printf "%s\n" "Forcing usage of process_madvise with syscall nr=${je_cv_sys_pmadv_nr}" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: Forcing usage of process_madvise with syscall nr=${je_cv_sys_pmadv_nr}" >&5 +printf '%s\n' "Forcing usage of process_madvise with syscall nr=${je_cv_sys_pmadv_nr}" >&6; } -printf "%s\n" "#define JEMALLOC_HAVE_PROCESS_MADVISE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_PROCESS_MADVISE " >>confdefs.h -printf "%s\n" "#define EXPERIMENTAL_SYS_PROCESS_MADVISE_NR ${je_cv_sys_pmadv_nr}" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define EXPERIMENTAL_SYS_PROCESS_MADVISE_NR ${je_cv_sys_pmadv_nr} +_ACEOF fi fi else -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether posix_madvise is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether posix_madvise is compilable" >&5 printf %s "checking whether posix_madvise is compilable... " >&6; } if test ${je_cv_posix_madvise+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15580,28 +16174,30 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_posix_madvise=yes -else $as_nop - je_cv_posix_madvise=no +else case e in #( + e) je_cv_posix_madvise=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_posix_madvise" >&5 -printf "%s\n" "$je_cv_posix_madvise" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_posix_madvise" >&5 +printf '%s\n' "$je_cv_posix_madvise" >&6; } if test "x${je_cv_posix_madvise}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_POSIX_MADVISE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_POSIX_MADVISE " >>confdefs.h -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether posix_madvise(..., POSIX_MADV_DONTNEED) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether posix_madvise(..., POSIX_MADV_DONTNEED) is compilable" >&5 printf %s "checking whether posix_madvise(..., POSIX_MADV_DONTNEED) is compilable... " >&6; } if test ${je_cv_posix_madv_dontneed+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15619,18 +16215,20 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_posix_madv_dontneed=yes -else $as_nop - je_cv_posix_madv_dontneed=no +else case e in #( + e) je_cv_posix_madv_dontneed=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_posix_madv_dontneed" >&5 -printf "%s\n" "$je_cv_posix_madv_dontneed" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_posix_madv_dontneed" >&5 +printf '%s\n' "$je_cv_posix_madv_dontneed" >&6; } if test "x${je_cv_posix_madv_dontneed}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_PURGE_POSIX_MADVISE_DONTNEED " >>confdefs.h +printf '%s\n' "#define JEMALLOC_PURGE_POSIX_MADVISE_DONTNEED " >>confdefs.h fi fi @@ -15638,13 +16236,13 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mprotect(2) is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether mprotect(2) is compilable" >&5 printf %s "checking whether mprotect(2) is compilable... " >&6; } if test ${je_cv_mprotect+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15662,29 +16260,31 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_mprotect=yes -else $as_nop - je_cv_mprotect=no +else case e in #( + e) je_cv_mprotect=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_mprotect" >&5 -printf "%s\n" "$je_cv_mprotect" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_mprotect" >&5 +printf '%s\n' "$je_cv_mprotect" >&6; } if test "x${je_cv_mprotect}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_MPROTECT " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_MPROTECT " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5 printf %s "checking for __builtin_clz... " >&6; } if test ${je_cv_builtin_clz+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -15711,30 +16311,32 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_builtin_clz=yes -else $as_nop - je_cv_builtin_clz=no +else case e in #( + e) je_cv_builtin_clz=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_builtin_clz" >&5 -printf "%s\n" "$je_cv_builtin_clz" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_builtin_clz" >&5 +printf '%s\n' "$je_cv_builtin_clz" >&6; } if test "x${je_cv_builtin_clz}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_BUILTIN_CLZ " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_BUILTIN_CLZ " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Darwin os_unfair_lock_*() is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether Darwin os_unfair_lock_*() is compilable" >&5 printf %s "checking whether Darwin os_unfair_lock_*() is compilable... " >&6; } if test ${je_cv_os_unfair_lock+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15759,18 +16361,20 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_os_unfair_lock=yes -else $as_nop - je_cv_os_unfair_lock=no +else case e in #( + e) je_cv_os_unfair_lock=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_os_unfair_lock" >&5 -printf "%s\n" "$je_cv_os_unfair_lock" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_os_unfair_lock" >&5 +printf '%s\n' "$je_cv_os_unfair_lock" >&6; } if test "x${je_cv_os_unfair_lock}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_OS_UNFAIR_LOCK " >>confdefs.h +printf '%s\n' "#define JEMALLOC_OS_UNFAIR_LOCK " >>confdefs.h fi @@ -15784,12 +16388,13 @@ else enable_zone_allocator="1" fi -else $as_nop - if test "x${abi}" = "xmacho"; then +else case e in #( + e) if test "x${abi}" = "xmacho"; then enable_zone_allocator="1" fi - + ;; +esac fi @@ -15799,7 +16404,7 @@ if test "x${enable_zone_allocator}" = "x1" ; then as_fn_error $? "--enable-zone-allocator is only supported on Darwin" "$LINENO" 5 fi -printf "%s\n" "#define JEMALLOC_ZONE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_ZONE " >>confdefs.h fi @@ -15812,9 +16417,10 @@ else enable_initial_exec_tls="1" fi -else $as_nop - enable_initial_exec_tls="1" - +else case e in #( + e) enable_initial_exec_tls="1" + ;; +esac fi @@ -15822,11 +16428,11 @@ fi if test "x${je_cv_tls_model}" = "xyes" -a \ "x${enable_initial_exec_tls}" = "x1" ; then -printf "%s\n" "#define JEMALLOC_TLS_MODEL __attribute__((tls_model(\"initial-exec\")))" >>confdefs.h +printf '%s\n' "#define JEMALLOC_TLS_MODEL __attribute__((tls_model(\"initial-exec\")))" >>confdefs.h else -printf "%s\n" "#define JEMALLOC_TLS_MODEL " >>confdefs.h +printf '%s\n' "#define JEMALLOC_TLS_MODEL " >>confdefs.h fi @@ -15839,14 +16445,15 @@ else enable_pageid="1" fi -else $as_nop - enable_pageid="0" - +else case e in #( + e) enable_pageid="0" + ;; +esac fi -if test "x$enable_pageid" = "x1" ; then +if test "x$enable_pageid" = "x1" -a "x$have_prctl" = "x1" ; then -printf "%s\n" "#define JEMALLOC_PAGEID " >>confdefs.h +printf '%s\n' "#define JEMALLOC_PAGEID " >>confdefs.h fi @@ -15859,14 +16466,15 @@ else enable_tsan="1" fi -else $as_nop - enable_tsan="0" - +else case e in #( + e) enable_tsan="0" + ;; +esac fi if test "x$enable_tsan" = "x1" ; then -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fsanitize=thread" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fsanitize=thread" >&5 printf %s "checking whether compiler supports -fsanitize=thread... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-fsanitize=thread @@ -15900,14 +16508,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-fsanitize=thread - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -15918,7 +16527,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fsanitize=thread" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fsanitize=thread" >&5 printf %s "checking whether compiler supports -fsanitize=thread... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-fsanitize=thread @@ -15958,14 +16567,15 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-fsanitize=thread - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cxxflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cxxflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -15982,7 +16592,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether linker supports -fsanitize=thread" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether linker supports -fsanitize=thread" >&5 printf %s "checking whether linker supports -fsanitize=thread... " >&6; } T_CONFIGURE_LDFLAGS="${CONFIGURE_LDFLAGS}" T_APPEND_V=-fsanitize=thread @@ -16016,14 +16626,15 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_ldflags_added=-fsanitize=thread - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_ldflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_ldflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_LDFLAGS="${T_CONFIGURE_LDFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext @@ -16045,14 +16656,15 @@ else enable_ubsan="1" fi -else $as_nop - enable_ubsan="0" - +else case e in #( + e) enable_ubsan="0" + ;; +esac fi if test "x$enable_ubsan" = "x1" ; then -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fsanitize=undefined" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fsanitize=undefined" >&5 printf %s "checking whether compiler supports -fsanitize=undefined... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-fsanitize=undefined @@ -16086,14 +16698,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-fsanitize=undefined - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -16104,7 +16717,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fsanitize=undefined" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fsanitize=undefined" >&5 printf %s "checking whether compiler supports -fsanitize=undefined... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-fsanitize=undefined @@ -16144,14 +16757,15 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-fsanitize=undefined - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cxxflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cxxflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -16168,7 +16782,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether linker supports -fsanitize=undefined" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether linker supports -fsanitize=undefined" >&5 printf %s "checking whether linker supports -fsanitize=undefined... " >&6; } T_CONFIGURE_LDFLAGS="${CONFIGURE_LDFLAGS}" T_APPEND_V=-fsanitize=undefined @@ -16202,14 +16816,15 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_ldflags_added=-fsanitize=undefined - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_ldflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_ldflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_LDFLAGS="${T_CONFIGURE_LDFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext @@ -16226,20 +16841,20 @@ fi if test "x${have_pthread}" = "x1" -a "x${je_cv_os_unfair_lock}" != "xyes" -a \ "x${abi}" != "xmacho" ; then -printf "%s\n" "#define JEMALLOC_BACKGROUND_THREAD " >>confdefs.h +printf '%s\n' "#define JEMALLOC_BACKGROUND_THREAD " >>confdefs.h fi if test "x$glibc" = "x1" ; then -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether glibc malloc hook is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether glibc malloc hook is compilable" >&5 printf %s "checking whether glibc malloc hook is compilable... " >&6; } if test ${je_cv_glibc_malloc_hook+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -16264,32 +16879,34 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_glibc_malloc_hook=yes -else $as_nop - je_cv_glibc_malloc_hook=no +else case e in #( + e) je_cv_glibc_malloc_hook=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_glibc_malloc_hook" >&5 -printf "%s\n" "$je_cv_glibc_malloc_hook" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_glibc_malloc_hook" >&5 +printf '%s\n' "$je_cv_glibc_malloc_hook" >&6; } if test "x${je_cv_glibc_malloc_hook}" = "xyes" ; then if test "x${JEMALLOC_PREFIX}" = "x" ; then -printf "%s\n" "#define JEMALLOC_GLIBC_MALLOC_HOOK " >>confdefs.h +printf '%s\n' "#define JEMALLOC_GLIBC_MALLOC_HOOK " >>confdefs.h wrap_syms="${wrap_syms} __free_hook __malloc_hook __realloc_hook" fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether glibc memalign hook is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether glibc memalign hook is compilable" >&5 printf %s "checking whether glibc memalign hook is compilable... " >&6; } if test ${je_cv_glibc_memalign_hook+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -16310,19 +16927,21 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_glibc_memalign_hook=yes -else $as_nop - je_cv_glibc_memalign_hook=no +else case e in #( + e) je_cv_glibc_memalign_hook=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_glibc_memalign_hook" >&5 -printf "%s\n" "$je_cv_glibc_memalign_hook" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_glibc_memalign_hook" >&5 +printf '%s\n' "$je_cv_glibc_memalign_hook" >&6; } if test "x${je_cv_glibc_memalign_hook}" = "xyes" ; then if test "x${JEMALLOC_PREFIX}" = "x" ; then -printf "%s\n" "#define JEMALLOC_GLIBC_MEMALIGN_HOOK " >>confdefs.h +printf '%s\n' "#define JEMALLOC_GLIBC_MEMALIGN_HOOK " >>confdefs.h wrap_syms="${wrap_syms} __memalign_hook" fi @@ -16330,13 +16949,13 @@ printf "%s\n" "#define JEMALLOC_GLIBC_MEMALIGN_HOOK " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads adaptive mutexes is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pthreads adaptive mutexes is compilable" >&5 printf %s "checking whether pthreads adaptive mutexes is compilable... " >&6; } if test ${je_cv_pthread_mutex_adaptive_np+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -16357,29 +16976,31 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_pthread_mutex_adaptive_np=yes -else $as_nop - je_cv_pthread_mutex_adaptive_np=no +else case e in #( + e) je_cv_pthread_mutex_adaptive_np=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_mutex_adaptive_np" >&5 -printf "%s\n" "$je_cv_pthread_mutex_adaptive_np" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_mutex_adaptive_np" >&5 +printf '%s\n' "$je_cv_pthread_mutex_adaptive_np" >&6; } if test "x${je_cv_pthread_mutex_adaptive_np}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_PTHREAD_MUTEX_ADAPTIVE_NP " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD_MUTEX_ADAPTIVE_NP " >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gettid is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether gettid is compilable" >&5 printf %s "checking whether gettid is compilable... " >&6; } if test ${je_cv_gettid+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -16397,25 +17018,27 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_gettid=yes -else $as_nop - je_cv_gettid=no +else case e in #( + e) je_cv_gettid=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_gettid" >&5 -printf "%s\n" "$je_cv_gettid" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_gettid" >&5 +printf '%s\n' "$je_cv_gettid" >&6; } if test "x${je_cv_gettid}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_HAVE_GETTID " >>confdefs.h +printf '%s\n' "#define JEMALLOC_HAVE_GETTID " >>confdefs.h fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -D_GNU_SOURCE" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -D_GNU_SOURCE" >&5 printf %s "checking whether compiler supports -D_GNU_SOURCE... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-D_GNU_SOURCE @@ -16449,14 +17072,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-D_GNU_SOURCE - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -16467,7 +17091,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 printf %s "checking whether compiler supports -Werror... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror @@ -16501,14 +17125,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -16519,7 +17144,7 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 printf %s "checking whether compiler supports -herror_on_warning... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-herror_on_warning @@ -16553,14 +17178,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-herror_on_warning - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - je_cv_cflags_added= - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf '%s\n' "yes" >&6; } +else case e in #( + e) je_cv_cflags_added= + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf '%s\n' "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -16571,13 +17197,13 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char with gnu source is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char with gnu source is compilable" >&5 printf %s "checking whether strerror_r returns char with gnu source is compilable... " >&6; } if test ${je_cv_strerror_r_returns_char_with_gnu_source+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -16600,24 +17226,26 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_strerror_r_returns_char_with_gnu_source=yes -else $as_nop - je_cv_strerror_r_returns_char_with_gnu_source=no +else case e in #( + e) je_cv_strerror_r_returns_char_with_gnu_source=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_strerror_r_returns_char_with_gnu_source" >&5 -printf "%s\n" "$je_cv_strerror_r_returns_char_with_gnu_source" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_strerror_r_returns_char_with_gnu_source" >&5 +printf '%s\n' "$je_cv_strerror_r_returns_char_with_gnu_source" >&6; } if test "x${je_cv_strerror_r_returns_char_with_gnu_source}" = "xno" ; then -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r header only is compilable" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether strerror_r header only is compilable" >&5 printf %s "checking whether strerror_r header only is compilable... " >&6; } if test ${je_cv_strerror_r_header_pass+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -16636,14 +17264,16 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_strerror_r_header_pass=yes -else $as_nop - je_cv_strerror_r_header_pass=no +else case e in #( + e) je_cv_strerror_r_header_pass=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_strerror_r_header_pass" >&5 -printf "%s\n" "$je_cv_strerror_r_header_pass" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_strerror_r_header_pass" >&5 +printf '%s\n' "$je_cv_strerror_r_header_pass" >&6; } fi CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" @@ -16656,7 +17286,7 @@ fi if test "x${je_cv_strerror_r_returns_char_with_gnu_source}" = "xyes" ; then -printf "%s\n" "#define JEMALLOC_STRERROR_R_RETURNS_CHAR_WITH_GNU_SOURCE " >>confdefs.h +printf '%s\n' "#define JEMALLOC_STRERROR_R_RETURNS_CHAR_WITH_GNU_SOURCE " >>confdefs.h elif test "x${je_cv_strerror_r_header_pass}" = "xno" ; then as_fn_error $? "cannot determine return type of strerror_r" "$LINENO" 5 @@ -16666,30 +17296,30 @@ ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" if test "x$ac_cv_type__Bool" = xyes then : -printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h +printf '%s\n' "#define HAVE__BOOL 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 -printf %s "checking for stdbool.h that conforms to C99... " >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99 or later" >&5 +printf %s "checking for stdbool.h that conforms to C99 or later... " >&6; } if test ${ac_cv_header_stdbool_h+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifndef __bool_true_false_are_defined - #error "__bool_true_false_are_defined is not defined" - #endif - char a[__bool_true_false_are_defined == 1 ? 1 : -1]; + /* "true" and "false" should be usable in #if expressions and + integer constant expressions, and "bool" should be a valid + type name. - /* Regardless of whether this is C++ or "_Bool" is a - valid type name, "true" and "false" should be usable - in #if expressions and integer constant expressions, - and "bool" should be a valid type name. */ + Although C99 requires bool, true, and false to be macros, + C23 and C++11 overrule that, so do not test for that. + Although C99 requires __bool_true_false_are_defined and + _Bool, C23 says they are obsolescent, so do not require + them. */ #if !true #error "'true' is not true" @@ -16723,43 +17353,12 @@ else $as_nop char n[sizeof m == h * sizeof m[0] ? 1 : -1]; char o[-1 - (bool) 0 < 0 ? 1 : -1]; /* Catch a bug in an HP-UX C compiler. See - https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html - https://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html + https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html + https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html */ bool p = true; bool *pp = &p; - /* C 1999 specifies that bool, true, and false are to be - macros, but C++ 2011 and later overrule this. */ - #if __cplusplus < 201103 - #ifndef bool - #error "bool is not defined" - #endif - #ifndef false - #error "false is not defined" - #endif - #ifndef true - #error "true is not defined" - #endif - #endif - - /* If _Bool is available, repeat with it all the tests - above that used bool. */ - #ifdef HAVE__BOOL - struct sB { _Bool s: 1; _Bool t; } t; - - char q[(_Bool) 0.5 == true ? 1 : -1]; - char r[(_Bool) 0.0 == false ? 1 : -1]; - char u[sizeof (_Bool) > 0 ? 1 : -1]; - char v[sizeof t.t > 0 ? 1 : -1]; - - _Bool w[h]; - char x[sizeof m == h * sizeof m[0] ? 1 : -1]; - char y[-1 - (_Bool) 0 < 0 ? 1 : -1]; - _Bool z = true; - _Bool *pz = &p; - #endif - int main (void) { @@ -16768,20 +17367,10 @@ main (void) *pp |= p; *pp |= ! p; - #ifdef HAVE__BOOL - _Bool pt = &t; - *pz |= z; - *pz |= ! z; - #endif - /* Refer to every declared value, so they cannot be discarded as unused. */ - return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k - + !l + !m + !n + !o + !p + !pp + !ps - #ifdef HAVE__BOOL - + !q + !r + !u + !v + !w + !x + !y + !z + !pt - #endif - ); + return (!b + !c + !d + !e + !f + !g + !h + !i + !j + !k + + !l + !m + !n + !o + !p + !pp + !ps); ; return 0; @@ -16790,17 +17379,19 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_header_stdbool_h=yes -else $as_nop - ac_cv_header_stdbool_h=no +else case e in #( + e) ac_cv_header_stdbool_h=no ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 -printf "%s\n" "$ac_cv_header_stdbool_h" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 +printf '%s\n' "$ac_cv_header_stdbool_h" >&6; } if test $ac_cv_header_stdbool_h = yes; then -printf "%s\n" "#define HAVE_STDBOOL_H 1" >>confdefs.h +printf '%s\n' "#define HAVE_STDBOOL_H 1" >>confdefs.h fi @@ -16847,50 +17438,13 @@ cat >confcache <<\_ACEOF # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the +# 'ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* 'ac_cv_foo' will be assigned the # following values. _ACEOF -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | +ac_cache_dump | sed ' /^ac_cv_env_/b end t clear @@ -16902,8 +17456,8 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -printf "%s\n" "$as_me: updating cache $cache_file" >&6;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +printf '%s\n' "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else @@ -16917,8 +17471,8 @@ printf "%s\n" "$as_me: updating cache $cache_file" >&6;} fi fi else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache @@ -16935,7 +17489,7 @@ U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` + ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" @@ -16949,13 +17503,21 @@ LTLIBOBJS=$ac_ltlibobjs : "${CONFIG_STATUS=./config.status}" +case $CONFIG_STATUS in #( + -*) : + CONFIG_STATUS=./$CONFIG_STATUS ;; #( + */*) : + ;; #( + *) : + CONFIG_STATUS=./$CONFIG_STATUS ;; +esac + ac_write_fail=0 -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} +ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"' +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. @@ -16969,28 +17531,28 @@ ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF -cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -as_nop=: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. + # contradicts POSIX and common usage. Disable this. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST -else $as_nop - case `(set -o) 2>/dev/null` in #( +else case e in #( + e) case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; +esac ;; esac fi @@ -17062,13 +17624,13 @@ IFS=$as_save_IFS ;; esac -# We did not find ourselves, most probably we were run as `sh COMMAND' +# We did not find ourselves, most probably we were run as 'sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then - printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi @@ -17084,14 +17646,13 @@ as_fn_error () as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - printf "%s\n" "$as_me: error: $2" >&2 + printf '%s\n' "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error - # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -17131,11 +17692,12 @@ then : { eval $1+=\$2 }' -else $as_nop - as_fn_append () +else case e in #( + e) as_fn_append () { eval $1=\$$1\$2 - } + } ;; +esac fi # as_fn_append # as_fn_arith ARG... @@ -17149,11 +17711,12 @@ then : { as_val=$(( $* )) }' -else $as_nop - as_fn_arith () +else case e in #( + e) as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` - } + } ;; +esac fi # as_fn_arith @@ -17180,7 +17743,7 @@ as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X/"$0" | +printf '%s\n' X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -17202,29 +17765,6 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits - -# Determine whether it's possible to make 'echo' print without a newline. -# These variables are no longer used directly by Autoconf, but are AC_SUBSTed -# for compatibility with existing Makefiles. -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -# For backward compatibility with old third-party macros, we provide -# the shell variables $as_echo and $as_echo_n. New code should use -# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. -as_echo='printf %s\n' -as_echo_n='printf %s' - rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -17236,9 +17776,9 @@ if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -pR'. + # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. + # In both cases, we have to default to 'cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then @@ -17266,7 +17806,7 @@ as_fn_mkdir_p () as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" @@ -17275,7 +17815,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X"$as_dir" | +printf '%s\n' X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -17319,26 +17859,28 @@ as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" +as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" +as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated # Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" +as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" +as_tr_sh="eval sed '$as_sed_sh'" # deprecated exec 6>&1 -## ----------------------------------- ## -## Main body of $CONFIG_STATUS script. ## -## ----------------------------------- ## +## ------------------------------------- ## +## Main body of "$CONFIG_STATUS" script. ## +## ------------------------------------- ## _ASEOF -test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 +test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1 -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by $as_me, which was -generated by GNU Autoconf 2.71. Invocation command line was +generated by GNU Autoconf 2.73. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -17360,7 +17902,7 @@ case $ac_config_headers in *" esac -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" @@ -17368,9 +17910,9 @@ config_commands="$ac_config_commands" _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ -\`$as_me' instantiates files and other configuration actions +'$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. @@ -17400,16 +17942,16 @@ $config_commands Report bugs to the package provider." _ACEOF -ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` -ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"` +ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` +cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ config.status -configured by $0, generated by GNU Autoconf 2.71, +configured by $0, generated by GNU Autoconf 2.73, with options \\"\$ac_cs_config\\" -Copyright (C) 2021 Free Software Foundation, Inc. +Copyright (C) 2026 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -17417,10 +17959,14 @@ ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' AWK='$AWK' -test -n "\$AWK" || AWK=awk +test -n "\$AWK" || { + awk '' >$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 @@ -17448,15 +17994,15 @@ do -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - printf "%s\n" "$ac_cs_version"; exit ;; + printf '%s\n' "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) - printf "%s\n" "$ac_cs_config"; exit ;; + printf '%s\n' "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" @@ -17464,23 +18010,23 @@ do --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header - as_fn_error $? "ambiguous option: \`$1' -Try \`$0 --help' for more information.";; + as_fn_error $? "ambiguous option: '$1' +Try '$0 --help' for more information.";; --help | --hel | -h ) - printf "%s\n" "$ac_cs_usage"; exit ;; + printf '%s\n' "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. - -*) as_fn_error $? "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; + -*) as_fn_error $? "unrecognized option: '$1' +Try '$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; @@ -17497,29 +18043,29 @@ if $ac_cs_silent; then fi _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift - \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 + \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX - printf "%s\n" "$ac_log" + printf '%s\n' "$ac_log" } >&5 _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # @@ -17577,7 +18123,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets @@ -17600,7 +18146,7 @@ do "bin/jemalloc.sh") CONFIG_FILES="$CONFIG_FILES bin/jemalloc.sh" ;; "bin/jeprof") CONFIG_FILES="$CONFIG_FILES bin/jeprof" ;; - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;; esac done @@ -17620,7 +18166,7 @@ fi # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. +# after its creation but before its name has been assigned to '$tmp'. $debug || { tmp= ac_tmp= @@ -17644,7 +18190,7 @@ ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. +# This happens for instance with './config.status config.h'. if test -n "$CONFIG_FILES"; then @@ -17672,13 +18218,13 @@ _ACEOF echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` +ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then @@ -17689,7 +18235,7 @@ for ac_last_try in false false false false false :; do done rm -f conf$$subs.sh -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' @@ -17734,9 +18280,9 @@ t delim N s/\n// } -' >>$CONFIG_STATUS || ac_write_fail=1 +' >>"$CONFIG_STATUS" || ac_write_fail=1 rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 @@ -17765,7 +18311,7 @@ cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && _ACAWK _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else @@ -17797,18 +18343,18 @@ s/^[^=]*=[ ]*$// }' fi -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. +# This happens for instance with './config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF -# Transform confdefs.h into an awk script `defines.awk', embedded as +# Transform confdefs.h into an awk script 'defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. @@ -17868,9 +18414,9 @@ s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 +"/g' >>"$CONFIG_STATUS" || ac_write_fail=1 -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } @@ -17888,8 +18434,12 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { + suffix = P[macro] D[macro] + while (suffix ~ /[\t ]$/) { + suffix = substr(suffix, 1, length(suffix) - 1) + } # Preserve the white space surrounding the "#". - print prefix "define", macro P[macro] D[macro] + print prefix "define", macro suffix next } else { # Replace #undef with comments. This is necessary, for example, @@ -17904,7 +18454,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 { print } _ACAWK _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" @@ -17918,7 +18468,7 @@ do esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac @@ -17940,33 +18490,33 @@ do -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. + # because $ac_f cannot contain ':'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;; esac - case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done - # Let's still pretend it is `configure' which instantiates (i.e., don't + # Let's still pretend it is 'configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` - printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -printf "%s\n" "$as_me: creating $ac_file" >&6;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +printf '%s\n' "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) - ac_sed_conf_input=`printf "%s\n" "$configure_input" | + ac_sed_conf_input=`printf '%s\n' "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac @@ -17983,7 +18533,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X"$ac_file" | +printf '%s\n' X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -18007,9 +18557,9 @@ printf "%s\n" X"$ac_file" | case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -18049,7 +18599,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix esac _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= @@ -18066,10 +18616,10 @@ ac_sed_dataroot=' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g @@ -18080,14 +18630,14 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 esac _ACEOF -# Neutralize VPATH when `$srcdir' = `.'. +# Neutralize VPATH when '$srcdir' = '.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t @@ -18110,9 +18660,9 @@ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir' which seems to be undefined. Please make sure it is defined" >&5 -printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" @@ -18128,27 +18678,27 @@ which seems to be undefined. Please make sure it is defined" >&2;} # if test x"$ac_file" != x-; then { - printf "%s\n" "/* $configure_input */" >&1 \ + printf '%s\n' "/* $configure_input */" >&1 \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +printf '%s\n' "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else - printf "%s\n" "/* $configure_input */" >&1 \ + printf '%s\n' "/* $configure_input */" >&1 \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi ;; - :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -printf "%s\n" "$as_me: executing $ac_file commands" >&6;} + :C) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +printf '%s\n' "$as_me: executing $ac_file commands" >&6;} ;; esac @@ -18217,7 +18767,7 @@ done # for ac_tag as_fn_exit 0 _ACEOF -ac_clean_files=$ac_clean_files_save +ac_clean_CONFIG_STATUS= test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 @@ -18233,156 +18783,163 @@ test $ac_write_fail = 0 || # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: + case $CONFIG_STATUS in #( + -*) : + ac_no_opts=-- ;; #( + *) : + ac_no_opts= ;; +esac ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args || + ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -fi - - -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ===============================================================================" >&5 -printf "%s\n" "===============================================================================" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: jemalloc version : ${jemalloc_version}" >&5 -printf "%s\n" "jemalloc version : ${jemalloc_version}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: library revision : ${rev}" >&5 -printf "%s\n" "library revision : ${rev}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CONFIG : ${CONFIG}" >&5 -printf "%s\n" "CONFIG : ${CONFIG}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CC : ${CC}" >&5 -printf "%s\n" "CC : ${CC}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CONFIGURE_CFLAGS : ${CONFIGURE_CFLAGS}" >&5 -printf "%s\n" "CONFIGURE_CFLAGS : ${CONFIGURE_CFLAGS}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SPECIFIED_CFLAGS : ${SPECIFIED_CFLAGS}" >&5 -printf "%s\n" "SPECIFIED_CFLAGS : ${SPECIFIED_CFLAGS}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: EXTRA_CFLAGS : ${EXTRA_CFLAGS}" >&5 -printf "%s\n" "EXTRA_CFLAGS : ${EXTRA_CFLAGS}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CPPFLAGS : ${CPPFLAGS}" >&5 -printf "%s\n" "CPPFLAGS : ${CPPFLAGS}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CXX : ${CXX}" >&5 -printf "%s\n" "CXX : ${CXX}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CONFIGURE_CXXFLAGS : ${CONFIGURE_CXXFLAGS}" >&5 -printf "%s\n" "CONFIGURE_CXXFLAGS : ${CONFIGURE_CXXFLAGS}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SPECIFIED_CXXFLAGS : ${SPECIFIED_CXXFLAGS}" >&5 -printf "%s\n" "SPECIFIED_CXXFLAGS : ${SPECIFIED_CXXFLAGS}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: EXTRA_CXXFLAGS : ${EXTRA_CXXFLAGS}" >&5 -printf "%s\n" "EXTRA_CXXFLAGS : ${EXTRA_CXXFLAGS}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CONFIGURE_LDFLAGS : ${CONFIGURE_LDFLAGS}" >&5 -printf "%s\n" "CONFIGURE_LDFLAGS : ${CONFIGURE_LDFLAGS}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SPECIFIED_LDFLAGS : ${SPECIFIED_LDFLAGS}" >&5 -printf "%s\n" "SPECIFIED_LDFLAGS : ${SPECIFIED_LDFLAGS}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: EXTRA_LDFLAGS : ${EXTRA_LDFLAGS}" >&5 -printf "%s\n" "EXTRA_LDFLAGS : ${EXTRA_LDFLAGS}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: DSO_LDFLAGS : ${DSO_LDFLAGS}" >&5 -printf "%s\n" "DSO_LDFLAGS : ${DSO_LDFLAGS}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: LIBS : ${LIBS}" >&5 -printf "%s\n" "LIBS : ${LIBS}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: RPATH_EXTRA : ${RPATH_EXTRA}" >&5 -printf "%s\n" "RPATH_EXTRA : ${RPATH_EXTRA}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: XSLTPROC : ${XSLTPROC}" >&5 -printf "%s\n" "XSLTPROC : ${XSLTPROC}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: XSLROOT : ${XSLROOT}" >&5 -printf "%s\n" "XSLROOT : ${XSLROOT}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: PREFIX : ${PREFIX}" >&5 -printf "%s\n" "PREFIX : ${PREFIX}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: BINDIR : ${BINDIR}" >&5 -printf "%s\n" "BINDIR : ${BINDIR}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: DATADIR : ${DATADIR}" >&5 -printf "%s\n" "DATADIR : ${DATADIR}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: INCLUDEDIR : ${INCLUDEDIR}" >&5 -printf "%s\n" "INCLUDEDIR : ${INCLUDEDIR}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: LIBDIR : ${LIBDIR}" >&5 -printf "%s\n" "LIBDIR : ${LIBDIR}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: MANDIR : ${MANDIR}" >&5 -printf "%s\n" "MANDIR : ${MANDIR}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: LG_PAGE : ${LG_PAGE}" >&5 -printf "%s\n" "LG_PAGE : ${LG_PAGE}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: srcroot : ${srcroot}" >&5 -printf "%s\n" "srcroot : ${srcroot}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: abs_srcroot : ${abs_srcroot}" >&5 -printf "%s\n" "abs_srcroot : ${abs_srcroot}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: objroot : ${objroot}" >&5 -printf "%s\n" "objroot : ${objroot}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: abs_objroot : ${abs_objroot}" >&5 -printf "%s\n" "abs_objroot : ${abs_objroot}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: JEMALLOC_PREFIX : ${JEMALLOC_PREFIX}" >&5 -printf "%s\n" "JEMALLOC_PREFIX : ${JEMALLOC_PREFIX}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: JEMALLOC_PRIVATE_NAMESPACE" >&5 -printf "%s\n" "JEMALLOC_PRIVATE_NAMESPACE" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: : ${JEMALLOC_PRIVATE_NAMESPACE}" >&5 -printf "%s\n" " : ${JEMALLOC_PRIVATE_NAMESPACE}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: install_suffix : ${install_suffix}" >&5 -printf "%s\n" "install_suffix : ${install_suffix}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: malloc_conf : ${config_malloc_conf}" >&5 -printf "%s\n" "malloc_conf : ${config_malloc_conf}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: documentation : ${enable_doc}" >&5 -printf "%s\n" "documentation : ${enable_doc}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: shared libs : ${enable_shared}" >&5 -printf "%s\n" "shared libs : ${enable_shared}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: static libs : ${enable_static}" >&5 -printf "%s\n" "static libs : ${enable_static}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: autogen : ${enable_autogen}" >&5 -printf "%s\n" "autogen : ${enable_autogen}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: debug : ${enable_debug}" >&5 -printf "%s\n" "debug : ${enable_debug}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: stats : ${enable_stats}" >&5 -printf "%s\n" "stats : ${enable_stats}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: user_config : ${enable_user_config}" >&5 -printf "%s\n" "user_config : ${enable_user_config}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: experimental_smallocx : ${enable_experimental_smallocx}" >&5 -printf "%s\n" "experimental_smallocx : ${enable_experimental_smallocx}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: prof : ${enable_prof}" >&5 -printf "%s\n" "prof : ${enable_prof}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: prof-libunwind : ${enable_prof_libunwind}" >&5 -printf "%s\n" "prof-libunwind : ${enable_prof_libunwind}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: prof-frameptr : ${enable_prof_frameptr}" >&5 -printf "%s\n" "prof-frameptr : ${enable_prof_frameptr}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: prof-libgcc : ${enable_prof_libgcc}" >&5 -printf "%s\n" "prof-libgcc : ${enable_prof_libgcc}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: prof-gcc : ${enable_prof_gcc}" >&5 -printf "%s\n" "prof-gcc : ${enable_prof_gcc}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: fill : ${enable_fill}" >&5 -printf "%s\n" "fill : ${enable_fill}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: utrace : ${enable_utrace}" >&5 -printf "%s\n" "utrace : ${enable_utrace}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: xmalloc : ${enable_xmalloc}" >&5 -printf "%s\n" "xmalloc : ${enable_xmalloc}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: log : ${enable_log}" >&5 -printf "%s\n" "log : ${enable_log}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: lazy_lock : ${enable_lazy_lock}" >&5 -printf "%s\n" "lazy_lock : ${enable_lazy_lock}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cache-oblivious : ${enable_cache_oblivious}" >&5 -printf "%s\n" "cache-oblivious : ${enable_cache_oblivious}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: pageid : ${enable_pageid}" >&5 -printf "%s\n" "pageid : ${enable_pageid}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cxx : ${enable_cxx}" >&5 -printf "%s\n" "cxx : ${enable_cxx}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: dss : ${enable_dss}" >&5 -printf "%s\n" "dss : ${enable_dss}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: tsan : ${enable_tsan}" >&5 -printf "%s\n" "tsan : ${enable_tsan}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ubsan : ${enable_ubsan}" >&5 -printf "%s\n" "ubsan : ${enable_ubsan}" >&6; } -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ===============================================================================" >&5 -printf "%s\n" "===============================================================================" >&6; } + { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + + +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ===============================================================================" >&5 +printf '%s\n' "===============================================================================" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: jemalloc version : ${jemalloc_version}" >&5 +printf '%s\n' "jemalloc version : ${jemalloc_version}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: library revision : ${rev}" >&5 +printf '%s\n' "library revision : ${rev}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: CONFIG : ${CONFIG}" >&5 +printf '%s\n' "CONFIG : ${CONFIG}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: CC : ${CC}" >&5 +printf '%s\n' "CC : ${CC}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: CONFIGURE_CFLAGS : ${CONFIGURE_CFLAGS}" >&5 +printf '%s\n' "CONFIGURE_CFLAGS : ${CONFIGURE_CFLAGS}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: SPECIFIED_CFLAGS : ${SPECIFIED_CFLAGS}" >&5 +printf '%s\n' "SPECIFIED_CFLAGS : ${SPECIFIED_CFLAGS}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: EXTRA_CFLAGS : ${EXTRA_CFLAGS}" >&5 +printf '%s\n' "EXTRA_CFLAGS : ${EXTRA_CFLAGS}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: CPPFLAGS : ${CPPFLAGS}" >&5 +printf '%s\n' "CPPFLAGS : ${CPPFLAGS}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: CXX : ${CXX}" >&5 +printf '%s\n' "CXX : ${CXX}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: CONFIGURE_CXXFLAGS : ${CONFIGURE_CXXFLAGS}" >&5 +printf '%s\n' "CONFIGURE_CXXFLAGS : ${CONFIGURE_CXXFLAGS}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: SPECIFIED_CXXFLAGS : ${SPECIFIED_CXXFLAGS}" >&5 +printf '%s\n' "SPECIFIED_CXXFLAGS : ${SPECIFIED_CXXFLAGS}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: EXTRA_CXXFLAGS : ${EXTRA_CXXFLAGS}" >&5 +printf '%s\n' "EXTRA_CXXFLAGS : ${EXTRA_CXXFLAGS}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: CONFIGURE_LDFLAGS : ${CONFIGURE_LDFLAGS}" >&5 +printf '%s\n' "CONFIGURE_LDFLAGS : ${CONFIGURE_LDFLAGS}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: SPECIFIED_LDFLAGS : ${SPECIFIED_LDFLAGS}" >&5 +printf '%s\n' "SPECIFIED_LDFLAGS : ${SPECIFIED_LDFLAGS}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: EXTRA_LDFLAGS : ${EXTRA_LDFLAGS}" >&5 +printf '%s\n' "EXTRA_LDFLAGS : ${EXTRA_LDFLAGS}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: DSO_LDFLAGS : ${DSO_LDFLAGS}" >&5 +printf '%s\n' "DSO_LDFLAGS : ${DSO_LDFLAGS}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: LIBS : ${LIBS}" >&5 +printf '%s\n' "LIBS : ${LIBS}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: RPATH_EXTRA : ${RPATH_EXTRA}" >&5 +printf '%s\n' "RPATH_EXTRA : ${RPATH_EXTRA}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: XSLTPROC : ${XSLTPROC}" >&5 +printf '%s\n' "XSLTPROC : ${XSLTPROC}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: XSLROOT : ${XSLROOT}" >&5 +printf '%s\n' "XSLROOT : ${XSLROOT}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: PREFIX : ${PREFIX}" >&5 +printf '%s\n' "PREFIX : ${PREFIX}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: BINDIR : ${BINDIR}" >&5 +printf '%s\n' "BINDIR : ${BINDIR}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: DATADIR : ${DATADIR}" >&5 +printf '%s\n' "DATADIR : ${DATADIR}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: INCLUDEDIR : ${INCLUDEDIR}" >&5 +printf '%s\n' "INCLUDEDIR : ${INCLUDEDIR}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: LIBDIR : ${LIBDIR}" >&5 +printf '%s\n' "LIBDIR : ${LIBDIR}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: MANDIR : ${MANDIR}" >&5 +printf '%s\n' "MANDIR : ${MANDIR}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: LG_PAGE : ${LG_PAGE}" >&5 +printf '%s\n' "LG_PAGE : ${LG_PAGE}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: srcroot : ${srcroot}" >&5 +printf '%s\n' "srcroot : ${srcroot}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: abs_srcroot : ${abs_srcroot}" >&5 +printf '%s\n' "abs_srcroot : ${abs_srcroot}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: objroot : ${objroot}" >&5 +printf '%s\n' "objroot : ${objroot}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: abs_objroot : ${abs_objroot}" >&5 +printf '%s\n' "abs_objroot : ${abs_objroot}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf '%s\n' "" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: JEMALLOC_PREFIX : ${JEMALLOC_PREFIX}" >&5 +printf '%s\n' "JEMALLOC_PREFIX : ${JEMALLOC_PREFIX}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: JEMALLOC_PRIVATE_NAMESPACE" >&5 +printf '%s\n' "JEMALLOC_PRIVATE_NAMESPACE" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: : ${JEMALLOC_PRIVATE_NAMESPACE}" >&5 +printf '%s\n' " : ${JEMALLOC_PRIVATE_NAMESPACE}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: install_suffix : ${install_suffix}" >&5 +printf '%s\n' "install_suffix : ${install_suffix}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: malloc_conf : ${config_malloc_conf}" >&5 +printf '%s\n' "malloc_conf : ${config_malloc_conf}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: documentation : ${enable_doc}" >&5 +printf '%s\n' "documentation : ${enable_doc}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: shared libs : ${enable_shared}" >&5 +printf '%s\n' "shared libs : ${enable_shared}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: static libs : ${enable_static}" >&5 +printf '%s\n' "static libs : ${enable_static}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: autogen : ${enable_autogen}" >&5 +printf '%s\n' "autogen : ${enable_autogen}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: debug : ${enable_debug}" >&5 +printf '%s\n' "debug : ${enable_debug}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: stats : ${enable_stats}" >&5 +printf '%s\n' "stats : ${enable_stats}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: user_config : ${enable_user_config}" >&5 +printf '%s\n' "user_config : ${enable_user_config}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: experimental_smallocx : ${enable_experimental_smallocx}" >&5 +printf '%s\n' "experimental_smallocx : ${enable_experimental_smallocx}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: experimental_fiber_safe_tls : ${enable_experimental_fiber_safe_tls}" >&5 +printf '%s\n' "experimental_fiber_safe_tls : ${enable_experimental_fiber_safe_tls}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: prof : ${enable_prof}" >&5 +printf '%s\n' "prof : ${enable_prof}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: prof-libunwind : ${enable_prof_libunwind}" >&5 +printf '%s\n' "prof-libunwind : ${enable_prof_libunwind}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: prof-libgcc : ${enable_prof_libgcc}" >&5 +printf '%s\n' "prof-libgcc : ${enable_prof_libgcc}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: prof-gcc : ${enable_prof_gcc}" >&5 +printf '%s\n' "prof-gcc : ${enable_prof_gcc}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: fill : ${enable_fill}" >&5 +printf '%s\n' "fill : ${enable_fill}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: utrace : ${enable_utrace}" >&5 +printf '%s\n' "utrace : ${enable_utrace}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: xmalloc : ${enable_xmalloc}" >&5 +printf '%s\n' "xmalloc : ${enable_xmalloc}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: log : ${enable_log}" >&5 +printf '%s\n' "log : ${enable_log}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: lazy_lock : ${enable_lazy_lock}" >&5 +printf '%s\n' "lazy_lock : ${enable_lazy_lock}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: cache-oblivious : ${enable_cache_oblivious}" >&5 +printf '%s\n' "cache-oblivious : ${enable_cache_oblivious}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: pageid : ${enable_pageid}" >&5 +printf '%s\n' "pageid : ${enable_pageid}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: cxx : ${enable_cxx}" >&5 +printf '%s\n' "cxx : ${enable_cxx}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: dss : ${enable_dss}" >&5 +printf '%s\n' "dss : ${enable_dss}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: tsan : ${enable_tsan}" >&5 +printf '%s\n' "tsan : ${enable_tsan}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ubsan : ${enable_ubsan}" >&5 +printf '%s\n' "ubsan : ${enable_ubsan}" >&6; } +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ===============================================================================" >&5 +printf '%s\n' "===============================================================================" >&6; } diff --git a/jemalloc-sys/jemalloc b/jemalloc-sys/jemalloc index 81034ce1f..7a34f1850 160000 --- a/jemalloc-sys/jemalloc +++ b/jemalloc-sys/jemalloc @@ -1 +1 @@ -Subproject commit 81034ce1f1373e37dc865038e1bc8eeecf559ce8 +Subproject commit 7a34f18502e7b222724097cdcd499b437d189acc From fc956c8252ca71724dd4bfc934205deaf2598328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Miku=C5=82a?= Date: Mon, 21 Sep 2026 14:26:54 +0200 Subject: [PATCH 2/2] Regenerate configure with Ubuntu 24.04 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mateusz MikuĊ‚a --- jemalloc-sys/configure/configure | 6767 ++++++++++++++---------------- 1 file changed, 3255 insertions(+), 3512 deletions(-) diff --git a/jemalloc-sys/configure/configure b/jemalloc-sys/configure/configure index 53f9ed932..869357b3d 100755 --- a/jemalloc-sys/configure/configure +++ b/jemalloc-sys/configure/configure @@ -1,9 +1,9 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.73. +# Generated by GNU Autoconf 2.71. # # -# Copyright (C) 1992-1996, 1998-2017, 2020-2026 Free Software Foundation, +# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, # Inc. # # @@ -15,21 +15,21 @@ # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh +as_nop=: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # contradicts POSIX and common usage. Disable this. + # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST -else case e in #( - e) case `(set -o) 2>/dev/null` in #( +else $as_nop + case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; -esac ;; esac fi @@ -101,13 +101,13 @@ IFS=$as_save_IFS ;; esac -# We did not find ourselves, most probably we were run as 'sh COMMAND' +# We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then - printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi @@ -129,33 +129,30 @@ case $- in # (((( *x* ) as_opts=-x ;; * ) as_opts= ;; esac -case $# in # (( - 0) exec $CONFIG_SHELL $as_opts "$as_myself" ;; - *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;; -esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail -# out after a failed 'exec'. -printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2 +# out after a failed `exec'. +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 + as_bourne_compatible="as_nop=: +if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which - # contradicts POSIX and common usage. Disable this. + # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST -else case e in #( - e) case \`(set -o) 2>/dev/null\` in #( +else \$as_nop + case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; -esac ;; esac fi " @@ -173,9 +170,8 @@ as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ) then : -else case e in #( - e) exitcode=1; echo positional parameters were not saved. ;; -esac +else \$as_nop + exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 blah=\$(echo \$(echo blah)) @@ -189,15 +185,14 @@ test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null then : as_have_required=yes -else case e in #( - e) as_have_required=no ;; -esac +else $as_nop + as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null then : -else case e in #( - e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +else $as_nop + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do @@ -230,13 +225,12 @@ IFS=$as_save_IFS if $as_found then : -else case e in #( - e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } && +else $as_nop + if { test -f "$SHELL" || test -f "$SHELL.exe"; } && as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null then : CONFIG_SHELL=$SHELL as_have_required=yes -fi ;; -esac +fi fi @@ -256,32 +250,28 @@ case $- in # (((( *x* ) as_opts=-x ;; * ) as_opts= ;; esac -case $# in # (( - 0) exec $CONFIG_SHELL $as_opts "$as_myself" ;; - *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;; -esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail -# out after a failed 'exec'. -printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2 +# out after a failed `exec'. +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno then : - printf '%s\n' "$0: This script requires a shell more modern than all" - printf '%s\n' "$0: the shells that I found on your system." + printf "%s\n" "$0: This script requires a shell more modern than all" + printf "%s\n" "$0: the shells that I found on your system." if test ${ZSH_VERSION+y} ; then - printf '%s\n' "$0: In particular, zsh $ZSH_VERSION has bugs and should" - printf '%s\n' "$0: be upgraded to zsh 4.3.4 or later." + printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" + printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." else - printf '%s\n' "$0: Please tell bug-autoconf@gnu.org about your system, + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." fi exit 1 -fi ;; -esac +fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} @@ -320,6 +310,14 @@ as_fn_exit () as_fn_set_status $1 exit $1 } # as_fn_exit +# as_fn_nop +# --------- +# Do nothing but, unlike ":", preserve the value of $?. +as_fn_nop () +{ + return $? +} +as_nop=as_fn_nop # as_fn_mkdir_p # ------------- @@ -334,7 +332,7 @@ as_fn_mkdir_p () as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" @@ -343,7 +341,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -printf '%s\n' X"$as_dir" | +printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -388,12 +386,11 @@ then : { eval $1+=\$2 }' -else case e in #( - e) as_fn_append () +else $as_nop + as_fn_append () { eval $1=\$$1\$2 - } ;; -esac + } fi # as_fn_append # as_fn_arith ARG... @@ -407,14 +404,21 @@ then : { as_val=$(( $* )) }' -else case e in #( - e) as_fn_arith () +else $as_nop + as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` - } ;; -esac + } fi # as_fn_arith +# as_fn_nop +# --------- +# Do nothing but, unlike ":", preserve the value of $?. +as_fn_nop () +{ + return $? +} +as_nop=as_fn_nop # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- @@ -426,9 +430,9 @@ as_fn_error () as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - printf '%s\n' "$as_me: error: $2" >&2 + printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error @@ -455,7 +459,7 @@ as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -printf '%s\n' X/"$0" | +printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -488,8 +492,6 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits /[$]LINENO/= ' <$as_myself | sed ' - t clear - :clear s/[$]LINENO.*/&-/ t lineno b @@ -501,7 +503,7 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || - { printf '%s\n' "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall @@ -515,6 +517,30 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits exit } + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBSTed +# for compatibility with existing Makefiles. +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +# For backward compatibility with old third-party macros, we provide +# the shell variables $as_echo and $as_echo_n. New code should use +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. +as_echo='printf %s\n' +as_echo_n='printf %s' + + rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -526,9 +552,9 @@ if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: - # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. - # In both cases, we have to default to 'cp -pR'. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then @@ -553,12 +579,10 @@ as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. -as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" -as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. -as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" -as_tr_sh="eval sed '$as_sed_sh'" # deprecated +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" test -n "$DJDIR" || exec 7<&0 /dev/null | sed 1q` # Initializations. # ac_default_prefix=/usr/local -ac_clean_CONFIG_STATUS= ac_clean_files= ac_config_libobj_dir=. LIBOBJS= @@ -743,13 +766,13 @@ abs_srcroot srcroot rev CONFIG -ECHO_T -ECHO_N -ECHO_C target_alias host_alias build_alias LIBS +ECHO_T +ECHO_N +ECHO_C DEFS mandir localedir @@ -958,9 +981,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: '$ac_useropt'" + as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -984,9 +1007,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: '$ac_useropt'" + as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -1197,9 +1220,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: '$ac_useropt'" + as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1213,9 +1236,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: '$ac_useropt'" + as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1243,8 +1266,8 @@ do | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; - -*) as_fn_error $? "unrecognized option: '$ac_option' -Try '$0 --help' for more information" + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" ;; *=*) @@ -1252,16 +1275,16 @@ Try '$0 --help' for more information" # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) - as_fn_error $? "invalid variable name: '$ac_envvar'" ;; + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. - printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2 + printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2 + printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; @@ -1269,7 +1292,7 @@ Try '$0 --help' for more information" done if test -n "$ac_prev"; then - ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'` + ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi @@ -1277,7 +1300,7 @@ if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; - *) printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi @@ -1302,7 +1325,7 @@ do as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done -# There might be people who depend on the old broken behavior: '$host' +# There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias @@ -1341,7 +1364,7 @@ $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -printf '%s\n' X"$as_myself" | +printf "%s\n" X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -1370,7 +1393,7 @@ if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi -ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work" +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` @@ -1398,7 +1421,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -'configure' configures this package to adapt to many kinds of systems. +\`configure' configures this package to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1412,11 +1435,11 @@ Configuration: --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit - -q, --quiet, --silent do not print 'checking ...' messages + -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for '--cache-file=config.cache' + -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or '..'] + --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX @@ -1424,10 +1447,10 @@ Installation directories: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] -By default, 'make install' will install all the files in -'$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify -an installation prefix other than '$ac_default_prefix' using '--prefix', -for instance '--prefix=\$HOME'. +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. For better control, use the options below. @@ -1574,7 +1597,7 @@ Some influential environment variables: CXX C++ compiler command CXXFLAGS C++ compiler flags -Use these variables to override the choices made by 'configure' or to help +Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to the package provider. @@ -1593,9 +1616,9 @@ if test "$ac_init_help" = "recursive"; then case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -1632,7 +1655,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix echo && $SHELL "$ac_srcdir/configure" --help=recursive else - printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done @@ -1642,9 +1665,9 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF configure -generated by GNU Autoconf 2.73 +generated by GNU Autoconf 2.71 -Copyright (C) 2026 Free Software Foundation, Inc. +Copyright (C) 2021 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1668,7 +1691,7 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf '%s\n' "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -1676,19 +1699,18 @@ printf '%s\n' "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext then : ac_retval=0 -else case e in #( - e) printf '%s\n' "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=1 ;; -esac + ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval @@ -1707,7 +1729,7 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf '%s\n' "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -1715,19 +1737,18 @@ printf '%s\n' "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err } then : ac_retval=0 -else case e in #( - e) printf '%s\n' "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=1 ;; -esac + ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval @@ -1747,7 +1768,7 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf '%s\n' "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -1755,19 +1776,18 @@ printf '%s\n' "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext then : ac_retval=0 -else case e in #( - e) printf '%s\n' "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=1 ;; -esac + ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval @@ -1787,7 +1807,7 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf '%s\n' "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -1795,7 +1815,7 @@ printf '%s\n' "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err @@ -1805,12 +1825,11 @@ printf '%s\n' "$ac_try_echo"; } >&5 } then : ac_retval=0 -else case e in #( - e) printf '%s\n' "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=1 ;; -esac + ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would @@ -1835,7 +1854,7 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf '%s\n' "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -1843,7 +1862,7 @@ printf '%s\n' "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err @@ -1853,12 +1872,11 @@ printf '%s\n' "$ac_try_echo"; } >&5 } then : ac_retval=0 -else case e in #( - e) printf '%s\n' "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=1 ;; -esac + ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would @@ -1883,30 +1901,29 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf '%s\n' "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf '%s\n' "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? - printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } then : ac_retval=0 -else case e in #( - e) printf '%s\n' "$as_me: program exited with status $ac_status" >&5 - printf '%s\n' "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: program exited with status $ac_status" >&5 + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=$ac_status ;; -esac + ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno @@ -1921,13 +1938,13 @@ fi ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> @@ -1935,16 +1952,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac +else $as_nop + eval "$3=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$3 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf '%s\n' "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile @@ -1994,19 +2009,18 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_hi=$ac_mid; break -else case e in #( - e) as_fn_arith $ac_mid + 1 && ac_lo=$as_val +else $as_nop + as_fn_arith $ac_mid + 1 && ac_lo=$as_val if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi - as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val ;; -esac + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int @@ -2041,23 +2055,20 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_lo=$ac_mid; break -else case e in #( - e) as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val +else $as_nop + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi - as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val ;; -esac + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done -else case e in #( - e) ac_lo= ac_hi= ;; -esac +else $as_nop + ac_lo= ac_hi= fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext # Binary search between lo and hi bounds. @@ -2080,9 +2091,8 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_hi=$ac_mid -else case e in #( - e) as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ;; -esac +else $as_nop + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done @@ -2130,9 +2140,8 @@ _ACEOF if ac_fn_c_try_run "$LINENO" then : echo >>conftest.val; read $3 &5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (void); below. */ + which can conflict with char $2 (); below. */ #include #undef $2 @@ -2174,7 +2183,7 @@ else case e in #( #ifdef __cplusplus extern "C" #endif -char $2 (void); +char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ @@ -2193,17 +2202,15 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac +else $as_nop + eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf '%s\n' "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func @@ -2216,13 +2223,13 @@ ac_fn_check_decl () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack as_decl_name=`echo $2|sed 's/ *(.*//'` - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 printf %s "checking whether $as_decl_name is declared... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 -else case e in #( - e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` +else $as_nop + as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` eval ac_save_FLAGS=\$$6 as_fn_append $6 " $5" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -2246,18 +2253,16 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac +else $as_nop + eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext eval $6=\$ac_save_FLAGS - ;; -esac + fi eval ac_res=\$$3 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf '%s\n' "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_check_decl @@ -2269,13 +2274,13 @@ printf '%s\n' "$ac_res" >&6; } ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 -else case e in #( - e) eval "$3=no" +else $as_nop + eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 @@ -2305,18 +2310,16 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : -else case e in #( - e) eval "$3=yes" ;; -esac +else $as_nop + eval "$3=yes" fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$3 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf '%s\n' "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_type @@ -2325,7 +2328,7 @@ for ac_arg do case $ac_arg in *\'*) - ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append ac_configure_args_raw " '$ac_arg'" done @@ -2337,7 +2340,7 @@ case $ac_configure_args_raw in ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. ac_unsafe_a="$ac_unsafe_z#~" ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" - ac_configure_args_raw=` printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; + ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; esac cat >config.log <<_ACEOF @@ -2345,7 +2348,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was -generated by GNU Autoconf 2.73. Invocation command line was +generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -2385,7 +2388,7 @@ do */) ;; *) as_dir=$as_dir/ ;; esac - printf '%s\n' "PATH: $as_dir" + printf "%s\n" "PATH: $as_dir" done IFS=$as_save_IFS @@ -2420,7 +2423,7 @@ do | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) - ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; @@ -2449,22 +2452,31 @@ done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} -# Dump the cache to stdout. It can be in a pipe (this is a requirement). -ac_cache_dump () -{ - # The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Sanitize IFS. + IFS=" "" $as_nl" + # Save into config.log some information that might help in debugging. + { + echo + + printf "%s\n" "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + # The following way of writing the cache mishandles newlines in values, ( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -2473,95 +2485,67 @@ printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} esac ;; esac done - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) - # 'set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) - # 'set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) -} - -# Print debugging info to stdout. -ac_dump_debugging_info () -{ - echo - - printf '%s\n' "## ---------------- ## -## Cache variables. ## -## ---------------- ##" - echo - ac_cache_dump - echo + echo - printf '%s\n' "## ----------------- ## + printf "%s\n" "## ----------------- ## ## Output variables. ## ## ----------------- ##" - echo - for ac_var in $ac_subst_vars - do - eval ac_val=\$$ac_var - case $ac_val in - *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;; - esac - printf '%s\n' "$ac_var='$ac_val'" - done | sort - echo - - if test -n "$ac_subst_files"; then - printf '%s\n' "## ------------------- ## -## File substitutions. ## -## ------------------- ##" echo - for ac_var in $ac_subst_files + for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in - *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;; + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac - printf '%s\n' "$ac_var='$ac_val'" + printf "%s\n" "$ac_var='\''$ac_val'\''" done | sort echo - fi - if test -s confdefs.h; then - printf '%s\n' "## ----------- ## + if test -n "$ac_subst_files"; then + printf "%s\n" "## ------------------- ## +## File substitutions. ## +## ------------------- ##" + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + printf "%s\n" "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + printf "%s\n" "## ----------- ## ## confdefs.h. ## ## ----------- ##" - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - printf '%s\n' "$as_me: caught signal $ac_signal" - printf '%s\n' "$as_me: exit $exit_status" -} - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. -ac_exit_trap () -{ - exit_status= - # Sanitize IFS. - IFS=" "" $as_nl" - # Save into config.log some information that might help in debugging. - ac_dump_debugging_info >&5 - eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" && + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + printf "%s\n" "$as_me: caught signal $ac_signal" + printf "%s\n" "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status -} - -trap 'ac_exit_trap $?' 0 +' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done @@ -2570,21 +2554,21 @@ ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h -printf '%s\n' "/* confdefs.h */" > confdefs.h +printf "%s\n" "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. -printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h +printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h -printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h +printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h -printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h +printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h -printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h +printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h -printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h +printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h -printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h +printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h # Let the site file select an alternate cache file if it wants to. @@ -2606,14 +2590,14 @@ do ac_site_file=./$ac_site_file ;; esac if test -f "$ac_site_file" && test -r "$ac_site_file"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ - || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file -See 'config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5; } fi done @@ -2621,120 +2605,27 @@ if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -printf '%s\n' "$as_me: loading cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +printf "%s\n" "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -printf '%s\n' "$as_me: creating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi -# Test code for whether the C compiler supports C23 (global declarations) -ac_c_conftest_c23_globals=' -/* Does the compiler advertise conformance to C17 or earlier? - Although GCC 14 does not do that, even with -std=gnu23, - it is close enough, and defines __STDC_VERSION == 202000L. */ -#if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L -# error "Compiler advertises conformance to C17 or earlier" -#endif - -// Check alignas. -char alignas (double) c23_aligned_as_double; -char alignas (0) c23_no_special_alignment; -extern char c23_aligned_as_int; -char alignas (0) alignas (int) c23_aligned_as_int; - -// Check alignof. -enum -{ - c23_int_alignment = alignof (int), - c23_int_array_alignment = alignof (int[100]), - c23_char_alignment = alignof (char) -}; -static_assert (0 < -alignof (int), "alignof is signed"); - -int function_with_unnamed_parameter (int) { return 0; } - -void c23_noreturn (); - -/* Test parsing of string and char UTF-8 literals (including hex escapes). - The parens pacify GCC 15. */ -bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\''); - -bool check_that_bool_works = true | false | !nullptr; -#if !true -# error "true does not work in #if" -#endif -#if false -#elifdef __STDC_VERSION__ -#else -# error "#elifdef does not work" -#endif - -#ifndef __has_c_attribute -# error "__has_c_attribute not defined" -#endif - -#ifndef __has_include -# error "__has_include not defined" -#endif - -#define LPAREN() ( -#define FORTY_TWO(x) 42 -#define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x)) -static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42); - -static_assert (0b101010 == 42); -static_assert (0B101010 == 42); -static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559); -static_assert (0.500'\''000'\''000 == 0.5); - -enum unsignedish : unsigned int { uione = 1 }; -static_assert (0 < -uione); - -#include -constexpr nullptr_t null_pointer = nullptr; - -static typeof (1 + 1L) two () { return 2; } -static long int three () { return 3; } -' - -# Test code for whether the C compiler supports C23 (body of main). -ac_c_conftest_c23_main=' - { - label_before_declaration: - int arr[10] = {}; - if (arr[0]) - goto label_before_declaration; - if (!arr[0]) - goto label_at_end_of_block; - label_at_end_of_block: - } - ok |= !null_pointer; - ok |= two != three; -' - -# Test code for whether the C compiler supports C23 (complete). -ac_c_conftest_c23_program="${ac_c_conftest_c23_globals} - -int -main (int, char **) -{ - int ok = 0; - ${ac_c_conftest_c23_main} - return ok; -} -" - # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' -/* Do not test the value of __STDC__, because some compilers define it to 0 - or do not define it, while otherwise adequately conforming. */ +/* Does the compiler advertise C89 conformance? + Do not test the value of __STDC__, because some compilers set it to 0 + while being otherwise adequately conformant. */ +#if !defined __STDC__ +# error "Compiler does not advertise C89 conformance" +#endif #include #include @@ -2742,7 +2633,9 @@ struct stat; /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ struct buf { int x; }; struct buf * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (char **p, int i) +static char *e (p, i) + char **p; + int i; { return p[i]; } @@ -2756,21 +2649,6 @@ static char *f (char * (*g) (char **, int), char **p, ...) return s; } -/* C89 style stringification. */ -#define noexpand_stringify(a) #a -const char *stringified = noexpand_stringify(arbitrary+token=sequence); - -/* C89 style token pasting. Exercises some of the corner cases that - e.g. old MSVC gets wrong, but not very hard. */ -#define noexpand_concat(a,b) a##b -#define expand_concat(a,b) noexpand_concat(a,b) -extern int vA; -extern int vbee; -#define aye A -#define bee B -int *pvA = &expand_concat(v,aye); -int *pvbee = &noexpand_concat(v,bee); - /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not \xHH hex character constants. These do not provoke an error unfortunately, instead are silently treated @@ -2798,24 +2676,20 @@ ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); # Test code for whether the C compiler supports C99 (global declarations) ac_c_conftest_c99_globals=' -/* Does the compiler advertise C99 conformance? */ +// Does the compiler advertise C99 conformance? #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L # error "Compiler does not advertise C99 conformance" #endif -// See if C++-style comments work. - #include extern int puts (const char *); extern int printf (const char *, ...); extern int dprintf (int, const char *, ...); extern void *malloc (size_t); -extern void free (void *); // Check varargs macros. These examples are taken from C99 6.10.3.5. // dprintf is used instead of fprintf to avoid needing to declare -// FILE and stderr, and "aND" is used instead of "and" to work around -// GCC bug 40564 which is irrelevant here. +// FILE and stderr. #define debug(...) dprintf (2, __VA_ARGS__) #define showlist(...) puts (#__VA_ARGS__) #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) @@ -2826,7 +2700,7 @@ test_varargs_macros (void) int y = 5678; debug ("Flag"); debug ("X = %d\n", x); - showlist (The first, second, aND third items.); + showlist (The first, second, and third items.); report (x>y, "x is %d but y is %d", x, y); } @@ -2861,6 +2735,7 @@ typedef const char *ccp; static inline int test_restrict (ccp restrict text) { + // See if C++-style comments work. // Iterate through items via the restricted pointer. // Also check for declarations in for loops. for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) @@ -2914,20 +2789,18 @@ ac_c_conftest_c99_main=' // Check restrict. if (test_restrict ("String literal") == 0) success = true; - const char *restrict newvar = "Another string"; + char *restrict newvar = "Another string"; // Check varargs. success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); test_varargs_macros (); // Check flexible array members. - static struct incomplete_array *volatile incomplete_array_pointer; - struct incomplete_array *ia = incomplete_array_pointer; + struct incomplete_array *ia = + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ia->datasize = 10; for (int i = 0; i < ia->datasize; ++i) ia->data[i] = i * 1.234; - // Work around memory leak warnings. - free (ia); // Check named initializers. struct named_init ni = { @@ -2938,17 +2811,18 @@ ac_c_conftest_c99_main=' ni.number = 58; - // Do not test for VLAs, as some otherwise-conforming compilers lack them. - // C code should instead use __STDC_NO_VLA__; see Autoconf manual. + int dynamic_array[ni.number]; + dynamic_array[0] = argv[0][0]; + dynamic_array[ni.number - 1] = 543; // work around unused variable warnings ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' - || ni.number != 58); + || dynamic_array[ni.number - 1] != 543); ' # Test code for whether the C compiler supports C11 (global declarations) ac_c_conftest_c11_globals=' -/* Does the compiler advertise C11 conformance? */ +// Does the compiler advertise C11 conformance? #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L # error "Compiler does not advertise C11 conformance" #endif @@ -3052,98 +2926,313 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" -as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" -as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" -as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" -as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" -as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" -as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" -as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" -as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +# Test code for whether the C++ compiler supports C++98 (global declarations) +ac_cxx_conftest_cxx98_globals=' +// Does the compiler advertise C++98 conformance? +#if !defined __cplusplus || __cplusplus < 199711L +# error "Compiler does not advertise C++98 conformance" +#endif -# Auxiliary files required by this configure script. -ac_aux_files="install-sh config.guess config.sub" +// These inclusions are to reject old compilers that +// lack the unsuffixed header files. +#include +#include -# Locations in which to look for auxiliary files. -ac_aux_dir_candidates="${srcdir}/build-aux" +// and are *not* freestanding headers in C++98. +extern void assert (int); +namespace std { + extern int strcmp (const char *, const char *); +} -# Search for a directory containing all of the required auxiliary files, -# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. -# If we don't find one directory that contains all the files we need, -# we report the set of missing files from the *first* directory in -# $ac_aux_dir_candidates and give up. -ac_missing_aux_files="" -ac_first_candidate=: -printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_found=false -for as_dir in $ac_aux_dir_candidates -do - IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - as_found=: +// Namespaces, exceptions, and templates were all added after "C++ 2.0". +using std::exception; +using std::strcmp; - printf '%s\n' "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 - ac_aux_dir_found=yes - ac_install_sh= - for ac_aux in $ac_aux_files - do - # As a special case, if "install-sh" is required, that requirement - # can be satisfied by any of "install-sh", "install.sh", or "shtool", - # and $ac_install_sh is set appropriately for whichever one is found. - if test x"$ac_aux" = x"install-sh" - then - if test -f "${as_dir}install-sh"; then - printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 - ac_install_sh="${as_dir}install-sh -c" - elif test -f "${as_dir}install.sh"; then - printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 - ac_install_sh="${as_dir}install.sh -c" - elif test -f "${as_dir}shtool"; then - printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 - ac_install_sh="${as_dir}shtool install -c" - else - ac_aux_dir_found=no - if $ac_first_candidate; then - ac_missing_aux_files="${ac_missing_aux_files} install-sh" - else - break - fi - fi - else - if test -f "${as_dir}${ac_aux}"; then - printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 - else - ac_aux_dir_found=no - if $ac_first_candidate; then - ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" - else - break - fi - fi - fi - done - if test "$ac_aux_dir_found" = yes; then - ac_aux_dir="$as_dir" - break - fi - ac_first_candidate=false +namespace { - as_found=false -done -IFS=$as_save_IFS -if $as_found -then : +void test_exception_syntax() +{ + try { + throw "test"; + } catch (const char *s) { + // Extra parentheses suppress a warning when building autoconf itself, + // due to lint rules shared with more typical C programs. + assert (!(strcmp) (s, "test")); + } +} -else case e in #( - e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;; -esac -fi +template struct test_template +{ + T const val; + explicit test_template(T t) : val(t) {} + template T add(U u) { return static_cast(u) + val; } +}; + +} // anonymous namespace +' + +# Test code for whether the C++ compiler supports C++98 (body of main) +ac_cxx_conftest_cxx98_main=' + assert (argc); + assert (! argv[0]); +{ + test_exception_syntax (); + test_template tt (2.0); + assert (tt.add (4) == 6.0); + assert (true && !false); +} +' + +# Test code for whether the C++ compiler supports C++11 (global declarations) +ac_cxx_conftest_cxx11_globals=' +// Does the compiler advertise C++ 2011 conformance? +#if !defined __cplusplus || __cplusplus < 201103L +# error "Compiler does not advertise C++11 conformance" +#endif + +namespace cxx11test +{ + constexpr int get_val() { return 20; } + + struct testinit + { + int i; + double d; + }; + + class delegate + { + public: + delegate(int n) : n(n) {} + delegate(): delegate(2354) {} + + virtual int getval() { return this->n; }; + protected: + int n; + }; + + class overridden : public delegate + { + public: + overridden(int n): delegate(n) {} + virtual int getval() override final { return this->n * 2; } + }; + + class nocopy + { + public: + nocopy(int i): i(i) {} + nocopy() = default; + nocopy(const nocopy&) = delete; + nocopy & operator=(const nocopy&) = delete; + private: + int i; + }; + + // for testing lambda expressions + template Ret eval(Fn f, Ret v) + { + return f(v); + } + + // for testing variadic templates and trailing return types + template auto sum(V first) -> V + { + return first; + } + template auto sum(V first, Args... rest) -> V + { + return first + sum(rest...); + } +} +' + +# Test code for whether the C++ compiler supports C++11 (body of main) +ac_cxx_conftest_cxx11_main=' +{ + // Test auto and decltype + auto a1 = 6538; + auto a2 = 48573953.4; + auto a3 = "String literal"; + + int total = 0; + for (auto i = a3; *i; ++i) { total += *i; } + + decltype(a2) a4 = 34895.034; +} +{ + // Test constexpr + short sa[cxx11test::get_val()] = { 0 }; +} +{ + // Test initializer lists + cxx11test::testinit il = { 4323, 435234.23544 }; +} +{ + // Test range-based for + int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, + 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; + for (auto &x : array) { x += 23; } +} +{ + // Test lambda expressions + using cxx11test::eval; + assert (eval ([](int x) { return x*2; }, 21) == 42); + double d = 2.0; + assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); + assert (d == 5.0); + assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); + assert (d == 5.0); +} +{ + // Test use of variadic templates + using cxx11test::sum; + auto a = sum(1); + auto b = sum(1, 2); + auto c = sum(1.0, 2.0, 3.0); +} +{ + // Test constructor delegation + cxx11test::delegate d1; + cxx11test::delegate d2(); + cxx11test::delegate d3(45); +} +{ + // Test override and final + cxx11test::overridden o1(55464); +} +{ + // Test nullptr + char *c = nullptr; +} +{ + // Test template brackets + test_template<::test_template> v(test_template(12)); +} +{ + // Unicode literals + char const *utf8 = u8"UTF-8 string \u2500"; + char16_t const *utf16 = u"UTF-8 string \u2500"; + char32_t const *utf32 = U"UTF-32 string \u2500"; +} +' + +# Test code for whether the C compiler supports C++11 (complete). +ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals} +${ac_cxx_conftest_cxx11_globals} + +int +main (int argc, char **argv) +{ + int ok = 0; + ${ac_cxx_conftest_cxx98_main} + ${ac_cxx_conftest_cxx11_main} + return ok; +} +" + +# Test code for whether the C compiler supports C++98 (complete). +ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals} +int +main (int argc, char **argv) +{ + int ok = 0; + ${ac_cxx_conftest_cxx98_main} + return ok; +} +" + +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" +as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" +as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" +as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" +as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" +as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" +as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" +as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" +as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" + +# Auxiliary files required by this configure script. +ac_aux_files="install-sh config.guess config.sub" + +# Locations in which to look for auxiliary files. +ac_aux_dir_candidates="${srcdir}/build-aux" + +# Search for a directory containing all of the required auxiliary files, +# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. +# If we don't find one directory that contains all the files we need, +# we report the set of missing files from the *first* directory in +# $ac_aux_dir_candidates and give up. +ac_missing_aux_files="" +ac_first_candidate=: +printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in $ac_aux_dir_candidates +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + as_found=: + + printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 + ac_aux_dir_found=yes + ac_install_sh= + for ac_aux in $ac_aux_files + do + # As a special case, if "install-sh" is required, that requirement + # can be satisfied by any of "install-sh", "install.sh", or "shtool", + # and $ac_install_sh is set appropriately for whichever one is found. + if test x"$ac_aux" = x"install-sh" + then + if test -f "${as_dir}install-sh"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 + ac_install_sh="${as_dir}install-sh -c" + elif test -f "${as_dir}install.sh"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 + ac_install_sh="${as_dir}install.sh -c" + elif test -f "${as_dir}shtool"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 + ac_install_sh="${as_dir}shtool install -c" + else + ac_aux_dir_found=no + if $ac_first_candidate; then + ac_missing_aux_files="${ac_missing_aux_files} install-sh" + else + break + fi + fi + else + if test -f "${as_dir}${ac_aux}"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 + else + ac_aux_dir_found=no + if $ac_first_candidate; then + ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" + else + break + fi + fi + fi + done + if test "$ac_aux_dir_found" = yes; then + ac_aux_dir="$as_dir" + break + fi + ac_first_candidate=false + + as_found=false +done +IFS=$as_save_IFS +if $as_found +then : + +else $as_nop + as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 +fi # These three variables are undocumented and unsupported, @@ -3170,44 +3259,38 @@ for ac_var in $ac_precious_vars; do eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5 -printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5 -printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. - ac_old_val_w= - for ac_val in x $ac_old_val; do - ac_old_val_w="$ac_old_val_w $ac_val" - done - ac_new_val_w= - for ac_val in x $ac_new_val; do - ac_new_val_w="$ac_new_val_w $ac_val" - done + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5 -printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5 -printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5 -printf '%s\n' "$as_me: former value: '$ac_old_val'" >&2;} - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5 -printf '%s\n' "$as_me: current value: '$ac_new_val'" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in - *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in @@ -3217,34 +3300,17 @@ printf '%s\n' "$as_me: current value: '$ac_new_val'" >&2;} fi done if $ac_cache_corrupted; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file' + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## - -# Determine whether it's possible to make 'echo' print without a newline. -# These variables are no longer used directly by Autoconf, but are AC_SUBSTed -# for compatibility with existing Makefiles. -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -3325,13 +3391,13 @@ MANDIR=`eval echo "\"$MANDIR\""` # Extract the first word of "xsltproc", so it can be a program name with args. set dummy xsltproc; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_XSLTPROC+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $XSLTPROC in +else $as_nop + case $XSLTPROC in [\\/]* | ?:[\\/]*) ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. ;; @@ -3348,7 +3414,7 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -3357,16 +3423,15 @@ IFS=$as_save_IFS test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="false" ;; -esac ;; esac fi XSLTPROC=$ac_cv_path_XSLTPROC if test -n "$XSLTPROC"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 -printf '%s\n' "$XSLTPROC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 +printf "%s\n" "$XSLTPROC" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -3388,10 +3453,9 @@ else XSLROOT="${with_xslroot}" fi -else case e in #( - e) XSLROOT="${DEFAULT_XSLROOT}" - ;; -esac +else $as_nop + XSLROOT="${DEFAULT_XSLROOT}" + fi if test "x$XSLTPROC" = "xfalse" ; then @@ -3409,9 +3473,6 @@ CFLAGS=$CFLAGS - - - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -3420,13 +3481,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$CC"; then +else $as_nop + if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3441,23 +3502,22 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi ;; -esac +fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -printf '%s\n' "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -3466,13 +3526,13 @@ if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$ac_ct_CC"; then +else $as_nop + if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3487,23 +3547,22 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi ;; -esac +fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -printf '%s\n' "$ac_ct_CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_CC" = x; then @@ -3511,8 +3570,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -3525,13 +3584,13 @@ if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$CC"; then +else $as_nop + if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3546,23 +3605,22 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi ;; -esac +fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -printf '%s\n' "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -3571,13 +3629,13 @@ fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$CC"; then +else $as_nop + if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no @@ -3597,7 +3655,7 @@ do continue fi ac_cv_prog_CC="cc" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -3616,16 +3674,15 @@ if test $ac_prog_rejected = yes; then ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" fi fi -fi ;; -esac +fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -printf '%s\n' "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -3636,13 +3693,13 @@ if test -z "$CC"; then do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$CC"; then +else $as_nop + if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3657,23 +3714,22 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi ;; -esac +fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -printf '%s\n' "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -3686,13 +3742,13 @@ if test -z "$CC"; then do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$ac_ct_CC"; then +else $as_nop + if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3707,23 +3763,22 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi ;; -esac +fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -printf '%s\n' "$ac_ct_CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -3735,8 +3790,8 @@ done else case $cross_compiling:$ac_tool_warned in yes:) -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -3748,13 +3803,13 @@ if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. set dummy ${ac_tool_prefix}clang; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$CC"; then +else $as_nop + if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3769,23 +3824,22 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}clang" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi ;; -esac +fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -printf '%s\n' "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -3794,13 +3848,13 @@ if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "clang", so it can be a program name with args. set dummy clang; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$ac_ct_CC"; then +else $as_nop + if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3815,23 +3869,22 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="clang" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi ;; -esac +fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -printf '%s\n' "$ac_ct_CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_CC" = x; then @@ -3839,8 +3892,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -3852,13 +3905,13 @@ fi fi -test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} +test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH -See 'config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. -printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion -version; do @@ -3868,7 +3921,7 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf '%s\n' "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -3878,7 +3931,7 @@ printf '%s\n' "$ac_try_echo"; } >&5 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done @@ -3898,9 +3951,9 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 printf %s "checking whether the C compiler works... " >&6; } -ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'` +ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" @@ -3921,14 +3974,14 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf '%s\n' "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? - printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then : - # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'. -# So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no' + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. @@ -3948,7 +4001,7 @@ do ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an '-o' + # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. @@ -3959,35 +4012,33 @@ do done test "$ac_cv_exeext" = no && ac_cv_exeext= -else case e in #( - e) ac_file='' ;; -esac +else $as_nop + ac_file='' fi if test -z "$ac_file" then : - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } -printf '%s\n' "$as_me: failed program was:" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} +{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables -See 'config.log' for more details" "$LINENO" 5; } -else case e in #( - e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } ;; -esac +See \`config.log' for more details" "$LINENO" 5; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 printf %s "checking for C compiler default output file name... " >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -printf '%s\n' "$ac_file" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +printf "%s\n" "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 printf %s "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in @@ -3995,16 +4046,16 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf '%s\n' "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then : - # If both 'conftest.exe' and 'conftest' are 'present' (well, observable) -# catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will -# work properly (i.e., refer to 'conftest.exe'), while it won't with -# 'rm'. + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in @@ -4014,16 +4065,15 @@ for ac_file in conftest.exe conftest conftest.*; do * ) break;; esac done -else case e in #( - e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} +else $as_nop + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link -See 'config.log' for more details" "$LINENO" 5; } ;; -esac +See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -printf '%s\n' "$ac_cv_exeext" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +printf "%s\n" "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext @@ -4035,8 +4085,6 @@ int main (void) { FILE *f = fopen ("conftest.out", "w"); - if (!f) - return 1; return ferror (f) || fclose (f) != 0; ; @@ -4046,7 +4094,7 @@ _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 printf %s "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" @@ -4055,10 +4103,10 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf '%s\n' "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in @@ -4066,37 +4114,36 @@ printf '%s\n' "$ac_try_echo"; } >&5 *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf '%s\n' "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? - printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else - { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot run C compiled programs. -If you meant to cross compile, use '--host'. -See 'config.log' for more details" "$LINENO" 5; } +If you meant to cross compile, use \`--host'. +See \`config.log' for more details" "$LINENO" 5; } fi fi fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -printf '%s\n' "$cross_compiling" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +printf "%s\n" "$cross_compiling" >&6; } -rm -f conftest.$ac_ext conftest$ac_cv_exeext \ - conftest.o conftest.obj conftest.out +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 printf %s "checking for suffix of object files... " >&6; } if test ${ac_cv_objext+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4114,10 +4161,10 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf '%s\n' "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? - printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then : for ac_file in conftest.o conftest.obj conftest.*; do @@ -4128,30 +4175,28 @@ then : break;; esac done -else case e in #( - e) printf '%s\n' "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} +{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile -See 'config.log' for more details" "$LINENO" 5; } ;; -esac +See \`config.log' for more details" "$LINENO" 5; } fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext ;; -esac +rm -f conftest.$ac_cv_objext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -printf '%s\n' "$ac_cv_objext" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +printf "%s\n" "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 printf %s "checking whether the compiler supports GNU C... " >&6; } if test ${ac_cv_c_compiler_gnu+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4168,17 +4213,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_compiler_gnu=yes -else case e in #( - e) ac_compiler_gnu=no ;; -esac +else $as_nop + ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu - ;; -esac + fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } ac_compiler_gnu=$ac_cv_c_compiler_gnu if test $ac_compiler_gnu = yes; then @@ -4188,13 +4231,13 @@ else fi ac_test_CFLAGS=${CFLAGS+y} ac_save_CFLAGS=$CFLAGS -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 printf %s "checking whether $CC accepts -g... " >&6; } if test ${ac_cv_prog_cc_g+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_save_c_werror_flag=$ac_c_werror_flag +else $as_nop + ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" @@ -4212,8 +4255,8 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_g=yes -else case e in #( - e) CFLAGS="" +else $as_nop + CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -4228,8 +4271,8 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : -else case e in #( - e) ac_c_werror_flag=$ac_save_c_werror_flag +else $as_nop + ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -4246,18 +4289,15 @@ if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_g=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag ;; -esac + ac_c_werror_flag=$ac_save_c_werror_flag fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -printf '%s\n' "$ac_cv_prog_cc_g" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +printf "%s\n" "$ac_cv_prog_cc_g" >&6; } if test $ac_test_CFLAGS; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then @@ -4276,68 +4316,19 @@ fi ac_prog_cc_stdc=no if test x$ac_prog_cc_stdc = xno then : - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5 -printf %s "checking for $CC option to enable C23 features... " >&6; } -if test ${ac_cv_prog_cc_c23+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) ac_cv_prog_cc_c23=no -ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_c_conftest_c23_program -_ACEOF -for ac_arg in '' -std=gnu23 -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO" -then : - ac_cv_prog_cc_c23=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam - test "x$ac_cv_prog_cc_c23" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC ;; -esac -fi - -if test "x$ac_cv_prog_cc_c23" = xno -then : - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -printf '%s\n' "unsupported" >&6; } -else case e in #( - e) if test "x$ac_cv_prog_cc_c23" = x -then : - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -printf '%s\n' "none needed" >&6; } -else case e in #( - e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5 -printf '%s\n' "$ac_cv_prog_cc_c23" >&6; } - CC="$CC $ac_cv_prog_cc_c23" ;; -esac -fi - ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23 - ac_prog_cc_stdc=c23 ;; -esac -fi -fi -if test x$ac_prog_cc_stdc = xno -then : - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 printf %s "checking for $CC option to enable C11 features... " >&6; } if test ${ac_cv_prog_cc_c11+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_cv_prog_cc_c11=no +else $as_nop + ac_cv_prog_cc_c11=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_c_conftest_c11_program _ACEOF -for ac_arg in '' -std=gnu11 -std:c11 +for ac_arg in '' -std=gnu11 do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO" @@ -4348,39 +4339,36 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c11" != "xno" && break done rm -f conftest.$ac_ext -CC=$ac_save_CC ;; -esac +CC=$ac_save_CC fi if test "x$ac_cv_prog_cc_c11" = xno then : - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -printf '%s\n' "unsupported" >&6; } -else case e in #( - e) if test "x$ac_cv_prog_cc_c11" = x -then : - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -printf '%s\n' "none needed" >&6; } -else case e in #( - e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 -printf '%s\n' "$ac_cv_prog_cc_c11" >&6; } - CC="$CC $ac_cv_prog_cc_c11" ;; -esac + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c11" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 +printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } + CC="$CC $ac_cv_prog_cc_c11" fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 - ac_prog_cc_stdc=c11 ;; -esac + ac_prog_cc_stdc=c11 fi fi if test x$ac_prog_cc_stdc = xno then : - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 printf %s "checking for $CC option to enable C99 features... " >&6; } if test ${ac_cv_prog_cc_c99+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_cv_prog_cc_c99=no +else $as_nop + ac_cv_prog_cc_c99=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -4397,39 +4385,36 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c99" != "xno" && break done rm -f conftest.$ac_ext -CC=$ac_save_CC ;; -esac +CC=$ac_save_CC fi if test "x$ac_cv_prog_cc_c99" = xno then : - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -printf '%s\n' "unsupported" >&6; } -else case e in #( - e) if test "x$ac_cv_prog_cc_c99" = x -then : - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -printf '%s\n' "none needed" >&6; } -else case e in #( - e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 -printf '%s\n' "$ac_cv_prog_cc_c99" >&6; } - CC="$CC $ac_cv_prog_cc_c99" ;; -esac + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c99" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 +printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } + CC="$CC $ac_cv_prog_cc_c99" fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 - ac_prog_cc_stdc=c99 ;; -esac + ac_prog_cc_stdc=c99 fi fi if test x$ac_prog_cc_stdc = xno then : - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 printf %s "checking for $CC option to enable C89 features... " >&6; } if test ${ac_cv_prog_cc_c89+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_cv_prog_cc_c89=no +else $as_nop + ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -4446,28 +4431,25 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext -CC=$ac_save_CC ;; -esac +CC=$ac_save_CC fi if test "x$ac_cv_prog_cc_c89" = xno then : - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -printf '%s\n' "unsupported" >&6; } -else case e in #( - e) if test "x$ac_cv_prog_cc_c89" = x -then : - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -printf '%s\n' "none needed" >&6; } -else case e in #( - e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -printf '%s\n' "$ac_cv_prog_cc_c89" >&6; } - CC="$CC $ac_cv_prog_cc_c89" ;; -esac + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c89" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } + CC="$CC $ac_cv_prog_cc_c89" fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 - ac_prog_cc_stdc=c89 ;; -esac + ac_prog_cc_stdc=c89 fi fi @@ -4480,13 +4462,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu if test "x$GCC" != "xyes" ; then -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler is MSVC" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler is MSVC" >&5 printf %s "checking whether compiler is MSVC... " >&6; } if test ${je_cv_msvc+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4504,15 +4486,13 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_msvc=yes -else case e in #( - e) je_cv_msvc=no ;; -esac +else $as_nop + je_cv_msvc=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_msvc" >&5 -printf '%s\n' "$je_cv_msvc" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_msvc" >&5 +printf "%s\n" "$je_cv_msvc" >&6; } fi je_cv_cray_prgenv_wrapper="" @@ -4526,13 +4506,13 @@ if test "x${PE_ENV}" != "x" ; then esac fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler is cray" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler is cray" >&5 printf %s "checking whether compiler is cray... " >&6; } if test ${je_cv_cray+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4550,24 +4530,22 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cray=yes -else case e in #( - e) je_cv_cray=no ;; -esac +else $as_nop + je_cv_cray=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_cray" >&5 -printf '%s\n' "$je_cv_cray" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_cray" >&5 +printf "%s\n" "$je_cv_cray" >&6; } if test "x${je_cv_cray}" = "xyes" ; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether cray compiler version is 8.4" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cray compiler version is 8.4" >&5 printf %s "checking whether cray compiler version is 8.4... " >&6; } if test ${je_cv_cray_84+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4585,20 +4563,18 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cray_84=yes -else case e in #( - e) je_cv_cray_84=no ;; -esac +else $as_nop + je_cv_cray_84=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_cray_84" >&5 -printf '%s\n' "$je_cv_cray_84" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_cray_84" >&5 +printf "%s\n" "$je_cv_cray_84" >&6; } fi if test "x$GCC" = "xyes" ; then -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -std=gnu11" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -std=gnu11" >&5 printf %s "checking whether compiler supports -std=gnu11... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-std=gnu11 @@ -4632,15 +4608,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-std=gnu11 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -4652,11 +4627,11 @@ fi if test "x$je_cv_cflags_added" = "x-std=gnu11" ; then -printf '%s\n' "#define JEMALLOC_HAS_RESTRICT " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAS_RESTRICT " >>confdefs.h else -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -std=gnu99" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -std=gnu99" >&5 printf %s "checking whether compiler supports -std=gnu99... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-std=gnu99 @@ -4690,15 +4665,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-std=gnu99 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -4710,12 +4684,12 @@ fi if test "x$je_cv_cflags_added" = "x-std=gnu99" ; then -printf '%s\n' "#define JEMALLOC_HAS_RESTRICT " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAS_RESTRICT " >>confdefs.h fi fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror=unknown-warning-option" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror=unknown-warning-option" >&5 printf %s "checking whether compiler supports -Werror=unknown-warning-option... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror=unknown-warning-option @@ -4749,15 +4723,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror=unknown-warning-option - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -4768,7 +4741,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wall" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wall" >&5 printf %s "checking whether compiler supports -Wall... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wall @@ -4802,15 +4775,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wall - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -4821,7 +4793,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wextra" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wextra" >&5 printf %s "checking whether compiler supports -Wextra... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wextra @@ -4855,15 +4827,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wextra - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -4874,7 +4845,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wshorten-64-to-32" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wshorten-64-to-32" >&5 printf %s "checking whether compiler supports -Wshorten-64-to-32... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wshorten-64-to-32 @@ -4908,15 +4879,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wshorten-64-to-32 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -4927,7 +4897,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wsign-compare" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wsign-compare" >&5 printf %s "checking whether compiler supports -Wsign-compare... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wsign-compare @@ -4961,15 +4931,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wsign-compare - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -4980,7 +4949,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wundef" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wundef" >&5 printf %s "checking whether compiler supports -Wundef... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wundef @@ -5014,15 +4983,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wundef - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5033,7 +5001,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-format-zero-length" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-format-zero-length" >&5 printf %s "checking whether compiler supports -Wno-format-zero-length... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wno-format-zero-length @@ -5067,15 +5035,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wno-format-zero-length - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5086,7 +5053,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wpointer-arith" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wpointer-arith" >&5 printf %s "checking whether compiler supports -Wpointer-arith... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wpointer-arith @@ -5120,15 +5087,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wpointer-arith - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5139,7 +5105,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-braces" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-braces" >&5 printf %s "checking whether compiler supports -Wno-missing-braces... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wno-missing-braces @@ -5173,15 +5139,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wno-missing-braces - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5192,7 +5157,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-field-initializers" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-field-initializers" >&5 printf %s "checking whether compiler supports -Wno-missing-field-initializers... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wno-missing-field-initializers @@ -5226,15 +5191,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wno-missing-field-initializers - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5245,7 +5209,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-attributes" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-attributes" >&5 printf %s "checking whether compiler supports -Wno-missing-attributes... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wno-missing-attributes @@ -5279,15 +5243,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wno-missing-attributes - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5298,7 +5261,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -pipe" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -pipe" >&5 printf %s "checking whether compiler supports -pipe... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-pipe @@ -5332,15 +5295,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-pipe - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5351,7 +5313,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -g3" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -g3" >&5 printf %s "checking whether compiler supports -g3... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-g3 @@ -5385,15 +5347,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-g3 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5406,7 +5367,7 @@ fi elif test "x$je_cv_msvc" = "xyes" ; then CC="$CC -nologo" -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Zi" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Zi" >&5 printf %s "checking whether compiler supports -Zi... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Zi @@ -5440,15 +5401,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Zi - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5459,7 +5419,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -MT" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -MT" >&5 printf %s "checking whether compiler supports -MT... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-MT @@ -5493,15 +5453,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-MT - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5512,7 +5471,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -W3" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -W3" >&5 printf %s "checking whether compiler supports -W3... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-W3 @@ -5546,15 +5505,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-W3 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5565,7 +5523,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -FS" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -FS" >&5 printf %s "checking whether compiler supports -FS... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-FS @@ -5599,15 +5557,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-FS - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5629,7 +5586,7 @@ fi if test "x$je_cv_cray" = "xyes" ; then if test "x$je_cv_cray_84" = "xyes" ; then -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -hipa2" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -hipa2" >&5 printf %s "checking whether compiler supports -hipa2... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-hipa2 @@ -5663,15 +5620,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-hipa2 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5682,7 +5638,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -hnognu" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -hnognu" >&5 printf %s "checking whether compiler supports -hnognu... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-hnognu @@ -5716,15 +5672,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-hnognu - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5736,7 +5691,7 @@ fi fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -hnomessage=128" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -hnomessage=128" >&5 printf %s "checking whether compiler supports -hnomessage=128... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-hnomessage=128 @@ -5770,15 +5725,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-hnomessage=128 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5789,7 +5743,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -hnomessage=1357" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -hnomessage=1357" >&5 printf %s "checking whether compiler supports -hnomessage=1357... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-hnomessage=1357 @@ -5823,15 +5777,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-hnomessage=1357 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -5850,7 +5803,7 @@ ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 printf %s "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then @@ -5860,8 +5813,8 @@ if test -z "$CPP"; then if test ${ac_cv_prog_CPP+y} then : printf %s "(cached) " >&6 -else case e in #( - e) # Double quotes because $CC needs to be expanded +else $as_nop + # Double quotes because $CC needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp do ac_preproc_ok=false @@ -5879,10 +5832,9 @@ _ACEOF if ac_fn_c_try_cpp "$LINENO" then : -else case e in #( - e) # Broken: fails on valid input. -continue ;; -esac +else $as_nop + # Broken: fails on valid input. +continue fi rm -f conftest.err conftest.i conftest.$ac_ext @@ -5896,16 +5848,15 @@ if ac_fn_c_try_cpp "$LINENO" then : # Broken: success on invalid input. continue -else case e in #( - e) # Passes both tests. +else $as_nop + # Passes both tests. ac_preproc_ok=: -break ;; -esac +break fi rm -f conftest.err conftest.i conftest.$ac_ext done -# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok then : @@ -5914,15 +5865,14 @@ fi done ac_cv_prog_CPP=$CPP - ;; -esac + fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -printf '%s\n' "$CPP" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +printf "%s\n" "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do @@ -5938,10 +5888,9 @@ _ACEOF if ac_fn_c_try_cpp "$LINENO" then : -else case e in #( - e) # Broken: fails on valid input. -continue ;; -esac +else $as_nop + # Broken: fails on valid input. +continue fi rm -f conftest.err conftest.i conftest.$ac_ext @@ -5955,26 +5904,24 @@ if ac_fn_c_try_cpp "$LINENO" then : # Broken: success on invalid input. continue -else case e in #( - e) # Passes both tests. +else $as_nop + # Passes both tests. ac_preproc_ok=: -break ;; -esac +break fi rm -f conftest.err conftest.i conftest.$ac_ext done -# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok then : -else case e in #( - e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} +else $as_nop + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -See 'config.log' for more details" "$LINENO" 5; } ;; -esac +See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c @@ -5993,10 +5940,9 @@ else enable_cxx="1" fi -else case e in #( - e) enable_cxx="1" - ;; -esac +else $as_nop + enable_cxx="1" + fi @@ -6007,10 +5953,9 @@ then : libstdc++|libcxx) ;; *) as_fn_error $? "bad value ${with_cxx_stdlib} for --with-cxx-stdlib" "$LINENO" 5 ;; esac -else case e in #( - e) with_cxx_stdlib="" - ;; -esac +else $as_nop + with_cxx_stdlib="" + fi if test "x$enable_cxx" = "x1" ; then @@ -6083,7 +6028,13 @@ if test "x$enable_cxx" = "x1" ; then - ac_ext=cpp + + + + + + +ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' @@ -6097,13 +6048,13 @@ if test -z "$CXX"; then do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CXX+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$CXX"; then +else $as_nop + if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -6118,23 +6069,22 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi ;; -esac +fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -printf '%s\n' "$CXX" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 +printf "%s\n" "$CXX" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -6147,13 +6097,13 @@ if test -z "$CXX"; then do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CXX+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$ac_ct_CXX"; then +else $as_nop + if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -6168,23 +6118,22 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CXX="$ac_prog" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi ;; -esac +fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -printf '%s\n' "$ac_ct_CXX" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 +printf "%s\n" "$ac_ct_CXX" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -6196,8 +6145,8 @@ done else case $cross_compiling:$ac_tool_warned in yes:) -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CXX=$ac_ct_CXX @@ -6207,7 +6156,7 @@ fi fi fi # Provide some information about the compiler. -printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 +printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do @@ -6217,7 +6166,7 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -printf '%s\n' "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -6227,17 +6176,17 @@ printf '%s\n' "$ac_try_echo"; } >&5 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5 printf %s "checking whether the compiler supports GNU C++... " >&6; } if test ${ac_cv_cxx_compiler_gnu+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -6254,17 +6203,15 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : ac_compiler_gnu=yes -else case e in #( - e) ac_compiler_gnu=no ;; -esac +else $as_nop + ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - ;; -esac + fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -printf '%s\n' "$ac_cv_cxx_compiler_gnu" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 +printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; } ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test $ac_compiler_gnu = yes; then @@ -6274,13 +6221,13 @@ else fi ac_test_CXXFLAGS=${CXXFLAGS+y} ac_save_CXXFLAGS=$CXXFLAGS -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 printf %s "checking whether $CXX accepts -g... " >&6; } if test ${ac_cv_prog_cxx_g+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_save_cxx_werror_flag=$ac_cxx_werror_flag +else $as_nop + ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-g" @@ -6298,8 +6245,8 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : ac_cv_prog_cxx_g=yes -else case e in #( - e) CXXFLAGS="" +else $as_nop + CXXFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -6314,8 +6261,8 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : -else case e in #( - e) ac_cxx_werror_flag=$ac_save_cxx_werror_flag +else $as_nop + ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -6332,18 +6279,15 @@ if ac_fn_cxx_try_compile "$LINENO" then : ac_cv_prog_cxx_g=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ac_cxx_werror_flag=$ac_save_cxx_werror_flag ;; -esac + ac_cxx_werror_flag=$ac_save_cxx_werror_flag fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -printf '%s\n' "$ac_cv_prog_cxx_g" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 +printf "%s\n" "$ac_cv_prog_cxx_g" >&6; } if test $ac_test_CXXFLAGS; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then @@ -6359,6 +6303,100 @@ else CXXFLAGS= fi fi +ac_prog_cxx_stdcxx=no +if test x$ac_prog_cxx_stdcxx = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5 +printf %s "checking for $CXX option to enable C++11 features... " >&6; } +if test ${ac_cv_prog_cxx_cxx11+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cxx_cxx11=no +ac_save_CXX=$CXX +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_cxx_conftest_cxx11_program +_ACEOF +for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA +do + CXX="$ac_save_CXX $ac_arg" + if ac_fn_cxx_try_compile "$LINENO" +then : + ac_cv_prog_cxx_cxx11=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cxx_cxx11" != "xno" && break +done +rm -f conftest.$ac_ext +CXX=$ac_save_CXX +fi + +if test "x$ac_cv_prog_cxx_cxx11" = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cxx_cxx11" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5 +printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; } + CXX="$CXX $ac_cv_prog_cxx_cxx11" +fi + ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11 + ac_prog_cxx_stdcxx=cxx11 +fi +fi +if test x$ac_prog_cxx_stdcxx = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5 +printf %s "checking for $CXX option to enable C++98 features... " >&6; } +if test ${ac_cv_prog_cxx_cxx98+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cxx_cxx98=no +ac_save_CXX=$CXX +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_cxx_conftest_cxx98_program +_ACEOF +for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA +do + CXX="$ac_save_CXX $ac_arg" + if ac_fn_cxx_try_compile "$LINENO" +then : + ac_cv_prog_cxx_cxx98=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cxx_cxx98" != "xno" && break +done +rm -f conftest.$ac_ext +CXX=$ac_save_CXX +fi + +if test "x$ac_cv_prog_cxx_cxx98" = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cxx_cxx98" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5 +printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; } + CXX="$CXX $ac_cv_prog_cxx_cxx98" +fi + ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98 + ac_prog_cxx_stdcxx=cxx98 +fi +fi + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -6379,14 +6417,14 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test x$ac_success = xno; then for alternative in ${ax_cxx_compile_alternatives}; do for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do - cachevar=`printf '%s\n' "ax_cv_cxx_compile_cxx17_$switch" | sed "$as_sed_sh"` - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5 + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5 printf %s "checking whether $CXX supports C++17 features with $switch... " >&6; } if eval test \${$cachevar+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_save_CXX="$CXX" +else $as_nop + ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -7180,17 +7218,15 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : eval $cachevar=yes -else case e in #( - e) eval $cachevar=no ;; -esac +else $as_nop + eval $cachevar=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - CXX="$ac_save_CXX" ;; -esac + CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf '%s\n' "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -7218,12 +7254,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi if test x$ac_success = xno; then HAVE_CXX17=0 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: No compiler with C++17 support was found" >&5 -printf '%s\n' "$as_me: No compiler with C++17 support was found" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++17 support was found" >&5 +printf "%s\n" "$as_me: No compiler with C++17 support was found" >&6;} else HAVE_CXX17=1 -printf '%s\n' "#define HAVE_CXX17 1" >>confdefs.h +printf "%s\n" "#define HAVE_CXX17 1" >>confdefs.h fi @@ -7242,14 +7278,14 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test x$ac_success = xno; then for alternative in ${ax_cxx_compile_alternatives}; do for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do - cachevar=`printf '%s\n' "ax_cv_cxx_compile_cxx14_$switch" | sed "$as_sed_sh"` - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features with $switch" >&5 + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx14_$switch" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features with $switch" >&5 printf %s "checking whether $CXX supports C++14 features with $switch... " >&6; } if eval test \${$cachevar+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_save_CXX="$CXX" +else $as_nop + ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -7665,17 +7701,15 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : eval $cachevar=yes -else case e in #( - e) eval $cachevar=no ;; -esac +else $as_nop + eval $cachevar=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - CXX="$ac_save_CXX" ;; -esac + CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf '%s\n' "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -7703,12 +7737,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi if test x$ac_success = xno; then HAVE_CXX14=0 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: No compiler with C++14 support was found" >&5 -printf '%s\n' "$as_me: No compiler with C++14 support was found" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++14 support was found" >&5 +printf "%s\n" "$as_me: No compiler with C++14 support was found" >&6;} else HAVE_CXX14=1 -printf '%s\n' "#define HAVE_CXX14 1" >>confdefs.h +printf "%s\n" "#define HAVE_CXX14 1" >>confdefs.h fi @@ -7716,7 +7750,7 @@ printf '%s\n' "#define HAVE_CXX14 1" >>confdefs.h fi if test "x${HAVE_CXX14}" = "x1" -o "x${HAVE_CXX17}" = "x1"; then -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wall" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wall" >&5 printf %s "checking whether compiler supports -Wall... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-Wall @@ -7756,15 +7790,14 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-Wall - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cxxflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cxxflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -7781,7 +7814,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wextra" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wextra" >&5 printf %s "checking whether compiler supports -Wextra... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-Wextra @@ -7821,15 +7854,14 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-Wextra - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cxxflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cxxflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -7846,7 +7878,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-braces" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-braces" >&5 printf %s "checking whether compiler supports -Wno-missing-braces... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-Wno-missing-braces @@ -7886,15 +7918,14 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-Wno-missing-braces - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cxxflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cxxflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -7911,7 +7942,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-field-initializers" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wno-missing-field-initializers" >&5 printf %s "checking whether compiler supports -Wno-missing-field-initializers... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-Wno-missing-field-initializers @@ -7951,15 +7982,14 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-Wno-missing-field-initializers - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cxxflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cxxflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -7976,7 +8006,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -g3" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -g3" >&5 printf %s "checking whether compiler supports -g3... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-g3 @@ -8016,15 +8046,14 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-g3 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cxxflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cxxflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -8073,13 +8102,13 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether libstdc++ linkage is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libstdc++ linkage is compilable" >&5 printf %s "checking whether libstdc++ linkage is compilable... " >&6; } if test ${je_cv_libstdcxx+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -8099,16 +8128,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_libstdcxx=yes -else case e in #( - e) je_cv_libstdcxx=no ;; -esac +else $as_nop + je_cv_libstdcxx=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_libstdcxx" >&5 -printf '%s\n' "$je_cv_libstdcxx" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_libstdcxx" >&5 +printf "%s\n" "$je_cv_libstdcxx" >&6; } if test "x${je_cv_libstdcxx}" = "xno" ; then LIBS="${SAVED_LIBS}" @@ -8121,7 +8148,7 @@ printf '%s\n' "$je_cv_libstdcxx" >&6; } fi if test "x$enable_cxx" = "x1"; then -printf '%s\n' "#define JEMALLOC_ENABLE_CXX " >>confdefs.h +printf "%s\n" "#define JEMALLOC_ENABLE_CXX " >>confdefs.h fi if test "x$enable_cxx" = "x1"; then @@ -8134,13 +8161,13 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu SAVED_CXXFLAGS="${CXXFLAGS}" CXXFLAGS="${CXXFLAGS} ${EXTRA_CXXFLAGS}" -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether C++ exception support is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ exception support is compilable" >&5 printf %s "checking whether C++ exception support is compilable... " >&6; } if test ${je_cv_cxx_exceptions+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -8161,16 +8188,14 @@ _ACEOF if ac_fn_cxx_try_link "$LINENO" then : je_cv_cxx_exceptions=yes -else case e in #( - e) je_cv_cxx_exceptions=no ;; -esac +else $as_nop + je_cv_cxx_exceptions=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_cxx_exceptions" >&5 -printf '%s\n' "$je_cv_cxx_exceptions" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_cxx_exceptions" >&5 +printf "%s\n" "$je_cv_cxx_exceptions" >&6; } CXXFLAGS="${SAVED_CXXFLAGS}" ac_ext=c @@ -8181,7 +8206,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu if test "x${je_cv_cxx_exceptions}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_CXX_EXCEPTIONS " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_CXX_EXCEPTIONS " >>confdefs.h enable_cxx_exceptions="1" else @@ -8198,10 +8223,9 @@ else enable_cxx_infallible_new="1" fi -else case e in #( - e) enable_cxx_infallible_new="0" - ;; -esac +else $as_nop + enable_cxx_infallible_new="0" + fi if test "x$enable_cxx" != "x1" ; then @@ -8209,7 +8233,7 @@ if test "x$enable_cxx" != "x1" ; then fi if test "x$enable_cxx_infallible_new" = "x1" ; then -printf '%s\n' "#define JEMALLOC_INFALLIBLE_NEW 1" >>confdefs.h +printf "%s\n" "#define JEMALLOC_INFALLIBLE_NEW 1" >>confdefs.h fi @@ -8225,7 +8249,7 @@ do if test $ac_cache; then ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf '%s\n' "#define $ac_item 1" >> confdefs.h + printf "%s\n" "#define $ac_item 1" >> confdefs.h fi ac_header= ac_cache= elif test $ac_header; then @@ -8245,16 +8269,16 @@ done if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes then : -printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h fi - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 printf %s "checking whether byte ordering is bigendian... " >&6; } if test ${ac_cv_c_bigendian+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_cv_c_bigendian=unknown +else $as_nop + ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -8300,8 +8324,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext int main (void) { -#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\ - && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\ +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ && LITTLE_ENDIAN) bogus endian macros #endif @@ -8332,9 +8356,8 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_c_bigendian=yes -else case e in #( - e) ac_cv_c_bigendian=no ;; -esac +else $as_nop + ac_cv_c_bigendian=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi @@ -8378,9 +8401,8 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_c_bigendian=yes -else case e in #( - e) ac_cv_c_bigendian=no ;; -esac +else $as_nop + ac_cv_c_bigendian=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi @@ -8407,23 +8429,22 @@ unsigned short int ascii_mm[] = int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; } - int - main (int argc, char **argv) - { - /* Intimidate the compiler so that it does not - optimize the arrays away. */ - char *p = argv[0]; - ascii_mm[1] = *p++; ebcdic_mm[1] = *p++; - ascii_ii[1] = *p++; ebcdic_ii[1] = *p++; - return use_ascii (argc) == use_ebcdic (*p); - } + extern int foo; + +int +main (void) +{ +return use_ascii (foo) == use_ebcdic (foo); + ; + return 0; +} _ACEOF -if ac_fn_c_try_link "$LINENO" +if ac_fn_c_try_compile "$LINENO" then : - if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ac_cv_c_bigendian=yes fi - if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then if test "$ac_cv_c_bigendian" = unknown; then ac_cv_c_bigendian=no else @@ -8432,10 +8453,9 @@ then : fi fi fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int @@ -8458,20 +8478,17 @@ _ACEOF if ac_fn_c_try_run "$LINENO" then : ac_cv_c_bigendian=no -else case e in #( - e) ac_cv_c_bigendian=yes ;; -esac +else $as_nop + ac_cv_c_bigendian=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac + conftest.$ac_objext conftest.beam conftest.$ac_ext fi - fi ;; -esac + fi fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 -printf '%s\n' "$ac_cv_c_bigendian" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 +printf "%s\n" "$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in #( yes) ac_cv_big_endian=1;; #( @@ -8479,7 +8496,7 @@ printf '%s\n' "$ac_cv_c_bigendian" >&6; } ac_cv_big_endian=0 ;; #( universal) -printf '%s\n' "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h +printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ;; #( *) @@ -8489,7 +8506,7 @@ printf '%s\n' "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h if test "x${ac_cv_big_endian}" = "x1" ; then -printf '%s\n' "#define JEMALLOC_BIG_ENDIAN " >>confdefs.h +printf "%s\n" "#define JEMALLOC_BIG_ENDIAN " >>confdefs.h fi @@ -8506,35 +8523,40 @@ fi if test "x${je_cv_msvc}" = "xyes" ; then LG_SIZEOF_PTR=LG_SIZEOF_PTR_WIN - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: Using a predefined value for sizeof(void *): 4 for 32-bit, 8 for 64-bit" >&5 -printf '%s\n' "Using a predefined value for sizeof(void *): 4 for 32-bit, 8 for 64-bit" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Using a predefined value for sizeof(void *): 4 for 32-bit, 8 for 64-bit" >&5 +printf "%s\n" "Using a predefined value for sizeof(void *): 4 for 32-bit, 8 for 64-bit" >&6; } else # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 printf %s "checking size of void *... " >&6; } if test ${ac_cv_sizeof_void_p+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default" +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default" then : -else case e in #( - e) ac_cv_sizeof_void_p=0 ;; -esac +else $as_nop + if test "$ac_cv_type_void_p" = yes; then + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (void *) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_void_p=0 + fi fi - ;; -esac + fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 -printf '%s\n' "$ac_cv_sizeof_void_p" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 +printf "%s\n" "$ac_cv_sizeof_void_p" >&6; } -printf '%s\n' "#define SIZEOF_VOID_P $ac_cv_sizeof_void_p" >>confdefs.h +printf "%s\n" "#define SIZEOF_VOID_P $ac_cv_sizeof_void_p" >>confdefs.h if test "x${ac_cv_sizeof_void_p}" = "x8" ; then @@ -8546,35 +8568,40 @@ printf '%s\n' "#define SIZEOF_VOID_P $ac_cv_sizeof_void_p" >>confdefs.h fi fi -printf '%s\n' "#define LG_SIZEOF_PTR $LG_SIZEOF_PTR" >>confdefs.h +printf "%s\n" "#define LG_SIZEOF_PTR $LG_SIZEOF_PTR" >>confdefs.h # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 printf %s "checking size of int... " >&6; } if test ${ac_cv_sizeof_int+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default" +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default" then : -else case e in #( - e) ac_cv_sizeof_int=0 ;; -esac +else $as_nop + if test "$ac_cv_type_int" = yes; then + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (int) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_int=0 + fi fi - ;; -esac + fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 -printf '%s\n' "$ac_cv_sizeof_int" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 +printf "%s\n" "$ac_cv_sizeof_int" >&6; } -printf '%s\n' "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h +printf "%s\n" "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h if test "x${ac_cv_sizeof_int}" = "x8" ; then @@ -8585,35 +8612,40 @@ else as_fn_error $? "Unsupported int size: ${ac_cv_sizeof_int}" "$LINENO" 5 fi -printf '%s\n' "#define LG_SIZEOF_INT $LG_SIZEOF_INT" >>confdefs.h +printf "%s\n" "#define LG_SIZEOF_INT $LG_SIZEOF_INT" >>confdefs.h # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 printf %s "checking size of long... " >&6; } if test ${ac_cv_sizeof_long+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default" +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default" then : -else case e in #( - e) ac_cv_sizeof_long=0 ;; -esac +else $as_nop + if test "$ac_cv_type_long" = yes; then + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (long) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_long=0 + fi fi - ;; -esac + fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 -printf '%s\n' "$ac_cv_sizeof_long" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 +printf "%s\n" "$ac_cv_sizeof_long" >&6; } -printf '%s\n' "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h +printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h if test "x${ac_cv_sizeof_long}" = "x8" ; then @@ -8624,35 +8656,40 @@ else as_fn_error $? "Unsupported long size: ${ac_cv_sizeof_long}" "$LINENO" 5 fi -printf '%s\n' "#define LG_SIZEOF_LONG $LG_SIZEOF_LONG" >>confdefs.h +printf "%s\n" "#define LG_SIZEOF_LONG $LG_SIZEOF_LONG" >>confdefs.h # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 printf %s "checking size of long long... " >&6; } if test ${ac_cv_sizeof_long_long+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default" +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default" then : -else case e in #( - e) ac_cv_sizeof_long_long=0 ;; -esac +else $as_nop + if test "$ac_cv_type_long_long" = yes; then + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (long long) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_long_long=0 + fi fi - ;; -esac + fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 -printf '%s\n' "$ac_cv_sizeof_long_long" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 +printf "%s\n" "$ac_cv_sizeof_long_long" >&6; } -printf '%s\n' "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h +printf "%s\n" "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h if test "x${ac_cv_sizeof_long_long}" = "x8" ; then @@ -8663,35 +8700,40 @@ else as_fn_error $? "Unsupported long long size: ${ac_cv_sizeof_long_long}" "$LINENO" 5 fi -printf '%s\n' "#define LG_SIZEOF_LONG_LONG $LG_SIZEOF_LONG_LONG" >>confdefs.h +printf "%s\n" "#define LG_SIZEOF_LONG_LONG $LG_SIZEOF_LONG_LONG" >>confdefs.h # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking size of intmax_t" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of intmax_t" >&5 printf %s "checking size of intmax_t... " >&6; } if test ${ac_cv_sizeof_intmax_t+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (intmax_t))" "ac_cv_sizeof_intmax_t" "$ac_includes_default" +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (intmax_t))" "ac_cv_sizeof_intmax_t" "$ac_includes_default" then : -else case e in #( - e) ac_cv_sizeof_intmax_t=0 ;; -esac +else $as_nop + if test "$ac_cv_type_intmax_t" = yes; then + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (intmax_t) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_intmax_t=0 + fi fi - ;; -esac + fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intmax_t" >&5 -printf '%s\n' "$ac_cv_sizeof_intmax_t" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intmax_t" >&5 +printf "%s\n" "$ac_cv_sizeof_intmax_t" >&6; } -printf '%s\n' "#define SIZEOF_INTMAX_T $ac_cv_sizeof_intmax_t" >>confdefs.h +printf "%s\n" "#define SIZEOF_INTMAX_T $ac_cv_sizeof_intmax_t" >>confdefs.h if test "x${ac_cv_sizeof_intmax_t}" = "x16" ; then @@ -8704,7 +8746,7 @@ else as_fn_error $? "Unsupported intmax_t size: ${ac_cv_sizeof_intmax_t}" "$LINENO" 5 fi -printf '%s\n' "#define LG_SIZEOF_INTMAX_T $LG_SIZEOF_INTMAX_T" >>confdefs.h +printf "%s\n" "#define LG_SIZEOF_INTMAX_T $LG_SIZEOF_INTMAX_T" >>confdefs.h @@ -8714,24 +8756,23 @@ printf '%s\n' "#define LG_SIZEOF_INTMAX_T $LG_SIZEOF_INTMAX_T" >>confdefs.h $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 printf %s "checking build system type... " >&6; } if test ${ac_cv_build+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_build_alias=$build_alias +else $as_nop + ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 - ;; -esac + fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -printf '%s\n' "$ac_cv_build" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +printf "%s\n" "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; @@ -8747,26 +8788,25 @@ shift; shift # except with old shells: build_os=$* IFS=$ac_save_IFS -case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 printf %s "checking host system type... " >&6; } if test ${ac_cv_host+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test "x$host_alias" = x; then +else $as_nop + if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 fi - ;; -esac + fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -printf '%s\n' "$ac_cv_host" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +printf "%s\n" "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; @@ -8782,7 +8822,7 @@ shift; shift # except with old shells: host_os=$* IFS=$ac_save_IFS -case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac CPU_SPINWAIT="" @@ -8793,15 +8833,15 @@ case "${host_cpu}" in if test ${je_cv_pause_msvc+y} then : printf %s "(cached) " >&6 -else case e in #( - e) -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pause instruction MSVC is compilable" >&5 +else $as_nop + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pause instruction MSVC is compilable" >&5 printf %s "checking whether pause instruction MSVC is compilable... " >&6; } if test ${je_cv_pause_msvc+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -8815,18 +8855,15 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_pause_msvc=yes -else case e in #( - e) je_cv_pause_msvc=no ;; -esac +else $as_nop + je_cv_pause_msvc=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pause_msvc" >&5 -printf '%s\n' "$je_cv_pause_msvc" >&6; } - ;; -esac +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_pause_msvc" >&5 +printf "%s\n" "$je_cv_pause_msvc" >&6; } + fi if test "x${je_cv_pause_msvc}" = "xyes" ; then @@ -8836,15 +8873,15 @@ fi if test ${je_cv_pause+y} then : printf %s "(cached) " >&6 -else case e in #( - e) -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pause instruction is compilable" >&5 +else $as_nop + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pause instruction is compilable" >&5 printf %s "checking whether pause instruction is compilable... " >&6; } if test ${je_cv_pause+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -8858,18 +8895,15 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_pause=yes -else case e in #( - e) je_cv_pause=no ;; -esac +else $as_nop + je_cv_pause=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pause" >&5 -printf '%s\n' "$je_cv_pause" >&6; } - ;; -esac +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_pause" >&5 +printf "%s\n" "$je_cv_pause" >&6; } + fi if test "x${je_cv_pause}" = "xyes" ; then @@ -8882,15 +8916,15 @@ fi if test ${je_cv_isb+y} then : printf %s "(cached) " >&6 -else case e in #( - e) -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether isb instruction is compilable" >&5 +else $as_nop + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether isb instruction is compilable" >&5 printf %s "checking whether isb instruction is compilable... " >&6; } if test ${je_cv_isb+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -8904,18 +8938,15 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_isb=yes -else case e in #( - e) je_cv_isb=no ;; -esac +else $as_nop + je_cv_isb=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_isb" >&5 -printf '%s\n' "$je_cv_isb" >&6; } - ;; -esac +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_isb" >&5 +printf "%s\n" "$je_cv_isb" >&6; } + fi if test "x${je_cv_isb}" = "xyes" ; then @@ -8927,10 +8958,10 @@ fi ;; esac -printf '%s\n' "#define HAVE_CPU_SPINWAIT $HAVE_CPU_SPINWAIT" >>confdefs.h +printf "%s\n" "#define HAVE_CPU_SPINWAIT $HAVE_CPU_SPINWAIT" >>confdefs.h -printf '%s\n' "#define CPU_SPINWAIT $CPU_SPINWAIT" >>confdefs.h +printf "%s\n" "#define CPU_SPINWAIT $CPU_SPINWAIT" >>confdefs.h @@ -8938,16 +8969,15 @@ printf '%s\n' "#define CPU_SPINWAIT $CPU_SPINWAIT" >>confdefs.h if test ${with_lg_vaddr+y} then : withval=$with_lg_vaddr; LG_VADDR="$with_lg_vaddr" -else case e in #( - e) LG_VADDR="detect" ;; -esac +else $as_nop + LG_VADDR="detect" fi if test "x$LG_VADDR" = "xdetect"; then case "${host_cpu}" in aarch64) - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5 printf %s "checking number of significant virtual address bits... " >&6; } if test "x${LG_SIZEOF_PTR}" = "x2" ; then #aarch64 ILP32 @@ -8956,21 +8986,21 @@ printf %s "checking number of significant virtual address bits... " >&6; } #aarch64 LP64 LG_VADDR=48 fi - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LG_VADDR" >&5 -printf '%s\n' "$LG_VADDR" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LG_VADDR" >&5 +printf "%s\n" "$LG_VADDR" >&6; } ;; x86_64) - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5 printf %s "checking number of significant virtual address bits... " >&6; } if test ${je_cv_lg_vaddr+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test "$cross_compiling" = yes +else $as_nop + if test "$cross_compiling" = yes then : je_cv_lg_vaddr=57 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -9016,19 +9046,16 @@ _ACEOF if ac_fn_c_try_run "$LINENO" then : je_cv_lg_vaddr=`cat conftest.out` -else case e in #( - e) je_cv_lg_vaddr=error ;; -esac +else $as_nop + je_cv_lg_vaddr=error fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac + conftest.$ac_objext conftest.beam conftest.$ac_ext fi - ;; -esac + fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_lg_vaddr" >&5 -printf '%s\n' "$je_cv_lg_vaddr" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_lg_vaddr" >&5 +printf "%s\n" "$je_cv_lg_vaddr" >&6; } if test "x${je_cv_lg_vaddr}" = "xerror" ; then as_fn_error $? "cannot determine number of significant virtual address bits" "$LINENO" 5 fi @@ -9037,7 +9064,7 @@ printf '%s\n' "$je_cv_lg_vaddr" >&6; } fi ;; *) - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5 printf %s "checking number of significant virtual address bits... " >&6; } if test "x${LG_SIZEOF_PTR}" = "x3" ; then LG_VADDR=64 @@ -9048,28 +9075,28 @@ printf %s "checking number of significant virtual address bits... " >&6; } else as_fn_error $? "Unsupported lg(pointer size): ${LG_SIZEOF_PTR}" "$LINENO" 5 fi - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LG_VADDR" >&5 -printf '%s\n' "$LG_VADDR" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LG_VADDR" >&5 +printf "%s\n" "$LG_VADDR" >&6; } ;; esac fi -printf '%s\n' "#define LG_VADDR $LG_VADDR" >>confdefs.h +printf "%s\n" "#define LG_VADDR $LG_VADDR" >>confdefs.h case "${host_cpu}" in x86_64) - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking rdtscp support" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking rdtscp support" >&5 printf %s "checking rdtscp support... " >&6; } if test ${je_cv_rdtscp+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test "$cross_compiling" = yes +else $as_nop + if test "$cross_compiling" = yes then : je_cv_rdtscp=no -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -9089,38 +9116,35 @@ _ACEOF if ac_fn_c_try_run "$LINENO" then : je_cv_rdtscp=yes -else case e in #( - e) je_cv_rdtscp=no ;; -esac +else $as_nop + je_cv_rdtscp=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac + conftest.$ac_objext conftest.beam conftest.$ac_ext fi - ;; -esac + fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_rdtscp" >&5 -printf '%s\n' "$je_cv_rdtscp" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_rdtscp" >&5 +printf "%s\n" "$je_cv_rdtscp" >&6; } if test "x${je_cv_rdtscp}" = "xyes"; then -printf '%s\n' "#define JEMALLOC_HAVE_RDTSCP " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_RDTSCP " >>confdefs.h fi ;; esac -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking asm volatile support" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking asm volatile support" >&5 printf %s "checking asm volatile support... " >&6; } if test ${je_cv_asm_volatile+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test "$cross_compiling" = yes +else $as_nop + if test "$cross_compiling" = yes then : je_cv_asm_volatile=no -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -9139,35 +9163,32 @@ _ACEOF if ac_fn_c_try_run "$LINENO" then : je_cv_asm_volatile=yes -else case e in #( - e) je_cv_asm_volatile=no ;; -esac +else $as_nop + je_cv_asm_volatile=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac + conftest.$ac_objext conftest.beam conftest.$ac_ext fi - ;; -esac + fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_asm_volatile" >&5 -printf '%s\n' "$je_cv_asm_volatile" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_asm_volatile" >&5 +printf "%s\n" "$je_cv_asm_volatile" >&6; } if test "x${je_cv_asm_volatile}" = "xyes"; then -printf '%s\n' "#define JEMALLOC_HAVE_ASM_VOLATILE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_ASM_VOLATILE " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking __int128 support" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking __int128 support" >&5 printf %s "checking __int128 support... " >&6; } if test ${je_cv_int128+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test "$cross_compiling" = yes +else $as_nop + if test "$cross_compiling" = yes then : je_cv_int128=no -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -9185,22 +9206,19 @@ _ACEOF if ac_fn_c_try_run "$LINENO" then : je_cv_int128=yes -else case e in #( - e) je_cv_int128=no ;; -esac +else $as_nop + je_cv_int128=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac + conftest.$ac_objext conftest.beam conftest.$ac_ext fi - ;; -esac + fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_int128" >&5 -printf '%s\n' "$je_cv_int128" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_int128" >&5 +printf "%s\n" "$je_cv_int128" >&6; } if test "x${je_cv_int128}" = "xyes"; then -printf '%s\n' "#define JEMALLOC_HAVE_INT128 " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_INT128 " >>confdefs.h fi @@ -9238,13 +9256,13 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_AR+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$AR"; then +else $as_nop + if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -9259,23 +9277,22 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AR="${ac_tool_prefix}ar" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi ;; -esac +fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -printf '%s\n' "$AR" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +printf "%s\n" "$AR" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -9284,13 +9301,13 @@ if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_AR+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$ac_ct_AR"; then +else $as_nop + if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -9305,23 +9322,22 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="ar" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi ;; -esac +fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -printf '%s\n' "$ac_ct_AR" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +printf "%s\n" "$ac_ct_AR" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_AR" = x; then @@ -9329,8 +9345,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR @@ -9346,13 +9362,13 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. set dummy ${ac_tool_prefix}nm; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_NM+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$NM"; then +else $as_nop + if test -n "$NM"; then ac_cv_prog_NM="$NM" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -9367,23 +9383,22 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_NM="${ac_tool_prefix}nm" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi ;; -esac +fi fi NM=$ac_cv_prog_NM if test -n "$NM"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 -printf '%s\n' "$NM" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 +printf "%s\n" "$NM" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -9392,13 +9407,13 @@ if test -z "$ac_cv_prog_NM"; then ac_ct_NM=$NM # Extract the first word of "nm", so it can be a program name with args. set dummy nm; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_NM+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$ac_ct_NM"; then +else $as_nop + if test -n "$ac_ct_NM"; then ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -9413,23 +9428,22 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_NM="nm" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi ;; -esac +fi fi ac_ct_NM=$ac_cv_prog_ac_ct_NM if test -n "$ac_ct_NM"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 -printf '%s\n' "$ac_ct_NM" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 +printf "%s\n" "$ac_ct_NM" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_NM" = x; then @@ -9437,8 +9451,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac NM=$ac_ct_NM @@ -9448,17 +9462,17 @@ else fi -for ac_prog in gawk mawk nawk awk 'busybox awk' +for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_AWK+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$AWK"; then +else $as_nop + if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -9473,23 +9487,22 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi ;; -esac +fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -printf '%s\n' "$AWK" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +printf "%s\n" "$AWK" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -9513,8 +9526,8 @@ then : fi fi -else case e in #( - e) +else $as_nop + if test "x`test ! \"${srcroot}\" && cd \"${srcroot}\"; git rev-parse --is-inside-work-tree 2>/dev/null`" = "xtrue" ; then for pattern in '[0-9].[0-9].[0-9]' '[0-9].[0-9].[0-9][0-9]' \ '[0-9].[0-9][0-9].[0-9]' '[0-9].[0-9][0-9].[0-9][0-9]' \ @@ -9529,15 +9542,14 @@ else case e in #( done fi rm -f "${objroot}VERSION.tmp" - ;; -esac + fi if test ! -e "${objroot}VERSION" ; then if test ! -e "${srcroot}VERSION" ; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: Missing VERSION file, and unable to generate it; creating bogus VERSION" >&5 -printf '%s\n' "Missing VERSION file, and unable to generate it; creating bogus VERSION" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Missing VERSION file, and unable to generate it; creating bogus VERSION" >&5 +printf "%s\n" "Missing VERSION file, and unable to generate it; creating bogus VERSION" >&6; } echo "0.0.0-0-g000000missing_version_try_git_fetch_tags" > "${objroot}VERSION" else cp ${srcroot}VERSION ${objroot}VERSION @@ -9611,16 +9623,16 @@ fi abi="elf" glibc="0" -printf '%s\n' "#define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS " >>confdefs.h +printf "%s\n" "#define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS " >>confdefs.h -printf '%s\n' "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h -printf '%s\n' "#define JEMALLOC_THREADED_INIT " >>confdefs.h +printf "%s\n" "#define JEMALLOC_THREADED_INIT " >>confdefs.h -printf '%s\n' "#define JEMALLOC_C11_ATOMICS " >>confdefs.h +printf "%s\n" "#define JEMALLOC_C11_ATOMICS " >>confdefs.h force_tls="0" if test "${LG_SIZEOF_PTR}" = "3"; then @@ -9639,13 +9651,13 @@ fi abi="elf" -printf '%s\n' "#define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS " >>confdefs.h +printf "%s\n" "#define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS " >>confdefs.h -printf '%s\n' "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h -printf '%s\n' "#define JEMALLOC_THREADED_INIT " >>confdefs.h +printf "%s\n" "#define JEMALLOC_THREADED_INIT " >>confdefs.h if test "${LG_SIZEOF_PTR}" = "3"; then default_retain="1" @@ -9664,16 +9676,16 @@ fi abi="elf" glibc="1" -printf '%s\n' "#define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS " >>confdefs.h +printf "%s\n" "#define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS " >>confdefs.h -printf '%s\n' "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h -printf '%s\n' "#define JEMALLOC_THREADED_INIT " >>confdefs.h +printf "%s\n" "#define JEMALLOC_THREADED_INIT " >>confdefs.h -printf '%s\n' "#define JEMALLOC_USE_CXX_THROW " >>confdefs.h +printf "%s\n" "#define JEMALLOC_USE_CXX_THROW " >>confdefs.h if test "${LG_SIZEOF_PTR}" = "3"; then default_retain="1" @@ -9691,17 +9703,17 @@ fi abi="elf" -printf '%s\n' "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h -printf '%s\n' "#define JEMALLOC_THREADED_INIT " >>confdefs.h +printf "%s\n" "#define JEMALLOC_THREADED_INIT " >>confdefs.h -printf '%s\n' "#define JEMALLOC_USE_CXX_THROW " >>confdefs.h +printf "%s\n" "#define JEMALLOC_USE_CXX_THROW " >>confdefs.h ;; *-*-netbsd*) - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking ABI" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking ABI" >&5 printf %s "checking ABI... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -9722,13 +9734,12 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : abi="elf" -else case e in #( - e) abi="aout" ;; -esac +else $as_nop + abi="aout" fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $abi" >&5 -printf '%s\n' "$abi" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $abi" >&5 +printf "%s\n" "$abi" >&6; } ;; *-*-solaris2*) abi="elf" @@ -9799,12 +9810,12 @@ fi abi="elf" force_tls="0" -printf '%s\n' "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAS_ALLOCA_H " >>confdefs.h ;; *) - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: Unsupported operating system: ${host}" >&5 -printf '%s\n' "Unsupported operating system: ${host}" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Unsupported operating system: ${host}" >&5 +printf "%s\n" "Unsupported operating system: ${host}" >&6; } abi="elf" ;; esac @@ -9815,9 +9826,9 @@ do : ac_fn_c_check_header_compile "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" if test "x$ac_cv_header_malloc_h" = xyes then : - printf '%s\n' "#define HAVE_MALLOC_H 1" >>confdefs.h + printf "%s\n" "#define HAVE_MALLOC_H 1" >>confdefs.h - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether malloc_usable_size definition can use const argument" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc_usable_size definition can use const argument" >&5 printf %s "checking whether malloc_usable_size definition can use const argument... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -9836,16 +9847,15 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } + +else $as_nop -else case e in #( - e) JEMALLOC_USABLE_SIZE_CONST= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } - ;; -esac + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext @@ -9853,7 +9863,7 @@ fi done -printf '%s\n' "#define JEMALLOC_USABLE_SIZE_CONST $JEMALLOC_USABLE_SIZE_CONST" >>confdefs.h +printf "%s\n" "#define JEMALLOC_USABLE_SIZE_CONST $JEMALLOC_USABLE_SIZE_CONST" >>confdefs.h @@ -9892,26 +9902,20 @@ printf '%s\n' "#define JEMALLOC_USABLE_SIZE_CONST $JEMALLOC_USABLE_SIZE_CONST" > if test "x$je_cv_msvc" = "xyes" ; then LM= else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5 printf %s "checking for library containing log... " >&6; } if test ${ac_cv_search_log+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_func_search_save_LIBS=$LIBS +else $as_nop + ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. - The 'extern "C"' is for builds by C++ compilers; - although this is not generally supported in C code supporting it here - has little cost and some practical benefit (sr 110532). */ -#ifdef __cplusplus -extern "C" -#endif -char log (void); + builtin and then its argument prototype would still apply. */ +char log (); int main (void) { @@ -9942,24 +9946,21 @@ done if test ${ac_cv_search_log+y} then : -else case e in #( - e) ac_cv_search_log=no ;; -esac +else $as_nop + ac_cv_search_log=no fi rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS ;; -esac +LIBS=$ac_func_search_save_LIBS fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5 -printf '%s\n' "$ac_cv_search_log" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5 +printf "%s\n" "$ac_cv_search_log" >&6; } ac_res=$ac_cv_search_log if test "$ac_res" != no then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" -else case e in #( - e) as_fn_error $? "Missing math functions" "$LINENO" 5 ;; -esac +else $as_nop + as_fn_error $? "Missing math functions" "$LINENO" 5 fi if test "x$ac_cv_search_log" != "xnone required" ; then @@ -9971,13 +9972,13 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether __attribute__ syntax is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether __attribute__ syntax is compilable" >&5 printf %s "checking whether __attribute__ syntax is compilable... " >&6; } if test ${je_cv_attribute+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ static __attribute__((unused)) void foo(void){} int @@ -9991,24 +9992,22 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_attribute=yes -else case e in #( - e) je_cv_attribute=no ;; -esac +else $as_nop + je_cv_attribute=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_attribute" >&5 -printf '%s\n' "$je_cv_attribute" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_attribute" >&5 +printf "%s\n" "$je_cv_attribute" >&6; } if test "x${je_cv_attribute}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_ATTR " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_ATTR " >>confdefs.h if test "x${GCC}" = "xyes" -a "x${abi}" = "xelf"; then -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fvisibility=hidden" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fvisibility=hidden" >&5 printf %s "checking whether compiler supports -fvisibility=hidden... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-fvisibility=hidden @@ -10042,15 +10041,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-fvisibility=hidden - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10061,7 +10059,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fvisibility=hidden" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fvisibility=hidden" >&5 printf %s "checking whether compiler supports -fvisibility=hidden... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-fvisibility=hidden @@ -10101,15 +10099,14 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-fvisibility=hidden - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cxxflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cxxflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -10130,7 +10127,7 @@ fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 printf %s "checking whether compiler supports -Werror... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror @@ -10164,15 +10161,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10183,7 +10179,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 printf %s "checking whether compiler supports -herror_on_warning... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-herror_on_warning @@ -10217,15 +10213,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-herror_on_warning - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10236,13 +10231,13 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether tls_model attribute is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether tls_model attribute is compilable" >&5 printf %s "checking whether tls_model attribute is compilable... " >&6; } if test ${je_cv_tls_model+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -10258,16 +10253,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_tls_model=yes -else case e in #( - e) je_cv_tls_model=no ;; -esac +else $as_nop + je_cv_tls_model=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_tls_model" >&5 -printf '%s\n' "$je_cv_tls_model" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_tls_model" >&5 +printf "%s\n" "$je_cv_tls_model" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10281,7 +10274,7 @@ fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 printf %s "checking whether compiler supports -Werror... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror @@ -10315,15 +10308,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10334,7 +10326,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 printf %s "checking whether compiler supports -herror_on_warning... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-herror_on_warning @@ -10368,15 +10360,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-herror_on_warning - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10387,13 +10378,13 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether alloc_size attribute is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether alloc_size attribute is compilable" >&5 printf %s "checking whether alloc_size attribute is compilable... " >&6; } if test ${je_cv_alloc_size+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int @@ -10407,16 +10398,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_alloc_size=yes -else case e in #( - e) je_cv_alloc_size=no ;; -esac +else $as_nop + je_cv_alloc_size=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_alloc_size" >&5 -printf '%s\n' "$je_cv_alloc_size" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_alloc_size" >&5 +printf "%s\n" "$je_cv_alloc_size" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10428,13 +10417,13 @@ fi if test "x${je_cv_alloc_size}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_ATTR_ALLOC_SIZE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_ATTR_ALLOC_SIZE " >>confdefs.h fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 printf %s "checking whether compiler supports -Werror... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror @@ -10468,15 +10457,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10487,7 +10475,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 printf %s "checking whether compiler supports -herror_on_warning... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-herror_on_warning @@ -10521,15 +10509,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-herror_on_warning - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10540,13 +10527,13 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether format(gnu_printf, ...) attribute is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether format(gnu_printf, ...) attribute is compilable" >&5 printf %s "checking whether format(gnu_printf, ...) attribute is compilable... " >&6; } if test ${je_cv_format_gnu_printf+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int @@ -10560,16 +10547,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_format_gnu_printf=yes -else case e in #( - e) je_cv_format_gnu_printf=no ;; -esac +else $as_nop + je_cv_format_gnu_printf=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_format_gnu_printf" >&5 -printf '%s\n' "$je_cv_format_gnu_printf" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_format_gnu_printf" >&5 +printf "%s\n" "$je_cv_format_gnu_printf" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10581,13 +10566,13 @@ fi if test "x${je_cv_format_gnu_printf}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF " >>confdefs.h fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 printf %s "checking whether compiler supports -Werror... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror @@ -10621,15 +10606,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10640,7 +10624,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 printf %s "checking whether compiler supports -herror_on_warning... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-herror_on_warning @@ -10674,15 +10658,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-herror_on_warning - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10693,13 +10676,13 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether format(printf, ...) attribute is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether format(printf, ...) attribute is compilable" >&5 printf %s "checking whether format(printf, ...) attribute is compilable... " >&6; } if test ${je_cv_format_printf+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int @@ -10713,16 +10696,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_format_printf=yes -else case e in #( - e) je_cv_format_printf=no ;; -esac +else $as_nop + je_cv_format_printf=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_format_printf" >&5 -printf '%s\n' "$je_cv_format_printf" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_format_printf" >&5 +printf "%s\n" "$je_cv_format_printf" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10734,14 +10715,14 @@ fi if test "x${je_cv_format_printf}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF " >>confdefs.h fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 printf %s "checking whether compiler supports -Werror... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror @@ -10775,15 +10756,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10794,7 +10774,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 printf %s "checking whether compiler supports -herror_on_warning... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-herror_on_warning @@ -10828,15 +10808,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-herror_on_warning - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10847,13 +10826,13 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether format(printf, ...) attribute is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether format(printf, ...) attribute is compilable" >&5 printf %s "checking whether format(printf, ...) attribute is compilable... " >&6; } if test ${je_cv_format_arg+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int @@ -10867,16 +10846,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_format_arg=yes -else case e in #( - e) je_cv_format_arg=no ;; -esac +else $as_nop + je_cv_format_arg=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_format_arg" >&5 -printf '%s\n' "$je_cv_format_arg" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_format_arg" >&5 +printf "%s\n" "$je_cv_format_arg" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10888,14 +10865,14 @@ fi if test "x${je_cv_format_arg}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_ATTR_FORMAT_ARG " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_ATTR_FORMAT_ARG " >>confdefs.h fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wimplicit-fallthrough" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wimplicit-fallthrough" >&5 printf %s "checking whether compiler supports -Wimplicit-fallthrough... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wimplicit-fallthrough @@ -10929,15 +10906,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wimplicit-fallthrough - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10948,13 +10924,13 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether fallthrough attribute is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fallthrough attribute is compilable" >&5 printf %s "checking whether fallthrough attribute is compilable... " >&6; } if test ${je_cv_fallthrough+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if !__has_attribute(fallthrough) #error "foo" @@ -10974,16 +10950,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_fallthrough=yes -else case e in #( - e) je_cv_fallthrough=no ;; -esac +else $as_nop + je_cv_fallthrough=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_fallthrough" >&5 -printf '%s\n' "$je_cv_fallthrough" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_fallthrough" >&5 +printf "%s\n" "$je_cv_fallthrough" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -10995,10 +10969,10 @@ fi if test "x${je_cv_fallthrough}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_ATTR_FALLTHROUGH " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_ATTR_FALLTHROUGH " >>confdefs.h -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wimplicit-fallthrough" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wimplicit-fallthrough" >&5 printf %s "checking whether compiler supports -Wimplicit-fallthrough... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wimplicit-fallthrough @@ -11032,15 +11006,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wimplicit-fallthrough - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -11051,7 +11024,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wimplicit-fallthrough" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wimplicit-fallthrough" >&5 printf %s "checking whether compiler supports -Wimplicit-fallthrough... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-Wimplicit-fallthrough @@ -11091,15 +11064,14 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-Wimplicit-fallthrough - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cxxflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cxxflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -11120,7 +11092,7 @@ fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 printf %s "checking whether compiler supports -Werror... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror @@ -11154,15 +11126,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -11173,7 +11144,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 printf %s "checking whether compiler supports -herror_on_warning... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-herror_on_warning @@ -11207,15 +11178,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-herror_on_warning - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -11226,13 +11196,13 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether cold attribute is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cold attribute is compilable" >&5 printf %s "checking whether cold attribute is compilable... " >&6; } if test ${je_cv_cold+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -11246,16 +11216,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_cold=yes -else case e in #( - e) je_cv_cold=no ;; -esac +else $as_nop + je_cv_cold=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_cold" >&5 -printf '%s\n' "$je_cv_cold" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_cold" >&5 +printf "%s\n" "$je_cv_cold" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -11267,14 +11235,14 @@ fi if test "x${je_cv_cold}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_ATTR_COLD " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_ATTR_COLD " >>confdefs.h fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wdeprecated-declarations" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wdeprecated-declarations" >&5 printf %s "checking whether compiler supports -Wdeprecated-declarations... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wdeprecated-declarations @@ -11308,15 +11276,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wdeprecated-declarations - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -11327,13 +11294,13 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether deprecated attribute is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether deprecated attribute is compilable" >&5 printf %s "checking whether deprecated attribute is compilable... " >&6; } if test ${je_cv_deprecated+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if !__has_attribute(deprecated) #error "deprecated attribute not supported" @@ -11357,16 +11324,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_deprecated=yes -else case e in #( - e) je_cv_deprecated=no ;; -esac +else $as_nop + je_cv_deprecated=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_deprecated" >&5 -printf '%s\n' "$je_cv_deprecated" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_deprecated" >&5 +printf "%s\n" "$je_cv_deprecated" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -11378,10 +11343,10 @@ fi if test "x${je_cv_deprecated}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_ATTR_DEPRECATED " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_ATTR_DEPRECATED " >>confdefs.h -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wdeprecated-declarations" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wdeprecated-declarations" >&5 printf %s "checking whether compiler supports -Wdeprecated-declarations... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Wdeprecated-declarations @@ -11415,15 +11380,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Wdeprecated-declarations - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -11434,7 +11398,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wdeprecated-declarations" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wdeprecated-declarations" >&5 printf %s "checking whether compiler supports -Wdeprecated-declarations... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-Wdeprecated-declarations @@ -11474,15 +11438,14 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-Wdeprecated-declarations - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cxxflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cxxflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -11501,13 +11464,13 @@ fi fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether vm_make_tag is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether vm_make_tag is compilable" >&5 printf %s "checking whether vm_make_tag is compilable... " >&6; } if test ${je_cv_vm_make_tag+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include @@ -11524,20 +11487,18 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_vm_make_tag=yes -else case e in #( - e) je_cv_vm_make_tag=no ;; -esac +else $as_nop + je_cv_vm_make_tag=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_vm_make_tag" >&5 -printf '%s\n' "$je_cv_vm_make_tag" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_vm_make_tag" >&5 +printf "%s\n" "$je_cv_vm_make_tag" >&6; } if test "x${je_cv_vm_make_tag}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_VM_MAKE_TAG " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_VM_MAKE_TAG " >>confdefs.h fi @@ -11550,10 +11511,9 @@ then : else RPATH_EXTRA="`echo $with_rpath | tr \":\" \" \"`" fi -else case e in #( - e) RPATH_EXTRA= - ;; -esac +else $as_nop + RPATH_EXTRA= + fi @@ -11567,10 +11527,9 @@ else enable_autogen="1" fi -else case e in #( - e) enable_autogen="0" - ;; -esac +else $as_nop + enable_autogen="0" + fi @@ -11590,14 +11549,14 @@ fi # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 printf %s "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test ${ac_cv_path_install+y} then : printf %s "(cached) " >&6 -else case e in #( - e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +else $as_nop + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS @@ -11613,8 +11572,8 @@ case $as_dir in #(( ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) - # OSF/1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF/1 since it installs stuff as root + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do @@ -11651,8 +11610,7 @@ esac IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir - ;; -esac + fi if test ${ac_cv_path_install+y}; then INSTALL=$ac_cv_path_install @@ -11664,8 +11622,8 @@ fi INSTALL=$ac_install_sh fi fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -printf '%s\n' "$INSTALL" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +printf "%s\n" "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. @@ -11678,13 +11636,13 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_RANLIB+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$RANLIB"; then +else $as_nop + if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -11699,23 +11657,22 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi ;; -esac +fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -printf '%s\n' "$RANLIB" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +printf "%s\n" "$RANLIB" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -11724,13 +11681,13 @@ if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_RANLIB+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$ac_ct_RANLIB"; then +else $as_nop + if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -11745,23 +11702,22 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS -fi ;; -esac +fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -printf '%s\n' "$ac_ct_RANLIB" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +printf "%s\n" "$ac_ct_RANLIB" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then @@ -11769,8 +11725,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB @@ -11781,13 +11737,13 @@ fi # Extract the first word of "ld", so it can be a program name with args. set dummy ld; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_LD+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $LD in +else $as_nop + case $LD in [\\/]* | ?:[\\/]*) ac_cv_path_LD="$LD" # Let the user override the test with a path. ;; @@ -11804,7 +11760,7 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_path_LD="$as_dir$ac_word$ac_exec_ext" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -11813,28 +11769,27 @@ IFS=$as_save_IFS test -z "$ac_cv_path_LD" && ac_cv_path_LD="false" ;; -esac ;; esac fi LD=$ac_cv_path_LD if test -n "$LD"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 -printf '%s\n' "$LD" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +printf "%s\n" "$LD" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi # Extract the first word of "autoconf", so it can be a program name with args. set dummy autoconf; ac_word=$2 -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_AUTOCONF+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $AUTOCONF in +else $as_nop + case $AUTOCONF in [\\/]* | ?:[\\/]*) ac_cv_path_AUTOCONF="$AUTOCONF" # Let the user override the test with a path. ;; @@ -11851,7 +11806,7 @@ do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_path_AUTOCONF="$as_dir$ac_word$ac_exec_ext" - printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -11860,16 +11815,15 @@ IFS=$as_save_IFS test -z "$ac_cv_path_AUTOCONF" && ac_cv_path_AUTOCONF="false" ;; -esac ;; esac fi AUTOCONF=$ac_cv_path_AUTOCONF if test -n "$AUTOCONF"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5 -printf '%s\n' "$AUTOCONF" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5 +printf "%s\n" "$AUTOCONF" >&6; } else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -11883,10 +11837,9 @@ else enable_doc="1" fi -else case e in #( - e) enable_doc="1" - ;; -esac +else $as_nop + enable_doc="1" + fi @@ -11900,10 +11853,9 @@ else enable_shared="1" fi -else case e in #( - e) enable_shared="1" - ;; -esac +else $as_nop + enable_shared="1" + fi @@ -11917,10 +11869,9 @@ else enable_static="1" fi -else case e in #( - e) enable_static="1" - ;; -esac +else $as_nop + enable_static="1" + fi @@ -11930,13 +11881,13 @@ if test "$enable_shared$enable_static" = "00" ; then fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ucontext is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ucontext is compilable" >&5 printf %s "checking whether ucontext is compilable... " >&6; } if test ${je_cv_ucontext+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -11957,16 +11908,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_ucontext=yes -else case e in #( - e) je_cv_ucontext=no ;; -esac +else $as_nop + je_cv_ucontext=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_ucontext" >&5 -printf '%s\n' "$je_cv_ucontext" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_ucontext" >&5 +printf "%s\n" "$je_cv_ucontext" >&6; } if test "x${je_cv_ucontext}" = "xyes" ; then have_ucontext="1" @@ -11980,9 +11929,8 @@ fi if test ${with_mangling+y} then : withval=$with_mangling; mangling_map="$with_mangling" -else case e in #( - e) mangling_map="" ;; -esac +else $as_nop + mangling_map="" fi @@ -11991,27 +11939,26 @@ fi if test ${with_jemalloc_prefix+y} then : withval=$with_jemalloc_prefix; JEMALLOC_PREFIX="$with_jemalloc_prefix" -else case e in #( - e) if test "x$abi" != "xmacho" -a "x$abi" != "xpecoff"; then +else $as_nop + if test "x$abi" != "xmacho" -a "x$abi" != "xpecoff"; then JEMALLOC_PREFIX="" else JEMALLOC_PREFIX="je_" fi - ;; -esac + fi if test "x$JEMALLOC_PREFIX" = "x" ; then -printf '%s\n' "#define JEMALLOC_IS_MALLOC " >>confdefs.h +printf "%s\n" "#define JEMALLOC_IS_MALLOC " >>confdefs.h else JEMALLOC_CPREFIX=`echo ${JEMALLOC_PREFIX} | tr "a-z" "A-Z"` -printf '%s\n' "#define JEMALLOC_PREFIX \"$JEMALLOC_PREFIX\"" >>confdefs.h +printf "%s\n" "#define JEMALLOC_PREFIX \"$JEMALLOC_PREFIX\"" >>confdefs.h -printf '%s\n' "#define JEMALLOC_CPREFIX \"$JEMALLOC_CPREFIX\"" >>confdefs.h +printf "%s\n" "#define JEMALLOC_CPREFIX \"$JEMALLOC_CPREFIX\"" >>confdefs.h fi @@ -12023,7 +11970,7 @@ if test ${with_export+y} then : withval=$with_export; if test "x$with_export" = "xno"; then -printf '%s\n' "#define JEMALLOC_EXPORT " >>confdefs.h +printf "%s\n" "#define JEMALLOC_EXPORT " >>confdefs.h fi @@ -12035,7 +11982,7 @@ ac_fn_c_check_func "$LINENO" "memalign" "ac_cv_func_memalign" if test "x$ac_cv_func_memalign" = xyes then : -printf '%s\n' "#define JEMALLOC_OVERRIDE_MEMALIGN " >>confdefs.h +printf "%s\n" "#define JEMALLOC_OVERRIDE_MEMALIGN " >>confdefs.h public_syms="${public_syms} memalign" fi @@ -12044,7 +11991,7 @@ ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc" if test "x$ac_cv_func_valloc" = xyes then : -printf '%s\n' "#define JEMALLOC_OVERRIDE_VALLOC " >>confdefs.h +printf "%s\n" "#define JEMALLOC_OVERRIDE_VALLOC " >>confdefs.h public_syms="${public_syms} valloc" fi @@ -12053,7 +12000,7 @@ ac_fn_c_check_func "$LINENO" "pvalloc" "ac_cv_func_pvalloc" if test "x$ac_cv_func_pvalloc" = xyes then : -printf '%s\n' "#define JEMALLOC_OVERRIDE_PVALLOC " >>confdefs.h +printf "%s\n" "#define JEMALLOC_OVERRIDE_PVALLOC " >>confdefs.h public_syms="${public_syms} pvalloc" fi @@ -12062,7 +12009,7 @@ ac_fn_c_check_func "$LINENO" "malloc_size" "ac_cv_func_malloc_size" if test "x$ac_cv_func_malloc_size" = xyes then : -printf '%s\n' "#define JEMALLOC_HAVE_MALLOC_SIZE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_MALLOC_SIZE " >>confdefs.h public_syms="${public_syms} malloc_size" fi @@ -12074,7 +12021,7 @@ if test "x${JEMALLOC_PREFIX}" = "x" ; then if test "x$ac_cv_func___libc_calloc" = xyes then : -printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_CALLOC " >>confdefs.h +printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_CALLOC " >>confdefs.h wrap_syms="${wrap_syms} __libc_calloc" fi @@ -12083,7 +12030,7 @@ fi if test "x$ac_cv_func___libc_free" = xyes then : -printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_FREE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_FREE " >>confdefs.h wrap_syms="${wrap_syms} __libc_free" fi @@ -12092,7 +12039,7 @@ fi if test "x$ac_cv_func___libc_free_sized" = xyes then : -printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_FREE_SIZED " >>confdefs.h +printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_FREE_SIZED " >>confdefs.h wrap_syms="${wrap_syms} __libc_free_sized" fi @@ -12101,7 +12048,7 @@ fi if test "x$ac_cv_func___libc_free_aligned_sized" = xyes then : -printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_FREE_ALIGNED_SIZED " >>confdefs.h +printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_FREE_ALIGNED_SIZED " >>confdefs.h wrap_syms="${wrap_syms} __libc_free_aligned_sized" fi @@ -12110,7 +12057,7 @@ fi if test "x$ac_cv_func___libc_malloc" = xyes then : -printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_MALLOC " >>confdefs.h +printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_MALLOC " >>confdefs.h wrap_syms="${wrap_syms} __libc_malloc" fi @@ -12119,7 +12066,7 @@ fi if test "x$ac_cv_func___libc_memalign" = xyes then : -printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_MEMALIGN " >>confdefs.h +printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_MEMALIGN " >>confdefs.h wrap_syms="${wrap_syms} __libc_memalign" fi @@ -12128,7 +12075,7 @@ fi if test "x$ac_cv_func___libc_realloc" = xyes then : -printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_REALLOC " >>confdefs.h +printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_REALLOC " >>confdefs.h wrap_syms="${wrap_syms} __libc_realloc" fi @@ -12137,7 +12084,7 @@ fi if test "x$ac_cv_func___libc_valloc" = xyes then : -printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_VALLOC " >>confdefs.h +printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_VALLOC " >>confdefs.h wrap_syms="${wrap_syms} __libc_valloc" fi @@ -12146,7 +12093,7 @@ fi if test "x$ac_cv_func___libc_pvalloc" = xyes then : -printf '%s\n' "#define JEMALLOC_OVERRIDE___LIBC_PVALLOC " >>confdefs.h +printf "%s\n" "#define JEMALLOC_OVERRIDE___LIBC_PVALLOC " >>confdefs.h wrap_syms="${wrap_syms} __libc_pvalloc" fi @@ -12155,7 +12102,7 @@ fi if test "x$ac_cv_func___posix_memalign" = xyes then : -printf '%s\n' "#define JEMALLOC_OVERRIDE___POSIX_MEMALIGN " >>confdefs.h +printf "%s\n" "#define JEMALLOC_OVERRIDE___POSIX_MEMALIGN " >>confdefs.h wrap_syms="${wrap_syms} __posix_memalign" fi @@ -12175,14 +12122,13 @@ esac if test ${with_private_namespace+y} then : withval=$with_private_namespace; JEMALLOC_PRIVATE_NAMESPACE="${with_private_namespace}je_" -else case e in #( - e) JEMALLOC_PRIVATE_NAMESPACE="je_" - ;; -esac +else $as_nop + JEMALLOC_PRIVATE_NAMESPACE="je_" + fi -printf '%s\n' "#define JEMALLOC_PRIVATE_NAMESPACE $JEMALLOC_PRIVATE_NAMESPACE" >>confdefs.h +printf "%s\n" "#define JEMALLOC_PRIVATE_NAMESPACE $JEMALLOC_PRIVATE_NAMESPACE" >>confdefs.h private_namespace="$JEMALLOC_PRIVATE_NAMESPACE" @@ -12195,10 +12141,9 @@ then : *\ * ) as_fn_error $? "Install suffix should not contain spaces" "$LINENO" 5 ;; * ) INSTALL_SUFFIX="$with_install_suffix" ;; esac -else case e in #( - e) INSTALL_SUFFIX= - ;; -esac +else $as_nop + INSTALL_SUFFIX= + fi install_suffix="$INSTALL_SUFFIX" @@ -12209,15 +12154,14 @@ install_suffix="$INSTALL_SUFFIX" if test ${with_malloc_conf+y} then : withval=$with_malloc_conf; JEMALLOC_CONFIG_MALLOC_CONF="$with_malloc_conf" -else case e in #( - e) JEMALLOC_CONFIG_MALLOC_CONF="" - ;; -esac +else $as_nop + JEMALLOC_CONFIG_MALLOC_CONF="" + fi config_malloc_conf="$JEMALLOC_CONFIG_MALLOC_CONF" -printf '%s\n' "#define JEMALLOC_CONFIG_MALLOC_CONF \"$config_malloc_conf\"" >>confdefs.h +printf "%s\n" "#define JEMALLOC_CONFIG_MALLOC_CONF \"$config_malloc_conf\"" >>confdefs.h je_="je_" @@ -12298,15 +12242,14 @@ else enable_debug="1" fi -else case e in #( - e) enable_debug="0" - ;; -esac +else $as_nop + enable_debug="0" + fi if test "x$enable_debug" = "x1" ; then -printf '%s\n' "#define JEMALLOC_DEBUG " >>confdefs.h +printf "%s\n" "#define JEMALLOC_DEBUG " >>confdefs.h fi @@ -12314,7 +12257,7 @@ fi if test "x$enable_debug" = "x0" ; then if test "x$GCC" = "xyes" ; then -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O3" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O3" >&5 printf %s "checking whether compiler supports -O3... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-O3 @@ -12348,15 +12291,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-O3 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -12367,7 +12309,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O3" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O3" >&5 printf %s "checking whether compiler supports -O3... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-O3 @@ -12407,15 +12349,14 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-O3 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cxxflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cxxflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -12432,7 +12373,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -funroll-loops" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -funroll-loops" >&5 printf %s "checking whether compiler supports -funroll-loops... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-funroll-loops @@ -12466,15 +12407,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-funroll-loops - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -12486,7 +12426,7 @@ fi elif test "x$je_cv_msvc" = "xyes" ; then -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O2" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O2" >&5 printf %s "checking whether compiler supports -O2... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-O2 @@ -12520,15 +12460,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-O2 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -12539,7 +12478,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O2" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O2" >&5 printf %s "checking whether compiler supports -O2... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-O2 @@ -12579,15 +12518,14 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-O2 - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cxxflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cxxflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -12605,7 +12543,7 @@ fi else -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O" >&5 printf %s "checking whether compiler supports -O... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-O @@ -12639,15 +12577,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-O - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -12658,7 +12595,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O" >&5 printf %s "checking whether compiler supports -O... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-O @@ -12698,15 +12635,14 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-O - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cxxflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cxxflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -12734,15 +12670,14 @@ else enable_stats="1" fi -else case e in #( - e) enable_stats="1" - ;; -esac +else $as_nop + enable_stats="1" + fi if test "x$enable_stats" = "x1" ; then -printf '%s\n' "#define JEMALLOC_STATS " >>confdefs.h +printf "%s\n" "#define JEMALLOC_STATS " >>confdefs.h fi @@ -12756,18 +12691,17 @@ else enable_user_config="1" fi -else case e in #( - e) enable_user_config="1" - ;; -esac +else $as_nop + enable_user_config="1" + fi if test "x$enable_user_config" = "x1" ; then -printf '%s\n' "#define JEMALLOC_CONFIG_ENV " >>confdefs.h +printf "%s\n" "#define JEMALLOC_CONFIG_ENV " >>confdefs.h -printf '%s\n' "#define JEMALLOC_CONFIG_FILE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_CONFIG_FILE " >>confdefs.h fi @@ -12780,15 +12714,14 @@ else enable_experimental_smallocx="1" fi -else case e in #( - e) enable_experimental_smallocx="0" - ;; -esac +else $as_nop + enable_experimental_smallocx="0" + fi if test "x$enable_experimental_smallocx" = "x1" ; then -printf '%s\n' "#define JEMALLOC_EXPERIMENTAL_SMALLOCX_API " >>confdefs.h +printf "%s\n" "#define JEMALLOC_EXPERIMENTAL_SMALLOCX_API " >>confdefs.h fi @@ -12802,15 +12735,14 @@ else enable_experimental_fiber_safe_tls="1" fi -else case e in #( - e) enable_experimental_fiber_safe_tls="0" - ;; -esac +else $as_nop + enable_experimental_fiber_safe_tls="0" + fi if test "x$enable_experimental_fiber_safe_tls" = "x1" ; then -printf '%s\n' "#define JEMALLOC_EXPERIMENTAL_FIBER_SAFE_TLS " >>confdefs.h +printf "%s\n" "#define JEMALLOC_EXPERIMENTAL_FIBER_SAFE_TLS " >>confdefs.h fi @@ -12824,10 +12756,9 @@ else enable_prof="1" fi -else case e in #( - e) enable_prof="0" - ;; -esac +else $as_nop + enable_prof="0" + fi if test "x$enable_prof" = "x1" ; then @@ -12848,10 +12779,9 @@ else fi fi -else case e in #( - e) enable_prof_libunwind="0" - ;; -esac +else $as_nop + enable_prof_libunwind="0" + fi @@ -12866,10 +12796,9 @@ else fi LUNWIND="$with_static_libunwind" fi -else case e in #( - e) LUNWIND="-lunwind" - ;; -esac +else $as_nop + LUNWIND="-lunwind" + fi if test "x$backtrace_method" = "x" -a "x$enable_prof_libunwind" = "x1" ; then @@ -12878,36 +12807,29 @@ do : ac_fn_c_check_header_compile "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default" if test "x$ac_cv_header_libunwind_h" = xyes then : - printf '%s\n' "#define HAVE_LIBUNWIND_H 1" >>confdefs.h + printf "%s\n" "#define HAVE_LIBUNWIND_H 1" >>confdefs.h -else case e in #( - e) enable_prof_libunwind="0" ;; -esac +else $as_nop + enable_prof_libunwind="0" fi done if test "x$LUNWIND" = "x-lunwind" ; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for unw_backtrace in -lunwind" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_backtrace in -lunwind" >&5 printf %s "checking for unw_backtrace in -lunwind... " >&6; } if test ${ac_cv_lib_unwind_unw_backtrace+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_check_lib_save_LIBS=$LIBS +else $as_nop + ac_check_lib_save_LIBS=$LIBS LIBS="-lunwind $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. - The 'extern "C"' is for builds by C++ compilers; - although this is not generally supported in C code supporting it here - has little cost and some practical benefit (sr 110532). */ -#ifdef __cplusplus -extern "C" -#endif -char unw_backtrace (void); + builtin and then its argument prototype would still apply. */ +char unw_backtrace (); int main (void) { @@ -12919,17 +12841,15 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_unwind_unw_backtrace=yes -else case e in #( - e) ac_cv_lib_unwind_unw_backtrace=no ;; -esac +else $as_nop + ac_cv_lib_unwind_unw_backtrace=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS ;; -esac +LIBS=$ac_check_lib_save_LIBS fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_unw_backtrace" >&5 -printf '%s\n' "$ac_cv_lib_unwind_unw_backtrace" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_unw_backtrace" >&5 +printf "%s\n" "$ac_cv_lib_unwind_unw_backtrace" >&6; } if test "x$ac_cv_lib_unwind_unw_backtrace" = xyes then : T_APPEND_V=$LUNWIND @@ -12940,9 +12860,8 @@ else fi -else case e in #( - e) enable_prof_libunwind="0" ;; -esac +else $as_nop + enable_prof_libunwind="0" fi else @@ -12958,7 +12877,7 @@ fi if test "x${enable_prof_libunwind}" = "x1" ; then backtrace_method="libunwind" -printf '%s\n' "#define JEMALLOC_PROF_LIBUNWIND " >>confdefs.h +printf "%s\n" "#define JEMALLOC_PROF_LIBUNWIND " >>confdefs.h fi fi @@ -12972,10 +12891,9 @@ else enable_prof_libgcc="1" fi -else case e in #( - e) enable_prof_libgcc="1" - ;; -esac +else $as_nop + enable_prof_libgcc="1" + fi if test "x$backtrace_method" = "x" -a "x$enable_prof_libgcc" = "x1" \ @@ -12985,36 +12903,29 @@ do : ac_fn_c_check_header_compile "$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default" if test "x$ac_cv_header_unwind_h" = xyes then : - printf '%s\n' "#define HAVE_UNWIND_H 1" >>confdefs.h + printf "%s\n" "#define HAVE_UNWIND_H 1" >>confdefs.h -else case e in #( - e) enable_prof_libgcc="0" ;; -esac +else $as_nop + enable_prof_libgcc="0" fi done if test "x${enable_prof_libgcc}" = "x1" ; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for _Unwind_Backtrace in -lgcc" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _Unwind_Backtrace in -lgcc" >&5 printf %s "checking for _Unwind_Backtrace in -lgcc... " >&6; } if test ${ac_cv_lib_gcc__Unwind_Backtrace+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_check_lib_save_LIBS=$LIBS +else $as_nop + ac_check_lib_save_LIBS=$LIBS LIBS="-lgcc $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. - The 'extern "C"' is for builds by C++ compilers; - although this is not generally supported in C code supporting it here - has little cost and some practical benefit (sr 110532). */ -#ifdef __cplusplus -extern "C" -#endif -char _Unwind_Backtrace (void); + builtin and then its argument prototype would still apply. */ +char _Unwind_Backtrace (); int main (void) { @@ -13026,17 +12937,15 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_gcc__Unwind_Backtrace=yes -else case e in #( - e) ac_cv_lib_gcc__Unwind_Backtrace=no ;; -esac +else $as_nop + ac_cv_lib_gcc__Unwind_Backtrace=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS ;; -esac +LIBS=$ac_check_lib_save_LIBS fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcc__Unwind_Backtrace" >&5 -printf '%s\n' "$ac_cv_lib_gcc__Unwind_Backtrace" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcc__Unwind_Backtrace" >&5 +printf "%s\n" "$ac_cv_lib_gcc__Unwind_Backtrace" >&6; } if test "x$ac_cv_lib_gcc__Unwind_Backtrace" = xyes then : T_APPEND_V=-lgcc @@ -13047,16 +12956,15 @@ else fi -else case e in #( - e) enable_prof_libgcc="0" ;; -esac +else $as_nop + enable_prof_libgcc="0" fi fi if test "x${enable_prof_libgcc}" = "x1" ; then backtrace_method="libgcc" -printf '%s\n' "#define JEMALLOC_PROF_LIBGCC " >>confdefs.h +printf "%s\n" "#define JEMALLOC_PROF_LIBGCC " >>confdefs.h fi else @@ -13072,16 +12980,15 @@ else enable_prof_gcc="1" fi -else case e in #( - e) enable_prof_gcc="1" - ;; -esac +else $as_nop + enable_prof_gcc="1" + fi if test "x$backtrace_method" = "x" -a "x$enable_prof_gcc" = "x1" \ -a "x$GCC" = "xyes" ; then -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fno-omit-frame-pointer" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fno-omit-frame-pointer" >&5 printf %s "checking whether compiler supports -fno-omit-frame-pointer... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-fno-omit-frame-pointer @@ -13115,15 +13022,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-fno-omit-frame-pointer - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -13135,7 +13041,7 @@ fi backtrace_method="gcc intrinsics" -printf '%s\n' "#define JEMALLOC_PROF_GCC " >>confdefs.h +printf "%s\n" "#define JEMALLOC_PROF_GCC " >>confdefs.h else enable_prof_gcc="0" @@ -13145,10 +13051,10 @@ if test "x$backtrace_method" = "x" ; then backtrace_method="none (disabling profiling)" enable_prof="0" fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking configured backtracing method" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking configured backtracing method" >&5 printf %s "checking configured backtracing method... " >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $backtrace_method" >&5 -printf '%s\n' "$backtrace_method" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $backtrace_method" >&5 +printf "%s\n" "$backtrace_method" >&6; } if test "x$enable_prof" = "x1" ; then T_APPEND_V=$LM if test "x${LIBS}" = "x" -o "x${T_APPEND_V}" = "x" ; then @@ -13160,26 +13066,26 @@ fi -printf '%s\n' "#define JEMALLOC_PROF " >>confdefs.h +printf "%s\n" "#define JEMALLOC_PROF " >>confdefs.h fi if test "x${maps_coalesce}" = "x1" ; then -printf '%s\n' "#define JEMALLOC_MAPS_COALESCE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_MAPS_COALESCE " >>confdefs.h fi if test "x$default_retain" = "x1" ; then -printf '%s\n' "#define JEMALLOC_RETAIN " >>confdefs.h +printf "%s\n" "#define JEMALLOC_RETAIN " >>confdefs.h fi if test "x$zero_realloc_default_free" = "x1" ; then -printf '%s\n' "#define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE " >>confdefs.h fi @@ -13192,10 +13098,9 @@ else enable_dss="1" fi -else case e in #( - e) enable_dss="1" - ;; -esac +else $as_nop + enable_dss="1" + fi @@ -13204,15 +13109,14 @@ ac_fn_c_check_func "$LINENO" "sbrk" "ac_cv_func_sbrk" if test "x$ac_cv_func_sbrk" = xyes then : have_sbrk="1" -else case e in #( - e) have_sbrk="0" ;; -esac +else $as_nop + have_sbrk="0" fi if test "x$have_sbrk" = "x1" ; then if test "x$sbrk_deprecated" = "x1" ; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: Disabling dss allocation because sbrk is deprecated" >&5 -printf '%s\n' "Disabling dss allocation because sbrk is deprecated" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling dss allocation because sbrk is deprecated" >&5 +printf "%s\n" "Disabling dss allocation because sbrk is deprecated" >&6; } have_dss="0" fi else @@ -13221,7 +13125,7 @@ fi if test "x$have_dss" = "x1" -a "x$enable_dss" = "x1" ; then -printf '%s\n' "#define JEMALLOC_DSS " >>confdefs.h +printf "%s\n" "#define JEMALLOC_DSS " >>confdefs.h fi @@ -13234,15 +13138,14 @@ else enable_fill="1" fi -else case e in #( - e) enable_fill="1" - ;; -esac +else $as_nop + enable_fill="1" + fi if test "x$enable_fill" = "x1" ; then -printf '%s\n' "#define JEMALLOC_FILL " >>confdefs.h +printf "%s\n" "#define JEMALLOC_FILL " >>confdefs.h fi @@ -13256,20 +13159,19 @@ else enable_utrace="1" fi -else case e in #( - e) enable_utrace="0" - ;; -esac +else $as_nop + enable_utrace="0" + fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether utrace(2) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether utrace(2) is compilable" >&5 printf %s "checking whether utrace(2) is compilable... " >&6; } if test ${je_cv_utrace+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -13291,26 +13193,24 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_utrace=yes -else case e in #( - e) je_cv_utrace=no ;; -esac +else $as_nop + je_cv_utrace=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_utrace" >&5 -printf '%s\n' "$je_cv_utrace" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_utrace" >&5 +printf "%s\n" "$je_cv_utrace" >&6; } if test "x${je_cv_utrace}" = "xno" ; then -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether utrace(2) with label is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether utrace(2) with label is compilable" >&5 printf %s "checking whether utrace(2) with label is compilable... " >&6; } if test ${je_cv_utrace_label+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -13332,29 +13232,27 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_utrace_label=yes -else case e in #( - e) je_cv_utrace_label=no ;; -esac +else $as_nop + je_cv_utrace_label=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_utrace_label" >&5 -printf '%s\n' "$je_cv_utrace_label" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_utrace_label" >&5 +printf "%s\n" "$je_cv_utrace_label" >&6; } if test "x${je_cv_utrace_label}" = "xno"; then enable_utrace="0" fi if test "x$enable_utrace" = "x1" ; then -printf '%s\n' "#define JEMALLOC_UTRACE_LABEL " >>confdefs.h +printf "%s\n" "#define JEMALLOC_UTRACE_LABEL " >>confdefs.h fi else if test "x$enable_utrace" = "x1" ; then -printf '%s\n' "#define JEMALLOC_UTRACE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_UTRACE " >>confdefs.h fi fi @@ -13367,13 +13265,13 @@ then : enable_experimental_sdt="0" else -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether systemtap sdt is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether systemtap sdt is compilable" >&5 printf %s "checking whether systemtap sdt is compilable... " >&6; } if test ${je_cv_stap_sdt+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -13391,16 +13289,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_stap_sdt=yes -else case e in #( - e) je_cv_stap_sdt=no ;; -esac +else $as_nop + je_cv_stap_sdt=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_stap_sdt" >&5 -printf '%s\n' "$je_cv_stap_sdt" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_stap_sdt" >&5 +printf "%s\n" "$je_cv_stap_sdt" >&6; } if test "x${je_cv_stap_sdt}" = "xyes" ; then @@ -13429,20 +13325,19 @@ printf '%s\n' "$je_cv_stap_sdt" >&6; } fi fi -else case e in #( - e) enable_experimental_sdt="0" - ;; -esac +else $as_nop + enable_experimental_sdt="0" + fi if test "x$enable_experimental_sdt" = "x1" ; then -printf '%s\n' "#define JEMALLOC_EXPERIMENTAL_USDT_STAP " >>confdefs.h +printf "%s\n" "#define JEMALLOC_EXPERIMENTAL_USDT_STAP " >>confdefs.h elif test "x$enable_experimental_sdt" = "x2"; then -printf '%s\n' "#define JEMALLOC_EXPERIMENTAL_USDT_CUSTOM " >>confdefs.h +printf "%s\n" "#define JEMALLOC_EXPERIMENTAL_USDT_CUSTOM " >>confdefs.h fi @@ -13456,15 +13351,14 @@ else enable_xmalloc="1" fi -else case e in #( - e) enable_xmalloc="0" - ;; -esac +else $as_nop + enable_xmalloc="0" + fi if test "x$enable_xmalloc" = "x1" ; then -printf '%s\n' "#define JEMALLOC_XMALLOC " >>confdefs.h +printf "%s\n" "#define JEMALLOC_XMALLOC " >>confdefs.h fi @@ -13478,15 +13372,14 @@ else enable_cache_oblivious="1" fi -else case e in #( - e) enable_cache_oblivious="1" - ;; -esac +else $as_nop + enable_cache_oblivious="1" + fi if test "x$enable_cache_oblivious" = "x1" ; then -printf '%s\n' "#define JEMALLOC_CACHE_OBLIVIOUS " >>confdefs.h +printf "%s\n" "#define JEMALLOC_CACHE_OBLIVIOUS " >>confdefs.h fi @@ -13500,15 +13393,14 @@ else enable_log="1" fi -else case e in #( - e) enable_log="0" - ;; -esac +else $as_nop + enable_log="0" + fi if test "x$enable_log" = "x1" ; then -printf '%s\n' "#define JEMALLOC_LOG " >>confdefs.h +printf "%s\n" "#define JEMALLOC_LOG " >>confdefs.h fi @@ -13522,15 +13414,14 @@ else enable_readlinkat="1" fi -else case e in #( - e) enable_readlinkat="0" - ;; -esac +else $as_nop + enable_readlinkat="0" + fi if test "x$enable_readlinkat" = "x1" ; then -printf '%s\n' "#define JEMALLOC_READLINKAT " >>confdefs.h +printf "%s\n" "#define JEMALLOC_READLINKAT " >>confdefs.h fi @@ -13544,15 +13435,14 @@ else enable_force_getenv="1" fi -else case e in #( - e) enable_force_getenv="0" - ;; -esac +else $as_nop + enable_force_getenv="0" + fi if test "x$enable_force_getenv" = "x1" ; then -printf '%s\n' "#define JEMALLOC_FORCE_GETENV " >>confdefs.h +printf "%s\n" "#define JEMALLOC_FORCE_GETENV " >>confdefs.h fi @@ -13566,15 +13456,14 @@ else enable_opt_safety_checks="1" fi -else case e in #( - e) enable_opt_safety_checks="0" - ;; -esac +else $as_nop + enable_opt_safety_checks="0" + fi if test "x$enable_opt_safety_checks" = "x1" ; then -printf '%s\n' "#define JEMALLOC_OPT_SAFETY_CHECKS " >>confdefs.h +printf "%s\n" "#define JEMALLOC_OPT_SAFETY_CHECKS " >>confdefs.h fi @@ -13588,15 +13477,14 @@ else enable_opt_size_checks="1" fi -else case e in #( - e) enable_opt_size_checks="0" - ;; -esac +else $as_nop + enable_opt_size_checks="0" + fi if test "x$enable_opt_size_checks" = "x1" ; then -printf '%s\n' "#define JEMALLOC_OPT_SIZE_CHECKS " >>confdefs.h +printf "%s\n" "#define JEMALLOC_OPT_SIZE_CHECKS " >>confdefs.h fi @@ -13610,27 +13498,26 @@ else enable_uaf_detection="1" fi -else case e in #( - e) enable_uaf_detection="0" - ;; -esac +else $as_nop + enable_uaf_detection="0" + fi if test "x$enable_uaf_detection" = "x1" ; then -printf '%s\n' "#define JEMALLOC_UAF_DETECTION " >>confdefs.h +printf "%s\n" "#define JEMALLOC_UAF_DETECTION " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a program using __builtin_unreachable is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program using __builtin_unreachable is compilable" >&5 printf %s "checking whether a program using __builtin_unreachable is compilable... " >&6; } if test ${je_cv_gcc_builtin_unreachable+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ void foo (void) { @@ -13652,35 +13539,33 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_gcc_builtin_unreachable=yes -else case e in #( - e) je_cv_gcc_builtin_unreachable=no ;; -esac +else $as_nop + je_cv_gcc_builtin_unreachable=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_builtin_unreachable" >&5 -printf '%s\n' "$je_cv_gcc_builtin_unreachable" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_builtin_unreachable" >&5 +printf "%s\n" "$je_cv_gcc_builtin_unreachable" >&6; } if test "x${je_cv_gcc_builtin_unreachable}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable" >>confdefs.h +printf "%s\n" "#define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable" >>confdefs.h else -printf '%s\n' "#define JEMALLOC_INTERNAL_UNREACHABLE abort" >>confdefs.h +printf "%s\n" "#define JEMALLOC_INTERNAL_UNREACHABLE abort" >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a program using __builtin_ffsl is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program using __builtin_ffsl is compilable" >&5 printf %s "checking whether a program using __builtin_ffsl is compilable... " >&6; } if test ${je_cv_gcc_builtin_ffsl+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -13703,36 +13588,34 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_gcc_builtin_ffsl=yes -else case e in #( - e) je_cv_gcc_builtin_ffsl=no ;; -esac +else $as_nop + je_cv_gcc_builtin_ffsl=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_builtin_ffsl" >&5 -printf '%s\n' "$je_cv_gcc_builtin_ffsl" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_builtin_ffsl" >&5 +printf "%s\n" "$je_cv_gcc_builtin_ffsl" >&6; } if test "x${je_cv_gcc_builtin_ffsl}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll" >>confdefs.h +printf "%s\n" "#define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll" >>confdefs.h -printf '%s\n' "#define JEMALLOC_INTERNAL_FFSL __builtin_ffsl" >>confdefs.h +printf "%s\n" "#define JEMALLOC_INTERNAL_FFSL __builtin_ffsl" >>confdefs.h -printf '%s\n' "#define JEMALLOC_INTERNAL_FFS __builtin_ffs" >>confdefs.h +printf "%s\n" "#define JEMALLOC_INTERNAL_FFS __builtin_ffs" >>confdefs.h else -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a program using ffsl is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program using ffsl is compilable" >&5 printf %s "checking whether a program using ffsl is compilable... " >&6; } if test ${je_cv_function_ffsl+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -13755,26 +13638,24 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_function_ffsl=yes -else case e in #( - e) je_cv_function_ffsl=no ;; -esac +else $as_nop + je_cv_function_ffsl=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_function_ffsl" >&5 -printf '%s\n' "$je_cv_function_ffsl" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_function_ffsl" >&5 +printf "%s\n" "$je_cv_function_ffsl" >&6; } if test "x${je_cv_function_ffsl}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_INTERNAL_FFSLL ffsll" >>confdefs.h +printf "%s\n" "#define JEMALLOC_INTERNAL_FFSLL ffsll" >>confdefs.h -printf '%s\n' "#define JEMALLOC_INTERNAL_FFSL ffsl" >>confdefs.h +printf "%s\n" "#define JEMALLOC_INTERNAL_FFSL ffsl" >>confdefs.h -printf '%s\n' "#define JEMALLOC_INTERNAL_FFS ffs" >>confdefs.h +printf "%s\n" "#define JEMALLOC_INTERNAL_FFS ffs" >>confdefs.h else as_fn_error $? "Cannot build without ffsl(3) or __builtin_ffsl()" "$LINENO" 5 @@ -13782,13 +13663,13 @@ printf '%s\n' "#define JEMALLOC_INTERNAL_FFS ffs" >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a program using __builtin_popcountl is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program using __builtin_popcountl is compilable" >&5 printf %s "checking whether a program using __builtin_popcountl is compilable... " >&6; } if test ${je_cv_gcc_builtin_popcountl+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -13811,26 +13692,24 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_gcc_builtin_popcountl=yes -else case e in #( - e) je_cv_gcc_builtin_popcountl=no ;; -esac +else $as_nop + je_cv_gcc_builtin_popcountl=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_builtin_popcountl" >&5 -printf '%s\n' "$je_cv_gcc_builtin_popcountl" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_builtin_popcountl" >&5 +printf "%s\n" "$je_cv_gcc_builtin_popcountl" >&6; } if test "x${je_cv_gcc_builtin_popcountl}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount" >>confdefs.h +printf "%s\n" "#define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount" >>confdefs.h -printf '%s\n' "#define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl" >>confdefs.h +printf "%s\n" "#define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl" >>confdefs.h -printf '%s\n' "#define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll" >>confdefs.h +printf "%s\n" "#define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll" >>confdefs.h fi @@ -13843,7 +13722,7 @@ fi if test "x$with_lg_quantum" != "x" ; then -printf '%s\n' "#define LG_QUANTUM $with_lg_quantum" >>confdefs.h +printf "%s\n" "#define LG_QUANTUM $with_lg_quantum" >>confdefs.h fi @@ -13852,14 +13731,13 @@ fi if test ${with_lg_slab_maxregs+y} then : withval=$with_lg_slab_maxregs; CONFIG_LG_SLAB_MAXREGS="with_lg_slab_maxregs" -else case e in #( - e) CONFIG_LG_SLAB_MAXREGS="" ;; -esac +else $as_nop + CONFIG_LG_SLAB_MAXREGS="" fi if test "x$with_lg_slab_maxregs" != "x" ; then -printf '%s\n' "#define CONFIG_LG_SLAB_MAXREGS $with_lg_slab_maxregs" >>confdefs.h +printf "%s\n" "#define CONFIG_LG_SLAB_MAXREGS $with_lg_slab_maxregs" >>confdefs.h fi @@ -13868,9 +13746,8 @@ fi if test ${with_lg_page+y} then : withval=$with_lg_page; LG_PAGE="$with_lg_page" -else case e in #( - e) LG_PAGE="detect" ;; -esac +else $as_nop + LG_PAGE="detect" fi case "${host}" in @@ -13881,13 +13758,13 @@ case "${host}" in ;; *-*-linux-android) if test "x$LG_PAGE" = "xdetect"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5 -printf %s "checking for $CC options to detect undeclared functions... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 +printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } if test ${ac_cv_c_undeclared_builtin_options+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_save_CFLAGS=$CFLAGS +else $as_nop + ac_save_CFLAGS=$CFLAGS ac_cv_c_undeclared_builtin_options='cannot detect' for ac_arg in '' -fno-builtin; do CFLAGS="$ac_save_CFLAGS $ac_arg" @@ -13906,8 +13783,8 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : -else case e in #( - e) # This test program should compile successfully. +else $as_nop + # This test program should compile successfully. # No library function is consistently available on # freestanding implementations, so test against a dummy # declaration. Include always-available headers on the @@ -13935,94 +13812,46 @@ then : if test x"$ac_arg" = x then : ac_cv_c_undeclared_builtin_options='none needed' -else case e in #( - e) ac_cv_c_undeclared_builtin_options=$ac_arg ;; -esac +else $as_nop + ac_cv_c_undeclared_builtin_options=$ac_arg fi break fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done CFLAGS=$ac_save_CFLAGS - ;; -esac + fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 -printf '%s\n' "$ac_cv_c_undeclared_builtin_options" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 +printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } case $ac_cv_c_undeclared_builtin_options in #( 'cannot detect') : - { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot make $CC report undeclared builtins -See 'config.log' for more details" "$LINENO" 5; } ;; #( +See \`config.log' for more details" "$LINENO" 5; } ;; #( 'none needed') : ac_c_undeclared_builtin_options='' ;; #( *) : ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; esac -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5 -printf %s "checking for $CC options to ignore future-version functions... " >&6; } -if test ${ac_cv_c_future_darwin_options+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) ac_compile_saved="$ac_compile" - ac_compile="$ac_compile -Werror=unguarded-availability-new" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#if ! (defined __APPLE__ && defined __MACH__) - #error "-Werror=unguarded-availability-new not needed here" - #endif - -int -main (void) -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new' -else case e in #( - e) ac_cv_c_future_darwin_options='none needed' ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ac_compile="$ac_compile_saved" - ;; -esac -fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5 -printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; } - case $ac_cv_c_future_darwin_options in #( - 'none needed') : - ac_c_future_darwin_options='' ;; #( - *) : - ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;; -esac - ac_fn_check_decl "$LINENO" "PAGE_SIZE" "ac_cv_have_decl_PAGE_SIZE" "#include -" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS" +" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_PAGE_SIZE" = xyes then : ac_have_decl=1 -else case e in #( - e) ac_have_decl=0 ;; -esac +else $as_nop + ac_have_decl=0 fi -printf '%s\n' "#define HAVE_DECL_PAGE_SIZE $ac_have_decl" >>confdefs.h +printf "%s\n" "#define HAVE_DECL_PAGE_SIZE $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : LG_PAGE=12 -else case e in #( - e) LG_PAGE=14 ;; -esac +else $as_nop + LG_PAGE=14 fi fi @@ -14034,17 +13863,17 @@ fi ;; esac if test "x$LG_PAGE" = "xdetect"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking LG_PAGE" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LG_PAGE" >&5 printf %s "checking LG_PAGE... " >&6; } if test ${je_cv_lg_page+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test "$cross_compiling" = yes +else $as_nop + if test "$cross_compiling" = yes then : je_cv_lg_page=12 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14090,26 +13919,23 @@ _ACEOF if ac_fn_c_try_run "$LINENO" then : je_cv_lg_page=`cat conftest.out` -else case e in #( - e) je_cv_lg_page=undefined ;; -esac +else $as_nop + je_cv_lg_page=undefined fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac + conftest.$ac_objext conftest.beam conftest.$ac_ext fi - ;; -esac + fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_lg_page" >&5 -printf '%s\n' "$je_cv_lg_page" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_lg_page" >&5 +printf "%s\n" "$je_cv_lg_page" >&6; } fi if test "x${je_cv_lg_page}" != "x" ; then LG_PAGE="${je_cv_lg_page}" fi if test "x${LG_PAGE}" != "xundefined" ; then -printf '%s\n' "#define LG_PAGE $LG_PAGE" >>confdefs.h +printf "%s\n" "#define LG_PAGE $LG_PAGE" >>confdefs.h else as_fn_error $? "cannot determine value for LG_PAGE" "$LINENO" 5 @@ -14123,9 +13949,8 @@ fi if test ${with_lg_hugepage+y} then : withval=$with_lg_hugepage; je_cv_lg_hugepage="${with_lg_hugepage}" -else case e in #( - e) je_cv_lg_hugepage="" ;; -esac +else $as_nop + je_cv_lg_hugepage="" fi if test "x${je_cv_lg_hugepage}" = "x" ; then @@ -14151,9 +13976,7 @@ if test "x${LG_PAGE}" != "xundefined" -a \ as_fn_error $? "Huge page size (2^${je_cv_lg_hugepage}) must be greater than page size (2^${LG_PAGE})" "$LINENO" 5 fi -cat >>confdefs.h <<_ACEOF -#define LG_HUGEPAGE ${je_cv_lg_hugepage} -_ACEOF +printf "%s\n" "#define LG_HUGEPAGE ${je_cv_lg_hugepage}" >>confdefs.h # Check whether --enable-libdl was given. @@ -14165,10 +13988,9 @@ else enable_libdl="1" fi -else case e in #( - e) enable_libdl="1" - ;; -esac +else $as_nop + enable_libdl="1" + fi @@ -14176,42 +13998,35 @@ fi if test "x$abi" != "xpecoff" ; then -printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_PTHREAD " >>confdefs.h for ac_header in pthread.h do : ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" if test "x$ac_cv_header_pthread_h" = xyes then : - printf '%s\n' "#define HAVE_PTHREAD_H 1" >>confdefs.h + printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h -else case e in #( - e) as_fn_error $? "pthread.h is missing" "$LINENO" 5 ;; -esac +else $as_nop + as_fn_error $? "pthread.h is missing" "$LINENO" 5 fi done - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 printf %s "checking for pthread_create in -lpthread... " >&6; } if test ${ac_cv_lib_pthread_pthread_create+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_check_lib_save_LIBS=$LIBS +else $as_nop + ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. - The 'extern "C"' is for builds by C++ compilers; - although this is not generally supported in C code supporting it here - has little cost and some practical benefit (sr 110532). */ -#ifdef __cplusplus -extern "C" -#endif -char pthread_create (void); + builtin and then its argument prototype would still apply. */ +char pthread_create (); int main (void) { @@ -14223,17 +14038,15 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_pthread_pthread_create=yes -else case e in #( - e) ac_cv_lib_pthread_pthread_create=no ;; -esac +else $as_nop + ac_cv_lib_pthread_pthread_create=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS ;; -esac +LIBS=$ac_check_lib_save_LIBS fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 -printf '%s\n' "$ac_cv_lib_pthread_pthread_create" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 +printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; } if test "x$ac_cv_lib_pthread_pthread_create" = xyes then : T_APPEND_V=-pthread @@ -14244,27 +14057,21 @@ else fi -else case e in #( - e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 printf %s "checking for library containing pthread_create... " >&6; } if test ${ac_cv_search_pthread_create+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_func_search_save_LIBS=$LIBS +else $as_nop + ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. - The 'extern "C"' is for builds by C++ compilers; - although this is not generally supported in C code supporting it here - has little cost and some practical benefit (sr 110532). */ -#ifdef __cplusplus -extern "C" -#endif -char pthread_create (void); + builtin and then its argument prototype would still apply. */ +char pthread_create (); int main (void) { @@ -14295,27 +14102,23 @@ done if test ${ac_cv_search_pthread_create+y} then : -else case e in #( - e) ac_cv_search_pthread_create=no ;; -esac +else $as_nop + ac_cv_search_pthread_create=no fi rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS ;; -esac +LIBS=$ac_func_search_save_LIBS fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5 -printf '%s\n' "$ac_cv_search_pthread_create" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5 +printf "%s\n" "$ac_cv_search_pthread_create" >&6; } ac_res=$ac_cv_search_pthread_create if test "$ac_res" != no then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" -else case e in #( - e) as_fn_error $? "libpthread is missing" "$LINENO" 5 ;; -esac +else $as_nop + as_fn_error $? "libpthread is missing" "$LINENO" 5 fi - ;; -esac + fi wrap_syms="${wrap_syms} pthread_create" @@ -14328,33 +14131,27 @@ do : ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" if test "x$ac_cv_header_dlfcn_h" = xyes then : - printf '%s\n' "#define HAVE_DLFCN_H 1" >>confdefs.h + printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym" if test "x$ac_cv_func_dlsym" = xyes then : -else case e in #( - e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5 +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5 printf %s "checking for dlsym in -ldl... " >&6; } if test ${ac_cv_lib_dl_dlsym+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_check_lib_save_LIBS=$LIBS +else $as_nop + ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. - The 'extern "C"' is for builds by C++ compilers; - although this is not generally supported in C code supporting it here - has little cost and some practical benefit (sr 110532). */ -#ifdef __cplusplus -extern "C" -#endif -char dlsym (void); + builtin and then its argument prototype would still apply. */ +char dlsym (); int main (void) { @@ -14366,37 +14163,32 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_dl_dlsym=yes -else case e in #( - e) ac_cv_lib_dl_dlsym=no ;; -esac +else $as_nop + ac_cv_lib_dl_dlsym=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS ;; -esac +LIBS=$ac_check_lib_save_LIBS fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5 -printf '%s\n' "$ac_cv_lib_dl_dlsym" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5 +printf "%s\n" "$ac_cv_lib_dl_dlsym" >&6; } if test "x$ac_cv_lib_dl_dlsym" = xyes then : LIBS="$LIBS -ldl" -else case e in #( - e) have_dlsym="0" ;; -esac +else $as_nop + have_dlsym="0" fi - ;; -esac + fi -else case e in #( - e) have_dlsym="0" ;; -esac +else $as_nop + have_dlsym="0" fi done if test "x$have_dlsym" = "x1" ; then -printf '%s\n' "#define JEMALLOC_HAVE_DLSYM " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_DLSYM " >>confdefs.h fi else @@ -14404,13 +14196,13 @@ printf '%s\n' "#define JEMALLOC_HAVE_DLSYM " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pthread_atfork(3) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_atfork(3) is compilable" >&5 printf %s "checking whether pthread_atfork(3) is compilable... " >&6; } if test ${je_cv_pthread_atfork+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14428,30 +14220,28 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_pthread_atfork=yes -else case e in #( - e) je_cv_pthread_atfork=no ;; -esac +else $as_nop + je_cv_pthread_atfork=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_atfork" >&5 -printf '%s\n' "$je_cv_pthread_atfork" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_atfork" >&5 +printf "%s\n" "$je_cv_pthread_atfork" >&6; } if test "x${je_cv_pthread_atfork}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD_ATFORK " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_PTHREAD_ATFORK " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pthread_setname_np(3) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_setname_np(3) is compilable" >&5 printf %s "checking whether pthread_setname_np(3) is compilable... " >&6; } if test ${je_cv_pthread_setname_np+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14469,30 +14259,28 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_pthread_setname_np=yes -else case e in #( - e) je_cv_pthread_setname_np=no ;; -esac +else $as_nop + je_cv_pthread_setname_np=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_setname_np" >&5 -printf '%s\n' "$je_cv_pthread_setname_np" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_setname_np" >&5 +printf "%s\n" "$je_cv_pthread_setname_np" >&6; } if test "x${je_cv_pthread_setname_np}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD_SETNAME_NP " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_PTHREAD_SETNAME_NP " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pthread_getname_np(3) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_getname_np(3) is compilable" >&5 printf %s "checking whether pthread_getname_np(3) is compilable... " >&6; } if test ${je_cv_pthread_getname_np+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14515,30 +14303,28 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_pthread_getname_np=yes -else case e in #( - e) je_cv_pthread_getname_np=no ;; -esac +else $as_nop + je_cv_pthread_getname_np=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_getname_np" >&5 -printf '%s\n' "$je_cv_pthread_getname_np" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_getname_np" >&5 +printf "%s\n" "$je_cv_pthread_getname_np" >&6; } if test "x${je_cv_pthread_getname_np}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD_GETNAME_NP " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_PTHREAD_GETNAME_NP " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pthread_set_name_np(3) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_set_name_np(3) is compilable" >&5 printf %s "checking whether pthread_set_name_np(3) is compilable... " >&6; } if test ${je_cv_pthread_set_name_np+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14557,30 +14343,28 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_pthread_set_name_np=yes -else case e in #( - e) je_cv_pthread_set_name_np=no ;; -esac +else $as_nop + je_cv_pthread_set_name_np=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_set_name_np" >&5 -printf '%s\n' "$je_cv_pthread_set_name_np" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_set_name_np" >&5 +printf "%s\n" "$je_cv_pthread_set_name_np" >&6; } if test "x${je_cv_pthread_set_name_np}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD_SET_NAME_NP " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_PTHREAD_SET_NAME_NP " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pthread_get_name_np(3) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_get_name_np(3) is compilable" >&5 printf %s "checking whether pthread_get_name_np(3) is compilable... " >&6; } if test ${je_cv_pthread_get_name_np+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14604,33 +14388,31 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_pthread_get_name_np=yes -else case e in #( - e) je_cv_pthread_get_name_np=no ;; -esac +else $as_nop + je_cv_pthread_get_name_np=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_get_name_np" >&5 -printf '%s\n' "$je_cv_pthread_get_name_np" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_get_name_np" >&5 +printf "%s\n" "$je_cv_pthread_get_name_np" >&6; } if test "x${je_cv_pthread_get_name_np}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD_GET_NAME_NP " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_PTHREAD_GET_NAME_NP " >>confdefs.h fi - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pthread_condattr_setclock with CLOCK_MONOTONIC is usable" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_condattr_setclock with CLOCK_MONOTONIC is usable" >&5 printf %s "checking whether pthread_condattr_setclock with CLOCK_MONOTONIC is usable... " >&6; } if test ${je_cv_pthread_cond_timedwait_monotonic+y} then : printf %s "(cached) " >&6 -else case e in #( - e) if test "$cross_compiling" = yes +else $as_nop + if test "$cross_compiling" = yes then : je_cv_pthread_cond_timedwait_monotonic=no -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14668,22 +14450,19 @@ _ACEOF if ac_fn_c_try_run "$LINENO" then : je_cv_pthread_cond_timedwait_monotonic=yes -else case e in #( - e) je_cv_pthread_cond_timedwait_monotonic=no ;; -esac +else $as_nop + je_cv_pthread_cond_timedwait_monotonic=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac + conftest.$ac_objext conftest.beam conftest.$ac_ext fi - ;; -esac + fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_cond_timedwait_monotonic" >&5 -printf '%s\n' "$je_cv_pthread_cond_timedwait_monotonic" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_cond_timedwait_monotonic" >&5 +printf "%s\n" "$je_cv_pthread_cond_timedwait_monotonic" >&6; } if test "x${je_cv_pthread_cond_timedwait_monotonic}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC " >>confdefs.h fi fi @@ -14697,26 +14476,20 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 printf %s "checking for library containing clock_gettime... " >&6; } if test ${ac_cv_search_clock_gettime+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_func_search_save_LIBS=$LIBS +else $as_nop + ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. - The 'extern "C"' is for builds by C++ compilers; - although this is not generally supported in C code supporting it here - has little cost and some practical benefit (sr 110532). */ -#ifdef __cplusplus -extern "C" -#endif -char clock_gettime (void); + builtin and then its argument prototype would still apply. */ +char clock_gettime (); int main (void) { @@ -14747,16 +14520,14 @@ done if test ${ac_cv_search_clock_gettime+y} then : -else case e in #( - e) ac_cv_search_clock_gettime=no ;; -esac +else $as_nop + ac_cv_search_clock_gettime=no fi rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS ;; -esac +LIBS=$ac_func_search_save_LIBS fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 -printf '%s\n' "$ac_cv_search_clock_gettime" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 +printf "%s\n" "$ac_cv_search_clock_gettime" >&6; } ac_res=$ac_cv_search_clock_gettime if test "$ac_res" != no then : @@ -14772,7 +14543,7 @@ if test "x$je_cv_cray_prgenv_wrapper" = "xyes" ; then unset ac_cv_search_clock_gettime -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -dynamic" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -dynamic" >&5 printf %s "checking whether compiler supports -dynamic... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-dynamic @@ -14806,15 +14577,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-dynamic - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -14824,26 +14594,20 @@ else fi - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 printf %s "checking for library containing clock_gettime... " >&6; } if test ${ac_cv_search_clock_gettime+y} then : printf %s "(cached) " >&6 -else case e in #( - e) ac_func_search_save_LIBS=$LIBS +else $as_nop + ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. - The 'extern "C"' is for builds by C++ compilers; - although this is not generally supported in C code supporting it here - has little cost and some practical benefit (sr 110532). */ -#ifdef __cplusplus -extern "C" -#endif -char clock_gettime (void); + builtin and then its argument prototype would still apply. */ +char clock_gettime (); int main (void) { @@ -14874,16 +14638,14 @@ done if test ${ac_cv_search_clock_gettime+y} then : -else case e in #( - e) ac_cv_search_clock_gettime=no ;; -esac +else $as_nop + ac_cv_search_clock_gettime=no fi rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS ;; -esac +LIBS=$ac_func_search_save_LIBS fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 -printf '%s\n' "$ac_cv_search_clock_gettime" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 +printf "%s\n" "$ac_cv_search_clock_gettime" >&6; } ac_res=$ac_cv_search_clock_gettime if test "$ac_res" != no then : @@ -14904,13 +14666,13 @@ fi fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable" >&5 printf %s "checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable... " >&6; } if test ${je_cv_clock_monotonic_coarse+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14930,31 +14692,29 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_clock_monotonic_coarse=yes -else case e in #( - e) je_cv_clock_monotonic_coarse=no ;; -esac +else $as_nop + je_cv_clock_monotonic_coarse=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_clock_monotonic_coarse" >&5 -printf '%s\n' "$je_cv_clock_monotonic_coarse" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_clock_monotonic_coarse" >&5 +printf "%s\n" "$je_cv_clock_monotonic_coarse" >&6; } if test "x${je_cv_clock_monotonic_coarse}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime(CLOCK_MONOTONIC, ...) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime(CLOCK_MONOTONIC, ...) is compilable" >&5 printf %s "checking whether clock_gettime(CLOCK_MONOTONIC, ...) is compilable... " >&6; } if test ${je_cv_clock_monotonic+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -14978,31 +14738,29 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_clock_monotonic=yes -else case e in #( - e) je_cv_clock_monotonic=no ;; -esac +else $as_nop + je_cv_clock_monotonic=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_clock_monotonic" >&5 -printf '%s\n' "$je_cv_clock_monotonic" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_clock_monotonic" >&5 +printf "%s\n" "$je_cv_clock_monotonic" >&6; } if test "x${je_cv_clock_monotonic}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_CLOCK_MONOTONIC " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_CLOCK_MONOTONIC " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether mach_absolute_time() is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mach_absolute_time() is compilable" >&5 printf %s "checking whether mach_absolute_time() is compilable... " >&6; } if test ${je_cv_mach_absolute_time+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15020,31 +14778,29 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_mach_absolute_time=yes -else case e in #( - e) je_cv_mach_absolute_time=no ;; -esac +else $as_nop + je_cv_mach_absolute_time=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_mach_absolute_time" >&5 -printf '%s\n' "$je_cv_mach_absolute_time" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_mach_absolute_time" >&5 +printf "%s\n" "$je_cv_mach_absolute_time" >&6; } if test "x${je_cv_mach_absolute_time}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_MACH_ABSOLUTE_TIME " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_MACH_ABSOLUTE_TIME " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime(CLOCK_REALTIME, ...) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime(CLOCK_REALTIME, ...) is compilable" >&5 printf %s "checking whether clock_gettime(CLOCK_REALTIME, ...) is compilable... " >&6; } if test ${je_cv_clock_realtime+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15064,31 +14820,29 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_clock_realtime=yes -else case e in #( - e) je_cv_clock_realtime=no ;; -esac +else $as_nop + je_cv_clock_realtime=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_clock_realtime" >&5 -printf '%s\n' "$je_cv_clock_realtime" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_clock_realtime" >&5 +printf "%s\n" "$je_cv_clock_realtime" >&6; } if test "x${je_cv_clock_realtime}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_CLOCK_REALTIME " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_CLOCK_REALTIME " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime_nsec_np() is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime_nsec_np() is compilable" >&5 printf %s "checking whether clock_gettime_nsec_np() is compilable... " >&6; } if test ${je_cv_clock_gettime_nsec_np+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15106,20 +14860,18 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_clock_gettime_nsec_np=yes -else case e in #( - e) je_cv_clock_gettime_nsec_np=no ;; -esac +else $as_nop + je_cv_clock_gettime_nsec_np=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_clock_gettime_nsec_np" >&5 -printf '%s\n' "$je_cv_clock_gettime_nsec_np" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_clock_gettime_nsec_np" >&5 +printf "%s\n" "$je_cv_clock_gettime_nsec_np" >&6; } if test "x${je_cv_clock_gettime_nsec_np}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_CLOCK_GETTIME_NSEC_NP " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_CLOCK_GETTIME_NSEC_NP " >>confdefs.h fi @@ -15130,19 +14882,18 @@ then : enable_syscall="0" else enable_syscall="1" -fi +fi + +else $as_nop + enable_syscall="1" -else case e in #( - e) enable_syscall="1" - ;; -esac fi if test "x$enable_syscall" = "x1" ; then SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 printf %s "checking whether compiler supports -Werror... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror @@ -15176,15 +14927,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -15195,13 +14945,13 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether syscall(2) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether syscall(2) is compilable" >&5 printf %s "checking whether syscall(2) is compilable... " >&6; } if test ${je_cv_syscall+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15220,16 +14970,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_syscall=yes -else case e in #( - e) je_cv_syscall=no ;; -esac +else $as_nop + je_cv_syscall=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_syscall" >&5 -printf '%s\n' "$je_cv_syscall" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_syscall" >&5 +printf "%s\n" "$je_cv_syscall" >&6; } CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -15241,7 +14989,7 @@ fi if test "x$je_cv_syscall" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_USE_SYSCALL " >>confdefs.h +printf "%s\n" "#define JEMALLOC_USE_SYSCALL " >>confdefs.h fi fi @@ -15250,15 +14998,14 @@ ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv" if test "x$ac_cv_func_secure_getenv" = xyes then : have_secure_getenv="1" -else case e in #( - e) have_secure_getenv="0" - ;; -esac +else $as_nop + have_secure_getenv="0" + fi if test "x$have_secure_getenv" = "x1" ; then -printf '%s\n' "#define JEMALLOC_HAVE_SECURE_GETENV " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_SECURE_GETENV " >>confdefs.h fi @@ -15266,15 +15013,14 @@ ac_fn_c_check_func "$LINENO" "sched_getcpu" "ac_cv_func_sched_getcpu" if test "x$ac_cv_func_sched_getcpu" = xyes then : have_sched_getcpu="1" -else case e in #( - e) have_sched_getcpu="0" - ;; -esac +else $as_nop + have_sched_getcpu="0" + fi if test "x$have_sched_getcpu" = "x1" ; then -printf '%s\n' "#define JEMALLOC_HAVE_SCHED_GETCPU " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_SCHED_GETCPU " >>confdefs.h fi @@ -15282,15 +15028,14 @@ ac_fn_c_check_func "$LINENO" "sched_setaffinity" "ac_cv_func_sched_setaffinity" if test "x$ac_cv_func_sched_setaffinity" = xyes then : have_sched_setaffinity="1" -else case e in #( - e) have_sched_setaffinity="0" - ;; -esac +else $as_nop + have_sched_setaffinity="0" + fi if test "x$have_sched_setaffinity" = "x1" ; then -printf '%s\n' "#define JEMALLOC_HAVE_SCHED_SETAFFINITY " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_SCHED_SETAFFINITY " >>confdefs.h fi @@ -15298,15 +15043,14 @@ ac_fn_c_check_func "$LINENO" "pthread_setaffinity_np" "ac_cv_func_pthread_setaff if test "x$ac_cv_func_pthread_setaffinity_np" = xyes then : have_pthread_setaffinity_np="1" -else case e in #( - e) have_pthread_setaffinity_np="0" - ;; -esac +else $as_nop + have_pthread_setaffinity_np="0" + fi if test "x$have_pthread_setaffinity_np" = "x1" ; then -printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD_SETAFFINITY_NP " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_PTHREAD_SETAFFINITY_NP " >>confdefs.h fi @@ -15314,15 +15058,14 @@ ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid" if test "x$ac_cv_func_issetugid" = xyes then : have_issetugid="1" -else case e in #( - e) have_issetugid="0" - ;; -esac +else $as_nop + have_issetugid="0" + fi if test "x$have_issetugid" = "x1" ; then -printf '%s\n' "#define JEMALLOC_HAVE_ISSETUGID " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_ISSETUGID " >>confdefs.h fi @@ -15330,15 +15073,14 @@ ac_fn_c_check_func "$LINENO" "_malloc_thread_cleanup" "ac_cv_func__malloc_thread if test "x$ac_cv_func__malloc_thread_cleanup" = xyes then : have__malloc_thread_cleanup="1" -else case e in #( - e) have__malloc_thread_cleanup="0" - ;; -esac +else $as_nop + have__malloc_thread_cleanup="0" + fi if test "x$have__malloc_thread_cleanup" = "x1" ; then -printf '%s\n' "#define JEMALLOC_MALLOC_THREAD_CLEANUP " >>confdefs.h +printf "%s\n" "#define JEMALLOC_MALLOC_THREAD_CLEANUP " >>confdefs.h wrap_syms="${wrap_syms} _malloc_thread_cleanup _malloc_tsd_cleanup_register" force_tls="1" @@ -15348,15 +15090,14 @@ ac_fn_c_check_func "$LINENO" "_pthread_mutex_init_calloc_cb" "ac_cv_func__pthrea if test "x$ac_cv_func__pthread_mutex_init_calloc_cb" = xyes then : have__pthread_mutex_init_calloc_cb="1" -else case e in #( - e) have__pthread_mutex_init_calloc_cb="0" - ;; -esac +else $as_nop + have__pthread_mutex_init_calloc_cb="0" + fi if test "x$have__pthread_mutex_init_calloc_cb" = "x1" ; then -printf '%s\n' "#define JEMALLOC_MUTEX_INIT_CB " >>confdefs.h +printf "%s\n" "#define JEMALLOC_MUTEX_INIT_CB " >>confdefs.h wrap_syms="${wrap_syms} _malloc_prefork _malloc_postfork" fi @@ -15365,14 +15106,13 @@ ac_fn_c_check_func "$LINENO" "memcntl" "ac_cv_func_memcntl" if test "x$ac_cv_func_memcntl" = xyes then : have_memcntl="1" -else case e in #( - e) have_memcntl="0" ;; -esac +else $as_nop + have_memcntl="0" fi if test "x$have_memcntl" = "x1" ; then -printf '%s\n' "#define JEMALLOC_HAVE_MEMCNTL " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_MEMCNTL " >>confdefs.h fi @@ -15380,14 +15120,13 @@ ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl" if test "x$ac_cv_func_prctl" = xyes then : have_prctl="1" -else case e in #( - e) have_prctl="0" ;; -esac +else $as_nop + have_prctl="0" fi if test "x$have_prctl" = "x1" ; then -printf '%s\n' "#define JEMALLOC_HAVE_PRCTL " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_PRCTL " >>confdefs.h fi @@ -15400,30 +15139,29 @@ else enable_lazy_lock="1" fi -else case e in #( - e) enable_lazy_lock="" - ;; -esac +else $as_nop + enable_lazy_lock="" + fi if test "x${enable_lazy_lock}" = "x" ; then if test "x${force_lazy_lock}" = "x1" ; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: Forcing lazy-lock to avoid allocator/threading bootstrap issues" >&5 -printf '%s\n' "Forcing lazy-lock to avoid allocator/threading bootstrap issues" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Forcing lazy-lock to avoid allocator/threading bootstrap issues" >&5 +printf "%s\n" "Forcing lazy-lock to avoid allocator/threading bootstrap issues" >&6; } enable_lazy_lock="1" else enable_lazy_lock="0" fi fi if test "x${enable_lazy_lock}" = "x1" -a "x${abi}" = "xpecoff" ; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: Forcing no lazy-lock because thread creation monitoring is unimplemented" >&5 -printf '%s\n' "Forcing no lazy-lock because thread creation monitoring is unimplemented" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Forcing no lazy-lock because thread creation monitoring is unimplemented" >&5 +printf "%s\n" "Forcing no lazy-lock because thread creation monitoring is unimplemented" >&6; } enable_lazy_lock="0" fi if test "x$enable_lazy_lock" = "x1" ; then if test "x$have_dlsym" = "x1" ; then -printf '%s\n' "#define JEMALLOC_LAZY_LOCK " >>confdefs.h +printf "%s\n" "#define JEMALLOC_LAZY_LOCK " >>confdefs.h else as_fn_error $? "Missing dlsym support: lazy-lock cannot be enabled." "$LINENO" 5 @@ -15439,7 +15177,7 @@ else enable_tls="1" fi if test "x${enable_tls}" = "x1" ; then -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5 printf %s "checking for TLS... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -15460,13 +15198,12 @@ main (void) _ACEOF if ac_fn_c_try_compile "$LINENO" then : - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } - enable_tls="0" ;; -esac + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + enable_tls="0" fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext else @@ -15475,19 +15212,19 @@ fi if test "x${enable_tls}" = "x1" ; then -printf '%s\n' "#define JEMALLOC_TLS " >>confdefs.h +printf "%s\n" "#define JEMALLOC_TLS " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether C11 atomics is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C11 atomics is compilable" >&5 printf %s "checking whether C11 atomics is compilable... " >&6; } if test ${je_cv_c11_atomics+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15514,32 +15251,30 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_c11_atomics=yes -else case e in #( - e) je_cv_c11_atomics=no ;; -esac +else $as_nop + je_cv_c11_atomics=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_c11_atomics" >&5 -printf '%s\n' "$je_cv_c11_atomics" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_c11_atomics" >&5 +printf "%s\n" "$je_cv_c11_atomics" >&6; } if test "x${je_cv_c11_atomics}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_C11_ATOMICS " >>confdefs.h +printf "%s\n" "#define JEMALLOC_C11_ATOMICS " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GCC __atomic atomics is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GCC __atomic atomics is compilable" >&5 printf %s "checking whether GCC __atomic atomics is compilable... " >&6; } if test ${je_cv_gcc_atomic_atomics+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -15560,30 +15295,28 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_gcc_atomic_atomics=yes -else case e in #( - e) je_cv_gcc_atomic_atomics=no ;; -esac +else $as_nop + je_cv_gcc_atomic_atomics=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_atomic_atomics" >&5 -printf '%s\n' "$je_cv_gcc_atomic_atomics" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_atomic_atomics" >&5 +printf "%s\n" "$je_cv_gcc_atomic_atomics" >&6; } if test "x${je_cv_gcc_atomic_atomics}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_GCC_ATOMIC_ATOMICS " >>confdefs.h +printf "%s\n" "#define JEMALLOC_GCC_ATOMIC_ATOMICS " >>confdefs.h -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GCC 8-bit __atomic atomics is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GCC 8-bit __atomic atomics is compilable" >&5 printf %s "checking whether GCC 8-bit __atomic atomics is compilable... " >&6; } if test ${je_cv_gcc_u8_atomic_atomics+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -15604,33 +15337,31 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_gcc_u8_atomic_atomics=yes -else case e in #( - e) je_cv_gcc_u8_atomic_atomics=no ;; -esac +else $as_nop + je_cv_gcc_u8_atomic_atomics=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_u8_atomic_atomics" >&5 -printf '%s\n' "$je_cv_gcc_u8_atomic_atomics" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_u8_atomic_atomics" >&5 +printf "%s\n" "$je_cv_gcc_u8_atomic_atomics" >&6; } if test "x${je_cv_gcc_u8_atomic_atomics}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_GCC_U8_ATOMIC_ATOMICS " >>confdefs.h +printf "%s\n" "#define JEMALLOC_GCC_U8_ATOMIC_ATOMICS " >>confdefs.h fi fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GCC __sync atomics is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GCC __sync atomics is compilable" >&5 printf %s "checking whether GCC __sync atomics is compilable... " >&6; } if test ${je_cv_gcc_sync_atomics+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -15650,30 +15381,28 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_gcc_sync_atomics=yes -else case e in #( - e) je_cv_gcc_sync_atomics=no ;; -esac +else $as_nop + je_cv_gcc_sync_atomics=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_sync_atomics" >&5 -printf '%s\n' "$je_cv_gcc_sync_atomics" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_sync_atomics" >&5 +printf "%s\n" "$je_cv_gcc_sync_atomics" >&6; } if test "x${je_cv_gcc_sync_atomics}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_GCC_SYNC_ATOMICS " >>confdefs.h +printf "%s\n" "#define JEMALLOC_GCC_SYNC_ATOMICS " >>confdefs.h -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GCC 8-bit __sync atomics is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GCC 8-bit __sync atomics is compilable" >&5 printf %s "checking whether GCC 8-bit __sync atomics is compilable... " >&6; } if test ${je_cv_gcc_u8_sync_atomics+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -15693,33 +15422,31 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_gcc_u8_sync_atomics=yes -else case e in #( - e) je_cv_gcc_u8_sync_atomics=no ;; -esac +else $as_nop + je_cv_gcc_u8_sync_atomics=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_u8_sync_atomics" >&5 -printf '%s\n' "$je_cv_gcc_u8_sync_atomics" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_gcc_u8_sync_atomics" >&5 +printf "%s\n" "$je_cv_gcc_u8_sync_atomics" >&6; } if test "x${je_cv_gcc_u8_sync_atomics}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_GCC_U8_SYNC_ATOMICS " >>confdefs.h +printf "%s\n" "#define JEMALLOC_GCC_U8_SYNC_ATOMICS " >>confdefs.h fi fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether Darwin OSAtomic*() is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Darwin OSAtomic*() is compilable" >&5 printf %s "checking whether Darwin OSAtomic*() is compilable... " >&6; } if test ${je_cv_osatomic+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15747,20 +15474,18 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_osatomic=yes -else case e in #( - e) je_cv_osatomic=no ;; -esac +else $as_nop + je_cv_osatomic=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_osatomic" >&5 -printf '%s\n' "$je_cv_osatomic" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_osatomic" >&5 +printf "%s\n" "$je_cv_osatomic" >&6; } if test "x${je_cv_osatomic}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_OSATOMIC " >>confdefs.h +printf "%s\n" "#define JEMALLOC_OSATOMIC " >>confdefs.h fi @@ -15770,21 +15495,20 @@ fi if test ${with_experimental_sys_process_madvise+y} then : withval=$with_experimental_sys_process_madvise; je_cv_sys_pmadv_nr="${with_experimental_sys_process_madvise}" -else case e in #( - e) je_cv_sys_pmadv_nr="" ;; -esac +else $as_nop + je_cv_sys_pmadv_nr="" fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether madvise(2) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether madvise(2) is compilable" >&5 printf %s "checking whether madvise(2) is compilable... " >&6; } if test ${je_cv_madvise+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15802,30 +15526,28 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_madvise=yes -else case e in #( - e) je_cv_madvise=no ;; -esac +else $as_nop + je_cv_madvise=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_madvise" >&5 -printf '%s\n' "$je_cv_madvise" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_madvise" >&5 +printf "%s\n" "$je_cv_madvise" >&6; } if test "x${je_cv_madvise}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_MADVISE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_MADVISE " >>confdefs.h -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_FREE) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_FREE) is compilable" >&5 printf %s "checking whether madvise(..., MADV_FREE) is compilable... " >&6; } if test ${je_cv_madv_free+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15843,29 +15565,27 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_madv_free=yes -else case e in #( - e) je_cv_madv_free=no ;; -esac +else $as_nop + je_cv_madv_free=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_free" >&5 -printf '%s\n' "$je_cv_madv_free" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_free" >&5 +printf "%s\n" "$je_cv_madv_free" >&6; } if test "x${je_cv_madv_free}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_PURGE_MADVISE_FREE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_PURGE_MADVISE_FREE " >>confdefs.h elif test "x${je_cv_madvise}" = "xyes" ; then case "${host_cpu}" in i686|x86_64) case "${host}" in *-*-linux*) -printf '%s\n' "#define JEMALLOC_PURGE_MADVISE_FREE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_PURGE_MADVISE_FREE " >>confdefs.h -printf '%s\n' "#define JEMALLOC_DEFINE_MADVISE_FREE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_DEFINE_MADVISE_FREE " >>confdefs.h ;; esac @@ -15874,13 +15594,13 @@ printf '%s\n' "#define JEMALLOC_DEFINE_MADVISE_FREE " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_DONTNEED) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_DONTNEED) is compilable" >&5 printf %s "checking whether madvise(..., MADV_DONTNEED) is compilable... " >&6; } if test ${je_cv_madv_dontneed+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15898,31 +15618,29 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_madv_dontneed=yes -else case e in #( - e) je_cv_madv_dontneed=no ;; -esac +else $as_nop + je_cv_madv_dontneed=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_dontneed" >&5 -printf '%s\n' "$je_cv_madv_dontneed" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_dontneed" >&5 +printf "%s\n" "$je_cv_madv_dontneed" >&6; } if test "x${je_cv_madv_dontneed}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_PURGE_MADVISE_DONTNEED " >>confdefs.h +printf "%s\n" "#define JEMALLOC_PURGE_MADVISE_DONTNEED " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_DO[NT]DUMP) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_DO[NT]DUMP) is compilable" >&5 printf %s "checking whether madvise(..., MADV_DO[NT]DUMP) is compilable... " >&6; } if test ${je_cv_madv_dontdump+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15941,31 +15659,29 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_madv_dontdump=yes -else case e in #( - e) je_cv_madv_dontdump=no ;; -esac +else $as_nop + je_cv_madv_dontdump=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_dontdump" >&5 -printf '%s\n' "$je_cv_madv_dontdump" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_dontdump" >&5 +printf "%s\n" "$je_cv_madv_dontdump" >&6; } if test "x${je_cv_madv_dontdump}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_MADVISE_DONTDUMP " >>confdefs.h +printf "%s\n" "#define JEMALLOC_MADVISE_DONTDUMP " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_[NO]HUGEPAGE) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_[NO]HUGEPAGE) is compilable" >&5 printf %s "checking whether madvise(..., MADV_[NO]HUGEPAGE) is compilable... " >&6; } if test ${je_cv_thp+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -15984,16 +15700,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_thp=yes -else case e in #( - e) je_cv_thp=no ;; -esac +else $as_nop + je_cv_thp=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_thp" >&5 -printf '%s\n' "$je_cv_thp" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_thp" >&5 +printf "%s\n" "$je_cv_thp" >&6; } case "${host_cpu}" in arm*) @@ -16001,20 +15715,20 @@ printf '%s\n' "$je_cv_thp" >&6; } *) if test "x${je_cv_thp}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_MADVISE_HUGE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_MADVISE_HUGE " >>confdefs.h fi ;; esac -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_[NO]CORE) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_[NO]CORE) is compilable" >&5 printf %s "checking whether madvise(..., MADV_[NO]CORE) is compilable... " >&6; } if test ${je_cv_madv_nocore+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -16033,31 +15747,29 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_madv_nocore=yes -else case e in #( - e) je_cv_madv_nocore=no ;; -esac +else $as_nop + je_cv_madv_nocore=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_nocore" >&5 -printf '%s\n' "$je_cv_madv_nocore" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_nocore" >&5 +printf "%s\n" "$je_cv_madv_nocore" >&6; } if test "x${je_cv_madv_nocore}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_MADVISE_NOCORE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_MADVISE_NOCORE " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_COLLAPSE) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether madvise(..., MADV_COLLAPSE) is compilable" >&5 printf %s "checking whether madvise(..., MADV_COLLAPSE) is compilable... " >&6; } if test ${je_cv_madv_collapse+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -16075,31 +15787,29 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_madv_collapse=yes -else case e in #( - e) je_cv_madv_collapse=no ;; -esac +else $as_nop + je_cv_madv_collapse=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_collapse" >&5 -printf '%s\n' "$je_cv_madv_collapse" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_madv_collapse" >&5 +printf "%s\n" "$je_cv_madv_collapse" >&6; } if test "x${je_cv_madv_collapse}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_MADVISE_COLLAPSE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_MADVISE_COLLAPSE " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether process_madvise(2) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether process_madvise(2) is compilable" >&5 printf %s "checking whether process_madvise(2) is compilable... " >&6; } if test ${je_cv_process_madvise+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -16119,44 +15829,40 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_process_madvise=yes -else case e in #( - e) je_cv_process_madvise=no ;; -esac +else $as_nop + je_cv_process_madvise=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_process_madvise" >&5 -printf '%s\n' "$je_cv_process_madvise" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_process_madvise" >&5 +printf "%s\n" "$je_cv_process_madvise" >&6; } if test "x${je_cv_process_madvise}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_PROCESS_MADVISE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_PROCESS_MADVISE " >>confdefs.h else if test "x${je_cv_sys_pmadv_nr}" != "x" ; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: Forcing usage of process_madvise with syscall nr=${je_cv_sys_pmadv_nr}" >&5 -printf '%s\n' "Forcing usage of process_madvise with syscall nr=${je_cv_sys_pmadv_nr}" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Forcing usage of process_madvise with syscall nr=${je_cv_sys_pmadv_nr}" >&5 +printf "%s\n" "Forcing usage of process_madvise with syscall nr=${je_cv_sys_pmadv_nr}" >&6; } -printf '%s\n' "#define JEMALLOC_HAVE_PROCESS_MADVISE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_PROCESS_MADVISE " >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define EXPERIMENTAL_SYS_PROCESS_MADVISE_NR ${je_cv_sys_pmadv_nr} -_ACEOF +printf "%s\n" "#define EXPERIMENTAL_SYS_PROCESS_MADVISE_NR ${je_cv_sys_pmadv_nr}" >>confdefs.h fi fi else -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether posix_madvise is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether posix_madvise is compilable" >&5 printf %s "checking whether posix_madvise is compilable... " >&6; } if test ${je_cv_posix_madvise+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -16174,30 +15880,28 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_posix_madvise=yes -else case e in #( - e) je_cv_posix_madvise=no ;; -esac +else $as_nop + je_cv_posix_madvise=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_posix_madvise" >&5 -printf '%s\n' "$je_cv_posix_madvise" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_posix_madvise" >&5 +printf "%s\n" "$je_cv_posix_madvise" >&6; } if test "x${je_cv_posix_madvise}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_POSIX_MADVISE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_POSIX_MADVISE " >>confdefs.h -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether posix_madvise(..., POSIX_MADV_DONTNEED) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether posix_madvise(..., POSIX_MADV_DONTNEED) is compilable" >&5 printf %s "checking whether posix_madvise(..., POSIX_MADV_DONTNEED) is compilable... " >&6; } if test ${je_cv_posix_madv_dontneed+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -16215,20 +15919,18 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_posix_madv_dontneed=yes -else case e in #( - e) je_cv_posix_madv_dontneed=no ;; -esac +else $as_nop + je_cv_posix_madv_dontneed=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_posix_madv_dontneed" >&5 -printf '%s\n' "$je_cv_posix_madv_dontneed" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_posix_madv_dontneed" >&5 +printf "%s\n" "$je_cv_posix_madv_dontneed" >&6; } if test "x${je_cv_posix_madv_dontneed}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_PURGE_POSIX_MADVISE_DONTNEED " >>confdefs.h +printf "%s\n" "#define JEMALLOC_PURGE_POSIX_MADVISE_DONTNEED " >>confdefs.h fi fi @@ -16236,13 +15938,13 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether mprotect(2) is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mprotect(2) is compilable" >&5 printf %s "checking whether mprotect(2) is compilable... " >&6; } if test ${je_cv_mprotect+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -16260,31 +15962,29 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_mprotect=yes -else case e in #( - e) je_cv_mprotect=no ;; -esac +else $as_nop + je_cv_mprotect=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_mprotect" >&5 -printf '%s\n' "$je_cv_mprotect" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_mprotect" >&5 +printf "%s\n" "$je_cv_mprotect" >&6; } if test "x${je_cv_mprotect}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_MPROTECT " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_MPROTECT " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5 printf %s "checking for __builtin_clz... " >&6; } if test ${je_cv_builtin_clz+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -16311,32 +16011,30 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_builtin_clz=yes -else case e in #( - e) je_cv_builtin_clz=no ;; -esac +else $as_nop + je_cv_builtin_clz=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_builtin_clz" >&5 -printf '%s\n' "$je_cv_builtin_clz" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_builtin_clz" >&5 +printf "%s\n" "$je_cv_builtin_clz" >&6; } if test "x${je_cv_builtin_clz}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_BUILTIN_CLZ " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_BUILTIN_CLZ " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether Darwin os_unfair_lock_*() is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Darwin os_unfair_lock_*() is compilable" >&5 printf %s "checking whether Darwin os_unfair_lock_*() is compilable... " >&6; } if test ${je_cv_os_unfair_lock+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -16361,20 +16059,18 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_os_unfair_lock=yes -else case e in #( - e) je_cv_os_unfair_lock=no ;; -esac +else $as_nop + je_cv_os_unfair_lock=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_os_unfair_lock" >&5 -printf '%s\n' "$je_cv_os_unfair_lock" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_os_unfair_lock" >&5 +printf "%s\n" "$je_cv_os_unfair_lock" >&6; } if test "x${je_cv_os_unfair_lock}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_OS_UNFAIR_LOCK " >>confdefs.h +printf "%s\n" "#define JEMALLOC_OS_UNFAIR_LOCK " >>confdefs.h fi @@ -16388,13 +16084,12 @@ else enable_zone_allocator="1" fi -else case e in #( - e) if test "x${abi}" = "xmacho"; then +else $as_nop + if test "x${abi}" = "xmacho"; then enable_zone_allocator="1" fi - ;; -esac + fi @@ -16404,7 +16099,7 @@ if test "x${enable_zone_allocator}" = "x1" ; then as_fn_error $? "--enable-zone-allocator is only supported on Darwin" "$LINENO" 5 fi -printf '%s\n' "#define JEMALLOC_ZONE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_ZONE " >>confdefs.h fi @@ -16417,10 +16112,9 @@ else enable_initial_exec_tls="1" fi -else case e in #( - e) enable_initial_exec_tls="1" - ;; -esac +else $as_nop + enable_initial_exec_tls="1" + fi @@ -16428,11 +16122,11 @@ fi if test "x${je_cv_tls_model}" = "xyes" -a \ "x${enable_initial_exec_tls}" = "x1" ; then -printf '%s\n' "#define JEMALLOC_TLS_MODEL __attribute__((tls_model(\"initial-exec\")))" >>confdefs.h +printf "%s\n" "#define JEMALLOC_TLS_MODEL __attribute__((tls_model(\"initial-exec\")))" >>confdefs.h else -printf '%s\n' "#define JEMALLOC_TLS_MODEL " >>confdefs.h +printf "%s\n" "#define JEMALLOC_TLS_MODEL " >>confdefs.h fi @@ -16445,15 +16139,14 @@ else enable_pageid="1" fi -else case e in #( - e) enable_pageid="0" - ;; -esac +else $as_nop + enable_pageid="0" + fi if test "x$enable_pageid" = "x1" -a "x$have_prctl" = "x1" ; then -printf '%s\n' "#define JEMALLOC_PAGEID " >>confdefs.h +printf "%s\n" "#define JEMALLOC_PAGEID " >>confdefs.h fi @@ -16466,15 +16159,14 @@ else enable_tsan="1" fi -else case e in #( - e) enable_tsan="0" - ;; -esac +else $as_nop + enable_tsan="0" + fi if test "x$enable_tsan" = "x1" ; then -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fsanitize=thread" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fsanitize=thread" >&5 printf %s "checking whether compiler supports -fsanitize=thread... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-fsanitize=thread @@ -16508,15 +16200,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-fsanitize=thread - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -16527,7 +16218,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fsanitize=thread" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fsanitize=thread" >&5 printf %s "checking whether compiler supports -fsanitize=thread... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-fsanitize=thread @@ -16567,15 +16258,14 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-fsanitize=thread - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cxxflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cxxflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -16592,7 +16282,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether linker supports -fsanitize=thread" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether linker supports -fsanitize=thread" >&5 printf %s "checking whether linker supports -fsanitize=thread... " >&6; } T_CONFIGURE_LDFLAGS="${CONFIGURE_LDFLAGS}" T_APPEND_V=-fsanitize=thread @@ -16626,15 +16316,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_ldflags_added=-fsanitize=thread - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_ldflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_ldflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_LDFLAGS="${T_CONFIGURE_LDFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext @@ -16656,15 +16345,14 @@ else enable_ubsan="1" fi -else case e in #( - e) enable_ubsan="0" - ;; -esac +else $as_nop + enable_ubsan="0" + fi if test "x$enable_ubsan" = "x1" ; then -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fsanitize=undefined" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fsanitize=undefined" >&5 printf %s "checking whether compiler supports -fsanitize=undefined... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-fsanitize=undefined @@ -16698,15 +16386,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-fsanitize=undefined - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -16717,7 +16404,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fsanitize=undefined" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fsanitize=undefined" >&5 printf %s "checking whether compiler supports -fsanitize=undefined... " >&6; } T_CONFIGURE_CXXFLAGS="${CONFIGURE_CXXFLAGS}" T_APPEND_V=-fsanitize=undefined @@ -16757,15 +16444,14 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO" then : je_cv_cxxflags_added=-fsanitize=undefined - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cxxflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cxxflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CXXFLAGS="${T_CONFIGURE_CXXFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c @@ -16782,7 +16468,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether linker supports -fsanitize=undefined" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether linker supports -fsanitize=undefined" >&5 printf %s "checking whether linker supports -fsanitize=undefined... " >&6; } T_CONFIGURE_LDFLAGS="${CONFIGURE_LDFLAGS}" T_APPEND_V=-fsanitize=undefined @@ -16816,15 +16502,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_ldflags_added=-fsanitize=undefined - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_ldflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_ldflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_LDFLAGS="${T_CONFIGURE_LDFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext @@ -16841,20 +16526,20 @@ fi if test "x${have_pthread}" = "x1" -a "x${je_cv_os_unfair_lock}" != "xyes" -a \ "x${abi}" != "xmacho" ; then -printf '%s\n' "#define JEMALLOC_BACKGROUND_THREAD " >>confdefs.h +printf "%s\n" "#define JEMALLOC_BACKGROUND_THREAD " >>confdefs.h fi if test "x$glibc" = "x1" ; then -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether glibc malloc hook is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether glibc malloc hook is compilable" >&5 printf %s "checking whether glibc malloc hook is compilable... " >&6; } if test ${je_cv_glibc_malloc_hook+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -16879,34 +16564,32 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_glibc_malloc_hook=yes -else case e in #( - e) je_cv_glibc_malloc_hook=no ;; -esac +else $as_nop + je_cv_glibc_malloc_hook=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_glibc_malloc_hook" >&5 -printf '%s\n' "$je_cv_glibc_malloc_hook" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_glibc_malloc_hook" >&5 +printf "%s\n" "$je_cv_glibc_malloc_hook" >&6; } if test "x${je_cv_glibc_malloc_hook}" = "xyes" ; then if test "x${JEMALLOC_PREFIX}" = "x" ; then -printf '%s\n' "#define JEMALLOC_GLIBC_MALLOC_HOOK " >>confdefs.h +printf "%s\n" "#define JEMALLOC_GLIBC_MALLOC_HOOK " >>confdefs.h wrap_syms="${wrap_syms} __free_hook __malloc_hook __realloc_hook" fi fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether glibc memalign hook is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether glibc memalign hook is compilable" >&5 printf %s "checking whether glibc memalign hook is compilable... " >&6; } if test ${je_cv_glibc_memalign_hook+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -16927,21 +16610,19 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_glibc_memalign_hook=yes -else case e in #( - e) je_cv_glibc_memalign_hook=no ;; -esac +else $as_nop + je_cv_glibc_memalign_hook=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_glibc_memalign_hook" >&5 -printf '%s\n' "$je_cv_glibc_memalign_hook" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_glibc_memalign_hook" >&5 +printf "%s\n" "$je_cv_glibc_memalign_hook" >&6; } if test "x${je_cv_glibc_memalign_hook}" = "xyes" ; then if test "x${JEMALLOC_PREFIX}" = "x" ; then -printf '%s\n' "#define JEMALLOC_GLIBC_MEMALIGN_HOOK " >>confdefs.h +printf "%s\n" "#define JEMALLOC_GLIBC_MEMALIGN_HOOK " >>confdefs.h wrap_syms="${wrap_syms} __memalign_hook" fi @@ -16949,13 +16630,13 @@ printf '%s\n' "#define JEMALLOC_GLIBC_MEMALIGN_HOOK " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether pthreads adaptive mutexes is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads adaptive mutexes is compilable" >&5 printf %s "checking whether pthreads adaptive mutexes is compilable... " >&6; } if test ${je_cv_pthread_mutex_adaptive_np+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -16976,31 +16657,29 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_pthread_mutex_adaptive_np=yes -else case e in #( - e) je_cv_pthread_mutex_adaptive_np=no ;; -esac +else $as_nop + je_cv_pthread_mutex_adaptive_np=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_mutex_adaptive_np" >&5 -printf '%s\n' "$je_cv_pthread_mutex_adaptive_np" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_pthread_mutex_adaptive_np" >&5 +printf "%s\n" "$je_cv_pthread_mutex_adaptive_np" >&6; } if test "x${je_cv_pthread_mutex_adaptive_np}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_PTHREAD_MUTEX_ADAPTIVE_NP " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_PTHREAD_MUTEX_ADAPTIVE_NP " >>confdefs.h fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether gettid is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gettid is compilable" >&5 printf %s "checking whether gettid is compilable... " >&6; } if test ${je_cv_gettid+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -17018,27 +16697,25 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_gettid=yes -else case e in #( - e) je_cv_gettid=no ;; -esac +else $as_nop + je_cv_gettid=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_gettid" >&5 -printf '%s\n' "$je_cv_gettid" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_gettid" >&5 +printf "%s\n" "$je_cv_gettid" >&6; } if test "x${je_cv_gettid}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_HAVE_GETTID " >>confdefs.h +printf "%s\n" "#define JEMALLOC_HAVE_GETTID " >>confdefs.h fi SAVED_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -D_GNU_SOURCE" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -D_GNU_SOURCE" >&5 printf %s "checking whether compiler supports -D_GNU_SOURCE... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-D_GNU_SOURCE @@ -17072,15 +16749,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-D_GNU_SOURCE - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -17091,7 +16767,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5 printf %s "checking whether compiler supports -Werror... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-Werror @@ -17125,15 +16801,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-Werror - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -17144,7 +16819,7 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -herror_on_warning" >&5 printf %s "checking whether compiler supports -herror_on_warning... " >&6; } T_CONFIGURE_CFLAGS="${CONFIGURE_CFLAGS}" T_APPEND_V=-herror_on_warning @@ -17178,15 +16853,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : je_cv_cflags_added=-herror_on_warning - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf '%s\n' "yes" >&6; } -else case e in #( - e) je_cv_cflags_added= - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf '%s\n' "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + je_cv_cflags_added= + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } CONFIGURE_CFLAGS="${T_CONFIGURE_CFLAGS}" - ;; -esac + fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test "x${CONFIGURE_CFLAGS}" = "x" -o "x${SPECIFIED_CFLAGS}" = "x" ; then @@ -17197,13 +16871,13 @@ fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char with gnu source is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char with gnu source is compilable" >&5 printf %s "checking whether strerror_r returns char with gnu source is compilable... " >&6; } if test ${je_cv_strerror_r_returns_char_with_gnu_source+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -17226,26 +16900,24 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_strerror_r_returns_char_with_gnu_source=yes -else case e in #( - e) je_cv_strerror_r_returns_char_with_gnu_source=no ;; -esac +else $as_nop + je_cv_strerror_r_returns_char_with_gnu_source=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_strerror_r_returns_char_with_gnu_source" >&5 -printf '%s\n' "$je_cv_strerror_r_returns_char_with_gnu_source" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_strerror_r_returns_char_with_gnu_source" >&5 +printf "%s\n" "$je_cv_strerror_r_returns_char_with_gnu_source" >&6; } if test "x${je_cv_strerror_r_returns_char_with_gnu_source}" = "xno" ; then -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether strerror_r header only is compilable" >&5 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r header only is compilable" >&5 printf %s "checking whether strerror_r header only is compilable... " >&6; } if test ${je_cv_strerror_r_header_pass+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -17264,16 +16936,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : je_cv_strerror_r_header_pass=yes -else case e in #( - e) je_cv_strerror_r_header_pass=no ;; -esac +else $as_nop + je_cv_strerror_r_header_pass=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext ;; -esac + conftest$ac_exeext conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $je_cv_strerror_r_header_pass" >&5 -printf '%s\n' "$je_cv_strerror_r_header_pass" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $je_cv_strerror_r_header_pass" >&5 +printf "%s\n" "$je_cv_strerror_r_header_pass" >&6; } fi CONFIGURE_CFLAGS="${SAVED_CONFIGURE_CFLAGS}" @@ -17286,7 +16956,7 @@ fi if test "x${je_cv_strerror_r_returns_char_with_gnu_source}" = "xyes" ; then -printf '%s\n' "#define JEMALLOC_STRERROR_R_RETURNS_CHAR_WITH_GNU_SOURCE " >>confdefs.h +printf "%s\n" "#define JEMALLOC_STRERROR_R_RETURNS_CHAR_WITH_GNU_SOURCE " >>confdefs.h elif test "x${je_cv_strerror_r_header_pass}" = "xno" ; then as_fn_error $? "cannot determine return type of strerror_r" "$LINENO" 5 @@ -17296,30 +16966,30 @@ ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" if test "x$ac_cv_type__Bool" = xyes then : -printf '%s\n' "#define HAVE__BOOL 1" >>confdefs.h +printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h fi - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99 or later" >&5 -printf %s "checking for stdbool.h that conforms to C99 or later... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 +printf %s "checking for stdbool.h that conforms to C99... " >&6; } if test ${ac_cv_header_stdbool_h+y} then : printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - /* "true" and "false" should be usable in #if expressions and - integer constant expressions, and "bool" should be a valid - type name. + #ifndef __bool_true_false_are_defined + #error "__bool_true_false_are_defined is not defined" + #endif + char a[__bool_true_false_are_defined == 1 ? 1 : -1]; - Although C99 requires bool, true, and false to be macros, - C23 and C++11 overrule that, so do not test for that. - Although C99 requires __bool_true_false_are_defined and - _Bool, C23 says they are obsolescent, so do not require - them. */ + /* Regardless of whether this is C++ or "_Bool" is a + valid type name, "true" and "false" should be usable + in #if expressions and integer constant expressions, + and "bool" should be a valid type name. */ #if !true #error "'true' is not true" @@ -17353,12 +17023,43 @@ else case e in #( char n[sizeof m == h * sizeof m[0] ? 1 : -1]; char o[-1 - (bool) 0 < 0 ? 1 : -1]; /* Catch a bug in an HP-UX C compiler. See - https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html - https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html + https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html + https://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html */ bool p = true; bool *pp = &p; + /* C 1999 specifies that bool, true, and false are to be + macros, but C++ 2011 and later overrule this. */ + #if __cplusplus < 201103 + #ifndef bool + #error "bool is not defined" + #endif + #ifndef false + #error "false is not defined" + #endif + #ifndef true + #error "true is not defined" + #endif + #endif + + /* If _Bool is available, repeat with it all the tests + above that used bool. */ + #ifdef HAVE__BOOL + struct sB { _Bool s: 1; _Bool t; } t; + + char q[(_Bool) 0.5 == true ? 1 : -1]; + char r[(_Bool) 0.0 == false ? 1 : -1]; + char u[sizeof (_Bool) > 0 ? 1 : -1]; + char v[sizeof t.t > 0 ? 1 : -1]; + + _Bool w[h]; + char x[sizeof m == h * sizeof m[0] ? 1 : -1]; + char y[-1 - (_Bool) 0 < 0 ? 1 : -1]; + _Bool z = true; + _Bool *pz = &p; + #endif + int main (void) { @@ -17367,10 +17068,20 @@ main (void) *pp |= p; *pp |= ! p; + #ifdef HAVE__BOOL + _Bool pt = &t; + *pz |= z; + *pz |= ! z; + #endif + /* Refer to every declared value, so they cannot be discarded as unused. */ - return (!b + !c + !d + !e + !f + !g + !h + !i + !j + !k - + !l + !m + !n + !o + !p + !pp + !ps); + return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k + + !l + !m + !n + !o + !p + !pp + !ps + #ifdef HAVE__BOOL + + !q + !r + !u + !v + !w + !x + !y + !z + !pt + #endif + ); ; return 0; @@ -17379,19 +17090,17 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_header_stdbool_h=yes -else case e in #( - e) ac_cv_header_stdbool_h=no ;; -esac +else $as_nop + ac_cv_header_stdbool_h=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 -printf '%s\n' "$ac_cv_header_stdbool_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 +printf "%s\n" "$ac_cv_header_stdbool_h" >&6; } if test $ac_cv_header_stdbool_h = yes; then -printf '%s\n' "#define HAVE_STDBOOL_H 1" >>confdefs.h +printf "%s\n" "#define HAVE_STDBOOL_H 1" >>confdefs.h fi @@ -17438,13 +17147,50 @@ cat >confcache <<\_ACEOF # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # -# 'ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* 'ac_cv_foo' will be assigned the +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF -ac_cache_dump | +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | sed ' /^ac_cv_env_/b end t clear @@ -17456,8 +17202,8 @@ ac_cache_dump | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -printf '%s\n' "$as_me: updating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +printf "%s\n" "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else @@ -17471,8 +17217,8 @@ printf '%s\n' "$as_me: updating cache $cache_file" >&6;} fi fi else - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache @@ -17489,7 +17235,7 @@ U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"` + ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" @@ -17503,21 +17249,13 @@ LTLIBOBJS=$ac_ltlibobjs : "${CONFIG_STATUS=./config.status}" -case $CONFIG_STATUS in #( - -*) : - CONFIG_STATUS=./$CONFIG_STATUS ;; #( - */*) : - ;; #( - *) : - CONFIG_STATUS=./$CONFIG_STATUS ;; -esac - ac_write_fail=0 -ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"' -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;} +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 -cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. @@ -17531,28 +17269,28 @@ ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF -cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1 +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh +as_nop=: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # contradicts POSIX and common usage. Disable this. + # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST -else case e in #( - e) case `(set -o) 2>/dev/null` in #( +else $as_nop + case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; -esac ;; esac fi @@ -17624,13 +17362,13 @@ IFS=$as_save_IFS ;; esac -# We did not find ourselves, most probably we were run as 'sh COMMAND' +# We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then - printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi @@ -17646,13 +17384,14 @@ as_fn_error () as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - printf '%s\n' "$as_me: error: $2" >&2 + printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -17692,12 +17431,11 @@ then : { eval $1+=\$2 }' -else case e in #( - e) as_fn_append () +else $as_nop + as_fn_append () { eval $1=\$$1\$2 - } ;; -esac + } fi # as_fn_append # as_fn_arith ARG... @@ -17711,12 +17449,11 @@ then : { as_val=$(( $* )) }' -else case e in #( - e) as_fn_arith () +else $as_nop + as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` - } ;; -esac + } fi # as_fn_arith @@ -17743,7 +17480,7 @@ as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -printf '%s\n' X/"$0" | +printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -17765,6 +17502,29 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBSTed +# for compatibility with existing Makefiles. +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +# For backward compatibility with old third-party macros, we provide +# the shell variables $as_echo and $as_echo_n. New code should use +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. +as_echo='printf %s\n' +as_echo_n='printf %s' + rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -17776,9 +17536,9 @@ if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: - # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. - # In both cases, we have to default to 'cp -pR'. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then @@ -17806,7 +17566,7 @@ as_fn_mkdir_p () as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" @@ -17815,7 +17575,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -printf '%s\n' X"$as_dir" | +printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -17859,28 +17619,26 @@ as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. -as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" -as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. -as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" -as_tr_sh="eval sed '$as_sed_sh'" # deprecated +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 -## ------------------------------------- ## -## Main body of "$CONFIG_STATUS" script. ## -## ------------------------------------- ## +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## _ASEOF -test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1 +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 -cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by $as_me, which was -generated by GNU Autoconf 2.73. Invocation command line was +generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -17902,7 +17660,7 @@ case $ac_config_headers in *" esac -cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" @@ -17910,9 +17668,9 @@ config_commands="$ac_config_commands" _ACEOF -cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ -'$as_me' instantiates files and other configuration actions +\`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. @@ -17942,16 +17700,16 @@ $config_commands Report bugs to the package provider." _ACEOF -ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"` -ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` -cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 +ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` +ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ config.status -configured by $0, generated by GNU Autoconf 2.73, +configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" -Copyright (C) 2026 Free Software Foundation, Inc. +Copyright (C) 2021 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -17959,14 +17717,10 @@ ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' AWK='$AWK' -test -n "\$AWK" || { - awk '' >"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 @@ -17994,15 +17748,15 @@ do -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - printf '%s\n' "$ac_cs_version"; exit ;; + printf "%s\n" "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) - printf '%s\n' "$ac_cs_config"; exit ;; + printf "%s\n" "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" @@ -18010,23 +17764,23 @@ do --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header - as_fn_error $? "ambiguous option: '$1' -Try '$0 --help' for more information.";; + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; --help | --hel | -h ) - printf '%s\n' "$ac_cs_usage"; exit ;; + printf "%s\n" "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. - -*) as_fn_error $? "unrecognized option: '$1' -Try '$0 --help' for more information." ;; + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; @@ -18043,29 +17797,29 @@ if $ac_cs_silent; then fi _ACEOF -cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift - \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6 + \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF -cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX - printf '%s\n' "$ac_log" + printf "%s\n" "$ac_log" } >&5 _ACEOF -cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # @@ -18123,7 +17877,7 @@ cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 _ACEOF -cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets @@ -18146,7 +17900,7 @@ do "bin/jemalloc.sh") CONFIG_FILES="$CONFIG_FILES bin/jemalloc.sh" ;; "bin/jeprof") CONFIG_FILES="$CONFIG_FILES bin/jeprof" ;; - *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;; + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done @@ -18166,7 +17920,7 @@ fi # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to '$tmp'. +# after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= @@ -18190,7 +17944,7 @@ ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. -# This happens for instance with './config.status config.h'. +# This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then @@ -18218,13 +17972,13 @@ _ACEOF echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='` +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='` + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then @@ -18235,7 +17989,7 @@ for ac_last_try in false false false false false :; do done rm -f conf$$subs.sh -cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' @@ -18280,9 +18034,9 @@ t delim N s/\n// } -' >>"$CONFIG_STATUS" || ac_write_fail=1 +' >>$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk -cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 @@ -18311,7 +18065,7 @@ cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && _ACAWK _ACEOF -cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else @@ -18343,18 +18097,18 @@ s/^[^=]*=[ ]*$// }' fi -cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with './config.status Makefile'. +# This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF -# Transform confdefs.h into an awk script 'defines.awk', embedded as +# Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. @@ -18414,9 +18168,9 @@ s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >"$CONFIG_STATUS" || ac_write_fail=1 +"/g' >>$CONFIG_STATUS || ac_write_fail=1 -cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } @@ -18434,12 +18188,8 @@ cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { - suffix = P[macro] D[macro] - while (suffix ~ /[\t ]$/) { - suffix = substr(suffix, 1, length(suffix) - 1) - } # Preserve the white space surrounding the "#". - print prefix "define", macro suffix + print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, @@ -18454,7 +18204,7 @@ cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 { print } _ACAWK _ACEOF -cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" @@ -18468,7 +18218,7 @@ do esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac @@ -18490,33 +18240,33 @@ do -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain ':'. + # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || - as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;; + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac - case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done - # Let's still pretend it is 'configure' which instantiates (i.e., don't + # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` - printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -printf '%s\n' "$as_me: creating $ac_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +printf "%s\n" "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) - ac_sed_conf_input=`printf '%s\n' "$configure_input" | + ac_sed_conf_input=`printf "%s\n" "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac @@ -18533,7 +18283,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -printf '%s\n' X"$ac_file" | +printf "%s\n" X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -18557,9 +18307,9 @@ printf '%s\n' X"$ac_file" | case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -18599,7 +18349,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix esac _ACEOF -cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= @@ -18616,10 +18366,10 @@ ac_sed_dataroot=' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF -cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g @@ -18630,14 +18380,14 @@ cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 esac _ACEOF -# Neutralize VPATH when '$srcdir' = '.'. +# Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? -cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF -cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t @@ -18660,9 +18410,9 @@ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir' + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 -printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir' +printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" @@ -18678,27 +18428,27 @@ which seems to be undefined. Please make sure it is defined" >&2;} # if test x"$ac_file" != x-; then { - printf '%s\n' "/* $configure_input */" >&1 \ + printf "%s\n" "/* $configure_input */" >&1 \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -printf '%s\n' "$as_me: $ac_file is unchanged" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else - printf '%s\n' "/* $configure_input */" >&1 \ + printf "%s\n" "/* $configure_input */" >&1 \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi ;; - :C) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -printf '%s\n' "$as_me: executing $ac_file commands" >&6;} + :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +printf "%s\n" "$as_me: executing $ac_file commands" >&6;} ;; esac @@ -18767,7 +18517,7 @@ done # for ac_tag as_fn_exit 0 _ACEOF -ac_clean_CONFIG_STATUS= +ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 @@ -18783,163 +18533,156 @@ test $ac_write_fail = 0 || # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: - case $CONFIG_STATUS in #( - -*) : - ac_no_opts=-- ;; #( - *) : - ac_no_opts= ;; -esac ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null - $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args || - ac_cs_success=false + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -fi - - -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ===============================================================================" >&5 -printf '%s\n' "===============================================================================" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: jemalloc version : ${jemalloc_version}" >&5 -printf '%s\n' "jemalloc version : ${jemalloc_version}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: library revision : ${rev}" >&5 -printf '%s\n' "library revision : ${rev}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf '%s\n' "" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: CONFIG : ${CONFIG}" >&5 -printf '%s\n' "CONFIG : ${CONFIG}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: CC : ${CC}" >&5 -printf '%s\n' "CC : ${CC}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: CONFIGURE_CFLAGS : ${CONFIGURE_CFLAGS}" >&5 -printf '%s\n' "CONFIGURE_CFLAGS : ${CONFIGURE_CFLAGS}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: SPECIFIED_CFLAGS : ${SPECIFIED_CFLAGS}" >&5 -printf '%s\n' "SPECIFIED_CFLAGS : ${SPECIFIED_CFLAGS}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: EXTRA_CFLAGS : ${EXTRA_CFLAGS}" >&5 -printf '%s\n' "EXTRA_CFLAGS : ${EXTRA_CFLAGS}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: CPPFLAGS : ${CPPFLAGS}" >&5 -printf '%s\n' "CPPFLAGS : ${CPPFLAGS}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: CXX : ${CXX}" >&5 -printf '%s\n' "CXX : ${CXX}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: CONFIGURE_CXXFLAGS : ${CONFIGURE_CXXFLAGS}" >&5 -printf '%s\n' "CONFIGURE_CXXFLAGS : ${CONFIGURE_CXXFLAGS}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: SPECIFIED_CXXFLAGS : ${SPECIFIED_CXXFLAGS}" >&5 -printf '%s\n' "SPECIFIED_CXXFLAGS : ${SPECIFIED_CXXFLAGS}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: EXTRA_CXXFLAGS : ${EXTRA_CXXFLAGS}" >&5 -printf '%s\n' "EXTRA_CXXFLAGS : ${EXTRA_CXXFLAGS}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: CONFIGURE_LDFLAGS : ${CONFIGURE_LDFLAGS}" >&5 -printf '%s\n' "CONFIGURE_LDFLAGS : ${CONFIGURE_LDFLAGS}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: SPECIFIED_LDFLAGS : ${SPECIFIED_LDFLAGS}" >&5 -printf '%s\n' "SPECIFIED_LDFLAGS : ${SPECIFIED_LDFLAGS}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: EXTRA_LDFLAGS : ${EXTRA_LDFLAGS}" >&5 -printf '%s\n' "EXTRA_LDFLAGS : ${EXTRA_LDFLAGS}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: DSO_LDFLAGS : ${DSO_LDFLAGS}" >&5 -printf '%s\n' "DSO_LDFLAGS : ${DSO_LDFLAGS}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: LIBS : ${LIBS}" >&5 -printf '%s\n' "LIBS : ${LIBS}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: RPATH_EXTRA : ${RPATH_EXTRA}" >&5 -printf '%s\n' "RPATH_EXTRA : ${RPATH_EXTRA}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf '%s\n' "" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: XSLTPROC : ${XSLTPROC}" >&5 -printf '%s\n' "XSLTPROC : ${XSLTPROC}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: XSLROOT : ${XSLROOT}" >&5 -printf '%s\n' "XSLROOT : ${XSLROOT}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf '%s\n' "" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: PREFIX : ${PREFIX}" >&5 -printf '%s\n' "PREFIX : ${PREFIX}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: BINDIR : ${BINDIR}" >&5 -printf '%s\n' "BINDIR : ${BINDIR}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: DATADIR : ${DATADIR}" >&5 -printf '%s\n' "DATADIR : ${DATADIR}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: INCLUDEDIR : ${INCLUDEDIR}" >&5 -printf '%s\n' "INCLUDEDIR : ${INCLUDEDIR}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: LIBDIR : ${LIBDIR}" >&5 -printf '%s\n' "LIBDIR : ${LIBDIR}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: MANDIR : ${MANDIR}" >&5 -printf '%s\n' "MANDIR : ${MANDIR}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf '%s\n' "" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: LG_PAGE : ${LG_PAGE}" >&5 -printf '%s\n' "LG_PAGE : ${LG_PAGE}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf '%s\n' "" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: srcroot : ${srcroot}" >&5 -printf '%s\n' "srcroot : ${srcroot}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: abs_srcroot : ${abs_srcroot}" >&5 -printf '%s\n' "abs_srcroot : ${abs_srcroot}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: objroot : ${objroot}" >&5 -printf '%s\n' "objroot : ${objroot}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: abs_objroot : ${abs_objroot}" >&5 -printf '%s\n' "abs_objroot : ${abs_objroot}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf '%s\n' "" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: JEMALLOC_PREFIX : ${JEMALLOC_PREFIX}" >&5 -printf '%s\n' "JEMALLOC_PREFIX : ${JEMALLOC_PREFIX}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: JEMALLOC_PRIVATE_NAMESPACE" >&5 -printf '%s\n' "JEMALLOC_PRIVATE_NAMESPACE" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: : ${JEMALLOC_PRIVATE_NAMESPACE}" >&5 -printf '%s\n' " : ${JEMALLOC_PRIVATE_NAMESPACE}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: install_suffix : ${install_suffix}" >&5 -printf '%s\n' "install_suffix : ${install_suffix}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: malloc_conf : ${config_malloc_conf}" >&5 -printf '%s\n' "malloc_conf : ${config_malloc_conf}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: documentation : ${enable_doc}" >&5 -printf '%s\n' "documentation : ${enable_doc}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: shared libs : ${enable_shared}" >&5 -printf '%s\n' "shared libs : ${enable_shared}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: static libs : ${enable_static}" >&5 -printf '%s\n' "static libs : ${enable_static}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: autogen : ${enable_autogen}" >&5 -printf '%s\n' "autogen : ${enable_autogen}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: debug : ${enable_debug}" >&5 -printf '%s\n' "debug : ${enable_debug}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: stats : ${enable_stats}" >&5 -printf '%s\n' "stats : ${enable_stats}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: user_config : ${enable_user_config}" >&5 -printf '%s\n' "user_config : ${enable_user_config}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: experimental_smallocx : ${enable_experimental_smallocx}" >&5 -printf '%s\n' "experimental_smallocx : ${enable_experimental_smallocx}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: experimental_fiber_safe_tls : ${enable_experimental_fiber_safe_tls}" >&5 -printf '%s\n' "experimental_fiber_safe_tls : ${enable_experimental_fiber_safe_tls}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: prof : ${enable_prof}" >&5 -printf '%s\n' "prof : ${enable_prof}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: prof-libunwind : ${enable_prof_libunwind}" >&5 -printf '%s\n' "prof-libunwind : ${enable_prof_libunwind}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: prof-libgcc : ${enable_prof_libgcc}" >&5 -printf '%s\n' "prof-libgcc : ${enable_prof_libgcc}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: prof-gcc : ${enable_prof_gcc}" >&5 -printf '%s\n' "prof-gcc : ${enable_prof_gcc}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: fill : ${enable_fill}" >&5 -printf '%s\n' "fill : ${enable_fill}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: utrace : ${enable_utrace}" >&5 -printf '%s\n' "utrace : ${enable_utrace}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: xmalloc : ${enable_xmalloc}" >&5 -printf '%s\n' "xmalloc : ${enable_xmalloc}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: log : ${enable_log}" >&5 -printf '%s\n' "log : ${enable_log}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: lazy_lock : ${enable_lazy_lock}" >&5 -printf '%s\n' "lazy_lock : ${enable_lazy_lock}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: cache-oblivious : ${enable_cache_oblivious}" >&5 -printf '%s\n' "cache-oblivious : ${enable_cache_oblivious}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: pageid : ${enable_pageid}" >&5 -printf '%s\n' "pageid : ${enable_pageid}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: cxx : ${enable_cxx}" >&5 -printf '%s\n' "cxx : ${enable_cxx}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: dss : ${enable_dss}" >&5 -printf '%s\n' "dss : ${enable_dss}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: tsan : ${enable_tsan}" >&5 -printf '%s\n' "tsan : ${enable_tsan}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ubsan : ${enable_ubsan}" >&5 -printf '%s\n' "ubsan : ${enable_ubsan}" >&6; } -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ===============================================================================" >&5 -printf '%s\n' "===============================================================================" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ===============================================================================" >&5 +printf "%s\n" "===============================================================================" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: jemalloc version : ${jemalloc_version}" >&5 +printf "%s\n" "jemalloc version : ${jemalloc_version}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: library revision : ${rev}" >&5 +printf "%s\n" "library revision : ${rev}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf "%s\n" "" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CONFIG : ${CONFIG}" >&5 +printf "%s\n" "CONFIG : ${CONFIG}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CC : ${CC}" >&5 +printf "%s\n" "CC : ${CC}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CONFIGURE_CFLAGS : ${CONFIGURE_CFLAGS}" >&5 +printf "%s\n" "CONFIGURE_CFLAGS : ${CONFIGURE_CFLAGS}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SPECIFIED_CFLAGS : ${SPECIFIED_CFLAGS}" >&5 +printf "%s\n" "SPECIFIED_CFLAGS : ${SPECIFIED_CFLAGS}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: EXTRA_CFLAGS : ${EXTRA_CFLAGS}" >&5 +printf "%s\n" "EXTRA_CFLAGS : ${EXTRA_CFLAGS}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CPPFLAGS : ${CPPFLAGS}" >&5 +printf "%s\n" "CPPFLAGS : ${CPPFLAGS}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CXX : ${CXX}" >&5 +printf "%s\n" "CXX : ${CXX}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CONFIGURE_CXXFLAGS : ${CONFIGURE_CXXFLAGS}" >&5 +printf "%s\n" "CONFIGURE_CXXFLAGS : ${CONFIGURE_CXXFLAGS}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SPECIFIED_CXXFLAGS : ${SPECIFIED_CXXFLAGS}" >&5 +printf "%s\n" "SPECIFIED_CXXFLAGS : ${SPECIFIED_CXXFLAGS}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: EXTRA_CXXFLAGS : ${EXTRA_CXXFLAGS}" >&5 +printf "%s\n" "EXTRA_CXXFLAGS : ${EXTRA_CXXFLAGS}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CONFIGURE_LDFLAGS : ${CONFIGURE_LDFLAGS}" >&5 +printf "%s\n" "CONFIGURE_LDFLAGS : ${CONFIGURE_LDFLAGS}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SPECIFIED_LDFLAGS : ${SPECIFIED_LDFLAGS}" >&5 +printf "%s\n" "SPECIFIED_LDFLAGS : ${SPECIFIED_LDFLAGS}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: EXTRA_LDFLAGS : ${EXTRA_LDFLAGS}" >&5 +printf "%s\n" "EXTRA_LDFLAGS : ${EXTRA_LDFLAGS}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: DSO_LDFLAGS : ${DSO_LDFLAGS}" >&5 +printf "%s\n" "DSO_LDFLAGS : ${DSO_LDFLAGS}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: LIBS : ${LIBS}" >&5 +printf "%s\n" "LIBS : ${LIBS}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: RPATH_EXTRA : ${RPATH_EXTRA}" >&5 +printf "%s\n" "RPATH_EXTRA : ${RPATH_EXTRA}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf "%s\n" "" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: XSLTPROC : ${XSLTPROC}" >&5 +printf "%s\n" "XSLTPROC : ${XSLTPROC}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: XSLROOT : ${XSLROOT}" >&5 +printf "%s\n" "XSLROOT : ${XSLROOT}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf "%s\n" "" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: PREFIX : ${PREFIX}" >&5 +printf "%s\n" "PREFIX : ${PREFIX}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: BINDIR : ${BINDIR}" >&5 +printf "%s\n" "BINDIR : ${BINDIR}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: DATADIR : ${DATADIR}" >&5 +printf "%s\n" "DATADIR : ${DATADIR}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: INCLUDEDIR : ${INCLUDEDIR}" >&5 +printf "%s\n" "INCLUDEDIR : ${INCLUDEDIR}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: LIBDIR : ${LIBDIR}" >&5 +printf "%s\n" "LIBDIR : ${LIBDIR}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: MANDIR : ${MANDIR}" >&5 +printf "%s\n" "MANDIR : ${MANDIR}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf "%s\n" "" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: LG_PAGE : ${LG_PAGE}" >&5 +printf "%s\n" "LG_PAGE : ${LG_PAGE}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf "%s\n" "" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: srcroot : ${srcroot}" >&5 +printf "%s\n" "srcroot : ${srcroot}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: abs_srcroot : ${abs_srcroot}" >&5 +printf "%s\n" "abs_srcroot : ${abs_srcroot}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: objroot : ${objroot}" >&5 +printf "%s\n" "objroot : ${objroot}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: abs_objroot : ${abs_objroot}" >&5 +printf "%s\n" "abs_objroot : ${abs_objroot}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf "%s\n" "" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: JEMALLOC_PREFIX : ${JEMALLOC_PREFIX}" >&5 +printf "%s\n" "JEMALLOC_PREFIX : ${JEMALLOC_PREFIX}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: JEMALLOC_PRIVATE_NAMESPACE" >&5 +printf "%s\n" "JEMALLOC_PRIVATE_NAMESPACE" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: : ${JEMALLOC_PRIVATE_NAMESPACE}" >&5 +printf "%s\n" " : ${JEMALLOC_PRIVATE_NAMESPACE}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: install_suffix : ${install_suffix}" >&5 +printf "%s\n" "install_suffix : ${install_suffix}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: malloc_conf : ${config_malloc_conf}" >&5 +printf "%s\n" "malloc_conf : ${config_malloc_conf}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: documentation : ${enable_doc}" >&5 +printf "%s\n" "documentation : ${enable_doc}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: shared libs : ${enable_shared}" >&5 +printf "%s\n" "shared libs : ${enable_shared}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: static libs : ${enable_static}" >&5 +printf "%s\n" "static libs : ${enable_static}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: autogen : ${enable_autogen}" >&5 +printf "%s\n" "autogen : ${enable_autogen}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: debug : ${enable_debug}" >&5 +printf "%s\n" "debug : ${enable_debug}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: stats : ${enable_stats}" >&5 +printf "%s\n" "stats : ${enable_stats}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: user_config : ${enable_user_config}" >&5 +printf "%s\n" "user_config : ${enable_user_config}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: experimental_smallocx : ${enable_experimental_smallocx}" >&5 +printf "%s\n" "experimental_smallocx : ${enable_experimental_smallocx}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: experimental_fiber_safe_tls : ${enable_experimental_fiber_safe_tls}" >&5 +printf "%s\n" "experimental_fiber_safe_tls : ${enable_experimental_fiber_safe_tls}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: prof : ${enable_prof}" >&5 +printf "%s\n" "prof : ${enable_prof}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: prof-libunwind : ${enable_prof_libunwind}" >&5 +printf "%s\n" "prof-libunwind : ${enable_prof_libunwind}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: prof-libgcc : ${enable_prof_libgcc}" >&5 +printf "%s\n" "prof-libgcc : ${enable_prof_libgcc}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: prof-gcc : ${enable_prof_gcc}" >&5 +printf "%s\n" "prof-gcc : ${enable_prof_gcc}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: fill : ${enable_fill}" >&5 +printf "%s\n" "fill : ${enable_fill}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: utrace : ${enable_utrace}" >&5 +printf "%s\n" "utrace : ${enable_utrace}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: xmalloc : ${enable_xmalloc}" >&5 +printf "%s\n" "xmalloc : ${enable_xmalloc}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: log : ${enable_log}" >&5 +printf "%s\n" "log : ${enable_log}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: lazy_lock : ${enable_lazy_lock}" >&5 +printf "%s\n" "lazy_lock : ${enable_lazy_lock}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cache-oblivious : ${enable_cache_oblivious}" >&5 +printf "%s\n" "cache-oblivious : ${enable_cache_oblivious}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: pageid : ${enable_pageid}" >&5 +printf "%s\n" "pageid : ${enable_pageid}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cxx : ${enable_cxx}" >&5 +printf "%s\n" "cxx : ${enable_cxx}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: dss : ${enable_dss}" >&5 +printf "%s\n" "dss : ${enable_dss}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: tsan : ${enable_tsan}" >&5 +printf "%s\n" "tsan : ${enable_tsan}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ubsan : ${enable_ubsan}" >&5 +printf "%s\n" "ubsan : ${enable_ubsan}" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ===============================================================================" >&5 +printf "%s\n" "===============================================================================" >&6; }