67
128
# Name of the executable.
68
as_me=`$as_basename "$0" ||
129
as_me=`$as_basename -- "$0" ||
69
130
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
131
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
132
X"$0" : 'X\(/\)' \| . 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
134
sed '/^.*\/\([^/][^/]*\)\/*$/{
152
if test "x$CONFIG_SHELL" = x; then
153
if (eval ":") 2>/dev/null; then
159
if test $as_have_required = yes && (eval ":
169
as_func_ret_success () {
172
as_func_ret_failure () {
177
if as_func_success; then
181
echo as_func_success failed.
184
if as_func_failure; then
186
echo as_func_failure succeeded.
189
if as_func_ret_success; then
193
echo as_func_ret_success failed.
196
if as_func_ret_failure; then
198
echo as_func_ret_failure succeeded.
201
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205
echo positional parameters were not saved.
208
test \$exitcode = 0) || { (exit 1); exit 1; }
213
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215
") 2> /dev/null; then
132
219
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
223
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+"$@"}
226
for as_base in sh bash ksh sh5; do
227
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
234
for as_shell in $as_candidate_shells $SHELL; do
235
# Try only shells that exist, to save several forks.
236
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237
{ ("$as_shell") 2> /dev/null <<\_ASEOF
238
# Be Bourne compatible
239
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
242
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243
# is contrary to our usage. Disable this feature.
244
alias -g '${1+"$@"}'='"$@"'
247
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249
BIN_SH=xpg4; export BIN_SH # for Tru64
250
DUALCASE=1; export DUALCASE # for MKS sh
255
CONFIG_SHELL=$as_shell
257
if { "$as_shell" 2> /dev/null <<\_ASEOF
258
# Be Bourne compatible
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263
# is contrary to our usage. Disable this feature.
264
alias -g '${1+"$@"}'='"$@"'
267
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269
BIN_SH=xpg4; export BIN_SH # for Tru64
270
DUALCASE=1; export DUALCASE # for MKS sh
282
as_func_ret_success () {
285
as_func_ret_failure () {
290
if as_func_success; then
294
echo as_func_success failed.
297
if as_func_failure; then
299
echo as_func_failure succeeded.
302
if as_func_ret_success; then
306
echo as_func_ret_success failed.
309
if as_func_ret_failure; then
311
echo as_func_ret_failure succeeded.
314
if ( set x; as_func_ret_success y && test x = "$1" ); then
318
echo positional parameters were not saved.
321
test $exitcode = 0) || { (exit 1); exit 1; }
326
test "x$as_lineno_1" != "x$as_lineno_2" &&
327
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
338
if test "x$CONFIG_SHELL" != x; then
339
for as_var in BASH_ENV ENV
340
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
343
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347
if test $as_have_required = no; then
348
echo This script requires a shell more modern than all the
349
echo shells that I found on your system. Please install a
350
echo modern shell, or manually run the script under such a
351
echo shell if you do have one.
352
{ (exit 1); exit 1; }
362
(eval "as_func_return () {
371
as_func_ret_success () {
374
as_func_ret_failure () {
379
if as_func_success; then
383
echo as_func_success failed.
386
if as_func_failure; then
388
echo as_func_failure succeeded.
391
if as_func_ret_success; then
395
echo as_func_ret_success failed.
398
if as_func_ret_failure; then
400
echo as_func_ret_failure succeeded.
403
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407
echo positional parameters were not saved.
410
test \$exitcode = 0") || {
411
echo No shell found that supports shell functions.
412
echo Please tell autoconf@gnu.org about your system,
413
echo including any error possibly output before this
421
test "x$as_lineno_1" != "x$as_lineno_2" &&
422
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
158
424
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
425
# 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.
426
# line-number line after each line using $LINENO; the second 'sed'
427
# does the real work. The second script uses 'N' to pair each
428
# line-number line with the line containing $LINENO, and appends
429
# trailing '-' during substitution so that $LINENO is not a special
164
431
# (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 |
432
# scripts with optimization help from Paolo Bonzini. Blame Lee
433
# E. McMahon (1931-1989) for sed's syntax. :-)
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
445
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
174
s,^['$as_cr_digits']*\n,,
175
448
' >$as_me.lineno &&
176
chmod +x $as_me.lineno ||
449
chmod +x "$as_me.lineno" ||
177
450
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
451
{ (exit 1); exit 1; }; }
180
453
# Don't try to exec as it changes $[0], causing all sort of problems
181
454
# (the dirname of $[0] is not the place where we might find the
182
# original and so on. Autoconf is especially sensible to this).
455
# original and so on. Autoconf is especially sensitive to this).
184
457
# 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= ;;
462
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
468
ECHO_C= ECHO_N= ECHO_T=
472
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
196
if expr a : '\(a\)' >/dev/null 2>&1; then
479
if expr a : '\(a\)' >/dev/null 2>&1 &&
480
test "X`expr 00001 : '.*\(...\)'`" = X001; then
202
486
rm -f conf$$ conf$$.exe conf$$.file
487
if test -d conf$$.dir; then
488
rm -f conf$$.dir/conf$$.file
203
493
echo >conf$$.file
204
494
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
496
# ... but there are two gotchas:
497
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499
# In both cases, we have to default to `cp -p'.
500
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
213
502
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
507
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508
rmdir conf$$.dir 2>/dev/null
220
510
if mkdir -p . 2>/dev/null; then
857
1315
test "$silent" = yes && exec 6>/dev/null
1318
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1319
ac_ls_di=`ls -di .` &&
1320
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1321
{ echo "$as_me: error: Working directory cannot be determined" >&2
1322
{ (exit 1); exit 1; }; }
1323
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1325
{ (exit 1); exit 1; }; }
860
1328
# Find the source files, if location was not specified.
861
1329
if test -z "$srcdir"; then
862
1330
ac_srcdir_defaulted=yes
863
# Try the directory containing this script, then its parent.
864
ac_confdir=`(dirname "$0") 2>/dev/null ||
1331
# Try the directory containing this script, then the parent directory.
1332
ac_confdir=`$as_dirname -- "$0" ||
865
1333
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866
1334
X"$0" : 'X\(//\)[^/]' \| \
867
1335
X"$0" : 'X\(//\)$' \| \
868
X"$0" : 'X\(/\)' \| \
869
. : '\(.\)' 2>/dev/null ||
1336
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
871
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
873
/^X\(\/\/\)$/{ s//\1/; q; }
874
/^X\(\/\).*/{ s//\1/; q; }
1338
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
876
1355
srcdir=$ac_confdir
877
if test ! -r $srcdir/$ac_unique_file; then
1356
if test ! -r "$srcdir/$ac_unique_file"; then
881
1360
ac_srcdir_defaulted=no
883
if test ! -r $srcdir/$ac_unique_file; then
884
if test "$ac_srcdir_defaulted" = yes; then
885
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886
{ (exit 1); exit 1; }; }
888
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889
{ (exit 1); exit 1; }; }
892
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894
{ (exit 1); exit 1; }; }
895
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896
ac_env_build_alias_set=${build_alias+set}
897
ac_env_build_alias_value=$build_alias
898
ac_cv_env_build_alias_set=${build_alias+set}
899
ac_cv_env_build_alias_value=$build_alias
900
ac_env_host_alias_set=${host_alias+set}
901
ac_env_host_alias_value=$host_alias
902
ac_cv_env_host_alias_set=${host_alias+set}
903
ac_cv_env_host_alias_value=$host_alias
904
ac_env_target_alias_set=${target_alias+set}
905
ac_env_target_alias_value=$target_alias
906
ac_cv_env_target_alias_set=${target_alias+set}
907
ac_cv_env_target_alias_value=$target_alias
908
ac_env_CC_set=${CC+set}
910
ac_cv_env_CC_set=${CC+set}
911
ac_cv_env_CC_value=$CC
912
ac_env_CFLAGS_set=${CFLAGS+set}
913
ac_env_CFLAGS_value=$CFLAGS
914
ac_cv_env_CFLAGS_set=${CFLAGS+set}
915
ac_cv_env_CFLAGS_value=$CFLAGS
916
ac_env_LDFLAGS_set=${LDFLAGS+set}
917
ac_env_LDFLAGS_value=$LDFLAGS
918
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919
ac_cv_env_LDFLAGS_value=$LDFLAGS
920
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921
ac_env_CPPFLAGS_value=$CPPFLAGS
922
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924
ac_env_CPP_set=${CPP+set}
925
ac_env_CPP_value=$CPP
926
ac_cv_env_CPP_set=${CPP+set}
927
ac_cv_env_CPP_value=$CPP
928
ac_env_CXX_set=${CXX+set}
929
ac_env_CXX_value=$CXX
930
ac_cv_env_CXX_set=${CXX+set}
931
ac_cv_env_CXX_value=$CXX
932
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
933
ac_env_CXXFLAGS_value=$CXXFLAGS
934
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
935
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
936
ac_env_CXXCPP_set=${CXXCPP+set}
937
ac_env_CXXCPP_value=$CXXCPP
938
ac_cv_env_CXXCPP_set=${CXXCPP+set}
939
ac_cv_env_CXXCPP_value=$CXXCPP
940
ac_env_F77_set=${F77+set}
941
ac_env_F77_value=$F77
942
ac_cv_env_F77_set=${F77+set}
943
ac_cv_env_F77_value=$F77
944
ac_env_FFLAGS_set=${FFLAGS+set}
945
ac_env_FFLAGS_value=$FFLAGS
946
ac_cv_env_FFLAGS_set=${FFLAGS+set}
947
ac_cv_env_FFLAGS_value=$FFLAGS
948
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
949
ac_env_PKG_CONFIG_value=$PKG_CONFIG
950
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
951
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
952
ac_env_XRENDER_CFLAGS_set=${XRENDER_CFLAGS+set}
953
ac_env_XRENDER_CFLAGS_value=$XRENDER_CFLAGS
954
ac_cv_env_XRENDER_CFLAGS_set=${XRENDER_CFLAGS+set}
955
ac_cv_env_XRENDER_CFLAGS_value=$XRENDER_CFLAGS
956
ac_env_XRENDER_LIBS_set=${XRENDER_LIBS+set}
957
ac_env_XRENDER_LIBS_value=$XRENDER_LIBS
958
ac_cv_env_XRENDER_LIBS_set=${XRENDER_LIBS+set}
959
ac_cv_env_XRENDER_LIBS_value=$XRENDER_LIBS
960
ac_env_FREETYPE_CFLAGS_set=${FREETYPE_CFLAGS+set}
961
ac_env_FREETYPE_CFLAGS_value=$FREETYPE_CFLAGS
962
ac_cv_env_FREETYPE_CFLAGS_set=${FREETYPE_CFLAGS+set}
963
ac_cv_env_FREETYPE_CFLAGS_value=$FREETYPE_CFLAGS
964
ac_env_FREETYPE_LIBS_set=${FREETYPE_LIBS+set}
965
ac_env_FREETYPE_LIBS_value=$FREETYPE_LIBS
966
ac_cv_env_FREETYPE_LIBS_set=${FREETYPE_LIBS+set}
967
ac_cv_env_FREETYPE_LIBS_value=$FREETYPE_LIBS
968
ac_env_FONTCONFIG_CFLAGS_set=${FONTCONFIG_CFLAGS+set}
969
ac_env_FONTCONFIG_CFLAGS_value=$FONTCONFIG_CFLAGS
970
ac_cv_env_FONTCONFIG_CFLAGS_set=${FONTCONFIG_CFLAGS+set}
971
ac_cv_env_FONTCONFIG_CFLAGS_value=$FONTCONFIG_CFLAGS
972
ac_env_FONTCONFIG_LIBS_set=${FONTCONFIG_LIBS+set}
973
ac_env_FONTCONFIG_LIBS_value=$FONTCONFIG_LIBS
974
ac_cv_env_FONTCONFIG_LIBS_set=${FONTCONFIG_LIBS+set}
975
ac_cv_env_FONTCONFIG_LIBS_value=$FONTCONFIG_LIBS
1362
if test ! -r "$srcdir/$ac_unique_file"; then
1363
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1364
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1365
{ (exit 1); exit 1; }; }
1367
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1369
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1370
{ (exit 1); exit 1; }; }
1372
# When building in place, set srcdir=.
1373
if test "$ac_abs_confdir" = "$ac_pwd"; then
1376
# Remove unnecessary trailing slashes from srcdir.
1377
# Double slashes in file names in object file debugging info
1378
# mess up M-x gdb in Emacs.
1380
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382
for ac_var in $ac_precious_vars; do
1383
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1384
eval ac_env_${ac_var}_value=\$${ac_var}
1385
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1386
eval ac_cv_env_${ac_var}_value=\$${ac_var}
978
1390
# Report the --help message.
1116
1530
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1120
1535
if test "$ac_init_help" = "recursive"; then
1121
1536
# If there are subdirs, report their specific --help.
1123
1537
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1124
test -d $ac_dir || continue
1538
test -d "$ac_dir" || continue
1127
if test "$ac_dir" != .; then
1542
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1128
1544
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1129
# A "../" for each directory in $ac_dir_suffix.
1130
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1132
ac_dir_suffix= ac_top_builddir=
1545
# A ".." for each directory in $ac_dir_suffix.
1546
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1547
case $ac_top_builddir_sub in
1548
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1549
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1552
ac_abs_top_builddir=$ac_pwd
1553
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1554
# for backward compatibility:
1555
ac_top_builddir=$ac_top_build_prefix
1135
1557
case $srcdir in
1136
.) # No --srcdir option. We are building in place.
1558
.) # We are building in place.
1138
if test -z "$ac_top_builddir"; then
1141
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1143
[\\/]* | ?:[\\/]* ) # Absolute path.
1560
ac_top_srcdir=$ac_top_builddir_sub
1561
ac_abs_top_srcdir=$ac_pwd ;;
1562
[\\/]* | ?:[\\/]* ) # Absolute name.
1144
1563
ac_srcdir=$srcdir$ac_dir_suffix;
1145
ac_top_srcdir=$srcdir ;;
1147
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1148
ac_top_srcdir=$ac_top_builddir$srcdir ;;
1151
# Do not use `cd foo && pwd` to compute absolute paths, because
1152
# the directories may not exist.
1154
.) ac_abs_builddir="$ac_dir";;
1157
.) ac_abs_builddir=`pwd`;;
1158
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1159
*) ac_abs_builddir=`pwd`/"$ac_dir";;
1162
case $ac_abs_builddir in
1163
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1165
case ${ac_top_builddir}. in
1166
.) ac_abs_top_builddir=$ac_abs_builddir;;
1167
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1168
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1171
case $ac_abs_builddir in
1172
.) ac_abs_srcdir=$ac_srcdir;;
1175
.) ac_abs_srcdir=$ac_abs_builddir;;
1176
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1177
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1180
case $ac_abs_builddir in
1181
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1183
case $ac_top_srcdir in
1184
.) ac_abs_top_srcdir=$ac_abs_builddir;;
1185
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1186
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1191
# Check for guested configure; otherwise get Cygnus style configure.
1192
if test -f $ac_srcdir/configure.gnu; then
1194
$SHELL $ac_srcdir/configure.gnu --help=recursive
1195
elif test -f $ac_srcdir/configure; then
1197
$SHELL $ac_srcdir/configure --help=recursive
1198
elif test -f $ac_srcdir/configure.ac ||
1199
test -f $ac_srcdir/configure.in; then
1201
$ac_configure --help
1564
ac_top_srcdir=$srcdir
1565
ac_abs_top_srcdir=$srcdir ;;
1567
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1568
ac_top_srcdir=$ac_top_build_prefix$srcdir
1569
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1571
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1573
cd "$ac_dir" || { ac_status=$?; continue; }
1574
# Check for guested configure.
1575
if test -f "$ac_srcdir/configure.gnu"; then
1577
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1578
elif test -f "$ac_srcdir/configure"; then
1580
$SHELL "$ac_srcdir/configure" --help=recursive
1203
1582
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1584
cd "$ac_pwd" || { ac_status=$?; break; }
1209
test -n "$ac_init_help" && exit 0
1588
test -n "$ac_init_help" && exit $ac_status
1210
1589
if $ac_init_version; then
1212
libXft configure 2.1.8.2
1213
generated by GNU Autoconf 2.59
1591
libXft configure 2.1.10
1592
generated by GNU Autoconf 2.60
1215
Copyright (C) 2003 Free Software Foundation, Inc.
1594
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1595
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1216
1596
This configure script is free software; the Free Software Foundation
1217
1597
gives unlimited permission to copy, distribute and modify it.
1601
cat >config.log <<_ACEOF
1223
1602
This file contains any messages produced by compilers while
1224
1603
running configure, to aid debugging if configure makes a mistake.
1226
It was created by libXft $as_me 2.1.8.2, which was
1227
generated by GNU Autoconf 2.59. Invocation command line was
1605
It was created by libXft $as_me 2.1.10, which was
1606
generated by GNU Autoconf 2.60. Invocation command line was
1234
1614
## --------- ##
2576
3095
echo "$as_me: failed program was:" >&5
2577
3096
sed 's/^/| /' conftest.$ac_ext >&5
2581
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3101
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2582
3102
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2585
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2586
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3105
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3106
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2587
3107
GCC=`test $ac_compiler_gnu = yes && echo yes`
2588
3108
ac_test_CFLAGS=${CFLAGS+set}
2589
3109
ac_save_CFLAGS=$CFLAGS
2591
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2592
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3110
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3111
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2593
3112
if test "${ac_cv_prog_cc_g+set}" = set; then
2594
3113
echo $ECHO_N "(cached) $ECHO_C" >&6
2596
cat >conftest.$ac_ext <<_ACEOF
2599
cat confdefs.h >>conftest.$ac_ext
2600
cat >>conftest.$ac_ext <<_ACEOF
2601
/* end confdefs.h. */
2611
rm -f conftest.$ac_objext
2612
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2613
(eval $ac_compile) 2>conftest.er1
2615
grep -v '^ *+' conftest.er1 >conftest.err
2617
cat conftest.err >&5
2618
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2619
(exit $ac_status); } &&
2620
{ ac_try='test -z "$ac_c_werror_flag"
2621
|| test ! -s conftest.err'
2622
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626
(exit $ac_status); }; } &&
2627
{ ac_try='test -s conftest.$ac_objext'
2628
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632
(exit $ac_status); }; }; then
2635
echo "$as_me: failed program was:" >&5
2636
sed 's/^/| /' conftest.$ac_ext >&5
2640
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2642
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2643
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3115
ac_save_c_werror_flag=$ac_c_werror_flag
3116
ac_c_werror_flag=yes
3119
cat >conftest.$ac_ext <<_ACEOF
3122
cat confdefs.h >>conftest.$ac_ext
3123
cat >>conftest.$ac_ext <<_ACEOF
3124
/* end confdefs.h. */
3134
rm -f conftest.$ac_objext
3135
if { (ac_try="$ac_compile"
3137
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138
*) ac_try_echo=$ac_try;;
3140
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3141
(eval "$ac_compile") 2>conftest.er1
3143
grep -v '^ *+' conftest.er1 >conftest.err
3145
cat conftest.err >&5
3146
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147
(exit $ac_status); } &&
3148
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3149
{ (case "(($ac_try" in
3150
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151
*) ac_try_echo=$ac_try;;
3153
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3154
(eval "$ac_try") 2>&5
3156
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157
(exit $ac_status); }; } &&
3158
{ ac_try='test -s conftest.$ac_objext'
3159
{ (case "(($ac_try" in
3160
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3161
*) ac_try_echo=$ac_try;;
3163
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3164
(eval "$ac_try") 2>&5
3166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167
(exit $ac_status); }; }; then
3170
echo "$as_me: failed program was:" >&5
3171
sed 's/^/| /' conftest.$ac_ext >&5
3174
cat >conftest.$ac_ext <<_ACEOF
3177
cat confdefs.h >>conftest.$ac_ext
3178
cat >>conftest.$ac_ext <<_ACEOF
3179
/* end confdefs.h. */
3189
rm -f conftest.$ac_objext
3190
if { (ac_try="$ac_compile"
3192
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193
*) ac_try_echo=$ac_try;;
3195
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3196
(eval "$ac_compile") 2>conftest.er1
3198
grep -v '^ *+' conftest.er1 >conftest.err
3200
cat conftest.err >&5
3201
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202
(exit $ac_status); } &&
3203
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3204
{ (case "(($ac_try" in
3205
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206
*) ac_try_echo=$ac_try;;
3208
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3209
(eval "$ac_try") 2>&5
3211
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212
(exit $ac_status); }; } &&
3213
{ ac_try='test -s conftest.$ac_objext'
3214
{ (case "(($ac_try" in
3215
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3216
*) ac_try_echo=$ac_try;;
3218
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3219
(eval "$ac_try") 2>&5
3221
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222
(exit $ac_status); }; }; then
3225
echo "$as_me: failed program was:" >&5
3226
sed 's/^/| /' conftest.$ac_ext >&5
3228
ac_c_werror_flag=$ac_save_c_werror_flag
3230
cat >conftest.$ac_ext <<_ACEOF
3233
cat confdefs.h >>conftest.$ac_ext
3234
cat >>conftest.$ac_ext <<_ACEOF
3235
/* end confdefs.h. */
3245
rm -f conftest.$ac_objext
3246
if { (ac_try="$ac_compile"
3248
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3249
*) ac_try_echo=$ac_try;;
3251
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3252
(eval "$ac_compile") 2>conftest.er1
3254
grep -v '^ *+' conftest.er1 >conftest.err
3256
cat conftest.err >&5
3257
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258
(exit $ac_status); } &&
3259
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3260
{ (case "(($ac_try" in
3261
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3262
*) ac_try_echo=$ac_try;;
3264
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3265
(eval "$ac_try") 2>&5
3267
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268
(exit $ac_status); }; } &&
3269
{ ac_try='test -s conftest.$ac_objext'
3270
{ (case "(($ac_try" in
3271
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3272
*) ac_try_echo=$ac_try;;
3274
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3275
(eval "$ac_try") 2>&5
3277
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278
(exit $ac_status); }; }; then
3281
echo "$as_me: failed program was:" >&5
3282
sed 's/^/| /' conftest.$ac_ext >&5
3287
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3290
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294
ac_c_werror_flag=$ac_save_c_werror_flag
3296
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3297
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2644
3298
if test "$ac_test_CFLAGS" = set; then
2645
3299
CFLAGS=$ac_save_CFLAGS
2646
3300
elif test $ac_cv_prog_cc_g = yes; then
2718
# Don't try gcc -ansi; that turns off useful extensions and
2719
# breaks some systems' header files.
2720
# AIX -qlanglvl=ansi
2721
# Ultrix and OSF/1 -std1
2722
# HP-UX 10.20 and later -Ae
2723
# HP-UX older versions -Aa -D_HPUX_SOURCE
2724
# SVR4 -Xc -D__EXTENSIONS__
2725
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3377
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3378
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2727
3380
CC="$ac_save_CC $ac_arg"
2728
3381
rm -f conftest.$ac_objext
2729
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2730
(eval $ac_compile) 2>conftest.er1
3382
if { (ac_try="$ac_compile"
3384
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3385
*) ac_try_echo=$ac_try;;
3387
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3388
(eval "$ac_compile") 2>conftest.er1
2732
3390
grep -v '^ *+' conftest.er1 >conftest.err
2733
3391
rm -f conftest.er1
2734
3392
cat conftest.err >&5
2735
3393
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736
3394
(exit $ac_status); } &&
2737
{ ac_try='test -z "$ac_c_werror_flag"
2738
|| test ! -s conftest.err'
2739
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3395
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3396
{ (case "(($ac_try" in
3397
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3398
*) ac_try_echo=$ac_try;;
3400
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3401
(eval "$ac_try") 2>&5
2742
3403
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743
3404
(exit $ac_status); }; } &&
2744
3405
{ ac_try='test -s conftest.$ac_objext'
2745
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3406
{ (case "(($ac_try" in
3407
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408
*) ac_try_echo=$ac_try;;
3410
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3411
(eval "$ac_try") 2>&5
2748
3413
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749
3414
(exit $ac_status); }; }; then
2750
ac_cv_prog_cc_stdc=$ac_arg
3415
ac_cv_prog_cc_c89=$ac_arg
2753
3417
echo "$as_me: failed program was:" >&5
2754
3418
sed 's/^/| /' conftest.$ac_ext >&5
2757
rm -f conftest.err conftest.$ac_objext
3423
rm -f core conftest.err conftest.$ac_objext
3424
test "x$ac_cv_prog_cc_c89" != "xno" && break
2759
rm -f conftest.$ac_ext conftest.$ac_objext
3426
rm -f conftest.$ac_ext
2764
case "x$ac_cv_prog_cc_stdc" in
2766
echo "$as_me:$LINENO: result: none needed" >&5
2767
echo "${ECHO_T}none needed" >&6 ;;
3431
case "x$ac_cv_prog_cc_c89" in
3433
{ echo "$as_me:$LINENO: result: none needed" >&5
3434
echo "${ECHO_T}none needed" >&6; } ;;
3436
{ echo "$as_me:$LINENO: result: unsupported" >&5
3437
echo "${ECHO_T}unsupported" >&6; } ;;
2769
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2770
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2771
CC="$CC $ac_cv_prog_cc_stdc" ;;
3439
CC="$CC $ac_cv_prog_cc_c89"
3440
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3441
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2774
# Some people use a C++ compiler to compile C. Since we use `exit',
2775
# in C++ we need to declare it. In case someone uses the same compiler
2776
# for both compiling C and C++ we need to have the C++ compiler decide
2777
# the declaration of exit, since it's the most demanding environment.
2778
cat >conftest.$ac_ext <<_ACEOF
2783
rm -f conftest.$ac_objext
2784
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2785
(eval $ac_compile) 2>conftest.er1
2787
grep -v '^ *+' conftest.er1 >conftest.err
2789
cat conftest.err >&5
2790
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791
(exit $ac_status); } &&
2792
{ ac_try='test -z "$ac_c_werror_flag"
2793
|| test ! -s conftest.err'
2794
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2797
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798
(exit $ac_status); }; } &&
2799
{ ac_try='test -s conftest.$ac_objext'
2800
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2803
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804
(exit $ac_status); }; }; then
2805
for ac_declaration in \
2807
'extern "C" void std::exit (int) throw (); using std::exit;' \
2808
'extern "C" void std::exit (int); using std::exit;' \
2809
'extern "C" void exit (int) throw ();' \
2810
'extern "C" void exit (int);' \
2813
cat >conftest.$ac_ext <<_ACEOF
2816
cat confdefs.h >>conftest.$ac_ext
2817
cat >>conftest.$ac_ext <<_ACEOF
2818
/* end confdefs.h. */
2829
rm -f conftest.$ac_objext
2830
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2831
(eval $ac_compile) 2>conftest.er1
2833
grep -v '^ *+' conftest.er1 >conftest.err
2835
cat conftest.err >&5
2836
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837
(exit $ac_status); } &&
2838
{ ac_try='test -z "$ac_c_werror_flag"
2839
|| test ! -s conftest.err'
2840
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844
(exit $ac_status); }; } &&
2845
{ ac_try='test -s conftest.$ac_objext'
2846
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2849
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850
(exit $ac_status); }; }; then
2853
echo "$as_me: failed program was:" >&5
2854
sed 's/^/| /' conftest.$ac_ext >&5
2858
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2859
cat >conftest.$ac_ext <<_ACEOF
2862
cat confdefs.h >>conftest.$ac_ext
2863
cat >>conftest.$ac_ext <<_ACEOF
2864
/* end confdefs.h. */
2874
rm -f conftest.$ac_objext
2875
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2876
(eval $ac_compile) 2>conftest.er1
2878
grep -v '^ *+' conftest.er1 >conftest.err
2880
cat conftest.err >&5
2881
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882
(exit $ac_status); } &&
2883
{ ac_try='test -z "$ac_c_werror_flag"
2884
|| test ! -s conftest.err'
2885
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2888
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889
(exit $ac_status); }; } &&
2890
{ ac_try='test -s conftest.$ac_objext'
2891
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2894
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895
(exit $ac_status); }; }; then
2898
echo "$as_me: failed program was:" >&5
2899
sed 's/^/| /' conftest.$ac_ext >&5
2902
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2905
if test -n "$ac_declaration"; then
2906
echo '#ifdef __cplusplus' >>confdefs.h
2907
echo $ac_declaration >>confdefs.h
2908
echo '#endif' >>confdefs.h
2912
echo "$as_me: failed program was:" >&5
2913
sed 's/^/| /' conftest.$ac_ext >&5
2916
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2918
3446
ac_cpp='$CPP $CPPFLAGS'
2919
3447
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3266
3833
SED=$lt_cv_path_SED
3270
echo "$as_me:$LINENO: result: $SED" >&5
3271
echo "${ECHO_T}$SED" >&6
3273
echo "$as_me:$LINENO: checking for egrep" >&5
3274
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3275
if test "${ac_cv_prog_egrep+set}" = set; then
3276
echo $ECHO_N "(cached) $ECHO_C" >&6
3278
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3279
then ac_cv_prog_egrep='grep -E'
3280
else ac_cv_prog_egrep='egrep'
3283
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3284
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3285
EGREP=$ac_cv_prog_egrep
3289
# Check whether --with-gnu-ld or --without-gnu-ld was given.
3834
{ echo "$as_me:$LINENO: result: $SED" >&5
3835
echo "${ECHO_T}$SED" >&6; }
3837
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3838
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3839
if test "${ac_cv_path_GREP+set}" = set; then
3840
echo $ECHO_N "(cached) $ECHO_C" >&6
3842
# Extract the first word of "grep ggrep" to use in msg output
3843
if test -z "$GREP"; then
3844
set dummy grep ggrep; ac_prog_name=$2
3845
if test "${ac_cv_path_GREP+set}" = set; then
3846
echo $ECHO_N "(cached) $ECHO_C" >&6
3848
ac_path_GREP_found=false
3849
# Loop through the user's path and test for each of PROGNAME-LIST
3850
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3851
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3854
test -z "$as_dir" && as_dir=.
3855
for ac_prog in grep ggrep; do
3856
for ac_exec_ext in '' $ac_executable_extensions; do
3857
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3858
{ test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
3859
# Check for GNU ac_path_GREP and select it if it is found.
3860
# Check for GNU $ac_path_GREP
3861
case `"$ac_path_GREP" --version 2>&1` in
3863
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3866
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3869
cat "conftest.in" "conftest.in" >"conftest.tmp"
3870
mv "conftest.tmp" "conftest.in"
3871
cp "conftest.in" "conftest.nl"
3872
echo 'GREP' >> "conftest.nl"
3873
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3874
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3875
ac_count=`expr $ac_count + 1`
3876
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3877
# Best one so far, save it but keep looking for a better one
3878
ac_cv_path_GREP="$ac_path_GREP"
3879
ac_path_GREP_max=$ac_count
3881
# 10*(2^10) chars as input seems more than enough
3882
test $ac_count -gt 10 && break
3884
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3888
$ac_path_GREP_found && break 3
3898
GREP="$ac_cv_path_GREP"
3899
if test -z "$GREP"; then
3900
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3901
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3902
{ (exit 1); exit 1; }; }
3906
ac_cv_path_GREP=$GREP
3911
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3912
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3913
GREP="$ac_cv_path_GREP"
3916
{ echo "$as_me:$LINENO: checking for egrep" >&5
3917
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3918
if test "${ac_cv_path_EGREP+set}" = set; then
3919
echo $ECHO_N "(cached) $ECHO_C" >&6
3921
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3922
then ac_cv_path_EGREP="$GREP -E"
3924
# Extract the first word of "egrep" to use in msg output
3925
if test -z "$EGREP"; then
3926
set dummy egrep; ac_prog_name=$2
3927
if test "${ac_cv_path_EGREP+set}" = set; then
3928
echo $ECHO_N "(cached) $ECHO_C" >&6
3930
ac_path_EGREP_found=false
3931
# Loop through the user's path and test for each of PROGNAME-LIST
3932
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3936
test -z "$as_dir" && as_dir=.
3937
for ac_prog in egrep; do
3938
for ac_exec_ext in '' $ac_executable_extensions; do
3939
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3940
{ test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
3941
# Check for GNU ac_path_EGREP and select it if it is found.
3942
# Check for GNU $ac_path_EGREP
3943
case `"$ac_path_EGREP" --version 2>&1` in
3945
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3948
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3951
cat "conftest.in" "conftest.in" >"conftest.tmp"
3952
mv "conftest.tmp" "conftest.in"
3953
cp "conftest.in" "conftest.nl"
3954
echo 'EGREP' >> "conftest.nl"
3955
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3956
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3957
ac_count=`expr $ac_count + 1`
3958
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3959
# Best one so far, save it but keep looking for a better one
3960
ac_cv_path_EGREP="$ac_path_EGREP"
3961
ac_path_EGREP_max=$ac_count
3963
# 10*(2^10) chars as input seems more than enough
3964
test $ac_count -gt 10 && break
3966
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3970
$ac_path_EGREP_found && break 3
3980
EGREP="$ac_cv_path_EGREP"
3981
if test -z "$EGREP"; then
3982
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3983
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3984
{ (exit 1); exit 1; }; }
3988
ac_cv_path_EGREP=$EGREP
3994
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3995
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3996
EGREP="$ac_cv_path_EGREP"
4000
# Check whether --with-gnu-ld was given.
3290
4001
if test "${with_gnu_ld+set}" = set; then
3291
withval="$with_gnu_ld"
3292
test "$withval" = no || with_gnu_ld=yes
4002
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3297
4008
if test "$GCC" = yes; then
3298
4009
# Check if gcc -print-prog-name=ld gives a path.
3299
echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3300
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4010
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4011
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3303
4014
# gcc leaves a trailing carriage return which upsets mingw
4643
5529
echo "$as_me: failed program was:" >&5
4644
5530
sed 's/^/| /' conftest.$ac_ext >&5
4648
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5535
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4649
5536
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4652
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4653
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5539
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5540
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4654
5541
GXX=`test $ac_compiler_gnu = yes && echo yes`
4655
5542
ac_test_CXXFLAGS=${CXXFLAGS+set}
4656
5543
ac_save_CXXFLAGS=$CXXFLAGS
4658
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4659
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5544
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5545
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4660
5546
if test "${ac_cv_prog_cxx_g+set}" = set; then
4661
5547
echo $ECHO_N "(cached) $ECHO_C" >&6
4663
cat >conftest.$ac_ext <<_ACEOF
4666
cat confdefs.h >>conftest.$ac_ext
4667
cat >>conftest.$ac_ext <<_ACEOF
4668
/* end confdefs.h. */
4678
rm -f conftest.$ac_objext
4679
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4680
(eval $ac_compile) 2>conftest.er1
4682
grep -v '^ *+' conftest.er1 >conftest.err
4684
cat conftest.err >&5
4685
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686
(exit $ac_status); } &&
4687
{ ac_try='test -z "$ac_cxx_werror_flag"
4688
|| test ! -s conftest.err'
4689
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4692
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4693
(exit $ac_status); }; } &&
4694
{ ac_try='test -s conftest.$ac_objext'
4695
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4698
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699
(exit $ac_status); }; }; then
4700
ac_cv_prog_cxx_g=yes
4702
echo "$as_me: failed program was:" >&5
4703
sed 's/^/| /' conftest.$ac_ext >&5
4707
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4709
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4710
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5549
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5550
ac_cxx_werror_flag=yes
5553
cat >conftest.$ac_ext <<_ACEOF
5556
cat confdefs.h >>conftest.$ac_ext
5557
cat >>conftest.$ac_ext <<_ACEOF
5558
/* end confdefs.h. */
5568
rm -f conftest.$ac_objext
5569
if { (ac_try="$ac_compile"
5571
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5572
*) ac_try_echo=$ac_try;;
5574
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5575
(eval "$ac_compile") 2>conftest.er1
5577
grep -v '^ *+' conftest.er1 >conftest.err
5579
cat conftest.err >&5
5580
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5581
(exit $ac_status); } &&
5582
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5583
{ (case "(($ac_try" in
5584
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5585
*) ac_try_echo=$ac_try;;
5587
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5588
(eval "$ac_try") 2>&5
5590
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591
(exit $ac_status); }; } &&
5592
{ ac_try='test -s conftest.$ac_objext'
5593
{ (case "(($ac_try" in
5594
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5595
*) ac_try_echo=$ac_try;;
5597
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5598
(eval "$ac_try") 2>&5
5600
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601
(exit $ac_status); }; }; then
5602
ac_cv_prog_cxx_g=yes
5604
echo "$as_me: failed program was:" >&5
5605
sed 's/^/| /' conftest.$ac_ext >&5
5608
cat >conftest.$ac_ext <<_ACEOF
5611
cat confdefs.h >>conftest.$ac_ext
5612
cat >>conftest.$ac_ext <<_ACEOF
5613
/* end confdefs.h. */
5623
rm -f conftest.$ac_objext
5624
if { (ac_try="$ac_compile"
5626
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5627
*) ac_try_echo=$ac_try;;
5629
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5630
(eval "$ac_compile") 2>conftest.er1
5632
grep -v '^ *+' conftest.er1 >conftest.err
5634
cat conftest.err >&5
5635
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636
(exit $ac_status); } &&
5637
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5638
{ (case "(($ac_try" in
5639
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5640
*) ac_try_echo=$ac_try;;
5642
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5643
(eval "$ac_try") 2>&5
5645
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646
(exit $ac_status); }; } &&
5647
{ ac_try='test -s conftest.$ac_objext'
5648
{ (case "(($ac_try" in
5649
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5650
*) ac_try_echo=$ac_try;;
5652
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5653
(eval "$ac_try") 2>&5
5655
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656
(exit $ac_status); }; }; then
5659
echo "$as_me: failed program was:" >&5
5660
sed 's/^/| /' conftest.$ac_ext >&5
5662
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5664
cat >conftest.$ac_ext <<_ACEOF
5667
cat confdefs.h >>conftest.$ac_ext
5668
cat >>conftest.$ac_ext <<_ACEOF
5669
/* end confdefs.h. */
5679
rm -f conftest.$ac_objext
5680
if { (ac_try="$ac_compile"
5682
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5683
*) ac_try_echo=$ac_try;;
5685
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5686
(eval "$ac_compile") 2>conftest.er1
5688
grep -v '^ *+' conftest.er1 >conftest.err
5690
cat conftest.err >&5
5691
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692
(exit $ac_status); } &&
5693
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5694
{ (case "(($ac_try" in
5695
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5696
*) ac_try_echo=$ac_try;;
5698
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5699
(eval "$ac_try") 2>&5
5701
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5702
(exit $ac_status); }; } &&
5703
{ ac_try='test -s conftest.$ac_objext'
5704
{ (case "(($ac_try" in
5705
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5706
*) ac_try_echo=$ac_try;;
5708
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5709
(eval "$ac_try") 2>&5
5711
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712
(exit $ac_status); }; }; then
5713
ac_cv_prog_cxx_g=yes
5715
echo "$as_me: failed program was:" >&5
5716
sed 's/^/| /' conftest.$ac_ext >&5
5721
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5724
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5727
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5728
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5730
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5731
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4711
5732
if test "$ac_test_CXXFLAGS" = set; then
4712
5733
CXXFLAGS=$ac_save_CXXFLAGS
4713
5734
elif test $ac_cv_prog_cxx_g = yes; then
10094
11548
echo EXPORTS > $output_objdir/$soname.def;
10095
11549
cat $export_symbols >> $output_objdir/$soname.def;
10097
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
11551
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10099
11553
ld_shlibs_CXX=no
10103
darwin* | rhapsody*)
10104
if test "$GXX" = yes; then
10105
archive_cmds_need_lc_CXX=no
10107
rhapsody* | darwin1.[012])
10108
allow_undefined_flag_CXX='-undefined suppress'
10111
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10112
allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10114
case ${MACOSX_DEPLOYMENT_TARGET} in
10116
allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10119
allow_undefined_flag_CXX='-undefined dynamic_lookup'
11556
darwin* | rhapsody*)
11558
rhapsody* | darwin1.[012])
11559
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11562
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11563
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11565
case ${MACOSX_DEPLOYMENT_TARGET} in
11567
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11570
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10125
lt_int_apple_cc_single_mod=no
10126
output_verbose_link_cmd='echo'
10127
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10128
lt_int_apple_cc_single_mod=yes
10130
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10131
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10133
archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10135
module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11576
archive_cmds_need_lc_CXX=no
11577
hardcode_direct_CXX=no
11578
hardcode_automatic_CXX=yes
11579
hardcode_shlibpath_var_CXX=unsupported
11580
whole_archive_flag_spec_CXX=''
11581
link_all_deplibs_CXX=yes
10137
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10138
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10139
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10141
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10143
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10144
hardcode_direct_CXX=no
10145
hardcode_automatic_CXX=yes
10146
hardcode_shlibpath_var_CXX=unsupported
10147
whole_archive_flag_spec_CXX='-all_load $convenience'
10148
link_all_deplibs_CXX=yes
11583
if test "$GXX" = yes ; then
11584
lt_int_apple_cc_single_mod=no
11585
output_verbose_link_cmd='echo'
11586
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11587
lt_int_apple_cc_single_mod=yes
11589
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11590
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11592
archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11594
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11595
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11596
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11597
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11599
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11601
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11603
case $cc_basename in
11605
output_verbose_link_cmd='echo'
11606
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11607
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11608
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11609
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11610
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10155
11620
case $cc_basename in
10157
11622
# FIXME: insert proper C++ library support
10158
11623
ld_shlibs_CXX=no
10161
11626
# Green Hills C++ Compiler
10162
11627
# FIXME: insert proper C++ library support
10163
11628
ld_shlibs_CXX=no
11877
13536
enable_fast_install=needless
11882
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11883
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11884
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11885
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11886
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11887
echo "$as_me:$LINENO: result: yes" >&5
11888
echo "${ECHO_T}yes" >&6
11890
# FIXME - insert some real tests, host_os isn't really good enough
11893
if test -n "$STRIP" ; then
11894
striplib="$STRIP -x"
11895
echo "$as_me:$LINENO: result: yes" >&5
11896
echo "${ECHO_T}yes" >&6
11898
echo "$as_me:$LINENO: result: no" >&5
11899
echo "${ECHO_T}no" >&6
11903
echo "$as_me:$LINENO: result: no" >&5
11904
echo "${ECHO_T}no" >&6
11909
if test "x$enable_dlopen" != xyes; then
11910
enable_dlopen=unknown
11911
enable_dlopen_self=unknown
11912
enable_dlopen_self_static=unknown
11919
lt_cv_dlopen="load_add_on"
11921
lt_cv_dlopen_self=yes
11925
lt_cv_dlopen="LoadLibrary"
11930
lt_cv_dlopen="dlopen"
11935
# if libdl is installed we need to link against it
11936
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11937
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11938
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11939
echo $ECHO_N "(cached) $ECHO_C" >&6
11941
ac_check_lib_save_LIBS=$LIBS
11943
cat >conftest.$ac_ext <<_ACEOF
11946
cat confdefs.h >>conftest.$ac_ext
11947
cat >>conftest.$ac_ext <<_ACEOF
11948
/* end confdefs.h. */
11950
/* Override any gcc2 internal prototype to avoid an error. */
11954
/* We use char because int might match the return type of a gcc2
11955
builtin and then its argument prototype would still apply. */
11965
rm -f conftest.$ac_objext conftest$ac_exeext
11966
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11967
(eval $ac_link) 2>conftest.er1
11969
grep -v '^ *+' conftest.er1 >conftest.err
11971
cat conftest.err >&5
11972
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973
(exit $ac_status); } &&
11974
{ ac_try='test -z "$ac_cxx_werror_flag"
11975
|| test ! -s conftest.err'
11976
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11977
(eval $ac_try) 2>&5
11979
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980
(exit $ac_status); }; } &&
11981
{ ac_try='test -s conftest$ac_exeext'
11982
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11983
(eval $ac_try) 2>&5
11985
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11986
(exit $ac_status); }; }; then
11987
ac_cv_lib_dl_dlopen=yes
11989
echo "$as_me: failed program was:" >&5
11990
sed 's/^/| /' conftest.$ac_ext >&5
11992
ac_cv_lib_dl_dlopen=no
11994
rm -f conftest.err conftest.$ac_objext \
11995
conftest$ac_exeext conftest.$ac_ext
11996
LIBS=$ac_check_lib_save_LIBS
11998
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11999
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12000
if test $ac_cv_lib_dl_dlopen = yes; then
12001
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12004
lt_cv_dlopen="dyld"
12006
lt_cv_dlopen_self=yes
12013
echo "$as_me:$LINENO: checking for shl_load" >&5
12014
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12015
if test "${ac_cv_func_shl_load+set}" = set; then
12016
echo $ECHO_N "(cached) $ECHO_C" >&6
12018
cat >conftest.$ac_ext <<_ACEOF
12021
cat confdefs.h >>conftest.$ac_ext
12022
cat >>conftest.$ac_ext <<_ACEOF
12023
/* end confdefs.h. */
12024
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12025
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12026
#define shl_load innocuous_shl_load
12028
/* System header to define __stub macros and hopefully few prototypes,
12029
which can conflict with char shl_load (); below.
12030
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12031
<limits.h> exists even on freestanding compilers. */
12034
# include <limits.h>
12036
# include <assert.h>
12041
/* Override any gcc2 internal prototype to avoid an error. */
12046
/* We use char because int might match the return type of a gcc2
12047
builtin and then its argument prototype would still apply. */
12049
/* The GNU C library defines this for functions which it implements
12050
to always fail with ENOSYS. Some functions are actually named
12051
something starting with __ and the normal name is an alias. */
12052
#if defined (__stub_shl_load) || defined (__stub___shl_load)
12055
char (*f) () = shl_load;
12064
return f != shl_load;
12069
rm -f conftest.$ac_objext conftest$ac_exeext
12070
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12071
(eval $ac_link) 2>conftest.er1
12073
grep -v '^ *+' conftest.er1 >conftest.err
12075
cat conftest.err >&5
12076
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077
(exit $ac_status); } &&
12078
{ ac_try='test -z "$ac_cxx_werror_flag"
12079
|| test ! -s conftest.err'
12080
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12081
(eval $ac_try) 2>&5
12083
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12084
(exit $ac_status); }; } &&
12085
{ ac_try='test -s conftest$ac_exeext'
12086
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12087
(eval $ac_try) 2>&5
12089
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12090
(exit $ac_status); }; }; then
12091
ac_cv_func_shl_load=yes
12093
echo "$as_me: failed program was:" >&5
12094
sed 's/^/| /' conftest.$ac_ext >&5
12096
ac_cv_func_shl_load=no
12098
rm -f conftest.err conftest.$ac_objext \
12099
conftest$ac_exeext conftest.$ac_ext
12101
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12102
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12103
if test $ac_cv_func_shl_load = yes; then
12104
lt_cv_dlopen="shl_load"
12106
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12107
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12108
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12109
echo $ECHO_N "(cached) $ECHO_C" >&6
12111
ac_check_lib_save_LIBS=$LIBS
12113
cat >conftest.$ac_ext <<_ACEOF
12116
cat confdefs.h >>conftest.$ac_ext
12117
cat >>conftest.$ac_ext <<_ACEOF
12118
/* end confdefs.h. */
12120
/* Override any gcc2 internal prototype to avoid an error. */
12124
/* We use char because int might match the return type of a gcc2
12125
builtin and then its argument prototype would still apply. */
12135
rm -f conftest.$ac_objext conftest$ac_exeext
12136
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12137
(eval $ac_link) 2>conftest.er1
12139
grep -v '^ *+' conftest.er1 >conftest.err
12141
cat conftest.err >&5
12142
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143
(exit $ac_status); } &&
12144
{ ac_try='test -z "$ac_cxx_werror_flag"
12145
|| test ! -s conftest.err'
12146
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12147
(eval $ac_try) 2>&5
12149
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150
(exit $ac_status); }; } &&
12151
{ ac_try='test -s conftest$ac_exeext'
12152
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12153
(eval $ac_try) 2>&5
12155
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12156
(exit $ac_status); }; }; then
12157
ac_cv_lib_dld_shl_load=yes
12159
echo "$as_me: failed program was:" >&5
12160
sed 's/^/| /' conftest.$ac_ext >&5
12162
ac_cv_lib_dld_shl_load=no
12164
rm -f conftest.err conftest.$ac_objext \
12165
conftest$ac_exeext conftest.$ac_ext
12166
LIBS=$ac_check_lib_save_LIBS
12168
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12169
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12170
if test $ac_cv_lib_dld_shl_load = yes; then
12171
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12173
echo "$as_me:$LINENO: checking for dlopen" >&5
12174
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12175
if test "${ac_cv_func_dlopen+set}" = set; then
12176
echo $ECHO_N "(cached) $ECHO_C" >&6
12178
cat >conftest.$ac_ext <<_ACEOF
12181
cat confdefs.h >>conftest.$ac_ext
12182
cat >>conftest.$ac_ext <<_ACEOF
12183
/* end confdefs.h. */
12184
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12185
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12186
#define dlopen innocuous_dlopen
12188
/* System header to define __stub macros and hopefully few prototypes,
12189
which can conflict with char dlopen (); below.
12190
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12191
<limits.h> exists even on freestanding compilers. */
12194
# include <limits.h>
12196
# include <assert.h>
12201
/* Override any gcc2 internal prototype to avoid an error. */
12206
/* We use char because int might match the return type of a gcc2
12207
builtin and then its argument prototype would still apply. */
12209
/* The GNU C library defines this for functions which it implements
12210
to always fail with ENOSYS. Some functions are actually named
12211
something starting with __ and the normal name is an alias. */
12212
#if defined (__stub_dlopen) || defined (__stub___dlopen)
12215
char (*f) () = dlopen;
12224
return f != dlopen;
12229
rm -f conftest.$ac_objext conftest$ac_exeext
12230
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12231
(eval $ac_link) 2>conftest.er1
12233
grep -v '^ *+' conftest.er1 >conftest.err
12235
cat conftest.err >&5
12236
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237
(exit $ac_status); } &&
12238
{ ac_try='test -z "$ac_cxx_werror_flag"
12239
|| test ! -s conftest.err'
12240
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12241
(eval $ac_try) 2>&5
12243
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244
(exit $ac_status); }; } &&
12245
{ ac_try='test -s conftest$ac_exeext'
12246
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12247
(eval $ac_try) 2>&5
12249
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250
(exit $ac_status); }; }; then
12251
ac_cv_func_dlopen=yes
12253
echo "$as_me: failed program was:" >&5
12254
sed 's/^/| /' conftest.$ac_ext >&5
12256
ac_cv_func_dlopen=no
12258
rm -f conftest.err conftest.$ac_objext \
12259
conftest$ac_exeext conftest.$ac_ext
12261
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12262
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12263
if test $ac_cv_func_dlopen = yes; then
12264
lt_cv_dlopen="dlopen"
12266
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12267
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12268
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12269
echo $ECHO_N "(cached) $ECHO_C" >&6
12271
ac_check_lib_save_LIBS=$LIBS
12273
cat >conftest.$ac_ext <<_ACEOF
12276
cat confdefs.h >>conftest.$ac_ext
12277
cat >>conftest.$ac_ext <<_ACEOF
12278
/* end confdefs.h. */
12280
/* Override any gcc2 internal prototype to avoid an error. */
12284
/* We use char because int might match the return type of a gcc2
12285
builtin and then its argument prototype would still apply. */
12295
rm -f conftest.$ac_objext conftest$ac_exeext
12296
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12297
(eval $ac_link) 2>conftest.er1
12299
grep -v '^ *+' conftest.er1 >conftest.err
12301
cat conftest.err >&5
12302
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12303
(exit $ac_status); } &&
12304
{ ac_try='test -z "$ac_cxx_werror_flag"
12305
|| test ! -s conftest.err'
12306
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12307
(eval $ac_try) 2>&5
12309
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310
(exit $ac_status); }; } &&
12311
{ ac_try='test -s conftest$ac_exeext'
12312
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12313
(eval $ac_try) 2>&5
12315
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316
(exit $ac_status); }; }; then
12317
ac_cv_lib_dl_dlopen=yes
12319
echo "$as_me: failed program was:" >&5
12320
sed 's/^/| /' conftest.$ac_ext >&5
12322
ac_cv_lib_dl_dlopen=no
12324
rm -f conftest.err conftest.$ac_objext \
12325
conftest$ac_exeext conftest.$ac_ext
12326
LIBS=$ac_check_lib_save_LIBS
12328
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12329
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12330
if test $ac_cv_lib_dl_dlopen = yes; then
12331
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12333
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12334
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12335
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12336
echo $ECHO_N "(cached) $ECHO_C" >&6
12338
ac_check_lib_save_LIBS=$LIBS
12339
LIBS="-lsvld $LIBS"
12340
cat >conftest.$ac_ext <<_ACEOF
12343
cat confdefs.h >>conftest.$ac_ext
12344
cat >>conftest.$ac_ext <<_ACEOF
12345
/* end confdefs.h. */
12347
/* Override any gcc2 internal prototype to avoid an error. */
12351
/* We use char because int might match the return type of a gcc2
12352
builtin and then its argument prototype would still apply. */
12362
rm -f conftest.$ac_objext conftest$ac_exeext
12363
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12364
(eval $ac_link) 2>conftest.er1
12366
grep -v '^ *+' conftest.er1 >conftest.err
12368
cat conftest.err >&5
12369
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370
(exit $ac_status); } &&
12371
{ ac_try='test -z "$ac_cxx_werror_flag"
12372
|| test ! -s conftest.err'
12373
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374
(eval $ac_try) 2>&5
12376
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377
(exit $ac_status); }; } &&
12378
{ ac_try='test -s conftest$ac_exeext'
12379
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12380
(eval $ac_try) 2>&5
12382
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383
(exit $ac_status); }; }; then
12384
ac_cv_lib_svld_dlopen=yes
12386
echo "$as_me: failed program was:" >&5
12387
sed 's/^/| /' conftest.$ac_ext >&5
12389
ac_cv_lib_svld_dlopen=no
12391
rm -f conftest.err conftest.$ac_objext \
12392
conftest$ac_exeext conftest.$ac_ext
12393
LIBS=$ac_check_lib_save_LIBS
12395
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12396
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12397
if test $ac_cv_lib_svld_dlopen = yes; then
12398
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12400
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12401
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12402
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12403
echo $ECHO_N "(cached) $ECHO_C" >&6
12405
ac_check_lib_save_LIBS=$LIBS
12407
cat >conftest.$ac_ext <<_ACEOF
12410
cat confdefs.h >>conftest.$ac_ext
12411
cat >>conftest.$ac_ext <<_ACEOF
12412
/* end confdefs.h. */
12414
/* Override any gcc2 internal prototype to avoid an error. */
12418
/* We use char because int might match the return type of a gcc2
12419
builtin and then its argument prototype would still apply. */
12429
rm -f conftest.$ac_objext conftest$ac_exeext
12430
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12431
(eval $ac_link) 2>conftest.er1
12433
grep -v '^ *+' conftest.er1 >conftest.err
12435
cat conftest.err >&5
12436
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437
(exit $ac_status); } &&
12438
{ ac_try='test -z "$ac_cxx_werror_flag"
12439
|| test ! -s conftest.err'
12440
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12441
(eval $ac_try) 2>&5
12443
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12444
(exit $ac_status); }; } &&
12445
{ ac_try='test -s conftest$ac_exeext'
12446
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12447
(eval $ac_try) 2>&5
12449
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450
(exit $ac_status); }; }; then
12451
ac_cv_lib_dld_dld_link=yes
12453
echo "$as_me: failed program was:" >&5
12454
sed 's/^/| /' conftest.$ac_ext >&5
12456
ac_cv_lib_dld_dld_link=no
12458
rm -f conftest.err conftest.$ac_objext \
12459
conftest$ac_exeext conftest.$ac_ext
12460
LIBS=$ac_check_lib_save_LIBS
12462
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12463
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12464
if test $ac_cv_lib_dld_dld_link = yes; then
12465
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12486
if test "x$lt_cv_dlopen" != xno; then
12492
case $lt_cv_dlopen in
12494
save_CPPFLAGS="$CPPFLAGS"
12495
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12497
save_LDFLAGS="$LDFLAGS"
12498
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12501
LIBS="$lt_cv_dlopen_libs $LIBS"
12503
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12504
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12505
if test "${lt_cv_dlopen_self+set}" = set; then
12506
echo $ECHO_N "(cached) $ECHO_C" >&6
12508
if test "$cross_compiling" = yes; then :
12509
lt_cv_dlopen_self=cross
12511
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12512
lt_status=$lt_dlunknown
12513
cat > conftest.$ac_ext <<EOF
12514
#line 12514 "configure"
12515
#include "confdefs.h"
12524
# define LT_DLGLOBAL RTLD_GLOBAL
12527
# define LT_DLGLOBAL DL_GLOBAL
12529
# define LT_DLGLOBAL 0
12533
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12534
find out it does not work in some platform. */
12535
#ifndef LT_DLLAZY_OR_NOW
12537
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12540
# define LT_DLLAZY_OR_NOW DL_LAZY
12543
# define LT_DLLAZY_OR_NOW RTLD_NOW
12546
# define LT_DLLAZY_OR_NOW DL_NOW
12548
# define LT_DLLAZY_OR_NOW 0
12556
extern "C" void exit (int);
12559
void fnord() { int i=42;}
12562
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12563
int status = $lt_dlunknown;
12567
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12568
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12569
/* dlclose (self); */
12575
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12576
(eval $ac_link) 2>&5
12578
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12580
(./conftest; exit; ) 2>/dev/null
12582
case x$lt_status in
12583
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12584
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12585
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12588
# compilation failed
12589
lt_cv_dlopen_self=no
12596
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12597
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12599
if test "x$lt_cv_dlopen_self" = xyes; then
12600
LDFLAGS="$LDFLAGS $link_static_flag"
12601
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12602
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12603
if test "${lt_cv_dlopen_self_static+set}" = set; then
12604
echo $ECHO_N "(cached) $ECHO_C" >&6
12606
if test "$cross_compiling" = yes; then :
12607
lt_cv_dlopen_self_static=cross
12609
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12610
lt_status=$lt_dlunknown
12611
cat > conftest.$ac_ext <<EOF
12612
#line 12612 "configure"
12613
#include "confdefs.h"
12622
# define LT_DLGLOBAL RTLD_GLOBAL
12625
# define LT_DLGLOBAL DL_GLOBAL
12627
# define LT_DLGLOBAL 0
12631
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12632
find out it does not work in some platform. */
12633
#ifndef LT_DLLAZY_OR_NOW
12635
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12638
# define LT_DLLAZY_OR_NOW DL_LAZY
12641
# define LT_DLLAZY_OR_NOW RTLD_NOW
12644
# define LT_DLLAZY_OR_NOW DL_NOW
12646
# define LT_DLLAZY_OR_NOW 0
12654
extern "C" void exit (int);
12657
void fnord() { int i=42;}
12660
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12661
int status = $lt_dlunknown;
12665
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12666
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12667
/* dlclose (self); */
12673
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12674
(eval $ac_link) 2>&5
12676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12678
(./conftest; exit; ) 2>/dev/null
12680
case x$lt_status in
12681
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12682
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12683
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12686
# compilation failed
12687
lt_cv_dlopen_self_static=no
12694
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12695
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12698
CPPFLAGS="$save_CPPFLAGS"
12699
LDFLAGS="$save_LDFLAGS"
12704
case $lt_cv_dlopen_self in
12705
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12706
*) enable_dlopen_self=unknown ;;
12709
case $lt_cv_dlopen_self_static in
12710
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12711
*) enable_dlopen_self_static=unknown ;;
12716
13540
# The else clause should only fire when bootstrapping the
12717
13541
# libtool distribution, otherwise you forgot to ship ltmain.sh
17415
18751
enable_fast_install=needless
17420
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17421
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17422
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17423
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17424
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17425
echo "$as_me:$LINENO: result: yes" >&5
17426
echo "${ECHO_T}yes" >&6
17428
# FIXME - insert some real tests, host_os isn't really good enough
17431
if test -n "$STRIP" ; then
17432
striplib="$STRIP -x"
17433
echo "$as_me:$LINENO: result: yes" >&5
17434
echo "${ECHO_T}yes" >&6
17436
echo "$as_me:$LINENO: result: no" >&5
17437
echo "${ECHO_T}no" >&6
17441
echo "$as_me:$LINENO: result: no" >&5
17442
echo "${ECHO_T}no" >&6
17447
if test "x$enable_dlopen" != xyes; then
17448
enable_dlopen=unknown
17449
enable_dlopen_self=unknown
17450
enable_dlopen_self_static=unknown
17457
lt_cv_dlopen="load_add_on"
17459
lt_cv_dlopen_self=yes
17463
lt_cv_dlopen="LoadLibrary"
17468
lt_cv_dlopen="dlopen"
17473
# if libdl is installed we need to link against it
17474
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17475
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17476
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17477
echo $ECHO_N "(cached) $ECHO_C" >&6
17479
ac_check_lib_save_LIBS=$LIBS
17481
cat >conftest.$ac_ext <<_ACEOF
17484
cat confdefs.h >>conftest.$ac_ext
17485
cat >>conftest.$ac_ext <<_ACEOF
17486
/* end confdefs.h. */
17488
/* Override any gcc2 internal prototype to avoid an error. */
17492
/* We use char because int might match the return type of a gcc2
17493
builtin and then its argument prototype would still apply. */
17503
rm -f conftest.$ac_objext conftest$ac_exeext
17504
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17505
(eval $ac_link) 2>conftest.er1
17507
grep -v '^ *+' conftest.er1 >conftest.err
17509
cat conftest.err >&5
17510
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511
(exit $ac_status); } &&
17512
{ ac_try='test -z "$ac_c_werror_flag"
17513
|| test ! -s conftest.err'
17514
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17515
(eval $ac_try) 2>&5
17517
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518
(exit $ac_status); }; } &&
17519
{ ac_try='test -s conftest$ac_exeext'
17520
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17521
(eval $ac_try) 2>&5
17523
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524
(exit $ac_status); }; }; then
17525
ac_cv_lib_dl_dlopen=yes
17527
echo "$as_me: failed program was:" >&5
17528
sed 's/^/| /' conftest.$ac_ext >&5
17530
ac_cv_lib_dl_dlopen=no
17532
rm -f conftest.err conftest.$ac_objext \
17533
conftest$ac_exeext conftest.$ac_ext
17534
LIBS=$ac_check_lib_save_LIBS
17536
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17537
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17538
if test $ac_cv_lib_dl_dlopen = yes; then
17539
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17542
lt_cv_dlopen="dyld"
17544
lt_cv_dlopen_self=yes
17551
echo "$as_me:$LINENO: checking for shl_load" >&5
17552
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17553
if test "${ac_cv_func_shl_load+set}" = set; then
17554
echo $ECHO_N "(cached) $ECHO_C" >&6
17556
cat >conftest.$ac_ext <<_ACEOF
17559
cat confdefs.h >>conftest.$ac_ext
17560
cat >>conftest.$ac_ext <<_ACEOF
17561
/* end confdefs.h. */
17562
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17563
For example, HP-UX 11i <limits.h> declares gettimeofday. */
17564
#define shl_load innocuous_shl_load
17566
/* System header to define __stub macros and hopefully few prototypes,
17567
which can conflict with char shl_load (); below.
17568
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17569
<limits.h> exists even on freestanding compilers. */
17572
# include <limits.h>
17574
# include <assert.h>
17579
/* Override any gcc2 internal prototype to avoid an error. */
17584
/* We use char because int might match the return type of a gcc2
17585
builtin and then its argument prototype would still apply. */
17587
/* The GNU C library defines this for functions which it implements
17588
to always fail with ENOSYS. Some functions are actually named
17589
something starting with __ and the normal name is an alias. */
17590
#if defined (__stub_shl_load) || defined (__stub___shl_load)
17593
char (*f) () = shl_load;
17602
return f != shl_load;
17607
rm -f conftest.$ac_objext conftest$ac_exeext
17608
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17609
(eval $ac_link) 2>conftest.er1
17611
grep -v '^ *+' conftest.er1 >conftest.err
17613
cat conftest.err >&5
17614
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615
(exit $ac_status); } &&
17616
{ ac_try='test -z "$ac_c_werror_flag"
17617
|| test ! -s conftest.err'
17618
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17619
(eval $ac_try) 2>&5
17621
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622
(exit $ac_status); }; } &&
17623
{ ac_try='test -s conftest$ac_exeext'
17624
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17625
(eval $ac_try) 2>&5
17627
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628
(exit $ac_status); }; }; then
17629
ac_cv_func_shl_load=yes
17631
echo "$as_me: failed program was:" >&5
17632
sed 's/^/| /' conftest.$ac_ext >&5
17634
ac_cv_func_shl_load=no
17636
rm -f conftest.err conftest.$ac_objext \
17637
conftest$ac_exeext conftest.$ac_ext
17639
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17640
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17641
if test $ac_cv_func_shl_load = yes; then
17642
lt_cv_dlopen="shl_load"
17644
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17645
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17646
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17647
echo $ECHO_N "(cached) $ECHO_C" >&6
17649
ac_check_lib_save_LIBS=$LIBS
17651
cat >conftest.$ac_ext <<_ACEOF
17654
cat confdefs.h >>conftest.$ac_ext
17655
cat >>conftest.$ac_ext <<_ACEOF
17656
/* end confdefs.h. */
17658
/* Override any gcc2 internal prototype to avoid an error. */
17662
/* We use char because int might match the return type of a gcc2
17663
builtin and then its argument prototype would still apply. */
17673
rm -f conftest.$ac_objext conftest$ac_exeext
17674
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17675
(eval $ac_link) 2>conftest.er1
17677
grep -v '^ *+' conftest.er1 >conftest.err
17679
cat conftest.err >&5
17680
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681
(exit $ac_status); } &&
17682
{ ac_try='test -z "$ac_c_werror_flag"
17683
|| test ! -s conftest.err'
17684
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17685
(eval $ac_try) 2>&5
17687
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688
(exit $ac_status); }; } &&
17689
{ ac_try='test -s conftest$ac_exeext'
17690
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17691
(eval $ac_try) 2>&5
17693
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17694
(exit $ac_status); }; }; then
17695
ac_cv_lib_dld_shl_load=yes
17697
echo "$as_me: failed program was:" >&5
17698
sed 's/^/| /' conftest.$ac_ext >&5
17700
ac_cv_lib_dld_shl_load=no
17702
rm -f conftest.err conftest.$ac_objext \
17703
conftest$ac_exeext conftest.$ac_ext
17704
LIBS=$ac_check_lib_save_LIBS
17706
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17707
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17708
if test $ac_cv_lib_dld_shl_load = yes; then
17709
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17711
echo "$as_me:$LINENO: checking for dlopen" >&5
17712
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17713
if test "${ac_cv_func_dlopen+set}" = set; then
17714
echo $ECHO_N "(cached) $ECHO_C" >&6
17716
cat >conftest.$ac_ext <<_ACEOF
17719
cat confdefs.h >>conftest.$ac_ext
17720
cat >>conftest.$ac_ext <<_ACEOF
17721
/* end confdefs.h. */
17722
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17723
For example, HP-UX 11i <limits.h> declares gettimeofday. */
17724
#define dlopen innocuous_dlopen
17726
/* System header to define __stub macros and hopefully few prototypes,
17727
which can conflict with char dlopen (); below.
17728
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17729
<limits.h> exists even on freestanding compilers. */
17732
# include <limits.h>
17734
# include <assert.h>
17739
/* Override any gcc2 internal prototype to avoid an error. */
17744
/* We use char because int might match the return type of a gcc2
17745
builtin and then its argument prototype would still apply. */
17747
/* The GNU C library defines this for functions which it implements
17748
to always fail with ENOSYS. Some functions are actually named
17749
something starting with __ and the normal name is an alias. */
17750
#if defined (__stub_dlopen) || defined (__stub___dlopen)
17753
char (*f) () = dlopen;
17762
return f != dlopen;
17767
rm -f conftest.$ac_objext conftest$ac_exeext
17768
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17769
(eval $ac_link) 2>conftest.er1
17771
grep -v '^ *+' conftest.er1 >conftest.err
17773
cat conftest.err >&5
17774
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775
(exit $ac_status); } &&
17776
{ ac_try='test -z "$ac_c_werror_flag"
17777
|| test ! -s conftest.err'
17778
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17779
(eval $ac_try) 2>&5
17781
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782
(exit $ac_status); }; } &&
17783
{ ac_try='test -s conftest$ac_exeext'
17784
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17785
(eval $ac_try) 2>&5
17787
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788
(exit $ac_status); }; }; then
17789
ac_cv_func_dlopen=yes
17791
echo "$as_me: failed program was:" >&5
17792
sed 's/^/| /' conftest.$ac_ext >&5
17794
ac_cv_func_dlopen=no
17796
rm -f conftest.err conftest.$ac_objext \
17797
conftest$ac_exeext conftest.$ac_ext
17799
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17800
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17801
if test $ac_cv_func_dlopen = yes; then
17802
lt_cv_dlopen="dlopen"
17804
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17805
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17806
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17807
echo $ECHO_N "(cached) $ECHO_C" >&6
17809
ac_check_lib_save_LIBS=$LIBS
17811
cat >conftest.$ac_ext <<_ACEOF
17814
cat confdefs.h >>conftest.$ac_ext
17815
cat >>conftest.$ac_ext <<_ACEOF
17816
/* end confdefs.h. */
17818
/* Override any gcc2 internal prototype to avoid an error. */
17822
/* We use char because int might match the return type of a gcc2
17823
builtin and then its argument prototype would still apply. */
17833
rm -f conftest.$ac_objext conftest$ac_exeext
17834
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17835
(eval $ac_link) 2>conftest.er1
17837
grep -v '^ *+' conftest.er1 >conftest.err
17839
cat conftest.err >&5
17840
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841
(exit $ac_status); } &&
17842
{ ac_try='test -z "$ac_c_werror_flag"
17843
|| test ! -s conftest.err'
17844
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17845
(eval $ac_try) 2>&5
17847
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848
(exit $ac_status); }; } &&
17849
{ ac_try='test -s conftest$ac_exeext'
17850
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851
(eval $ac_try) 2>&5
17853
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854
(exit $ac_status); }; }; then
17855
ac_cv_lib_dl_dlopen=yes
17857
echo "$as_me: failed program was:" >&5
17858
sed 's/^/| /' conftest.$ac_ext >&5
17860
ac_cv_lib_dl_dlopen=no
17862
rm -f conftest.err conftest.$ac_objext \
17863
conftest$ac_exeext conftest.$ac_ext
17864
LIBS=$ac_check_lib_save_LIBS
17866
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17867
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17868
if test $ac_cv_lib_dl_dlopen = yes; then
17869
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17871
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17872
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17873
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17874
echo $ECHO_N "(cached) $ECHO_C" >&6
17876
ac_check_lib_save_LIBS=$LIBS
17877
LIBS="-lsvld $LIBS"
17878
cat >conftest.$ac_ext <<_ACEOF
17881
cat confdefs.h >>conftest.$ac_ext
17882
cat >>conftest.$ac_ext <<_ACEOF
17883
/* end confdefs.h. */
17885
/* Override any gcc2 internal prototype to avoid an error. */
17889
/* We use char because int might match the return type of a gcc2
17890
builtin and then its argument prototype would still apply. */
17900
rm -f conftest.$ac_objext conftest$ac_exeext
17901
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17902
(eval $ac_link) 2>conftest.er1
17904
grep -v '^ *+' conftest.er1 >conftest.err
17906
cat conftest.err >&5
17907
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908
(exit $ac_status); } &&
17909
{ ac_try='test -z "$ac_c_werror_flag"
17910
|| test ! -s conftest.err'
17911
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17912
(eval $ac_try) 2>&5
17914
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915
(exit $ac_status); }; } &&
17916
{ ac_try='test -s conftest$ac_exeext'
17917
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17918
(eval $ac_try) 2>&5
17920
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921
(exit $ac_status); }; }; then
17922
ac_cv_lib_svld_dlopen=yes
17924
echo "$as_me: failed program was:" >&5
17925
sed 's/^/| /' conftest.$ac_ext >&5
17927
ac_cv_lib_svld_dlopen=no
17929
rm -f conftest.err conftest.$ac_objext \
17930
conftest$ac_exeext conftest.$ac_ext
17931
LIBS=$ac_check_lib_save_LIBS
17933
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17934
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17935
if test $ac_cv_lib_svld_dlopen = yes; then
17936
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17938
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17939
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17940
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17941
echo $ECHO_N "(cached) $ECHO_C" >&6
17943
ac_check_lib_save_LIBS=$LIBS
17945
cat >conftest.$ac_ext <<_ACEOF
17948
cat confdefs.h >>conftest.$ac_ext
17949
cat >>conftest.$ac_ext <<_ACEOF
17950
/* end confdefs.h. */
17952
/* Override any gcc2 internal prototype to avoid an error. */
17956
/* We use char because int might match the return type of a gcc2
17957
builtin and then its argument prototype would still apply. */
17967
rm -f conftest.$ac_objext conftest$ac_exeext
17968
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17969
(eval $ac_link) 2>conftest.er1
17971
grep -v '^ *+' conftest.er1 >conftest.err
17973
cat conftest.err >&5
17974
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975
(exit $ac_status); } &&
17976
{ ac_try='test -z "$ac_c_werror_flag"
17977
|| test ! -s conftest.err'
17978
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17979
(eval $ac_try) 2>&5
17981
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982
(exit $ac_status); }; } &&
17983
{ ac_try='test -s conftest$ac_exeext'
17984
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17985
(eval $ac_try) 2>&5
17987
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988
(exit $ac_status); }; }; then
17989
ac_cv_lib_dld_dld_link=yes
17991
echo "$as_me: failed program was:" >&5
17992
sed 's/^/| /' conftest.$ac_ext >&5
17994
ac_cv_lib_dld_dld_link=no
17996
rm -f conftest.err conftest.$ac_objext \
17997
conftest$ac_exeext conftest.$ac_ext
17998
LIBS=$ac_check_lib_save_LIBS
18000
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18001
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18002
if test $ac_cv_lib_dld_dld_link = yes; then
18003
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18024
if test "x$lt_cv_dlopen" != xno; then
18030
case $lt_cv_dlopen in
18032
save_CPPFLAGS="$CPPFLAGS"
18033
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18035
save_LDFLAGS="$LDFLAGS"
18036
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18039
LIBS="$lt_cv_dlopen_libs $LIBS"
18041
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18042
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18043
if test "${lt_cv_dlopen_self+set}" = set; then
18044
echo $ECHO_N "(cached) $ECHO_C" >&6
18046
if test "$cross_compiling" = yes; then :
18047
lt_cv_dlopen_self=cross
18049
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18050
lt_status=$lt_dlunknown
18051
cat > conftest.$ac_ext <<EOF
18052
#line 18052 "configure"
18053
#include "confdefs.h"
18062
# define LT_DLGLOBAL RTLD_GLOBAL
18065
# define LT_DLGLOBAL DL_GLOBAL
18067
# define LT_DLGLOBAL 0
18071
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18072
find out it does not work in some platform. */
18073
#ifndef LT_DLLAZY_OR_NOW
18075
# define LT_DLLAZY_OR_NOW RTLD_LAZY
18078
# define LT_DLLAZY_OR_NOW DL_LAZY
18081
# define LT_DLLAZY_OR_NOW RTLD_NOW
18084
# define LT_DLLAZY_OR_NOW DL_NOW
18086
# define LT_DLLAZY_OR_NOW 0
18094
extern "C" void exit (int);
18097
void fnord() { int i=42;}
18100
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18101
int status = $lt_dlunknown;
18105
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18106
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18107
/* dlclose (self); */
18113
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18114
(eval $ac_link) 2>&5
18116
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18118
(./conftest; exit; ) 2>/dev/null
18120
case x$lt_status in
18121
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18122
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18123
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18126
# compilation failed
18127
lt_cv_dlopen_self=no
18134
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18135
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18137
if test "x$lt_cv_dlopen_self" = xyes; then
18138
LDFLAGS="$LDFLAGS $link_static_flag"
18139
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18140
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18141
if test "${lt_cv_dlopen_self_static+set}" = set; then
18142
echo $ECHO_N "(cached) $ECHO_C" >&6
18144
if test "$cross_compiling" = yes; then :
18145
lt_cv_dlopen_self_static=cross
18147
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18148
lt_status=$lt_dlunknown
18149
cat > conftest.$ac_ext <<EOF
18150
#line 18150 "configure"
18151
#include "confdefs.h"
18160
# define LT_DLGLOBAL RTLD_GLOBAL
18163
# define LT_DLGLOBAL DL_GLOBAL
18165
# define LT_DLGLOBAL 0
18169
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18170
find out it does not work in some platform. */
18171
#ifndef LT_DLLAZY_OR_NOW
18173
# define LT_DLLAZY_OR_NOW RTLD_LAZY
18176
# define LT_DLLAZY_OR_NOW DL_LAZY
18179
# define LT_DLLAZY_OR_NOW RTLD_NOW
18182
# define LT_DLLAZY_OR_NOW DL_NOW
18184
# define LT_DLLAZY_OR_NOW 0
18192
extern "C" void exit (int);
18195
void fnord() { int i=42;}
18198
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18199
int status = $lt_dlunknown;
18203
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18204
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18205
/* dlclose (self); */
18211
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18212
(eval $ac_link) 2>&5
18214
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18216
(./conftest; exit; ) 2>/dev/null
18218
case x$lt_status in
18219
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18220
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18221
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18224
# compilation failed
18225
lt_cv_dlopen_self_static=no
18232
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18233
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18236
CPPFLAGS="$save_CPPFLAGS"
18237
LDFLAGS="$save_LDFLAGS"
18242
case $lt_cv_dlopen_self in
18243
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18244
*) enable_dlopen_self=unknown ;;
18247
case $lt_cv_dlopen_self_static in
18248
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18249
*) enable_dlopen_self_static=unknown ;;
18254
18755
# The else clause should only fire when bootstrapping the
18255
18756
# libtool distribution, otherwise you forgot to ship ltmain.sh
20643
21359
# Name of the executable.
20644
as_me=`$as_basename "$0" ||
21360
as_me=`$as_basename -- "$0" ||
20645
21361
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20646
21362
X"$0" : 'X\(//\)$' \| \
20647
X"$0" : 'X\(/\)$' \| \
20648
. : '\(.\)' 2>/dev/null ||
21363
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20649
21364
echo X/"$0" |
20650
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20651
/^X\/\(\/\/\)$/{ s//\1/; q; }
20652
/^X\/\(\/\).*/{ s//\1/; q; }
20656
# PATH needs CR, and LINENO needs CR and PATH.
20657
# Avoid depending upon Character Ranges.
20658
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20659
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20660
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20661
as_cr_digits='0123456789'
20662
as_cr_alnum=$as_cr_Letters$as_cr_digits
20664
# The user is always right.
20665
if test "${PATH_SEPARATOR+set}" != set; then
20666
echo "#! /bin/sh" >conf$$.sh
20667
echo "exit 0" >>conf$$.sh
20669
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20678
as_lineno_1=$LINENO
20679
as_lineno_2=$LINENO
20680
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20681
test "x$as_lineno_1" != "x$as_lineno_2" &&
20682
test "x$as_lineno_3" = "x$as_lineno_2" || {
20683
# Find who we are. Look in the path if we contain no path at all
20686
*[\\/]* ) as_myself=$0 ;;
20687
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20688
for as_dir in $PATH
20691
test -z "$as_dir" && as_dir=.
20692
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20697
# We did not find ourselves, most probably we were run as `sh COMMAND'
20698
# in which case we are not to be found in the path.
20699
if test "x$as_myself" = x; then
20702
if test ! -f "$as_myself"; then
20703
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20704
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20705
{ (exit 1); exit 1; }; }
20707
case $CONFIG_SHELL in
20709
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20710
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20713
test -z "$as_dir" && as_dir=.
20714
for as_base in sh bash ksh sh5; do
20717
if ("$as_dir/$as_base" -c '
20718
as_lineno_1=$LINENO
20719
as_lineno_2=$LINENO
20720
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20721
test "x$as_lineno_1" != "x$as_lineno_2" &&
20722
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20723
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20724
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20725
CONFIG_SHELL=$as_dir/$as_base
20726
export CONFIG_SHELL
20727
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21365
sed '/^.*\/\([^/][^/]*\)\/*$/{
21384
as_lineno_1=$LINENO
21385
as_lineno_2=$LINENO
21386
test "x$as_lineno_1" != "x$as_lineno_2" &&
21387
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
20735
21389
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20736
21390
# uniformly replaced by the line number. The first 'sed' inserts a
20737
# line-number line before each line; the second 'sed' does the real
20738
# work. The second script uses 'N' to pair each line-number line
20739
# with the numbered line, and appends trailing '-' during
20740
# substitution so that $LINENO is not a special case at line end.
21391
# line-number line after each line using $LINENO; the second 'sed'
21392
# does the real work. The second script uses 'N' to pair each
21393
# line-number line with the line containing $LINENO, and appends
21394
# trailing '-' during substitution so that $LINENO is not a special
21395
# case at line end.
20741
21396
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20742
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20743
sed '=' <$as_myself |
21397
# scripts with optimization help from Paolo Bonzini. Blame Lee
21398
# E. McMahon (1931-1989) for sed's syntax. :-)
20748
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21410
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20751
s,^['$as_cr_digits']*\n,,
20752
21413
' >$as_me.lineno &&
20753
chmod +x $as_me.lineno ||
20754
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20755
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21414
chmod +x "$as_me.lineno" ||
21415
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20756
21416
{ (exit 1); exit 1; }; }
20758
21418
# Don't try to exec as it changes $[0], causing all sort of problems
20759
21419
# (the dirname of $[0] is not the place where we might find the
20760
# original and so on. Autoconf is especially sensible to this).
21420
# original and so on. Autoconf is especially sensitive to this).
21421
. "./$as_me.lineno"
20762
21422
# Exit status is that of the last command.
20767
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20768
*c*,-n*) ECHO_N= ECHO_C='
20770
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20771
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
21427
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21433
ECHO_C= ECHO_N= ECHO_T=
21434
case `echo -n x` in
21436
case `echo 'x\c'` in
21437
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
20774
if expr a : '\(a\)' >/dev/null 2>&1; then
21444
if expr a : '\(a\)' >/dev/null 2>&1 &&
21445
test "X`expr 00001 : '.*\(...\)'`" = X001; then
20777
21448
as_expr=false
20780
21451
rm -f conf$$ conf$$.exe conf$$.file
21452
if test -d conf$$.dir; then
21453
rm -f conf$$.dir/conf$$.file
20781
21458
echo >conf$$.file
20782
21459
if ln -s conf$$.file conf$$ 2>/dev/null; then
20783
# We could just check for DJGPP; but this test a) works b) is more generic
20784
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20785
if test -f conf$$.exe; then
20786
# Don't use ln at all; we don't have any links
21461
# ... but there are two gotchas:
21462
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21463
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21464
# In both cases, we have to default to `cp -p'.
21465
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20787
21466
as_ln_s='cp -p'
20791
21467
elif ln conf$$.file conf$$ 2>/dev/null; then
20794
21470
as_ln_s='cp -p'
20796
rm -f conf$$ conf$$.exe conf$$.file
21472
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21473
rmdir conf$$.dir 2>/dev/null
20798
21475
if mkdir -p . 2>/dev/null; then
21035
21702
# Have a temporary directory for convenience. Make it in the build tree
21036
# simply because there is no reason to put it here, and in addition,
21703
# simply because there is no reason against having it here, and in addition,
21037
21704
# creating and moving files from /tmp can sometimes cause problems.
21038
# Create a temporary directory, and hook for its removal unless debugging.
21705
# Hook for its removal unless debugging.
21706
# Note that there is a small window in which the directory will not be cleaned:
21707
# after its creation but before its name has been assigned to `$tmp'.
21041
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21711
trap 'exit_status=$?
21712
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21042
21714
trap '{ (exit 1); exit 1; }' 1 2 13 15
21045
21716
# Create a (secure) tmp directory for tmp files.
21048
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21719
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21049
21720
test -n "$tmp" && test -d "$tmp"
21052
tmp=./confstat$$-$RANDOM
21053
(umask 077 && mkdir $tmp)
21723
tmp=./conf$$-$RANDOM
21724
(umask 077 && mkdir "$tmp")
21056
21727
echo "$me: cannot create a temporary directory in ." >&2
21057
21728
{ (exit 1); exit 1; }
21062
cat >>$CONFIG_STATUS <<_ACEOF
21065
# CONFIG_FILES section.
21732
# Set up the sed scripts for CONFIG_FILES section.
21068
21735
# No need to generate the scripts if there are no CONFIG_FILES.
21069
21736
# This happens for instance when ./config.status config.h
21070
if test -n "\$CONFIG_FILES"; then
21071
# Protect against being on the right side of a sed subst in config.status.
21072
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21073
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21074
s,@SHELL@,$SHELL,;t t
21075
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21076
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21077
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21078
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21079
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21080
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21081
s,@exec_prefix@,$exec_prefix,;t t
21082
s,@prefix@,$prefix,;t t
21083
s,@program_transform_name@,$program_transform_name,;t t
21084
s,@bindir@,$bindir,;t t
21085
s,@sbindir@,$sbindir,;t t
21086
s,@libexecdir@,$libexecdir,;t t
21087
s,@datadir@,$datadir,;t t
21088
s,@sysconfdir@,$sysconfdir,;t t
21089
s,@sharedstatedir@,$sharedstatedir,;t t
21090
s,@localstatedir@,$localstatedir,;t t
21091
s,@libdir@,$libdir,;t t
21092
s,@includedir@,$includedir,;t t
21093
s,@oldincludedir@,$oldincludedir,;t t
21094
s,@infodir@,$infodir,;t t
21095
s,@mandir@,$mandir,;t t
21096
s,@build_alias@,$build_alias,;t t
21097
s,@host_alias@,$host_alias,;t t
21098
s,@target_alias@,$target_alias,;t t
21099
s,@DEFS@,$DEFS,;t t
21100
s,@ECHO_C@,$ECHO_C,;t t
21101
s,@ECHO_N@,$ECHO_N,;t t
21102
s,@ECHO_T@,$ECHO_T,;t t
21103
s,@LIBS@,$LIBS,;t t
21104
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21105
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21106
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21107
s,@CYGPATH_W@,$CYGPATH_W,;t t
21108
s,@PACKAGE@,$PACKAGE,;t t
21109
s,@VERSION@,$VERSION,;t t
21110
s,@ACLOCAL@,$ACLOCAL,;t t
21111
s,@AUTOCONF@,$AUTOCONF,;t t
21112
s,@AUTOMAKE@,$AUTOMAKE,;t t
21113
s,@AUTOHEADER@,$AUTOHEADER,;t t
21114
s,@MAKEINFO@,$MAKEINFO,;t t
21115
s,@AMTAR@,$AMTAR,;t t
21116
s,@install_sh@,$install_sh,;t t
21117
s,@STRIP@,$STRIP,;t t
21118
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21119
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21121
s,@SET_MAKE@,$SET_MAKE,;t t
21122
s,@am__leading_dot@,$am__leading_dot,;t t
21123
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21124
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21125
s,@MAINT@,$MAINT,;t t
21127
s,@CFLAGS@,$CFLAGS,;t t
21128
s,@LDFLAGS@,$LDFLAGS,;t t
21129
s,@CPPFLAGS@,$CPPFLAGS,;t t
21130
s,@ac_ct_CC@,$ac_ct_CC,;t t
21131
s,@EXEEXT@,$EXEEXT,;t t
21132
s,@OBJEXT@,$OBJEXT,;t t
21133
s,@DEPDIR@,$DEPDIR,;t t
21134
s,@am__include@,$am__include,;t t
21135
s,@am__quote@,$am__quote,;t t
21136
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21137
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21138
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21139
s,@CCDEPMODE@,$CCDEPMODE,;t t
21140
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21141
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21142
s,@build@,$build,;t t
21143
s,@build_cpu@,$build_cpu,;t t
21144
s,@build_vendor@,$build_vendor,;t t
21145
s,@build_os@,$build_os,;t t
21146
s,@host@,$host,;t t
21147
s,@host_cpu@,$host_cpu,;t t
21148
s,@host_vendor@,$host_vendor,;t t
21149
s,@host_os@,$host_os,;t t
21150
s,@EGREP@,$EGREP,;t t
21151
s,@LN_S@,$LN_S,;t t
21152
s,@ECHO@,$ECHO,;t t
21154
s,@ac_ct_AR@,$ac_ct_AR,;t t
21155
s,@RANLIB@,$RANLIB,;t t
21156
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21159
s,@CXXFLAGS@,$CXXFLAGS,;t t
21160
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21161
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21162
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21163
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21164
s,@CXXCPP@,$CXXCPP,;t t
21166
s,@FFLAGS@,$FFLAGS,;t t
21167
s,@ac_ct_F77@,$ac_ct_F77,;t t
21168
s,@LIBTOOL@,$LIBTOOL,;t t
21169
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21170
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
21171
s,@XRENDER_CFLAGS@,$XRENDER_CFLAGS,;t t
21172
s,@XRENDER_LIBS@,$XRENDER_LIBS,;t t
21173
s,@FREETYPE_CFLAGS@,$FREETYPE_CFLAGS,;t t
21174
s,@FREETYPE_LIBS@,$FREETYPE_LIBS,;t t
21175
s,@ft_config@,$ft_config,;t t
21176
s,@FONTCONFIG_CFLAGS@,$FONTCONFIG_CFLAGS,;t t
21177
s,@FONTCONFIG_LIBS@,$FONTCONFIG_LIBS,;t t
21178
s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
21179
s,@LIBOBJS@,$LIBOBJS,;t t
21180
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21185
cat >>$CONFIG_STATUS <<\_ACEOF
21186
# Split the substitutions into bite-sized pieces for seds with
21187
# small command number limits, like on Digital OSF/1 and HP-UX.
21188
ac_max_sed_lines=48
21189
ac_sed_frag=1 # Number of current file.
21190
ac_beg=1 # First line for current file.
21191
ac_end=$ac_max_sed_lines # Line after last line for current file.
21194
while $ac_more_lines; do
21195
if test $ac_beg -gt 1; then
21196
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21198
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21200
if test ! -s $tmp/subs.frag; then
21201
ac_more_lines=false
21203
# The purpose of the label and of the branching condition is to
21204
# speed up the sed processing (if there are no `@' at all, there
21205
# is no need to browse any of the substitutions).
21206
# These are the two extra sed commands mentioned above.
21208
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21209
if test -z "$ac_sed_cmds"; then
21210
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21212
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21214
ac_sed_frag=`expr $ac_sed_frag + 1`
21216
ac_end=`expr $ac_end + $ac_max_sed_lines`
21219
if test -z "$ac_sed_cmds"; then
21737
if test -n "$CONFIG_FILES"; then
21744
for ac_last_try in false false false false false :; do
21745
cat >conf$$subs.sed <<_ACEOF
21746
SHELL!$SHELL$ac_delim
21747
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21748
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21749
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21750
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21751
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21752
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21753
exec_prefix!$exec_prefix$ac_delim
21754
prefix!$prefix$ac_delim
21755
program_transform_name!$program_transform_name$ac_delim
21756
bindir!$bindir$ac_delim
21757
sbindir!$sbindir$ac_delim
21758
libexecdir!$libexecdir$ac_delim
21759
datarootdir!$datarootdir$ac_delim
21760
datadir!$datadir$ac_delim
21761
sysconfdir!$sysconfdir$ac_delim
21762
sharedstatedir!$sharedstatedir$ac_delim
21763
localstatedir!$localstatedir$ac_delim
21764
includedir!$includedir$ac_delim
21765
oldincludedir!$oldincludedir$ac_delim
21766
docdir!$docdir$ac_delim
21767
infodir!$infodir$ac_delim
21768
htmldir!$htmldir$ac_delim
21769
dvidir!$dvidir$ac_delim
21770
pdfdir!$pdfdir$ac_delim
21771
psdir!$psdir$ac_delim
21772
libdir!$libdir$ac_delim
21773
localedir!$localedir$ac_delim
21774
mandir!$mandir$ac_delim
21775
DEFS!$DEFS$ac_delim
21776
ECHO_C!$ECHO_C$ac_delim
21777
ECHO_N!$ECHO_N$ac_delim
21778
ECHO_T!$ECHO_T$ac_delim
21779
LIBS!$LIBS$ac_delim
21780
build_alias!$build_alias$ac_delim
21781
host_alias!$host_alias$ac_delim
21782
target_alias!$target_alias$ac_delim
21783
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21784
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21785
INSTALL_DATA!$INSTALL_DATA$ac_delim
21786
CYGPATH_W!$CYGPATH_W$ac_delim
21787
PACKAGE!$PACKAGE$ac_delim
21788
VERSION!$VERSION$ac_delim
21789
ACLOCAL!$ACLOCAL$ac_delim
21790
AUTOCONF!$AUTOCONF$ac_delim
21791
AUTOMAKE!$AUTOMAKE$ac_delim
21792
AUTOHEADER!$AUTOHEADER$ac_delim
21793
MAKEINFO!$MAKEINFO$ac_delim
21794
install_sh!$install_sh$ac_delim
21795
STRIP!$STRIP$ac_delim
21796
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21797
mkdir_p!$mkdir_p$ac_delim
21799
SET_MAKE!$SET_MAKE$ac_delim
21800
am__leading_dot!$am__leading_dot$ac_delim
21801
AMTAR!$AMTAR$ac_delim
21802
am__tar!$am__tar$ac_delim
21803
am__untar!$am__untar$ac_delim
21804
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
21805
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
21806
MAINT!$MAINT$ac_delim
21808
CFLAGS!$CFLAGS$ac_delim
21809
LDFLAGS!$LDFLAGS$ac_delim
21810
CPPFLAGS!$CPPFLAGS$ac_delim
21811
ac_ct_CC!$ac_ct_CC$ac_delim
21812
EXEEXT!$EXEEXT$ac_delim
21813
OBJEXT!$OBJEXT$ac_delim
21814
DEPDIR!$DEPDIR$ac_delim
21815
am__include!$am__include$ac_delim
21816
am__quote!$am__quote$ac_delim
21817
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21818
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21819
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21820
CCDEPMODE!$CCDEPMODE$ac_delim
21821
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21822
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21823
build!$build$ac_delim
21824
build_cpu!$build_cpu$ac_delim
21825
build_vendor!$build_vendor$ac_delim
21826
build_os!$build_os$ac_delim
21827
host!$host$ac_delim
21828
host_cpu!$host_cpu$ac_delim
21829
host_vendor!$host_vendor$ac_delim
21830
host_os!$host_os$ac_delim
21831
GREP!$GREP$ac_delim
21832
EGREP!$EGREP$ac_delim
21833
LN_S!$LN_S$ac_delim
21834
ECHO!$ECHO$ac_delim
21836
RANLIB!$RANLIB$ac_delim
21839
CXXFLAGS!$CXXFLAGS$ac_delim
21840
ac_ct_CXX!$ac_ct_CXX$ac_delim
21841
CXXDEPMODE!$CXXDEPMODE$ac_delim
21842
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21845
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21847
elif $ac_last_try; then
21848
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21849
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21850
{ (exit 1); exit 1; }; }
21852
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21856
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21857
if test -n "$ac_eof"; then
21858
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21859
ac_eof=`expr $ac_eof + 1`
21862
cat >>$CONFIG_STATUS <<_ACEOF
21863
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21864
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21867
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21868
s/^/s,@/; s/!/@,|#_!!_#|/
21871
s/'"$ac_delim"'$/,g/; t
21873
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21874
' >>$CONFIG_STATUS <conf$$subs.sed
21875
rm -f conf$$subs.sed
21876
cat >>$CONFIG_STATUS <<_ACEOF
21882
for ac_last_try in false false false false false :; do
21883
cat >conf$$subs.sed <<_ACEOF
21884
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21885
CXXCPP!$CXXCPP$ac_delim
21887
FFLAGS!$FFLAGS$ac_delim
21888
ac_ct_F77!$ac_ct_F77$ac_delim
21889
LIBTOOL!$LIBTOOL$ac_delim
21890
PKG_CONFIG!$PKG_CONFIG$ac_delim
21891
XRENDER_CFLAGS!$XRENDER_CFLAGS$ac_delim
21892
XRENDER_LIBS!$XRENDER_LIBS$ac_delim
21893
XMKMF!$XMKMF$ac_delim
21894
FREETYPE_CFLAGS!$FREETYPE_CFLAGS$ac_delim
21895
FREETYPE_LIBS!$FREETYPE_LIBS$ac_delim
21896
ft_config!$ft_config$ac_delim
21897
FONTCONFIG_CFLAGS!$FONTCONFIG_CFLAGS$ac_delim
21898
FONTCONFIG_LIBS!$FONTCONFIG_LIBS$ac_delim
21899
WARN_CFLAGS!$WARN_CFLAGS$ac_delim
21900
LIBOBJS!$LIBOBJS$ac_delim
21901
LTLIBOBJS!$LTLIBOBJS$ac_delim
21904
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 18; then
21906
elif $ac_last_try; then
21907
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21908
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21909
{ (exit 1); exit 1; }; }
21911
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21915
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21916
if test -n "$ac_eof"; then
21917
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21918
ac_eof=`expr $ac_eof + 1`
21921
cat >>$CONFIG_STATUS <<_ACEOF
21922
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21923
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21926
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21927
s/^/s,@/; s/!/@,|#_!!_#|/
21930
s/'"$ac_delim"'$/,g/; t
21932
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21933
' >>$CONFIG_STATUS <conf$$subs.sed
21934
rm -f conf$$subs.sed
21935
cat >>$CONFIG_STATUS <<_ACEOF
21942
# VPATH may cause trouble with some makes, so we remove $(srcdir),
21943
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21944
# trailing colons and then remove the whole line if VPATH becomes empty
21945
# (actually we leave an empty line to preserve line numbers).
21946
if test "x$srcdir" = x.; then
21947
ac_vpsub='/^[ ]*VPATH[ ]*=/{
21948
s/:*\$(srcdir):*/:/
21949
s/:*\${srcdir}:*/:/
21951
s/^\([^=]*=[ ]*\):*/\1/
21957
cat >>$CONFIG_STATUS <<\_ACEOF
21222
21958
fi # test -n "$CONFIG_FILES"
21225
cat >>$CONFIG_STATUS <<\_ACEOF
21226
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21227
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21229
- | *:- | *:-:* ) # input from stdin
21231
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21232
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21233
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21234
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21235
* ) ac_file_in=$ac_file.in ;;
21238
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21239
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21961
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
21964
:[FHLC]) ac_mode=$ac_tag; continue;;
21966
case $ac_mode$ac_tag in
21968
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21969
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21970
{ (exit 1); exit 1; }; };;
21971
:[FH]-) ac_tag=-:-;;
21972
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21989
-) ac_f="$tmp/stdin";;
21990
*) # Look for the file first in the build tree, then in the source tree
21991
# (if the path is not absolute). The absolute path cannot be DOS-style,
21992
# because $ac_f cannot contain `:'.
21996
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21998
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21999
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22000
{ (exit 1); exit 1; }; };;
22002
ac_file_inputs="$ac_file_inputs $ac_f"
22005
# Let's still pretend it is `configure' which instantiates (i.e., don't
22006
# use $as_me), people would be surprised to read:
22007
# /* config.h. Generated by config.status. */
22008
configure_input="Generated from "`IFS=:
22009
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22010
if test x"$ac_file" != x-; then
22011
configure_input="$ac_file. $configure_input"
22012
{ echo "$as_me:$LINENO: creating $ac_file" >&5
22013
echo "$as_me: creating $ac_file" >&6;}
22017
*:-:* | *:-) cat >"$tmp/stdin";;
22022
ac_dir=`$as_dirname -- "$ac_file" ||
21240
22023
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21241
22024
X"$ac_file" : 'X\(//\)[^/]' \| \
21242
22025
X"$ac_file" : 'X\(//\)$' \| \
21243
X"$ac_file" : 'X\(/\)' \| \
21244
. : '\(.\)' 2>/dev/null ||
22026
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21245
22027
echo X"$ac_file" |
21246
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21247
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21248
/^X\(\/\/\)$/{ s//\1/; q; }
21249
/^X\(\/\).*/{ s//\1/; q; }
21251
{ if $as_mkdir_p; then
22028
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22032
/^X\(\/\/\)[^/].*/{
22047
-*) as_dir=./$as_dir;;
22049
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21256
while test ! -d "$as_dir"; do
21257
as_dirs="$as_dir $as_dirs"
21258
as_dir=`(dirname "$as_dir") 2>/dev/null ||
22053
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22054
*) as_qdir=$as_dir;;
22056
as_dirs="'$as_qdir' $as_dirs"
22057
as_dir=`$as_dirname -- "$as_dir" ||
21259
22058
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21260
22059
X"$as_dir" : 'X\(//\)[^/]' \| \
21261
22060
X"$as_dir" : 'X\(//\)$' \| \
21262
X"$as_dir" : 'X\(/\)' \| \
21263
. : '\(.\)' 2>/dev/null ||
22061
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21264
22062
echo X"$as_dir" |
21265
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21266
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21267
/^X\(\/\/\)$/{ s//\1/; q; }
21268
/^X\(\/\).*/{ s//\1/; q; }
22063
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22067
/^X\(\/\/\)[^/].*/{
22080
test -d "$as_dir" && break
21271
test ! -n "$as_dirs" || mkdir $as_dirs
21272
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21273
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22082
test -z "$as_dirs" || eval "mkdir $as_dirs"
22083
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22084
echo "$as_me: error: cannot create directory $as_dir" >&2;}
21274
22085
{ (exit 1); exit 1; }; }; }
21276
22086
ac_builddir=.
21278
if test "$ac_dir" != .; then
22089
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21279
22091
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21280
# A "../" for each directory in $ac_dir_suffix.
21281
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21283
ac_dir_suffix= ac_top_builddir=
22092
# A ".." for each directory in $ac_dir_suffix.
22093
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22094
case $ac_top_builddir_sub in
22095
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22096
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22099
ac_abs_top_builddir=$ac_pwd
22100
ac_abs_builddir=$ac_pwd$ac_dir_suffix
22101
# for backward compatibility:
22102
ac_top_builddir=$ac_top_build_prefix
21286
22104
case $srcdir in
21287
.) # No --srcdir option. We are building in place.
22105
.) # We are building in place.
21289
if test -z "$ac_top_builddir"; then
21292
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21294
[\\/]* | ?:[\\/]* ) # Absolute path.
22107
ac_top_srcdir=$ac_top_builddir_sub
22108
ac_abs_top_srcdir=$ac_pwd ;;
22109
[\\/]* | ?:[\\/]* ) # Absolute name.
21295
22110
ac_srcdir=$srcdir$ac_dir_suffix;
21296
ac_top_srcdir=$srcdir ;;
21297
*) # Relative path.
21298
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21299
ac_top_srcdir=$ac_top_builddir$srcdir ;;
21302
# Do not use `cd foo && pwd` to compute absolute paths, because
21303
# the directories may not exist.
21305
.) ac_abs_builddir="$ac_dir";;
21308
.) ac_abs_builddir=`pwd`;;
21309
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21310
*) ac_abs_builddir=`pwd`/"$ac_dir";;
21313
case $ac_abs_builddir in
21314
.) ac_abs_top_builddir=${ac_top_builddir}.;;
21316
case ${ac_top_builddir}. in
21317
.) ac_abs_top_builddir=$ac_abs_builddir;;
21318
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21319
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21322
case $ac_abs_builddir in
21323
.) ac_abs_srcdir=$ac_srcdir;;
21326
.) ac_abs_srcdir=$ac_abs_builddir;;
21327
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21328
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21331
case $ac_abs_builddir in
21332
.) ac_abs_top_srcdir=$ac_top_srcdir;;
21334
case $ac_top_srcdir in
21335
.) ac_abs_top_srcdir=$ac_abs_builddir;;
21336
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21337
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22111
ac_top_srcdir=$srcdir
22112
ac_abs_top_srcdir=$srcdir ;;
22113
*) # Relative name.
22114
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22115
ac_top_srcdir=$ac_top_build_prefix$srcdir
22116
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22118
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21342
22127
case $INSTALL in
21343
22128
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21344
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
22129
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21347
if test x"$ac_file" != x-; then
21348
{ echo "$as_me:$LINENO: creating $ac_file" >&5
21349
echo "$as_me: creating $ac_file" >&6;}
21352
# Let's still pretend it is `configure' which instantiates (i.e., don't
21353
# use $as_me), people would be surprised to read:
21354
# /* config.h. Generated by config.status. */
21355
if test x"$ac_file" = x-; then
21358
configure_input="$ac_file. "
21360
configure_input=$configure_input"Generated from `echo $ac_file_in |
21361
sed 's,.*/,,'` by configure."
21363
# First look for the input files in the build tree, otherwise in the
21365
ac_file_inputs=`IFS=:
21366
for f in $ac_file_in; do
21368
-) echo $tmp/stdin ;;
21370
# Absolute (can't be DOS-style, as IFS=:)
21371
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21372
echo "$as_me: error: cannot find input file: $f" >&2;}
21373
{ (exit 1); exit 1; }; }
21376
if test -f "$f"; then
21379
elif test -f "$srcdir/$f"; then
21384
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21385
echo "$as_me: error: cannot find input file: $f" >&2;}
21386
{ (exit 1); exit 1; }; }
21389
done` || { (exit 1); exit 1; }
22133
cat >>$CONFIG_STATUS <<\_ACEOF
22134
# If the template does not know about datarootdir, expand it.
22135
# FIXME: This hack should be removed a few years after 2.60.
22136
ac_datarootdir_hack=; ac_datarootdir_seen=
22138
case `sed -n '/datarootdir/ {
22147
' $ac_file_inputs` in
22148
*datarootdir*) ac_datarootdir_seen=yes;;
22149
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22150
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22151
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22153
cat >>$CONFIG_STATUS <<_ACEOF
22154
ac_datarootdir_hack='
22155
s&@datadir@&$datadir&g
22156
s&@docdir@&$docdir&g
22157
s&@infodir@&$infodir&g
22158
s&@localedir@&$localedir&g
22159
s&@mandir@&$mandir&g
22160
s&\\\${datarootdir}&$datarootdir&g' ;;
22164
# Neutralize VPATH when `$srcdir' = `.'.
22165
# Shell code in configure.ac might set extrasub.
22166
# FIXME: do we really want to maintain this feature?
21391
22167
cat >>$CONFIG_STATUS <<_ACEOF
21392
22168
sed "$ac_vpsub
21395
22171
cat >>$CONFIG_STATUS <<\_ACEOF
21397
22173
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21398
s,@configure_input@,$configure_input,;t t
21399
s,@srcdir@,$ac_srcdir,;t t
21400
s,@abs_srcdir@,$ac_abs_srcdir,;t t
21401
s,@top_srcdir@,$ac_top_srcdir,;t t
21402
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21403
s,@builddir@,$ac_builddir,;t t
21404
s,@abs_builddir@,$ac_abs_builddir,;t t
21405
s,@top_builddir@,$ac_top_builddir,;t t
21406
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21407
s,@INSTALL@,$ac_INSTALL,;t t
21408
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21410
if test x"$ac_file" != x-; then
21411
mv $tmp/out $ac_file
22174
s&@configure_input@&$configure_input&;t t
22175
s&@top_builddir@&$ac_top_builddir_sub&;t t
22176
s&@srcdir@&$ac_srcdir&;t t
22177
s&@abs_srcdir@&$ac_abs_srcdir&;t t
22178
s&@top_srcdir@&$ac_top_srcdir&;t t
22179
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22180
s&@builddir@&$ac_builddir&;t t
22181
s&@abs_builddir@&$ac_abs_builddir&;t t
22182
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22183
s&@INSTALL@&$ac_INSTALL&;t t
22184
$ac_datarootdir_hack
22185
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22187
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22188
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22189
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22190
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22191
which seems to be undefined. Please make sure it is defined." >&5
22192
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22193
which seems to be undefined. Please make sure it is defined." >&2;}
22197
-) cat "$tmp/out"; rm -f "$tmp/out";;
22198
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21419
cat >>$CONFIG_STATUS <<\_ACEOF
21422
# CONFIG_HEADER section.
21425
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21426
# NAME is the cpp macro being defined and VALUE is the value it is being given.
21428
# ac_d sets the value in "#define NAME VALUE" lines.
21429
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21430
ac_dB='[ ].*$,\1#\2'
22207
# Transform confdefs.h into a sed script `conftest.defines', that
22208
# substitutes the proper values into config.h.in to produce config.h.
22209
rm -f conftest.defines conftest.tail
22210
# First, append a space to every undef/define line, to ease matching.
22211
echo 's/$/ /' >conftest.defines
22212
# Then, protect against being on the right side of a sed subst, or in
22213
# an unquoted here document, in config.status. If some macros were
22214
# called several times there might be several #defines for the same
22215
# symbol, which is useless. But do not sort them, since the last
22216
# AC_DEFINE must be honored.
22217
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22218
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22219
# NAME is the cpp macro being defined, VALUE is the value it is being given.
22220
# PARAMS is the parameter list in the macro definition--in most cases, it's
22221
# just an empty string.
22222
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22223
ac_dB='\\)[ (].*,\\1define\\2'
21433
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21434
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21435
ac_uB='$,\1#\2define\3'
21439
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21440
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21442
- | *:- | *:-:* ) # input from stdin
21444
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21445
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21446
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21447
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21448
* ) ac_file_in=$ac_file.in ;;
21451
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21452
echo "$as_me: creating $ac_file" >&6;}
21454
# First look for the input files in the build tree, otherwise in the
21456
ac_file_inputs=`IFS=:
21457
for f in $ac_file_in; do
21459
-) echo $tmp/stdin ;;
21461
# Absolute (can't be DOS-style, as IFS=:)
21462
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21463
echo "$as_me: error: cannot find input file: $f" >&2;}
21464
{ (exit 1); exit 1; }; }
21465
# Do quote $f, to prevent DOS paths from being IFS'd.
21468
if test -f "$f"; then
21471
elif test -f "$srcdir/$f"; then
21476
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21477
echo "$as_me: error: cannot find input file: $f" >&2;}
21478
{ (exit 1); exit 1; }; }
21481
done` || { (exit 1); exit 1; }
21482
# Remove the trailing spaces.
21483
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21487
# Transform confdefs.h into two sed scripts, `conftest.defines' and
21488
# `conftest.undefs', that substitutes the proper values into
21489
# config.h.in to produce config.h. The first handles `#define'
21490
# templates, and the second `#undef' templates.
21491
# And first: Protect against being on the right side of a sed subst in
21492
# config.status. Protect against being in an unquoted here document
21493
# in config.status.
21494
rm -f conftest.defines conftest.undefs
21495
# Using a here document instead of a string reduces the quoting nightmare.
21496
# Putting comments in sed scripts is not portable.
21498
# `end' is used to avoid that the second main sed command (meant for
21499
# 0-ary CPP macros) applies to n-ary macro definitions.
21500
# See the Autoconf documentation for `clear'.
21501
cat >confdef2sed.sed <<\_ACEOF
21506
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21508
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21511
# If some macros were called several times there might be several times
21512
# the same #defines, which is useless. Nevertheless, we may not want to
21513
# sort them, since we want the *last* AC-DEFINE to be honored.
21514
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21515
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21516
rm -f confdef2sed.sed
21518
# This sed command replaces #undef with comments. This is necessary, for
22231
s/^[ ]*#[ ]*define[ ][ ]*//
22236
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22237
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22238
' >>conftest.defines
22240
# Remove the space that was appended to ease matching.
22241
# Then replace #undef with comments. This is necessary, for
21519
22242
# example, in the case of _POSIX_SOURCE, which is predefined and required
21520
22243
# on some systems where configure will not decide to define it.
21521
cat >>conftest.undefs <<\_ACEOF
21522
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22244
# (The regexp can be short, since the line contains either #define or #undef.)
22246
s,^[ #]*u.*,/* & */,' >>conftest.defines
22248
# Break up conftest.defines:
22249
ac_max_sed_lines=50
22251
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22252
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22253
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22255
ac_in='$ac_file_inputs'
22256
ac_out='"$tmp/out1"'
22257
ac_nxt='"$tmp/out2"'
22261
# Write a here document:
22262
cat >>$CONFIG_STATUS <<_ACEOF
22263
# First, check the format of the line:
22264
cat >"\$tmp/defines.sed" <<\\CEOF
22265
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22266
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21525
# Break up conftest.defines because some shells have a limit on the size
21526
# of here documents, and old seds have small limits too (100 cmds).
21527
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21528
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21529
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21530
echo ' :' >>$CONFIG_STATUS
21531
rm -f conftest.tail
21532
while grep . conftest.defines >/dev/null
21534
# Write a limited-size here document to $tmp/defines.sed.
21535
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21536
# Speed up: don't consider the non `#define' lines.
21537
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21538
# Work around the forget-to-reset-the-flag bug.
21539
echo 't clr' >>$CONFIG_STATUS
21540
echo ': clr' >>$CONFIG_STATUS
21541
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
22270
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
21543
sed -f $tmp/defines.sed $tmp/in >$tmp/out
21545
mv $tmp/out $tmp/in
21547
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
22272
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22273
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22274
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22275
grep . conftest.tail >/dev/null || break
21548
22276
rm -f conftest.defines
21549
22277
mv conftest.tail conftest.defines
21551
rm -f conftest.defines
21552
echo ' fi # grep' >>$CONFIG_STATUS
21553
echo >>$CONFIG_STATUS
21555
# Break up conftest.undefs because some shells have a limit on the size
21556
# of here documents, and old seds have small limits too (100 cmds).
21557
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21558
rm -f conftest.tail
21559
while grep . conftest.undefs >/dev/null
21561
# Write a limited-size here document to $tmp/undefs.sed.
21562
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21563
# Speed up: don't consider the non `#undef'
21564
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21565
# Work around the forget-to-reset-the-flag bug.
21566
echo 't clr' >>$CONFIG_STATUS
21567
echo ': clr' >>$CONFIG_STATUS
21568
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21570
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21572
mv $tmp/out $tmp/in
21574
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21575
rm -f conftest.undefs
21576
mv conftest.tail conftest.undefs
21578
rm -f conftest.undefs
22279
rm -f conftest.defines conftest.tail
22281
echo "ac_result=$ac_in" >>$CONFIG_STATUS
21580
22282
cat >>$CONFIG_STATUS <<\_ACEOF
21581
# Let's still pretend it is `configure' which instantiates (i.e., don't
21582
# use $as_me), people would be surprised to read:
21583
# /* config.h. Generated by config.status. */
21584
if test x"$ac_file" = x-; then
21585
echo "/* Generated by configure. */" >$tmp/config.h
21587
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21589
cat $tmp/in >>$tmp/config.h
21591
22283
if test x"$ac_file" != x-; then
21592
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
22284
echo "/* $configure_input */" >"$tmp/config.h"
22285
cat "$ac_result" >>"$tmp/config.h"
22286
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
21593
22287
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21594
22288
echo "$as_me: $ac_file is unchanged" >&6;}
21596
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21597
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21598
X"$ac_file" : 'X\(//\)[^/]' \| \
21599
X"$ac_file" : 'X\(//\)$' \| \
21600
X"$ac_file" : 'X\(/\)' \| \
21601
. : '\(.\)' 2>/dev/null ||
21603
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21604
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21605
/^X\(\/\/\)$/{ s//\1/; q; }
21606
/^X\(\/\).*/{ s//\1/; q; }
21608
{ if $as_mkdir_p; then
21613
while test ! -d "$as_dir"; do
21614
as_dirs="$as_dir $as_dirs"
21615
as_dir=`(dirname "$as_dir") 2>/dev/null ||
21616
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21617
X"$as_dir" : 'X\(//\)[^/]' \| \
21618
X"$as_dir" : 'X\(//\)$' \| \
21619
X"$as_dir" : 'X\(/\)' \| \
21620
. : '\(.\)' 2>/dev/null ||
21622
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21623
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21624
/^X\(\/\/\)$/{ s//\1/; q; }
21625
/^X\(\/\).*/{ s//\1/; q; }
21628
test ! -n "$as_dirs" || mkdir $as_dirs
21629
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21630
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21631
{ (exit 1); exit 1; }; }; }
21633
22290
rm -f $ac_file
21634
mv $tmp/config.h $ac_file
22291
mv "$tmp/config.h" $ac_file
21638
rm -f $tmp/config.h
22294
echo "/* $configure_input */"
21640
22298
# Compute $ac_file's index in $config_headers.
21641
22299
_am_stamp_count=1
21642
22300
for _am_header in $config_headers :; do