Update copyright in generated files by running "make"

This commit is contained in:
Paul Eggert 2025-01-01 10:25:08 -08:00
parent 2642002380
commit ad16577ae1
9 changed files with 175 additions and 192 deletions

View File

@ -53,14 +53,14 @@ printf "%s\n" "$as_me: WARNING: arm/preconfigure: Did not find ARM architecture
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
printf %s "checking for grep that handles long lines and -e... " >&6; } printf %s "checking for egrep -e... " >&6; }
if test ${ac_cv_path_GREP+y} if test ${ac_cv_path_EGREP_TRADITIONAL+y}
then : then :
printf %s "(cached) " >&6 printf %s "(cached) " >&6
else $as_nop else case e in #(
if test -z "$GREP"; then e) if test -z "$EGREP_TRADITIONAL"; then
ac_path_GREP_found=false ac_path_EGREP_TRADITIONAL_found=false
# Loop through the user's path and test for each of PROGNAME-LIST # Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
@ -74,13 +74,14 @@ do
for ac_prog in grep ggrep for ac_prog in grep ggrep
do do
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
as_fn_executable_p "$ac_path_GREP" || continue as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
# Check for GNU ac_path_GREP and select it if it is found. # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
# Check for GNU $ac_path_GREP # Check for GNU $ac_path_EGREP_TRADITIONAL
case `"$ac_path_GREP" --version 2>&1` in case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
*GNU*) *GNU*)
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
#(
*) *)
ac_count=0 ac_count=0
printf %s 0123456789 >"conftest.in" printf %s 0123456789 >"conftest.in"
@ -89,14 +90,14 @@ case `"$ac_path_GREP" --version 2>&1` in
cat "conftest.in" "conftest.in" >"conftest.tmp" cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in" mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl" cp "conftest.in" "conftest.nl"
printf "%s\n" 'GREP' >> "conftest.nl" printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
as_fn_arith $ac_count + 1 && ac_count=$as_val as_fn_arith $ac_count + 1 && ac_count=$as_val
if test $ac_count -gt ${ac_path_GREP_max-0}; then if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
# Best one so far, save it but keep looking for a better one # Best one so far, save it but keep looking for a better one
ac_cv_path_GREP="$ac_path_GREP" ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
ac_path_GREP_max=$ac_count ac_path_EGREP_TRADITIONAL_max=$ac_count
fi fi
# 10*(2^10) chars as input seems more than enough # 10*(2^10) chars as input seems more than enough
test $ac_count -gt 10 && break test $ac_count -gt 10 && break
@ -104,35 +105,24 @@ case `"$ac_path_GREP" --version 2>&1` in
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac esac
$ac_path_GREP_found && break 3 $ac_path_EGREP_TRADITIONAL_found && break 3
done done
done done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
if test -z "$ac_cv_path_GREP"; then if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 :
fi fi
else else
ac_cv_path_GREP=$GREP ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
fi fi
fi if test "$ac_cv_path_EGREP_TRADITIONAL"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
printf "%s\n" "$ac_cv_path_GREP" >&6; }
GREP="$ac_cv_path_GREP"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
printf %s "checking for egrep... " >&6; }
if test ${ac_cv_path_EGREP+y}
then : then :
printf %s "(cached) " >&6 ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E"
else $as_nop else case e in #(
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 e) if test -z "$EGREP_TRADITIONAL"; then
then ac_cv_path_EGREP="$GREP -E" ac_path_EGREP_TRADITIONAL_found=false
else
if test -z "$EGREP"; then
ac_path_EGREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST # Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
@ -146,13 +136,14 @@ do
for ac_prog in egrep for ac_prog in egrep
do do
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
as_fn_executable_p "$ac_path_EGREP" || continue as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
# Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
# Check for GNU $ac_path_EGREP # Check for GNU $ac_path_EGREP_TRADITIONAL
case `"$ac_path_EGREP" --version 2>&1` in case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
*GNU*) *GNU*)
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
#(
*) *)
ac_count=0 ac_count=0
printf %s 0123456789 >"conftest.in" printf %s 0123456789 >"conftest.in"
@ -161,14 +152,14 @@ case `"$ac_path_EGREP" --version 2>&1` in
cat "conftest.in" "conftest.in" >"conftest.tmp" cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in" mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl" cp "conftest.in" "conftest.nl"
printf "%s\n" 'EGREP' >> "conftest.nl" printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
as_fn_arith $ac_count + 1 && ac_count=$as_val as_fn_arith $ac_count + 1 && ac_count=$as_val
if test $ac_count -gt ${ac_path_EGREP_max-0}; then if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
# Best one so far, save it but keep looking for a better one # Best one so far, save it but keep looking for a better one
ac_cv_path_EGREP="$ac_path_EGREP" ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
ac_path_EGREP_max=$ac_count ac_path_EGREP_TRADITIONAL_max=$ac_count
fi fi
# 10*(2^10) chars as input seems more than enough # 10*(2^10) chars as input seems more than enough
test $ac_count -gt 10 && break test $ac_count -gt 10 && break
@ -176,24 +167,25 @@ case `"$ac_path_EGREP" --version 2>&1` in
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac esac
$ac_path_EGREP_found && break 3 $ac_path_EGREP_TRADITIONAL_found && break 3
done done
done done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
if test -z "$ac_cv_path_EGREP"; then if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
fi fi
else else
ac_cv_path_EGREP=$EGREP ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
fi fi
;;
fi esac
fi ;;
esac
fi fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5
printf "%s\n" "$ac_cv_path_EGREP" >&6; } printf "%s\n" "$ac_cv_path_EGREP_TRADITIONAL" >&6; }
EGREP="$ac_cv_path_EGREP" EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
@ -203,11 +195,12 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "yes" >/dev/null 2>&1 $EGREP_TRADITIONAL "yes" >/dev/null 2>&1
then : then :
endianness=le endianness=le
else $as_nop else case e in #(
endianness=be e) endianness=be ;;
esac
fi fi
rm -rf conftest* rm -rf conftest*

