From b6185a8f04c3a02be2a5dfa7aacb494b938ce98a Mon Sep 17 00:00:00 2001 From: Robert McLay Date: Wed, 31 Jul 2024 14:39:13 -0500 Subject: [PATCH 1/6] Update README.new --- README.new | 1 - 1 file changed, 1 deletion(-) diff --git a/README.new b/README.new index 071e7c64d..dc5fe82d2 100644 --- a/README.new +++ b/README.new @@ -165,4 +165,3 @@ Lmod 8.7+ W.I.P: (8.7.48) * Issue #717: Keep previous varT when restoring a collection. Otherwise the previous modules env vars. are lost and therefore not purged. - * Change configure.ac to run all tests before erroring out From e335b0c0bdbfff5b50b8e385c33489256139413b Mon Sep 17 00:00:00 2001 From: Robert McLay Date: Wed, 31 Jul 2024 16:45:20 -0500 Subject: [PATCH 2/6] configure foo --- configure | 985 ++++++++++++++++++++++++------------------------------ 1 file changed, 433 insertions(+), 552 deletions(-) diff --git a/configure b/configure index 132d7611f..3a0d809bf 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.72. +# Generated by GNU Autoconf 2.71. # # -# Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation, +# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, # Inc. # # @@ -15,6 +15,7 @@ # 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 @@ -23,13 +24,12 @@ then : # 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,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,14 +131,15 @@ 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="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=: @@ -146,13 +147,12 @@ then : # 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 " @@ -170,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)) @@ -185,15 +184,14 @@ test -x / || 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 @@ -226,13 +224,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 @@ -254,7 +251,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 @@ -273,8 +270,7 @@ $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} @@ -313,6 +309,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 # ------------- @@ -381,12 +385,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... @@ -400,14 +403,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] # ---------------------------------------- @@ -481,8 +491,6 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits /[$]LINENO/= ' <$as_myself | sed ' - t clear - :clear s/[$]LINENO.*/&-/ t lineno b @@ -531,6 +539,7 @@ 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 @@ -542,9 +551,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 @@ -569,12 +578,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 && - 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 @@ -955,7 +962,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 @@ -1168,7 +1175,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 @@ -1184,7 +1191,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 @@ -1214,8 +1221,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" ;; *=*) @@ -1223,7 +1230,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 ;; @@ -1273,7 +1280,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 +1348,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)` @@ -1369,7 +1376,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]... @@ -1383,11 +1390,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 @@ -1395,10 +1402,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. @@ -1537,7 +1544,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. @@ -1605,9 +1612,9 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF configure -generated by GNU Autoconf 2.72 +generated by GNU Autoconf 2.71 -Copyright (C) 2023 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 @@ -1646,12 +1653,11 @@ printf "%s\n" "$ac_try_echo"; } >&5 } && 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 @@ -1670,8 +1676,8 @@ 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> @@ -1679,12 +1685,10 @@ _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 @@ -1724,12 +1728,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 @@ -1765,7 +1768,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.72. Invocation command line was +generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -2011,10 +2014,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 @@ -2050,7 +2053,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]; } @@ -2064,21 +2069,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 @@ -2106,19 +2096,16 @@ 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 @@ -2168,6 +2155,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) @@ -2233,8 +2221,6 @@ 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 = { @@ -2256,7 +2242,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 @@ -2379,12 +2365,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=: ;; ,);; *) @@ -2393,18 +2379,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. @@ -2420,11 +2406,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 ## -------------------- ## @@ -2462,8 +2448,8 @@ 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 @@ -2485,8 +2471,7 @@ done done IFS=$as_save_IFS -fi ;; -esac +fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -2508,8 +2493,8 @@ 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 @@ -2531,8 +2516,7 @@ 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 @@ -2567,8 +2551,8 @@ 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 @@ -2590,8 +2574,7 @@ done done IFS=$as_save_IFS -fi ;; -esac +fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -2613,8 +2596,8 @@ 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 @@ -2653,8 +2636,7 @@ 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 @@ -2678,8 +2660,8 @@ 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 @@ -2701,8 +2683,7 @@ done done IFS=$as_save_IFS -fi ;; -esac +fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -2728,8 +2709,8 @@ 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 @@ -2751,8 +2732,7 @@ 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 @@ -2790,8 +2770,8 @@ 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 @@ -2813,8 +2793,7 @@ done done IFS=$as_save_IFS -fi ;; -esac +fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -2836,8 +2815,8 @@ 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 @@ -2859,8 +2838,7 @@ 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 @@ -2889,10 +2867,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 @@ -2964,8 +2942,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. @@ -2985,7 +2963,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. @@ -2996,9 +2974,8 @@ 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 : @@ -3007,14 +2984,13 @@ 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 "checking for C compiler default output file name... " >&6; } @@ -3038,10 +3014,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 @@ -3051,12 +3027,11 @@ 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 @@ -3072,8 +3047,6 @@ int main (void) { FILE *f = fopen ("conftest.out", "w"); - if (!f) - return 1; return ferror (f) || fclose (f) != 0; ; @@ -3113,27 +3086,26 @@ 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.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 "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 @@ -3165,18 +3137,16 @@ 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; } @@ -3187,8 +3157,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 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 @@ -3205,14 +3175,12 @@ _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; } @@ -3230,8 +3198,8 @@ 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" @@ -3249,8 +3217,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. */ @@ -3265,8 +3233,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. */ @@ -3283,15 +3251,12 @@ 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; } @@ -3318,8 +3283,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 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. */ @@ -3336,28 +3301,25 @@ 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 +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 case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 +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" ;; -esac + 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 @@ -3367,8 +3329,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 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. */ @@ -3385,28 +3347,25 @@ 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 +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 case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 +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" ;; -esac + 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 @@ -3416,8 +3375,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 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. */ @@ -3434,28 +3393,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 +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 case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +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" ;; -esac + 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 @@ -3515,14 +3471,13 @@ then : printf "%s\n" "DUPLICATE_PATHS=$with_duplicatePaths" >&6; } printf "%s\n" "#define DUPLICATE_PATHS \"$with_duplicatePaths\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -3537,14 +3492,13 @@ then : printf "%s\n" "LMOD_ALLOW_ROOT_USE=$with_allowRootUse" >&6; } printf "%s\n" "#define LMOD_ALLOW_ROOT_USE \"$with_allowRootUse\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -3557,14 +3511,13 @@ then : printf "%s\n" "SITE_MSG_FILE=$with_siteMsgFile" >&6; } printf "%s\n" "#define SITE_MSG_FILE \"$with_siteMsgFile\"" >>confdefs.h -else case e in #( - e) withval="" +else $as_nop + 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 @@ -3577,14 +3530,13 @@ then : printf "%s\n" "LMOD_OVERRIDE_LANG=$with_lang" >&6; } printf "%s\n" "#define LMOD_OVERRIDE_LANG \"$with_lang\"" >>confdefs.h -else case e in #( - e) withval="" +else $as_nop + 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 @@ -3599,14 +3551,13 @@ then : printf "%s\n" "CASE_INDEPENDENT_SORTING=$with_caseIndependentSorting" >&6; } printf "%s\n" "#define CASE_INDEPENDENT_SORTING \"$with_caseIndependentSorting\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -3621,14 +3572,13 @@ then : printf "%s\n" "COLORIZE=$with_colorize" >&6; } printf "%s\n" "#define COLORIZE \"$with_colorize\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -3643,14 +3593,13 @@ then : printf "%s\n" "DYNAMIC_SPIDER_CACHE=$with_dynamicSpiderCache" >&6; } printf "%s\n" "#define DYNAMIC_SPIDER_CACHE \"$with_dynamicSpiderCache\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -3665,14 +3614,13 @@ then : printf "%s\n" "HIDDEN_ITALIC=$with_hiddenItalic" >&6; } printf "%s\n" "#define HIDDEN_ITALIC \"$with_hiddenItalic\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -3687,14 +3635,13 @@ then : printf "%s\n" "EXACT_MATCH=$with_exactMatch" >&6; } printf "%s\n" "#define EXACT_MATCH \"$with_exactMatch\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -3708,14 +3655,13 @@ then : printf "%s\n" "MODE=$with_mode" >&6; } printf "%s\n" "#define MODE \"$with_mode\"" >>confdefs.h -else case e in #( - e) withval="user_default" +else $as_nop + 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 @@ -3728,14 +3674,13 @@ then : printf "%s\n" "LMOD_CONFIG_DIR=$with_lmodConfigDir" >&6; } printf "%s\n" "#define LMOD_CONFIG_DIR \"$with_lmodConfigDir\"" >>confdefs.h -else case e in #( - e) withval="/etc/lmod" +else $as_nop + 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 @@ -3750,14 +3695,13 @@ then : printf "%s\n" "AUTO_SWAP=$with_autoSwap" >&6; } printf "%s\n" "#define AUTO_SWAP \"$with_autoSwap\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -3774,14 +3718,13 @@ then : printf "%s\n" "EXPORT_MODULE=$with_exportedModuleCmd" >&6; } printf "%s\n" "#define EXPORT_MODULE \"$with_exportedModuleCmd\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -3796,14 +3739,13 @@ then : printf "%s\n" "REDIRECT=$with_redirect" >&6; } printf "%s\n" "#define REDIRECT \"$with_redirect\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -3815,14 +3757,13 @@ then : printf "%s\n" "MODULEPATH_ROOT=$with_module_root_path" >&6; } printf "%s\n" "#define MODULEPATH_ROOT \"$with_module_root_path\"" >>confdefs.h -else case e in #( - e) withval="$prefix/modulefiles" +else $as_nop + 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 @@ -3835,14 +3776,13 @@ then : printf "%s\n" "ANCIENT=$with_ancient" >&6; } printf "%s\n" "#define ANCIENT \"$with_ancient\"" >>confdefs.h -else case e in #( - e) withval="86400" +else $as_nop + 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 @@ -3855,14 +3795,13 @@ then : printf "%s\n" "SHORT_TIME=$with_shortTime" >&6; } printf "%s\n" "#define SHORT_TIME \"$with_shortTime\"" >>confdefs.h -else case e in #( - e) withval="2" +else $as_nop + 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 @@ -3875,14 +3814,13 @@ then : printf "%s\n" "SPIDER_CACHE_DIRS=$with_spiderCacheDir" >&6; } printf "%s\n" "#define SPIDER_CACHE_DIRS \"$with_spiderCacheDir\"" >>confdefs.h -else case e in #( - e) withval="" +else $as_nop + 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 @@ -3895,14 +3833,13 @@ then : printf "%s\n" "SPIDER_CACHE_DESCRIPT_FN=$with_spiderCacheDescript" >&6; } printf "%s\n" "#define SPIDER_CACHE_DESCRIPT_FN \"$with_spiderCacheDescript\"" >>confdefs.h -else case e in #( - e) withval="" +else $as_nop + 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 @@ -3915,14 +3852,13 @@ then : printf "%s\n" "UPDATE_SYSTEM_FN=$with_updateSystemFn" >&6; } printf "%s\n" "#define UPDATE_SYSTEM_FN \"$with_updateSystemFn\"" >>confdefs.h -else case e in #( - e) withval="" +else $as_nop + 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 @@ -3935,14 +3871,13 @@ then : printf "%s\n" "PREPEND_BLOCK=$with_prependBlock" >&6; } printf "%s\n" "#define PREPEND_BLOCK \"$with_prependBlock\"" >>confdefs.h -else case e in #( - e) withval="normal" +else $as_nop + 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 @@ -3955,14 +3890,13 @@ then : printf "%s\n" "SITE_NAME=$with_siteName" >&6; } printf "%s\n" "#define SITE_NAME \"$with_siteName\"" >>confdefs.h -else case e in #( - e) withval='' +else $as_nop + 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 @@ -3975,14 +3909,13 @@ then : printf "%s\n" "SYSHOST=$with_syshost" >&6; } printf "%s\n" "#define SYSHOST \"$with_syshost\"" >>confdefs.h -else case e in #( - e) withval='' +else $as_nop + 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 @@ -3997,14 +3930,13 @@ then : printf "%s\n" "ALLOW_TCL_MFILES==$withval" >&6; } printf "%s\n" "#define ALLOW_TCL_MFILES \"$withval\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -4019,14 +3951,13 @@ then : printf "%s\n" "DISABLE_NAME_AUTOSWAP==$withval" >&6; } printf "%s\n" "#define DISABLE_NAME_AUTOSWAP \"$withval\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4041,14 +3972,13 @@ then : printf "%s\n" "MPATH_AVAIL==$withval" >&6; } printf "%s\n" "#define MPATH_AVAIL \"$withval\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4063,14 +3993,13 @@ then : printf "%s\n" "SETTARG=$with_settarg" >&6; } printf "%s\n" "#define SETTARG \"$with_settarg\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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" @@ -4085,14 +4014,13 @@ then : printf "%s\n" "IGNORE_DIRS=$with_ignoreDirs" >&6; } printf "%s\n" "#define IGNORE_DIRS \"$with_ignoreDirs\"" >>confdefs.h -else case e in #( - e) withval="$DFLT_IGNORE_DIRS" +else $as_nop + 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 @@ -4107,14 +4035,13 @@ then : printf "%s\n" "PIN_VERSIONS=$with_pinVersions" >&6; } printf "%s\n" "#define PIN_VERSIONS \"$with_pinVersions\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4129,14 +4056,13 @@ then : printf "%s\n" "LMOD_DOWNSTREAM_CONFLICTS=$with_downstreamConflicts" >&6; } printf "%s\n" "#define LMOD_DOWNSTREAM_CONFLICTS \"$with_downstreamConflicts\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4151,14 +4077,13 @@ then : printf "%s\n" "MODULES_AUTO_HANDLING=$with_modulesAutoHandling" >&6; } printf "%s\n" "#define MODULES_AUTO_HANDLING \"$with_modulesAutoHandling\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4173,14 +4098,13 @@ then : printf "%s\n" "TMOD_PATH_RULE=$with_tmodPathRule" >&6; } printf "%s\n" "#define TMOD_PATH_RULE \"$with_tmodPathRule\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4195,14 +4119,13 @@ then : printf "%s\n" "TMOD_FIND_FIRST=$with_tmodFindFirst" >&6; } printf "%s\n" "#define TMOD_FIND_FIRST \"$with_tmodFindFirst\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4215,14 +4138,13 @@ then : printf "%s\n" "LUA_INCLUDE=$with_lua_include" >&6; } printf "%s\n" "#define LUA_INCLUDE \"$with_lua_include\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4237,14 +4159,13 @@ then : printf "%s\n" "CACHED_LOADS=$with_cachedLoads" >&6; } printf "%s\n" "#define CACHED_LOADS \"$with_cachedLoads\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4259,14 +4180,13 @@ then : printf "%s\n" "EXTENDED_DEFAULT=$with_extendedDefault" >&6; } printf "%s\n" "#define EXTENDED_DEFAULT \"$with_extendedDefault\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -4281,14 +4201,13 @@ then : printf "%s\n" "SUPPORT_KSH=$with_supportKsh" >&6; } printf "%s\n" "#define SUPPORT_KSH \"$with_supportKsh\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4301,14 +4220,13 @@ then : printf "%s\n" "MODULEPATH_INIT=$with_ModulePathInit" >&6; } printf "%s\n" "#define MODULEPATH_INIT \"$with_ModulePathInit\"" >>confdefs.h -else case e in #( - e) withval="@PKG@/init/.modulespath" +else $as_nop + 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 @@ -4323,14 +4241,13 @@ then : printf "%s\n" "SITE_CONTROLLED_PREFIX=$with_siteControlPrefix" >&6; } printf "%s\n" "#define SITE_CONTROLLED_PREFIX \"$with_siteControlPrefix\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4345,14 +4262,13 @@ then : printf "%s\n" "USE_BUILT_IN_PKGS=$with_useBuiltinPkgs" >&6; } printf "%s\n" "#define USE_BUILT_IN_PKGS \"$with_useBuiltinPkgs\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4367,14 +4283,13 @@ 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 case e in #( - e) withval="no" +else $as_nop + 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 @@ -4389,14 +4304,13 @@ then : printf "%s\n" "SILENCE_SHELL_DEBUGGING=$with_silentShellDebugging" >&6; } printf "%s\n" "#define SILENCE_SHELL_DEBUGGING \"$with_silentShellDebugging\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -4411,14 +4325,13 @@ then : printf "%s\n" "FAST_TCL_INTERP=$with_fastTCLInterp" >&6; } printf "%s\n" "#define FAST_TCL_INTERP \"$with_fastTCLInterp\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -4433,14 +4346,13 @@ then : printf "%s\n" "MODULE_AUTO_HANDLING=$with-moduleAutoHandling" >&6; } printf "%s\n" "#define MODULE_AUTO_HANDLING \"$with-moduleAutoHandling\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4455,14 +4367,13 @@ then : printf "%s\n" "AVAIL_EXTENSIONS=$with_availExtensions" >&6; } printf "%s\n" "#define AVAIL_EXTENSIONS \"$with_availExtensions\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -4479,14 +4390,13 @@ then : printf "%s\n" "PATH_TO_LUA=$with_lua" >&6; } printf "%s\n" "#define PATH_TO_LUA \"$with_lua\"" >>confdefs.h -else case e in #( - e) withval="lua" +else $as_nop + 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 @@ -4503,14 +4413,13 @@ then : printf "%s\n" "PATH_TO_LUAC=$with_luac" >&6; } printf "%s\n" "#define PATH_TO_LUAC \"$with_luac\"" >>confdefs.h -else case e in #( - e) withval="luac" +else $as_nop + 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 @@ -4525,14 +4434,13 @@ then : printf "%s\n" "LUA_SUFFIX=$with_luaSuffic" >&6; } printf "%s\n" "#define LUA_SUFFIX \"$with_luaSuffix\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4563,8 +4471,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_pkgConfig+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $pkgConfig in +else $as_nop + case $pkgConfig in [\\/]* | ?:[\\/]*) ac_cv_path_pkgConfig="$pkgConfig" # Let the user override the test with a path. ;; @@ -4590,7 +4498,6 @@ IFS=$as_save_IFS test -z "$ac_cv_path_pkgConfig" && ac_cv_path_pkgConfig="""" ;; -esac ;; esac fi pkgConfig=$ac_cv_path_pkgConfig @@ -4667,21 +4574,15 @@ printf %s "checking for library containing Tcl_CreateInterp... " >&6; } if test ${ac_cv_search_Tcl_CreateInterp+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 Tcl_CreateInterp (void); + builtin and then its argument prototype would still apply. */ +char Tcl_CreateInterp (); int main (void) { @@ -4712,13 +4613,11 @@ done if test ${ac_cv_search_Tcl_CreateInterp+y} then : -else case e in #( - e) ac_cv_search_Tcl_CreateInterp=no ;; -esac +else $as_nop + ac_cv_search_Tcl_CreateInterp=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_Tcl_CreateInterp" >&5 printf "%s\n" "$ac_cv_search_Tcl_CreateInterp" >&6; } @@ -4727,10 +4626,9 @@ if test "$ac_res" != no then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" -else case e in #( - e) rm -f makefile; FOUND_ERROR=yes; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Unable to build Lmod with -ltcl Please install the tcl devel package or configure --with-fastTCLInterp=no to not require the tcl library" >&5 -printf "%s\n" "$as_me: Unable to build Lmod with -ltcl Please install the tcl devel package or configure --with-fastTCLInterp=no to not require the tcl library" >&6;} ;; -esac +else $as_nop + rm -f makefile; FOUND_ERROR=yes; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Unable to build Lmod with -ltcl Please install the tcl devel package or configure --with-fastTCLInterp=no to not require the tcl library" >&5 +printf "%s\n" "$as_me: Unable to build Lmod with -ltcl Please install the tcl devel package or configure --with-fastTCLInterp=no to not require the tcl library" >&6;} fi @@ -4784,8 +4682,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PS+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $PS in +else $as_nop + case $PS in [\\/]* | ?:[\\/]*) ac_cv_path_PS="$PS" # Let the user override the test with a path. ;; @@ -4811,7 +4709,6 @@ IFS=$as_save_IFS test -z "$ac_cv_path_PS" && ac_cv_path_PS="UNKNOWN_PS" ;; -esac ;; esac fi PS=$ac_cv_path_PS @@ -4839,8 +4736,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_READLINK+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $READLINK in +else $as_nop + case $READLINK in [\\/]* | ?:[\\/]*) ac_cv_path_READLINK="$READLINK" # Let the user override the test with a path. ;; @@ -4866,7 +4763,6 @@ IFS=$as_save_IFS test -z "$ac_cv_path_READLINK" && ac_cv_path_READLINK="UNKNOWN_READLINK" ;; -esac ;; esac fi READLINK=$ac_cv_path_READLINK @@ -4896,8 +4792,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_EXPR+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $EXPR in +else $as_nop + case $EXPR in [\\/]* | ?:[\\/]*) ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path. ;; @@ -4922,7 +4818,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi EXPR=$ac_cv_path_EXPR @@ -4956,8 +4851,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_BASENAME+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $BASENAME in +else $as_nop + case $BASENAME in [\\/]* | ?:[\\/]*) ac_cv_path_BASENAME="$BASENAME" # Let the user override the test with a path. ;; @@ -4982,7 +4877,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi BASENAME=$ac_cv_path_BASENAME @@ -5016,8 +4910,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_BC+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $BC in +else $as_nop + case $BC in [\\/]* | ?:[\\/]*) ac_cv_path_BC="$BC" # Let the user override the test with a path. ;; @@ -5042,7 +4936,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi BC=$ac_cv_path_BC @@ -5074,8 +4967,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_POD2MAN+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $PATH_TO_POD2MAN in +else $as_nop + case $PATH_TO_POD2MAN in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_POD2MAN="$PATH_TO_POD2MAN" # Let the user override the test with a path. ;; @@ -5101,7 +4994,6 @@ 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 @@ -5122,8 +5014,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_GIT+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $PATH_TO_GIT in +else $as_nop + case $PATH_TO_GIT in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_GIT="$PATH_TO_GIT" # Let the user override the test with a path. ;; @@ -5149,7 +5041,6 @@ 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 @@ -5171,8 +5062,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_PAGER+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $PATH_TO_PAGER in +else $as_nop + case $PATH_TO_PAGER in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_PAGER="$PATH_TO_PAGER" # Let the user override the test with a path. ;; @@ -5197,7 +5088,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi PATH_TO_PAGER=$ac_cv_path_PATH_TO_PAGER @@ -5224,8 +5114,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_HASHSUM+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $PATH_TO_HASHSUM in +else $as_nop + case $PATH_TO_HASHSUM in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_HASHSUM="$PATH_TO_HASHSUM" # Let the user override the test with a path. ;; @@ -5250,7 +5140,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi PATH_TO_HASHSUM=$ac_cv_path_PATH_TO_HASHSUM @@ -5284,8 +5173,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_TCLSH+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $PATH_TO_TCLSH in +else $as_nop + case $PATH_TO_TCLSH in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_TCLSH="$PATH_TO_TCLSH" # Let the user override the test with a path. ;; @@ -5311,7 +5200,6 @@ 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 @@ -5340,8 +5228,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_TR+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $PATH_TO_TR in +else $as_nop + case $PATH_TO_TR in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_TR="$PATH_TO_TR" # Let the user override the test with a path. ;; @@ -5366,7 +5254,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi PATH_TO_TR=$ac_cv_path_PATH_TO_TR @@ -5392,8 +5279,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_LS+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $PATH_TO_LS in +else $as_nop + case $PATH_TO_LS in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_LS="$PATH_TO_LS" # Let the user override the test with a path. ;; @@ -5418,7 +5305,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi PATH_TO_LS=$ac_cv_path_PATH_TO_LS @@ -5484,8 +5370,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_FIND_PATH_TO_LUA+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $FIND_PATH_TO_LUA in +else $as_nop + 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. ;; @@ -5510,7 +5396,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi FIND_PATH_TO_LUA=$ac_cv_path_FIND_PATH_TO_LUA @@ -5540,8 +5425,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_FIND_PATH_TO_LUAC+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $FIND_PATH_TO_LUAC in +else $as_nop + 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. ;; @@ -5566,7 +5451,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi FIND_PATH_TO_LUAC=$ac_cv_path_FIND_PATH_TO_LUAC @@ -5713,8 +5597,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_pkgConfig+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $pkgConfig in +else $as_nop + case $pkgConfig in [\\/]* | ?:[\\/]*) ac_cv_path_pkgConfig="$pkgConfig" # Let the user override the test with a path. ;; @@ -5740,7 +5624,6 @@ IFS=$as_save_IFS test -z "$ac_cv_path_pkgConfig" && ac_cv_path_pkgConfig="""" ;; -esac ;; esac fi pkgConfig=$ac_cv_path_pkgConfig @@ -5804,8 +5687,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_ZSH+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $ZSH in +else $as_nop + case $ZSH in [\\/]* | ?:[\\/]*) ac_cv_path_ZSH="$ZSH" # Let the user override the test with a path. ;; @@ -5830,7 +5713,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi ZSH=$ac_cv_path_ZSH @@ -5887,8 +5769,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 @@ -5918,14 +5800,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 | @@ -5989,7 +5871,9 @@ s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g t quote b any :quote -s/[][ `~#$^&*(){}\\|;'\''"<>?]/\\&/g +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g +s/\[/\\&/g +s/\]/\\&/g s/\$/$$/g H :any @@ -6049,6 +5933,7 @@ 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 @@ -6057,13 +5942,12 @@ then : # 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 @@ -6135,7 +6019,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 @@ -6164,6 +6048,7 @@ as_fn_error () } # as_fn_error + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -6203,12 +6088,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... @@ -6222,12 +6106,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 @@ -6310,9 +6193,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 @@ -6393,12 +6276,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'" exec 6>&1 @@ -6414,7 +6295,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.72. Invocation command line was +generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -6441,7 +6322,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. @@ -6469,10 +6350,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.72, +configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" -Copyright (C) 2023 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." @@ -6529,8 +6410,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 ;; @@ -6580,7 +6461,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 @@ -6598,7 +6479,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= @@ -6622,7 +6503,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 @@ -6788,7 +6669,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 @@ -6810,19 +6691,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 '` @@ -6946,7 +6827,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 @@ -6975,9 +6856,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" From 96821704fa51a87464d94e338310f489566dfb89 Mon Sep 17 00:00:00 2001 From: Robert McLay Date: Wed, 31 Jul 2024 17:29:14 -0500 Subject: [PATCH 3/6] more configure foo testing --- configure | 60 +++++++++++++++++++++++++++++++++++----------------- configure.ac | 54 ++++++++++++++++++++++++++++++++-------------- 2 files changed, 79 insertions(+), 35 deletions(-) diff --git a/configure b/configure index 3a0d809bf..d6513e223 100755 --- a/configure +++ b/configure @@ -3458,6 +3458,8 @@ FOLLOW_READLINK () echo $myprog } +ERR_MSG="" +FOUND_ERROR= @@ -4383,8 +4385,9 @@ if test ${with_lua+y} then : withval=$with_lua; PATH_TO_LUA="$withval" if test ${PATH_TO_LUA:0:1} != '/' ; then - echo "Path to lua must be absolute" - FOUND_ERROR=yes + echo + echo "ERROR: Path to lua must be absolute!" + exit 1 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: PATH_TO_LUA=$with_lua" >&5 printf "%s\n" "PATH_TO_LUA=$with_lua" >&6; } @@ -4406,8 +4409,9 @@ if test ${with_luac+y} then : withval=$with_luac; PATH_TO_LUAC="$withval" if test ${PATH_TO_LUAC:0:1} != '/' ; then - echo "Path to luac must be absolute" - FOUND_ERROR=yes + echo + echo "ERROR: Path to luac must be absolute" + exit 1 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: PATH_TO_LUAC=$with_luac" >&5 printf "%s\n" "PATH_TO_LUAC=$with_luac" >&6; } @@ -4447,8 +4451,6 @@ if test "$ALLOW_TCL_MFILES" = no ; then FAST_TCL_INTERP=no fi -FOUND_ERROR= - if test "$FAST_TCL_INTERP" = yes ; then OS=$(uname -s) if test "$OS" = Darwin ; then @@ -4456,7 +4458,7 @@ if test "$FAST_TCL_INTERP" = yes ; then TCL_INCLUDE="-I${DIR}/usr/include" else for i in "" tcl tcl8.8 tcl8.7 tcl8.6 tcl8.5; do - if test -f /usr/include/$i/tcl.h ; then + if test -f /usr/include/$i/tcl.hh ; then TCL_INCLUDE="-I/usr/include/$i" break; fi @@ -4464,8 +4466,8 @@ if test "$FAST_TCL_INTERP" = yes ; then fi if test -z "$TCL_INCLUDE" ; then - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 + # Extract the first word of "pkg-configFoo", so it can be a program name with args. +set dummy pkg-configFoo; ac_word=$2 { 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_pkgConfig+y} @@ -4554,8 +4556,8 @@ then : printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h fi -ac_fn_c_check_header_compile "$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default" -if test "x$ac_cv_header_tcl_h" = xyes +ac_fn_c_check_header_compile "$LINENO" "tcl.hh" "ac_cv_header_tcl_hh" "$ac_includes_default" +if test "x$ac_cv_header_tcl_hh" = xyes then : printf "%s\n" "#define HAVE_TCL_H 1" >>confdefs.h @@ -4566,8 +4568,10 @@ fi if test "$ac_cv_header_tcl_h" != yes ; then rm -f makefile FOUND_ERROR=yes - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Unable to build Lmod without tcl.h. Please install the tcl devel package or configure --with-fastTCLInterp=no to not require tcl.h" >&5 -printf "%s\n" "$as_me: Unable to build Lmod without tcl.h. Please install the tcl devel package or configure --with-fastTCLInterp=no to not require tcl.h" >&6;} + MSG="Unable to build Lmod without tcl.h. Please install the tcl devel package or configure --with-fastTCLInterp=no to not require tcl.h" + ERR_MSG="$ERR_MSG||$MSG" + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $MSG" >&5 +printf "%s\n" "$as_me: $MSG" >&6;} fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_CreateInterp" >&5 printf %s "checking for library containing Tcl_CreateInterp... " >&6; } @@ -4661,14 +4665,25 @@ PATH_TO_SRC=$SRCDIR -if test $MODE != "user_default" ; then - mode=0$MODE +FOUND_ERROR=yes +MSG="MODE must have at least one executable bit set (Not MODE=$MODE)| +Please try setting mode to 755 or 750 or 700 or similar." + + echo "$MSG" + echo +ERR_MSG="$ERR_MSG||$MSG" + +if test $MODE == "user_default" ; then + mode=0755 EXEC_BITS=$(( 0111 & $mode )); if test $EXEC_BITS = 0; then +MSG="MODE must have at least one executable bit set (Not MODE=$MODE) +Please try setting mode to 755 or 750 or 700 or similar." + + echo "$MSG" echo - echo "MODE must have at least one executable bit set (Not MODE=$MODE)" - echo "Please try setting mode to 755 or 750 or 700 or similar." - echo +ERR_MSG="$ERR_MSG +$MSG" rm -f makefile FOUND_ERROR=yes fi @@ -5673,8 +5688,15 @@ fi if test $FOUND_ERROR = yes; then echo - echo One or more errors found -> Quiting! + echo One or more errors found: echo + echo Error Messages: + echo "------------------------------------------------------------" + echo $ERR_MSG | tr '|' '\n' | while read item; do + echo $item + done + echo "------------------------------------------------------------" + rm -f makefile exit 1; fi diff --git a/configure.ac b/configure.ac index cfe0a3ed5..c73e77b47 100644 --- a/configure.ac +++ b/configure.ac @@ -42,6 +42,8 @@ FOLLOW_READLINK () echo $myprog } +ERR_MSG="" +FOUND_ERROR= AC_SUBST(DUPLICATE_PATHS) AC_ARG_WITH(duplicatePaths, @@ -651,8 +653,9 @@ 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 ${PATH_TO_LUA:0:1} != '/' ; then - echo "Path to lua must be absolute" - FOUND_ERROR=yes + echo + echo "ERROR: Path to lua must be absolute!" + exit 1 fi AC_MSG_RESULT([PATH_TO_LUA=$with_lua]) AC_DEFINE_UNQUOTED(PATH_TO_LUA, "$with_lua")dnl @@ -667,8 +670,9 @@ 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 ${PATH_TO_LUAC:0:1} != '/' ; then - echo "Path to luac must be absolute" - FOUND_ERROR=yes + echo + echo "ERROR: Path to luac must be absolute" + exit 1 fi AC_MSG_RESULT([PATH_TO_LUAC=$with_luac]) AC_DEFINE_UNQUOTED(PATH_TO_LUAC, "$with_luac")dnl @@ -696,8 +700,6 @@ if test "$ALLOW_TCL_MFILES" = no ; then FAST_TCL_INTERP=no fi -FOUND_ERROR= - if test "$FAST_TCL_INTERP" = yes ; then OS=$(uname -s) if test "$OS" = Darwin ; then @@ -705,7 +707,7 @@ if test "$FAST_TCL_INTERP" = yes ; then TCL_INCLUDE="-I${DIR}/usr/include" else for i in "" tcl tcl8.8 tcl8.7 tcl8.6 tcl8.5; do - if test -f /usr/include/$i/tcl.h ; then + if test -f /usr/include/$i/tcl.hh ; then TCL_INCLUDE="-I/usr/include/$i" break; fi @@ -713,7 +715,7 @@ if test "$FAST_TCL_INTERP" = yes ; then fi if test -z "$TCL_INCLUDE" ; then - AC_PATH_PROG(pkgConfig, pkg-config, "") + AC_PATH_PROG(pkgConfig, pkg-configFoo, "") if ! test x$pkgConfig = "x"; then for i in tcl tcl8.8 tcl8.7 tcl8.6 tcl8.5; do $pkgConfig --exists $i @@ -728,13 +730,15 @@ if test "$FAST_TCL_INTERP" = yes ; then CPPFLAGS="$TCL_INCLUDE" - AC_CHECK_HEADER(tcl.h, + AC_CHECK_HEADER(tcl.hh, [AC_DEFINE([HAVE_TCL_H], 1, [Define to 1 if you have tcl.h])],[]) if test "$ac_cv_header_tcl_h" != yes ; then rm -f makefile FOUND_ERROR=yes - AC_MSG_NOTICE([Unable to build Lmod without tcl.h. Please install the tcl devel package or configure --with-fastTCLInterp=no to not require tcl.h]) + MSG="Unable to build Lmod without tcl.h. Please install the tcl devel package or configure --with-fastTCLInterp=no to not require tcl.h" + ERR_MSG="$ERR_MSG||$MSG" + AC_MSG_NOTICE([$MSG]) fi AC_SEARCH_LIBS(Tcl_CreateInterp, [tcl] [tcl8.8] [tcl8.7] [tcl8.6] [tcl8.5],[], [rm -f makefile; FOUND_ERROR=yes; AC_MSG_NOTICE([Unable to build Lmod with -ltcl Please install the tcl devel package or configure --with-fastTCLInterp=no to not require the tcl library])], [$TCL_LIBS]) @@ -766,14 +770,25 @@ AC_SUBST(PATH_TO_HASHSUM) AC_SUBST(PATH_TO_PAGER) AC_SUBST(PATH_TO_TCLSH) -if test $MODE != "user_default" ; then - mode=0$MODE +FOUND_ERROR=yes +MSG="MODE must have at least one executable bit set (Not MODE=$MODE)| +Please try setting mode to 755 or 750 or 700 or similar." + + echo "$MSG" + echo +ERR_MSG="$ERR_MSG||$MSG" + +if test $MODE == "user_default" ; then + mode=0755 EXEC_BITS=$(( 0111 & $mode )); if test $EXEC_BITS = 0; then +MSG="MODE must have at least one executable bit set (Not MODE=$MODE) +Please try setting mode to 755 or 750 or 700 or similar." + + echo "$MSG" echo - echo "MODE must have at least one executable bit set (Not MODE=$MODE)" - echo "Please try setting mode to 755 or 750 or 700 or similar." - echo +ERR_MSG="$ERR_MSG +$MSG" rm -f makefile FOUND_ERROR=yes fi @@ -1066,8 +1081,15 @@ fi if test $FOUND_ERROR = yes; then echo - echo One or more errors found -> Quiting! + echo One or more errors found: echo + echo Error Messages: + echo "------------------------------------------------------------" + echo $ERR_MSG | tr '|' '\n' | while read item; do + echo $item + done + echo "------------------------------------------------------------" + rm -f makefile exit 1; fi From 679008c99e702f4d503a1067476a90b8f0c09e97 Mon Sep 17 00:00:00 2001 From: Robert McLay Date: Wed, 31 Jul 2024 18:20:54 -0500 Subject: [PATCH 4/6] Better configure error handling --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index cf9e5c24b..fbf0d484a 100755 --- a/configure +++ b/configure @@ -5686,7 +5686,7 @@ fi ##### LUA configuration -- end -if test $FOUND_ERROR = yes; then +if test "$FOUND_ERROR" = yes; then echo echo One or more errors found: echo diff --git a/configure.ac b/configure.ac index 0e0707848..164a0e0bb 100644 --- a/configure.ac +++ b/configure.ac @@ -1078,7 +1078,7 @@ fi ##### LUA configuration -- end -if test $FOUND_ERROR = yes; then +if test "$FOUND_ERROR" = yes; then echo echo One or more errors found: echo From f53d79f3290e200c1233cdf90b8db2cc26a4cf6e Mon Sep 17 00:00:00 2001 From: Robert McLay Date: Thu, 1 Aug 2024 09:06:09 -0500 Subject: [PATCH 5/6] update configure to report all errors before quiting --- configure | 995 ++++++++++++++++++++++++++++----------------------- configure.ac | 10 +- 2 files changed, 554 insertions(+), 451 deletions(-) diff --git a/configure b/configure index fbf0d484a..32ad3975c 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 @@ -964,7 +957,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 @@ -1177,7 +1170,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 @@ -1193,7 +1186,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 @@ -1223,8 +1216,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" ;; *=*) @@ -1232,7 +1225,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 ;; @@ -1282,7 +1275,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 @@ -1350,7 +1343,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)` @@ -1378,7 +1371,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]... @@ -1392,11 +1385,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 @@ -1404,10 +1397,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. @@ -1546,7 +1539,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. @@ -1614,9 +1607,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 @@ -1655,11 +1648,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 @@ -1678,8 +1672,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> @@ -1687,10 +1681,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 @@ -1730,11 +1726,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 @@ -1770,7 +1767,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 @@ -2016,10 +2013,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 @@ -2055,9 +2052,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]; } @@ -2071,6 +2066,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 @@ -2098,16 +2108,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 @@ -2157,7 +2170,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) @@ -2223,6 +2235,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 = { @@ -2244,7 +2258,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 @@ -2367,12 +2381,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=: ;; ,);; *) @@ -2381,18 +2395,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. @@ -2408,11 +2422,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 ## -------------------- ## @@ -2450,8 +2464,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 @@ -2473,7 +2487,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -2495,8 +2510,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 @@ -2518,7 +2533,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 @@ -2553,8 +2569,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 @@ -2576,7 +2592,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -2598,8 +2615,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 @@ -2638,7 +2655,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 @@ -2662,8 +2680,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 @@ -2685,7 +2703,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -2711,8 +2730,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 @@ -2734,7 +2753,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 @@ -2772,8 +2792,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 @@ -2795,7 +2815,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -2817,8 +2838,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 @@ -2840,7 +2861,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 @@ -2869,10 +2891,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 @@ -2944,8 +2966,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. @@ -2965,7 +2987,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. @@ -2976,8 +2998,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 : @@ -2986,13 +3009,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; } @@ -3016,10 +3040,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 @@ -3029,11 +3053,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 @@ -3049,6 +3074,8 @@ int main (void) { FILE *f = fopen ("conftest.out", "w"); + if (!f) + return 1; return ferror (f) || fclose (f) != 0; ; @@ -3088,26 +3115,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 @@ -3139,16 +3167,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; } @@ -3159,8 +3189,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 @@ -3177,12 +3207,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; } @@ -3200,8 +3232,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" @@ -3219,8 +3251,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. */ @@ -3235,8 +3267,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. */ @@ -3253,12 +3285,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; } @@ -3285,8 +3320,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. */ @@ -3303,25 +3338,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 @@ -3331,8 +3369,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. */ @@ -3349,25 +3387,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 @@ -3377,8 +3418,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. */ @@ -3395,25 +3436,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 @@ -3475,13 +3519,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 @@ -3496,13 +3541,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 @@ -3515,13 +3561,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 @@ -3534,13 +3581,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 @@ -3555,13 +3603,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 @@ -3576,13 +3625,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 @@ -3597,13 +3647,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 @@ -3618,13 +3669,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 @@ -3639,13 +3691,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 @@ -3659,13 +3712,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 @@ -3678,13 +3732,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 @@ -3699,13 +3754,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 @@ -3722,13 +3778,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 @@ -3743,13 +3800,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 @@ -3761,13 +3819,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 @@ -3780,13 +3839,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 @@ -3799,13 +3859,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 @@ -3818,13 +3879,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 @@ -3837,13 +3899,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 @@ -3856,13 +3919,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 @@ -3875,13 +3939,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 @@ -3894,13 +3959,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 @@ -3913,13 +3979,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 @@ -3934,13 +4001,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 @@ -3955,13 +4023,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 @@ -3976,13 +4045,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 @@ -3997,13 +4067,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" @@ -4018,13 +4089,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 @@ -4039,13 +4111,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 @@ -4060,13 +4133,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 @@ -4081,13 +4155,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 @@ -4102,13 +4177,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 @@ -4123,13 +4199,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 @@ -4142,13 +4219,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 @@ -4163,13 +4241,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 @@ -4184,13 +4263,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 @@ -4205,13 +4285,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 @@ -4224,13 +4305,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 @@ -4245,13 +4327,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 @@ -4266,13 +4349,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 @@ -4287,13 +4371,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 @@ -4308,13 +4393,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 @@ -4329,13 +4415,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 @@ -4350,13 +4437,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 @@ -4371,13 +4459,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 @@ -4395,13 +4484,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 @@ -4419,13 +4509,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 @@ -4440,13 +4531,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 @@ -4475,8 +4567,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. ;; @@ -4502,6 +4594,7 @@ IFS=$as_save_IFS test -z "$ac_cv_path_pkgConfig" && ac_cv_path_pkgConfig="""" ;; +esac ;; esac fi pkgConfig=$ac_cv_path_pkgConfig @@ -4558,8 +4651,8 @@ then : printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h fi -ac_fn_c_check_header_compile "$LINENO" "tcl.hh" "ac_cv_header_tcl_hh" "$ac_includes_default" -if test "x$ac_cv_header_tcl_hh" = xyes +ac_fn_c_check_header_compile "$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default" +if test "x$ac_cv_header_tcl_h" = xyes then : printf "%s\n" "#define HAVE_TCL_H 1" >>confdefs.h @@ -4580,15 +4673,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) { @@ -4619,11 +4718,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; } @@ -4632,8 +4733,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 @@ -4666,14 +4768,6 @@ PATH_TO_SRC=$SRCDIR -FOUND_ERROR=yes -MSG="MODE must have at least one executable bit set (Not MODE=$MODE)| -Please try setting mode to 755 or 750 or 700 or similar." - - echo "$MSG" - echo -ERR_MSG="$ERR_MSG||$MSG" - if test $MODE == "user_default" ; then mode=0755 EXEC_BITS=$(( 0111 & $mode )); @@ -4698,8 +4792,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. ;; @@ -4725,6 +4819,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 @@ -4752,8 +4847,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. ;; @@ -4779,6 +4874,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 @@ -4808,8 +4904,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. ;; @@ -4834,6 +4930,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi EXPR=$ac_cv_path_EXPR @@ -4867,8 +4964,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. ;; @@ -4893,6 +4990,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi BASENAME=$ac_cv_path_BASENAME @@ -4926,8 +5024,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. ;; @@ -4952,6 +5050,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi BC=$ac_cv_path_BC @@ -4983,8 +5082,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. ;; @@ -5010,6 +5109,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 @@ -5030,8 +5130,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. ;; @@ -5057,6 +5157,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 @@ -5078,8 +5179,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. ;; @@ -5104,6 +5205,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi PATH_TO_PAGER=$ac_cv_path_PATH_TO_PAGER @@ -5130,8 +5232,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. ;; @@ -5156,6 +5258,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi PATH_TO_HASHSUM=$ac_cv_path_PATH_TO_HASHSUM @@ -5189,8 +5292,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. ;; @@ -5216,6 +5319,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 @@ -5244,8 +5348,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. ;; @@ -5270,6 +5374,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi PATH_TO_TR=$ac_cv_path_PATH_TO_TR @@ -5295,8 +5400,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. ;; @@ -5321,6 +5426,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi PATH_TO_LS=$ac_cv_path_PATH_TO_LS @@ -5386,8 +5492,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. ;; @@ -5412,6 +5518,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi FIND_PATH_TO_LUA=$ac_cv_path_FIND_PATH_TO_LUA @@ -5441,8 +5548,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. ;; @@ -5467,6 +5574,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi FIND_PATH_TO_LUAC=$ac_cv_path_FIND_PATH_TO_LUAC @@ -5613,8 +5721,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. ;; @@ -5640,6 +5748,7 @@ IFS=$as_save_IFS test -z "$ac_cv_path_pkgConfig" && ac_cv_path_pkgConfig="""" ;; +esac ;; esac fi pkgConfig=$ac_cv_path_pkgConfig @@ -5709,8 +5818,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. ;; @@ -5735,6 +5844,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi ZSH=$ac_cv_path_ZSH @@ -5818,8 +5928,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 @@ -5849,14 +5959,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 | @@ -5920,9 +6030,7 @@ s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g t quote b any :quote -s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g -s/\[/\\&/g -s/\]/\\&/g +s/[][ `~#$^&*(){}\\|;'\''"<>?]/\\&/g s/\$/$$/g H :any @@ -5982,7 +6090,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 @@ -5991,12 +6098,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 @@ -6068,7 +6176,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 @@ -6097,7 +6205,6 @@ as_fn_error () } # as_fn_error - # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -6137,11 +6244,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... @@ -6155,11 +6263,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 @@ -6242,9 +6351,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 @@ -6325,10 +6434,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 @@ -6344,7 +6455,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 @@ -6371,7 +6482,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. @@ -6399,10 +6510,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." @@ -6459,8 +6570,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 ;; @@ -6510,7 +6621,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 @@ -6528,7 +6639,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= @@ -6552,7 +6663,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 @@ -6718,7 +6829,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 @@ -6740,19 +6851,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 '` @@ -6876,7 +6987,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 @@ -6905,9 +7016,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 164a0e0bb..9f93b27b9 100644 --- a/configure.ac +++ b/configure.ac @@ -730,7 +730,7 @@ if test "$FAST_TCL_INTERP" = yes ; then CPPFLAGS="$TCL_INCLUDE" - AC_CHECK_HEADER(tcl.hh, + AC_CHECK_HEADER(tcl.h, [AC_DEFINE([HAVE_TCL_H], 1, [Define to 1 if you have tcl.h])],[]) if test "$ac_cv_header_tcl_h" != yes ; then @@ -770,14 +770,6 @@ AC_SUBST(PATH_TO_HASHSUM) AC_SUBST(PATH_TO_PAGER) AC_SUBST(PATH_TO_TCLSH) -FOUND_ERROR=yes -MSG="MODE must have at least one executable bit set (Not MODE=$MODE)| -Please try setting mode to 755 or 750 or 700 or similar." - - echo "$MSG" - echo -ERR_MSG="$ERR_MSG||$MSG" - if test $MODE == "user_default" ; then mode=0755 EXEC_BITS=$(( 0111 & $mode )); From b866358b1d647deed94e3cb671720d7b100ad636 Mon Sep 17 00:00:00 2001 From: Robert McLay Date: Thu, 1 Aug 2024 09:48:17 -0500 Subject: [PATCH 6/6] fix pkg-config in configure.ac --- configure | 989 ++++++++++++++++++++++----------------------------- configure.ac | 4 +- init/bash.in | 4 +- 3 files changed, 439 insertions(+), 558 deletions(-) diff --git a/configure b/configure index 32ad3975c..8872ef2ff 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.72. +# Generated by GNU Autoconf 2.71. # # -# Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation, +# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, # Inc. # # @@ -15,6 +15,7 @@ # 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 @@ -23,13 +24,12 @@ then : # 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,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,14 +131,15 @@ 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="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=: @@ -146,13 +147,12 @@ then : # 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 " @@ -170,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)) @@ -185,15 +184,14 @@ test -x / || 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 @@ -226,13 +224,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 @@ -254,7 +251,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 @@ -273,8 +270,7 @@ $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} @@ -313,6 +309,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 # ------------- @@ -381,12 +385,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... @@ -400,14 +403,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] # ---------------------------------------- @@ -481,8 +491,6 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits /[$]LINENO/= ' <$as_myself | sed ' - t clear - :clear s/[$]LINENO.*/&-/ t lineno b @@ -531,6 +539,7 @@ 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 @@ -542,9 +551,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 @@ -569,12 +578,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 && - 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 @@ -957,7 +964,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 @@ -1170,7 +1177,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 @@ -1186,7 +1193,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 @@ -1216,8 +1223,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" ;; *=*) @@ -1225,7 +1232,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 ;; @@ -1275,7 +1282,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 @@ -1343,7 +1350,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)` @@ -1371,7 +1378,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]... @@ -1385,11 +1392,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 @@ -1397,10 +1404,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. @@ -1539,7 +1546,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. @@ -1607,9 +1614,9 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF configure -generated by GNU Autoconf 2.72 +generated by GNU Autoconf 2.71 -Copyright (C) 2023 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 @@ -1648,12 +1655,11 @@ printf "%s\n" "$ac_try_echo"; } >&5 } && 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 @@ -1672,8 +1678,8 @@ 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> @@ -1681,12 +1687,10 @@ _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 @@ -1726,12 +1730,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 @@ -1767,7 +1770,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.72. Invocation command line was +generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -2013,10 +2016,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 @@ -2052,7 +2055,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]; } @@ -2066,21 +2071,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 @@ -2108,19 +2098,16 @@ 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 @@ -2170,6 +2157,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) @@ -2235,8 +2223,6 @@ 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 = { @@ -2258,7 +2244,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 @@ -2381,12 +2367,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=: ;; ,);; *) @@ -2395,18 +2381,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. @@ -2422,11 +2408,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 ## -------------------- ## @@ -2464,8 +2450,8 @@ 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 @@ -2487,8 +2473,7 @@ done done IFS=$as_save_IFS -fi ;; -esac +fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -2510,8 +2495,8 @@ 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 @@ -2533,8 +2518,7 @@ 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 @@ -2569,8 +2553,8 @@ 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 @@ -2592,8 +2576,7 @@ done done IFS=$as_save_IFS -fi ;; -esac +fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -2615,8 +2598,8 @@ 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 @@ -2655,8 +2638,7 @@ 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 @@ -2680,8 +2662,8 @@ 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 @@ -2703,8 +2685,7 @@ done done IFS=$as_save_IFS -fi ;; -esac +fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -2730,8 +2711,8 @@ 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 @@ -2753,8 +2734,7 @@ 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 @@ -2792,8 +2772,8 @@ 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 @@ -2815,8 +2795,7 @@ done done IFS=$as_save_IFS -fi ;; -esac +fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -2838,8 +2817,8 @@ 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 @@ -2861,8 +2840,7 @@ 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 @@ -2891,10 +2869,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 @@ -2966,8 +2944,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. @@ -2987,7 +2965,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. @@ -2998,9 +2976,8 @@ 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 : @@ -3009,14 +2986,13 @@ 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 "checking for C compiler default output file name... " >&6; } @@ -3040,10 +3016,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 @@ -3053,12 +3029,11 @@ 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 @@ -3074,8 +3049,6 @@ int main (void) { FILE *f = fopen ("conftest.out", "w"); - if (!f) - return 1; return ferror (f) || fclose (f) != 0; ; @@ -3115,27 +3088,26 @@ 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.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 "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 @@ -3167,18 +3139,16 @@ 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; } @@ -3189,8 +3159,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 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 @@ -3207,14 +3177,12 @@ _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; } @@ -3232,8 +3200,8 @@ 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" @@ -3251,8 +3219,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. */ @@ -3267,8 +3235,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. */ @@ -3285,15 +3253,12 @@ 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; } @@ -3320,8 +3285,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 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. */ @@ -3338,28 +3303,25 @@ 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 +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 case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 +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" ;; -esac + 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 @@ -3369,8 +3331,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 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. */ @@ -3387,28 +3349,25 @@ 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 +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 case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 +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" ;; -esac + 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 @@ -3418,8 +3377,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 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. */ @@ -3436,28 +3395,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 +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 case e in #( - e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +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" ;; -esac + 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 @@ -3519,14 +3475,13 @@ then : printf "%s\n" "DUPLICATE_PATHS=$with_duplicatePaths" >&6; } printf "%s\n" "#define DUPLICATE_PATHS \"$with_duplicatePaths\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -3541,14 +3496,13 @@ then : printf "%s\n" "LMOD_ALLOW_ROOT_USE=$with_allowRootUse" >&6; } printf "%s\n" "#define LMOD_ALLOW_ROOT_USE \"$with_allowRootUse\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -3561,14 +3515,13 @@ then : printf "%s\n" "SITE_MSG_FILE=$with_siteMsgFile" >&6; } printf "%s\n" "#define SITE_MSG_FILE \"$with_siteMsgFile\"" >>confdefs.h -else case e in #( - e) withval="" +else $as_nop + 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 @@ -3581,14 +3534,13 @@ then : printf "%s\n" "LMOD_OVERRIDE_LANG=$with_lang" >&6; } printf "%s\n" "#define LMOD_OVERRIDE_LANG \"$with_lang\"" >>confdefs.h -else case e in #( - e) withval="" +else $as_nop + 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 @@ -3603,14 +3555,13 @@ then : printf "%s\n" "CASE_INDEPENDENT_SORTING=$with_caseIndependentSorting" >&6; } printf "%s\n" "#define CASE_INDEPENDENT_SORTING \"$with_caseIndependentSorting\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -3625,14 +3576,13 @@ then : printf "%s\n" "COLORIZE=$with_colorize" >&6; } printf "%s\n" "#define COLORIZE \"$with_colorize\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -3647,14 +3597,13 @@ then : printf "%s\n" "DYNAMIC_SPIDER_CACHE=$with_dynamicSpiderCache" >&6; } printf "%s\n" "#define DYNAMIC_SPIDER_CACHE \"$with_dynamicSpiderCache\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -3669,14 +3618,13 @@ then : printf "%s\n" "HIDDEN_ITALIC=$with_hiddenItalic" >&6; } printf "%s\n" "#define HIDDEN_ITALIC \"$with_hiddenItalic\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -3691,14 +3639,13 @@ then : printf "%s\n" "EXACT_MATCH=$with_exactMatch" >&6; } printf "%s\n" "#define EXACT_MATCH \"$with_exactMatch\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -3712,14 +3659,13 @@ then : printf "%s\n" "MODE=$with_mode" >&6; } printf "%s\n" "#define MODE \"$with_mode\"" >>confdefs.h -else case e in #( - e) withval="user_default" +else $as_nop + 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 @@ -3732,14 +3678,13 @@ then : printf "%s\n" "LMOD_CONFIG_DIR=$with_lmodConfigDir" >&6; } printf "%s\n" "#define LMOD_CONFIG_DIR \"$with_lmodConfigDir\"" >>confdefs.h -else case e in #( - e) withval="/etc/lmod" +else $as_nop + 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 @@ -3754,14 +3699,13 @@ then : printf "%s\n" "AUTO_SWAP=$with_autoSwap" >&6; } printf "%s\n" "#define AUTO_SWAP \"$with_autoSwap\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -3778,14 +3722,13 @@ then : printf "%s\n" "EXPORT_MODULE=$with_exportedModuleCmd" >&6; } printf "%s\n" "#define EXPORT_MODULE \"$with_exportedModuleCmd\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -3800,14 +3743,13 @@ then : printf "%s\n" "REDIRECT=$with_redirect" >&6; } printf "%s\n" "#define REDIRECT \"$with_redirect\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -3819,14 +3761,13 @@ then : printf "%s\n" "MODULEPATH_ROOT=$with_module_root_path" >&6; } printf "%s\n" "#define MODULEPATH_ROOT \"$with_module_root_path\"" >>confdefs.h -else case e in #( - e) withval="$prefix/modulefiles" +else $as_nop + 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 @@ -3839,14 +3780,13 @@ then : printf "%s\n" "ANCIENT=$with_ancient" >&6; } printf "%s\n" "#define ANCIENT \"$with_ancient\"" >>confdefs.h -else case e in #( - e) withval="86400" +else $as_nop + 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 @@ -3859,14 +3799,13 @@ then : printf "%s\n" "SHORT_TIME=$with_shortTime" >&6; } printf "%s\n" "#define SHORT_TIME \"$with_shortTime\"" >>confdefs.h -else case e in #( - e) withval="2" +else $as_nop + 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 @@ -3879,14 +3818,13 @@ then : printf "%s\n" "SPIDER_CACHE_DIRS=$with_spiderCacheDir" >&6; } printf "%s\n" "#define SPIDER_CACHE_DIRS \"$with_spiderCacheDir\"" >>confdefs.h -else case e in #( - e) withval="" +else $as_nop + 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 @@ -3899,14 +3837,13 @@ then : printf "%s\n" "SPIDER_CACHE_DESCRIPT_FN=$with_spiderCacheDescript" >&6; } printf "%s\n" "#define SPIDER_CACHE_DESCRIPT_FN \"$with_spiderCacheDescript\"" >>confdefs.h -else case e in #( - e) withval="" +else $as_nop + 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 @@ -3919,14 +3856,13 @@ then : printf "%s\n" "UPDATE_SYSTEM_FN=$with_updateSystemFn" >&6; } printf "%s\n" "#define UPDATE_SYSTEM_FN \"$with_updateSystemFn\"" >>confdefs.h -else case e in #( - e) withval="" +else $as_nop + 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 @@ -3939,14 +3875,13 @@ then : printf "%s\n" "PREPEND_BLOCK=$with_prependBlock" >&6; } printf "%s\n" "#define PREPEND_BLOCK \"$with_prependBlock\"" >>confdefs.h -else case e in #( - e) withval="normal" +else $as_nop + 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 @@ -3959,14 +3894,13 @@ then : printf "%s\n" "SITE_NAME=$with_siteName" >&6; } printf "%s\n" "#define SITE_NAME \"$with_siteName\"" >>confdefs.h -else case e in #( - e) withval='' +else $as_nop + 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 @@ -3979,14 +3913,13 @@ then : printf "%s\n" "SYSHOST=$with_syshost" >&6; } printf "%s\n" "#define SYSHOST \"$with_syshost\"" >>confdefs.h -else case e in #( - e) withval='' +else $as_nop + 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 @@ -4001,14 +3934,13 @@ then : printf "%s\n" "ALLOW_TCL_MFILES==$withval" >&6; } printf "%s\n" "#define ALLOW_TCL_MFILES \"$withval\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -4023,14 +3955,13 @@ then : printf "%s\n" "DISABLE_NAME_AUTOSWAP==$withval" >&6; } printf "%s\n" "#define DISABLE_NAME_AUTOSWAP \"$withval\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4045,14 +3976,13 @@ then : printf "%s\n" "MPATH_AVAIL==$withval" >&6; } printf "%s\n" "#define MPATH_AVAIL \"$withval\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4067,14 +3997,13 @@ then : printf "%s\n" "SETTARG=$with_settarg" >&6; } printf "%s\n" "#define SETTARG \"$with_settarg\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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" @@ -4089,14 +4018,13 @@ then : printf "%s\n" "IGNORE_DIRS=$with_ignoreDirs" >&6; } printf "%s\n" "#define IGNORE_DIRS \"$with_ignoreDirs\"" >>confdefs.h -else case e in #( - e) withval="$DFLT_IGNORE_DIRS" +else $as_nop + 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 @@ -4111,14 +4039,13 @@ then : printf "%s\n" "PIN_VERSIONS=$with_pinVersions" >&6; } printf "%s\n" "#define PIN_VERSIONS \"$with_pinVersions\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4133,14 +4060,13 @@ then : printf "%s\n" "LMOD_DOWNSTREAM_CONFLICTS=$with_downstreamConflicts" >&6; } printf "%s\n" "#define LMOD_DOWNSTREAM_CONFLICTS \"$with_downstreamConflicts\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4155,14 +4081,13 @@ then : printf "%s\n" "MODULES_AUTO_HANDLING=$with_modulesAutoHandling" >&6; } printf "%s\n" "#define MODULES_AUTO_HANDLING \"$with_modulesAutoHandling\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4177,14 +4102,13 @@ then : printf "%s\n" "TMOD_PATH_RULE=$with_tmodPathRule" >&6; } printf "%s\n" "#define TMOD_PATH_RULE \"$with_tmodPathRule\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4199,14 +4123,13 @@ then : printf "%s\n" "TMOD_FIND_FIRST=$with_tmodFindFirst" >&6; } printf "%s\n" "#define TMOD_FIND_FIRST \"$with_tmodFindFirst\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4219,14 +4142,13 @@ then : printf "%s\n" "LUA_INCLUDE=$with_lua_include" >&6; } printf "%s\n" "#define LUA_INCLUDE \"$with_lua_include\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4241,14 +4163,13 @@ then : printf "%s\n" "CACHED_LOADS=$with_cachedLoads" >&6; } printf "%s\n" "#define CACHED_LOADS \"$with_cachedLoads\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4263,14 +4184,13 @@ then : printf "%s\n" "EXTENDED_DEFAULT=$with_extendedDefault" >&6; } printf "%s\n" "#define EXTENDED_DEFAULT \"$with_extendedDefault\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -4285,14 +4205,13 @@ then : printf "%s\n" "SUPPORT_KSH=$with_supportKsh" >&6; } printf "%s\n" "#define SUPPORT_KSH \"$with_supportKsh\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4305,14 +4224,13 @@ then : printf "%s\n" "MODULEPATH_INIT=$with_ModulePathInit" >&6; } printf "%s\n" "#define MODULEPATH_INIT \"$with_ModulePathInit\"" >>confdefs.h -else case e in #( - e) withval="@PKG@/init/.modulespath" +else $as_nop + 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 @@ -4327,14 +4245,13 @@ then : printf "%s\n" "SITE_CONTROLLED_PREFIX=$with_siteControlPrefix" >&6; } printf "%s\n" "#define SITE_CONTROLLED_PREFIX \"$with_siteControlPrefix\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4349,14 +4266,13 @@ then : printf "%s\n" "USE_BUILT_IN_PKGS=$with_useBuiltinPkgs" >&6; } printf "%s\n" "#define USE_BUILT_IN_PKGS \"$with_useBuiltinPkgs\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4371,14 +4287,13 @@ 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 case e in #( - e) withval="no" +else $as_nop + 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 @@ -4393,14 +4308,13 @@ then : printf "%s\n" "SILENCE_SHELL_DEBUGGING=$with_silentShellDebugging" >&6; } printf "%s\n" "#define SILENCE_SHELL_DEBUGGING \"$with_silentShellDebugging\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -4415,14 +4329,13 @@ then : printf "%s\n" "FAST_TCL_INTERP=$with_fastTCLInterp" >&6; } printf "%s\n" "#define FAST_TCL_INTERP \"$with_fastTCLInterp\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -4437,14 +4350,13 @@ then : printf "%s\n" "MODULE_AUTO_HANDLING=$with-moduleAutoHandling" >&6; } printf "%s\n" "#define MODULE_AUTO_HANDLING \"$with-moduleAutoHandling\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4459,14 +4371,13 @@ then : printf "%s\n" "AVAIL_EXTENSIONS=$with_availExtensions" >&6; } printf "%s\n" "#define AVAIL_EXTENSIONS \"$with_availExtensions\"" >>confdefs.h -else case e in #( - e) withval="yes" +else $as_nop + 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 @@ -4484,14 +4395,13 @@ then : printf "%s\n" "PATH_TO_LUA=$with_lua" >&6; } printf "%s\n" "#define PATH_TO_LUA \"$with_lua\"" >>confdefs.h -else case e in #( - e) withval="lua" +else $as_nop + 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 @@ -4509,14 +4419,13 @@ then : printf "%s\n" "PATH_TO_LUAC=$with_luac" >&6; } printf "%s\n" "#define PATH_TO_LUAC \"$with_luac\"" >>confdefs.h -else case e in #( - e) withval="luac" +else $as_nop + 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 @@ -4531,14 +4440,13 @@ then : printf "%s\n" "LUA_SUFFIX=$with_luaSuffic" >&6; } printf "%s\n" "#define LUA_SUFFIX \"$with_luaSuffix\"" >>confdefs.h -else case e in #( - e) withval="no" +else $as_nop + 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 @@ -4552,7 +4460,7 @@ if test "$FAST_TCL_INTERP" = yes ; then TCL_INCLUDE="-I${DIR}/usr/include" else for i in "" tcl tcl8.8 tcl8.7 tcl8.6 tcl8.5; do - if test -f /usr/include/$i/tcl.hh ; then + if test -f /usr/include/$i/tcl.h ; then TCL_INCLUDE="-I/usr/include/$i" break; fi @@ -4560,15 +4468,15 @@ if test "$FAST_TCL_INTERP" = yes ; then fi if test -z "$TCL_INCLUDE" ; then - # Extract the first word of "pkg-configFoo", so it can be a program name with args. -set dummy pkg-configFoo; ac_word=$2 + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 { 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_pkgConfig+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $pkgConfig in +else $as_nop + case $pkgConfig in [\\/]* | ?:[\\/]*) ac_cv_path_pkgConfig="$pkgConfig" # Let the user override the test with a path. ;; @@ -4594,7 +4502,6 @@ IFS=$as_save_IFS test -z "$ac_cv_path_pkgConfig" && ac_cv_path_pkgConfig="""" ;; -esac ;; esac fi pkgConfig=$ac_cv_path_pkgConfig @@ -4673,21 +4580,15 @@ printf %s "checking for library containing Tcl_CreateInterp... " >&6; } if test ${ac_cv_search_Tcl_CreateInterp+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 Tcl_CreateInterp (void); + builtin and then its argument prototype would still apply. */ +char Tcl_CreateInterp (); int main (void) { @@ -4718,13 +4619,11 @@ done if test ${ac_cv_search_Tcl_CreateInterp+y} then : -else case e in #( - e) ac_cv_search_Tcl_CreateInterp=no ;; -esac +else $as_nop + ac_cv_search_Tcl_CreateInterp=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_Tcl_CreateInterp" >&5 printf "%s\n" "$ac_cv_search_Tcl_CreateInterp" >&6; } @@ -4733,9 +4632,8 @@ if test "$ac_res" != no then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" -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 +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 fi @@ -4792,8 +4690,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PS+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $PS in +else $as_nop + case $PS in [\\/]* | ?:[\\/]*) ac_cv_path_PS="$PS" # Let the user override the test with a path. ;; @@ -4819,7 +4717,6 @@ IFS=$as_save_IFS test -z "$ac_cv_path_PS" && ac_cv_path_PS="UNKNOWN_PS" ;; -esac ;; esac fi PS=$ac_cv_path_PS @@ -4847,8 +4744,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_READLINK+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $READLINK in +else $as_nop + case $READLINK in [\\/]* | ?:[\\/]*) ac_cv_path_READLINK="$READLINK" # Let the user override the test with a path. ;; @@ -4874,7 +4771,6 @@ IFS=$as_save_IFS test -z "$ac_cv_path_READLINK" && ac_cv_path_READLINK="UNKNOWN_READLINK" ;; -esac ;; esac fi READLINK=$ac_cv_path_READLINK @@ -4904,8 +4800,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_EXPR+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $EXPR in +else $as_nop + case $EXPR in [\\/]* | ?:[\\/]*) ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path. ;; @@ -4930,7 +4826,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi EXPR=$ac_cv_path_EXPR @@ -4964,8 +4859,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_BASENAME+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $BASENAME in +else $as_nop + case $BASENAME in [\\/]* | ?:[\\/]*) ac_cv_path_BASENAME="$BASENAME" # Let the user override the test with a path. ;; @@ -4990,7 +4885,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi BASENAME=$ac_cv_path_BASENAME @@ -5024,8 +4918,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_BC+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $BC in +else $as_nop + case $BC in [\\/]* | ?:[\\/]*) ac_cv_path_BC="$BC" # Let the user override the test with a path. ;; @@ -5050,7 +4944,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi BC=$ac_cv_path_BC @@ -5082,8 +4975,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_POD2MAN+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $PATH_TO_POD2MAN in +else $as_nop + case $PATH_TO_POD2MAN in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_POD2MAN="$PATH_TO_POD2MAN" # Let the user override the test with a path. ;; @@ -5109,7 +5002,6 @@ 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 @@ -5130,8 +5022,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_GIT+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $PATH_TO_GIT in +else $as_nop + case $PATH_TO_GIT in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_GIT="$PATH_TO_GIT" # Let the user override the test with a path. ;; @@ -5157,7 +5049,6 @@ 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 @@ -5179,8 +5070,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_PAGER+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $PATH_TO_PAGER in +else $as_nop + case $PATH_TO_PAGER in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_PAGER="$PATH_TO_PAGER" # Let the user override the test with a path. ;; @@ -5205,7 +5096,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi PATH_TO_PAGER=$ac_cv_path_PATH_TO_PAGER @@ -5232,8 +5122,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_HASHSUM+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $PATH_TO_HASHSUM in +else $as_nop + case $PATH_TO_HASHSUM in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_HASHSUM="$PATH_TO_HASHSUM" # Let the user override the test with a path. ;; @@ -5258,7 +5148,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi PATH_TO_HASHSUM=$ac_cv_path_PATH_TO_HASHSUM @@ -5292,8 +5181,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_TCLSH+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $PATH_TO_TCLSH in +else $as_nop + case $PATH_TO_TCLSH in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_TCLSH="$PATH_TO_TCLSH" # Let the user override the test with a path. ;; @@ -5319,7 +5208,6 @@ 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 @@ -5348,8 +5236,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_TR+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $PATH_TO_TR in +else $as_nop + case $PATH_TO_TR in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_TR="$PATH_TO_TR" # Let the user override the test with a path. ;; @@ -5374,7 +5262,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi PATH_TO_TR=$ac_cv_path_PATH_TO_TR @@ -5400,8 +5287,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PATH_TO_LS+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $PATH_TO_LS in +else $as_nop + case $PATH_TO_LS in [\\/]* | ?:[\\/]*) ac_cv_path_PATH_TO_LS="$PATH_TO_LS" # Let the user override the test with a path. ;; @@ -5426,7 +5313,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi PATH_TO_LS=$ac_cv_path_PATH_TO_LS @@ -5492,8 +5378,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_FIND_PATH_TO_LUA+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $FIND_PATH_TO_LUA in +else $as_nop + 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. ;; @@ -5518,7 +5404,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi FIND_PATH_TO_LUA=$ac_cv_path_FIND_PATH_TO_LUA @@ -5548,8 +5433,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_FIND_PATH_TO_LUAC+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $FIND_PATH_TO_LUAC in +else $as_nop + 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. ;; @@ -5574,7 +5459,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi FIND_PATH_TO_LUAC=$ac_cv_path_FIND_PATH_TO_LUAC @@ -5721,8 +5605,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_pkgConfig+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $pkgConfig in +else $as_nop + case $pkgConfig in [\\/]* | ?:[\\/]*) ac_cv_path_pkgConfig="$pkgConfig" # Let the user override the test with a path. ;; @@ -5748,7 +5632,6 @@ IFS=$as_save_IFS test -z "$ac_cv_path_pkgConfig" && ac_cv_path_pkgConfig="""" ;; -esac ;; esac fi pkgConfig=$ac_cv_path_pkgConfig @@ -5818,8 +5701,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_ZSH+y} then : printf %s "(cached) " >&6 -else case e in #( - e) case $ZSH in +else $as_nop + case $ZSH in [\\/]* | ?:[\\/]*) ac_cv_path_ZSH="$ZSH" # Let the user override the test with a path. ;; @@ -5844,7 +5727,6 @@ done IFS=$as_save_IFS ;; -esac ;; esac fi ZSH=$ac_cv_path_ZSH @@ -5928,8 +5810,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 @@ -5959,14 +5841,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 | @@ -6030,7 +5912,9 @@ s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g t quote b any :quote -s/[][ `~#$^&*(){}\\|;'\''"<>?]/\\&/g +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g +s/\[/\\&/g +s/\]/\\&/g s/\$/$$/g H :any @@ -6090,6 +5974,7 @@ 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 @@ -6098,13 +5983,12 @@ then : # 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 @@ -6176,7 +6060,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 @@ -6205,6 +6089,7 @@ as_fn_error () } # as_fn_error + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -6244,12 +6129,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... @@ -6263,12 +6147,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 @@ -6351,9 +6234,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 @@ -6434,12 +6317,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'" exec 6>&1 @@ -6455,7 +6336,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.72. Invocation command line was +generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -6482,7 +6363,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. @@ -6510,10 +6391,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.72, +configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" -Copyright (C) 2023 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." @@ -6570,8 +6451,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 ;; @@ -6621,7 +6502,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 @@ -6639,7 +6520,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= @@ -6663,7 +6544,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 @@ -6829,7 +6710,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 @@ -6851,19 +6732,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 '` @@ -6987,7 +6868,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 @@ -7016,9 +6897,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 9f93b27b9..93defccf0 100644 --- a/configure.ac +++ b/configure.ac @@ -707,7 +707,7 @@ if test "$FAST_TCL_INTERP" = yes ; then TCL_INCLUDE="-I${DIR}/usr/include" else for i in "" tcl tcl8.8 tcl8.7 tcl8.6 tcl8.5; do - if test -f /usr/include/$i/tcl.hh ; then + if test -f /usr/include/$i/tcl.h ; then TCL_INCLUDE="-I/usr/include/$i" break; fi @@ -715,7 +715,7 @@ if test "$FAST_TCL_INTERP" = yes ; then fi if test -z "$TCL_INCLUDE" ; then - AC_PATH_PROG(pkgConfig, pkg-configFoo, "") + AC_PATH_PROG(pkgConfig, pkg-config, "") if ! test x$pkgConfig = "x"; then for i in tcl tcl8.8 tcl8.7 tcl8.6 tcl8.5; do $pkgConfig --exists $i diff --git a/init/bash.in b/init/bash.in index 2c82ea8bb..fb5065841 100644 --- a/init/bash.in +++ b/init/bash.in @@ -25,8 +25,8 @@ fi __build_FPATH_for_zsh_ksh() { - zsh_fpath=$(zsh -f -c 'echo $FPATH') - export FPATH=$(@PKGV@/libexec/addto --append FPATH $zsh_fpath @PKGV@/init/ksh_funcs) + zsh_fpath=$(unset FPATH; zsh -f -c 'echo $FPATH') + export FPATH=$(@PKGV@/libexec/addto --append FPATH ${zsh_fpath} @PKGV@/init/ksh_funcs) unset zsh_fpath }