diff --git a/configure b/configure index fc0015b5c..3080e8d3d 100755 --- a/configure +++ b/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.72. # # -# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, +# Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation, # Inc. # # @@ -15,7 +15,6 @@ # 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 @@ -24,12 +23,13 @@ then : # is contrary to our usage. Disable this feature. 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,7 +101,7 @@ 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 @@ -131,15 +131,14 @@ case $- in # (((( 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'. +# 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=: @@ -147,12 +146,13 @@ then : # is contrary to our usage. Disable this feature. 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 +170,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)) @@ -184,14 +185,15 @@ test -x / || 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 @@ -224,12 +226,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 @@ -251,7 +254,7 @@ case $- in # (((( 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'. +# out after a failed 'exec'. printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi @@ -270,7 +273,8 @@ $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} @@ -309,14 +313,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 # ------------- @@ -385,11 +381,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... @@ -403,21 +400,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] # ---------------------------------------- @@ -491,6 +481,8 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits /[$]LINENO/= ' <$as_myself | sed ' + t clear + :clear s/[$]LINENO.*/&-/ t lineno b @@ -539,7 +531,6 @@ esac 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 @@ -551,9 +542,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 @@ -578,10 +569,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 && - 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'` case $ac_user_opts in @@ -968,7 +961,7 @@ 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'` case $ac_user_opts in @@ -1181,7 +1174,7 @@ 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'` case $ac_user_opts in @@ -1197,7 +1190,7 @@ 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'` case $ac_user_opts in @@ -1227,8 +1220,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" ;; *=*) @@ -1236,7 +1229,7 @@ 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 ;; @@ -1286,7 +1279,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 @@ -1354,7 +1347,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)` @@ -1382,7 +1375,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]... @@ -1396,11 +1389,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 @@ -1408,10 +1401,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. @@ -1555,7 +1548,7 @@ Some influential environment variables: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory -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. @@ -1623,9 +1616,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.72 -Copyright (C) 2021 Free Software Foundation, Inc. +Copyright (C) 2023 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1664,11 +1657,12 @@ printf "%s\n" "$ac_try_echo"; } >&5 } && 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 @@ -1687,8 +1681,8 @@ 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> @@ -1696,10 +1690,12 @@ _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 @@ -1739,11 +1735,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 @@ -1779,7 +1776,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.72. Invocation command line was $ $0$ac_configure_args_raw @@ -2025,10 +2022,10 @@ esac 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 @@ -2064,9 +2061,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]; } @@ -2080,6 +2075,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 @@ -2107,16 +2117,19 @@ 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 @@ -2166,7 +2179,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) @@ -2232,6 +2244,8 @@ ac_c_conftest_c99_main=' 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 = { @@ -2253,7 +2267,7 @@ ac_c_conftest_c99_main=' # 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 @@ -2376,12 +2390,12 @@ 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=: ;; ,);; *) @@ -2390,18 +2404,18 @@ printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 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. @@ -2417,11 +2431,11 @@ 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: 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' + as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## @@ -2459,8 +2473,8 @@ 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 @@ -2482,7 +2496,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -2504,8 +2519,8 @@ 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 @@ -2527,7 +2542,8 @@ 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 @@ -2562,8 +2578,8 @@ 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 @@ -2585,7 +2601,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -2607,8 +2624,8 @@ 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 @@ -2647,7 +2664,8 @@ 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 @@ -2671,8 +2689,8 @@ 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 @@ -2694,7 +2712,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -2720,8 +2739,8 @@ 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 @@ -2743,7 +2762,8 @@ 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 @@ -2781,8 +2801,8 @@ 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 @@ -2804,7 +2824,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -2826,8 +2847,8 @@ 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 @@ -2849,7 +2870,8 @@ 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 @@ -2878,10 +2900,10 @@ 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 @@ -2953,8 +2975,8 @@ printf "%s\n" "$ac_try_echo"; } >&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. @@ -2974,7 +2996,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. @@ -2985,8 +3007,9 @@ 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 : @@ -2995,13 +3018,14 @@ 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 "checking for C compiler default output file name... " >&6; } @@ -3025,10 +3049,10 @@ printf "%s\n" "$ac_try_echo"; } >&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 @@ -3038,11 +3062,12 @@ 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 @@ -3058,6 +3083,8 @@ int main (void) { FILE *f = fopen ("conftest.out", "w"); + if (!f) + return 1; return ferror (f) || fclose (f) != 0; ; @@ -3097,26 +3124,27 @@ printf "%s\n" "$ac_try_echo"; } >&5 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; } -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 "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 @@ -3148,16 +3176,18 @@ 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; } @@ -3168,8 +3198,8 @@ 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 @@ -3186,12 +3216,14 @@ _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; } @@ -3209,8 +3241,8 @@ 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" @@ -3228,8 +3260,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. */ @@ -3244,8 +3276,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. */ @@ -3262,12 +3294,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 +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; } @@ -3294,8 +3329,8 @@ 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. */ @@ -3312,25 +3347,28 @@ 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 +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 $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 +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" + 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 @@ -3340,8 +3378,8 @@ 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. */ @@ -3358,25 +3396,28 @@ 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 +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 $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 +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" + 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 @@ -3386,8 +3427,8 @@ 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. */ @@ -3404,25 +3445,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 +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 $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +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" + 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 @@ -3484,13 +3528,14 @@ then : printf "%s\n" "DUPLICATE_PATHS=$with_duplicatePaths" >&6; } printf "%s\n" "#define DUPLICATE_PATHS \"$with_duplicatePaths\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: DUPLICATE_PATHS=$withval" >&5 printf "%s\n" "DUPLICATE_PATHS=$withval" >&6; } DUPLICATE_PATHS="$withval" printf "%s\n" "#define DUPLICATE_PATHS \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3505,13 +3550,14 @@ then : printf "%s\n" "LMOD_ALLOW_ROOT_USE=$with_allowRootUse" >&6; } printf "%s\n" "#define LMOD_ALLOW_ROOT_USE \"$with_allowRootUse\"" >>confdefs.h -else $as_nop - withval="yes" +else case e in #( + e) withval="yes" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: LMOD_ALLOW_ROOT_USE=$withval" >&5 printf "%s\n" "LMOD_ALLOW_ROOT_USE=$withval" >&6; } LMOD_ALLOW_ROOT_USE="$withval" printf "%s\n" "#define LMOD_ALLOW_ROOT_USE \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3524,13 +3570,14 @@ then : printf "%s\n" "SITE_MSG_FILE=$with_siteMsgFile" >&6; } printf "%s\n" "#define SITE_MSG_FILE \"$with_siteMsgFile\"" >>confdefs.h -else $as_nop - withval="" +else case e in #( + e) withval="" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SITE_MSG_FILE=$withval" >&5 printf "%s\n" "SITE_MSG_FILE=$withval" >&6; } SITE_MSG_FILE="$withval" printf "%s\n" "#define SITE_MSG_FILE \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3543,13 +3590,14 @@ then : printf "%s\n" "LMOD_OVERRIDE_LANG=$with_lang" >&6; } printf "%s\n" "#define LMOD_OVERRIDE_LANG \"$with_lang\"" >>confdefs.h -else $as_nop - withval="" +else case e in #( + e) withval="" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: LMOD_OVERRIDE_LANG=$withval" >&5 printf "%s\n" "LMOD_OVERRIDE_LANG=$withval" >&6; } LMOD_OVERRIDE_LANG="$withval" printf "%s\n" "#define LMOD_OVERRIDE_LANG \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3564,13 +3612,14 @@ then : printf "%s\n" "CASE_INDEPENDENT_SORTING=$with_caseIndependentSorting" >&6; } printf "%s\n" "#define CASE_INDEPENDENT_SORTING \"$with_caseIndependentSorting\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CASE_INDEPENDENT_SORTING=$withval" >&5 printf "%s\n" "CASE_INDEPENDENT_SORTING=$withval" >&6; } CASE_INDEPENDENT_SORTING="$withval" printf "%s\n" "#define CASE_INDEPENDENT_SORTING \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3585,13 +3634,14 @@ then : printf "%s\n" "COLORIZE=$with_colorize" >&6; } printf "%s\n" "#define COLORIZE \"$with_colorize\"" >>confdefs.h -else $as_nop - withval="yes" +else case e in #( + e) withval="yes" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: COLORIZE=$withval" >&5 printf "%s\n" "COLORIZE=$withval" >&6; } COLORIZE="$withval" printf "%s\n" "#define COLORIZE \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3606,13 +3656,14 @@ then : printf "%s\n" "DYNAMIC_SPIDER_CACHE=$with_dynamicSpiderCache" >&6; } printf "%s\n" "#define DYNAMIC_SPIDER_CACHE \"$with_dynamicSpiderCache\"" >>confdefs.h -else $as_nop - withval="yes" +else case e in #( + e) withval="yes" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: DYNAMIC_SPIDER_CACHE=$withval" >&5 printf "%s\n" "DYNAMIC_SPIDER_CACHE=$withval" >&6; } DYNAMIC_SPIDER_CACHE="$withval" printf "%s\n" "#define DYNAMIC_SPIDER_CACHE \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3627,13 +3678,14 @@ then : printf "%s\n" "HIDDEN_ITALIC=$with_hiddenItalic" >&6; } printf "%s\n" "#define HIDDEN_ITALIC \"$with_hiddenItalic\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: HIDDEN_ITALIC=$withval" >&5 printf "%s\n" "HIDDEN_ITALIC=$withval" >&6; } HIDDEN_ITALIC="$withval" printf "%s\n" "#define HIDDEN_ITALIC \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3648,13 +3700,14 @@ then : printf "%s\n" "EXACT_MATCH=$with_exactMatch" >&6; } printf "%s\n" "#define EXACT_MATCH \"$with_exactMatch\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: EXACT_MATCH=$withval" >&5 printf "%s\n" "EXACT_MATCH=$withval" >&6; } EXACT_MATCH="$withval" printf "%s\n" "#define EXACT_MATCH \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3668,13 +3721,14 @@ then : printf "%s\n" "MODE=$with_mode" >&6; } printf "%s\n" "#define MODE \"$with_mode\"" >>confdefs.h -else $as_nop - withval="user_default" +else case e in #( + e) withval="user_default" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: MODE=$withval" >&5 printf "%s\n" "MODE=$withval" >&6; } MODE="$withval" printf "%s\n" "#define MODE \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3687,13 +3741,14 @@ then : printf "%s\n" "LMOD_CONFIG_DIR=$with_lmodConfigDir" >&6; } printf "%s\n" "#define LMOD_CONFIG_DIR \"$with_lmodConfigDir\"" >>confdefs.h -else $as_nop - withval="/etc/lmod" +else case e in #( + e) withval="/etc/lmod" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: LMOD_CONFIG_DIR=$withval" >&5 printf "%s\n" "LMOD_CONFIG_DIR=$withval" >&6; } LMOD_CONFIG_DIR="$withval" printf "%s\n" "#define LMOD_CONFIG_DIR \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3708,13 +3763,14 @@ then : printf "%s\n" "AUTO_SWAP=$with_autoSwap" >&6; } printf "%s\n" "#define AUTO_SWAP \"$with_autoSwap\"" >>confdefs.h -else $as_nop - withval="yes" +else case e in #( + e) withval="yes" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: AUTO_SWAP=$withval" >&5 printf "%s\n" "AUTO_SWAP=$withval" >&6; } AUTO_SWAP="$withval" printf "%s\n" "#define AUTO_SWAP \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3731,13 +3787,14 @@ then : printf "%s\n" "EXPORT_MODULE=$with_exportedModuleCmd" >&6; } printf "%s\n" "#define EXPORT_MODULE \"$with_exportedModuleCmd\"" >>confdefs.h -else $as_nop - withval="yes" +else case e in #( + e) withval="yes" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: EXPORT_MODULE=$withval" >&5 printf "%s\n" "EXPORT_MODULE=$withval" >&6; } EXPORT_MODULE="$withval" printf "%s\n" "#define EXPORT_MODULE \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3752,13 +3809,14 @@ then : printf "%s\n" "REDIRECT=$with_redirect" >&6; } printf "%s\n" "#define REDIRECT \"$with_redirect\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: REDIRECT=$withval" >&5 printf "%s\n" "REDIRECT=$withval" >&6; } REDIRECT="$withval" printf "%s\n" "#define REDIRECT \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3770,13 +3828,14 @@ then : printf "%s\n" "MODULEPATH_ROOT=$with_module_root_path" >&6; } printf "%s\n" "#define MODULEPATH_ROOT \"$with_module_root_path\"" >>confdefs.h -else $as_nop - withval="$prefix/modulefiles" +else case e in #( + e) withval="$prefix/modulefiles" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: MODULEPATH_ROOT=$withval" >&5 printf "%s\n" "MODULEPATH_ROOT=$withval" >&6; } MODULEPATH_ROOT="$withval" printf "%s\n" "#define MODULEPATH_ROOT \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3789,13 +3848,14 @@ then : printf "%s\n" "ANCIENT=$with_ancient" >&6; } printf "%s\n" "#define ANCIENT \"$with_ancient\"" >>confdefs.h -else $as_nop - withval="86400" +else case e in #( + e) withval="86400" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ANCIENT=$withval" >&5 printf "%s\n" "ANCIENT=$withval" >&6; } ANCIENT="$withval" printf "%s\n" "#define ANCIENT \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3808,13 +3868,14 @@ then : printf "%s\n" "SHORT_TIME=$with_shortTime" >&6; } printf "%s\n" "#define SHORT_TIME \"$with_shortTime\"" >>confdefs.h -else $as_nop - withval="2" +else case e in #( + e) withval="2" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SHORT_TIME=$withval" >&5 printf "%s\n" "SHORT_TIME=$withval" >&6; } SHORT_TIME="$withval" printf "%s\n" "#define SHORT_TIME \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3827,13 +3888,14 @@ then : printf "%s\n" "SPIDER_CACHE_DIRS=$with_spiderCacheDir" >&6; } printf "%s\n" "#define SPIDER_CACHE_DIRS \"$with_spiderCacheDir\"" >>confdefs.h -else $as_nop - withval="" +else case e in #( + e) withval="" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SPIDER_CACHE_DIRS=$withval" >&5 printf "%s\n" "SPIDER_CACHE_DIRS=$withval" >&6; } SPIDER_CACHE_DIRS="$withval" printf "%s\n" "#define SPIDER_CACHE_DIRS \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3846,13 +3908,14 @@ then : printf "%s\n" "SPIDER_CACHE_DESCRIPT_FN=$with_spiderCacheDescript" >&6; } printf "%s\n" "#define SPIDER_CACHE_DESCRIPT_FN \"$with_spiderCacheDescript\"" >>confdefs.h -else $as_nop - withval="" +else case e in #( + e) withval="" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SPIDER_CACHE_DESCRIPT_FN=$withval" >&5 printf "%s\n" "SPIDER_CACHE_DESCRIPT_FN=$withval" >&6; } SPIDER_CACHE_DESCRIPT_FN="$withval" printf "%s\n" "#define SPIDER_CACHE_DESCRIPT_FN \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3865,13 +3928,14 @@ then : printf "%s\n" "UPDATE_SYSTEM_FN=$with_updateSystemFn" >&6; } printf "%s\n" "#define UPDATE_SYSTEM_FN \"$with_updateSystemFn\"" >>confdefs.h -else $as_nop - withval="" +else case e in #( + e) withval="" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: UPDATE_SYSTEM_FN=$withval" >&5 printf "%s\n" "UPDATE_SYSTEM_FN=$withval" >&6; } UPDATE_SYSTEM_FN="$withval" printf "%s\n" "#define UPDATE_SYSTEM_FN \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3884,13 +3948,14 @@ then : printf "%s\n" "PREPEND_BLOCK=$with_prependBlock" >&6; } printf "%s\n" "#define PREPEND_BLOCK \"$with_prependBlock\"" >>confdefs.h -else $as_nop - withval="normal" +else case e in #( + e) withval="normal" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: PREPEND_BLOCK=$withval" >&5 printf "%s\n" "PREPEND_BLOCK=$withval" >&6; } PREPEND_BLOCK="$withval" printf "%s\n" "#define PREPEND_BLOCK \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3903,13 +3968,14 @@ then : printf "%s\n" "SITE_NAME=$with_siteName" >&6; } printf "%s\n" "#define SITE_NAME \"$with_siteName\"" >>confdefs.h -else $as_nop - withval='' +else case e in #( + e) withval='' { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SITE_NAME=$withval" >&5 printf "%s\n" "SITE_NAME=$withval" >&6; } SITE_NAME="$withval" printf "%s\n" "#define SITE_NAME \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3922,13 +3988,14 @@ then : printf "%s\n" "SYSHOST=$with_syshost" >&6; } printf "%s\n" "#define SYSHOST \"$with_syshost\"" >>confdefs.h -else $as_nop - withval='' +else case e in #( + e) withval='' { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SYSHOST=$withval" >&5 printf "%s\n" "SYSHOST=$withval" >&6; } SYSHOST="$withval" printf "%s\n" "#define SYSHOST \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3943,13 +4010,14 @@ then : printf "%s\n" "ALLOW_TCL_MFILES==$withval" >&6; } printf "%s\n" "#define ALLOW_TCL_MFILES \"$withval\"" >>confdefs.h -else $as_nop - withval="yes" +else case e in #( + e) withval="yes" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ALLOW_TCL_MFILES=$withval" >&5 printf "%s\n" "ALLOW_TCL_MFILES=$withval" >&6; } ALLOW_TCL_MFILES="$withval" printf "%s\n" "#define ALLOW_TCL_MFILES \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3964,13 +4032,14 @@ then : printf "%s\n" "DISABLE_NAME_AUTOSWAP==$withval" >&6; } printf "%s\n" "#define DISABLE_NAME_AUTOSWAP \"$withval\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: DISABLE_NAME_AUTOSWAP=$withval" >&5 printf "%s\n" "DISABLE_NAME_AUTOSWAP=$withval" >&6; } DISABLE_NAME_AUTOSWAP="$withval" printf "%s\n" "#define DISABLE_NAME_AUTOSWAP \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -3985,13 +4054,14 @@ then : printf "%s\n" "MPATH_AVAIL==$withval" >&6; } printf "%s\n" "#define MPATH_AVAIL \"$withval\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: MPATH_AVAIL=$withval" >&5 printf "%s\n" "MPATH_AVAIL=$withval" >&6; } MPATH_AVAIL="$withval" printf "%s\n" "#define MPATH_AVAIL \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4006,13 +4076,14 @@ then : printf "%s\n" "SETTARG=$with_settarg" >&6; } printf "%s\n" "#define SETTARG \"$with_settarg\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SETTARG=$withval" >&5 printf "%s\n" "SETTARG=$withval" >&6; } SETTARG="$withval" printf "%s\n" "#define SETTARG \"$withval\"" >>confdefs.h - + ;; +esac fi DFLT_IGNORE_DIRS=".svn,.git,.hg,.bzr" @@ -4027,13 +4098,14 @@ then : printf "%s\n" "IGNORE_DIRS=$with_ignoreDirs" >&6; } printf "%s\n" "#define IGNORE_DIRS \"$with_ignoreDirs\"" >>confdefs.h -else $as_nop - withval="$DFLT_IGNORE_DIRS" +else case e in #( + e) withval="$DFLT_IGNORE_DIRS" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: IGNORE_DIRS=$withval" >&5 printf "%s\n" "IGNORE_DIRS=$withval" >&6; } IGNORE_DIRS="$withval" printf "%s\n" "#define IGNORE_DIRS \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4048,13 +4120,14 @@ then : printf "%s\n" "PIN_VERSIONS=$with_pinVersions" >&6; } printf "%s\n" "#define PIN_VERSIONS \"$with_pinVersions\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: PIN_VERSIONS=$withval" >&5 printf "%s\n" "PIN_VERSIONS=$withval" >&6; } PIN_VERSIONS="$withval" printf "%s\n" "#define PIN_VERSIONS \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4069,13 +4142,14 @@ then : printf "%s\n" "LMOD_DOWNSTREAM_CONFLICTS=$with_downstreamConflicts" >&6; } printf "%s\n" "#define LMOD_DOWNSTREAM_CONFLICTS \"$with_downstreamConflicts\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: LMOD_DOWNSTREAM_CONFLICTS=$withval" >&5 printf "%s\n" "LMOD_DOWNSTREAM_CONFLICTS=$withval" >&6; } LMOD_DOWNSTREAM_CONFLICTS="$withval" printf "%s\n" "#define LMOD_DOWNSTREAM_CONFLICTS \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4090,13 +4164,14 @@ then : printf "%s\n" "MODULES_AUTO_HANDLING=$with_modulesAutoHandling" >&6; } printf "%s\n" "#define MODULES_AUTO_HANDLING \"$with_modulesAutoHandling\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: MODULES_AUTO_HANDLING=$withval" >&5 printf "%s\n" "MODULES_AUTO_HANDLING=$withval" >&6; } MODULES_AUTO_HANDLING="$withval" printf "%s\n" "#define MODULES_AUTO_HANDLING \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4111,13 +4186,14 @@ then : printf "%s\n" "TMOD_PATH_RULE=$with_tmodPathRule" >&6; } printf "%s\n" "#define TMOD_PATH_RULE \"$with_tmodPathRule\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: TMOD_PATH_RULE=$withval" >&5 printf "%s\n" "TMOD_PATH_RULE=$withval" >&6; } TMOD_PATH_RULE="$withval" printf "%s\n" "#define TMOD_PATH_RULE \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4132,13 +4208,14 @@ then : printf "%s\n" "TMOD_FIND_FIRST=$with_tmodFindFirst" >&6; } printf "%s\n" "#define TMOD_FIND_FIRST \"$with_tmodFindFirst\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: TMOD_FIND_FIRST=$withval" >&5 printf "%s\n" "TMOD_FIND_FIRST=$withval" >&6; } TMOD_FIND_FIRST="$withval" printf "%s\n" "#define TMOD_FIND_FIRST \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4151,13 +4228,14 @@ then : printf "%s\n" "LUA_INCLUDE=$with_lua_include" >&6; } printf "%s\n" "#define LUA_INCLUDE \"$with_lua_include\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: LUA_INCLUDE=$withval" >&5 printf "%s\n" "LUA_INCLUDE=$withval" >&6; } LUA_INCLUDE="$withval" printf "%s\n" "#define LUA_INCLUDE \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4172,13 +4250,14 @@ then : printf "%s\n" "CACHED_LOADS=$with_cachedLoads" >&6; } printf "%s\n" "#define CACHED_LOADS \"$with_cachedLoads\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CACHED_LOADS=$withval" >&5 printf "%s\n" "CACHED_LOADS=$withval" >&6; } CACHED_LOADS="$withval" printf "%s\n" "#define CACHED_LOADS \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4193,13 +4272,14 @@ then : printf "%s\n" "TERSE_DECORATIONS=$with_terseDecorations" >&6; } printf "%s\n" "#define TERSE_DECORATIONS \"$with_terseDecorations\"" >>confdefs.h -else $as_nop - withval="yes" +else case e in #( + e) withval="yes" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: TERSE_DECORATIONS=$withval" >&5 printf "%s\n" "TERSE_DECORATIONS=$withval" >&6; } TERSE_DECORATIONS="$withval" printf "%s\n" "#define TERSE_DECORATIONS \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4214,13 +4294,14 @@ then : printf "%s\n" "EXTENDED_DEFAULT=$with_extendedDefault" >&6; } printf "%s\n" "#define EXTENDED_DEFAULT \"$with_extendedDefault\"" >>confdefs.h -else $as_nop - withval="yes" +else case e in #( + e) withval="yes" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: EXTENDED_DEFAULT=$withval" >&5 printf "%s\n" "EXTENDED_DEFAULT=$withval" >&6; } EXTENDED_DEFAULT="$withval" printf "%s\n" "#define EXTENDED_DEFAULT \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4235,13 +4316,14 @@ then : printf "%s\n" "SUPPORT_KSH=$with_supportKsh" >&6; } printf "%s\n" "#define SUPPORT_KSH \"$with_supportKsh\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SUPPORT_KSH=$withval" >&5 printf "%s\n" "SUPPORT_KSH=$withval" >&6; } SUPPORT_KSH="$withval" printf "%s\n" "#define SUPPORT_KSH \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4254,13 +4336,14 @@ then : printf "%s\n" "MODULEPATH_INIT=$with_ModulePathInit" >&6; } printf "%s\n" "#define MODULEPATH_INIT \"$with_ModulePathInit\"" >>confdefs.h -else $as_nop - withval="@PKG@/init/.modulespath" +else case e in #( + e) withval="@PKG@/init/.modulespath" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: MODULEPATH_INIT=$withval" >&5 printf "%s\n" "MODULEPATH_INIT=$withval" >&6; } MODULEPATH_INIT="$withval" printf "%s\n" "#define MODULEPATH_INIT \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4275,13 +4358,14 @@ then : printf "%s\n" "SITE_CONTROLLED_PREFIX=$with_siteControlPrefix" >&6; } printf "%s\n" "#define SITE_CONTROLLED_PREFIX \"$with_siteControlPrefix\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SITE_CONTROLLED_PREFIX=$withval" >&5 printf "%s\n" "SITE_CONTROLLED_PREFIX=$withval" >&6; } SITE_CONTROLLED_PREFIX="$withval" printf "%s\n" "#define SITE_CONTROLLED_PREFIX \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4296,13 +4380,14 @@ then : printf "%s\n" "USE_BUILT_IN_PKGS=$with_useBuiltinPkgs" >&6; } printf "%s\n" "#define USE_BUILT_IN_PKGS \"$with_useBuiltinPkgs\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: USE_BUILT_IN_PKGS=$withval" >&5 printf "%s\n" "USE_BUILT_IN_PKGS=$withval" >&6; } USE_BUILT_IN_PKGS="$withval" printf "%s\n" "#define USE_BUILT_IN_PKGS \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4317,13 +4402,14 @@ then : printf "%s\n" "USE_DOT_CONFIG_DIR_ONLY=$with_useDotConfigDirOnly" >&6; } printf "%s\n" "#define USE_DOT_CONFIG_DIR_ONLY \"$with_useDotConfigDirOnly\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: USE_DOT_CONFIG_DIR_ONLY=$withval" >&5 printf "%s\n" "USE_DOT_CONFIG_DIR_ONLY=$withval" >&6; } USE_DOT_CONFIG_DIR_ONLY="$withval" printf "%s\n" "#define USE_DOT_CONFIG_DIR_ONLY \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4338,13 +4424,14 @@ then : printf "%s\n" "SILENCE_SHELL_DEBUGGING=$with_silentShellDebugging" >&6; } printf "%s\n" "#define SILENCE_SHELL_DEBUGGING \"$with_silentShellDebugging\"" >>confdefs.h -else $as_nop - withval="yes" +else case e in #( + e) withval="yes" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SILENCE_SHELL_DEBUGGING=$withval" >&5 printf "%s\n" "SILENCE_SHELL_DEBUGGING=$withval" >&6; } SILENCE_SHELL_DEBUGGING="$withval" printf "%s\n" "#define SILENCE_SHELL_DEBUGGING \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4359,13 +4446,14 @@ then : printf "%s\n" "FAST_TCL_INTERP=$with_fastTCLInterp" >&6; } printf "%s\n" "#define FAST_TCL_INTERP \"$with_fastTCLInterp\"" >>confdefs.h -else $as_nop - withval="yes" +else case e in #( + e) withval="yes" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: FAST_TCL_INTERP=$withval" >&5 printf "%s\n" "FAST_TCL_INTERP=$withval" >&6; } FAST_TCL_INTERP="$withval" printf "%s\n" "#define FAST_TCL_INTERP \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4378,13 +4466,14 @@ then : printf "%s\n" "NEARLY_FORBIDDEN_DAYS=$with_nearlyForbiddenDays" >&6; } printf "%s\n" "#define NEARLY_FORBIDDEN_DAYS \"$with_nearlyForbiddenDays\"" >>confdefs.h -else $as_nop - withval="14" +else case e in #( + e) withval="14" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: NEARLY_FORBIDDEN_DAYS=$withval" >&5 printf "%s\n" "NEARLY_FORBIDDEN_DAYS=$withval" >&6; } NEARLY_FORBIDDEN_DAYS="$withval" printf "%s\n" "#define NEARLY_FORBIDDEN_DAYS \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4399,13 +4488,14 @@ then : printf "%s\n" "MODULE_AUTO_HANDLING=$with-moduleAutoHandling" >&6; } printf "%s\n" "#define MODULE_AUTO_HANDLING \"$with-moduleAutoHandling\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: MODULE_AUTO_HANDLING=$withval" >&5 printf "%s\n" "MODULE_AUTO_HANDLING=$withval" >&6; } MODULE_AUTO_HANDLING="$withval" printf "%s\n" "#define MODULE_AUTO_HANDLING \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4420,13 +4510,14 @@ then : printf "%s\n" "AVAIL_EXTENSIONS=$with_availExtensions" >&6; } printf "%s\n" "#define AVAIL_EXTENSIONS \"$with_availExtensions\"" >>confdefs.h -else $as_nop - withval="yes" +else case e in #( + e) withval="yes" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: AVAIL_EXTENSIONS=$withval" >&5 printf "%s\n" "AVAIL_EXTENSIONS=$withval" >&6; } AVAIL_EXTENSIONS="$withval" printf "%s\n" "#define AVAIL_EXTENSIONS \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4435,7 +4526,7 @@ fi if test ${with_lua+y} then : withval=$with_lua; PATH_TO_LUA="$withval" - if test $(printf %.1s" "$PATH_TO_LUA) != '/' ; then + if test $(printf %.1s "$PATH_TO_LUA") != '/' ; then echo echo "ERROR: Path to lua must be absolute!" exit 1 @@ -4444,13 +4535,14 @@ then : printf "%s\n" "PATH_TO_LUA=$with_lua" >&6; } printf "%s\n" "#define PATH_TO_LUA \"$with_lua\"" >>confdefs.h -else $as_nop - withval="lua" +else case e in #( + e) withval="lua" PATH_TO_LUA="$withval" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: PATH_TO_LUA=$withval" >&5 printf "%s\n" "PATH_TO_LUA=$withval" >&6; } printf "%s\n" "#define PATH_TO_LUA \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4459,7 +4551,7 @@ fi if test ${with_luac+y} then : withval=$with_luac; PATH_TO_LUAC="$withval" - if test $(printf %.1s" "$PATH_TO_LUAC) != '/' ; then + if test $(printf %.1s "$PATH_TO_LUAC") != '/' ; then echo echo "ERROR: Path to luac must be absolute" exit 1 @@ -4468,13 +4560,14 @@ then : printf "%s\n" "PATH_TO_LUAC=$with_luac" >&6; } printf "%s\n" "#define PATH_TO_LUAC \"$with_luac\"" >>confdefs.h -else $as_nop - withval="luac" +else case e in #( + e) withval="luac" PATH_TO_LUAC="$withval" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: PATH_TO_LUAC=$withval" >&5 printf "%s\n" "PATH_TO_LUAC=$withval" >&6; } printf "%s\n" "#define PATH_TO_LUAC \"$withval\"" >>confdefs.h - + ;; +esac fi @@ -4489,13 +4582,14 @@ then : printf "%s\n" "LUA_SUFFIX=$with_luaSuffic" >&6; } printf "%s\n" "#define LUA_SUFFIX \"$with_luaSuffix\"" >>confdefs.h -else $as_nop - withval="no" +else case e in #( + e) withval="no" LUA_SUFFIX="$withval" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: LUA_SUFFIX=$withval" >&5 printf "%s\n" "LUA_SUFFIX=$withval" >&6; } printf "%s\n" "#define LUA_SUFFIX \"$withval\"" >>confdefs.h - + ;; +esac fi if test "$ALLOW_TCL_MFILES" = no ; then @@ -4511,8 +4605,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_pkgConfig+y} then : printf %s "(cached) " >&6 -else $as_nop - case $pkgConfig in +else case e in #( + e) case $pkgConfig in [\\/]* | ?:[\\/]*) ac_cv_path_pkgConfig="$pkgConfig" # Let the user override the test with a path. ;; @@ -4538,6 +4632,7 @@ IFS=$as_save_IFS test -z "$ac_cv_path_pkgConfig" && ac_cv_path_pkgConfig=""UNKNOWN_PKG_CONFIG"" ;; +esac ;; esac fi pkgConfig=$ac_cv_path_pkgConfig @@ -4649,15 +4744,21 @@ printf %s "checking for library containing Tcl_CreateInterp... " >&6; } if test ${ac_cv_search_Tcl_CreateInterp+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 Tcl_CreateInterp (); + 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 Tcl_CreateInterp (void); int main (void) { @@ -4688,11 +4789,13 @@ done if test ${ac_cv_search_Tcl_CreateInterp+y} then : -else $as_nop - ac_cv_search_Tcl_CreateInterp=no +else case e in #( + e) ac_cv_search_Tcl_CreateInterp=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_Tcl_CreateInterp" >&5 printf "%s\n" "$ac_cv_search_Tcl_CreateInterp" >&6; } @@ -4701,8 +4804,9 @@ if test "$ac_res" != no then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" -else $as_nop - rm -f makefile; as_fn_error $? "Unable to build Lmod with -ltcl Please install the tcl devel package or configure --with-fastTCLInterp=no to not require the tcl library" "$LINENO" 5 +else case e in #( + e) rm -f makefile; as_fn_error $? "Unable to build Lmod with -ltcl Please install the tcl devel package or configure --with-fastTCLInterp=no to not require the tcl library" "$LINENO" 5 ;; +esac fi @@ -4759,8 +4863,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PS+y} then : printf %s "(cached) " >&6 -else $as_nop - case $PS in +else case e in #( + e) case $PS in [\\/]* | ?:[\\/]*) ac_cv_path_PS="$PS" # Let the user override the test with a path. ;; @@ -4786,6 +4890,7 @@ IFS=$as_save_IFS test -z "$ac_cv_path_PS" && ac_cv_path_PS="UNKNOWN_PS" ;; +esac ;; esac fi PS=$ac_cv_path_PS @@ -4813,8 +4918,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_READLINK+y} then : printf %s "(cached) " >&6 -else $as_nop - case $READLINK in +else case e in #( + e) case $READLINK in [\\/]* | ?:[\\/]*) ac_cv_path_READLINK="$READLINK" # Let the user override the test with a path. ;; @@ -4840,6 +4945,7 @@ IFS=$as_save_IFS test -z "$ac_cv_path_READLINK" && ac_cv_path_READLINK="UNKNOWN_READLINK" ;; +esac ;; esac fi READLINK=$ac_cv_path_READLINK @@ -4869,8 +4975,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_EXPR+y} then : printf %s "(cached) " >&6 -else $as_nop - case $EXPR in +else case e in #( + e) case $EXPR in [\\/]* | ?:[\\/]*) ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path. ;; @@ -4895,6 +5001,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi EXPR=$ac_cv_path_EXPR @@ -4928,8 +5035,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_BASENAME+y} then : printf %s "(cached) " >&6 -else $as_nop - case $BASENAME in +else case e in #( + e) case $BASENAME in [\\/]* | ?:[\\/]*) ac_cv_path_BASENAME="$BASENAME" # Let the user override the test with a path. ;; @@ -4954,6 +5061,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi BASENAME=$ac_cv_path_BASENAME @@ -4987,8 +5095,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_BC+y} then : printf %s "(cached) " >&6 -else $as_nop - case $BC in +else case e in #( + e) case $BC in [\\/]* | ?:[\\/]*) ac_cv_path_BC="$BC" # Let the user override the test with a path. ;; @@ -5013,6 +5121,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi BC=$ac_cv_path_BC @@ -5044,8 +5153,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_POD2MAN+y} then : printf %s "(cached) " >&6 -else $as_nop - case $PATH_TO_POD2MAN in +else case e in #( + e) case $PATH_TO_POD2MAN in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_POD2MAN="$PATH_TO_POD2MAN" # Let the user override the test with a path. ;; @@ -5071,6 +5180,7 @@ IFS=$as_save_IFS test -z "$ac_cv_path_PATH_TO_POD2MAN" && ac_cv_path_PATH_TO_POD2MAN="UNKNOWN_POD2MAN" ;; +esac ;; esac fi PATH_TO_POD2MAN=$ac_cv_path_PATH_TO_POD2MAN @@ -5091,8 +5201,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_GIT+y} then : printf %s "(cached) " >&6 -else $as_nop - case $PATH_TO_GIT in +else case e in #( + e) case $PATH_TO_GIT in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_GIT="$PATH_TO_GIT" # Let the user override the test with a path. ;; @@ -5118,6 +5228,7 @@ IFS=$as_save_IFS test -z "$ac_cv_path_PATH_TO_GIT" && ac_cv_path_PATH_TO_GIT="""" ;; +esac ;; esac fi PATH_TO_GIT=$ac_cv_path_PATH_TO_GIT @@ -5139,8 +5250,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_PAGER+y} then : printf %s "(cached) " >&6 -else $as_nop - case $PATH_TO_PAGER in +else case e in #( + e) case $PATH_TO_PAGER in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_PAGER="$PATH_TO_PAGER" # Let the user override the test with a path. ;; @@ -5165,6 +5276,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi PATH_TO_PAGER=$ac_cv_path_PATH_TO_PAGER @@ -5191,8 +5303,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_HASHSUM+y} then : printf %s "(cached) " >&6 -else $as_nop - case $PATH_TO_HASHSUM in +else case e in #( + e) case $PATH_TO_HASHSUM in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_HASHSUM="$PATH_TO_HASHSUM" # Let the user override the test with a path. ;; @@ -5217,6 +5329,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi PATH_TO_HASHSUM=$ac_cv_path_PATH_TO_HASHSUM @@ -5250,8 +5363,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_TCLSH+y} then : printf %s "(cached) " >&6 -else $as_nop - case $PATH_TO_TCLSH in +else case e in #( + e) case $PATH_TO_TCLSH in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_TCLSH="$PATH_TO_TCLSH" # Let the user override the test with a path. ;; @@ -5277,6 +5390,7 @@ IFS=$as_save_IFS test -z "$ac_cv_path_PATH_TO_TCLSH" && ac_cv_path_PATH_TO_TCLSH="UNKNOWN_TCLSH" ;; +esac ;; esac fi PATH_TO_TCLSH=$ac_cv_path_PATH_TO_TCLSH @@ -5305,8 +5419,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_TR+y} then : printf %s "(cached) " >&6 -else $as_nop - case $PATH_TO_TR in +else case e in #( + e) case $PATH_TO_TR in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_TR="$PATH_TO_TR" # Let the user override the test with a path. ;; @@ -5331,6 +5445,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi PATH_TO_TR=$ac_cv_path_PATH_TO_TR @@ -5356,8 +5471,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_LS+y} then : printf %s "(cached) " >&6 -else $as_nop - case $PATH_TO_LS in +else case e in #( + e) case $PATH_TO_LS in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_LS="$PATH_TO_LS" # Let the user override the test with a path. ;; @@ -5382,6 +5497,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi PATH_TO_LS=$ac_cv_path_PATH_TO_LS @@ -5447,8 +5563,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_FIND_PATH_TO_LUA+y} then : printf %s "(cached) " >&6 -else $as_nop - case $FIND_PATH_TO_LUA in +else case e in #( + e) case $FIND_PATH_TO_LUA in [\\/]* | ?:[\\/]*) ac_cv_path_FIND_PATH_TO_LUA="$FIND_PATH_TO_LUA" # Let the user override the test with a path. ;; @@ -5473,6 +5589,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi FIND_PATH_TO_LUA=$ac_cv_path_FIND_PATH_TO_LUA @@ -5502,8 +5619,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_FIND_PATH_TO_LUAC+y} then : printf %s "(cached) " >&6 -else $as_nop - case $FIND_PATH_TO_LUAC in +else case e in #( + e) case $FIND_PATH_TO_LUAC in [\\/]* | ?:[\\/]*) ac_cv_path_FIND_PATH_TO_LUAC="$FIND_PATH_TO_LUAC" # Let the user override the test with a path. ;; @@ -5528,6 +5645,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi FIND_PATH_TO_LUAC=$ac_cv_path_FIND_PATH_TO_LUAC @@ -5674,8 +5792,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_pkgConfig+y} then : printf %s "(cached) " >&6 -else $as_nop - case $pkgConfig in +else case e in #( + e) case $pkgConfig in [\\/]* | ?:[\\/]*) ac_cv_path_pkgConfig="$pkgConfig" # Let the user override the test with a path. ;; @@ -5701,6 +5819,7 @@ IFS=$as_save_IFS test -z "$ac_cv_path_pkgConfig" && ac_cv_path_pkgConfig="""" ;; +esac ;; esac fi pkgConfig=$ac_cv_path_pkgConfig @@ -5770,8 +5889,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_ZSH+y} then : printf %s "(cached) " >&6 -else $as_nop - case $ZSH in +else case e in #( + e) case $ZSH in [\\/]* | ?:[\\/]*) ac_cv_path_ZSH="$ZSH" # Let the user override the test with a path. ;; @@ -5796,6 +5915,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi ZSH=$ac_cv_path_ZSH @@ -5879,8 +5999,8 @@ 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 @@ -5910,14 +6030,14 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} (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 + # '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. + # 'set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | @@ -5981,9 +6101,7 @@ s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g t quote b any :quote -s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g -s/\[/\\&/g -s/\]/\\&/g +s/[][ `~#$^&*(){}\\|;'\''"<>?]/\\&/g s/\$/$$/g H :any @@ -6043,7 +6161,6 @@ cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 # 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 @@ -6052,12 +6169,13 @@ then : # is contrary to our usage. Disable this feature. 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 @@ -6129,7 +6247,7 @@ 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 @@ -6158,7 +6276,6 @@ as_fn_error () } # as_fn_error - # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -6198,11 +6315,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... @@ -6216,11 +6334,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 @@ -6303,9 +6422,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 @@ -6386,10 +6505,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 exec 6>&1 @@ -6405,7 +6526,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # 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.72. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -6432,7 +6553,7 @@ _ACEOF 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. @@ -6460,10 +6581,10 @@ 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.72, with options \\"\$ac_cs_config\\" -Copyright (C) 2021 Free Software Foundation, Inc. +Copyright (C) 2023 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -6520,8 +6641,8 @@ do 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 ;; @@ -6571,7 +6692,7 @@ do case $ac_config_target in "makefile") CONFIG_FILES="$CONFIG_FILES makefile:Makefile.in" ;; - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;; esac done @@ -6589,7 +6710,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= @@ -6613,7 +6734,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 @@ -6779,7 +6900,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 @@ -6801,19 +6922,19 @@ 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 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 '` @@ -6937,7 +7058,7 @@ 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 @@ -6966,9 +7087,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" diff --git a/configure.ac b/configure.ac index 90fb56d84..b9b50157b 100644 --- a/configure.ac +++ b/configure.ac @@ -678,7 +678,7 @@ AC_SUBST(PATH_TO_LUA) AC_ARG_WITH(lua, AS_HELP_STRING([--with-lua=ans],[absolute path to the lua interpreter to use [[lua]]]), PATH_TO_LUA="$withval" - if test $(printf %.1s" "$PATH_TO_LUA) != '/' ; then + if test $(printf %.1s "$PATH_TO_LUA") != '/' ; then echo echo "ERROR: Path to lua must be absolute!" exit 1 @@ -695,7 +695,7 @@ AC_SUBST(PATH_TO_LUAC) AC_ARG_WITH(luac, AS_HELP_STRING([--with-luac=ans],[absolute path to the luac interpreter to use [[luac]]]), PATH_TO_LUAC="$withval" - if test $(printf %.1s" "$PATH_TO_LUAC) != '/' ; then + if test $(printf %.1s "$PATH_TO_LUAC") != '/' ; then echo echo "ERROR: Path to luac must be absolute" exit 1