0
sysdeps/csky/preconfigure Executable file → Normal file
View File

View File

@ -43,7 +43,6 @@ loongarch*)
base_machine=loongarch base_machine=loongarch
mtls_descriptor=desc
;; ;;
esac esac

View File

@ -3,14 +3,14 @@
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
printf %s "checking for grep that handles long lines and -e... " >&6; } printf %s "checking for egrep -e... " >&6; }
if test ${ac_cv_path_GREP+y} if test ${ac_cv_path_EGREP_TRADITIONAL+y}
then : then :
printf %s "(cached) " >&6 printf %s "(cached) " >&6
else $as_nop else case e in #(
if test -z "$GREP"; then e) if test -z "$EGREP_TRADITIONAL"; then
ac_path_GREP_found=false ac_path_EGREP_TRADITIONAL_found=false
# Loop through the user's path and test for each of PROGNAME-LIST # Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
@ -24,13 +24,14 @@ do
for ac_prog in grep ggrep for ac_prog in grep ggrep
do do
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
as_fn_executable_p "$ac_path_GREP" || continue as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
# Check for GNU ac_path_GREP and select it if it is found. # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
# Check for GNU $ac_path_GREP # Check for GNU $ac_path_EGREP_TRADITIONAL
case `"$ac_path_GREP" --version 2>&1` in case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
*GNU*) *GNU*)
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
#(
*) *)
ac_count=0 ac_count=0
printf %s 0123456789 >"conftest.in" printf %s 0123456789 >"conftest.in"
@ -39,14 +40,14 @@ case `"$ac_path_GREP" --version 2>&1` in
cat "conftest.in" "conftest.in" >"conftest.tmp" cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in" mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl" cp "conftest.in" "conftest.nl"
printf "%s\n" 'GREP' >> "conftest.nl" printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
as_fn_arith $ac_count + 1 && ac_count=$as_val as_fn_arith $ac_count + 1 && ac_count=$as_val
if test $ac_count -gt ${ac_path_GREP_max-0}; then if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
# Best one so far, save it but keep looking for a better one # Best one so far, save it but keep looking for a better one
ac_cv_path_GREP="$ac_path_GREP" ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
ac_path_GREP_max=$ac_count ac_path_EGREP_TRADITIONAL_max=$ac_count
fi fi
# 10*(2^10) chars as input seems more than enough # 10*(2^10) chars as input seems more than enough
test $ac_count -gt 10 && break test $ac_count -gt 10 && break
@ -54,35 +55,24 @@ case `"$ac_path_GREP" --version 2>&1` in
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac esac
$ac_path_GREP_found && break 3 $ac_path_EGREP_TRADITIONAL_found && break 3
done done
done done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
if test -z "$ac_cv_path_GREP"; then if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 :
fi fi
else else
ac_cv_path_GREP=$GREP ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
fi fi
fi if test "$ac_cv_path_EGREP_TRADITIONAL"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
printf "%s\n" "$ac_cv_path_GREP" >&6; }
GREP="$ac_cv_path_GREP"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
printf %s "checking for egrep... " >&6; }
if test ${ac_cv_path_EGREP+y}
then : then :
printf %s "(cached) " >&6 ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E"
else $as_nop else case e in #(
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 e) if test -z "$EGREP_TRADITIONAL"; then
then ac_cv_path_EGREP="$GREP -E" ac_path_EGREP_TRADITIONAL_found=false
else
if test -z "$EGREP"; then
ac_path_EGREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST # Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
@ -96,13 +86,14 @@ do
for ac_prog in egrep for ac_prog in egrep
do do
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
as_fn_executable_p "$ac_path_EGREP" || continue as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
# Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
# Check for GNU $ac_path_EGREP # Check for GNU $ac_path_EGREP_TRADITIONAL
case `"$ac_path_EGREP" --version 2>&1` in case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
*GNU*) *GNU*)
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
#(
*) *)
ac_count=0 ac_count=0
printf %s 0123456789 >"conftest.in" printf %s 0123456789 >"conftest.in"
@ -111,14 +102,14 @@ case `"$ac_path_EGREP" --version 2>&1` in
cat "conftest.in" "conftest.in" >"conftest.tmp" cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in" mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl" cp "conftest.in" "conftest.nl"
printf "%s\n" 'EGREP' >> "conftest.nl" printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
as_fn_arith $ac_count + 1 && ac_count=$as_val as_fn_arith $ac_count + 1 && ac_count=$as_val
if test $ac_count -gt ${ac_path_EGREP_max-0}; then if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
# Best one so far, save it but keep looking for a better one # Best one so far, save it but keep looking for a better one
ac_cv_path_EGREP="$ac_path_EGREP" ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
ac_path_EGREP_max=$ac_count ac_path_EGREP_TRADITIONAL_max=$ac_count
fi fi
# 10*(2^10) chars as input seems more than enough # 10*(2^10) chars as input seems more than enough
test $ac_count -gt 10 && break test $ac_count -gt 10 && break
@ -126,24 +117,25 @@ case `"$ac_path_EGREP" --version 2>&1` in
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac esac
$ac_path_EGREP_found && break 3 $ac_path_EGREP_TRADITIONAL_found && break 3
done done
done done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
if test -z "$ac_cv_path_EGREP"; then if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
fi fi
else else
ac_cv_path_EGREP=$EGREP ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
fi fi
;;
fi esac
fi ;;
esac
fi fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5
printf "%s\n" "$ac_cv_path_EGREP" >&6; } printf "%s\n" "$ac_cv_path_EGREP_TRADITIONAL" >&6; }
EGREP="$ac_cv_path_EGREP" EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
@ -153,11 +145,12 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "yes" >/dev/null 2>&1 $EGREP_TRADITIONAL "yes" >/dev/null 2>&1
then : then :
endianness=le endianness=le
else $as_nop else case e in #(
endianness=be e) endianness=be ;;
esac
fi fi
rm -rf conftest* rm -rf conftest*

