1 |
#! /bin/sh |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated by GNU Autoconf 2.53. |
# Generated by GNU Autoconf 2.57. |
4 |
# |
# |
5 |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
6 |
# Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
7 |
# This configure script is free software; the Free Software Foundation |
# This configure script is free software; the Free Software Foundation |
8 |
# gives unlimited permission to copy, distribute and modify it. |
# gives unlimited permission to copy, distribute and modify it. |
|
|
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
|
|
as_expr=expr |
|
|
else |
|
|
as_expr=false |
|
|
fi |
|
|
|
|
|
|
|
9 |
## --------------------- ## |
## --------------------- ## |
10 |
## M4sh Initialization. ## |
## M4sh Initialization. ## |
11 |
## --------------------- ## |
## --------------------- ## |
14 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
15 |
emulate sh |
emulate sh |
16 |
NULLCMD=: |
NULLCMD=: |
17 |
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
18 |
|
# is contrary to our usage. Disable this feature. |
19 |
|
alias -g '${1+"$@"}'='"$@"' |
20 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
21 |
set -o posix |
set -o posix |
22 |
fi |
fi |
23 |
|
|
|
# NLS nuisances. |
|
24 |
# Support unset when possible. |
# Support unset when possible. |
25 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
26 |
as_unset=unset |
as_unset=unset |
28 |
as_unset=false |
as_unset=false |
29 |
fi |
fi |
30 |
|
|
31 |
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && |
|
32 |
{ $as_unset LANG || test "${LANG+set}" != set; } || |
# Work around bugs in pre-3.0 UWIN ksh. |
33 |
{ LANG=C; export LANG; } |
$as_unset ENV MAIL MAILPATH |
34 |
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && |
PS1='$ ' |
35 |
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || |
PS2='> ' |
36 |
{ LC_ALL=C; export LC_ALL; } |
PS4='+ ' |
37 |
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && |
|
38 |
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || |
# NLS nuisances. |
39 |
{ LC_TIME=C; export LC_TIME; } |
for as_var in \ |
40 |
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
41 |
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
42 |
{ LC_CTYPE=C; export LC_CTYPE; } |
LC_TELEPHONE LC_TIME |
43 |
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && |
do |
44 |
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
45 |
{ LANGUAGE=C; export LANGUAGE; } |
eval $as_var=C; export $as_var |
46 |
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && |
else |
47 |
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || |
$as_unset $as_var |
48 |
{ LC_COLLATE=C; export LC_COLLATE; } |
fi |
49 |
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && |
done |
50 |
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || |
|
51 |
{ LC_NUMERIC=C; export LC_NUMERIC; } |
# Required to use basename. |
52 |
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && |
if expr a : '\(a\)' >/dev/null 2>&1; then |
53 |
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || |
as_expr=expr |
54 |
{ LC_MESSAGES=C; export LC_MESSAGES; } |
else |
55 |
|
as_expr=false |
56 |
|
fi |
57 |
|
|
58 |
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
59 |
|
as_basename=basename |
60 |
|
else |
61 |
|
as_basename=false |
62 |
|
fi |
63 |
|
|
64 |
|
|
65 |
# Name of the executable. |
# Name of the executable. |
66 |
as_me=`(basename "$0") 2>/dev/null || |
as_me=`$as_basename "$0" || |
67 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
68 |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
69 |
X"$0" : 'X\(/\)$' \| \ |
X"$0" : 'X\(/\)$' \| \ |
74 |
/^X\/\(\/\).*/{ s//\1/; q; } |
/^X\/\(\/\).*/{ s//\1/; q; } |
75 |
s/.*/./; q'` |
s/.*/./; q'` |
76 |
|
|
77 |
|
|
78 |
# PATH needs CR, and LINENO needs CR and PATH. |
# PATH needs CR, and LINENO needs CR and PATH. |
79 |
# Avoid depending upon Character Ranges. |
# Avoid depending upon Character Ranges. |
80 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
85 |
|
|
86 |
# The user is always right. |
# The user is always right. |
87 |
if test "${PATH_SEPARATOR+set}" != set; then |
if test "${PATH_SEPARATOR+set}" != set; then |
88 |
echo "#! /bin/sh" >conftest.sh |
echo "#! /bin/sh" >conf$$.sh |
89 |
echo "exit 0" >>conftest.sh |
echo "exit 0" >>conf$$.sh |
90 |
chmod +x conftest.sh |
chmod +x conf$$.sh |
91 |
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
92 |
PATH_SEPARATOR=';' |
PATH_SEPARATOR=';' |
93 |
else |
else |
94 |
PATH_SEPARATOR=: |
PATH_SEPARATOR=: |
95 |
fi |
fi |
96 |
rm -f conftest.sh |
rm -f conf$$.sh |
97 |
fi |
fi |
98 |
|
|
99 |
|
|
141 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
142 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
test "x$as_lineno_1" != "x$as_lineno_2" && |
143 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
144 |
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
145 |
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
146 |
CONFIG_SHELL=$as_dir/$as_base |
CONFIG_SHELL=$as_dir/$as_base |
147 |
export CONFIG_SHELL |
export CONFIG_SHELL |
148 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
215 |
fi |
fi |
216 |
rm -f conf$$ conf$$.exe conf$$.file |
rm -f conf$$ conf$$.exe conf$$.file |
217 |
|
|
218 |
|
if mkdir -p . 2>/dev/null; then |
219 |
|
as_mkdir_p=: |
220 |
|
else |
221 |
|
as_mkdir_p=false |
222 |
|
fi |
223 |
|
|
224 |
as_executable_p="test -f" |
as_executable_p="test -f" |
225 |
|
|
226 |
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
237 |
IFS=" $as_nl" |
IFS=" $as_nl" |
238 |
|
|
239 |
# CDPATH. |
# CDPATH. |
240 |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } |
$as_unset CDPATH |
241 |
|
|
242 |
|
|
243 |
# Name of the host. |
# Name of the host. |
251 |
# Initializations. |
# Initializations. |
252 |
# |
# |
253 |
ac_default_prefix=/usr/local |
ac_default_prefix=/usr/local |
254 |
|
ac_config_libobj_dir=. |
255 |
cross_compiling=no |
cross_compiling=no |
256 |
subdirs= |
subdirs= |
257 |
MFLAGS= |
MFLAGS= |
308 |
# include <unistd.h> |
# include <unistd.h> |
309 |
#endif" |
#endif" |
310 |
|
|
311 |
|
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP BUILD_GSND GNUSTEP_GUI_VERSION GNUSTEP_GUI_MAJOR_VERSION GNUSTEP_GUI_MINOR_VERSION GNUSTEP_GUI_SUBMINOR_VERSION ADDITIONAL_LIB_DIRS ADDITIONAL_INCLUDE_DIRS ADDITIONAL_DEPENDS LIBOBJS LTLIBOBJS' |
312 |
|
ac_subst_files='' |
313 |
|
|
314 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
315 |
ac_init_help= |
ac_init_help= |
733 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
734 |
fi |
fi |
735 |
fi |
fi |
736 |
|
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
737 |
|
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
738 |
|
{ (exit 1); exit 1; }; } |
739 |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
740 |
ac_env_build_alias_set=${build_alias+set} |
ac_env_build_alias_set=${build_alias+set} |
741 |
ac_env_build_alias_value=$build_alias |
ac_env_build_alias_value=$build_alias |
904 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
905 |
# absolute. |
# absolute. |
906 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
907 |
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
908 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
909 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
910 |
|
|
944 |
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
945 |
|
|
946 |
It was created by $as_me, which was |
It was created by $as_me, which was |
947 |
generated by GNU Autoconf 2.53. Invocation command line was |
generated by GNU Autoconf 2.57. Invocation command line was |
948 |
|
|
949 |
$ $0 $@ |
$ $0 $@ |
950 |
|
|
996 |
|
|
997 |
# Keep a trace of the command line. |
# Keep a trace of the command line. |
998 |
# Strip out --no-create and --no-recursion so they do not pile up. |
# Strip out --no-create and --no-recursion so they do not pile up. |
999 |
|
# Strip out --silent because we don't want to record it for future runs. |
1000 |
# Also quote any args containing shell meta-characters. |
# Also quote any args containing shell meta-characters. |
1001 |
|
# Make two passes to allow for proper duplicate-argument suppression. |
1002 |
ac_configure_args= |
ac_configure_args= |
1003 |
|
ac_configure_args0= |
1004 |
|
ac_configure_args1= |
1005 |
ac_sep= |
ac_sep= |
1006 |
for ac_arg |
ac_must_keep_next=false |
1007 |
|
for ac_pass in 1 2 |
1008 |
do |
do |
1009 |
case $ac_arg in |
for ac_arg |
1010 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
do |
1011 |
| --no-cr | --no-c | -n ) continue ;; |
case $ac_arg in |
1012 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1013 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1014 |
continue ;; |
| -silent | --silent | --silen | --sile | --sil) |
1015 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
continue ;; |
1016 |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1017 |
esac |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1018 |
case " $ac_configure_args " in |
esac |
1019 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
case $ac_pass in |
1020 |
*) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1021 |
ac_sep=" " ;; |
2) |
1022 |
esac |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1023 |
# Get rid of the leading space. |
if test $ac_must_keep_next = true; then |
1024 |
|
ac_must_keep_next=false # Got value, back to normal. |
1025 |
|
else |
1026 |
|
case $ac_arg in |
1027 |
|
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1028 |
|
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1029 |
|
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1030 |
|
| -with-* | --with-* | -without-* | --without-* | --x) |
1031 |
|
case "$ac_configure_args0 " in |
1032 |
|
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1033 |
|
esac |
1034 |
|
;; |
1035 |
|
-* ) ac_must_keep_next=true ;; |
1036 |
|
esac |
1037 |
|
fi |
1038 |
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1039 |
|
# Get rid of the leading space. |
1040 |
|
ac_sep=" " |
1041 |
|
;; |
1042 |
|
esac |
1043 |
|
done |
1044 |
done |
done |
1045 |
|
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1046 |
|
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1047 |
|
|
1048 |
# When interrupted or exit'd, cleanup temporary files, and complete |
# When interrupted or exit'd, cleanup temporary files, and complete |
1049 |
# config.log. We remove comments because anyway the quotes in there |
# config.log. We remove comments because anyway the quotes in there |
1054 |
# Save into config.log some information that might help in debugging. |
# Save into config.log some information that might help in debugging. |
1055 |
{ |
{ |
1056 |
echo |
echo |
1057 |
|
|
1058 |
cat <<\_ASBOX |
cat <<\_ASBOX |
1059 |
## ---------------- ## |
## ---------------- ## |
1060 |
## Cache variables. ## |
## Cache variables. ## |
1077 |
esac; |
esac; |
1078 |
} |
} |
1079 |
echo |
echo |
1080 |
|
|
1081 |
|
cat <<\_ASBOX |
1082 |
|
## ----------------- ## |
1083 |
|
## Output variables. ## |
1084 |
|
## ----------------- ## |
1085 |
|
_ASBOX |
1086 |
|
echo |
1087 |
|
for ac_var in $ac_subst_vars |
1088 |
|
do |
1089 |
|
eval ac_val=$`echo $ac_var` |
1090 |
|
echo "$ac_var='"'"'$ac_val'"'"'" |
1091 |
|
done | sort |
1092 |
|
echo |
1093 |
|
|
1094 |
|
if test -n "$ac_subst_files"; then |
1095 |
|
cat <<\_ASBOX |
1096 |
|
## ------------- ## |
1097 |
|
## Output files. ## |
1098 |
|
## ------------- ## |
1099 |
|
_ASBOX |
1100 |
|
echo |
1101 |
|
for ac_var in $ac_subst_files |
1102 |
|
do |
1103 |
|
eval ac_val=$`echo $ac_var` |
1104 |
|
echo "$ac_var='"'"'$ac_val'"'"'" |
1105 |
|
done | sort |
1106 |
|
echo |
1107 |
|
fi |
1108 |
|
|
1109 |
if test -s confdefs.h; then |
if test -s confdefs.h; then |
1110 |
cat <<\_ASBOX |
cat <<\_ASBOX |
1111 |
## ----------- ## |
## ----------- ## |
1113 |
## ----------- ## |
## ----------- ## |
1114 |
_ASBOX |
_ASBOX |
1115 |
echo |
echo |
1116 |
sed "/^$/d" confdefs.h |
sed "/^$/d" confdefs.h | sort |
1117 |
echo |
echo |
1118 |
fi |
fi |
1119 |
test "$ac_signal" != 0 && |
test "$ac_signal" != 0 && |
1272 |
|
|
1273 |
|
|
1274 |
|
|
1275 |
|
|
1276 |
if test -z "$GNUSTEP_SYSTEM_ROOT"; then |
if test -z "$GNUSTEP_SYSTEM_ROOT"; then |
1277 |
{ { echo "$as_me:$LINENO: error: You must run the GNUstep initialization script first!" >&5 |
{ { echo "$as_me:$LINENO: error: You must run the GNUstep initialization script first!" >&5 |
1278 |
echo "$as_me: error: You must run the GNUstep initialization script first!" >&2;} |
echo "$as_me: error: You must run the GNUstep initialization script first!" >&2;} |
1308 |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1309 |
|
|
1310 |
|
|
1311 |
ac_config_headers="$ac_config_headers Headers/Additions/GNUstepGUI/config.h" |
ac_config_headers="$ac_config_headers Headers/Additions/GNUstepGUI/config.h" |
1312 |
|
|
1313 |
|
|
1314 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
1407 |
CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
1408 |
LDFLAGS="$LDFLAGS -L/usr/local/lib";; |
LDFLAGS="$LDFLAGS -L/usr/local/lib";; |
1409 |
netbsd*) CPPFLAGS="$CPPFLAGS -I/usr/pkg/include" |
netbsd*) CPPFLAGS="$CPPFLAGS -I/usr/pkg/include" |
1410 |
LDFLAGS="$LDFLAGS -L/usr/pkg/lib";; |
LDFLAGS="$LDFLAGS -Wl,-R/usr/pkg/lib -L/usr/pkg/lib";; |
1411 |
esac |
esac |
1412 |
|
|
1413 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
1634 |
# However, it has the same basename, so the bogon will be chosen |
# However, it has the same basename, so the bogon will be chosen |
1635 |
# first if we set CC to just the basename; use the full file name. |
# first if we set CC to just the basename; use the full file name. |
1636 |
shift |
shift |
1637 |
set dummy "$as_dir/$ac_word" ${1+"$@"} |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
shift |
|
|
ac_cv_prog_CC="$@" |
|
1638 |
fi |
fi |
1639 |
fi |
fi |
1640 |
fi |
fi |
1739 |
fi |
fi |
1740 |
|
|
1741 |
|
|
1742 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
1743 |
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} |
See \`config.log' for more details." >&5 |
1744 |
|
echo "$as_me: error: no acceptable C compiler found in \$PATH |
1745 |
|
See \`config.log' for more details." >&2;} |
1746 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
1747 |
|
|
1748 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
1767 |
|
|
1768 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
1769 |
#line $LINENO "configure" |
#line $LINENO "configure" |
1770 |
#include "confdefs.h" |
/* confdefs.h. */ |
1771 |
|
_ACEOF |
1772 |
|
cat confdefs.h >>conftest.$ac_ext |
1773 |
|
cat >>conftest.$ac_ext <<_ACEOF |
1774 |
|
/* end confdefs.h. */ |
1775 |
|
|
|
#ifdef F77_DUMMY_MAIN |
|
|
# ifdef __cplusplus |
|
|
extern "C" |
|
|
# endif |
|
|
int F77_DUMMY_MAIN() { return 1; } |
|
|
#endif |
|
1776 |
int |
int |
1777 |
main () |
main () |
1778 |
{ |
{ |
1782 |
} |
} |
1783 |
_ACEOF |
_ACEOF |
1784 |
ac_clean_files_save=$ac_clean_files |
ac_clean_files_save=$ac_clean_files |
1785 |
ac_clean_files="$ac_clean_files a.out a.exe" |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
1786 |
# Try to create an executable without -o first, disregard a.out. |
# Try to create an executable without -o first, disregard a.out. |
1787 |
# It will help us diagnose broken compilers, and finding out an intuition |
# It will help us diagnose broken compilers, and finding out an intuition |
1788 |
# of exeext. |
# of exeext. |
1801 |
# Be careful to initialize this variable, since it used to be cached. |
# Be careful to initialize this variable, since it used to be cached. |
1802 |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
1803 |
ac_cv_exeext= |
ac_cv_exeext= |
1804 |
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; |
# b.out is created by i960 compilers. |
1805 |
ls a.out conftest 2>/dev/null; |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
1806 |
ls a.* conftest.* 2>/dev/null`; do |
do |
1807 |
|
test -f "$ac_file" || continue |
1808 |
case $ac_file in |
case $ac_file in |
1809 |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
1810 |
a.out ) # We found the default executable, but exeext='' is most |
;; |
1811 |
# certainly right. |
conftest.$ac_ext ) |
1812 |
break;; |
# This is the source file. |
1813 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
;; |
1814 |
# FIXME: I believe we export ac_cv_exeext for Libtool --akim. |
[ab].out ) |
1815 |
export ac_cv_exeext |
# We found the default executable, but exeext='' is most |
1816 |
break;; |
# certainly right. |
1817 |
* ) break;; |
break;; |
1818 |
|
*.* ) |
1819 |
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1820 |
|
# FIXME: I believe we export ac_cv_exeext for Libtool, |
1821 |
|
# but it would be cool to find out if it's true. Does anybody |
1822 |
|
# maintain Libtool? --akim. |
1823 |
|
export ac_cv_exeext |
1824 |
|
break;; |
1825 |
|
* ) |
1826 |
|
break;; |
1827 |
esac |
esac |
1828 |
done |
done |
1829 |
else |
else |
1830 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
1831 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1832 |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 |
|
1833 |
echo "$as_me: error: C compiler cannot create executables" >&2;} |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
1834 |
|
See \`config.log' for more details." >&5 |
1835 |
|
echo "$as_me: error: C compiler cannot create executables |
1836 |
|
See \`config.log' for more details." >&2;} |
1837 |
{ (exit 77); exit 77; }; } |
{ (exit 77); exit 77; }; } |
1838 |
fi |
fi |
1839 |
|
|
1860 |
cross_compiling=yes |
cross_compiling=yes |
1861 |
else |
else |
1862 |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
1863 |
If you meant to cross compile, use \`--host'." >&5 |
If you meant to cross compile, use \`--host'. |
1864 |
|
See \`config.log' for more details." >&5 |
1865 |
echo "$as_me: error: cannot run C compiled programs. |
echo "$as_me: error: cannot run C compiled programs. |
1866 |
If you meant to cross compile, use \`--host'." >&2;} |
If you meant to cross compile, use \`--host'. |
1867 |
|
See \`config.log' for more details." >&2;} |
1868 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
1869 |
fi |
fi |
1870 |
fi |
fi |
1872 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
1873 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
1874 |
|
|
1875 |
rm -f a.out a.exe conftest$ac_cv_exeext |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
1876 |
ac_clean_files=$ac_clean_files_save |
ac_clean_files=$ac_clean_files_save |
1877 |
# Check the compiler produces executables we can run. If not, either |
# Check the compiler produces executables we can run. If not, either |
1878 |
# the compiler is broken, or we cross compile. |
# the compiler is broken, or we cross compile. |
1892 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
1893 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
1894 |
# `rm'. |
# `rm'. |
1895 |
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do |
for ac_file in conftest.exe conftest conftest.*; do |
1896 |
|
test -f "$ac_file" || continue |
1897 |
case $ac_file in |
case $ac_file in |
1898 |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
1899 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1900 |
export ac_cv_exeext |
export ac_cv_exeext |
1901 |
break;; |
break;; |
1903 |
esac |
esac |
1904 |
done |
done |
1905 |
else |
else |
1906 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
1907 |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} |
See \`config.log' for more details." >&5 |
1908 |
|
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
1909 |
|
See \`config.log' for more details." >&2;} |
1910 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
1911 |
fi |
fi |
1912 |
|
|
1924 |
else |
else |
1925 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
1926 |
#line $LINENO "configure" |
#line $LINENO "configure" |
1927 |
#include "confdefs.h" |
/* confdefs.h. */ |
1928 |
|
_ACEOF |
1929 |
|
cat confdefs.h >>conftest.$ac_ext |
1930 |
|
cat >>conftest.$ac_ext <<_ACEOF |
1931 |
|
/* end confdefs.h. */ |
1932 |
|
|
|
#ifdef F77_DUMMY_MAIN |
|
|
# ifdef __cplusplus |
|
|
extern "C" |
|
|
# endif |
|
|
int F77_DUMMY_MAIN() { return 1; } |
|
|
#endif |
|
1933 |
int |
int |
1934 |
main () |
main () |
1935 |
{ |
{ |
1946 |
(exit $ac_status); }; then |
(exit $ac_status); }; then |
1947 |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
1948 |
case $ac_file in |
case $ac_file in |
1949 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
1950 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
1951 |
break;; |
break;; |
1952 |
esac |
esac |
1953 |
done |
done |
1954 |
else |
else |
1955 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
1956 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1957 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 |
|
1958 |
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
1959 |
|
See \`config.log' for more details." >&5 |
1960 |
|
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
1961 |
|
See \`config.log' for more details." >&2;} |
1962 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
1963 |
fi |
fi |
1964 |
|
|
1975 |
else |
else |
1976 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
1977 |
#line $LINENO "configure" |
#line $LINENO "configure" |
1978 |
#include "confdefs.h" |
/* confdefs.h. */ |
1979 |
|
_ACEOF |
1980 |
|
cat confdefs.h >>conftest.$ac_ext |
1981 |
|
cat >>conftest.$ac_ext <<_ACEOF |
1982 |
|
/* end confdefs.h. */ |
1983 |
|
|
|
#ifdef F77_DUMMY_MAIN |
|
|
# ifdef __cplusplus |
|
|
extern "C" |
|
|
# endif |
|
|
int F77_DUMMY_MAIN() { return 1; } |
|
|
#endif |
|
1984 |
int |
int |
1985 |
main () |
main () |
1986 |
{ |
{ |
2007 |
ac_compiler_gnu=yes |
ac_compiler_gnu=yes |
2008 |
else |
else |
2009 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
2010 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2011 |
|
|
2012 |
ac_compiler_gnu=no |
ac_compiler_gnu=no |
2013 |
fi |
fi |
2014 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
2028 |
else |
else |
2029 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
2030 |
#line $LINENO "configure" |
#line $LINENO "configure" |
2031 |
#include "confdefs.h" |
/* confdefs.h. */ |
2032 |
|
_ACEOF |
2033 |
|
cat confdefs.h >>conftest.$ac_ext |
2034 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2035 |
|
/* end confdefs.h. */ |
2036 |
|
|
|
#ifdef F77_DUMMY_MAIN |
|
|
# ifdef __cplusplus |
|
|
extern "C" |
|
|
# endif |
|
|
int F77_DUMMY_MAIN() { return 1; } |
|
|
#endif |
|
2037 |
int |
int |
2038 |
main () |
main () |
2039 |
{ |
{ |
2057 |
ac_cv_prog_cc_g=yes |
ac_cv_prog_cc_g=yes |
2058 |
else |
else |
2059 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
2060 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2061 |
|
|
2062 |
ac_cv_prog_cc_g=no |
ac_cv_prog_cc_g=no |
2063 |
fi |
fi |
2064 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
2080 |
CFLAGS= |
CFLAGS= |
2081 |
fi |
fi |
2082 |
fi |
fi |
2083 |
|
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
2084 |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2085 |
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
2086 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2087 |
|
else |
2088 |
|
ac_cv_prog_cc_stdc=no |
2089 |
|
ac_save_CC=$CC |
2090 |
|
cat >conftest.$ac_ext <<_ACEOF |
2091 |
|
#line $LINENO "configure" |
2092 |
|
/* confdefs.h. */ |
2093 |
|
_ACEOF |
2094 |
|
cat confdefs.h >>conftest.$ac_ext |
2095 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2096 |
|
/* end confdefs.h. */ |
2097 |
|
#include <stdarg.h> |
2098 |
|
#include <stdio.h> |
2099 |
|
#include <sys/types.h> |
2100 |
|
#include <sys/stat.h> |
2101 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2102 |
|
struct buf { int x; }; |
2103 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2104 |
|
static char *e (p, i) |
2105 |
|
char **p; |
2106 |
|
int i; |
2107 |
|
{ |
2108 |
|
return p[i]; |
2109 |
|
} |
2110 |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
2111 |
|
{ |
2112 |
|
char *s; |
2113 |
|
va_list v; |
2114 |
|
va_start (v,p); |
2115 |
|
s = g (p, va_arg (v,int)); |
2116 |
|
va_end (v); |
2117 |
|
return s; |
2118 |
|
} |
2119 |
|
int test (int i, double x); |
2120 |
|
struct s1 {int (*f) (int a);}; |
2121 |
|
struct s2 {int (*f) (double a);}; |
2122 |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2123 |
|
int argc; |
2124 |
|
char **argv; |
2125 |
|
int |
2126 |
|
main () |
2127 |
|
{ |
2128 |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2129 |
|
; |
2130 |
|
return 0; |
2131 |
|
} |
2132 |
|
_ACEOF |
2133 |
|
# Don't try gcc -ansi; that turns off useful extensions and |
2134 |
|
# breaks some systems' header files. |
2135 |
|
# AIX -qlanglvl=ansi |
2136 |
|
# Ultrix and OSF/1 -std1 |
2137 |
|
# HP-UX 10.20 and later -Ae |
2138 |
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
2139 |
|
# SVR4 -Xc -D__EXTENSIONS__ |
2140 |
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2141 |
|
do |
2142 |
|
CC="$ac_save_CC $ac_arg" |
2143 |
|
rm -f conftest.$ac_objext |
2144 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2145 |
|
(eval $ac_compile) 2>&5 |
2146 |
|
ac_status=$? |
2147 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2148 |
|
(exit $ac_status); } && |
2149 |
|
{ ac_try='test -s conftest.$ac_objext' |
2150 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2151 |
|
(eval $ac_try) 2>&5 |
2152 |
|
ac_status=$? |
2153 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2154 |
|
(exit $ac_status); }; }; then |
2155 |
|
ac_cv_prog_cc_stdc=$ac_arg |
2156 |
|
break |
2157 |
|
else |
2158 |
|
echo "$as_me: failed program was:" >&5 |
2159 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2160 |
|
|
2161 |
|
fi |
2162 |
|
rm -f conftest.$ac_objext |
2163 |
|
done |
2164 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
2165 |
|
CC=$ac_save_CC |
2166 |
|
|
2167 |
|
fi |
2168 |
|
|
2169 |
|
case "x$ac_cv_prog_cc_stdc" in |
2170 |
|
x|xno) |
2171 |
|
echo "$as_me:$LINENO: result: none needed" >&5 |
2172 |
|
echo "${ECHO_T}none needed" >&6 ;; |
2173 |
|
*) |
2174 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
2175 |
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2176 |
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
2177 |
|
esac |
2178 |
|
|
2179 |
# Some people use a C++ compiler to compile C. Since we use `exit', |
# Some people use a C++ compiler to compile C. Since we use `exit', |
2180 |
# in C++ we need to declare it. In case someone uses the same compiler |
# in C++ we need to declare it. In case someone uses the same compiler |
2181 |
# for both compiling C and C++ we need to have the C++ compiler decide |
# for both compiling C and C++ we need to have the C++ compiler decide |
2208 |
do |
do |
2209 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
2210 |
#line $LINENO "configure" |
#line $LINENO "configure" |
2211 |
#include "confdefs.h" |
/* confdefs.h. */ |
2212 |
|
_ACEOF |
2213 |
|
cat confdefs.h >>conftest.$ac_ext |
2214 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2215 |
|
/* end confdefs.h. */ |
2216 |
#include <stdlib.h> |
#include <stdlib.h> |
2217 |
$ac_declaration |
$ac_declaration |
|
#ifdef F77_DUMMY_MAIN |
|
|
# ifdef __cplusplus |
|
|
extern "C" |
|
|
# endif |
|
|
int F77_DUMMY_MAIN() { return 1; } |
|
|
#endif |
|
2218 |
int |
int |
2219 |
main () |
main () |
2220 |
{ |
{ |
2238 |
: |
: |
2239 |
else |
else |
2240 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
2241 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2242 |
|
|
2243 |
continue |
continue |
2244 |
fi |
fi |
2245 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
2246 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
2247 |
#line $LINENO "configure" |
#line $LINENO "configure" |
2248 |
#include "confdefs.h" |
/* confdefs.h. */ |
2249 |
|
_ACEOF |
2250 |
|
cat confdefs.h >>conftest.$ac_ext |
2251 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2252 |
|
/* end confdefs.h. */ |
2253 |
$ac_declaration |
$ac_declaration |
|
#ifdef F77_DUMMY_MAIN |
|
|
# ifdef __cplusplus |
|
|
extern "C" |
|
|
# endif |
|
|
int F77_DUMMY_MAIN() { return 1; } |
|
|
#endif |
|
2254 |
int |
int |
2255 |
main () |
main () |
2256 |
{ |
{ |
2274 |
break |
break |
2275 |
else |
else |
2276 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
2277 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2278 |
|
|
2279 |
fi |
fi |
2280 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
2281 |
done |
done |
2288 |
|
|
2289 |
else |
else |
2290 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
2291 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2292 |
|
|
2293 |
fi |
fi |
2294 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
2295 |
ac_ext=c |
ac_ext=c |
2321 |
do |
do |
2322 |
# Use a header file that comes with gcc, so configuring glibc |
# Use a header file that comes with gcc, so configuring glibc |
2323 |
# with a fresh cross-compiler works. |
# with a fresh cross-compiler works. |
2324 |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2325 |
|
# <limits.h> exists even on freestanding compilers. |
2326 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
2327 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
2328 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
2329 |
#line $LINENO "configure" |
#line $LINENO "configure" |
2330 |
#include "confdefs.h" |
/* confdefs.h. */ |
2331 |
#include <assert.h> |
_ACEOF |
2332 |
|
cat confdefs.h >>conftest.$ac_ext |
2333 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2334 |
|
/* end confdefs.h. */ |
2335 |
|
#ifdef __STDC__ |
2336 |
|
# include <limits.h> |
2337 |
|
#else |
2338 |
|
# include <assert.h> |
2339 |
|
#endif |
2340 |
Syntax error |
Syntax error |
2341 |
_ACEOF |
_ACEOF |
2342 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2343 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2344 |
ac_status=$? |
ac_status=$? |
2345 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
2346 |
rm -f conftest.er1 |
rm -f conftest.er1 |
2347 |
cat conftest.err >&5 |
cat conftest.err >&5 |
2348 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2359 |
: |
: |
2360 |
else |
else |
2361 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
2362 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2363 |
|
|
2364 |
# Broken: fails on valid input. |
# Broken: fails on valid input. |
2365 |
continue |
continue |
2366 |
fi |
fi |
2370 |
# can be detected and how. |
# can be detected and how. |
2371 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
2372 |
#line $LINENO "configure" |
#line $LINENO "configure" |
2373 |
#include "confdefs.h" |
/* confdefs.h. */ |
2374 |
|
_ACEOF |
2375 |
|
cat confdefs.h >>conftest.$ac_ext |
2376 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2377 |
|
/* end confdefs.h. */ |
2378 |
#include <ac_nonexistent.h> |
#include <ac_nonexistent.h> |
2379 |
_ACEOF |
_ACEOF |
2380 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2381 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2382 |
ac_status=$? |
ac_status=$? |
2383 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
2384 |
rm -f conftest.er1 |
rm -f conftest.er1 |
2385 |
cat conftest.err >&5 |
cat conftest.err >&5 |
2386 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2398 |
continue |
continue |
2399 |
else |
else |
2400 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
2401 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2402 |
|
|
2403 |
# Passes both tests. |
# Passes both tests. |
2404 |
ac_preproc_ok=: |
ac_preproc_ok=: |
2405 |
break |
break |
2428 |
do |
do |
2429 |
# Use a header file that comes with gcc, so configuring glibc |
# Use a header file that comes with gcc, so configuring glibc |
2430 |
# with a fresh cross-compiler works. |
# with a fresh cross-compiler works. |
2431 |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2432 |
|
# <limits.h> exists even on freestanding compilers. |
2433 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
2434 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
2435 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
2436 |
#line $LINENO "configure" |
#line $LINENO "configure" |
2437 |
#include "confdefs.h" |
/* confdefs.h. */ |
2438 |
#include <assert.h> |
_ACEOF |
2439 |
|
cat confdefs.h >>conftest.$ac_ext |
2440 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2441 |
|
/* end confdefs.h. */ |
2442 |
|
#ifdef __STDC__ |
2443 |
|
# include <limits.h> |
2444 |
|
#else |
2445 |
|
# include <assert.h> |
2446 |
|
#endif |
2447 |
Syntax error |
Syntax error |
2448 |
_ACEOF |
_ACEOF |
2449 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2450 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2451 |
ac_status=$? |
ac_status=$? |
2452 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
2453 |
rm -f conftest.er1 |
rm -f conftest.er1 |
2454 |
cat conftest.err >&5 |
cat conftest.err >&5 |
2455 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2466 |
: |
: |
2467 |
else |
else |
2468 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
2469 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2470 |
|
|
2471 |
# Broken: fails on valid input. |
# Broken: fails on valid input. |
2472 |
continue |
continue |
2473 |
fi |
fi |
2477 |
# can be detected and how. |
# can be detected and how. |
2478 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
2479 |
#line $LINENO "configure" |
#line $LINENO "configure" |
2480 |
#include "confdefs.h" |
/* confdefs.h. */ |
2481 |
|
_ACEOF |
2482 |
|
cat confdefs.h >>conftest.$ac_ext |
2483 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2484 |
|
/* end confdefs.h. */ |
2485 |
#include <ac_nonexistent.h> |
#include <ac_nonexistent.h> |
2486 |
_ACEOF |
_ACEOF |
2487 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2488 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2489 |
ac_status=$? |
ac_status=$? |
2490 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
2491 |
rm -f conftest.er1 |
rm -f conftest.er1 |
2492 |
cat conftest.err >&5 |
cat conftest.err >&5 |
2493 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2505 |
continue |
continue |
2506 |
else |
else |
2507 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
2508 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2509 |
|
|
2510 |
# Passes both tests. |
# Passes both tests. |
2511 |
ac_preproc_ok=: |
ac_preproc_ok=: |
2512 |
break |
break |
2519 |
if $ac_preproc_ok; then |
if $ac_preproc_ok; then |
2520 |
: |
: |
2521 |
else |
else |
2522 |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
2523 |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
See \`config.log' for more details." >&5 |
2524 |
|
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
2525 |
|
See \`config.log' for more details." >&2;} |
2526 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
2527 |
fi |
fi |
2528 |
|
|
2544 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
2545 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
2546 |
#line $LINENO "configure" |
#line $LINENO "configure" |
2547 |
#include "confdefs.h" |
/* confdefs.h. */ |
2548 |
|
_ACEOF |
2549 |
|
cat confdefs.h >>conftest.$ac_ext |
2550 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2551 |
|
/* end confdefs.h. */ |
2552 |
|
|
2553 |
|
|
|
#ifdef F77_DUMMY_MAIN |
|
|
# ifdef __cplusplus |
|
|
extern "C" |
|
|
# endif |
|
|
int F77_DUMMY_MAIN() { return 1; } |
|
|
#endif |
|
2554 |
int |
int |
2555 |
main () |
main () |
2556 |
{ |
{ |
2574 |
ac_cv_lib_m_main=yes |
ac_cv_lib_m_main=yes |
2575 |
else |
else |
2576 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
2577 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2578 |
|
|
2579 |
ac_cv_lib_m_main=no |
ac_cv_lib_m_main=no |
2580 |
fi |
fi |
2581 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
2604 |
else |
else |
2605 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
2606 |
#line $LINENO "configure" |
#line $LINENO "configure" |
2607 |
#include "confdefs.h" |
/* confdefs.h. */ |
2608 |
|
_ACEOF |
2609 |
|
cat confdefs.h >>conftest.$ac_ext |
2610 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2611 |
|
/* end confdefs.h. */ |
2612 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
2613 |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
2614 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2615 |
|
<limits.h> exists even on freestanding compilers. */ |
2616 |
|
#ifdef __STDC__ |
2617 |
|
# include <limits.h> |
2618 |
|
#else |
2619 |
|
# include <assert.h> |
2620 |
|
#endif |
2621 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2622 |
#ifdef __cplusplus |
#ifdef __cplusplus |
2623 |
extern "C" |
extern "C" |
2624 |
|
{ |
2625 |
#endif |
#endif |
2626 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
2627 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
2628 |
char $ac_func (); |
char $ac_func (); |
|
char (*f) (); |
|
|
|
|
|
#ifdef F77_DUMMY_MAIN |
|
|
# ifdef __cplusplus |
|
|
extern "C" |
|
|
# endif |
|
|
int F77_DUMMY_MAIN() { return 1; } |
|
|
#endif |
|
|
int |
|
|
main () |
|
|
{ |
|
2629 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
2630 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
2631 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
2632 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
2633 |
choke me |
choke me |
2634 |
#else |
#else |
2635 |
f = $ac_func; |
char (*f) () = $ac_func; |
2636 |
|
#endif |
2637 |
|
#ifdef __cplusplus |
2638 |
|
} |
2639 |
#endif |
#endif |
2640 |
|
|
2641 |
|
int |
2642 |
|
main () |
2643 |
|
{ |
2644 |
|
return f != $ac_func; |
2645 |
; |
; |
2646 |
return 0; |
return 0; |
2647 |
} |
} |
2661 |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
2662 |
else |
else |
2663 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
2664 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2665 |
|
|
2666 |
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
2667 |
fi |
fi |
2668 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
2724 |
LIBS="-ljpeg $LIBS" |
LIBS="-ljpeg $LIBS" |
2725 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
2726 |
#line $LINENO "configure" |
#line $LINENO "configure" |
2727 |
#include "confdefs.h" |
/* confdefs.h. */ |
2728 |
|
_ACEOF |
2729 |
|
cat confdefs.h >>conftest.$ac_ext |
2730 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2731 |
|
/* end confdefs.h. */ |
2732 |
|
|
2733 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2734 |
#ifdef __cplusplus |
#ifdef __cplusplus |
2737 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
2738 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
2739 |
char jpeg_destroy_decompress (); |
char jpeg_destroy_decompress (); |
|
#ifdef F77_DUMMY_MAIN |
|
|
# ifdef __cplusplus |
|
|
extern "C" |
|
|
# endif |
|
|
int F77_DUMMY_MAIN() { return 1; } |
|
|
#endif |
|
2740 |
int |
int |
2741 |
main () |
main () |
2742 |
{ |
{ |
2760 |
ac_cv_lib_jpeg_jpeg_destroy_decompress=yes |
ac_cv_lib_jpeg_jpeg_destroy_decompress=yes |
2761 |
else |
else |
2762 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
2763 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2764 |
|
|
2765 |
ac_cv_lib_jpeg_jpeg_destroy_decompress=no |
ac_cv_lib_jpeg_jpeg_destroy_decompress=no |
2766 |
fi |
fi |
2767 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
2780 |
echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6 |
echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6 |
2781 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
2782 |
#line $LINENO "configure" |
#line $LINENO "configure" |
2783 |
#include "confdefs.h" |
/* confdefs.h. */ |
2784 |
|
_ACEOF |
2785 |
|
cat confdefs.h >>conftest.$ac_ext |
2786 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2787 |
|
/* end confdefs.h. */ |
2788 |
#include <stdio.h> |
#include <stdio.h> |
2789 |
#undef PACKAGE |
#undef PACKAGE |
2790 |
#undef VERSION |
#undef VERSION |
2794 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2795 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2796 |
ac_status=$? |
ac_status=$? |
2797 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
2798 |
rm -f conftest.er1 |
rm -f conftest.er1 |
2799 |
cat conftest.err >&5 |
cat conftest.err >&5 |
2800 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2811 |
jpeg_ok=yes |
jpeg_ok=yes |
2812 |
else |
else |
2813 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
2814 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2815 |
|
|
2816 |
jpeg_ok=no |
jpeg_ok=no |
2817 |
fi |
fi |
2818 |
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
2855 |
|
|
2856 |
|
|
2857 |
|
|
2858 |
|
echo "$as_me:$LINENO: checking for egrep" >&5 |
2859 |
|
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
2860 |
|
if test "${ac_cv_prog_egrep+set}" = set; then |
2861 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2862 |
|
else |
2863 |
|
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
2864 |
|
then ac_cv_prog_egrep='grep -E' |
2865 |
|
else ac_cv_prog_egrep='egrep' |
2866 |
|
fi |
2867 |
|
fi |
2868 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
2869 |
|
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
2870 |
|
EGREP=$ac_cv_prog_egrep |
2871 |
|
|
2872 |
|
|
2873 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
2874 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
2875 |
if test "${ac_cv_header_stdc+set}" = set; then |
if test "${ac_cv_header_stdc+set}" = set; then |
2877 |
else |
else |
2878 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
2879 |
#line $LINENO "configure" |
#line $LINENO "configure" |
2880 |
#include "confdefs.h" |
/* confdefs.h. */ |
2881 |
|
_ACEOF |
2882 |
|
cat confdefs.h >>conftest.$ac_ext |
2883 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2884 |
|
/* end confdefs.h. */ |
2885 |
#include <stdlib.h> |
#include <stdlib.h> |
2886 |
#include <stdarg.h> |
#include <stdarg.h> |
2887 |
#include <string.h> |
#include <string.h> |
2888 |
#include <float.h> |
#include <float.h> |
2889 |
|
|
2890 |
|
int |
2891 |
|
main () |
2892 |
|
{ |
2893 |
|
|
2894 |
|
; |
2895 |
|
return 0; |
2896 |
|
} |
2897 |
_ACEOF |
_ACEOF |
2898 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
rm -f conftest.$ac_objext |
2899 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2900 |
|
(eval $ac_compile) 2>&5 |
2901 |
ac_status=$? |
ac_status=$? |
|
egrep -v '^ *\+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
2902 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2903 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } && |
2904 |
if test -s conftest.err; then |
{ ac_try='test -s conftest.$ac_objext' |
2905 |
ac_cpp_err=$ac_c_preproc_warn_flag |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2906 |
else |
(eval $ac_try) 2>&5 |
2907 |
ac_cpp_err= |
ac_status=$? |
2908 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2909 |
else |
(exit $ac_status); }; }; then |
|
ac_cpp_err=yes |
|
|
fi |
|
|
if test -z "$ac_cpp_err"; then |
|
2910 |
ac_cv_header_stdc=yes |
ac_cv_header_stdc=yes |
2911 |
else |
else |
2912 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
2913 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2914 |
ac_cv_header_stdc=no |
|
2915 |
|
ac_cv_header_stdc=no |
2916 |
fi |
fi |
2917 |
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
2918 |
|
|
2919 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
2920 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2921 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
2922 |
#line $LINENO "configure" |
#line $LINENO "configure" |
2923 |
#include "confdefs.h" |
/* confdefs.h. */ |
2924 |
|
_ACEOF |
2925 |
|
cat confdefs.h >>conftest.$ac_ext |
2926 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2927 |
|
/* end confdefs.h. */ |
2928 |
#include <string.h> |
#include <string.h> |
2929 |
|
|
2930 |
_ACEOF |
_ACEOF |
2931 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2932 |
egrep "memchr" >/dev/null 2>&1; then |
$EGREP "memchr" >/dev/null 2>&1; then |
2933 |
: |
: |
2934 |
else |
else |
2935 |
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
2942 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2943 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
2944 |
#line $LINENO "configure" |
#line $LINENO "configure" |
2945 |
#include "confdefs.h" |
/* confdefs.h. */ |
2946 |
|
_ACEOF |
2947 |
|
cat confdefs.h >>conftest.$ac_ext |
2948 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2949 |
|
/* end confdefs.h. */ |
2950 |
#include <stdlib.h> |
#include <stdlib.h> |
2951 |
|
|
2952 |
_ACEOF |
_ACEOF |
2953 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2954 |
egrep "free" >/dev/null 2>&1; then |
$EGREP "free" >/dev/null 2>&1; then |
2955 |
: |
: |
2956 |
else |
else |
2957 |
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
2967 |
else |
else |
2968 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
2969 |
#line $LINENO "configure" |
#line $LINENO "configure" |
2970 |
#include "confdefs.h" |
/* confdefs.h. */ |
2971 |
|
_ACEOF |
2972 |
|
cat confdefs.h >>conftest.$ac_ext |
2973 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2974 |
|
/* end confdefs.h. */ |
2975 |
#include <ctype.h> |
#include <ctype.h> |
2976 |
#if ((' ' & 0x0FF) == 0x020) |
#if ((' ' & 0x0FF) == 0x020) |
2977 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2978 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2979 |
#else |
#else |
2980 |
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ |
# define ISLOWER(c) \ |
2981 |
|
(('a' <= (c) && (c) <= 'i') \ |
2982 |
|| ('j' <= (c) && (c) <= 'r') \ |
|| ('j' <= (c) && (c) <= 'r') \ |
2983 |
|| ('s' <= (c) && (c) <= 'z')) |
|| ('s' <= (c) && (c) <= 'z')) |
2984 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
3011 |
else |
else |
3012 |
echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
3013 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
3014 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3015 |
|
|
3016 |
( exit $ac_status ) |
( exit $ac_status ) |
3017 |
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
3018 |
fi |
fi |
3019 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3020 |
fi |
fi |
3021 |
fi |
fi |
3022 |
fi |
fi |
3051 |
else |
else |
3052 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
3053 |
#line $LINENO "configure" |
#line $LINENO "configure" |
3054 |
#include "confdefs.h" |
/* confdefs.h. */ |
3055 |
|
_ACEOF |
3056 |
|
cat confdefs.h >>conftest.$ac_ext |
3057 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3058 |
|
/* end confdefs.h. */ |
3059 |
$ac_includes_default |
$ac_includes_default |
3060 |
|
|
3061 |
#include <$ac_header> |
#include <$ac_header> |
3075 |
eval "$as_ac_Header=yes" |
eval "$as_ac_Header=yes" |
3076 |
else |
else |
3077 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
3078 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3079 |
|
|
3080 |
eval "$as_ac_Header=no" |
eval "$as_ac_Header=no" |
3081 |
fi |
fi |
3082 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
3105 |
LIBS="-lz $LIBS" |
LIBS="-lz $LIBS" |
3106 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
3107 |
#line $LINENO "configure" |
#line $LINENO "configure" |
3108 |
#include "confdefs.h" |
/* confdefs.h. */ |
3109 |
|
_ACEOF |
3110 |
|
cat confdefs.h >>conftest.$ac_ext |
3111 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3112 |
|
/* end confdefs.h. */ |
3113 |
|
|
3114 |
|
|
|
#ifdef F77_DUMMY_MAIN |
|
|
# ifdef __cplusplus |
|
|
extern "C" |
|
|
# endif |
|
|
int F77_DUMMY_MAIN() { return 1; } |
|
|
#endif |
|
3115 |
int |
int |
3116 |
main () |
main () |
3117 |
{ |
{ |
3135 |
ac_cv_lib_z_main=yes |
ac_cv_lib_z_main=yes |
3136 |
else |
else |
3137 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
3138 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3139 |
|
|
3140 |
ac_cv_lib_z_main=no |
ac_cv_lib_z_main=no |
3141 |
fi |
fi |
3142 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3156 |
LIBS="-ltiff -lm $LIBS" |
LIBS="-ltiff -lm $LIBS" |
3157 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
3158 |
#line $LINENO "configure" |
#line $LINENO "configure" |
3159 |
#include "confdefs.h" |
/* confdefs.h. */ |
3160 |
|
_ACEOF |
3161 |
|
cat confdefs.h >>conftest.$ac_ext |
3162 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3163 |
|
/* end confdefs.h. */ |
3164 |
char TIFFReadScanline(); |
char TIFFReadScanline(); |
|
#ifdef F77_DUMMY_MAIN |
|
|
# ifdef __cplusplus |
|
|
extern "C" |
|
|
# endif |
|
|
int F77_DUMMY_MAIN() { return 1; } |
|
|
#endif |
|
3165 |
int |
int |
3166 |
main () |
main () |
3167 |
{ |
{ |
3185 |
jpeg_notneeded=yes |
jpeg_notneeded=yes |
3186 |
else |
else |
3187 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
3188 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3189 |
|
|
3190 |
jpeg_notneeded=no |
jpeg_notneeded=no |
3191 |
fi |
fi |
3192 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3204 |
LIBS="-ltiff $JPEG -lm $LIBS" |
LIBS="-ltiff $JPEG -lm $LIBS" |
3205 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
3206 |
#line $LINENO "configure" |
#line $LINENO "configure" |
3207 |
#include "confdefs.h" |
/* confdefs.h. */ |
3208 |
|
_ACEOF |
3209 |
|
cat confdefs.h >>conftest.$ac_ext |
3210 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3211 |
|
/* end confdefs.h. */ |
3212 |
char TIFFReadScanline(); |
char TIFFReadScanline(); |
|
#ifdef F77_DUMMY_MAIN |
|
|
# ifdef __cplusplus |
|
|
extern "C" |
|
|
# endif |
|
|
int F77_DUMMY_MAIN() { return 1; } |
|
|
#endif |
|
3213 |
int |
int |
3214 |
main () |
main () |
3215 |
{ |
{ |
3233 |
libz_notneeded=yes |
libz_notneeded=yes |
3234 |
else |
else |
3235 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
3236 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3237 |
|
|
3238 |
libz_notneeded=no |
libz_notneeded=no |
3239 |
fi |
fi |
3240 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3255 |
LIBS="-ltiff $JPEG -lm $LIBS" |
LIBS="-ltiff $JPEG -lm $LIBS" |
3256 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
3257 |
#line $LINENO "configure" |
#line $LINENO "configure" |
3258 |
#include "confdefs.h" |
/* confdefs.h. */ |
3259 |
|
_ACEOF |
3260 |
|
cat confdefs.h >>conftest.$ac_ext |
3261 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3262 |
|
/* end confdefs.h. */ |
3263 |
|
|
3264 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
3265 |
#ifdef __cplusplus |
#ifdef __cplusplus |
3268 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
3269 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
3270 |
char TIFFReadScanline (); |
char TIFFReadScanline (); |
|
#ifdef F77_DUMMY_MAIN |
|
|
# ifdef __cplusplus |
|
|
extern "C" |
|
|
# endif |
|
|
int F77_DUMMY_MAIN() { return 1; } |
|
|
#endif |
|
3271 |
int |
int |
3272 |
main () |
main () |
3273 |
{ |
{ |
3291 |
ac_cv_lib_tiff_TIFFReadScanline=yes |
ac_cv_lib_tiff_TIFFReadScanline=yes |
3292 |
else |
else |
3293 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
3294 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3295 |
|
|
3296 |
ac_cv_lib_tiff_TIFFReadScanline=no |
ac_cv_lib_tiff_TIFFReadScanline=no |
3297 |
fi |
fi |
3298 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3321 |
echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6 |
echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6 |
3322 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
3323 |
#line $LINENO "configure" |
#line $LINENO "configure" |
3324 |
#include "confdefs.h" |
/* confdefs.h. */ |
3325 |
|
_ACEOF |
3326 |
|
cat confdefs.h >>conftest.$ac_ext |
3327 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3328 |
|
/* end confdefs.h. */ |
3329 |
$ac_includes_default |
$ac_includes_default |
3330 |
#include <tiffio.h> |
#include <tiffio.h> |
3331 |
_ACEOF |
_ACEOF |
3344 |
ac_header_compiler=yes |
ac_header_compiler=yes |
3345 |
else |
else |
3346 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
3347 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3348 |
|
|
3349 |
ac_header_compiler=no |
ac_header_compiler=no |
3350 |
fi |
fi |
3351 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
3357 |
echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6 |
echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6 |
3358 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
3359 |
#line $LINENO "configure" |
#line $LINENO "configure" |
3360 |
#include "confdefs.h" |
/* confdefs.h. */ |
3361 |
|
_ACEOF |
3362 |
|
cat confdefs.h >>conftest.$ac_ext |
3363 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3364 |
|
/* end confdefs.h. */ |
3365 |
#include <tiffio.h> |
#include <tiffio.h> |
3366 |
_ACEOF |
_ACEOF |
3367 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3368 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3369 |
ac_status=$? |
ac_status=$? |
3370 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
3371 |
rm -f conftest.er1 |
rm -f conftest.er1 |
3372 |
cat conftest.err >&5 |
cat conftest.err >&5 |
3373 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3384 |
ac_header_preproc=yes |
ac_header_preproc=yes |
3385 |
else |
else |
3386 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
3387 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3388 |
|
|
3389 |
ac_header_preproc=no |
ac_header_preproc=no |
3390 |
fi |
fi |
3391 |
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
3398 |
{ echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
{ echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
3399 |
echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
3400 |
{ echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 |
{ echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 |
3401 |
echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;};; |
echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} |
3402 |
|
( |
3403 |
|
cat <<\_ASBOX |
3404 |
|
## ------------------------------------ ## |
3405 |
|
## Report this to bug-autoconf@gnu.org. ## |
3406 |
|
## ------------------------------------ ## |
3407 |
|
_ASBOX |
3408 |
|
) | |
3409 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
3410 |
|
;; |
3411 |
no:yes ) |
no:yes ) |
3412 |
{ echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5 |
{ echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5 |
3413 |
echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;} |
echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;} |
3414 |
{ echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5 |
{ echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5 |
3415 |
echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;} |
echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;} |
3416 |
{ echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 |
{ echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 |
3417 |
echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;};; |
echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} |
3418 |
|
( |
3419 |
|
cat <<\_ASBOX |
3420 |
|
## ------------------------------------ ## |
3421 |
|
## Report this to bug-autoconf@gnu.org. ## |
3422 |
|
## ------------------------------------ ## |
3423 |
|
_ASBOX |
3424 |
|
) | |
3425 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
3426 |
|
;; |
3427 |
esac |
esac |
3428 |
echo "$as_me:$LINENO: checking for tiffio.h" >&5 |
echo "$as_me:$LINENO: checking for tiffio.h" >&5 |
3429 |
echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 |
echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 |
3526 |
LIBS="-laudiofile $LIBS" |
LIBS="-laudiofile $LIBS" |
3527 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
3528 |
#line $LINENO "configure" |
#line $LINENO "configure" |
3529 |
#include "confdefs.h" |
/* confdefs.h. */ |
3530 |
|
_ACEOF |
3531 |
|
cat confdefs.h >>conftest.$ac_ext |
3532 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3533 |
|
/* end confdefs.h. */ |
3534 |
|
|
3535 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
3536 |
#ifdef __cplusplus |
#ifdef __cplusplus |
3539 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
3540 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
3541 |
char afGetVirtualFrameSize (); |
char afGetVirtualFrameSize (); |
|
#ifdef F77_DUMMY_MAIN |
|
|
# ifdef __cplusplus |
|
|
extern "C" |
|
|
# endif |
|
|
int F77_DUMMY_MAIN() { return 1; } |
|
|
#endif |
|
3542 |
int |
int |
3543 |
main () |
main () |
3544 |
{ |
{ |
3562 |
ac_cv_lib_audiofile_afGetVirtualFrameSize=yes |
ac_cv_lib_audiofile_afGetVirtualFrameSize=yes |
3563 |
else |
else |
3564 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
3565 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3566 |
|
|
3567 |
ac_cv_lib_audiofile_afGetVirtualFrameSize=no |
ac_cv_lib_audiofile_afGetVirtualFrameSize=no |
3568 |
fi |
fi |
3569 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3597 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
3598 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
3599 |
#line $LINENO "configure" |
#line $LINENO "configure" |
3600 |
#include "confdefs.h" |
/* confdefs.h. */ |
3601 |
|
_ACEOF |
3602 |
|
cat confdefs.h >>conftest.$ac_ext |
3603 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3604 |
|
/* end confdefs.h. */ |
3605 |
$ac_includes_default |
$ac_includes_default |
3606 |
#include <$ac_header> |
#include <$ac_header> |
3607 |
_ACEOF |
_ACEOF |
3620 |
ac_header_compiler=yes |
ac_header_compiler=yes |
3621 |
else |
else |
3622 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
3623 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3624 |
|
|
3625 |
ac_header_compiler=no |
ac_header_compiler=no |
3626 |
fi |
fi |
3627 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
3633 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
3634 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
3635 |
#line $LINENO "configure" |
#line $LINENO "configure" |
3636 |
#include "confdefs.h" |
/* confdefs.h. */ |
3637 |
|
_ACEOF |
3638 |
|
cat confdefs.h >>conftest.$ac_ext |
3639 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3640 |
|
/* end confdefs.h. */ |
3641 |
#include <$ac_header> |
#include <$ac_header> |
3642 |
_ACEOF |
_ACEOF |
3643 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3644 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3645 |
ac_status=$? |
ac_status=$? |
3646 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
3647 |
rm -f conftest.er1 |
rm -f conftest.er1 |
3648 |
cat conftest.err >&5 |
cat conftest.err >&5 |
3649 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3660 |
ac_header_preproc=yes |
ac_header_preproc=yes |
3661 |
else |
else |
3662 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
3663 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3664 |
|
|
3665 |
ac_header_preproc=no |
ac_header_preproc=no |
3666 |
fi |
fi |
3667 |
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
3674 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
3675 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
3676 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
3677 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
3678 |
|
( |
3679 |
|
cat <<\_ASBOX |
3680 |
|
## ------------------------------------ ## |
3681 |
|
## Report this to bug-autoconf@gnu.org. ## |
3682 |
|
## ------------------------------------ ## |
3683 |
|
_ASBOX |
3684 |
|
) | |
3685 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
3686 |
|
;; |
3687 |
no:yes ) |
no:yes ) |
3688 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
3689 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
3690 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
3691 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
3692 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
3693 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
3694 |
|
( |
3695 |
|
cat <<\_ASBOX |
3696 |
|
## ------------------------------------ ## |
3697 |
|
## Report this to bug-autoconf@gnu.org. ## |
3698 |
|
## ------------------------------------ ## |
3699 |
|
_ASBOX |
3700 |
|
) | |
3701 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
3702 |
|
;; |
3703 |
esac |
esac |
3704 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3705 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
3756 |
|
|
3757 |
|
|
3758 |
|
|
3759 |
ac_config_files="$ac_config_files config.make gui.make Headers/Additions/GNUstepGUI/GSVersion.h" |
ac_config_files="$ac_config_files config.make gui.make Headers/Additions/GNUstepGUI/GSVersion.h" |
3760 |
|
|
3761 |
cat >confcache <<\_ACEOF |
cat >confcache <<\_ACEOF |
3762 |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
3768 |
# config.status only pays attention to the cache file if you give it |
# config.status only pays attention to the cache file if you give it |
3769 |
# the --recheck option to rerun configure. |
# the --recheck option to rerun configure. |
3770 |
# |
# |
3771 |
# `ac_cv_env_foo' variables (set or unset) will be overriden when |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
3772 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
3773 |
# following values. |
# following values. |
3774 |
|
|
3803 |
t end |
t end |
3804 |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
3805 |
: end' >>confcache |
: end' >>confcache |
3806 |
if cmp -s $cache_file confcache; then :; else |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
3807 |
if test -w $cache_file; then |
if test -w $cache_file; then |
3808 |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
3809 |
cat confcache >$cache_file |
cat confcache >$cache_file |
3834 |
|
|
3835 |
DEFS=-DHAVE_CONFIG_H |
DEFS=-DHAVE_CONFIG_H |
3836 |
|
|
3837 |
|
ac_libobjs= |
3838 |
|
ac_ltlibobjs= |
3839 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
3840 |
|
# 1. Remove the extension, and $U if already installed. |
3841 |
|
ac_i=`echo "$ac_i" | |
3842 |
|
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
3843 |
|
# 2. Add them. |
3844 |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
3845 |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
3846 |
|
done |
3847 |
|
LIBOBJS=$ac_libobjs |
3848 |
|
|
3849 |
|
LTLIBOBJS=$ac_ltlibobjs |
3850 |
|
|
3851 |
|
|
3852 |
|
|
3853 |
: ${CONFIG_STATUS=./config.status} |
: ${CONFIG_STATUS=./config.status} |
3854 |
ac_clean_files_save=$ac_clean_files |
ac_clean_files_save=$ac_clean_files |
3863 |
# configure, is in config.log if it exists. |
# configure, is in config.log if it exists. |
3864 |
|
|
3865 |
debug=false |
debug=false |
3866 |
|
ac_cs_recheck=false |
3867 |
|
ac_cs_silent=false |
3868 |
SHELL=\${CONFIG_SHELL-$SHELL} |
SHELL=\${CONFIG_SHELL-$SHELL} |
3869 |
_ACEOF |
_ACEOF |
3870 |
|
|
3871 |
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
|
3872 |
## --------------------- ## |
## --------------------- ## |
3873 |
## M4sh Initialization. ## |
## M4sh Initialization. ## |
3874 |
## --------------------- ## |
## --------------------- ## |
3877 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
3878 |
emulate sh |
emulate sh |
3879 |
NULLCMD=: |
NULLCMD=: |
3880 |
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
3881 |
|
# is contrary to our usage. Disable this feature. |
3882 |
|
alias -g '${1+"$@"}'='"$@"' |
3883 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
3884 |
set -o posix |
set -o posix |
3885 |
fi |
fi |
3886 |
|
|
|
# NLS nuisances. |
|
3887 |
# Support unset when possible. |
# Support unset when possible. |
3888 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
3889 |
as_unset=unset |
as_unset=unset |
3891 |
as_unset=false |
as_unset=false |
3892 |
fi |
fi |
3893 |
|
|
3894 |
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && |
|
3895 |
{ $as_unset LANG || test "${LANG+set}" != set; } || |
# Work around bugs in pre-3.0 UWIN ksh. |
3896 |
{ LANG=C; export LANG; } |
$as_unset ENV MAIL MAILPATH |
3897 |
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && |
PS1='$ ' |
3898 |
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || |
PS2='> ' |
3899 |
{ LC_ALL=C; export LC_ALL; } |
PS4='+ ' |
3900 |
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && |
|
3901 |
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || |
# NLS nuisances. |
3902 |
{ LC_TIME=C; export LC_TIME; } |
for as_var in \ |
3903 |
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
3904 |
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
3905 |
{ LC_CTYPE=C; export LC_CTYPE; } |
LC_TELEPHONE LC_TIME |
3906 |
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && |
do |
3907 |
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
3908 |
{ LANGUAGE=C; export LANGUAGE; } |
eval $as_var=C; export $as_var |
3909 |
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && |
else |
3910 |
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || |
$as_unset $as_var |
3911 |
{ LC_COLLATE=C; export LC_COLLATE; } |
fi |
3912 |
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && |
done |
3913 |
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || |
|
3914 |
{ LC_NUMERIC=C; export LC_NUMERIC; } |
# Required to use basename. |
3915 |
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && |
if expr a : '\(a\)' >/dev/null 2>&1; then |
3916 |
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || |
as_expr=expr |
3917 |
{ LC_MESSAGES=C; export LC_MESSAGES; } |
else |
3918 |
|
as_expr=false |
3919 |
|
fi |
3920 |
|
|
3921 |
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
3922 |
|
as_basename=basename |
3923 |
|
else |
3924 |
|
as_basename=false |
3925 |
|
fi |
3926 |
|
|
3927 |
|
|
3928 |
# Name of the executable. |
# Name of the executable. |
3929 |
as_me=`(basename "$0") 2>/dev/null || |
as_me=`$as_basename "$0" || |
3930 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
3931 |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
3932 |
X"$0" : 'X\(/\)$' \| \ |
X"$0" : 'X\(/\)$' \| \ |
3937 |
/^X\/\(\/\).*/{ s//\1/; q; } |
/^X\/\(\/\).*/{ s//\1/; q; } |
3938 |
s/.*/./; q'` |
s/.*/./; q'` |
3939 |
|
|
3940 |
|
|
3941 |
# PATH needs CR, and LINENO needs CR and PATH. |
# PATH needs CR, and LINENO needs CR and PATH. |
3942 |
# Avoid depending upon Character Ranges. |
# Avoid depending upon Character Ranges. |
3943 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
3948 |
|
|
3949 |
# The user is always right. |
# The user is always right. |
3950 |
if test "${PATH_SEPARATOR+set}" != set; then |
if test "${PATH_SEPARATOR+set}" != set; then |
3951 |
echo "#! /bin/sh" >conftest.sh |
echo "#! /bin/sh" >conf$$.sh |
3952 |
echo "exit 0" >>conftest.sh |
echo "exit 0" >>conf$$.sh |
3953 |
chmod +x conftest.sh |
chmod +x conf$$.sh |
3954 |
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
3955 |
PATH_SEPARATOR=';' |
PATH_SEPARATOR=';' |
3956 |
else |
else |
3957 |
PATH_SEPARATOR=: |
PATH_SEPARATOR=: |
3958 |
fi |
fi |
3959 |
rm -f conftest.sh |
rm -f conf$$.sh |
3960 |
fi |
fi |
3961 |
|
|
3962 |
|
|
4005 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
4006 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
test "x$as_lineno_1" != "x$as_lineno_2" && |
4007 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
4008 |
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
4009 |
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
4010 |
CONFIG_SHELL=$as_dir/$as_base |
CONFIG_SHELL=$as_dir/$as_base |
4011 |
export CONFIG_SHELL |
export CONFIG_SHELL |
4012 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
4080 |
fi |
fi |
4081 |
rm -f conf$$ conf$$.exe conf$$.file |
rm -f conf$$ conf$$.exe conf$$.file |
4082 |
|
|
4083 |
|
if mkdir -p . 2>/dev/null; then |
4084 |
|
as_mkdir_p=: |
4085 |
|
else |
4086 |
|
as_mkdir_p=false |
4087 |
|
fi |
4088 |
|
|
4089 |
as_executable_p="test -f" |
as_executable_p="test -f" |
4090 |
|
|
4091 |
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
4102 |
IFS=" $as_nl" |
IFS=" $as_nl" |
4103 |
|
|
4104 |
# CDPATH. |
# CDPATH. |
4105 |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } |
$as_unset CDPATH |
4106 |
|
|
4107 |
exec 6>&1 |
exec 6>&1 |
4108 |
|
|
4119 |
cat >&5 <<_CSEOF |
cat >&5 <<_CSEOF |
4120 |
|
|
4121 |
This file was extended by $as_me, which was |
This file was extended by $as_me, which was |
4122 |
generated by GNU Autoconf 2.53. Invocation command line was |
generated by GNU Autoconf 2.57. Invocation command line was |
4123 |
|
|
4124 |
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
4125 |
CONFIG_HEADERS = $CONFIG_HEADERS |
CONFIG_HEADERS = $CONFIG_HEADERS |
4159 |
|
|
4160 |
-h, --help print this help, then exit |
-h, --help print this help, then exit |
4161 |
-V, --version print version number, then exit |
-V, --version print version number, then exit |
4162 |
|
-q, --quiet do not print progress messages |
4163 |
-d, --debug don't remove temporary files |
-d, --debug don't remove temporary files |
4164 |
--recheck update $as_me by reconfiguring in the same conditions |
--recheck update $as_me by reconfiguring in the same conditions |
4165 |
--file=FILE[:TEMPLATE] |
--file=FILE[:TEMPLATE] |
4179 |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
4180 |
ac_cs_version="\\ |
ac_cs_version="\\ |
4181 |
config.status |
config.status |
4182 |
configured by $0, generated by GNU Autoconf 2.53, |
configured by $0, generated by GNU Autoconf 2.57, |
4183 |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
4184 |
|
|
4185 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
4199 |
--*=*) |
--*=*) |
4200 |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
4201 |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
4202 |
shift |
ac_shift=: |
4203 |
set dummy "$ac_option" "$ac_optarg" ${1+"$@"} |
;; |
4204 |
shift |
-*) |
4205 |
|
ac_option=$1 |
4206 |
|
ac_optarg=$2 |
4207 |
|
ac_shift=shift |
4208 |
;; |
;; |
|
-*);; |
|
4209 |
*) # This is not an option, so the user has probably given explicit |
*) # This is not an option, so the user has probably given explicit |
4210 |
# arguments. |
# arguments. |
4211 |
|
ac_option=$1 |
4212 |
ac_need_defaults=false;; |
ac_need_defaults=false;; |
4213 |
esac |
esac |
4214 |
|
|
4215 |
case $1 in |
case $ac_option in |
4216 |
# Handling of the options. |
# Handling of the options. |
4217 |
_ACEOF |
_ACEOF |
|
cat >>$CONFIG_STATUS <<_ACEOF |
|
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
|
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" |
|
|
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; |
|
|
_ACEOF |
|
4218 |
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
4219 |
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
4220 |
|
ac_cs_recheck=: ;; |
4221 |
--version | --vers* | -V ) |
--version | --vers* | -V ) |
4222 |
echo "$ac_cs_version"; exit 0 ;; |
echo "$ac_cs_version"; exit 0 ;; |
4223 |
--he | --h) |
--he | --h) |
4232 |
--debug | --d* | -d ) |
--debug | --d* | -d ) |
4233 |
debug=: ;; |
debug=: ;; |
4234 |
--file | --fil | --fi | --f ) |
--file | --fil | --fi | --f ) |
4235 |
shift |
$ac_shift |
4236 |
CONFIG_FILES="$CONFIG_FILES $1" |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
4237 |
ac_need_defaults=false;; |
ac_need_defaults=false;; |
4238 |
--header | --heade | --head | --hea ) |
--header | --heade | --head | --hea ) |
4239 |
shift |
$ac_shift |
4240 |
CONFIG_HEADERS="$CONFIG_HEADERS $1" |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
4241 |
ac_need_defaults=false;; |
ac_need_defaults=false;; |
4242 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
4243 |
|
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
4244 |
|
ac_cs_silent=: ;; |
4245 |
|
|
4246 |
# This is an error. |
# This is an error. |
4247 |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
4256 |
shift |
shift |
4257 |
done |
done |
4258 |
|
|
4259 |
|
ac_configure_extra_args= |
4260 |
|
|
4261 |
|
if $ac_cs_silent; then |
4262 |
|
exec 6>/dev/null |
4263 |
|
ac_configure_extra_args="$ac_configure_extra_args --silent" |
4264 |
|
fi |
4265 |
|
|
4266 |
|
_ACEOF |
4267 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
4268 |
|
if \$ac_cs_recheck; then |
4269 |
|
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
4270 |
|
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
4271 |
|
fi |
4272 |
|
|
4273 |
_ACEOF |
_ACEOF |
4274 |
|
|
4275 |
|
|
4300 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
4301 |
fi |
fi |
4302 |
|
|
4303 |
|
# Have a temporary directory for convenience. Make it in the build tree |
4304 |
|
# simply because there is no reason to put it here, and in addition, |
4305 |
|
# creating and moving files from /tmp can sometimes cause problems. |
4306 |
# Create a temporary directory, and hook for its removal unless debugging. |
# Create a temporary directory, and hook for its removal unless debugging. |
4307 |
$debug || |
$debug || |
4308 |
{ |
{ |
4311 |
} |
} |
4312 |
|
|
4313 |
# Create a (secure) tmp directory for tmp files. |
# Create a (secure) tmp directory for tmp files. |
4314 |
: ${TMPDIR=/tmp} |
|
4315 |
{ |
{ |
4316 |
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
4317 |
test -n "$tmp" && test -d "$tmp" |
test -n "$tmp" && test -d "$tmp" |
4318 |
} || |
} || |
4319 |
{ |
{ |
4320 |
tmp=$TMPDIR/cs$$-$RANDOM |
tmp=./confstat$$-$RANDOM |
4321 |
(umask 077 && mkdir $tmp) |
(umask 077 && mkdir $tmp) |
4322 |
} || |
} || |
4323 |
{ |
{ |
4324 |
echo "$me: cannot create a temporary directory in $TMPDIR" >&2 |
echo "$me: cannot create a temporary directory in ." >&2 |
4325 |
{ (exit 1); exit 1; } |
{ (exit 1); exit 1; } |
4326 |
} |
} |
4327 |
|
|
4389 |
s,@EXEEXT@,$EXEEXT,;t t |
s,@EXEEXT@,$EXEEXT,;t t |
4390 |
s,@OBJEXT@,$OBJEXT,;t t |
s,@OBJEXT@,$OBJEXT,;t t |
4391 |
s,@CPP@,$CPP,;t t |
s,@CPP@,$CPP,;t t |
4392 |
|
s,@EGREP@,$EGREP,;t t |
4393 |
s,@BUILD_GSND@,$BUILD_GSND,;t t |
s,@BUILD_GSND@,$BUILD_GSND,;t t |
4394 |
s,@GNUSTEP_GUI_VERSION@,$GNUSTEP_GUI_VERSION,;t t |
s,@GNUSTEP_GUI_VERSION@,$GNUSTEP_GUI_VERSION,;t t |
4395 |
s,@GNUSTEP_GUI_MAJOR_VERSION@,$GNUSTEP_GUI_MAJOR_VERSION,;t t |
s,@GNUSTEP_GUI_MAJOR_VERSION@,$GNUSTEP_GUI_MAJOR_VERSION,;t t |
4398 |
s,@ADDITIONAL_LIB_DIRS@,$ADDITIONAL_LIB_DIRS,;t t |
s,@ADDITIONAL_LIB_DIRS@,$ADDITIONAL_LIB_DIRS,;t t |
4399 |
s,@ADDITIONAL_INCLUDE_DIRS@,$ADDITIONAL_INCLUDE_DIRS,;t t |
s,@ADDITIONAL_INCLUDE_DIRS@,$ADDITIONAL_INCLUDE_DIRS,;t t |
4400 |
s,@ADDITIONAL_DEPENDS@,$ADDITIONAL_DEPENDS,;t t |
s,@ADDITIONAL_DEPENDS@,$ADDITIONAL_DEPENDS,;t t |
4401 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
4402 |
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
4403 |
CEOF |
CEOF |
4404 |
|
|
4405 |
_ACEOF |
_ACEOF |
4470 |
/^X\(\/\/\)$/{ s//\1/; q; } |
/^X\(\/\/\)$/{ s//\1/; q; } |
4471 |
/^X\(\/\).*/{ s//\1/; q; } |
/^X\(\/\).*/{ s//\1/; q; } |
4472 |
s/.*/./; q'` |
s/.*/./; q'` |
4473 |
{ case "$ac_dir" in |
{ if $as_mkdir_p; then |
4474 |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
mkdir -p "$ac_dir" |
4475 |
*) as_incr_dir=.;; |
else |
4476 |
esac |
as_dir="$ac_dir" |
4477 |
as_dummy="$ac_dir" |
as_dirs= |
4478 |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
while test ! -d "$as_dir"; do |
4479 |
case $as_mkdir_dir in |
as_dirs="$as_dir $as_dirs" |
4480 |
# Skip DOS drivespec |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
4481 |
?:) as_incr_dir=$as_mkdir_dir ;; |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
4482 |
*) |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
4483 |
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
X"$as_dir" : 'X\(//\)$' \| \ |
4484 |
test -d "$as_incr_dir" || |
X"$as_dir" : 'X\(/\)' \| \ |
4485 |
mkdir "$as_incr_dir" || |
. : '\(.\)' 2>/dev/null || |
4486 |
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 |
echo X"$as_dir" | |
4487 |
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
4488 |
{ (exit 1); exit 1; }; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
4489 |
;; |
/^X\(\/\/\)$/{ s//\1/; q; } |
4490 |
esac |
/^X\(\/\).*/{ s//\1/; q; } |
4491 |
done; } |
s/.*/./; q'` |
4492 |
|
done |
4493 |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
4494 |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
4495 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
4496 |
|
{ (exit 1); exit 1; }; }; } |
4497 |
|
|
4498 |
ac_builddir=. |
ac_builddir=. |
4499 |
|
|
4523 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
4524 |
# absolute. |
# absolute. |
4525 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
4526 |
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
4527 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
4528 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
4529 |
|
|
4708 |
# Break up conftest.defines because some shells have a limit on the size |
# Break up conftest.defines because some shells have a limit on the size |
4709 |
# of here documents, and old seds have small limits too (100 cmds). |
# of here documents, and old seds have small limits too (100 cmds). |
4710 |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
4711 |
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
4712 |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
4713 |
echo ' :' >>$CONFIG_STATUS |
echo ' :' >>$CONFIG_STATUS |
4714 |
rm -f conftest.tail |
rm -f conftest.tail |
4732 |
mv conftest.tail conftest.defines |
mv conftest.tail conftest.defines |
4733 |
done |
done |
4734 |
rm -f conftest.defines |
rm -f conftest.defines |
4735 |
echo ' fi # egrep' >>$CONFIG_STATUS |
echo ' fi # grep' >>$CONFIG_STATUS |
4736 |
echo >>$CONFIG_STATUS |
echo >>$CONFIG_STATUS |
4737 |
|
|
4738 |
# Break up conftest.undefs because some shells have a limit on the size |
# Break up conftest.undefs because some shells have a limit on the size |
4772 |
cat $tmp/in >>$tmp/config.h |
cat $tmp/in >>$tmp/config.h |
4773 |
rm -f $tmp/in |
rm -f $tmp/in |
4774 |
if test x"$ac_file" != x-; then |
if test x"$ac_file" != x-; then |
4775 |
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then |
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
4776 |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
4777 |
echo "$as_me: $ac_file is unchanged" >&6;} |
echo "$as_me: $ac_file is unchanged" >&6;} |
4778 |
else |
else |
4788 |
/^X\(\/\/\)$/{ s//\1/; q; } |
/^X\(\/\/\)$/{ s//\1/; q; } |
4789 |
/^X\(\/\).*/{ s//\1/; q; } |
/^X\(\/\).*/{ s//\1/; q; } |
4790 |
s/.*/./; q'` |
s/.*/./; q'` |
4791 |
{ case "$ac_dir" in |
{ if $as_mkdir_p; then |
4792 |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
mkdir -p "$ac_dir" |
4793 |
*) as_incr_dir=.;; |
else |
4794 |
esac |
as_dir="$ac_dir" |
4795 |
as_dummy="$ac_dir" |
as_dirs= |
4796 |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
while test ! -d "$as_dir"; do |
4797 |
case $as_mkdir_dir in |
as_dirs="$as_dir $as_dirs" |
4798 |
# Skip DOS drivespec |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
4799 |
?:) as_incr_dir=$as_mkdir_dir ;; |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
4800 |
*) |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
4801 |
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
X"$as_dir" : 'X\(//\)$' \| \ |
4802 |
test -d "$as_incr_dir" || |
X"$as_dir" : 'X\(/\)' \| \ |
4803 |
mkdir "$as_incr_dir" || |
. : '\(.\)' 2>/dev/null || |
4804 |
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 |
echo X"$as_dir" | |
4805 |
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
4806 |
{ (exit 1); exit 1; }; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
4807 |
;; |
/^X\(\/\/\)$/{ s//\1/; q; } |
4808 |
esac |
/^X\(\/\).*/{ s//\1/; q; } |
4809 |
done; } |
s/.*/./; q'` |
4810 |
|
done |
4811 |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
4812 |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
4813 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
4814 |
|
{ (exit 1); exit 1; }; }; } |
4815 |
|
|
4816 |
rm -f $ac_file |
rm -f $ac_file |
4817 |
mv $tmp/config.h $ac_file |
mv $tmp/config.h $ac_file |
4841 |
# need to make the FD available again. |
# need to make the FD available again. |
4842 |
if test "$no_create" != yes; then |
if test "$no_create" != yes; then |
4843 |
ac_cs_success=: |
ac_cs_success=: |
4844 |
|
ac_config_status_args= |
4845 |
|
test "$silent" = yes && |
4846 |
|
ac_config_status_args="$ac_config_status_args --quiet" |
4847 |
exec 5>/dev/null |
exec 5>/dev/null |
4848 |
$SHELL $CONFIG_STATUS || ac_cs_success=false |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
4849 |
exec 5>>config.log |
exec 5>>config.log |
4850 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
4851 |
# would make configure fail if this is the last instruction. |
# would make configure fail if this is the last instruction. |