8
8
# Free Software Foundation, Inc.
9
9
# This configure script is free software; the Free Software Foundation
10
10
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
# Be Bourne compatible
16
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20
# is contrary to our usage. Disable this feature.
21
alias -g '${1+"$@"}'='"$@"'
22
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26
# Support unset when possible.
27
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34
# Work around bugs in pre-3.0 UWIN ksh.
35
$as_unset ENV MAIL MAILPATH
42
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
eval $as_var=C; export $as_var
53
# Required to use basename.
54
if expr a : '\(a\)' >/dev/null 2>&1; then
60
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67
# Name of the executable.
68
as_me=`$as_basename "$0" ||
69
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
80
# PATH needs CR, and LINENO needs CR and PATH.
81
# Avoid depending upon Character Ranges.
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
as_cr_digits='0123456789'
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
88
# The user is always right.
89
if test "${PATH_SEPARATOR+set}" != set; then
90
echo "#! /bin/sh" >conf$$.sh
91
echo "exit 0" >>conf$$.sh
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
test "x$as_lineno_1" != "x$as_lineno_2" &&
106
test "x$as_lineno_3" = "x$as_lineno_2" || {
107
# Find who we are. Look in the path if we contain no path at all
110
*[\\/]* ) as_myself=$0 ;;
111
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115
test -z "$as_dir" && as_dir=.
116
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121
# We did not find ourselves, most probably we were run as `sh COMMAND'
122
# in which case we are not to be found in the path.
123
if test "x$as_myself" = x; then
126
if test ! -f "$as_myself"; then
127
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
{ (exit 1); exit 1; }; }
130
case $CONFIG_SHELL in
132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
test -z "$as_dir" && as_dir=.
137
for as_base in sh bash ksh sh5; do
140
if ("$as_dir/$as_base" -c '
143
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
test "x$as_lineno_1" != "x$as_lineno_2" &&
145
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
CONFIG_SHELL=$as_dir/$as_base
150
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
# uniformly replaced by the line number. The first 'sed' inserts a
160
# line-number line before each line; the second 'sed' does the real
161
# work. The second script uses 'N' to pair each line-number line
162
# with the numbered line, and appends trailing '-' during
163
# substitution so that $LINENO is not a special case at line end.
164
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166
sed '=' <$as_myself |
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174
s,^['$as_cr_digits']*\n,,
176
chmod +x $as_me.lineno ||
177
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
{ (exit 1); exit 1; }; }
180
# Don't try to exec as it changes $[0], causing all sort of problems
181
# (the dirname of $[0] is not the place where we might find the
182
# original and so on. Autoconf is especially sensible to this).
184
# Exit status is that of the last command.
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
*c*,-n*) ECHO_N= ECHO_C='
192
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196
if expr a : '\(a\)' >/dev/null 2>&1; then
202
rm -f conf$$ conf$$.exe conf$$.file
204
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
# We could just check for DJGPP; but this test a) works b) is more generic
206
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
if test -f conf$$.exe; then
208
# Don't use ln at all; we don't have any links
213
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
220
if mkdir -p . 2>/dev/null; then
226
as_executable_p="test -f"
228
# Sed expression to map a string onto a valid CPP name.
229
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231
# Sed expression to map a string onto a valid variable name.
232
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236
# We need space, tab and new line, in precisely that order.
12
245
# Find the correct PATH separator. Usually this is `:', but
13
246
# DJGPP uses `;' like DOS.
171
if expr a : '\(a\)' >/dev/null 2>&1; then
178
## --------------------- ##
179
## M4sh Initialization. ##
180
## --------------------- ##
182
# Be Bourne compatible
183
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
186
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
191
# Support unset when possible.
192
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
198
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
199
{ $as_unset LANG || test "${LANG+set}" != set; } ||
200
{ LANG=C; export LANG; }
201
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
202
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
203
{ LC_ALL=C; export LC_ALL; }
204
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
205
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
206
{ LC_TIME=C; export LC_TIME; }
207
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
208
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
209
{ LC_CTYPE=C; export LC_CTYPE; }
210
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
211
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
212
{ LANGUAGE=C; export LANGUAGE; }
213
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
214
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
215
{ LC_COLLATE=C; export LC_COLLATE; }
216
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
217
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
218
{ LC_NUMERIC=C; export LC_NUMERIC; }
219
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
220
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
221
{ LC_MESSAGES=C; export LC_MESSAGES; }
224
# Name of the executable.
225
as_me=`(basename "$0") 2>/dev/null ||
226
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
227
X"$0" : 'X\(//\)$' \| \
228
X"$0" : 'X\(/\)$' \| \
229
. : '\(.\)' 2>/dev/null ||
231
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
232
/^X\/\(\/\/\)$/{ s//\1/; q; }
233
/^X\/\(\/\).*/{ s//\1/; q; }
236
# PATH needs CR, and LINENO needs CR and PATH.
237
# Avoid depending upon Character Ranges.
238
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
239
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
240
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
241
as_cr_digits='0123456789'
242
as_cr_alnum=$as_cr_Letters$as_cr_digits
244
# The user is always right.
245
if test "${PATH_SEPARATOR+set}" != set; then
246
echo "#! /bin/sh" >conftest.sh
247
echo "exit 0" >>conftest.sh
249
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
260
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
261
test "x$as_lineno_1" != "x$as_lineno_2" &&
262
test "x$as_lineno_3" = "x$as_lineno_2" || {
263
# Find who we are. Look in the path if we contain no path at all
266
*[\\/]* ) as_myself=$0 ;;
267
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
271
test -z "$as_dir" && as_dir=.
272
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
277
# We did not find ourselves, most probably we were run as `sh COMMAND'
278
# in which case we are not to be found in the path.
279
if test "x$as_myself" = x; then
282
if test ! -f "$as_myself"; then
283
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
284
{ (exit 1); exit 1; }; }
286
case $CONFIG_SHELL in
288
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
289
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
292
test -z "$as_dir" && as_dir=.
293
for as_base in sh bash ksh sh5; do
296
if ("$as_dir/$as_base" -c '
299
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
300
test "x$as_lineno_1" != "x$as_lineno_2" &&
301
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
302
CONFIG_SHELL=$as_dir/$as_base
304
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
312
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
313
# uniformly replaced by the line number. The first 'sed' inserts a
314
# line-number line before each line; the second 'sed' does the real
315
# work. The second script uses 'N' to pair each line-number line
316
# with the numbered line, and appends trailing '-' during
317
# substitution so that $LINENO is not a special case at line end.
318
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
319
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
320
sed '=' <$as_myself |
325
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
328
s,^['$as_cr_digits']*\n,,
330
chmod +x $as_me.lineno ||
331
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
332
{ (exit 1); exit 1; }; }
334
# Don't try to exec as it changes $[0], causing all sort of problems
335
# (the dirname of $[0] is not the place where we might find the
336
# original and so on. Autoconf is especially sensible to this).
338
# Exit status is that of the last command.
343
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
344
*c*,-n*) ECHO_N= ECHO_C='
346
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
347
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
350
if expr a : '\(a\)' >/dev/null 2>&1; then
356
rm -f conf$$ conf$$.exe conf$$.file
358
if ln -s conf$$.file conf$$ 2>/dev/null; then
359
# We could just check for DJGPP; but this test a) works b) is more generic
360
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
361
if test -f conf$$.exe; then
362
# Don't use ln at all; we don't have any links
367
elif ln conf$$.file conf$$ 2>/dev/null; then
372
rm -f conf$$ conf$$.exe conf$$.file
374
as_executable_p="test -f"
376
# Sed expression to map a string onto a valid CPP name.
377
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
379
# Sed expression to map a string onto a valid variable name.
380
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
384
# We need space, tab and new line, in precisely that order.
390
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
393
404
# Name of the host.
394
405
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395
406
# so uname gets run too.
1218
1235
# Keep a trace of the command line.
1219
1236
# Strip out --no-create and --no-recursion so they do not pile up.
1237
# Strip out --silent because we don't want to record it for future runs.
1220
1238
# Also quote any args containing shell meta-characters.
1239
# Make two passes to allow for proper duplicate-argument suppression.
1221
1240
ac_configure_args=
1244
ac_must_keep_next=false
1226
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1227
| --no-cr | --no-c | -n ) continue ;;
1228
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1229
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1231
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1232
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1234
case " $ac_configure_args " in
1235
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1236
*) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1239
# Get rid of the leading space.
1250
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1251
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1252
| -silent | --silent | --silen | --sile | --sil)
1254
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1255
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1258
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1260
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1261
if test $ac_must_keep_next = true; then
1262
ac_must_keep_next=false # Got value, back to normal.
1265
*=* | --config-cache | -C | -disable-* | --disable-* \
1266
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1267
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1268
| -with-* | --with-* | -without-* | --without-* | --x)
1269
case "$ac_configure_args0 " in
1270
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1273
-* ) ac_must_keep_next=true ;;
1276
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1277
# Get rid of the leading space.
1283
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1284
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1242
1286
# When interrupted or exit'd, cleanup temporary files, and complete
1243
1287
# config.log. We remove comments because anyway the quotes in there
1928
2000
SET_MAKE="MAKE=${MAKE-make}"
1931
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1932
if test "${enable_dependency_tracking+set}" = set; then
1933
enableval="$enable_dependency_tracking"
1936
if test "x$enable_dependency_tracking" != xno; then
1937
am_depcomp="$ac_aux_dir/depcomp"
1942
if test "x$enable_dependency_tracking" != xno; then
1953
rm -f .deps 2>/dev/null
1954
mkdir .deps 2>/dev/null
1955
if test -d .deps; then
1958
# MS-DOS does not allow filenames that begin with a dot.
1961
rmdir .deps 2>/dev/null
1964
# test to see if srcdir already configured
1965
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
2003
rm -rf .tst 2>/dev/null
2004
mkdir .tst 2>/dev/null
2005
if test -d .tst; then
2010
rmdir .tst 2>/dev/null
2012
# test to see if srcdir already configured
2013
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1966
2014
test -f $srcdir/config.status; then
1967
2015
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1968
2016
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1969
2017
{ (exit 1); exit 1; }; }
2020
# test whether we have cygpath
2021
if test -z "$CYGPATH_W"; then
2022
if (cygpath --version) >/dev/null 2>/dev/null; then
2023
CYGPATH_W='cygpath -w'
1972
2030
# Define the identity of the package.
1976
2035
cat >>confdefs.h <<_ACEOF
1977
2036
#define PACKAGE "$PACKAGE"
2017
2063
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2065
# Installed binaries are usually stripped using `strip' when the user
2066
# run `make install-strip'. However `strip' might not be the right
2067
# tool to use in cross-compilation environments, therefore Automake
2068
# will honor the `STRIP' environment variable to overrule this program.
2069
if test "$cross_compiling" != no; then
2070
if test -n "$ac_tool_prefix"; then
2071
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2072
set dummy ${ac_tool_prefix}strip; ac_word=$2
2073
echo "$as_me:$LINENO: checking for $ac_word" >&5
2074
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2075
if test "${ac_cv_prog_STRIP+set}" = set; then
2076
echo $ECHO_N "(cached) $ECHO_C" >&6
2078
if test -n "$STRIP"; then
2079
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2081
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085
test -z "$as_dir" && as_dir=.
2086
for ac_exec_ext in '' $ac_executable_extensions; do
2087
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2088
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2089
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097
STRIP=$ac_cv_prog_STRIP
2098
if test -n "$STRIP"; then
2099
echo "$as_me:$LINENO: result: $STRIP" >&5
2100
echo "${ECHO_T}$STRIP" >&6
2102
echo "$as_me:$LINENO: result: no" >&5
2103
echo "${ECHO_T}no" >&6
2107
if test -z "$ac_cv_prog_STRIP"; then
2109
# Extract the first word of "strip", so it can be a program name with args.
2110
set dummy strip; ac_word=$2
2111
echo "$as_me:$LINENO: checking for $ac_word" >&5
2112
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2113
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2114
echo $ECHO_N "(cached) $ECHO_C" >&6
2116
if test -n "$ac_ct_STRIP"; then
2117
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2119
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123
test -z "$as_dir" && as_dir=.
2124
for ac_exec_ext in '' $ac_executable_extensions; do
2125
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2126
ac_cv_prog_ac_ct_STRIP="strip"
2127
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2133
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2136
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2137
if test -n "$ac_ct_STRIP"; then
2138
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2139
echo "${ECHO_T}$ac_ct_STRIP" >&6
2141
echo "$as_me:$LINENO: result: no" >&5
2142
echo "${ECHO_T}no" >&6
2147
STRIP="$ac_cv_prog_STRIP"
2019
2151
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2021
2153
# We need awk for the "check" target. The system "awk" is bad on
2022
2154
# some platforms.
2025
2159
# File to cram results from the configure tests into.
2026
2160
# we pit this in src/ to avoid having to add extra INCLUDES directives in
2031
ac_config_headers="$ac_config_headers src/config.h"
2162
ac_config_headers="$ac_config_headers src/config.h"
2034
2165
# Default to not building a static library.
2455
2585
# Be careful to initialize this variable, since it used to be cached.
2456
2586
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2458
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2459
ls a.out conftest 2>/dev/null;
2460
ls a.* conftest.* 2>/dev/null`; do
2588
# b.out is created by i960 compilers.
2589
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2591
test -f "$ac_file" || continue
2461
2592
case $ac_file in
2462
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2463
a.out ) # We found the default executable, but exeext='' is most
2466
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2467
# FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2593
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2596
# This is the source file.
2599
# We found the default executable, but exeext='' is most
2603
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2604
# FIXME: I believe we export ac_cv_exeext for Libtool,
2605
# but it would be cool to find out if it's true. Does anybody
2606
# maintain Libtool? --akim.
2474
2614
echo "$as_me: failed program was:" >&5
2475
cat conftest.$ac_ext >&5
2476
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2477
echo "$as_me: error: C compiler cannot create executables" >&2;}
2615
sed 's/^/| /' conftest.$ac_ext >&5
2617
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2618
See \`config.log' for more details." >&5
2619
echo "$as_me: error: C compiler cannot create executables
2620
See \`config.log' for more details." >&2;}
2478
2621
{ (exit 77); exit 77; }; }
2867
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2868
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2869
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2870
echo $ECHO_N "(cached) $ECHO_C" >&6
2872
ac_cv_prog_cc_stdc=no
2874
cat >conftest.$ac_ext <<_ACEOF
2875
#line $LINENO "configure"
2878
cat confdefs.h >>conftest.$ac_ext
2879
cat >>conftest.$ac_ext <<_ACEOF
2880
/* end confdefs.h. */
2883
#include <sys/types.h>
2884
#include <sys/stat.h>
2885
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2886
struct buf { int x; };
2887
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2888
static char *e (p, i)
2894
static char *f (char * (*g) (char **, int), char **p, ...)
2899
s = g (p, va_arg (v,int));
2903
int test (int i, double x);
2904
struct s1 {int (*f) (int a);};
2905
struct s2 {int (*f) (double a);};
2906
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2912
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2917
# Don't try gcc -ansi; that turns off useful extensions and
2918
# breaks some systems' header files.
2919
# AIX -qlanglvl=ansi
2920
# Ultrix and OSF/1 -std1
2921
# HP-UX 10.20 and later -Ae
2922
# HP-UX older versions -Aa -D_HPUX_SOURCE
2923
# SVR4 -Xc -D__EXTENSIONS__
2924
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2926
CC="$ac_save_CC $ac_arg"
2927
rm -f conftest.$ac_objext
2928
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2929
(eval $ac_compile) 2>&5
2931
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932
(exit $ac_status); } &&
2933
{ ac_try='test -s conftest.$ac_objext'
2934
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938
(exit $ac_status); }; }; then
2939
ac_cv_prog_cc_stdc=$ac_arg
2942
echo "$as_me: failed program was:" >&5
2943
sed 's/^/| /' conftest.$ac_ext >&5
2946
rm -f conftest.$ac_objext
2948
rm -f conftest.$ac_ext conftest.$ac_objext
2953
case "x$ac_cv_prog_cc_stdc" in
2955
echo "$as_me:$LINENO: result: none needed" >&5
2956
echo "${ECHO_T}none needed" >&6 ;;
2958
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2959
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2960
CC="$CC $ac_cv_prog_cc_stdc" ;;
2720
2963
# Some people use a C++ compiler to compile C. Since we use `exit',
2721
2964
# in C++ we need to declare it. In case someone uses the same compiler
2722
2965
# for both compiling C and C++ we need to have the C++ compiler decide
4134
4498
echo "$as_me:$LINENO: result: $NM" >&5
4135
4499
echo "${ECHO_T}$NM" >&6
4501
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4502
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4503
if test "${lt_cv_path_SED+set}" = set; then
4504
echo $ECHO_N "(cached) $ECHO_C" >&6
4506
# Loop through the user's path and test for sed and gsed.
4507
# Then use that list of sed's as ones to test for truncation.
4508
as_executable_p="test -f"
4509
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513
test -z "$as_dir" && as_dir=.
4514
for ac_prog in sed gsed; do
4515
for ac_exec_ext in '' $ac_executable_extensions; do
4516
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4517
_sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
4523
# Create a temporary directory, and hook for its removal unless debugging.
4526
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4527
trap '{ (exit 1); exit 1; }' 1 2 13 15
4530
# Create a (secure) tmp directory for tmp files.
4533
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
4534
test -n "$tmp" && test -d "$tmp"
4537
tmp=$TMPDIR/sed$$-$RANDOM
4538
(umask 077 && mkdir $tmp)
4541
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4542
{ (exit 1); exit 1; }
4546
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4547
# along with /bin/sed that truncates output.
4548
for _sed in $_sed_list /usr/xpg4/bin/sed; do
4549
test ! -f ${_sed} && break
4550
cat /dev/null > "$tmp/sed.in"
4552
echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
4553
# Check for GNU sed and select it if it is found.
4554
if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
4555
lt_cv_path_SED=${_sed}
4559
cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
4560
mv "$tmp/sed.tmp" "$tmp/sed.in"
4561
cp "$tmp/sed.in" "$tmp/sed.nl"
4562
echo >>"$tmp/sed.nl"
4563
${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
4564
cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
4565
# 40000 chars as input seems more than enough
4566
test $_count -gt 10 && break
4567
_count=`expr $_count + 1`
4568
if test $_count -gt $_max; then
4570
lt_cv_path_SED=$_sed
4578
if test "X$SED" != "X"; then
4583
echo "$as_me:$LINENO: result: $SED" >&5
4584
echo "${ECHO_T}$SED" >&6
4137
4586
echo "$as_me:$LINENO: checking whether ln -s works" >&5
4138
4587
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4537
5007
cat >conftest.$ac_ext <<_ACEOF
4538
5008
#line $LINENO "configure"
4539
#include "confdefs.h"
5011
cat confdefs.h >>conftest.$ac_ext
5012
cat >>conftest.$ac_ext <<_ACEOF
5013
/* end confdefs.h. */
4540
5014
#include <stdlib.h>
4541
5015
#include <stdarg.h>
4542
5016
#include <string.h>
4543
5017
#include <float.h>
4546
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4547
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4549
egrep -v '^ *\+' conftest.er1 >conftest.err
4551
cat conftest.err >&5
4552
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553
(exit $ac_status); } >/dev/null; then
4554
if test -s conftest.err; then
4555
ac_cpp_err=$ac_cxx_preproc_warn_flag
4562
if test -z "$ac_cpp_err"; then
5027
rm -f conftest.$ac_objext
5028
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5029
(eval $ac_compile) 2>&5
5031
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032
(exit $ac_status); } &&
5033
{ ac_try='test -s conftest.$ac_objext'
5034
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5037
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5038
(exit $ac_status); }; }; then
4563
5039
ac_cv_header_stdc=yes
4565
5041
echo "$as_me: failed program was:" >&5
4566
cat conftest.$ac_ext >&5
4567
ac_cv_header_stdc=no
5042
sed 's/^/| /' conftest.$ac_ext >&5
5044
ac_cv_header_stdc=no
4569
rm -f conftest.err conftest.$ac_ext
5046
rm -f conftest.$ac_objext conftest.$ac_ext
4571
5048
if test $ac_cv_header_stdc = yes; then
4572
5049
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4573
5050
cat >conftest.$ac_ext <<_ACEOF
4574
5051
#line $LINENO "configure"
4575
#include "confdefs.h"
5054
cat confdefs.h >>conftest.$ac_ext
5055
cat >>conftest.$ac_ext <<_ACEOF
5056
/* end confdefs.h. */
4576
5057
#include <string.h>
4579
5060
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4580
egrep "memchr" >/dev/null 2>&1; then
5061
$EGREP "memchr" >/dev/null 2>&1; then
4583
5064
ac_cv_header_stdc=no
4811
5317
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4812
5318
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4813
5319
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4814
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5320
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5323
## ------------------------------------ ##
5324
## Report this to bug-autoconf@gnu.org. ##
5325
## ------------------------------------ ##
5328
sed "s/^/$as_me: WARNING: /" >&2
4816
5331
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4817
5332
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4818
5333
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4819
5334
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4820
5335
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4821
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5336
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5339
## ------------------------------------ ##
5340
## Report this to bug-autoconf@gnu.org. ##
5341
## ------------------------------------ ##
5344
sed "s/^/$as_me: WARNING: /" >&2
4823
5347
echo "$as_me:$LINENO: checking for $ac_header" >&5
4824
5348
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8735
9322
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8736
9323
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8737
9324
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8738
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9325
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9328
## ------------------------------------ ##
9329
## Report this to bug-autoconf@gnu.org. ##
9330
## ------------------------------------ ##
9333
sed "s/^/$as_me: WARNING: /" >&2
8740
9336
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8741
9337
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8742
9338
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8743
9339
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8744
9340
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8745
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9341
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9344
## ------------------------------------ ##
9345
## Report this to bug-autoconf@gnu.org. ##
9346
## ------------------------------------ ##
9349
sed "s/^/$as_me: WARNING: /" >&2
8747
9352
echo "$as_me:$LINENO: checking for $ac_header" >&5
8748
9353
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8919
9533
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8920
9534
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8921
9535
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8922
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9536
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9539
## ------------------------------------ ##
9540
## Report this to bug-autoconf@gnu.org. ##
9541
## ------------------------------------ ##
9544
sed "s/^/$as_me: WARNING: /" >&2
8924
9547
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8925
9548
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8926
9549
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8927
9550
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8928
9551
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8929
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9552
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9555
## ------------------------------------ ##
9556
## Report this to bug-autoconf@gnu.org. ##
9557
## ------------------------------------ ##
9560
sed "s/^/$as_me: WARNING: /" >&2
8931
9563
echo "$as_me:$LINENO: checking for $ac_header" >&5
8932
9564
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10318
10984
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10319
10985
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10320
10986
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10321
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10987
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10990
## ------------------------------------ ##
10991
## Report this to bug-autoconf@gnu.org. ##
10992
## ------------------------------------ ##
10995
sed "s/^/$as_me: WARNING: /" >&2
10323
10998
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10324
10999
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10325
11000
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10326
11001
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10327
11002
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10328
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11003
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11006
## ------------------------------------ ##
11007
## Report this to bug-autoconf@gnu.org. ##
11008
## ------------------------------------ ##
11011
sed "s/^/$as_me: WARNING: /" >&2
10330
11014
echo "$as_me:$LINENO: checking for $ac_header" >&5
10331
11015
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11737
12440
{ echo "$as_me:$LINENO: WARNING: Inventor/SbBasic.h: accepted by the compiler, rejected by the preprocessor!" >&5
11738
12441
echo "$as_me: WARNING: Inventor/SbBasic.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11739
12442
{ echo "$as_me:$LINENO: WARNING: Inventor/SbBasic.h: proceeding with the preprocessor's result" >&5
11740
echo "$as_me: WARNING: Inventor/SbBasic.h: proceeding with the preprocessor's result" >&2;};;
12443
echo "$as_me: WARNING: Inventor/SbBasic.h: proceeding with the preprocessor's result" >&2;}
12446
## ------------------------------------ ##
12447
## Report this to bug-autoconf@gnu.org. ##
12448
## ------------------------------------ ##
12451
sed "s/^/$as_me: WARNING: /" >&2
11742
12454
{ echo "$as_me:$LINENO: WARNING: Inventor/SbBasic.h: present but cannot be compiled" >&5
11743
12455
echo "$as_me: WARNING: Inventor/SbBasic.h: present but cannot be compiled" >&2;}
11744
12456
{ echo "$as_me:$LINENO: WARNING: Inventor/SbBasic.h: check for missing prerequisite headers?" >&5
11745
12457
echo "$as_me: WARNING: Inventor/SbBasic.h: check for missing prerequisite headers?" >&2;}
11746
12458
{ echo "$as_me:$LINENO: WARNING: Inventor/SbBasic.h: proceeding with the preprocessor's result" >&5
11747
echo "$as_me: WARNING: Inventor/SbBasic.h: proceeding with the preprocessor's result" >&2;};;
12459
echo "$as_me: WARNING: Inventor/SbBasic.h: proceeding with the preprocessor's result" >&2;}
12462
## ------------------------------------ ##
12463
## Report this to bug-autoconf@gnu.org. ##
12464
## ------------------------------------ ##
12467
sed "s/^/$as_me: WARNING: /" >&2
11749
12470
echo "$as_me:$LINENO: checking for Inventor/SbBasic.h" >&5
11750
12471
echo $ECHO_N "checking for Inventor/SbBasic.h... $ECHO_C" >&6
14349
15074
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14350
15075
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14351
15076
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14352
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
15077
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15080
## ------------------------------------ ##
15081
## Report this to bug-autoconf@gnu.org. ##
15082
## ------------------------------------ ##
15085
sed "s/^/$as_me: WARNING: /" >&2
14354
15088
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14355
15089
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14356
15090
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14357
15091
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14358
15092
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14359
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
15093
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15096
## ------------------------------------ ##
15097
## Report this to bug-autoconf@gnu.org. ##
15098
## ------------------------------------ ##
15101
sed "s/^/$as_me: WARNING: /" >&2
14361
15104
echo "$as_me:$LINENO: checking for $ac_header" >&5
14362
15105
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16259
16992
DEFS=-DHAVE_CONFIG_H
16996
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16997
# 1. Remove the extension, and $U if already installed.
16998
ac_i=`echo "$ac_i" |
16999
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
17001
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
17002
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
17004
LIBOBJS=$ac_libobjs
17006
LTLIBOBJS=$ac_ltlibobjs
17009
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17010
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
17011
Usually this means the macro was only invoked conditionally." >&5
17012
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
17013
Usually this means the macro was only invoked conditionally." >&2;}
17014
{ (exit 1); exit 1; }; }
17016
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17017
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17018
Usually this means the macro was only invoked conditionally." >&5
17019
echo "$as_me: error: conditional \"AMDEP\" was never defined.
17020
Usually this means the macro was only invoked conditionally." >&2;}
17021
{ (exit 1); exit 1; }; }
17023
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17024
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17025
Usually this means the macro was only invoked conditionally." >&5
17026
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17027
Usually this means the macro was only invoked conditionally." >&2;}
17028
{ (exit 1); exit 1; }; }
17030
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17031
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
17032
Usually this means the macro was only invoked conditionally." >&5
17033
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
17034
Usually this means the macro was only invoked conditionally." >&2;}
17035
{ (exit 1); exit 1; }; }
17037
if test -z "${BUILD_LIBRARY_TRUE}" && test -z "${BUILD_LIBRARY_FALSE}"; then
17038
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBRARY\" was never defined.
17039
Usually this means the macro was only invoked conditionally." >&5
17040
echo "$as_me: error: conditional \"BUILD_LIBRARY\" was never defined.
17041
Usually this means the macro was only invoked conditionally." >&2;}
17042
{ (exit 1); exit 1; }; }
17044
if test -z "${BUILD_MANPAGES_TRUE}" && test -z "${BUILD_MANPAGES_FALSE}"; then
17045
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_MANPAGES\" was never defined.
17046
Usually this means the macro was only invoked conditionally." >&5
17047
echo "$as_me: error: conditional \"BUILD_MANPAGES\" was never defined.
17048
Usually this means the macro was only invoked conditionally." >&2;}
17049
{ (exit 1); exit 1; }; }
17051
if test -z "${BUILD_HTMLPAGES_TRUE}" && test -z "${BUILD_HTMLPAGES_FALSE}"; then
17052
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_HTMLPAGES\" was never defined.
17053
Usually this means the macro was only invoked conditionally." >&5
17054
echo "$as_me: error: conditional \"BUILD_HTMLPAGES\" was never defined.
17055
Usually this means the macro was only invoked conditionally." >&2;}
17056
{ (exit 1); exit 1; }; }
17058
if test -z "${BUILD_METAFILES_TRUE}" && test -z "${BUILD_METAFILES_FALSE}"; then
17059
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_METAFILES\" was never defined.
17060
Usually this means the macro was only invoked conditionally." >&5
17061
echo "$as_me: error: conditional \"BUILD_METAFILES\" was never defined.
17062
Usually this means the macro was only invoked conditionally." >&2;}
17063
{ (exit 1); exit 1; }; }
17065
if test -z "${HAVE_JOYSTICK_LINUX_TRUE}" && test -z "${HAVE_JOYSTICK_LINUX_FALSE}"; then
17066
{ { echo "$as_me:$LINENO: error: conditional \"HAVE_JOYSTICK_LINUX\" was never defined.
17067
Usually this means the macro was only invoked conditionally." >&5
17068
echo "$as_me: error: conditional \"HAVE_JOYSTICK_LINUX\" was never defined.
17069
Usually this means the macro was only invoked conditionally." >&2;}
17070
{ (exit 1); exit 1; }; }
17072
if test -z "${MAC_FRAMEWORK_TRUE}" && test -z "${MAC_FRAMEWORK_FALSE}"; then
17073
{ { echo "$as_me:$LINENO: error: conditional \"MAC_FRAMEWORK\" was never defined.
17074
Usually this means the macro was only invoked conditionally." >&5
17075
echo "$as_me: error: conditional \"MAC_FRAMEWORK\" was never defined.
17076
Usually this means the macro was only invoked conditionally." >&2;}
17077
{ (exit 1); exit 1; }; }
17079
if test -z "${BUILD_WITH_MSVC_TRUE}" && test -z "${BUILD_WITH_MSVC_FALSE}"; then
17080
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_WITH_MSVC\" was never defined.
17081
Usually this means the macro was only invoked conditionally." >&5
17082
echo "$as_me: error: conditional \"BUILD_WITH_MSVC\" was never defined.
17083
Usually this means the macro was only invoked conditionally." >&2;}
17084
{ (exit 1); exit 1; }; }
16262
17087
: ${CONFIG_STATUS=./config.status}
16263
17088
ac_clean_files_save=$ac_clean_files
16297
17125
as_unset=false
16300
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
16301
{ $as_unset LANG || test "${LANG+set}" != set; } ||
16302
{ LANG=C; export LANG; }
16303
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
16304
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
16305
{ LC_ALL=C; export LC_ALL; }
16306
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
16307
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
16308
{ LC_TIME=C; export LC_TIME; }
16309
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
16310
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
16311
{ LC_CTYPE=C; export LC_CTYPE; }
16312
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
16313
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
16314
{ LANGUAGE=C; export LANGUAGE; }
16315
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
16316
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
16317
{ LC_COLLATE=C; export LC_COLLATE; }
16318
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
16319
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
16320
{ LC_NUMERIC=C; export LC_NUMERIC; }
16321
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
16322
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
16323
{ LC_MESSAGES=C; export LC_MESSAGES; }
17129
# Work around bugs in pre-3.0 UWIN ksh.
17130
$as_unset ENV MAIL MAILPATH
17137
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
17138
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
17139
LC_TELEPHONE LC_TIME
17141
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
17142
eval $as_var=C; export $as_var
17148
# Required to use basename.
17149
if expr a : '\(a\)' >/dev/null 2>&1; then
17155
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
17156
as_basename=basename
16326
17162
# Name of the executable.
16327
as_me=`(basename "$0") 2>/dev/null ||
17163
as_me=`$as_basename "$0" ||
16328
17164
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16329
17165
X"$0" : 'X\(//\)$' \| \
16330
17166
X"$0" : 'X\(/\)$' \| \
16796
17660
s,@MAKEINFO@,$MAKEINFO,;t t
16797
17661
s,@AMTAR@,$AMTAR,;t t
16798
17662
s,@install_sh@,$install_sh,;t t
17663
s,@STRIP@,$STRIP,;t t
17664
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
16799
17665
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
16800
17666
s,@AWK@,$AWK,;t t
16801
17667
s,@SET_MAKE@,$SET_MAKE,;t t
16802
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
16803
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
16804
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
16805
s,@DEPDIR@,$DEPDIR,;t t
17668
s,@am__leading_dot@,$am__leading_dot,;t t
16806
17669
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
16807
17670
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
16808
17671
s,@MAINT@,$MAINT,;t t
16811
17674
s,@LDFLAGS@,$LDFLAGS,;t t
16812
17675
s,@CPPFLAGS@,$CPPFLAGS,;t t
16813
17676
s,@ac_ct_CC@,$ac_ct_CC,;t t
17677
s,@EXEEXT@,$EXEEXT,;t t
17678
s,@OBJEXT@,$OBJEXT,;t t
17679
s,@DEPDIR@,$DEPDIR,;t t
16814
17680
s,@am__include@,$am__include,;t t
16815
17681
s,@am__quote@,$am__quote,;t t
17682
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
17683
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
17684
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
16816
17685
s,@CCDEPMODE@,$CCDEPMODE,;t t
17686
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
17687
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
16817
17688
s,@CPP@,$CPP,;t t
16818
17689
s,@CXX@,$CXX,;t t
16819
17690
s,@CXXFLAGS@,$CXXFLAGS,;t t
16820
17691
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
16821
17692
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
17693
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
17694
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
16822
17695
s,@CXXCPP@,$CXXCPP,;t t
16823
17696
s,@SOGUI_MSVC_LIBC@,$SOGUI_MSVC_LIBC,;t t
16824
17697
s,@LN_S@,$LN_S,;t t
16825
17698
s,@ECHO@,$ECHO,;t t
16826
17699
s,@RANLIB@,$RANLIB,;t t
16827
17700
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
16828
s,@STRIP@,$STRIP,;t t
16829
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17701
s,@EGREP@,$EGREP,;t t
16830
17702
s,@LIBTOOL@,$LIBTOOL,;t t
16831
17703
s,@SOGUI_EXTRA_CPPFLAGS@,$SOGUI_EXTRA_CPPFLAGS,;t t
16832
17704
s,@SOGUI_EXTRA_CFLAGS@,$SOGUI_EXTRA_CFLAGS,;t t
16964
17838
/^X\(\/\/\)$/{ s//\1/; q; }
16965
17839
/^X\(\/\).*/{ s//\1/; q; }
16967
{ case "$ac_dir" in
16968
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
16972
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
16973
case $as_mkdir_dir in
16974
# Skip DOS drivespec
16975
?:) as_incr_dir=$as_mkdir_dir ;;
16977
as_incr_dir=$as_incr_dir/$as_mkdir_dir
16978
test -d "$as_incr_dir" ||
16979
mkdir "$as_incr_dir" ||
16980
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
16981
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
16982
{ (exit 1); exit 1; }; }
17841
{ if $as_mkdir_p; then
17846
while test ! -d "$as_dir"; do
17847
as_dirs="$as_dir $as_dirs"
17848
as_dir=`(dirname "$as_dir") 2>/dev/null ||
17849
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17850
X"$as_dir" : 'X\(//\)[^/]' \| \
17851
X"$as_dir" : 'X\(//\)$' \| \
17852
X"$as_dir" : 'X\(/\)' \| \
17853
. : '\(.\)' 2>/dev/null ||
17855
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17856
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
17857
/^X\(\/\/\)$/{ s//\1/; q; }
17858
/^X\(\/\).*/{ s//\1/; q; }
17861
test ! -n "$as_dirs" || mkdir $as_dirs
17862
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17863
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17864
{ (exit 1); exit 1; }; }; }
16987
17866
ac_builddir=.
17282
18161
/^X\(\/\/\)$/{ s//\1/; q; }
17283
18162
/^X\(\/\).*/{ s//\1/; q; }
17285
{ case "$ac_dir" in
17286
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
17290
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
17291
case $as_mkdir_dir in
17292
# Skip DOS drivespec
17293
?:) as_incr_dir=$as_mkdir_dir ;;
17295
as_incr_dir=$as_incr_dir/$as_mkdir_dir
17296
test -d "$as_incr_dir" ||
17297
mkdir "$as_incr_dir" ||
17298
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
17299
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
17300
{ (exit 1); exit 1; }; }
18164
{ if $as_mkdir_p; then
18169
while test ! -d "$as_dir"; do
18170
as_dirs="$as_dir $as_dirs"
18171
as_dir=`(dirname "$as_dir") 2>/dev/null ||
18172
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18173
X"$as_dir" : 'X\(//\)[^/]' \| \
18174
X"$as_dir" : 'X\(//\)$' \| \
18175
X"$as_dir" : 'X\(/\)' \| \
18176
. : '\(.\)' 2>/dev/null ||
18178
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18179
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
18180
/^X\(\/\/\)$/{ s//\1/; q; }
18181
/^X\(\/\).*/{ s//\1/; q; }
18184
test ! -n "$as_dirs" || mkdir $as_dirs
18185
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18186
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18187
{ (exit 1); exit 1; }; }; }
17305
18189
rm -f $ac_file
17306
18190
mv $tmp/config.h $ac_file
17373
18273
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17374
18274
echo "$as_me: executing $ac_dest commands" >&6;}
17375
18275
case $ac_dest in
17377
test x"$AMDEP_TRUE" != x"" ||
17378
for mf in $CONFIG_FILES; do
17380
Makefile) dirpart=.;;
17381
*/Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
18276
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
18277
# Strip MF so we end up with the name of the file.
18278
mf=`echo "$mf" | sed -e 's/:.*$//'`
18279
# Check whether this is an Automake generated Makefile or not.
18280
# We used to match only the files named `Makefile.in', but
18281
# some people rename them; so instead we look at the file content.
18282
# Grep'ing the first line is not enough: some people post-process
18283
# each Makefile.in and add a new line on top of each file to say so.
18284
# So let's grep whole file.
18285
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
18286
dirpart=`(dirname "$mf") 2>/dev/null ||
18287
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18288
X"$mf" : 'X\(//\)[^/]' \| \
18289
X"$mf" : 'X\(//\)$' \| \
18290
X"$mf" : 'X\(/\)' \| \
18291
. : '\(.\)' 2>/dev/null ||
18293
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18294
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
18295
/^X\(\/\/\)$/{ s//\1/; q; }
18296
/^X\(\/\).*/{ s//\1/; q; }
17384
18301
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
17385
18302
# Extract the definition of DEP_FILES from the Makefile without
17386
18303
# running `make'.
17405
18322
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17406
18323
# Make sure the directory exists.
17407
18324
test -f "$dirpart/$file" && continue
17408
fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
17409
$ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
18325
fdir=`(dirname "$file") 2>/dev/null ||
18326
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18327
X"$file" : 'X\(//\)[^/]' \| \
18328
X"$file" : 'X\(//\)$' \| \
18329
X"$file" : 'X\(/\)' \| \
18330
. : '\(.\)' 2>/dev/null ||
18332
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18333
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
18334
/^X\(\/\/\)$/{ s//\1/; q; }
18335
/^X\(\/\).*/{ s//\1/; q; }
18337
{ if $as_mkdir_p; then
18338
mkdir -p $dirpart/$fdir
18340
as_dir=$dirpart/$fdir
18342
while test ! -d "$as_dir"; do
18343
as_dirs="$as_dir $as_dirs"
18344
as_dir=`(dirname "$as_dir") 2>/dev/null ||
18345
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18346
X"$as_dir" : 'X\(//\)[^/]' \| \
18347
X"$as_dir" : 'X\(//\)$' \| \
18348
X"$as_dir" : 'X\(/\)' \| \
18349
. : '\(.\)' 2>/dev/null ||
18351
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18352
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
18353
/^X\(\/\/\)$/{ s//\1/; q; }
18354
/^X\(\/\).*/{ s//\1/; q; }
18357
test ! -n "$as_dirs" || mkdir $as_dirs
18358
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
18359
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
18360
{ (exit 1); exit 1; }; }; }
17410
18362
# echo "creating $dirpart/$file"
17411
18363
echo '# dummy' > "$dirpart/$file"