View File

@ -42,8 +42,9 @@ case "${machine}:${submachine}" in
if test ${libc_cv_cc_submachine+y} if test ${libc_cv_cc_submachine+y}
then : then :
printf %s "(cached) " >&6 printf %s "(cached) " >&6
else $as_nop else case e in #(
libc_cv_cc_submachine="" e) libc_cv_cc_submachine="" ;;
esac
fi fi
;; ;;
@ -52,8 +53,9 @@ fi
if test ${libc_cv_cc_submachine+y} if test ${libc_cv_cc_submachine+y}
then : then :
printf %s "(cached) " >&6 printf %s "(cached) " >&6
else $as_nop else case e in #(
libc_cv_cc_submachine="" e) libc_cv_cc_submachine="" ;;
esac
fi fi
;; ;;
@ -63,8 +65,9 @@ fi
if test ${libc_cv_cc_submachine+y} if test ${libc_cv_cc_submachine+y}
then : then :
printf %s "(cached) " >&6 printf %s "(cached) " >&6
else $as_nop else case e in #(
libc_cv_cc_submachine="" e) libc_cv_cc_submachine="" ;;
esac
fi fi
;; ;;

View File

@ -3,14 +3,14 @@
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
printf %s "checking for grep that handles long lines and -e... " >&6; } printf %s "checking for egrep -e... " >&6; }
if test ${ac_cv_path_GREP+y} if test ${ac_cv_path_EGREP_TRADITIONAL+y}
then : then :
printf %s "(cached) " >&6 printf %s "(cached) " >&6
else $as_nop else case e in #(
if test -z "$GREP"; then e) if test -z "$EGREP_TRADITIONAL"; then
ac_path_GREP_found=false ac_path_EGREP_TRADITIONAL_found=false
# Loop through the user's path and test for each of PROGNAME-LIST # Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
@ -24,13 +24,14 @@ do
for ac_prog in grep ggrep for ac_prog in grep ggrep
do do
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
as_fn_executable_p "$ac_path_GREP" || continue as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
# Check for GNU ac_path_GREP and select it if it is found. # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
# Check for GNU $ac_path_GREP # Check for GNU $ac_path_EGREP_TRADITIONAL
case `"$ac_path_GREP" --version 2>&1` in case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
*GNU*) *GNU*)
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
#(
*) *)
ac_count=0 ac_count=0
printf %s 0123456789 >"conftest.in" printf %s 0123456789 >"conftest.in"
@ -39,14 +40,14 @@ case `"$ac_path_GREP" --version 2>&1` in
cat "conftest.in" "conftest.in" >"conftest.tmp" cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in" mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl" cp "conftest.in" "conftest.nl"
printf "%s\n" 'GREP' >> "conftest.nl" printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
as_fn_arith $ac_count + 1 && ac_count=$as_val as_fn_arith $ac_count + 1 && ac_count=$as_val
if test $ac_count -gt ${ac_path_GREP_max-0}; then if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
# Best one so far, save it but keep looking for a better one # Best one so far, save it but keep looking for a better one
ac_cv_path_GREP="$ac_path_GREP" ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
ac_path_GREP_max=$ac_count ac_path_EGREP_TRADITIONAL_max=$ac_count
fi fi
# 10*(2^10) chars as input seems more than enough # 10*(2^10) chars as input seems more than enough
test $ac_count -gt 10 && break test $ac_count -gt 10 && break
@ -54,35 +55,24 @@ case `"$ac_path_GREP" --version 2>&1` in
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac esac
$ac_path_GREP_found && break 3 $ac_path_EGREP_TRADITIONAL_found && break 3
done done
done done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
if test -z "$ac_cv_path_GREP"; then if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 :
fi fi
else else
ac_cv_path_GREP=$GREP ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
fi fi
fi if test "$ac_cv_path_EGREP_TRADITIONAL"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
printf "%s\n" "$ac_cv_path_GREP" >&6; }
GREP="$ac_cv_path_GREP"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
printf %s "checking for egrep... " >&6; }
if test ${ac_cv_path_EGREP+y}
then : then :
printf %s "(cached) " >&6 ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E"
else $as_nop else case e in #(
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 e) if test -z "$EGREP_TRADITIONAL"; then
then ac_cv_path_EGREP="$GREP -E" ac_path_EGREP_TRADITIONAL_found=false
else
if test -z "$EGREP"; then
ac_path_EGREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST # Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
@ -96,13 +86,14 @@ do
for ac_prog in egrep for ac_prog in egrep
do do
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
as_fn_executable_p "$ac_path_EGREP" || continue as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
# Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
# Check for GNU $ac_path_EGREP # Check for GNU $ac_path_EGREP_TRADITIONAL
case `"$ac_path_EGREP" --version 2>&1` in case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
*GNU*) *GNU*)
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
#(
*) *)
ac_count=0 ac_count=0
printf %s 0123456789 >"conftest.in" printf %s 0123456789 >"conftest.in"
@ -111,14 +102,14 @@ case `"$ac_path_EGREP" --version 2>&1` in
cat "conftest.in" "conftest.in" >"conftest.tmp" cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in" mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl" cp "conftest.in" "conftest.nl"
printf "%s\n" 'EGREP' >> "conftest.nl" printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
as_fn_arith $ac_count + 1 && ac_count=$as_val as_fn_arith $ac_count + 1 && ac_count=$as_val
if test $ac_count -gt ${ac_path_EGREP_max-0}; then if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
# Best one so far, save it but keep looking for a better one # Best one so far, save it but keep looking for a better one
ac_cv_path_EGREP="$ac_path_EGREP" ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
ac_path_EGREP_max=$ac_count ac_path_EGREP_TRADITIONAL_max=$ac_count
fi fi
# 10*(2^10) chars as input seems more than enough # 10*(2^10) chars as input seems more than enough
test $ac_count -gt 10 && break test $ac_count -gt 10 && break
@ -126,24 +117,25 @@ case `"$ac_path_EGREP" --version 2>&1` in
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac esac
$ac_path_EGREP_found && break 3 $ac_path_EGREP_TRADITIONAL_found && break 3
done done
done done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
if test -z "$ac_cv_path_EGREP"; then if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
fi fi
else else
ac_cv_path_EGREP=$EGREP ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
fi fi
;;
fi esac
fi ;;
esac
fi fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5
printf "%s\n" "$ac_cv_path_EGREP" >&6; } printf "%s\n" "$ac_cv_path_EGREP_TRADITIONAL" >&6; }
EGREP="$ac_cv_path_EGREP" EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
@ -153,11 +145,12 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "yes" >/dev/null 2>&1 $EGREP_TRADITIONAL "yes" >/dev/null 2>&1
then : then :
endianness=le endianness=le
else $as_nop else case e in #(
endianness=be e) endianness=be ;;
esac
fi fi
rm -rf conftest* rm -rf conftest*

0
sysdeps/unix/sysv/linux/configure vendored Executable file → Normal file
View File

0
sysdeps/x86_64/configure vendored Executable file → Normal file
View File

View File

@ -11,8 +11,8 @@ printf %s "checking whether $CC compiles in -mx32 mode by default... " >&6; }
if test ${libc_cv_x32+y} if test ${libc_cv_x32+y}
then : then :
printf %s "(cached) " >&6 printf %s "(cached) " >&6
else $as_nop else case e in #(
cat confdefs.h - <<_ACEOF >conftest.$ac_ext e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#ifndef __ILP32__ #ifndef __ILP32__
# error not x32 # error not x32
@ -28,10 +28,12 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO" if ac_fn_c_try_compile "$LINENO"
then : then :
libc_cv_x32=yes libc_cv_x32=yes
else $as_nop else case e in #(
libc_cv_x32=no e) libc_cv_x32=no ;;
esac
fi 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 fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_x32" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_x32" >&5
printf "%s\n" "$libc_cv_x32" >&6; } printf "%s\n" "$libc_cv_x32" >&6; }