2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62 for FreeType 2.3.7.
5 # Report bugs to <freetype@nongnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x
; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var
in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
144 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me
=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x
; then
176 if (eval ":") 2>/dev
/null
; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev
/null
; then
242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
243 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir
=.
249 for as_base
in sh bash ksh sh5
; do
250 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
257 for as_shell
in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
279 CONFIG_SHELL
=$as_shell
281 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix
*) set -o posix
;;
307 as_func_ret_success
() {
310 as_func_ret_failure
() {
315 if as_func_success
; then
319 echo as_func_success failed.
322 if as_func_failure
; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success
; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure
; then
336 echo as_func_ret_failure succeeded.
339 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) ||
{ (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x
; then
364 for as_var
in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no
; then
373 echo This
script requires a shell
more modern than all the
374 echo shells that I found on your system. Please
install a
375 echo modern shell
, or manually run the
script under such a
376 echo shell
if you
do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") ||
{
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system
,
438 echo including any error possibly output before this message.
439 echo This can
help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x
"$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
494 ECHO_C
= ECHO_N
= ECHO_T
=
498 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
504 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
511 rm -f conf$$ conf$$.exe conf$$.
file
512 if test -d conf$$.dir
; then
513 rm -f conf$$.dir
/conf$$.
file
516 mkdir conf$$.dir
2>/dev
/null
518 if (echo >conf$$.
file) 2>/dev
/null
; then
519 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
527 elif ln conf$$.
file conf$$
2>/dev
/null
; then
535 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
536 rmdir conf$$.dir
2>/dev
/null
538 if mkdir
-p .
2>/dev
/null
; then
541 test -d .
/-p && rmdir .
/-p
545 if test -x / >/dev
/null
2>&1; then
548 if ls -dL / >/dev
/null
2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p
=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 # Check that we are running under the correct shell.
578 SHELL
=${CONFIG_SHELL-/bin/sh}
582 # Remove one level of quotation (which was required for Make).
583 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
588 if test "X$1" = X--no-reexec
; then
589 # Discard the --no-reexec flag, and continue.
591 elif test "X$1" = X--fallback-echo
; then
592 # Avoid inline document here, it may be left over
594 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595 # Yippee, $ECHO works!
598 # Restart under the correct shell.
599 exec $SHELL "$0" --no-reexec ${1+"$@"}
602 if test "X$1" = X--fallback-echo
; then
603 # used as fallback echo
611 # The HP-UX ksh and POSIX shell print the target directory to stdout
613 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
615 if test -z "$lt_ECHO"; then
616 if test "X${echo_test_string+set}" != Xset
; then
617 # find a string as large as possible, as long as the shell can cope with it
618 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
621 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
628 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # The Solaris, AIX, and Digital Unix default echo programs unquote
634 # backslashes. This makes it impossible to quote backslashes using
635 # echo "$something" | sed 's/\\/\\\\/g'
637 # So, first we look for a working echo in the user's PATH.
639 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
640 for dir
in $PATH /usr
/ucb
; do
642 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
643 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645 test "X$echo_testing_string" = "X$echo_test_string"; then
652 if test "X$ECHO" = Xecho
; then
653 # We didn't find a better echo, so look for alternatives.
654 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
657 # This shell has a builtin print -r that does the trick.
659 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
660 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
661 # If we have ksh, try running configure again with it.
662 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
663 export ORIGINAL_CONFIG_SHELL
664 CONFIG_SHELL
=/bin
/ksh
666 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
670 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672 test "X$echo_testing_string" = "X$echo_test_string"; then
675 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676 test "X$echo_testing_string" = 'X\t' &&
677 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678 test "X$echo_testing_string" = "X$echo_test_string"; then
679 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
681 SHELL
="$CONFIG_SHELL"
683 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
684 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685 test "X$echo_testing_string" = 'X\t' &&
686 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687 test "X$echo_testing_string" = "X$echo_test_string"; then
688 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
690 # maybe with a smaller string...
693 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
701 if test "$prev" != 'sed 50q "$0"'; then
702 echo_test_string
=`eval $prev`
703 export echo_test_string
704 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706 # Oops. We lost completely, so just stick with echo.
715 # Copy echo and quote the copy suitably for passing to libtool from
716 # the Makefile, instead of quoting the original, which is used later.
718 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
725 exec 7<&0 </dev
/null
6>&1
728 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
729 # so uname gets run too.
730 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
735 ac_default_prefix
=/usr
/local
737 ac_config_libobj_dir
=.
743 SHELL
=${CONFIG_SHELL-/bin/sh}
745 # Identity of this package.
746 PACKAGE_NAME
='FreeType'
747 PACKAGE_TARNAME
='freetype'
748 PACKAGE_VERSION
='2.3.7'
749 PACKAGE_STRING
='FreeType 2.3.7'
750 PACKAGE_BUGREPORT
='freetype@nongnu.org'
752 ac_unique_file
="ftconfig.in"
753 # Factoring default headers for most tests.
754 ac_includes_default
="\
756 #ifdef HAVE_SYS_TYPES_H
757 # include <sys/types.h>
759 #ifdef HAVE_SYS_STAT_H
760 # include <sys/stat.h>
766 # ifdef HAVE_STDLIB_H
771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
776 #ifdef HAVE_STRINGS_H
777 # include <strings.h>
779 #ifdef HAVE_INTTYPES_H
780 # include <inttypes.h>
798 program_transform_name
883 hardcode_libdir_flag_spec
890 enable_option_checking
895 with_quickdraw_toolbox
896 with_quickdraw_carbon
905 ac_precious_vars
='build_alias
916 # Initialize some variables set by options.
918 ac_init_version
=false
919 ac_unrecognized_opts
=
921 # The variables have the same names as the options, with
922 # dashes changed to underlines.
930 program_transform_name
=s
,x
,x
,
938 # Installation directory options.
939 # These are left unexpanded so users can "make install exec_prefix=/foo"
940 # and all the variables that are supposed to be based on exec_prefix
941 # by default will actually change.
942 # Use braces instead of parens because sh, perl, etc. also accept them.
943 # (The list follows the same order as the GNU Coding Standards.)
944 bindir
='${exec_prefix}/bin'
945 sbindir
='${exec_prefix}/sbin'
946 libexecdir
='${exec_prefix}/libexec'
947 datarootdir
='${prefix}/share'
948 datadir
='${datarootdir}'
949 sysconfdir
='${prefix}/etc'
950 sharedstatedir
='${prefix}/com'
951 localstatedir
='${prefix}/var'
952 includedir
='${prefix}/include'
953 oldincludedir
='/usr/include'
954 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
955 infodir
='${datarootdir}/info'
960 libdir
='${exec_prefix}/lib'
961 localedir
='${datarootdir}/locale'
962 mandir
='${datarootdir}/man'
968 # If the previous option needs an argument, assign it.
969 if test -n "$ac_prev"; then
970 eval $ac_prev=\
$ac_option
976 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
980 # Accept the important Cygnus configure options, so we can diagnose typos.
982 case $ac_dashdash$ac_option in
986 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
988 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
991 -build |
--build |
--buil |
--bui |
--bu)
992 ac_prev
=build_alias
;;
993 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
994 build_alias
=$ac_optarg ;;
996 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
997 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
998 ac_prev
=cache_file
;;
999 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1000 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1001 cache_file
=$ac_optarg ;;
1003 --config-cache |
-C)
1004 cache_file
=config.cache
;;
1006 -datadir |
--datadir |
--datadi |
--datad)
1008 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1009 datadir
=$ac_optarg ;;
1011 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1012 |
--dataroo |
--dataro |
--datar)
1013 ac_prev
=datarootdir
;;
1014 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1015 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1016 datarootdir
=$ac_optarg ;;
1018 -disable-* |
--disable-*)
1019 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1022 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1023 { (exit 1); exit 1; }; }
1024 ac_useropt_orig
=$ac_useropt
1025 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1028 "enable_
$ac_useropt"
1030 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1031 ac_unrecognized_sep
=', ';;
1033 eval enable_
$ac_useropt=no
;;
1035 -docdir |
--docdir |
--docdi |
--doc |
--do)
1037 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1038 docdir
=$ac_optarg ;;
1040 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1042 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1043 dvidir
=$ac_optarg ;;
1045 -enable-* |
--enable-*)
1046 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1049 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1050 { (exit 1); exit 1; }; }
1051 ac_useropt_orig
=$ac_useropt
1052 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1053 case $ac_user_opts in
1055 "enable_
$ac_useropt"
1057 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1058 ac_unrecognized_sep
=', ';;
1060 eval enable_
$ac_useropt=\
$ac_optarg ;;
1062 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1063 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1064 |
--exec |
--exe |
--ex)
1065 ac_prev
=exec_prefix
;;
1066 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1067 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1068 |
--exec=* |
--exe=* |
--ex=*)
1069 exec_prefix
=$ac_optarg ;;
1071 -gas |
--gas |
--ga |
--g)
1072 # Obsolete; use --with-gas.
1075 -help |
--help |
--hel |
--he |
-h)
1076 ac_init_help
=long
;;
1077 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1078 ac_init_help
=recursive
;;
1079 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1080 ac_init_help
=short
;;
1082 -host |
--host |
--hos |
--ho)
1083 ac_prev
=host_alias
;;
1084 -host=* |
--host=* |
--hos=* |
--ho=*)
1085 host_alias
=$ac_optarg ;;
1087 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1089 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1091 htmldir
=$ac_optarg ;;
1093 -includedir |
--includedir |
--includedi |
--included |
--include \
1094 |
--includ |
--inclu |
--incl |
--inc)
1095 ac_prev
=includedir
;;
1096 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1097 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1098 includedir
=$ac_optarg ;;
1100 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1102 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1103 infodir
=$ac_optarg ;;
1105 -libdir |
--libdir |
--libdi |
--libd)
1107 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1108 libdir
=$ac_optarg ;;
1110 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1111 |
--libexe |
--libex |
--libe)
1112 ac_prev
=libexecdir
;;
1113 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1114 |
--libexe=* |
--libex=* |
--libe=*)
1115 libexecdir
=$ac_optarg ;;
1117 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1118 ac_prev
=localedir
;;
1119 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1120 localedir
=$ac_optarg ;;
1122 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1123 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1124 ac_prev
=localstatedir
;;
1125 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1126 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1127 localstatedir
=$ac_optarg ;;
1129 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1131 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1132 mandir
=$ac_optarg ;;
1134 -nfp |
--nfp |
--nf)
1135 # Obsolete; use --without-fp.
1138 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1139 |
--no-cr |
--no-c |
-n)
1142 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1143 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1146 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1147 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1148 |
--oldin |
--oldi |
--old |
--ol |
--o)
1149 ac_prev
=oldincludedir
;;
1150 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1151 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1152 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1153 oldincludedir
=$ac_optarg ;;
1155 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1157 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1158 prefix
=$ac_optarg ;;
1160 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1161 |
--program-pre |
--program-pr |
--program-p)
1162 ac_prev
=program_prefix
;;
1163 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1164 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1165 program_prefix
=$ac_optarg ;;
1167 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1168 |
--program-suf |
--program-su |
--program-s)
1169 ac_prev
=program_suffix
;;
1170 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1171 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1172 program_suffix
=$ac_optarg ;;
1174 -program-transform-name |
--program-transform-name \
1175 |
--program-transform-nam |
--program-transform-na \
1176 |
--program-transform-n |
--program-transform- \
1177 |
--program-transform |
--program-transfor \
1178 |
--program-transfo |
--program-transf \
1179 |
--program-trans |
--program-tran \
1180 |
--progr-tra |
--program-tr |
--program-t)
1181 ac_prev
=program_transform_name
;;
1182 -program-transform-name=* |
--program-transform-name=* \
1183 |
--program-transform-nam=* |
--program-transform-na=* \
1184 |
--program-transform-n=* |
--program-transform-=* \
1185 |
--program-transform=* |
--program-transfor=* \
1186 |
--program-transfo=* |
--program-transf=* \
1187 |
--program-trans=* |
--program-tran=* \
1188 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1189 program_transform_name
=$ac_optarg ;;
1191 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1193 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1194 pdfdir
=$ac_optarg ;;
1196 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1198 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1201 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1202 |
-silent |
--silent |
--silen |
--sile |
--sil)
1205 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1207 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1209 sbindir
=$ac_optarg ;;
1211 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1212 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1213 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1215 ac_prev
=sharedstatedir
;;
1216 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1217 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1218 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1220 sharedstatedir
=$ac_optarg ;;
1222 -site |
--site |
--sit)
1224 -site=* |
--site=* |
--sit=*)
1227 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1229 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1230 srcdir
=$ac_optarg ;;
1232 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1233 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1234 ac_prev
=sysconfdir
;;
1235 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1236 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1237 sysconfdir
=$ac_optarg ;;
1239 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1240 ac_prev
=target_alias
;;
1241 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1242 target_alias
=$ac_optarg ;;
1244 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1247 -version |
--version |
--versio |
--versi |
--vers |
-V)
1248 ac_init_version
=: ;;
1251 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1252 # Reject names that are not valid shell variable names.
1253 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1254 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1255 { (exit 1); exit 1; }; }
1256 ac_useropt_orig
=$ac_useropt
1257 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258 case $ac_user_opts in
1262 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1263 ac_unrecognized_sep
=', ';;
1265 eval with_
$ac_useropt=\
$ac_optarg ;;
1267 -without-* |
--without-*)
1268 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1269 # Reject names that are not valid shell variable names.
1270 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1271 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1272 { (exit 1); exit 1; }; }
1273 ac_useropt_orig
=$ac_useropt
1274 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275 case $ac_user_opts in
1279 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1280 ac_unrecognized_sep
=', ';;
1282 eval with_
$ac_useropt=no
;;
1285 # Obsolete; use --with-x.
1288 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1289 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1290 ac_prev
=x_includes
;;
1291 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1292 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1293 x_includes
=$ac_optarg ;;
1295 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1296 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1297 ac_prev
=x_libraries
;;
1298 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1299 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1300 x_libraries
=$ac_optarg ;;
1302 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1303 Try \`$0 --help' for more information." >&2
1304 { (exit 1); exit 1; }; }
1308 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1309 # Reject names that are not valid shell variable names.
1310 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1311 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1312 { (exit 1); exit 1; }; }
1313 eval $ac_envvar=\
$ac_optarg
1314 export $ac_envvar ;;
1317 # FIXME: should be removed in autoconf 3.0.
1318 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1319 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1320 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1321 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1327 if test -n "$ac_prev"; then
1328 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1329 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1330 { (exit 1); exit 1; }; }
1333 if test -n "$ac_unrecognized_opts"; then
1334 case $enable_option_checking in
1336 fatal
) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1337 { (exit 1); exit 1; }; } ;;
1338 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1342 # Check all directory arguments for consistency.
1343 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1344 datadir sysconfdir sharedstatedir localstatedir includedir \
1345 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1346 libdir localedir mandir
1348 eval ac_val
=\$
$ac_var
1349 # Remove trailing slashes.
1352 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1353 eval $ac_var=\
$ac_val;;
1355 # Be sure to have absolute directory names.
1357 [\\/$
]* | ?
:[\\/]* ) continue;;
1358 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1360 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1361 { (exit 1); exit 1; }; }
1364 # There might be people who depend on the old broken behavior: `$host'
1365 # used to hold the argument of --host etc.
1366 # FIXME: To remove some day.
1369 target
=$target_alias
1371 # FIXME: To remove some day.
1372 if test "x$host_alias" != x
; then
1373 if test "x$build_alias" = x
; then
1374 cross_compiling
=maybe
1375 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1376 If a cross compiler is detected then cross compile mode will be used." >&2
1377 elif test "x$build_alias" != "x$host_alias"; then
1383 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1385 test "$silent" = yes && exec 6>/dev
/null
1388 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1389 ac_ls_di
=`ls -di .` &&
1390 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1391 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1392 { (exit 1); exit 1; }; }
1393 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1394 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1395 { (exit 1); exit 1; }; }
1398 # Find the source files, if location was not specified.
1399 if test -z "$srcdir"; then
1400 ac_srcdir_defaulted
=yes
1401 # Try the directory containing this script, then the parent directory.
1402 ac_confdir
=`$as_dirname -- "$as_myself" ||
1403 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1404 X"$as_myself" : 'X\(//\)[^/]' \| \
1405 X"$as_myself" : 'X\(//\)$' \| \
1406 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1407 $as_echo X"$as_myself" |
1408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1426 if test ! -r "$srcdir/$ac_unique_file"; then
1430 ac_srcdir_defaulted
=no
1432 if test ! -r "$srcdir/$ac_unique_file"; then
1433 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1434 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1435 { (exit 1); exit 1; }; }
1437 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1439 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1440 { (exit 1); exit 1; }; }
1442 # When building in place, set srcdir=.
1443 if test "$ac_abs_confdir" = "$ac_pwd"; then
1446 # Remove unnecessary trailing slashes from srcdir.
1447 # Double slashes in file names in object file debugging info
1448 # mess up M-x gdb in Emacs.
1450 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1452 for ac_var
in $ac_precious_vars; do
1453 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1454 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1455 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1456 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1460 # Report the --help message.
1462 if test "$ac_init_help" = "long"; then
1463 # Omit some internal or obsolete options to make the list less imposing.
1464 # This message is too long to be a string in the A/UX 3.1 sh.
1466 \`configure' configures FreeType 2.3.7 to adapt to many kinds of systems.
1468 Usage: $0 [OPTION]... [VAR=VALUE]...
1470 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1471 VAR=VALUE. See below for descriptions of some of the useful variables.
1473 Defaults for the options are specified in brackets.
1476 -h, --help display this help and exit
1477 --help=short display options specific to this package
1478 --help=recursive display the short help of all the included packages
1479 -V, --version display version information and exit
1480 -q, --quiet, --silent do not print \`checking...' messages
1481 --cache-file=FILE cache test results in FILE [disabled]
1482 -C, --config-cache alias for \`--cache-file=config.cache'
1483 -n, --no-create do not create output files
1484 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1486 Installation directories:
1487 --prefix=PREFIX install architecture-independent files in PREFIX
1488 [$ac_default_prefix]
1489 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1492 By default, \`make install' will install all the files in
1493 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1494 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1495 for instance \`--prefix=\$HOME'.
1497 For better control, use the options below.
1499 Fine tuning of the installation directories:
1500 --bindir=DIR user executables [EPREFIX/bin]
1501 --sbindir=DIR system admin executables [EPREFIX/sbin]
1502 --libexecdir=DIR program executables [EPREFIX/libexec]
1503 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1504 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1505 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1506 --libdir=DIR object code libraries [EPREFIX/lib]
1507 --includedir=DIR C header files [PREFIX/include]
1508 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1509 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1510 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1511 --infodir=DIR info documentation [DATAROOTDIR/info]
1512 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1513 --mandir=DIR man documentation [DATAROOTDIR/man]
1514 --docdir=DIR documentation root [DATAROOTDIR/doc/freetype]
1515 --htmldir=DIR html documentation [DOCDIR]
1516 --dvidir=DIR dvi documentation [DOCDIR]
1517 --pdfdir=DIR pdf documentation [DOCDIR]
1518 --psdir=DIR ps documentation [DOCDIR]
1524 --build=BUILD configure
for building on BUILD
[guessed
]
1525 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1526 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1530 if test -n "$ac_init_help"; then
1531 case $ac_init_help in
1532 short | recursive
) echo "Configuration of FreeType 2.3.7:";;
1537 --disable-option-checking ignore unrecognized
--enable/--with options
1538 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1539 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1540 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1541 --enable-static[=PKGS
] build static libraries
[default
=yes]
1542 --enable-fast-install[=PKGS
]
1543 optimize
for fast installation
[default
=yes]
1544 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1547 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1548 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1549 --without-zlib use internal zlib instead of system-wide
1550 --with-old-mac-fonts allow Mac resource-based fonts to be used
1551 --with-fsspec use obsolete FSSpec API of MacOS
, if available
1553 --with-fsref use Carbon FSRef API of MacOS
, if available
1555 --with-quickdraw-toolbox
1556 use MacOS QuickDraw
in ToolBox
, if available
1558 --with-quickdraw-carbon use MacOS QuickDraw
in Carbon
, if available
1560 --with-ats use AppleTypeService
, if available
(default
=yes)
1561 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1563 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1565 Some influential environment variables
:
1566 CC C compiler
command
1567 CFLAGS C compiler flags
1568 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1569 nonstandard directory
<lib dir
>
1570 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1571 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1572 you have headers
in a nonstandard directory
<include dir
>
1575 Use these variables to override the choices made by
`configure' or to help
1576 it to find libraries and programs with nonstandard names/locations.
1578 Report bugs to <freetype@nongnu.org>.
1583 if test "$ac_init_help" = "recursive"; then
1584 # If there are subdirs, report their specific --help.
1585 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1586 test -d "$ac_dir" ||
1587 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1592 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1594 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1595 # A ".." for each directory in $ac_dir_suffix.
1596 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1597 case $ac_top_builddir_sub in
1598 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1599 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1602 ac_abs_top_builddir=$ac_pwd
1603 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1604 # for backward compatibility:
1605 ac_top_builddir=$ac_top_build_prefix
1608 .) # We are building in place.
1610 ac_top_srcdir=$ac_top_builddir_sub
1611 ac_abs_top_srcdir=$ac_pwd ;;
1612 [\\/]* | ?:[\\/]* ) # Absolute name.
1613 ac_srcdir=$srcdir$ac_dir_suffix;
1614 ac_top_srcdir=$srcdir
1615 ac_abs_top_srcdir=$srcdir ;;
1617 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1618 ac_top_srcdir=$ac_top_build_prefix$srcdir
1619 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1621 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1623 cd "$ac_dir" || { ac_status=$?; continue; }
1624 # Check for guested configure.
1625 if test -f "$ac_srcdir/configure.gnu"; then
1627 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1628 elif test -f "$ac_srcdir/configure"; then
1630 $SHELL "$ac_srcdir/configure" --help=recursive
1632 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1634 cd "$ac_pwd" || { ac_status=$?; break; }
1638 test -n "$ac_init_help" && exit $ac_status
1639 if $ac_init_version; then
1641 FreeType configure 2.3.7
1642 generated by GNU Autoconf 2.62
1644 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1645 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1646 This configure script is free software; the Free Software Foundation
1647 gives unlimited permission to copy, distribute and modify it.
1651 cat >config.log <<_ACEOF
1652 This file contains any messages produced by compilers while
1653 running configure, to aid debugging if configure makes a mistake.
1655 It was created by FreeType $as_me 2.3.7, which was
1656 generated by GNU Autoconf 2.62. Invocation command line was
1668 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1669 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1670 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1671 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1672 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1674 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1675 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1677 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1678 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1679 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1680 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1681 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1682 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1683 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir=.
1692 $as_echo "PATH: $as_dir"
1708 # Keep a trace of the command line.
1709 # Strip out --no-create and --no-recursion so they do not pile up.
1710 # Strip out --silent because we don't want to record it for future runs.
1711 # Also quote any args containing shell meta-characters.
1712 # Make two passes to allow for proper duplicate-argument suppression.
1716 ac_must_keep_next=false
1722 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1723 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1724 | -silent | --silent | --silen | --sile | --sil)
1727 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1730 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1732 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1733 if test $ac_must_keep_next = true; then
1734 ac_must_keep_next=false # Got value, back to normal.
1737 *=* | --config-cache | -C | -disable-* | --disable-* \
1738 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1739 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1740 | -with-* | --with-* | -without-* | --without-* | --x)
1741 case "$ac_configure_args0 " in
1742 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1745 -* ) ac_must_keep_next=true ;;
1748 ac_configure_args="$ac_configure_args '$ac_arg'"
1753 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1754 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1756 # When interrupted or exit'd, cleanup temporary files, and complete
1757 # config.log. We remove comments because anyway the quotes in there
1758 # would cause problems or look ugly.
1759 # WARNING: Use '\'' to represent an apostrophe within the trap.
1760 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1761 trap 'exit_status=$?
1762 # Save into config.log some information that might help in debugging.
1767 ## ---------------- ##
1768 ## Cache variables. ##
1769 ## ---------------- ##
1772 # The following way of writing the cache mishandles newlines in values,
1774 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1775 eval ac_val=\$$ac_var
1779 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1780 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1783 _ | IFS | as_nl) ;; #(
1784 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1785 *) $as_unset $ac_var ;;
1790 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1791 *${as_nl}ac_space=\ *)
1793 "s/'\''/'\''\\\\'\'''\''/g;
1794 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1797 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1805 ## ----------------- ##
1806 ## Output variables. ##
1807 ## ----------------- ##
1810 for ac_var in $ac_subst_vars
1812 eval ac_val=\$$ac_var
1814 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1816 $as_echo "$ac_var='\''$ac_val'\''"
1820 if test -n "$ac_subst_files"; then
1822 ## ------------------- ##
1823 ## File substitutions. ##
1824 ## ------------------- ##
1827 for ac_var in $ac_subst_files
1829 eval ac_val=\$$ac_var
1831 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1833 $as_echo "$ac_var='\''$ac_val'\''"
1838 if test -s confdefs.h; then
1848 test "$ac_signal" != 0 &&
1849 $as_echo "$as_me: caught signal $ac_signal"
1850 $as_echo "$as_me: exit $exit_status"
1852 rm -f core *.core core.conftest.* &&
1853 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1856 for ac_signal in 1 2 13 15; do
1857 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1861 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1862 rm -f -r conftest* confdefs.h
1864 # Predefined preprocessor variables.
1866 cat >>confdefs.h <<_ACEOF
1867 #define PACKAGE_NAME "$PACKAGE_NAME"
1871 cat >>confdefs.h <<_ACEOF
1872 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1876 cat >>confdefs.h <<_ACEOF
1877 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1881 cat >>confdefs.h <<_ACEOF
1882 #define PACKAGE_STRING "$PACKAGE_STRING"
1886 cat >>confdefs.h <<_ACEOF
1887 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1891 # Let the site file select an alternate cache file if it wants to.
1892 # Prefer an explicitly selected file to automatically selected ones.
1895 if test -n "$CONFIG_SITE"; then
1896 ac_site_file1=$CONFIG_SITE
1897 elif test "x$prefix" != xNONE; then
1898 ac_site_file1=$prefix/share/config.site
1899 ac_site_file2=$prefix/etc/config.site
1901 ac_site_file1=$ac_default_prefix/share/config.site
1902 ac_site_file2=$ac_default_prefix/etc/config.site
1904 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1906 test "x$ac_site_file" = xNONE && continue
1907 if test -r "$ac_site_file"; then
1908 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1909 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1910 sed 's/^/| /' "$ac_site_file" >&5
1915 if test -r "$cache_file"; then
1916 # Some versions of bash will fail to source /dev/null (special
1917 # files actually), so we avoid doing that.
1918 if test -f "$cache_file"; then
1919 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1920 $as_echo "$as_me: loading cache $cache_file" >&6;}
1922 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1923 *) . "./$cache_file";;
1927 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1928 $as_echo "$as_me: creating cache $cache_file" >&6;}
1932 # Check that the precious variables saved in the cache have kept the same
1934 ac_cache_corrupted=false
1935 for ac_var in $ac_precious_vars; do
1936 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1937 eval ac_new_set=\$ac_env_${ac_var}_set
1938 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1939 eval ac_new_val=\$ac_env_${ac_var}_value
1940 case $ac_old_set,$ac_new_set in
1942 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1943 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1944 ac_cache_corrupted=: ;;
1946 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1947 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1948 ac_cache_corrupted=: ;;
1951 if test "x$ac_old_val" != "x$ac_new_val"; then
1952 # differences in whitespace do not lead to failure.
1953 ac_old_val_w=`echo x
$ac_old_val`
1954 ac_new_val_w=`echo x
$ac_new_val`
1955 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1956 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1957 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1958 ac_cache_corrupted=:
1960 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1961 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1962 eval $ac_var=\$ac_old_val
1964 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1965 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1966 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1967 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1970 # Pass precious variables to config.status.
1971 if test "$ac_new_set" = set; then
1973 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1974 *) ac_arg=$ac_var=$ac_new_val ;;
1976 case " $ac_configure_args " in
1977 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1978 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1982 if $ac_cache_corrupted; then
1983 { $as_echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1984 $as_echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1985 { { $as_echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1986 $as_echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1987 { (exit 1); exit 1; }; }
2015 ac_cpp='$CPP $CPPFLAGS'
2016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2024 # Don't forget to update docs/VERSION.DLL!
2026 version_info='9:18:3'
2028 ft_version=`echo $version_info |
tr : .
`
2032 # checks for system type
2035 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2036 if test -f "$ac_dir/install-sh"; then
2038 ac_install_sh="$ac_aux_dir/install-sh -c"
2040 elif test -f "$ac_dir/install.sh"; then
2042 ac_install_sh="$ac_aux_dir/install.sh -c"
2044 elif test -f "$ac_dir/shtool"; then
2046 ac_install_sh="$ac_aux_dir/shtool install -c"
2050 if test -z "$ac_aux_dir"; then
2051 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2052 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2053 { (exit 1); exit 1; }; }
2056 # These three variables are undocumented and unsupported,
2057 # and are intended to be withdrawn in a future Autoconf release.
2058 # They can cause serious problems if a builder's source tree is in a directory
2059 # whose full name contains unusual characters.
2060 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2061 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2062 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2065 # Make sure we can run config.sub.
2066 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2067 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2068 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2069 { (exit 1); exit 1; }; }
2071 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2072 $as_echo_n "checking build system type... " >&6; }
2073 if test "${ac_cv_build+set}" = set; then
2074 $as_echo_n "(cached) " >&6
2076 ac_build_alias=$build_alias
2077 test "x$ac_build_alias" = x &&
2078 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2079 test "x$ac_build_alias" = x &&
2080 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2081 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2082 { (exit 1); exit 1; }; }
2083 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2084 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2085 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2086 { (exit 1); exit 1; }; }
2089 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2090 $as_echo "$ac_cv_build" >&6; }
2091 case $ac_cv_build in
2093 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2094 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2095 { (exit 1); exit 1; }; };;
2098 ac_save_IFS=$IFS; IFS='-'
2104 # Remember, the first character of IFS is used to create $*,
2105 # except with old shells:
2108 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2111 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2112 $as_echo_n "checking host system type... " >&6; }
2113 if test "${ac_cv_host+set}" = set; then
2114 $as_echo_n "(cached) " >&6
2116 if test "x$host_alias" = x; then
2117 ac_cv_host=$ac_cv_build
2119 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2120 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2121 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2122 { (exit 1); exit 1; }; }
2126 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2127 $as_echo "$ac_cv_host" >&6; }
2130 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2131 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2132 { (exit 1); exit 1; }; };;
2135 ac_save_IFS=$IFS; IFS='-'
2141 # Remember, the first character of IFS is used to create $*,
2142 # except with old shells:
2145 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2148 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2149 $as_echo_n "checking target system type... " >&6; }
2150 if test "${ac_cv_target+set}" = set; then
2151 $as_echo_n "(cached) " >&6
2153 if test "x$target_alias" = x; then
2154 ac_cv_target=$ac_cv_host
2156 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2157 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2158 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2159 { (exit 1); exit 1; }; }
2163 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2164 $as_echo "$ac_cv_target" >&6; }
2165 case $ac_cv_target in
2167 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2168 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2169 { (exit 1); exit 1; }; };;
2171 target=$ac_cv_target
2172 ac_save_IFS=$IFS; IFS='-'
2178 # Remember, the first character of IFS is used to create $*,
2179 # except with old shells:
2182 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2185 # The aliases save the names the user supplied, while $host etc.
2186 # will get canonicalized.
2187 test -n "$target_alias" &&
2188 test "$program_prefix$program_suffix$program_transform_name" = \
2190 program_prefix=${target_alias}-
2193 # checks for programs
2196 ac_cpp='$CPP $CPPFLAGS'
2197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2200 if test -n "$ac_tool_prefix"; then
2201 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2202 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2203 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2204 $as_echo_n "checking for $ac_word... " >&6; }
2205 if test "${ac_cv_prog_CC+set}" = set; then
2206 $as_echo_n "(cached) " >&6
2208 if test -n "$CC"; then
2209 ac_cv_prog_CC="$CC" # Let the user override the test.
2211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2215 test -z "$as_dir" && as_dir=.
2216 for ac_exec_ext in '' $ac_executable_extensions; do
2217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2218 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2219 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2229 if test -n "$CC"; then
2230 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2231 $as_echo "$CC" >&6; }
2233 { $as_echo "$as_me:$LINENO: result: no" >&5
2234 $as_echo "no" >&6; }
2239 if test -z "$ac_cv_prog_CC"; then
2241 # Extract the first word of "gcc", so it can be a program name with args.
2242 set dummy gcc; ac_word=$2
2243 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2244 $as_echo_n "checking for $ac_word... " >&6; }
2245 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2246 $as_echo_n "(cached) " >&6
2248 if test -n "$ac_ct_CC"; then
2249 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2255 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2258 ac_cv_prog_ac_ct_CC="gcc"
2259 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2268 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2269 if test -n "$ac_ct_CC"; then
2270 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2271 $as_echo "$ac_ct_CC" >&6; }
2273 { $as_echo "$as_me:$LINENO: result: no" >&5
2274 $as_echo "no" >&6; }
2277 if test "x$ac_ct_CC" = x; then
2280 case $cross_compiling:$ac_tool_warned in
2282 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2283 whose name does not start with the host triplet. If you think this
2284 configuration is useful to you, please write to autoconf@gnu.org." >&5
2285 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2286 whose name does not start with the host triplet. If you think this
2287 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2288 ac_tool_warned=yes ;;
2296 if test -z "$CC"; then
2297 if test -n "$ac_tool_prefix"; then
2298 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2299 set dummy ${ac_tool_prefix}cc; ac_word=$2
2300 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2301 $as_echo_n "checking for $ac_word... " >&6; }
2302 if test "${ac_cv_prog_CC+set}" = set; then
2303 $as_echo_n "(cached) " >&6
2305 if test -n "$CC"; then
2306 ac_cv_prog_CC="$CC" # Let the user override the test.
2308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 test -z "$as_dir" && as_dir=.
2313 for ac_exec_ext in '' $ac_executable_extensions; do
2314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2315 ac_cv_prog_CC="${ac_tool_prefix}cc"
2316 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326 if test -n "$CC"; then
2327 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2328 $as_echo "$CC" >&6; }
2330 { $as_echo "$as_me:$LINENO: result: no" >&5
2331 $as_echo "no" >&6; }
2337 if test -z "$CC"; then
2338 # Extract the first word of "cc", so it can be a program name with args.
2339 set dummy cc; ac_word=$2
2340 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2341 $as_echo_n "checking for $ac_word... " >&6; }
2342 if test "${ac_cv_prog_CC+set}" = set; then
2343 $as_echo_n "(cached) " >&6
2345 if test -n "$CC"; then
2346 ac_cv_prog_CC="$CC" # Let the user override the test.
2349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2353 test -z "$as_dir" && as_dir=.
2354 for ac_exec_ext in '' $ac_executable_extensions; do
2355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2356 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2357 ac_prog_rejected=yes
2361 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 if test $ac_prog_rejected = yes; then
2369 # We found a bogon in the path, so make sure we never use it.
2370 set dummy $ac_cv_prog_CC
2372 if test $# != 0; then
2373 # We chose a different compiler from the bogus one.
2374 # However, it has the same basename, so the bogon will be chosen
2375 # first if we set CC to just the basename; use the full file name.
2377 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2383 if test -n "$CC"; then
2384 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2385 $as_echo "$CC" >&6; }
2387 { $as_echo "$as_me:$LINENO: result: no" >&5
2388 $as_echo "no" >&6; }
2393 if test -z "$CC"; then
2394 if test -n "$ac_tool_prefix"; then
2395 for ac_prog in cl.exe
2397 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2398 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2399 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2400 $as_echo_n "checking for $ac_word... " >&6; }
2401 if test "${ac_cv_prog_CC+set}" = set; then
2402 $as_echo_n "(cached) " >&6
2404 if test -n "$CC"; then
2405 ac_cv_prog_CC="$CC" # Let the user override the test.
2407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2411 test -z "$as_dir" && as_dir=.
2412 for ac_exec_ext in '' $ac_executable_extensions; do
2413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2414 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2415 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2425 if test -n "$CC"; then
2426 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2427 $as_echo "$CC" >&6; }
2429 { $as_echo "$as_me:$LINENO: result: no" >&5
2430 $as_echo "no" >&6; }
2434 test -n "$CC" && break
2437 if test -z "$CC"; then
2439 for ac_prog in cl.exe
2441 # Extract the first word of "$ac_prog", so it can be a program name with args.
2442 set dummy $ac_prog; ac_word=$2
2443 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2444 $as_echo_n "checking for $ac_word... " >&6; }
2445 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2446 $as_echo_n "(cached) " >&6
2448 if test -n "$ac_ct_CC"; then
2449 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455 test -z "$as_dir" && as_dir=.
2456 for ac_exec_ext in '' $ac_executable_extensions; do
2457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2458 ac_cv_prog_ac_ct_CC="$ac_prog"
2459 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2468 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2469 if test -n "$ac_ct_CC"; then
2470 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2471 $as_echo "$ac_ct_CC" >&6; }
2473 { $as_echo "$as_me:$LINENO: result: no" >&5
2474 $as_echo "no" >&6; }
2478 test -n "$ac_ct_CC" && break
2481 if test "x$ac_ct_CC" = x; then
2484 case $cross_compiling:$ac_tool_warned in
2486 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2487 whose name does not start with the host triplet. If you think this
2488 configuration is useful to you, please write to autoconf@gnu.org." >&5
2489 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2490 whose name does not start with the host triplet. If you think this
2491 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2492 ac_tool_warned=yes ;;
2501 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2502 See \`config.log
' for more details." >&5
2503 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2504 See \`config.log' for more details.
" >&2;}
2505 { (exit 1); exit 1; }; }
2507 # Provide some information about the compiler.
2508 $as_echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2511 { (ac_try="$ac_compiler --version >&5"
2513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2514 *) ac_try_echo=$ac_try;;
2516 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2517 $as_echo "$ac_try_echo") >&5
2518 (eval "$ac_compiler --version >&5") 2>&5
2520 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2521 (exit $ac_status); }
2522 { (ac_try="$ac_compiler -v >&5"
2524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2525 *) ac_try_echo=$ac_try;;
2527 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2528 $as_echo "$ac_try_echo") >&5
2529 (eval "$ac_compiler -v >&5") 2>&5
2531 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2532 (exit $ac_status); }
2533 { (ac_try="$ac_compiler -V >&5"
2535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2536 *) ac_try_echo=$ac_try;;
2538 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2539 $as_echo "$ac_try_echo") >&5
2540 (eval "$ac_compiler -V >&5") 2>&5
2542 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2543 (exit $ac_status); }
2545 cat >conftest.$ac_ext <<_ACEOF
2548 cat confdefs.h >>conftest.$ac_ext
2549 cat >>conftest.$ac_ext <<_ACEOF
2550 /* end confdefs.h. */
2560 ac_clean_files_save=$ac_clean_files
2561 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
2562 # Try to create an executable without -o first, disregard a.out.
2563 # It will help us diagnose broken compilers, and finding out an intuition
2565 { $as_echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2566 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
2567 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2569 # The possible output files:
2570 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
2573 for ac_file in $ac_files
2576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2577 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2582 if { (ac_try="$ac_link_default"
2584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2585 *) ac_try_echo=$ac_try;;
2587 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2588 $as_echo "$ac_try_echo") >&5
2589 (eval "$ac_link_default") 2>&5
2591 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2592 (exit $ac_status); }; then
2593 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2594 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2595 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2596 # so that the user can short-circuit this test for compilers unknown to
2598 for ac_file in $ac_files ''
2600 test -f "$ac_file" || continue
2602 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2605 # We found the default executable, but exeext='' is most
2609 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2611 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2613 # We set ac_cv_exeext here because the later test for it is not
2614 # safe: cross compilers may not add the suffix if given an `-o'
2615 # argument, so we may need to know it at that point already.
2616 # Even if this section looks crufty: it has the advantage of
2623 test "$ac_cv_exeext" = no && ac_cv_exeext=
2629 { $as_echo "$as_me:$LINENO: result
: $ac_file" >&5
2630 $as_echo "$ac_file" >&6; }
2631 if test -z "$ac_file"; then
2632 $as_echo "$as_me: failed program was
:" >&5
2633 sed 's/^/| /' conftest.$ac_ext >&5
2635 { { $as_echo "$as_me:$LINENO: error
: C compiler cannot create executables
2636 See \
`config.log' for more details." >&5
2637 $as_echo "$as_me: error: C compiler cannot create executables
2638 See \`config.log
' for more details." >&2;}
2639 { (exit 77); exit 77; }; }
2642 ac_exeext=$ac_cv_exeext
2644 # Check that the compiler produces executables we can run. If not, either
2645 # the compiler is broken, or we cross compile.
2646 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2647 $as_echo_n "checking whether the C compiler works... " >&6; }
2648 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2649 # If not cross compiling, check that we can run a simple program.
2650 if test "$cross_compiling" != yes; then
2651 if { ac_try='.
/$ac_file'
2652 { (case "(($ac_try" in
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2656 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2657 $as_echo "$ac_try_echo") >&5
2658 (eval "$ac_try") 2>&5
2660 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; }; then
2664 if test "$cross_compiling" = maybe; then
2667 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2668 If you meant to cross compile, use \`--host'.
2669 See \
`config.log' for more details." >&5
2670 $as_echo "$as_me: error: cannot run C compiled programs.
2671 If you meant to cross compile, use \`--host'.
2672 See \`config.log' for more details.
" >&2;}
2673 { (exit 1); exit 1; }; }
2677 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2678 $as_echo "yes" >&6; }
2680 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2681 ac_clean_files=$ac_clean_files_save
2682 # Check that the compiler produces executables we can run. If not, either
2683 # the compiler is broken, or we cross compile.
2684 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2685 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2686 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2687 $as_echo "$cross_compiling" >&6; }
2689 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2690 $as_echo_n "checking
for suffix of executables...
" >&6; }
2691 if { (ac_try="$ac_link"
2693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2694 *) ac_try_echo=$ac_try;;
2696 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2697 $as_echo "$ac_try_echo") >&5
2698 (eval "$ac_link") 2>&5
2700 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2701 (exit $ac_status); }; then
2702 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2703 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2704 # work properly (i.e., refer to `conftest.exe'), while it won't with
2706 for ac_file in conftest.exe conftest conftest.*; do
2707 test -f "$ac_file" || continue
2709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2710 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2716 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2717 See \
`config.log' for more details." >&5
2718 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2719 See \`config.log
' for more details." >&2;}
2720 { (exit 1); exit 1; }; }
2723 rm -f conftest$ac_cv_exeext
2724 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2725 $as_echo "$ac_cv_exeext" >&6; }
2727 rm -f conftest.$ac_ext
2728 EXEEXT=$ac_cv_exeext
2730 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2731 $as_echo_n "checking for suffix of object files... " >&6; }
2732 if test "${ac_cv_objext+set}" = set; then
2733 $as_echo_n "(cached) " >&6
2735 cat >conftest.$ac_ext <<_ACEOF
2738 cat confdefs.h >>conftest.$ac_ext
2739 cat >>conftest.$ac_ext <<_ACEOF
2740 /* end confdefs.h. */
2750 rm -f conftest.o conftest.obj
2751 if { (ac_try="$ac_compile"
2753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754 *) ac_try_echo=$ac_try;;
2756 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2757 $as_echo "$ac_try_echo") >&5
2758 (eval "$ac_compile") 2>&5
2760 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; then
2762 for ac_file in conftest.o conftest.obj conftest.*; do
2763 test -f "$ac_file" || continue;
2765 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2766 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2771 $as_echo "$as_me: failed program was:" >&5
2772 sed 's
/^
/|
/' conftest.$ac_ext >&5
2774 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2775 See \`config.log' for more details.
" >&5
2776 $as_echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2777 See \
`config.log' for more details." >&2;}
2778 { (exit 1); exit 1; }; }
2781 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2783 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2784 $as_echo "$ac_cv_objext" >&6; }
2785 OBJEXT=$ac_cv_objext
2787 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2788 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2789 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2790 $as_echo_n "(cached) " >&6
2792 cat >conftest.$ac_ext <<_ACEOF
2795 cat confdefs.h >>conftest.$ac_ext
2796 cat >>conftest.$ac_ext <<_ACEOF
2797 /* end confdefs.h. */
2810 rm -f conftest.$ac_objext
2811 if { (ac_try="$ac_compile"
2813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2814 *) ac_try_echo
=$ac_try;;
2816 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2817 $as_echo "$ac_try_echo") >&5
2818 (eval "$ac_compile") 2>conftest.er1
2820 grep -v '^ *+' conftest.er1
>conftest.err
2822 cat conftest.err
>&5
2823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); } && {
2825 test -z "$ac_c_werror_flag" ||
2826 test ! -s conftest.err
2827 } && test -s conftest.
$ac_objext; then
2830 $as_echo "$as_me: failed program was:" >&5
2831 sed 's/^/| /' conftest.
$ac_ext >&5
2836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2837 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2840 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2841 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2842 if test $ac_compiler_gnu = yes; then
2847 ac_test_CFLAGS
=${CFLAGS+set}
2848 ac_save_CFLAGS
=$CFLAGS
2849 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2850 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2851 if test "${ac_cv_prog_cc_g+set}" = set; then
2852 $as_echo_n "(cached) " >&6
2854 ac_save_c_werror_flag
=$ac_c_werror_flag
2855 ac_c_werror_flag
=yes
2858 cat >conftest.
$ac_ext <<_ACEOF
2861 cat confdefs.h
>>conftest.
$ac_ext
2862 cat >>conftest.
$ac_ext <<_ACEOF
2863 /* end confdefs.h. */
2873 rm -f conftest.
$ac_objext
2874 if { (ac_try
="$ac_compile"
2876 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2877 *) ac_try_echo=$ac_try;;
2879 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2880 $as_echo "$ac_try_echo") >&5
2881 (eval "$ac_compile") 2>conftest.er1
2883 grep -v '^ *+' conftest.er1 >conftest.err
2885 cat conftest.err >&5
2886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); } && {
2888 test -z "$ac_c_werror_flag" ||
2889 test ! -s conftest.err
2890 } && test -s conftest.$ac_objext; then
2893 $as_echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.$ac_ext >&5
2897 cat >conftest.$ac_ext <<_ACEOF
2900 cat confdefs.h >>conftest.$ac_ext
2901 cat >>conftest.$ac_ext <<_ACEOF
2902 /* end confdefs.h. */
2912 rm -f conftest.$ac_objext
2913 if { (ac_try="$ac_compile"
2915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2916 *) ac_try_echo
=$ac_try;;
2918 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2919 $as_echo "$ac_try_echo") >&5
2920 (eval "$ac_compile") 2>conftest.er1
2922 grep -v '^ *+' conftest.er1
>conftest.err
2924 cat conftest.err
>&5
2925 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 (exit $ac_status); } && {
2927 test -z "$ac_c_werror_flag" ||
2928 test ! -s conftest.err
2929 } && test -s conftest.
$ac_objext; then
2932 $as_echo "$as_me: failed program was:" >&5
2933 sed 's/^/| /' conftest.
$ac_ext >&5
2935 ac_c_werror_flag
=$ac_save_c_werror_flag
2937 cat >conftest.
$ac_ext <<_ACEOF
2940 cat confdefs.h
>>conftest.
$ac_ext
2941 cat >>conftest.
$ac_ext <<_ACEOF
2942 /* end confdefs.h. */
2952 rm -f conftest.
$ac_objext
2953 if { (ac_try
="$ac_compile"
2955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2959 $as_echo "$ac_try_echo") >&5
2960 (eval "$ac_compile") 2>conftest.er1
2962 grep -v '^ *+' conftest.er1 >conftest.err
2964 cat conftest.err >&5
2965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); } && {
2967 test -z "$ac_c_werror_flag" ||
2968 test ! -s conftest.err
2969 } && test -s conftest.$ac_objext; then
2972 $as_echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.$ac_ext >&5
2978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2985 ac_c_werror_flag=$ac_save_c_werror_flag
2987 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2988 $as_echo "$ac_cv_prog_cc_g" >&6; }
2989 if test "$ac_test_CFLAGS" = set; then
2990 CFLAGS=$ac_save_CFLAGS
2991 elif test $ac_cv_prog_cc_g = yes; then
2992 if test "$GCC" = yes; then
2998 if test "$GCC" = yes; then
3004 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3005 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3006 if test "${ac_cv_prog_cc_c89+set}" = set; then
3007 $as_echo_n "(cached) " >&6
3009 ac_cv_prog_cc_c89=no
3011 cat >conftest.$ac_ext <<_ACEOF
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3019 #include <sys/types.h>
3020 #include <sys/stat.h>
3021 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3022 struct buf { int x; };
3023 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3024 static char *e (p, i)
3030 static char *f (char * (*g) (char **, int), char **p, ...)
3035 s = g (p, va_arg (v,int));
3040 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3041 function prototypes and stuff, but not '\xHH' hex character constants.
3042 These don't provoke an error unfortunately, instead are silently treated
3043 as 'x'. The following induces an error, until -std is added to get
3044 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3045 array size at least. It's necessary to write '\x00'==0 to get something
3046 that's true only with -std. */
3047 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3049 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3050 inside strings and character constants. */
3052 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3054 int test (int i, double x);
3055 struct s1 {int (*f) (int a);};
3056 struct s2 {int (*f) (double a);};
3057 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3063 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3068 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3069 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3071 CC="$ac_save_CC $ac_arg"
3072 rm -f conftest.$ac_objext
3073 if { (ac_try="$ac_compile"
3075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3076 *) ac_try_echo
=$ac_try;;
3078 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3079 $as_echo "$ac_try_echo") >&5
3080 (eval "$ac_compile") 2>conftest.er1
3082 grep -v '^ *+' conftest.er1
>conftest.err
3084 cat conftest.err
>&5
3085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); } && {
3087 test -z "$ac_c_werror_flag" ||
3088 test ! -s conftest.err
3089 } && test -s conftest.
$ac_objext; then
3090 ac_cv_prog_cc_c89
=$ac_arg
3092 $as_echo "$as_me: failed program was:" >&5
3093 sed 's/^/| /' conftest.
$ac_ext >&5
3098 rm -f core conftest.err conftest.
$ac_objext
3099 test "x$ac_cv_prog_cc_c89" != "xno" && break
3101 rm -f conftest.
$ac_ext
3106 case "x$ac_cv_prog_cc_c89" in
3108 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3109 $as_echo "none needed" >&6; } ;;
3111 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3112 $as_echo "unsupported" >&6; } ;;
3114 CC
="$CC $ac_cv_prog_cc_c89"
3115 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3116 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3121 ac_cpp
='$CPP $CPPFLAGS'
3122 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3123 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3124 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3127 ac_cpp
='$CPP $CPPFLAGS'
3128 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3129 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3130 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3131 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3132 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3133 # On Suns, sometimes $CPP names a directory.
3134 if test -n "$CPP" && test -d "$CPP"; then
3137 if test -z "$CPP"; then
3138 if test "${ac_cv_prog_CPP+set}" = set; then
3139 $as_echo_n "(cached) " >&6
3141 # Double quotes because CPP needs to be expanded
3142 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3145 for ac_c_preproc_warn_flag
in '' yes
3147 # Use a header file that comes with gcc, so configuring glibc
3148 # with a fresh cross-compiler works.
3149 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3150 # <limits.h> exists even on freestanding compilers.
3151 # On the NeXT, cc -E runs the code through the compiler's parser,
3152 # not just through cpp. "Syntax error" is here to catch this case.
3153 cat >conftest.
$ac_ext <<_ACEOF
3156 cat confdefs.h
>>conftest.
$ac_ext
3157 cat >>conftest.
$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3160 # include <limits.h>
3162 # include <assert.h>
3166 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3169 *) ac_try_echo=$ac_try;;
3171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3172 $as_echo "$ac_try_echo") >&5
3173 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3175 grep -v '^ *+' conftest.er1 >conftest.err
3177 cat conftest.err >&5
3178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); } >/dev/null && {
3180 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3181 test ! -s conftest.err
3185 $as_echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.$ac_ext >&5
3188 # Broken: fails on valid input.
3192 rm -f conftest.err conftest.$ac_ext
3194 # OK, works on sane cases. Now check whether nonexistent headers
3195 # can be detected and how.
3196 cat >conftest.$ac_ext <<_ACEOF
3199 cat confdefs.h >>conftest.$ac_ext
3200 cat >>conftest.$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3202 #include <ac_nonexistent.h>
3204 if { (ac_try="$ac_cpp conftest.$ac_ext"
3206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3207 *) ac_try_echo
=$ac_try;;
3209 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3210 $as_echo "$ac_try_echo") >&5
3211 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3213 grep -v '^ *+' conftest.er1
>conftest.err
3215 cat conftest.err
>&5
3216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); } >/dev
/null
&& {
3218 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3219 test ! -s conftest.err
3221 # Broken: success on invalid input.
3224 $as_echo "$as_me: failed program was:" >&5
3225 sed 's/^/| /' conftest.
$ac_ext >&5
3227 # Passes both tests.
3232 rm -f conftest.err conftest.
$ac_ext
3235 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3236 rm -f conftest.err conftest.
$ac_ext
3237 if $ac_preproc_ok; then
3249 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3250 $as_echo "$CPP" >&6; }
3252 for ac_c_preproc_warn_flag
in '' yes
3254 # Use a header file that comes with gcc, so configuring glibc
3255 # with a fresh cross-compiler works.
3256 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3257 # <limits.h> exists even on freestanding compilers.
3258 # On the NeXT, cc -E runs the code through the compiler's parser,
3259 # not just through cpp. "Syntax error" is here to catch this case.
3260 cat >conftest.
$ac_ext <<_ACEOF
3263 cat confdefs.h
>>conftest.
$ac_ext
3264 cat >>conftest.
$ac_ext <<_ACEOF
3265 /* end confdefs.h. */
3267 # include <limits.h>
3269 # include <assert.h>
3273 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3276 *) ac_try_echo=$ac_try;;
3278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3279 $as_echo "$ac_try_echo") >&5
3280 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3282 grep -v '^ *+' conftest.er1 >conftest.err
3284 cat conftest.err >&5
3285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); } >/dev/null && {
3287 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3288 test ! -s conftest.err
3292 $as_echo "$as_me: failed program was:" >&5
3293 sed 's/^/| /' conftest.$ac_ext >&5
3295 # Broken: fails on valid input.
3299 rm -f conftest.err conftest.$ac_ext
3301 # OK, works on sane cases. Now check whether nonexistent headers
3302 # can be detected and how.
3303 cat >conftest.$ac_ext <<_ACEOF
3306 cat confdefs.h >>conftest.$ac_ext
3307 cat >>conftest.$ac_ext <<_ACEOF
3308 /* end confdefs.h. */
3309 #include <ac_nonexistent.h>
3311 if { (ac_try="$ac_cpp conftest.$ac_ext"
3313 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3314 *) ac_try_echo
=$ac_try;;
3316 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3317 $as_echo "$ac_try_echo") >&5
3318 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3320 grep -v '^ *+' conftest.er1
>conftest.err
3322 cat conftest.err
>&5
3323 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); } >/dev
/null
&& {
3325 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3326 test ! -s conftest.err
3328 # Broken: success on invalid input.
3331 $as_echo "$as_me: failed program was:" >&5
3332 sed 's/^/| /' conftest.
$ac_ext >&5
3334 # Passes both tests.
3339 rm -f conftest.err conftest.
$ac_ext
3342 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3343 rm -f conftest.err conftest.
$ac_ext
3344 if $ac_preproc_ok; then
3347 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3348 See \`config.log' for more details." >&5
3349 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3350 See \`config.log' for more details." >&2;}
3351 { (exit 1); exit 1; }; }
3355 ac_cpp
='$CPP $CPPFLAGS'
3356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3363 # checks for native programs to generate building tool
3365 if test ${cross_compiling} = yes; then
3366 # Extract the first word of "${build}-gcc", so it can be a program name with args.
3367 set dummy
${build}-gcc; ac_word
=$2
3368 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3369 $as_echo_n "checking for $ac_word... " >&6; }
3370 if test "${ac_cv_prog_CC_BUILD+set}" = set; then
3371 $as_echo_n "(cached) " >&6
3373 if test -n "$CC_BUILD"; then
3374 ac_cv_prog_CC_BUILD
="$CC_BUILD" # Let the user override the test.
3376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3380 test -z "$as_dir" && as_dir
=.
3381 for ac_exec_ext
in '' $ac_executable_extensions; do
3382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3383 ac_cv_prog_CC_BUILD
="${build}-gcc"
3384 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3393 CC_BUILD
=$ac_cv_prog_CC_BUILD
3394 if test -n "$CC_BUILD"; then
3395 { $as_echo "$as_me:$LINENO: result: $CC_BUILD" >&5
3396 $as_echo "$CC_BUILD" >&6; }
3398 { $as_echo "$as_me:$LINENO: result: no" >&5
3399 $as_echo "no" >&6; }
3403 test -z "${CC_BUILD}" && # Extract the first word of "gcc", so it can be a program name with args.
3404 set dummy gcc
; ac_word
=$2
3405 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3406 $as_echo_n "checking for $ac_word... " >&6; }
3407 if test "${ac_cv_prog_CC_BUILD+set}" = set; then
3408 $as_echo_n "(cached) " >&6
3410 if test -n "$CC_BUILD"; then
3411 ac_cv_prog_CC_BUILD
="$CC_BUILD" # Let the user override the test.
3413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3417 test -z "$as_dir" && as_dir
=.
3418 for ac_exec_ext
in '' $ac_executable_extensions; do
3419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3420 ac_cv_prog_CC_BUILD
="gcc"
3421 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3430 CC_BUILD
=$ac_cv_prog_CC_BUILD
3431 if test -n "$CC_BUILD"; then
3432 { $as_echo "$as_me:$LINENO: result: $CC_BUILD" >&5
3433 $as_echo "$CC_BUILD" >&6; }
3435 { $as_echo "$as_me:$LINENO: result: no" >&5
3436 $as_echo "no" >&6; }
3440 test -z "${CC_BUILD}" && # Extract the first word of "cc", so it can be a program name with args.
3441 set dummy cc
; ac_word
=$2
3442 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3443 $as_echo_n "checking for $ac_word... " >&6; }
3444 if test "${ac_cv_prog_CC_BUILD+set}" = set; then
3445 $as_echo_n "(cached) " >&6
3447 if test -n "$CC_BUILD"; then
3448 ac_cv_prog_CC_BUILD
="$CC_BUILD" # Let the user override the test.
3451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3455 test -z "$as_dir" && as_dir
=.
3456 for ac_exec_ext
in '' $ac_executable_extensions; do
3457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3458 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3459 ac_prog_rejected
=yes
3462 ac_cv_prog_CC_BUILD
="cc"
3463 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3470 if test $ac_prog_rejected = yes; then
3471 # We found a bogon in the path, so make sure we never use it.
3472 set dummy
$ac_cv_prog_CC_BUILD
3474 if test $# != 0; then
3475 # We chose a different compiler from the bogus one.
3476 # However, it has the same basename, so the bogon will be chosen
3477 # first if we set CC_BUILD to just the basename; use the full file name.
3479 ac_cv_prog_CC_BUILD
="$as_dir/$ac_word${1+' '}$@"
3484 CC_BUILD
=$ac_cv_prog_CC_BUILD
3485 if test -n "$CC_BUILD"; then
3486 { $as_echo "$as_me:$LINENO: result: $CC_BUILD" >&5
3487 $as_echo "$CC_BUILD" >&6; }
3489 { $as_echo "$as_me:$LINENO: result: no" >&5
3490 $as_echo "no" >&6; }
3494 test -z "${CC_BUILD}" && { { $as_echo "$as_me:$LINENO: error: cannot find native C compiler" >&5
3495 $as_echo "$as_me: error: cannot find native C compiler" >&2;}
3496 { (exit 1); exit 1; }; }
3498 { $as_echo "$as_me:$LINENO: checking for suffix of native executables" >&5
3499 $as_echo_n "checking for suffix of native executables... " >&6; }
3500 rm -f a.
* b.
* a_out.exe conftest.
*
3501 echo > conftest.c
"int main() { return 0;}"
3502 ${CC_BUILD} conftest.c ||
{ { $as_echo "$as_me:$LINENO: error: native C compiler is not working" >&5
3503 $as_echo "$as_me: error: native C compiler is not working" >&2;}
3504 { (exit 1); exit 1; }; }
3506 if test -x a.out
-o -x b.out
-o -x conftest
; then
3508 elif test -x a_out.exe
-o -x conftest.exe
; then
3510 elif test -x conftest.
* ; then
3511 EXEEXT_BUILD
=`echo conftest.* | sed -n '1s/^.*\.//g'`
3513 { $as_echo "$as_me:$LINENO: result: $EXEEXT_BUILD" >&5
3514 $as_echo "$EXEEXT_BUILD" >&6; }
3517 EXEEXT_BUILD
=${EXEEXT}
3521 if test ! -z ${EXEEXT_BUILD}; then
3522 EXEEXT_BUILD
=.
"${EXEEXT_BUILD}"
3529 # get compiler flags right
3531 if test "x$CC" = xgcc
; then
3533 XX_ANSIFLAGS
="-pedantic -ansi"
3538 XX_CFLAGS
="-std1 -g3"
3551 # auxiliary programs
3553 # Extract the first word of "rm", so it can be a program name with args.
3554 set dummy
rm; ac_word
=$2
3555 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3556 $as_echo_n "checking for $ac_word... " >&6; }
3557 if test "${ac_cv_prog_RMF+set}" = set; then
3558 $as_echo_n "(cached) " >&6
3560 if test -n "$RMF"; then
3561 ac_cv_prog_RMF
="$RMF" # Let the user override the test.
3563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3567 test -z "$as_dir" && as_dir
=.
3568 for ac_exec_ext
in '' $ac_executable_extensions; do
3569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3570 ac_cv_prog_RMF
="rm -f"
3571 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3581 if test -n "$RMF"; then
3582 { $as_echo "$as_me:$LINENO: result: $RMF" >&5
3583 $as_echo "$RMF" >&6; }
3585 { $as_echo "$as_me:$LINENO: result: no" >&5
3586 $as_echo "no" >&6; }
3590 # Extract the first word of "rmdir", so it can be a program name with args.
3591 set dummy
rmdir; ac_word
=$2
3592 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3593 $as_echo_n "checking for $ac_word... " >&6; }
3594 if test "${ac_cv_prog_RMDIR+set}" = set; then
3595 $as_echo_n "(cached) " >&6
3597 if test -n "$RMDIR"; then
3598 ac_cv_prog_RMDIR
="$RMDIR" # Let the user override the test.
3600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3604 test -z "$as_dir" && as_dir
=.
3605 for ac_exec_ext
in '' $ac_executable_extensions; do
3606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3607 ac_cv_prog_RMDIR
="rmdir"
3608 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3617 RMDIR
=$ac_cv_prog_RMDIR
3618 if test -n "$RMDIR"; then
3619 { $as_echo "$as_me:$LINENO: result: $RMDIR" >&5
3620 $as_echo "$RMDIR" >&6; }
3622 { $as_echo "$as_me:$LINENO: result: no" >&5
3623 $as_echo "no" >&6; }
3629 # Since this file will be finally moved to another directory we make
3630 # the path of the install script absolute. This small code snippet has
3631 # been taken from automake's `ylwrap' script.
3633 # Find a good install program. We prefer a C program (faster),
3634 # so one script is as good as another. But avoid the broken or
3635 # incompatible versions:
3636 # SysV /etc/install, /usr/sbin/install
3637 # SunOS /usr/etc/install
3638 # IRIX /sbin/install
3640 # AmigaOS /C/install, which installs bootblocks on floppy discs
3641 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3642 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3643 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3644 # OS/2's system install, which has a completely different semantic
3645 # ./install, which can be erroneously created by make from ./install.sh.
3646 # Reject install programs that cannot install multiple files.
3647 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3648 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3649 if test -z "$INSTALL"; then
3650 if test "${ac_cv_path_install+set}" = set; then
3651 $as_echo_n "(cached) " >&6
3653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3657 test -z "$as_dir" && as_dir
=.
3658 # Account for people who put trailing slashes in PATH elements.
3660 .
/ | .
// |
/cC
/* | \
3661 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3662 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3665 # OSF1 and SCO ODT 3.0 have their own names for install.
3666 # Don't use installbsd from OSF since it installs stuff as root
3668 for ac_prog
in ginstall scoinst
install; do
3669 for ac_exec_ext
in '' $ac_executable_extensions; do
3670 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3671 if test $ac_prog = install &&
3672 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3673 # AIX install. It has an incompatible calling convention.
3675 elif test $ac_prog = install &&
3676 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3677 # program-specific install script used by HP pwplus--don't use.
3680 rm -rf conftest.one conftest.two conftest.dir
3681 echo one
> conftest.one
3682 echo two
> conftest.two
3684 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3685 test -s conftest.one
&& test -s conftest.two
&&
3686 test -s conftest.dir
/conftest.one
&&
3687 test -s conftest.dir
/conftest.two
3689 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3702 rm -rf conftest.one conftest.two conftest.dir
3705 if test "${ac_cv_path_install+set}" = set; then
3706 INSTALL
=$ac_cv_path_install
3708 # As a last resort, use the slow shell script. Don't cache a
3709 # value for INSTALL within a source directory, because that will
3710 # break other packages using the cache if that directory is
3711 # removed, or if the value is a relative name.
3712 INSTALL
=$ac_install_sh
3715 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3716 $as_echo "$INSTALL" >&6; }
3718 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3719 # It thinks the first close brace ends the variable substitution.
3720 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3722 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3724 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3730 INSTALL
="`pwd`/$INSTALL" ;;
3734 # checks for header files
3738 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3739 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3740 if test "${ac_cv_path_GREP+set}" = set; then
3741 $as_echo_n "(cached) " >&6
3743 if test -z "$GREP"; then
3744 ac_path_GREP_found
=false
3745 # Loop through the user's path and test for each of PROGNAME-LIST
3746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3747 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3750 test -z "$as_dir" && as_dir
=.
3751 for ac_prog
in grep ggrep
; do
3752 for ac_exec_ext
in '' $ac_executable_extensions; do
3753 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3754 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3755 # Check for GNU ac_path_GREP and select it if it is found.
3756 # Check for GNU $ac_path_GREP
3757 case `"$ac_path_GREP" --version 2>&1` in
3759 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3762 $as_echo_n 0123456789 >"conftest.in"
3765 cat "conftest.in" "conftest.in" >"conftest.tmp"
3766 mv "conftest.tmp" "conftest.in"
3767 cp "conftest.in" "conftest.nl"
3768 $as_echo 'GREP' >> "conftest.nl"
3769 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3770 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3771 ac_count
=`expr $ac_count + 1`
3772 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3773 # Best one so far, save it but keep looking for a better one
3774 ac_cv_path_GREP
="$ac_path_GREP"
3775 ac_path_GREP_max
=$ac_count
3777 # 10*(2^10) chars as input seems more than enough
3778 test $ac_count -gt 10 && break
3780 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3783 $ac_path_GREP_found && break 3
3788 if test -z "$ac_cv_path_GREP"; then
3789 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3790 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3791 { (exit 1); exit 1; }; }
3794 ac_cv_path_GREP
=$GREP
3798 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3799 $as_echo "$ac_cv_path_GREP" >&6; }
3800 GREP
="$ac_cv_path_GREP"
3803 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3804 $as_echo_n "checking for egrep... " >&6; }
3805 if test "${ac_cv_path_EGREP+set}" = set; then
3806 $as_echo_n "(cached) " >&6
3808 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3809 then ac_cv_path_EGREP
="$GREP -E"
3811 if test -z "$EGREP"; then
3812 ac_path_EGREP_found
=false
3813 # Loop through the user's path and test for each of PROGNAME-LIST
3814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3815 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3818 test -z "$as_dir" && as_dir
=.
3819 for ac_prog
in egrep; do
3820 for ac_exec_ext
in '' $ac_executable_extensions; do
3821 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3822 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3823 # Check for GNU ac_path_EGREP and select it if it is found.
3824 # Check for GNU $ac_path_EGREP
3825 case `"$ac_path_EGREP" --version 2>&1` in
3827 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3830 $as_echo_n 0123456789 >"conftest.in"
3833 cat "conftest.in" "conftest.in" >"conftest.tmp"
3834 mv "conftest.tmp" "conftest.in"
3835 cp "conftest.in" "conftest.nl"
3836 $as_echo 'EGREP' >> "conftest.nl"
3837 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3838 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3839 ac_count
=`expr $ac_count + 1`
3840 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3841 # Best one so far, save it but keep looking for a better one
3842 ac_cv_path_EGREP
="$ac_path_EGREP"
3843 ac_path_EGREP_max
=$ac_count
3845 # 10*(2^10) chars as input seems more than enough
3846 test $ac_count -gt 10 && break
3848 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3851 $ac_path_EGREP_found && break 3
3856 if test -z "$ac_cv_path_EGREP"; then
3857 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3858 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3859 { (exit 1); exit 1; }; }
3862 ac_cv_path_EGREP
=$EGREP
3867 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3868 $as_echo "$ac_cv_path_EGREP" >&6; }
3869 EGREP
="$ac_cv_path_EGREP"
3872 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3873 $as_echo_n "checking for ANSI C header files... " >&6; }
3874 if test "${ac_cv_header_stdc+set}" = set; then
3875 $as_echo_n "(cached) " >&6
3877 cat >conftest.
$ac_ext <<_ACEOF
3880 cat confdefs.h
>>conftest.
$ac_ext
3881 cat >>conftest.
$ac_ext <<_ACEOF
3882 /* end confdefs.h. */
3896 rm -f conftest.
$ac_objext
3897 if { (ac_try
="$ac_compile"
3899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3900 *) ac_try_echo=$ac_try;;
3902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3903 $as_echo "$ac_try_echo") >&5
3904 (eval "$ac_compile") 2>conftest.er1
3906 grep -v '^ *+' conftest.er1 >conftest.err
3908 cat conftest.err >&5
3909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910 (exit $ac_status); } && {
3911 test -z "$ac_c_werror_flag" ||
3912 test ! -s conftest.err
3913 } && test -s conftest.$ac_objext; then
3914 ac_cv_header_stdc=yes
3916 $as_echo "$as_me: failed program was:" >&5
3917 sed 's/^/| /' conftest.$ac_ext >&5
3919 ac_cv_header_stdc=no
3922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3924 if test $ac_cv_header_stdc = yes; then
3925 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3926 cat >conftest.$ac_ext <<_ACEOF
3929 cat confdefs.h >>conftest.$ac_ext
3930 cat >>conftest.$ac_ext <<_ACEOF
3931 /* end confdefs.h. */
3935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3936 $EGREP "memchr" >/dev/null 2>&1; then
3939 ac_cv_header_stdc=no
3945 if test $ac_cv_header_stdc = yes; then
3946 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3947 cat >conftest.$ac_ext <<_ACEOF
3950 cat confdefs.h >>conftest.$ac_ext
3951 cat >>conftest.$ac_ext <<_ACEOF
3952 /* end confdefs.h. */
3956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3957 $EGREP "free" >/dev/null 2>&1; then
3960 ac_cv_header_stdc=no
3966 if test $ac_cv_header_stdc = yes; then
3967 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3968 if test "$cross_compiling" = yes; then
3971 cat >conftest.$ac_ext <<_ACEOF
3974 cat confdefs.h >>conftest.$ac_ext
3975 cat >>conftest.$ac_ext <<_ACEOF
3976 /* end confdefs.h. */
3979 #if ((' ' & 0x0FF) == 0x020)
3980 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3981 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3983 # define ISLOWER(c) \
3984 (('a' <= (c) && (c) <= 'i') \
3985 || ('j' <= (c) && (c) <= 'r') \
3986 || ('s' <= (c) && (c) <= 'z'))
3987 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3990 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3995 for (i = 0; i < 256; i++)
3996 if (XOR (islower (i), ISLOWER (i))
3997 || toupper (i) != TOUPPER (i))
4002 rm -f conftest$ac_exeext
4003 if { (ac_try="$ac_link"
4005 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4006 *) ac_try_echo
=$ac_try;;
4008 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4009 $as_echo "$ac_try_echo") >&5
4010 (eval "$ac_link") 2>&5
4012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4014 { (case "(($ac_try" in
4015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4016 *) ac_try_echo=$ac_try;;
4018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4019 $as_echo "$ac_try_echo") >&5
4020 (eval "$ac_try") 2>&5
4022 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4023 (exit $ac_status); }; }; then
4026 $as_echo "$as_me: program exited with status $ac_status" >&5
4027 $as_echo "$as_me: failed program was:" >&5
4028 sed 's/^/| /' conftest.$ac_ext >&5
4031 ac_cv_header_stdc=no
4033 rm -rf conftest.dSYM
4034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4040 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4041 $as_echo "$ac_cv_header_stdc" >&6; }
4042 if test $ac_cv_header_stdc = yes; then
4044 cat >>confdefs.h <<\_ACEOF
4045 #define STDC_HEADERS 1
4050 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4060 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4061 inttypes.h stdint.h unistd.h
4063 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4064 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4065 $as_echo_n "checking for $ac_header... " >&6; }
4066 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4067 $as_echo_n "(cached) " >&6
4069 cat >conftest.$ac_ext <<_ACEOF
4072 cat confdefs.h >>conftest.$ac_ext
4073 cat >>conftest.$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4075 $ac_includes_default
4077 #include <$ac_header>
4079 rm -f conftest.$ac_objext
4080 if { (ac_try="$ac_compile"
4082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4083 *) ac_try_echo
=$ac_try;;
4085 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4086 $as_echo "$ac_try_echo") >&5
4087 (eval "$ac_compile") 2>conftest.er1
4089 grep -v '^ *+' conftest.er1
>conftest.err
4091 cat conftest.err
>&5
4092 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093 (exit $ac_status); } && {
4094 test -z "$ac_c_werror_flag" ||
4095 test ! -s conftest.err
4096 } && test -s conftest.
$ac_objext; then
4097 eval "$as_ac_Header=yes"
4099 $as_echo "$as_me: failed program was:" >&5
4100 sed 's/^/| /' conftest.
$ac_ext >&5
4102 eval "$as_ac_Header=no"
4105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4107 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4108 $as_echo "$as_val"'`
4109 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4110 $as_echo "$ac_res" >&6; }
4111 if test `eval 'as_val=${'$as_ac_Header'}
4112 $as_echo "$as_val"'` = yes; then
4113 cat >>confdefs.h
<<_ACEOF
4114 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4124 for ac_header
in fcntl.h unistd.h
4126 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4127 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4128 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4129 $as_echo_n "checking for $ac_header... " >&6; }
4130 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4131 $as_echo_n "(cached) " >&6
4133 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4134 $as_echo "$as_val"'`
4135 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4136 $as_echo "$ac_res" >&6; }
4138 # Is the header compilable?
4139 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4140 $as_echo_n "checking $ac_header usability... " >&6; }
4141 cat >conftest.
$ac_ext <<_ACEOF
4144 cat confdefs.h
>>conftest.
$ac_ext
4145 cat >>conftest.
$ac_ext <<_ACEOF
4146 /* end confdefs.h. */
4147 $ac_includes_default
4148 #include <$ac_header>
4150 rm -f conftest.
$ac_objext
4151 if { (ac_try
="$ac_compile"
4153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4154 *) ac_try_echo=$ac_try;;
4156 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4157 $as_echo "$ac_try_echo") >&5
4158 (eval "$ac_compile") 2>conftest.er1
4160 grep -v '^ *+' conftest.er1 >conftest.err
4162 cat conftest.err >&5
4163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); } && {
4165 test -z "$ac_c_werror_flag" ||
4166 test ! -s conftest.err
4167 } && test -s conftest.$ac_objext; then
4168 ac_header_compiler=yes
4170 $as_echo "$as_me: failed program was:" >&5
4171 sed 's/^/| /' conftest.$ac_ext >&5
4173 ac_header_compiler=no
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4177 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4178 $as_echo "$ac_header_compiler" >&6; }
4180 # Is the header present?
4181 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4182 $as_echo_n "checking $ac_header presence... " >&6; }
4183 cat >conftest.$ac_ext <<_ACEOF
4186 cat confdefs.h >>conftest.$ac_ext
4187 cat >>conftest.$ac_ext <<_ACEOF
4188 /* end confdefs.h. */
4189 #include <$ac_header>
4191 if { (ac_try="$ac_cpp conftest.$ac_ext"
4193 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4194 *) ac_try_echo
=$ac_try;;
4196 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4197 $as_echo "$ac_try_echo") >&5
4198 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4200 grep -v '^ *+' conftest.er1
>conftest.err
4202 cat conftest.err
>&5
4203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204 (exit $ac_status); } >/dev
/null
&& {
4205 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4206 test ! -s conftest.err
4208 ac_header_preproc
=yes
4210 $as_echo "$as_me: failed program was:" >&5
4211 sed 's/^/| /' conftest.
$ac_ext >&5
4213 ac_header_preproc
=no
4216 rm -f conftest.err conftest.
$ac_ext
4217 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4218 $as_echo "$ac_header_preproc" >&6; }
4220 # So? What about this header?
4221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4223 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4224 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4225 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4226 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4227 ac_header_preproc
=yes
4230 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4231 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4232 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4233 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4234 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4235 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4236 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4237 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4238 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4239 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4240 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4241 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4243 ## ---------------------------------- ##
4244 ## Report this to freetype@nongnu.org ##
4245 ## ---------------------------------- ##
4247 ) |
sed "s/^/$as_me: WARNING: /" >&2
4250 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4251 $as_echo_n "checking for $ac_header... " >&6; }
4252 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4253 $as_echo_n "(cached) " >&6
4255 eval "$as_ac_Header=\$ac_header_preproc"
4257 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4258 $as_echo "$as_val"'`
4259 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4260 $as_echo "$ac_res" >&6; }
4263 if test `eval 'as_val=${'$as_ac_Header'}
4264 $as_echo "$as_val"'` = yes; then
4265 cat >>confdefs.h
<<_ACEOF
4266 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4275 # checks for typedefs, structures, and compiler characteristics
4277 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4278 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4279 if test "${ac_cv_c_const+set}" = set; then
4280 $as_echo_n "(cached) " >&6
4282 cat >conftest.
$ac_ext <<_ACEOF
4285 cat confdefs.h
>>conftest.
$ac_ext
4286 cat >>conftest.
$ac_ext <<_ACEOF
4287 /* end confdefs.h. */
4292 /* FIXME: Include the comments suggested by Paul. */
4294 /* Ultrix mips cc rejects this. */
4295 typedef int charset[2];
4297 /* SunOS 4.1.1 cc rejects this. */
4298 char const *const *pcpcc;
4300 /* NEC SVR4.0.2 mips cc rejects this. */
4301 struct point {int x, y;};
4302 static struct point const zero = {0,0};
4303 /* AIX XL C 1.02.0.0 rejects this.
4304 It does not let you subtract one const X* pointer from another in
4305 an arm of an if-expression whose if-part is not a constant
4307 const char *g = "string";
4308 pcpcc = &g + (g ? g-g : 0);
4309 /* HPUX 7.0 cc rejects these. */
4311 ppc = (char**) pcpcc;
4312 pcpcc = (char const *const *) ppc;
4313 { /* SCO 3.2v4 cc rejects this. */
4315 char const *s = 0 ? (char *) 0 : (char const *) 0;
4320 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4322 const int *foo = &x[0];
4325 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4326 typedef const int *iptr;
4330 { /* AIX XL C 1.02.0.0 rejects this saying
4331 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4332 struct s { int j; const int *ap[3]; };
4333 struct s *b; b->j = 5;
4335 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4339 return !cs[0] && !zero.x;
4346 rm -f conftest.
$ac_objext
4347 if { (ac_try
="$ac_compile"
4349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4350 *) ac_try_echo=$ac_try;;
4352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4353 $as_echo "$ac_try_echo") >&5
4354 (eval "$ac_compile") 2>conftest.er1
4356 grep -v '^ *+' conftest.er1 >conftest.err
4358 cat conftest.err >&5
4359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360 (exit $ac_status); } && {
4361 test -z "$ac_c_werror_flag" ||
4362 test ! -s conftest.err
4363 } && test -s conftest.$ac_objext; then
4366 $as_echo "$as_me: failed program was:" >&5
4367 sed 's/^/| /' conftest.$ac_ext >&5
4372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4374 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4375 $as_echo "$ac_cv_c_const" >&6; }
4376 if test $ac_cv_c_const = no; then
4378 cat >>confdefs.h <<\_ACEOF
4384 # The cast to long int works around a bug in the HP C Compiler
4385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4386 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
4387 # This bug is HP SR number 8606223364.
4388 { $as_echo "$as_me:$LINENO: checking size of int" >&5
4389 $as_echo_n "checking size of int... " >&6; }
4390 if test "${ac_cv_sizeof_int+set}" = set; then
4391 $as_echo_n "(cached) " >&6
4393 if test "$cross_compiling" = yes; then
4394 # Depending upon the size, compute the lo and hi bounds.
4395 cat >conftest.$ac_ext <<_ACEOF
4398 cat confdefs.h >>conftest.$ac_ext
4399 cat >>conftest.$ac_ext <<_ACEOF
4400 /* end confdefs.h. */
4401 $ac_includes_default
4405 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
4412 rm -f conftest.$ac_objext
4413 if { (ac_try="$ac_compile"
4415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4416 *) ac_try_echo=$ac_try;;
4418 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4419 $as_echo "$ac_try_echo") >&5
4420 (eval "$ac_compile") 2>conftest.er1
4422 grep -v '^
*+' conftest.er1 >conftest.err
4424 cat conftest.err >&5
4425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426 (exit $ac_status); } && {
4427 test -z "$ac_c_werror_flag" ||
4428 test ! -s conftest.err
4429 } && test -s conftest.$ac_objext; then
4432 cat >conftest.$ac_ext <<_ACEOF
4435 cat confdefs.h >>conftest.$ac_ext
4436 cat >>conftest.$ac_ext <<_ACEOF
4437 /* end confdefs.h. */
4438 $ac_includes_default
4442 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
4449 rm -f conftest.$ac_objext
4450 if { (ac_try="$ac_compile"
4452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4453 *) ac_try_echo=$ac_try;;
4455 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4456 $as_echo "$ac_try_echo") >&5
4457 (eval "$ac_compile") 2>conftest.er1
4459 grep -v '^
*+' conftest.er1 >conftest.err
4461 cat conftest.err >&5
4462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463 (exit $ac_status); } && {
4464 test -z "$ac_c_werror_flag" ||
4465 test ! -s conftest.err
4466 } && test -s conftest.$ac_objext; then
4467 ac_hi=$ac_mid; break
4469 $as_echo "$as_me: failed program was:" >&5
4470 sed 's
/^
/|
/' conftest.$ac_ext >&5
4472 ac_lo=`expr $ac_mid + 1`
4473 if test $ac_lo -le $ac_mid; then
4477 ac_mid=`expr 2 '*' $ac_mid + 1`
4480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4483 $as_echo "$as_me: failed program was:" >&5
4484 sed 's
/^
/|
/' conftest.$ac_ext >&5
4486 cat >conftest.$ac_ext <<_ACEOF
4489 cat confdefs.h >>conftest.$ac_ext
4490 cat >>conftest.$ac_ext <<_ACEOF
4491 /* end confdefs.h. */
4492 $ac_includes_default
4496 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
4503 rm -f conftest.$ac_objext
4504 if { (ac_try="$ac_compile"
4506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4507 *) ac_try_echo=$ac_try;;
4509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4510 $as_echo "$ac_try_echo") >&5
4511 (eval "$ac_compile") 2>conftest.er1
4513 grep -v '^
*+' conftest.er1 >conftest.err
4515 cat conftest.err >&5
4516 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); } && {
4518 test -z "$ac_c_werror_flag" ||
4519 test ! -s conftest.err
4520 } && test -s conftest.$ac_objext; then
4523 cat >conftest.$ac_ext <<_ACEOF
4526 cat confdefs.h >>conftest.$ac_ext
4527 cat >>conftest.$ac_ext <<_ACEOF
4528 /* end confdefs.h. */
4529 $ac_includes_default
4533 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
4540 rm -f conftest.$ac_objext
4541 if { (ac_try="$ac_compile"
4543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4544 *) ac_try_echo=$ac_try;;
4546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4547 $as_echo "$ac_try_echo") >&5
4548 (eval "$ac_compile") 2>conftest.er1
4550 grep -v '^
*+' conftest.er1 >conftest.err
4552 cat conftest.err >&5
4553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); } && {
4555 test -z "$ac_c_werror_flag" ||
4556 test ! -s conftest.err
4557 } && test -s conftest.$ac_objext; then
4558 ac_lo=$ac_mid; break
4560 $as_echo "$as_me: failed program was:" >&5
4561 sed 's
/^
/|
/' conftest.$ac_ext >&5
4563 ac_hi=`expr '(' $ac_mid ')' - 1`
4564 if test $ac_mid -le $ac_hi; then
4568 ac_mid=`expr 2 '*' $ac_mid`
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4574 $as_echo "$as_me: failed program was:" >&5
4575 sed 's
/^
/|
/' conftest.$ac_ext >&5
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 # Binary search between lo and hi bounds.
4585 while test "x$ac_lo" != "x$ac_hi"; do
4586 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4587 cat >conftest.$ac_ext <<_ACEOF
4590 cat confdefs.h >>conftest.$ac_ext
4591 cat >>conftest.$ac_ext <<_ACEOF
4592 /* end confdefs.h. */
4593 $ac_includes_default
4597 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
4604 rm -f conftest.$ac_objext
4605 if { (ac_try="$ac_compile"
4607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4608 *) ac_try_echo=$ac_try;;
4610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4611 $as_echo "$ac_try_echo") >&5
4612 (eval "$ac_compile") 2>conftest.er1
4614 grep -v '^
*+' conftest.er1 >conftest.err
4616 cat conftest.err >&5
4617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); } && {
4619 test -z "$ac_c_werror_flag" ||
4620 test ! -s conftest.err
4621 } && test -s conftest.$ac_objext; then
4624 $as_echo "$as_me: failed program was:" >&5
4625 sed 's
/^
/|
/' conftest.$ac_ext >&5
4627 ac_lo=`expr '(' $ac_mid ')' + 1`
4630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4633 ?*) ac_cv_sizeof_int=$ac_lo;;
4634 '') if test "$ac_cv_type_int" = yes; then
4635 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
4636 See \`config.log' for more details.
" >&5
4637 $as_echo "$as_me: error
: cannot compute sizeof
(int
)
4638 See \
`config.log' for more details." >&2;}
4639 { (exit 77); exit 77; }; }
4645 cat >conftest.$ac_ext <<_ACEOF
4648 cat confdefs.h >>conftest.$ac_ext
4649 cat >>conftest.$ac_ext <<_ACEOF
4650 /* end confdefs.h. */
4651 $ac_includes_default
4652 static long int longval () { return (long int) (sizeof (int)); }
4653 static unsigned long int ulongval () { return (long int) (sizeof (int)); }
4660 FILE *f = fopen ("conftest.val", "w");
4663 if (((long int) (sizeof (int))) < 0)
4665 long int i = longval ();
4666 if (i != ((long int) (sizeof (int))))
4668 fprintf (f, "%ld", i);
4672 unsigned long int i = ulongval ();
4673 if (i != ((long int) (sizeof (int))))
4675 fprintf (f, "%lu", i);
4677 /* Do not output a trailing newline, as this causes \r\n confusion
4678 on some platforms. */
4679 return ferror (f) || fclose (f) != 0;
4685 rm -f conftest$ac_exeext
4686 if { (ac_try="$ac_link"
4688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4689 *) ac_try_echo
=$ac_try;;
4691 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4692 $as_echo "$ac_try_echo") >&5
4693 (eval "$ac_link") 2>&5
4695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4697 { (case "(($ac_try" in
4698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4699 *) ac_try_echo=$ac_try;;
4701 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4702 $as_echo "$ac_try_echo") >&5
4703 (eval "$ac_try") 2>&5
4705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); }; }; then
4707 ac_cv_sizeof_int=`cat conftest.val
`
4709 $as_echo "$as_me: program exited with status $ac_status" >&5
4710 $as_echo "$as_me: failed program was:" >&5
4711 sed 's/^/| /' conftest.$ac_ext >&5
4714 if test "$ac_cv_type_int" = yes; then
4715 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
4716 See \`config.log
' for more details." >&5
4717 $as_echo "$as_me: error: cannot compute sizeof (int)
4718 See \`config.log' for more details.
" >&2;}
4719 { (exit 77); exit 77; }; }
4724 rm -rf conftest.dSYM
4725 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4729 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_int" >&5
4730 $as_echo "$ac_cv_sizeof_int" >&6; }
4734 cat >>confdefs.h <<_ACEOF
4735 #define SIZEOF_INT $ac_cv_sizeof_int
4739 # The cast to long int works around a bug in the HP C Compiler
4740 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4741 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4742 # This bug is HP SR number 8606223364.
4743 { $as_echo "$as_me:$LINENO: checking size of long
" >&5
4744 $as_echo_n "checking size of long...
" >&6; }
4745 if test "${ac_cv_sizeof_long+set}" = set; then
4746 $as_echo_n "(cached
) " >&6
4748 if test "$cross_compiling" = yes; then
4749 # Depending upon the size, compute the lo and hi bounds.
4750 cat >conftest.$ac_ext <<_ACEOF
4753 cat confdefs.h >>conftest.$ac_ext
4754 cat >>conftest.$ac_ext <<_ACEOF
4755 /* end confdefs.h. */
4756 $ac_includes_default
4760 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
4767 rm -f conftest.$ac_objext
4768 if { (ac_try="$ac_compile"
4770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4771 *) ac_try_echo=$ac_try;;
4773 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4774 $as_echo "$ac_try_echo") >&5
4775 (eval "$ac_compile") 2>conftest.er1
4777 grep -v '^ *+' conftest.er1 >conftest.err
4779 cat conftest.err >&5
4780 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4781 (exit $ac_status); } && {
4782 test -z "$ac_c_werror_flag" ||
4783 test ! -s conftest.err
4784 } && test -s conftest.$ac_objext; then
4787 cat >conftest.$ac_ext <<_ACEOF
4790 cat confdefs.h >>conftest.$ac_ext
4791 cat >>conftest.$ac_ext <<_ACEOF
4792 /* end confdefs.h. */
4793 $ac_includes_default
4797 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
4804 rm -f conftest.$ac_objext
4805 if { (ac_try="$ac_compile"
4807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4808 *) ac_try_echo=$ac_try;;
4810 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4811 $as_echo "$ac_try_echo") >&5
4812 (eval "$ac_compile") 2>conftest.er1
4814 grep -v '^ *+' conftest.er1 >conftest.err
4816 cat conftest.err >&5
4817 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4818 (exit $ac_status); } && {
4819 test -z "$ac_c_werror_flag" ||
4820 test ! -s conftest.err
4821 } && test -s conftest.$ac_objext; then
4822 ac_hi=$ac_mid; break
4824 $as_echo "$as_me: failed program was
:" >&5
4825 sed 's/^/| /' conftest.$ac_ext >&5
4827 ac_lo=`expr $ac_mid + 1`
4828 if test $ac_lo -le $ac_mid; then
4832 ac_mid=`expr 2 '*' $ac_mid + 1`
4835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4838 $as_echo "$as_me: failed program was
:" >&5
4839 sed 's/^/| /' conftest.$ac_ext >&5
4841 cat >conftest.$ac_ext <<_ACEOF
4844 cat confdefs.h >>conftest.$ac_ext
4845 cat >>conftest.$ac_ext <<_ACEOF
4846 /* end confdefs.h. */
4847 $ac_includes_default
4851 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
4858 rm -f conftest.$ac_objext
4859 if { (ac_try="$ac_compile"
4861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4862 *) ac_try_echo=$ac_try;;
4864 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4865 $as_echo "$ac_try_echo") >&5
4866 (eval "$ac_compile") 2>conftest.er1
4868 grep -v '^ *+' conftest.er1 >conftest.err
4870 cat conftest.err >&5
4871 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4872 (exit $ac_status); } && {
4873 test -z "$ac_c_werror_flag" ||
4874 test ! -s conftest.err
4875 } && test -s conftest.$ac_objext; then
4878 cat >conftest.$ac_ext <<_ACEOF
4881 cat confdefs.h >>conftest.$ac_ext
4882 cat >>conftest.$ac_ext <<_ACEOF
4883 /* end confdefs.h. */
4884 $ac_includes_default
4888 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
4895 rm -f conftest.$ac_objext
4896 if { (ac_try="$ac_compile"
4898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4899 *) ac_try_echo=$ac_try;;
4901 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4902 $as_echo "$ac_try_echo") >&5
4903 (eval "$ac_compile") 2>conftest.er1
4905 grep -v '^ *+' conftest.er1 >conftest.err
4907 cat conftest.err >&5
4908 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4909 (exit $ac_status); } && {
4910 test -z "$ac_c_werror_flag" ||
4911 test ! -s conftest.err
4912 } && test -s conftest.$ac_objext; then
4913 ac_lo=$ac_mid; break
4915 $as_echo "$as_me: failed program was
:" >&5
4916 sed 's/^/| /' conftest.$ac_ext >&5
4918 ac_hi=`expr '(' $ac_mid ')' - 1`
4919 if test $ac_mid -le $ac_hi; then
4923 ac_mid=`expr 2 '*' $ac_mid`
4926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4929 $as_echo "$as_me: failed program was
:" >&5
4930 sed 's/^/| /' conftest.$ac_ext >&5
4935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4939 # Binary search between lo and hi bounds.
4940 while test "x
$ac_lo" != "x
$ac_hi"; do
4941 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4942 cat >conftest.$ac_ext <<_ACEOF
4945 cat confdefs.h >>conftest.$ac_ext
4946 cat >>conftest.$ac_ext <<_ACEOF
4947 /* end confdefs.h. */
4948 $ac_includes_default
4952 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
4959 rm -f conftest.$ac_objext
4960 if { (ac_try="$ac_compile"
4962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4963 *) ac_try_echo=$ac_try;;
4965 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4966 $as_echo "$ac_try_echo") >&5
4967 (eval "$ac_compile") 2>conftest.er1
4969 grep -v '^ *+' conftest.er1 >conftest.err
4971 cat conftest.err >&5
4972 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4973 (exit $ac_status); } && {
4974 test -z "$ac_c_werror_flag" ||
4975 test ! -s conftest.err
4976 } && test -s conftest.$ac_objext; then
4979 $as_echo "$as_me: failed program was
:" >&5
4980 sed 's/^/| /' conftest.$ac_ext >&5
4982 ac_lo=`expr '(' $ac_mid ')' + 1`
4985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4988 ?*) ac_cv_sizeof_long=$ac_lo;;
4989 '') if test "$ac_cv_type_long" = yes; then
4990 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
4991 See \
`config.log' for more details." >&5
4992 $as_echo "$as_me: error: cannot compute sizeof (long)
4993 See \`config.log
' for more details." >&2;}
4994 { (exit 77); exit 77; }; }
5000 cat >conftest.$ac_ext <<_ACEOF
5003 cat confdefs.h >>conftest.$ac_ext
5004 cat >>conftest.$ac_ext <<_ACEOF
5005 /* end confdefs.h. */
5006 $ac_includes_default
5007 static long int longval () { return (long int) (sizeof (long)); }
5008 static unsigned long int ulongval () { return (long int) (sizeof (long)); }
5015 FILE *f = fopen ("conftest.val", "w");
5018 if (((long int) (sizeof (long))) < 0)
5020 long int i = longval ();
5021 if (i != ((long int) (sizeof (long))))
5023 fprintf (f, "%ld", i);
5027 unsigned long int i = ulongval ();
5028 if (i != ((long int) (sizeof (long))))
5030 fprintf (f, "%lu", i);
5032 /* Do not output a trailing newline, as this causes \r\n confusion
5033 on some platforms. */
5034 return ferror (f) || fclose (f) != 0;
5040 rm -f conftest$ac_exeext
5041 if { (ac_try="$ac_link"
5043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5044 *) ac_try_echo=$ac_try;;
5046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5047 $as_echo "$ac_try_echo") >&5
5048 (eval "$ac_link") 2>&5
5050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
5052 { (case "(($ac_try" in
5053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5054 *) ac_try_echo=$ac_try;;
5056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5057 $as_echo "$ac_try_echo") >&5
5058 (eval "$ac_try") 2>&5
5060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); }; }; then
5062 ac_cv_sizeof_long=`cat conftest.val`
5064 $as_echo "$as_me: program exited with status $ac_status" >&5
5065 $as_echo "$as_me: failed program was:" >&5
5066 sed 's
/^
/|
/' conftest.$ac_ext >&5
5069 if test "$ac_cv_type_long" = yes; then
5070 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5071 See \`config.log' for more details.
" >&5
5072 $as_echo "$as_me: error
: cannot compute sizeof
(long
)
5073 See \
`config.log' for more details." >&2;}
5074 { (exit 77); exit 77; }; }
5079 rm -rf conftest.dSYM
5080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5084 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5085 $as_echo "$ac_cv_sizeof_long" >&6; }
5089 cat >>confdefs.h <<_ACEOF
5090 #define SIZEOF_LONG $ac_cv_sizeof_long
5096 # checks for library functions
5098 # Here we check whether we can use our mmap file component.
5102 for ac_header in stdlib.h unistd.h
5104 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5106 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5107 $as_echo_n "checking for $ac_header... " >&6; }
5108 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5109 $as_echo_n "(cached) " >&6
5111 ac_res=`eval 'as_val=${'$as_ac_Header'}
5112 $as_echo "$as_val"'`
5113 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5114 $as_echo "$ac_res" >&6; }
5116 # Is the header compilable?
5117 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5118 $as_echo_n "checking $ac_header usability... " >&6; }
5119 cat >conftest.$ac_ext <<_ACEOF
5122 cat confdefs.h >>conftest.$ac_ext
5123 cat >>conftest.$ac_ext <<_ACEOF
5124 /* end confdefs.h. */
5125 $ac_includes_default
5126 #include <$ac_header>
5128 rm -f conftest.$ac_objext
5129 if { (ac_try="$ac_compile"
5131 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5132 *) ac_try_echo
=$ac_try;;
5134 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5135 $as_echo "$ac_try_echo") >&5
5136 (eval "$ac_compile") 2>conftest.er1
5138 grep -v '^ *+' conftest.er1
>conftest.err
5140 cat conftest.err
>&5
5141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5142 (exit $ac_status); } && {
5143 test -z "$ac_c_werror_flag" ||
5144 test ! -s conftest.err
5145 } && test -s conftest.
$ac_objext; then
5146 ac_header_compiler
=yes
5148 $as_echo "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.
$ac_ext >&5
5151 ac_header_compiler
=no
5154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5155 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5156 $as_echo "$ac_header_compiler" >&6; }
5158 # Is the header present?
5159 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5160 $as_echo_n "checking $ac_header presence... " >&6; }
5161 cat >conftest.
$ac_ext <<_ACEOF
5164 cat confdefs.h
>>conftest.
$ac_ext
5165 cat >>conftest.
$ac_ext <<_ACEOF
5166 /* end confdefs.h. */
5167 #include <$ac_header>
5169 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5171 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5172 *) ac_try_echo=$ac_try;;
5174 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5175 $as_echo "$ac_try_echo") >&5
5176 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5178 grep -v '^ *+' conftest.er1 >conftest.err
5180 cat conftest.err >&5
5181 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 (exit $ac_status); } >/dev/null && {
5183 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5184 test ! -s conftest.err
5186 ac_header_preproc=yes
5188 $as_echo "$as_me: failed program was:" >&5
5189 sed 's/^/| /' conftest.$ac_ext >&5
5191 ac_header_preproc=no
5194 rm -f conftest.err conftest.$ac_ext
5195 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5196 $as_echo "$ac_header_preproc" >&6; }
5198 # So? What about this header?
5199 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5201 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5202 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5203 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5204 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5205 ac_header_preproc=yes
5208 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5209 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5210 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5211 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5212 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5213 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5214 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5215 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5216 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5217 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5218 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5219 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5221 ## ---------------------------------- ##
5222 ## Report this to freetype@nongnu.org ##
5223 ## ---------------------------------- ##
5225 ) | sed "s/^/$as_me: WARNING: /" >&2
5228 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5229 $as_echo_n "checking for $ac_header... " >&6; }
5230 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5231 $as_echo_n "(cached) " >&6
5233 eval "$as_ac_Header=\$ac_header_preproc"
5235 ac_res=`eval 'as_val=${'$as_ac_Header'}
5236 $as_echo "$as_val"'`
5237 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5238 $as_echo "$ac_res" >&6; }
5241 if test `eval 'as_val=${'$as_ac_Header'}
5242 $as_echo "$as_val"'` = yes; then
5243 cat >>confdefs.h <<_ACEOF
5244 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5252 for ac_func in getpagesize
5254 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
5255 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5256 $as_echo_n "checking for $ac_func... " >&6; }
5257 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5258 $as_echo_n "(cached) " >&6
5260 cat >conftest.$ac_ext <<_ACEOF
5263 cat confdefs.h >>conftest.$ac_ext
5264 cat >>conftest.$ac_ext <<_ACEOF
5265 /* end confdefs.h. */
5266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5268 #define $ac_func innocuous_$ac_func
5270 /* System header to define __stub macros and hopefully few prototypes,
5271 which can conflict with char $ac_func (); below.
5272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5273 <limits.h> exists even on freestanding compilers. */
5276 # include <limits.h>
5278 # include <assert.h>
5283 /* Override any GCC internal prototype to avoid an error.
5284 Use char because int might match the return type of a GCC
5285 builtin and then its argument prototype would still apply. */
5290 /* The GNU C library defines this for functions which it implements
5291 to always fail with ENOSYS. Some functions are actually named
5292 something starting with __ and the normal name is an alias. */
5293 #if defined __stub_$ac_func || defined __stub___$ac_func
5305 rm -f conftest.$ac_objext conftest$ac_exeext
5306 if { (ac_try="$ac_link"
5308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5309 *) ac_try_echo
=$ac_try;;
5311 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5312 $as_echo "$ac_try_echo") >&5
5313 (eval "$ac_link") 2>conftest.er1
5315 grep -v '^ *+' conftest.er1
>conftest.err
5317 cat conftest.err
>&5
5318 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); } && {
5320 test -z "$ac_c_werror_flag" ||
5321 test ! -s conftest.err
5322 } && test -s conftest
$ac_exeext && {
5323 test "$cross_compiling" = yes ||
5324 $as_test_x conftest
$ac_exeext
5326 eval "$as_ac_var=yes"
5328 $as_echo "$as_me: failed program was:" >&5
5329 sed 's/^/| /' conftest.
$ac_ext >&5
5331 eval "$as_ac_var=no"
5334 rm -rf conftest.dSYM
5335 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5336 conftest
$ac_exeext conftest.
$ac_ext
5338 ac_res
=`eval 'as_val=${'$as_ac_var'}
5339 $as_echo "$as_val"'`
5340 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5341 $as_echo "$ac_res" >&6; }
5342 if test `eval 'as_val=${'$as_ac_var'}
5343 $as_echo "$as_val"'` = yes; then
5344 cat >>confdefs.h
<<_ACEOF
5345 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5351 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5
5352 $as_echo_n "checking for working mmap... " >&6; }
5353 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5354 $as_echo_n "(cached) " >&6
5356 if test "$cross_compiling" = yes; then
5357 ac_cv_func_mmap_fixed_mapped
=no
5359 cat >conftest.
$ac_ext <<_ACEOF
5362 cat confdefs.h
>>conftest.
$ac_ext
5363 cat >>conftest.
$ac_ext <<_ACEOF
5364 /* end confdefs.h. */
5365 $ac_includes_default
5366 /* malloc might have been renamed as rpl_malloc. */
5369 /* Thanks to Mike Haertel and Jim Avera for this test.
5370 Here is a matrix of mmap possibilities:
5371 mmap private not fixed
5372 mmap private fixed at somewhere currently unmapped
5373 mmap private fixed at somewhere already mapped
5374 mmap shared not fixed
5375 mmap shared fixed at somewhere currently unmapped
5376 mmap shared fixed at somewhere already mapped
5377 For private mappings, we should verify that changes cannot be read()
5378 back from the file, nor mmap's back from the file at a different
5379 address. (There have been systems where private was not correctly
5380 implemented like the infamous i386 svr4.0, and systems where the
5381 VM page cache was not coherent with the file system buffer cache
5382 like early versions of FreeBSD and possibly contemporary NetBSD.)
5383 For shared mappings, we should conversely verify that changes get
5384 propagated back to all the places they're supposed to be.
5386 Grep wants private fixed already mapped.
5387 The main things grep needs to know about mmap are:
5388 * does it exist and is it safe to write into the mmap'd area
5389 * how to use it (BSD variants) */
5392 #include <sys/mman.h>
5394 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
5398 /* This mess was copied from the GNU getpagesize.h. */
5399 #ifndef HAVE_GETPAGESIZE
5400 /* Assume that all systems that can run configure have sys/param.h. */
5401 # ifndef HAVE_SYS_PARAM_H
5402 # define HAVE_SYS_PARAM_H 1
5405 # ifdef _SC_PAGESIZE
5406 # define getpagesize() sysconf(_SC_PAGESIZE)
5407 # else /* no _SC_PAGESIZE */
5408 # ifdef HAVE_SYS_PARAM_H
5409 # include <sys/param.h>
5410 # ifdef EXEC_PAGESIZE
5411 # define getpagesize() EXEC_PAGESIZE
5412 # else /* no EXEC_PAGESIZE */
5414 # define getpagesize() NBPG * CLSIZE
5417 # endif /* no CLSIZE */
5418 # else /* no NBPG */
5420 # define getpagesize() NBPC
5421 # else /* no NBPC */
5423 # define getpagesize() PAGESIZE
5424 # endif /* PAGESIZE */
5425 # endif /* no NBPC */
5426 # endif /* no NBPG */
5427 # endif /* no EXEC_PAGESIZE */
5428 # else /* no HAVE_SYS_PARAM_H */
5429 # define getpagesize() 8192 /* punt totally */
5430 # endif /* no HAVE_SYS_PARAM_H */
5431 # endif /* no _SC_PAGESIZE */
5433 #endif /* no HAVE_GETPAGESIZE */
5438 char *data, *data2, *data3;
5442 pagesize = getpagesize ();
5444 /* First, make a file with some known garbage in it. */
5445 data = (char *) malloc (pagesize);
5448 for (i = 0; i < pagesize; ++i)
5449 *(data + i) = rand ();
5451 fd = creat ("conftest.mmap", 0600);
5454 if (write (fd, data, pagesize) != pagesize)
5458 /* Next, try to mmap the file at a fixed address which already has
5459 something else allocated at it. If we can, also make sure that
5460 we see the same garbage. */
5461 fd = open ("conftest.mmap", O_RDWR);
5464 data2 = (char *) malloc (2 * pagesize);
5467 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
5468 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5469 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5471 for (i = 0; i < pagesize; ++i)
5472 if (*(data + i) != *(data2 + i))
5475 /* Finally, make sure that changes to the mapped area do not
5476 percolate back to the file as seen by read(). (This is a bug on
5477 some variants of i386 svr4.0.) */
5478 for (i = 0; i < pagesize; ++i)
5479 *(data2 + i) = *(data2 + i) + 1;
5480 data3 = (char *) malloc (pagesize);
5483 if (read (fd, data3, pagesize) != pagesize)
5485 for (i = 0; i < pagesize; ++i)
5486 if (*(data + i) != *(data3 + i))
5492 rm -f conftest
$ac_exeext
5493 if { (ac_try
="$ac_link"
5495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5496 *) ac_try_echo=$ac_try;;
5498 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5499 $as_echo "$ac_try_echo") >&5
5500 (eval "$ac_link") 2>&5
5502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5504 { (case "(($ac_try" in
5505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5506 *) ac_try_echo
=$ac_try;;
5508 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5509 $as_echo "$ac_try_echo") >&5
5510 (eval "$ac_try") 2>&5
5512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513 (exit $ac_status); }; }; then
5514 ac_cv_func_mmap_fixed_mapped
=yes
5516 $as_echo "$as_me: program exited with status $ac_status" >&5
5517 $as_echo "$as_me: failed program was:" >&5
5518 sed 's/^/| /' conftest.
$ac_ext >&5
5521 ac_cv_func_mmap_fixed_mapped
=no
5523 rm -rf conftest.dSYM
5524 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5529 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5530 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
5531 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5533 cat >>confdefs.h
<<\_ACEOF
5540 if test "$ac_cv_func_mmap_fixed_mapped" != yes; then
5541 FTSYS_SRC
='$(BASE_DIR)/ftsystem.c'
5543 FTSYS_SRC
='$(BUILD_DIR)/ftsystem.c'
5545 { $as_echo "$as_me:$LINENO: checking whether munmap is declared" >&5
5546 $as_echo_n "checking whether munmap is declared... " >&6; }
5547 if test "${ac_cv_have_decl_munmap+set}" = set; then
5548 $as_echo_n "(cached) " >&6
5550 cat >conftest.
$ac_ext <<_ACEOF
5553 cat confdefs.h
>>conftest.
$ac_ext
5554 cat >>conftest.
$ac_ext <<_ACEOF
5555 /* end confdefs.h. */
5558 #ifdef HAVE_UNISTD_H
5561 #include <sys/mman.h>
5576 rm -f conftest.
$ac_objext
5577 if { (ac_try
="$ac_compile"
5579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5580 *) ac_try_echo=$ac_try;;
5582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5583 $as_echo "$ac_try_echo") >&5
5584 (eval "$ac_compile") 2>conftest.er1
5586 grep -v '^ *+' conftest.er1 >conftest.err
5588 cat conftest.err >&5
5589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); } && {
5591 test -z "$ac_c_werror_flag" ||
5592 test ! -s conftest.err
5593 } && test -s conftest.$ac_objext; then
5594 ac_cv_have_decl_munmap=yes
5596 $as_echo "$as_me: failed program was:" >&5
5597 sed 's/^/| /' conftest.$ac_ext >&5
5599 ac_cv_have_decl_munmap=no
5602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5604 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_munmap" >&5
5605 $as_echo "$ac_cv_have_decl_munmap" >&6; }
5606 if test $ac_cv_have_decl_munmap = yes; then
5608 cat >>confdefs.h <<_ACEOF
5609 #define HAVE_DECL_MUNMAP 1
5614 cat >>confdefs.h <<_ACEOF
5615 #define HAVE_DECL_MUNMAP 0
5623 { $as_echo "$as_me:$LINENO: checking for munmap's first parameter type" >&5
5624 $as_echo_n "checking for munmap's first parameter type... " >&6; }
5625 cat >conftest.$ac_ext <<_ACEOF
5629 cat confdefs.h >>conftest.$ac_ext
5630 cat >>conftest.$ac_ext <<_ACEOF
5631 /* end confdefs.h. */
5635 #include <sys/mman.h>
5636 int munmap(void *, size_t);
5641 rm -f conftest.$ac_objext
5642 if { (ac_try="$ac_compile"
5644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5645 *) ac_try_echo
=$ac_try;;
5647 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5648 $as_echo "$ac_try_echo") >&5
5649 (eval "$ac_compile") 2>conftest.er1
5651 grep -v '^ *+' conftest.er1
>conftest.err
5653 cat conftest.err
>&5
5654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); } && {
5656 test -z "$ac_c_werror_flag" ||
5657 test ! -s conftest.err
5658 } && test -s conftest.
$ac_objext; then
5659 { $as_echo "$as_me:$LINENO: result: void *" >&5
5660 $as_echo "void *" >&6; }
5662 cat >>confdefs.h
<<\_ACEOF
5663 #define MUNMAP_USES_VOIDP /**/
5667 $as_echo "$as_me: failed program was:" >&5
5668 sed 's/^/| /' conftest.
$ac_ext >&5
5670 { $as_echo "$as_me:$LINENO: result: char *" >&5
5671 $as_echo "char *" >&6; }
5674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5681 for ac_func
in memcpy memmove
5683 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5684 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5685 $as_echo_n "checking for $ac_func... " >&6; }
5686 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5687 $as_echo_n "(cached) " >&6
5689 cat >conftest.
$ac_ext <<_ACEOF
5692 cat confdefs.h
>>conftest.
$ac_ext
5693 cat >>conftest.
$ac_ext <<_ACEOF
5694 /* end confdefs.h. */
5695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5697 #define $ac_func innocuous_$ac_func
5699 /* System header to define __stub macros and hopefully few prototypes,
5700 which can conflict with char $ac_func (); below.
5701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5702 <limits.h> exists even on freestanding compilers. */
5705 # include <limits.h>
5707 # include <assert.h>
5712 /* Override any GCC internal prototype to avoid an error.
5713 Use char because int might match the return type of a GCC
5714 builtin and then its argument prototype would still apply. */
5719 /* The GNU C library defines this for functions which it implements
5720 to always fail with ENOSYS. Some functions are actually named
5721 something starting with __ and the normal name is an alias. */
5722 #if defined __stub_$ac_func || defined __stub___$ac_func
5734 rm -f conftest.
$ac_objext conftest
$ac_exeext
5735 if { (ac_try
="$ac_link"
5737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5738 *) ac_try_echo=$ac_try;;
5740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5741 $as_echo "$ac_try_echo") >&5
5742 (eval "$ac_link") 2>conftest.er1
5744 grep -v '^ *+' conftest.er1 >conftest.err
5746 cat conftest.err >&5
5747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); } && {
5749 test -z "$ac_c_werror_flag" ||
5750 test ! -s conftest.err
5751 } && test -s conftest$ac_exeext && {
5752 test "$cross_compiling" = yes ||
5753 $as_test_x conftest$ac_exeext
5755 eval "$as_ac_var=yes"
5757 $as_echo "$as_me: failed program was:" >&5
5758 sed 's/^/| /' conftest.$ac_ext >&5
5760 eval "$as_ac_var=no"
5763 rm -rf conftest.dSYM
5764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5765 conftest$ac_exeext conftest.$ac_ext
5767 ac_res=`eval 'as_val=${'$as_ac_var'}
5768 $as_echo "$as_val"'`
5769 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5770 $as_echo "$ac_res" >&6; }
5771 if test `eval 'as_val=${'$as_ac_var'}
5772 $as_echo "$as_val"'` = yes; then
5773 cat >>confdefs.h <<_ACEOF
5774 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
5782 # check for system zlib
5784 # don't quote AS_HELP_STRING!
5786 # Check whether --with-zlib was given.
5787 if test "${with_zlib+set}" = set; then
5791 if test x$with_zlib != xno && test -z "$LIBZ"; then
5792 { $as_echo "$as_me:$LINENO: checking for gzsetparams in -lz" >&5
5793 $as_echo_n "checking for gzsetparams in -lz... " >&6; }
5794 if test "${ac_cv_lib_z_gzsetparams+set}" = set; then
5795 $as_echo_n "(cached) " >&6
5797 ac_check_lib_save_LIBS=$LIBS
5799 cat >conftest.$ac_ext <<_ACEOF
5802 cat confdefs.h >>conftest.$ac_ext
5803 cat >>conftest.$ac_ext <<_ACEOF
5804 /* end confdefs.h. */
5806 /* Override any GCC internal prototype to avoid an error.
5807 Use char because int might match the return type of a GCC
5808 builtin and then its argument prototype would still apply. */
5812 char gzsetparams ();
5816 return gzsetparams ();
5821 rm -f conftest.$ac_objext conftest$ac_exeext
5822 if { (ac_try="$ac_link"
5824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5825 *) ac_try_echo
=$ac_try;;
5827 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5828 $as_echo "$ac_try_echo") >&5
5829 (eval "$ac_link") 2>conftest.er1
5831 grep -v '^ *+' conftest.er1
>conftest.err
5833 cat conftest.err
>&5
5834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); } && {
5836 test -z "$ac_c_werror_flag" ||
5837 test ! -s conftest.err
5838 } && test -s conftest
$ac_exeext && {
5839 test "$cross_compiling" = yes ||
5840 $as_test_x conftest
$ac_exeext
5842 ac_cv_lib_z_gzsetparams
=yes
5844 $as_echo "$as_me: failed program was:" >&5
5845 sed 's/^/| /' conftest.
$ac_ext >&5
5847 ac_cv_lib_z_gzsetparams
=no
5850 rm -rf conftest.dSYM
5851 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5852 conftest
$ac_exeext conftest.
$ac_ext
5853 LIBS
=$ac_check_lib_save_LIBS
5855 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzsetparams" >&5
5856 $as_echo "$ac_cv_lib_z_gzsetparams" >&6; }
5857 if test $ac_cv_lib_z_gzsetparams = yes; then
5858 if test "${ac_cv_header_zlib_h+set}" = set; then
5859 { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
5860 $as_echo_n "checking for zlib.h... " >&6; }
5861 if test "${ac_cv_header_zlib_h+set}" = set; then
5862 $as_echo_n "(cached) " >&6
5864 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5865 $as_echo "$ac_cv_header_zlib_h" >&6; }
5867 # Is the header compilable?
5868 { $as_echo "$as_me:$LINENO: checking zlib.h usability" >&5
5869 $as_echo_n "checking zlib.h usability... " >&6; }
5870 cat >conftest.
$ac_ext <<_ACEOF
5873 cat confdefs.h
>>conftest.
$ac_ext
5874 cat >>conftest.
$ac_ext <<_ACEOF
5875 /* end confdefs.h. */
5876 $ac_includes_default
5879 rm -f conftest.
$ac_objext
5880 if { (ac_try
="$ac_compile"
5882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5883 *) ac_try_echo=$ac_try;;
5885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5886 $as_echo "$ac_try_echo") >&5
5887 (eval "$ac_compile") 2>conftest.er1
5889 grep -v '^ *+' conftest.er1 >conftest.err
5891 cat conftest.err >&5
5892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5893 (exit $ac_status); } && {
5894 test -z "$ac_c_werror_flag" ||
5895 test ! -s conftest.err
5896 } && test -s conftest.$ac_objext; then
5897 ac_header_compiler=yes
5899 $as_echo "$as_me: failed program was:" >&5
5900 sed 's/^/| /' conftest.$ac_ext >&5
5902 ac_header_compiler=no
5905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5906 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5907 $as_echo "$ac_header_compiler" >&6; }
5909 # Is the header present?
5910 { $as_echo "$as_me:$LINENO: checking zlib.h presence" >&5
5911 $as_echo_n "checking zlib.h presence... " >&6; }
5912 cat >conftest.$ac_ext <<_ACEOF
5915 cat confdefs.h >>conftest.$ac_ext
5916 cat >>conftest.$ac_ext <<_ACEOF
5917 /* end confdefs.h. */
5920 if { (ac_try="$ac_cpp conftest.$ac_ext"
5922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5923 *) ac_try_echo
=$ac_try;;
5925 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5926 $as_echo "$ac_try_echo") >&5
5927 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5929 grep -v '^ *+' conftest.er1
>conftest.err
5931 cat conftest.err
>&5
5932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933 (exit $ac_status); } >/dev
/null
&& {
5934 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5935 test ! -s conftest.err
5937 ac_header_preproc
=yes
5939 $as_echo "$as_me: failed program was:" >&5
5940 sed 's/^/| /' conftest.
$ac_ext >&5
5942 ac_header_preproc
=no
5945 rm -f conftest.err conftest.
$ac_ext
5946 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5947 $as_echo "$ac_header_preproc" >&6; }
5949 # So? What about this header?
5950 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5952 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
5953 $as_echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5954 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
5955 $as_echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
5956 ac_header_preproc
=yes
5959 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
5960 $as_echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
5961 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
5962 $as_echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
5963 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
5964 $as_echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
5965 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
5966 $as_echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
5967 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
5968 $as_echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
5969 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
5970 $as_echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
5972 ## ---------------------------------- ##
5973 ## Report this to freetype@nongnu.org ##
5974 ## ---------------------------------- ##
5976 ) |
sed "s/^/$as_me: WARNING: /" >&2
5979 { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
5980 $as_echo_n "checking for zlib.h... " >&6; }
5981 if test "${ac_cv_header_zlib_h+set}" = set; then
5982 $as_echo_n "(cached) " >&6
5984 ac_cv_header_zlib_h
=$ac_header_preproc
5986 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5987 $as_echo "$ac_cv_header_zlib_h" >&6; }
5990 if test $ac_cv_header_zlib_h = yes; then
5998 if test x
$with_zlib != xno
&& test -n "$LIBZ"; then
5999 CFLAGS
="$CFLAGS -DFT_CONFIG_OPTION_SYSTEM_ZLIB"
6000 LDFLAGS
="$LDFLAGS $LIBZ"
6005 # check Apple's `-isysroot' option and duplicate it to LDFLAGS if required --
6006 # Apple TechNote 2137 recommends to include it in CFLAGS but not in LDFLAGS
6008 { $as_echo "$as_me:$LINENO: checking whether CFLAGS includes -isysroot option" >&5
6009 $as_echo_n "checking whether CFLAGS includes -isysroot option... " >&6; }
6012 { $as_echo "$as_me:$LINENO: result: yes" >&5
6013 $as_echo "yes" >&6; }
6014 { $as_echo "$as_me:$LINENO: checking whether LDFLAGS includes -isysroot option" >&5
6015 $as_echo_n "checking whether LDFLAGS includes -isysroot option... " >&6; }
6018 { $as_echo "$as_me:$LINENO: result: yes" >&5
6019 $as_echo "yes" >&6; }
6022 { $as_echo "$as_me:$LINENO: result: no" >&5
6023 $as_echo "no" >&6; }
6024 isysroot_dir
=`echo ${CFLAGS} | tr '\t' ' ' | sed 's/^.*-isysroot *//;s/ .*//'`
6025 { $as_echo "$as_me:$LINENO: WARNING: -isysroot ${isysroot_dir} is added to LDFLAGS" >&5
6026 $as_echo "$as_me: WARNING: -isysroot ${isysroot_dir} is added to LDFLAGS" >&2;}
6027 LDFLAGS
="-isysroot ${isysroot_dir} ${LDFLAGS}"
6032 { $as_echo "$as_me:$LINENO: result: no" >&5
6033 $as_echo "no" >&6; }
6038 # Whether to use Mac OS resource-based fonts.
6040 # don't quote AS_HELP_STRING!
6042 # Check whether --with-old-mac-fonts was given.
6043 if test "${with_old_mac_fonts+set}" = set; then
6044 withval
=$with_old_mac_fonts;
6047 if test x
$with_old_mac_fonts = xyes
; then
6048 orig_LDFLAGS
="${LDFLAGS}"
6049 { $as_echo "$as_me:$LINENO: checking CoreServices & ApplicationServices of Mac OS X" >&5
6050 $as_echo_n "checking CoreServices & ApplicationServices of Mac OS X... " >&6; }
6051 FT2_EXTRA_LIBS
="-Wl,-framework,CoreServices -Wl,-framework,ApplicationServices"
6052 LDFLAGS
="$LDFLAGS $FT2_EXTRA_LIBS"
6053 cat >conftest.
$ac_ext <<_ACEOF
6057 cat confdefs.h
>>conftest.
$ac_ext
6058 cat >>conftest.
$ac_ext <<_ACEOF
6059 /* end confdefs.h. */
6062 #if defined(__GNUC__) && defined(__APPLE_CC__)
6063 # include <Carbon/Carbon.h>
6064 # include <ApplicationServices/ApplicationServices.h>
6066 # include <ConditionalMacros.h>
6086 rm -f conftest.
$ac_objext conftest
$ac_exeext
6087 if { (ac_try
="$ac_link"
6089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6090 *) ac_try_echo=$ac_try;;
6092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6093 $as_echo "$ac_try_echo") >&5
6094 (eval "$ac_link") 2>conftest.er1
6096 grep -v '^ *+' conftest.er1 >conftest.err
6098 cat conftest.err >&5
6099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); } && {
6101 test -z "$ac_c_werror_flag" ||
6102 test ! -s conftest.err
6103 } && test -s conftest$ac_exeext && {
6104 test "$cross_compiling" = yes ||
6105 $as_test_x conftest$ac_exeext
6107 { $as_echo "$as_me:$LINENO: result: ok" >&5
6108 $as_echo "ok" >&6; }
6109 { $as_echo "$as_me:$LINENO: checking OS_INLINE macro is ANSI compatible" >&5
6110 $as_echo_n "checking OS_INLINE macro is ANSI compatible... " >&6; }
6111 orig_CFLAGS="$CFLAGS"
6112 CFLAGS="$CFLAGS $XX_CFLAGS $XX_ANSIFLAGS"
6113 cat >conftest.$ac_ext <<_ACEOF
6117 cat confdefs.h >>conftest.$ac_ext
6118 cat >>conftest.$ac_ext <<_ACEOF
6119 /* end confdefs.h. */
6122 #if defined(__GNUC__) && defined(__APPLE_CC__)
6123 # include <Carbon/Carbon.h>
6124 # include <ApplicationServices/ApplicationServices.h>
6126 # include <ConditionalMacros.h>
6136 /* OSHostByteOrder() is typed as OS_INLINE */
6137 int32_t os_byte_order = OSHostByteOrder();
6140 if ( OSBigEndian != os_byte_order )
6148 rm -f conftest.$ac_objext
6149 if { (ac_try="$ac_compile"
6151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6152 *) ac_try_echo
=$ac_try;;
6154 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6155 $as_echo "$ac_try_echo") >&5
6156 (eval "$ac_compile") 2>conftest.er1
6158 grep -v '^ *+' conftest.er1
>conftest.err
6160 cat conftest.err
>&5
6161 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162 (exit $ac_status); } && {
6163 test -z "$ac_c_werror_flag" ||
6164 test ! -s conftest.err
6165 } && test -s conftest.
$ac_objext; then
6166 { $as_echo "$as_me:$LINENO: result: ok" >&5
6167 $as_echo "ok" >&6; }
6168 CFLAGS
="$orig_CFLAGS"
6169 CFLAGS
="$CFLAGS -DHAVE_ANSI_OS_INLINE=1"
6172 $as_echo "$as_me: failed program was:" >&5
6173 sed 's/^/| /' conftest.
$ac_ext >&5
6175 { $as_echo "$as_me:$LINENO: result: no, ANSI incompatible" >&5
6176 $as_echo "no, ANSI incompatible" >&6; }
6177 CFLAGS
="$orig_CFLAGS"
6181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6182 { $as_echo "$as_me:$LINENO: checking type ResourceIndex" >&5
6183 $as_echo_n "checking type ResourceIndex... " >&6; }
6184 orig_CFLAGS
="$CFLAGS"
6185 CFLAGS
="$CFLAGS $XX_CFLAGS $XX_ANSIFLAGS"
6186 cat >conftest.
$ac_ext <<_ACEOF
6190 cat confdefs.h
>>conftest.
$ac_ext
6191 cat >>conftest.
$ac_ext <<_ACEOF
6192 /* end confdefs.h. */
6195 #if defined(__GNUC__) && defined(__APPLE_CC__)
6196 # include <Carbon/Carbon.h>
6197 # include <ApplicationServices/ApplicationServices.h>
6199 # include <ConditionalMacros.h>
6201 # include <Resources.h>
6210 ResourceIndex i = 0;
6218 rm -f conftest.
$ac_objext
6219 if { (ac_try
="$ac_compile"
6221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6222 *) ac_try_echo=$ac_try;;
6224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6225 $as_echo "$ac_try_echo") >&5
6226 (eval "$ac_compile") 2>conftest.er1
6228 grep -v '^ *+' conftest.er1 >conftest.err
6230 cat conftest.err >&5
6231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232 (exit $ac_status); } && {
6233 test -z "$ac_c_werror_flag" ||
6234 test ! -s conftest.err
6235 } && test -s conftest.$ac_objext; then
6236 { $as_echo "$as_me:$LINENO: result: ok" >&5
6237 $as_echo "ok" >&6; }
6238 CFLAGS="$orig_CFLAGS"
6239 CFLAGS="$CFLAGS -DHAVE_TYPE_RESOURCE_INDEX"
6242 $as_echo "$as_me: failed program was:" >&5
6243 sed 's/^/| /' conftest.$ac_ext >&5
6245 { $as_echo "$as_me:$LINENO: result: no" >&5
6246 $as_echo "no" >&6; }
6247 CFLAGS="$orig_CFLAGS"
6251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6253 $as_echo "$as_me: failed program was:" >&5
6254 sed 's/^/| /' conftest.$ac_ext >&5
6256 { $as_echo "$as_me:$LINENO: result: not found" >&5
6257 $as_echo "not found" >&6; }
6258 LDFLAGS="${orig_LDFLAGS}"
6259 CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"
6262 rm -rf conftest.dSYM
6263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6264 conftest$ac_exeext conftest.$ac_ext
6268 CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"
6275 # Whether to use FileManager which is deprecated since Mac OS X 10.4.
6278 # Check whether --with-fsspec was given.
6279 if test "${with_fsspec+set}" = set; then
6280 withval=$with_fsspec;
6283 if test x$with_fsspec = xno; then
6284 CFLAGS="$CFLAGS -DHAVE_FSSPEC=0"
6285 elif test x$with_old_mac_fonts = xyes -a x$with_fsspec != x; then
6286 { $as_echo "$as_me:$LINENO: checking FSSpec-based FileManager" >&5
6287 $as_echo_n "checking FSSpec-based FileManager... " >&6; }
6288 cat >conftest.$ac_ext <<_ACEOF
6292 cat confdefs.h >>conftest.$ac_ext
6293 cat >>conftest.$ac_ext <<_ACEOF
6294 /* end confdefs.h. */
6297 #if defined(__GNUC__) && defined(__APPLE_CC__)
6298 # include <Carbon/Carbon.h>
6299 # include <ApplicationServices/ApplicationServices.h>
6301 # include <ConditionalMacros.h>
6311 FCBPBPtr paramBlock;
6314 ConstStr255Param fileName;
6318 /* FSSpec functions: deprecated since Mac OS X 10.4 */
6319 PBGetFCBInfoSync( paramBlock );
6320 FSMakeFSSpec( vRefNum, dirID, fileName, spec );
6327 rm -f conftest.$ac_objext conftest$ac_exeext
6328 if { (ac_try="$ac_link"
6330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6331 *) ac_try_echo
=$ac_try;;
6333 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6334 $as_echo "$ac_try_echo") >&5
6335 (eval "$ac_link") 2>conftest.er1
6337 grep -v '^ *+' conftest.er1
>conftest.err
6339 cat conftest.err
>&5
6340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6341 (exit $ac_status); } && {
6342 test -z "$ac_c_werror_flag" ||
6343 test ! -s conftest.err
6344 } && test -s conftest
$ac_exeext && {
6345 test "$cross_compiling" = yes ||
6346 $as_test_x conftest
$ac_exeext
6348 { $as_echo "$as_me:$LINENO: result: ok" >&5
6349 $as_echo "ok" >&6; }
6350 CFLAGS
="$CFLAGS -DHAVE_FSSPEC=1"
6352 $as_echo "$as_me: failed program was:" >&5
6353 sed 's/^/| /' conftest.
$ac_ext >&5
6355 { $as_echo "$as_me:$LINENO: result: not found" >&5
6356 $as_echo "not found" >&6; }
6357 CFLAGS
="$CFLAGS -DHAVE_FSSPEC=0"
6360 rm -rf conftest.dSYM
6361 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6362 conftest
$ac_exeext conftest.
$ac_ext
6366 # Whether to use FileManager in Carbon since MacOS 9.x.
6369 # Check whether --with-fsref was given.
6370 if test "${with_fsref+set}" = set; then
6371 withval
=$with_fsref;
6374 if test x
$with_fsref = xno
; then
6375 { $as_echo "$as_me:$LINENO: WARNING:
6377 FreeType2 built without FSRef API cannot load
6378 data-fork fonts on MacOS, except of XXX.dfont.
6380 $as_echo "$as_me: WARNING:
6382 FreeType2 built without FSRef API cannot load
6383 data-fork fonts on MacOS, except of XXX.dfont.
6385 CFLAGS
="$CFLAGS -DHAVE_FSREF=0"
6386 elif test x
$with_old_mac_fonts = xyes
-a x
$with_fsref != x
; then
6387 { $as_echo "$as_me:$LINENO: checking FSRef-based FileManager" >&5
6388 $as_echo_n "checking FSRef-based FileManager... " >&6; }
6389 cat >conftest.
$ac_ext <<_ACEOF
6393 cat confdefs.h
>>conftest.
$ac_ext
6394 cat >>conftest.
$ac_ext <<_ACEOF
6395 /* end confdefs.h. */
6398 #if defined(__GNUC__) && defined(__APPLE_CC__)
6399 # include <Carbon/Carbon.h>
6400 # include <ApplicationServices/ApplicationServices.h>
6402 # include <ConditionalMacros.h>
6414 ConstStr255Param fileName;
6416 Boolean* isDirectory;
6418 SInt16 desiredRefNum;
6420 SInt16* actualRefNum;
6421 HFSUniStr255* outForkName;
6422 FSVolumeRefNum volume;
6423 FSCatalogInfoBitmap whichInfo;
6424 FSCatalogInfo* catalogInfo;
6425 FSForkInfo* forkInfo;
6432 /* FSRef functions: no need to check? */
6433 FSGetForkCBInfo( desiredRefNum, volume, iterator,
6434 actualRefNum, forkInfo, ref,
6436 FSPathMakeRef( path, ref, isDirectory );
6439 FSpMakeFSRef ( spec, ref );
6440 FSGetCatalogInfo( ref, whichInfo, catalogInfo,
6441 outForkName, spec, ref );
6448 rm -f conftest.
$ac_objext conftest
$ac_exeext
6449 if { (ac_try
="$ac_link"
6451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6452 *) ac_try_echo=$ac_try;;
6454 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6455 $as_echo "$ac_try_echo") >&5
6456 (eval "$ac_link") 2>conftest.er1
6458 grep -v '^ *+' conftest.er1 >conftest.err
6460 cat conftest.err >&5
6461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); } && {
6463 test -z "$ac_c_werror_flag" ||
6464 test ! -s conftest.err
6465 } && test -s conftest$ac_exeext && {
6466 test "$cross_compiling" = yes ||
6467 $as_test_x conftest$ac_exeext
6469 { $as_echo "$as_me:$LINENO: result: ok" >&5
6470 $as_echo "ok" >&6; }
6471 CFLAGS="$CFLAGS -DHAVE_FSREF=1"
6473 $as_echo "$as_me: failed program was:" >&5
6474 sed 's/^/| /' conftest.$ac_ext >&5
6476 { $as_echo "$as_me:$LINENO: result: not found" >&5
6477 $as_echo "not found" >&6; }
6478 CFLAGS="$CFLAGS -DHAVE_FSREF=0"
6481 rm -rf conftest.dSYM
6482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6483 conftest$ac_exeext conftest.$ac_ext
6487 # Whether to use QuickDraw API in ToolBox which is deprecated since
6491 # Check whether --with-quickdraw-toolbox was given.
6492 if test "${with_quickdraw_toolbox+set}" = set; then
6493 withval=$with_quickdraw_toolbox;
6496 if test x$with_quickdraw_toolbox = xno; then
6497 CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_TOOLBOX=0"
6498 elif test x$with_old_mac_fonts = xyes -a x$with_quickdraw_toolbox != x; then
6499 { $as_echo "$as_me:$LINENO: checking QuickDraw FontManager functions in ToolBox" >&5
6500 $as_echo_n "checking QuickDraw FontManager functions in ToolBox... " >&6; }
6501 cat >conftest.$ac_ext <<_ACEOF
6505 cat confdefs.h >>conftest.$ac_ext
6506 cat >>conftest.$ac_ext <<_ACEOF
6507 /* end confdefs.h. */
6510 #if defined(__GNUC__) && defined(__APPLE_CC__)
6511 # include <Carbon/Carbon.h>
6512 # include <ApplicationServices/ApplicationServices.h>
6514 # include <ConditionalMacros.h>
6525 SInt16 familyID = 0;
6526 FMInput* fmIn = NULL;
6527 FMOutput* fmOut = NULL;
6530 GetFontName( familyID, familyName );
6531 GetFNum( familyName, &familyID );
6532 fmOut = FMSwapFont( fmIn );
6539 rm -f conftest.$ac_objext conftest$ac_exeext
6540 if { (ac_try="$ac_link"
6542 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6543 *) ac_try_echo
=$ac_try;;
6545 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6546 $as_echo "$ac_try_echo") >&5
6547 (eval "$ac_link") 2>conftest.er1
6549 grep -v '^ *+' conftest.er1
>conftest.err
6551 cat conftest.err
>&5
6552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); } && {
6554 test -z "$ac_c_werror_flag" ||
6555 test ! -s conftest.err
6556 } && test -s conftest
$ac_exeext && {
6557 test "$cross_compiling" = yes ||
6558 $as_test_x conftest
$ac_exeext
6560 { $as_echo "$as_me:$LINENO: result: ok" >&5
6561 $as_echo "ok" >&6; }
6562 CFLAGS
="$CFLAGS -DHAVE_QUICKDRAW_TOOLBOX=1"
6564 $as_echo "$as_me: failed program was:" >&5
6565 sed 's/^/| /' conftest.
$ac_ext >&5
6567 { $as_echo "$as_me:$LINENO: result: not found" >&5
6568 $as_echo "not found" >&6; }
6569 CFLAGS
="$CFLAGS -DHAVE_QUICKDRAW_TOOLBOX=0"
6572 rm -rf conftest.dSYM
6573 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6574 conftest
$ac_exeext conftest.
$ac_ext
6578 # Whether to use QuickDraw API in Carbon which is deprecated since
6582 # Check whether --with-quickdraw-carbon was given.
6583 if test "${with_quickdraw_carbon+set}" = set; then
6584 withval
=$with_quickdraw_carbon;
6587 if test x
$with_quickdraw_carbon = xno
; then
6588 CFLAGS
="$CFLAGS -DHAVE_QUICKDRAW_CARBON=0"
6589 elif test x
$with_old_mac_fonts = xyes
-a x
$with_quickdraw_carbon != x
; then
6590 { $as_echo "$as_me:$LINENO: checking QuickDraw FontManager functions in Carbon" >&5
6591 $as_echo_n "checking QuickDraw FontManager functions in Carbon... " >&6; }
6592 cat >conftest.
$ac_ext <<_ACEOF
6596 cat confdefs.h
>>conftest.
$ac_ext
6597 cat >>conftest.
$ac_ext <<_ACEOF
6598 /* end confdefs.h. */
6601 #if defined(__GNUC__) && defined(__APPLE_CC__)
6602 # include <Carbon/Carbon.h>
6603 # include <ApplicationServices/ApplicationServices.h>
6605 # include <ConditionalMacros.h>
6615 FMFontFamilyIterator famIter;
6616 FMFontFamily family;
6618 FMFontFamilyInstanceIterator instIter;
6625 FMCreateFontFamilyIterator( NULL, NULL, kFMUseGlobalScopeOption,
6627 FMGetNextFontFamily( &famIter, &family );
6628 FMGetFontFamilyName( family, famNameStr );
6629 FMCreateFontFamilyInstanceIterator( family, &instIter );
6630 FMGetNextFontFamilyInstance( &instIter, &font, &style, &size );
6631 FMDisposeFontFamilyInstanceIterator( &instIter );
6632 FMDisposeFontFamilyIterator( &famIter );
6633 FMGetFontContainer( font, pathSpec );
6640 rm -f conftest.
$ac_objext conftest
$ac_exeext
6641 if { (ac_try
="$ac_link"
6643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6644 *) ac_try_echo=$ac_try;;
6646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6647 $as_echo "$ac_try_echo") >&5
6648 (eval "$ac_link") 2>conftest.er1
6650 grep -v '^ *+' conftest.er1 >conftest.err
6652 cat conftest.err >&5
6653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654 (exit $ac_status); } && {
6655 test -z "$ac_c_werror_flag" ||
6656 test ! -s conftest.err
6657 } && test -s conftest$ac_exeext && {
6658 test "$cross_compiling" = yes ||
6659 $as_test_x conftest$ac_exeext
6661 { $as_echo "$as_me:$LINENO: result: ok" >&5
6662 $as_echo "ok" >&6; }
6663 CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_CARBON=1"
6665 $as_echo "$as_me: failed program was:" >&5
6666 sed 's/^/| /' conftest.$ac_ext >&5
6668 { $as_echo "$as_me:$LINENO: result: not found" >&5
6669 $as_echo "not found" >&6; }
6670 CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_CARBON=0"
6673 rm -rf conftest.dSYM
6674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6675 conftest$ac_exeext conftest.$ac_ext
6679 # Whether to use AppleTypeService since Mac OS X.
6681 # don't quote AS_HELP_STRING!
6683 # Check whether --with-ats was given.
6684 if test "${with_ats+set}" = set; then
6688 if test x$with_ats = xno; then
6689 CFLAGS="$CFLAGS -DHAVE_ATS=0"
6690 elif test x$with_old_mac_fonts = xyes -a x$with_ats != x ; then
6691 { $as_echo "$as_me:$LINENO: checking AppleTypeService functions" >&5
6692 $as_echo_n "checking AppleTypeService functions... " >&6; }
6693 cat >conftest.$ac_ext <<_ACEOF
6697 cat confdefs.h >>conftest.$ac_ext
6698 cat >>conftest.$ac_ext <<_ACEOF
6699 /* end confdefs.h. */
6702 #include <Carbon/Carbon.h>
6713 ATSFontFindFromName( NULL, kATSOptionFlagsUnRestrictedScope );
6715 ATSFontGetFileSpecification( 0, pathSpec );
6723 rm -f conftest.$ac_objext conftest$ac_exeext
6724 if { (ac_try="$ac_link"
6726 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6727 *) ac_try_echo
=$ac_try;;
6729 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6730 $as_echo "$ac_try_echo") >&5
6731 (eval "$ac_link") 2>conftest.er1
6733 grep -v '^ *+' conftest.er1
>conftest.err
6735 cat conftest.err
>&5
6736 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6737 (exit $ac_status); } && {
6738 test -z "$ac_c_werror_flag" ||
6739 test ! -s conftest.err
6740 } && test -s conftest
$ac_exeext && {
6741 test "$cross_compiling" = yes ||
6742 $as_test_x conftest
$ac_exeext
6744 { $as_echo "$as_me:$LINENO: result: ok" >&5
6745 $as_echo "ok" >&6; }
6746 CFLAGS
="$CFLAGS -DHAVE_ATS=1"
6748 $as_echo "$as_me: failed program was:" >&5
6749 sed 's/^/| /' conftest.
$ac_ext >&5
6751 { $as_echo "$as_me:$LINENO: result: not found" >&5
6752 $as_echo "not found" >&6; }
6753 CFLAGS
="$CFLAGS -DHAVE_ATS=0"
6756 rm -rf conftest.dSYM
6757 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6758 conftest
$ac_exeext conftest.
$ac_ext
6762 *HAVE_FSSPEC
* |
*HAVE_FSREF
* |
*HAVE_QUICKDRAW
* |
*HAVE_ATS
* )
6763 { $as_echo "$as_me:$LINENO: WARNING:
6765 FSSpec/FSRef/QuickDraw/ATS options are explicitly given,
6766 thus it is recommended to replace src/base/ftmac.c by builds/mac/ftmac.c.
6768 $as_echo "$as_me: WARNING:
6770 FSSpec/FSRef/QuickDraw/ATS options are explicitly given,
6771 thus it is recommended to replace src/base/ftmac.c by builds/mac/ftmac.c.
6773 CFLAGS
="$CFLAGS "'-I$(TOP_DIR)/builds/mac/'
6789 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6790 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6795 macro_version
='2.2.4'
6796 macro_revision
='1.2976'
6810 ltmain
="$ac_aux_dir/ltmain.sh"
6812 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6813 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6814 if test "${ac_cv_path_SED+set}" = set; then
6815 $as_echo_n "(cached) " >&6
6817 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
6818 for ac_i
in 1 2 3 4 5 6 7; do
6819 ac_script
="$ac_script$as_nl$ac_script"
6821 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
6822 $as_unset ac_script || ac_script
=
6823 if test -z "$SED"; then
6824 ac_path_SED_found
=false
6825 # Loop through the user's path and test for each of PROGNAME-LIST
6826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6830 test -z "$as_dir" && as_dir
=.
6831 for ac_prog
in sed gsed
; do
6832 for ac_exec_ext
in '' $ac_executable_extensions; do
6833 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6834 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6835 # Check for GNU ac_path_SED and select it if it is found.
6836 # Check for GNU $ac_path_SED
6837 case `"$ac_path_SED" --version 2>&1` in
6839 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6842 $as_echo_n 0123456789 >"conftest.in"
6845 cat "conftest.in" "conftest.in" >"conftest.tmp"
6846 mv "conftest.tmp" "conftest.in"
6847 cp "conftest.in" "conftest.nl"
6848 $as_echo '' >> "conftest.nl"
6849 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6850 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6851 ac_count
=`expr $ac_count + 1`
6852 if test $ac_count -gt ${ac_path_SED_max-0}; then
6853 # Best one so far, save it but keep looking for a better one
6854 ac_cv_path_SED
="$ac_path_SED"
6855 ac_path_SED_max
=$ac_count
6857 # 10*(2^10) chars as input seems more than enough
6858 test $ac_count -gt 10 && break
6860 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6863 $ac_path_SED_found && break 3
6868 if test -z "$ac_cv_path_SED"; then
6869 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
6870 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
6871 { (exit 1); exit 1; }; }
6878 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
6879 $as_echo "$ac_cv_path_SED" >&6; }
6880 SED
="$ac_cv_path_SED"
6883 test -z "$SED" && SED
=sed
6884 Xsed
="$SED -e 1s/^X//"
6896 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
6897 $as_echo_n "checking for fgrep... " >&6; }
6898 if test "${ac_cv_path_FGREP+set}" = set; then
6899 $as_echo_n "(cached) " >&6
6901 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6902 then ac_cv_path_FGREP
="$GREP -F"
6904 if test -z "$FGREP"; then
6905 ac_path_FGREP_found
=false
6906 # Loop through the user's path and test for each of PROGNAME-LIST
6907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6908 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6911 test -z "$as_dir" && as_dir
=.
6912 for ac_prog
in fgrep
; do
6913 for ac_exec_ext
in '' $ac_executable_extensions; do
6914 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6915 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
6916 # Check for GNU ac_path_FGREP and select it if it is found.
6917 # Check for GNU $ac_path_FGREP
6918 case `"$ac_path_FGREP" --version 2>&1` in
6920 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6923 $as_echo_n 0123456789 >"conftest.in"
6926 cat "conftest.in" "conftest.in" >"conftest.tmp"
6927 mv "conftest.tmp" "conftest.in"
6928 cp "conftest.in" "conftest.nl"
6929 $as_echo 'FGREP' >> "conftest.nl"
6930 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6931 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6932 ac_count
=`expr $ac_count + 1`
6933 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6934 # Best one so far, save it but keep looking for a better one
6935 ac_cv_path_FGREP
="$ac_path_FGREP"
6936 ac_path_FGREP_max
=$ac_count
6938 # 10*(2^10) chars as input seems more than enough
6939 test $ac_count -gt 10 && break
6941 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6944 $ac_path_FGREP_found && break 3
6949 if test -z "$ac_cv_path_FGREP"; then
6950 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6951 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6952 { (exit 1); exit 1; }; }
6955 ac_cv_path_FGREP
=$FGREP
6960 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
6961 $as_echo "$ac_cv_path_FGREP" >&6; }
6962 FGREP
="$ac_cv_path_FGREP"
6965 test -z "$GREP" && GREP
=grep
6985 # Check whether --with-gnu-ld was given.
6986 if test "${with_gnu_ld+set}" = set; then
6987 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6993 if test "$GCC" = yes; then
6994 # Check if gcc -print-prog-name=ld gives a path.
6995 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6996 $as_echo_n "checking for ld used by $CC... " >&6; }
6999 # gcc leaves a trailing carriage return which upsets mingw
7000 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7002 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7005 # Accept absolute paths.
7007 re_direlt
='/[^/][^/]*/\.\./'
7008 # Canonicalize the pathname of ld
7009 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7010 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
7011 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7013 test -z "$LD" && LD
="$ac_prog"
7016 # If it fails, then pretend we aren't using GCC.
7020 # If it is relative, then search for the first ld in PATH.
7024 elif test "$with_gnu_ld" = yes; then
7025 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
7026 $as_echo_n "checking for GNU ld... " >&6; }
7028 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7029 $as_echo_n "checking for non-GNU ld... " >&6; }
7031 if test "${lt_cv_path_LD+set}" = set; then
7032 $as_echo_n "(cached) " >&6
7034 if test -z "$LD"; then
7035 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7036 for ac_dir
in $PATH; do
7038 test -z "$ac_dir" && ac_dir
=.
7039 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7040 lt_cv_path_LD
="$ac_dir/$ac_prog"
7041 # Check to see if the program is GNU ld. I'd rather use --version,
7042 # but apparently some variants of GNU ld only accept -v.
7043 # Break only if it was the GNU/non-GNU ld that we prefer.
7044 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7045 *GNU
* |
*'with BFD'*)
7046 test "$with_gnu_ld" != no
&& break
7049 test "$with_gnu_ld" != yes && break
7056 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
7061 if test -n "$LD"; then
7062 { $as_echo "$as_me:$LINENO: result: $LD" >&5
7063 $as_echo "$LD" >&6; }
7065 { $as_echo "$as_me:$LINENO: result: no" >&5
7066 $as_echo "no" >&6; }
7068 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7069 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7070 { (exit 1); exit 1; }; }
7071 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7072 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7073 if test "${lt_cv_prog_gnu_ld+set}" = set; then
7074 $as_echo_n "(cached) " >&6
7076 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7077 case `$LD -v 2>&1 </dev/null` in
7078 *GNU
* |
*'with BFD'*)
7079 lt_cv_prog_gnu_ld
=yes
7082 lt_cv_prog_gnu_ld
=no
7086 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7087 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7088 with_gnu_ld
=$lt_cv_prog_gnu_ld
7098 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
7099 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7100 if test "${lt_cv_path_NM+set}" = set; then
7101 $as_echo_n "(cached) " >&6
7103 if test -n "$NM"; then
7104 # Let the user override the test.
7107 lt_nm_to_check
="${ac_tool_prefix}nm"
7108 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7109 lt_nm_to_check
="$lt_nm_to_check nm"
7111 for lt_tmp_nm
in $lt_nm_to_check; do
7112 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7113 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
7115 test -z "$ac_dir" && ac_dir
=.
7116 tmp_nm
="$ac_dir/$lt_tmp_nm"
7117 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
7118 # Check to see if the nm accepts a BSD-compat flag.
7119 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7120 # nm: unknown option "B" ignored
7121 # Tru64's nm complains that /dev/null is an invalid object file
7122 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7123 */dev
/null
* |
*'Invalid file or object type'*)
7124 lt_cv_path_NM
="$tmp_nm -B"
7128 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7130 lt_cv_path_NM
="$tmp_nm -p"
7134 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7135 continue # so that we can try to find one that supports BSD flags
7144 : ${lt_cv_path_NM=no}
7147 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7148 $as_echo "$lt_cv_path_NM" >&6; }
7149 if test "$lt_cv_path_NM" != "no"; then
7152 # Didn't find any BSD compatible name lister, look for dumpbin.
7153 if test -n "$ac_tool_prefix"; then
7154 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
7156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7157 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7158 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7159 $as_echo_n "checking for $ac_word... " >&6; }
7160 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
7161 $as_echo_n "(cached) " >&6
7163 if test -n "$DUMPBIN"; then
7164 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7170 test -z "$as_dir" && as_dir
=.
7171 for ac_exec_ext
in '' $ac_executable_extensions; do
7172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7173 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7174 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7183 DUMPBIN
=$ac_cv_prog_DUMPBIN
7184 if test -n "$DUMPBIN"; then
7185 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
7186 $as_echo "$DUMPBIN" >&6; }
7188 { $as_echo "$as_me:$LINENO: result: no" >&5
7189 $as_echo "no" >&6; }
7193 test -n "$DUMPBIN" && break
7196 if test -z "$DUMPBIN"; then
7197 ac_ct_DUMPBIN
=$DUMPBIN
7198 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
7200 # Extract the first word of "$ac_prog", so it can be a program name with args.
7201 set dummy
$ac_prog; ac_word
=$2
7202 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7203 $as_echo_n "checking for $ac_word... " >&6; }
7204 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
7205 $as_echo_n "(cached) " >&6
7207 if test -n "$ac_ct_DUMPBIN"; then
7208 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7214 test -z "$as_dir" && as_dir
=.
7215 for ac_exec_ext
in '' $ac_executable_extensions; do
7216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7217 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7218 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7227 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7228 if test -n "$ac_ct_DUMPBIN"; then
7229 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
7230 $as_echo "$ac_ct_DUMPBIN" >&6; }
7232 { $as_echo "$as_me:$LINENO: result: no" >&5
7233 $as_echo "no" >&6; }
7237 test -n "$ac_ct_DUMPBIN" && break
7240 if test "x$ac_ct_DUMPBIN" = x
; then
7243 case $cross_compiling:$ac_tool_warned in
7245 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7246 whose name does not start with the host triplet. If you think this
7247 configuration is useful to you, please write to autoconf@gnu.org." >&5
7248 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7249 whose name does not start with the host triplet. If you think this
7250 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7251 ac_tool_warned
=yes ;;
7253 DUMPBIN
=$ac_ct_DUMPBIN
7258 if test "$DUMPBIN" != ":"; then
7262 test -z "$NM" && NM
=nm
7269 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
7270 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7271 if test "${lt_cv_nm_interface+set}" = set; then
7272 $as_echo_n "(cached) " >&6
7274 lt_cv_nm_interface
="BSD nm"
7275 echo "int some_variable = 0;" > conftest.
$ac_ext
7276 (eval echo "\"\$as_me:7276: $ac_compile\"" >&5)
7277 (eval "$ac_compile" 2>conftest.err
)
7278 cat conftest.err
>&5
7279 (eval echo "\"\$as_me:7279: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7280 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7281 cat conftest.err
>&5
7282 (eval echo "\"\$as_me:7282: output\"" >&5)
7283 cat conftest.out
>&5
7284 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7285 lt_cv_nm_interface
="MS dumpbin"
7289 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
7290 $as_echo "$lt_cv_nm_interface" >&6; }
7292 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
7293 $as_echo_n "checking whether ln -s works... " >&6; }
7295 if test "$LN_S" = "ln -s"; then
7296 { $as_echo "$as_me:$LINENO: result: yes" >&5
7297 $as_echo "yes" >&6; }
7299 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7300 $as_echo "no, using $LN_S" >&6; }
7303 # find the maximum length of command line arguments
7304 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7305 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7306 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7307 $as_echo_n "(cached) " >&6
7314 # On DJGPP, this test can blow up pretty badly due to problems in libc
7315 # (any single argument exceeding 2000 bytes causes a buffer overrun
7316 # during glob expansion). Even if it were fixed, the result of this
7317 # check would be larger than it should be.
7318 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7322 # Under GNU Hurd, this test is not required because there is
7323 # no limit to the length of command line arguments.
7324 # Libtool will interpret -1 as no limit whatsoever
7325 lt_cv_sys_max_cmd_len
=-1;
7329 # On Win9x/ME, this test blows up -- it succeeds, but takes
7330 # about 5 minutes as the teststring grows exponentially.
7331 # Worse, since 9x/ME are not pre-emptively multitasking,
7332 # you end up with a "frozen" computer, even though with patience
7333 # the test eventually succeeds (with a max line length of 256k).
7334 # Instead, let's just punt: use the minimum linelength reported by
7335 # all of the supported platforms: 8192 (on NT/2K/XP).
7336 lt_cv_sys_max_cmd_len
=8192;
7340 # On AmigaOS with pdksh, this test takes hours, literally.
7341 # So we just punt and use a minimum line length of 8192.
7342 lt_cv_sys_max_cmd_len
=8192;
7345 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7346 # This has been around since 386BSD, at least. Likely further.
7347 if test -x /sbin
/sysctl
; then
7348 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7349 elif test -x /usr
/sbin
/sysctl
; then
7350 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7352 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7354 # And add a safety zone
7355 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7356 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7360 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7361 lt_cv_sys_max_cmd_len
=196608
7365 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7366 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7367 # nice to cause kernel panics so lets avoid the loop below.
7368 # First set a reasonable default.
7369 lt_cv_sys_max_cmd_len
=16384
7371 if test -x /sbin
/sysconfig
; then
7372 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7373 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7378 lt_cv_sys_max_cmd_len
=102400
7380 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7381 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7382 if test -n "$kargmax"; then
7383 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7385 lt_cv_sys_max_cmd_len
=32768
7389 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7390 if test -n "$lt_cv_sys_max_cmd_len"; then
7391 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7392 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7394 # Make teststring a little bigger before we do anything with it.
7395 # a 1K string should be a reasonable start.
7396 for i
in 1 2 3 4 5 6 7 8 ; do
7397 teststring
=$teststring$teststring
7399 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7400 # If test is not a shell built-in, we'll probably end up computing a
7401 # maximum length that is only half of the actual maximum length, but
7403 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
7404 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
7405 test $i != 17 # 1/2 MB should be enough
7408 teststring
=$teststring$teststring
7410 # Only check the string length outside the loop.
7411 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7413 # Add a significant safety factor because C++ compilers can tack on
7414 # massive amounts of additional arguments before passing them to the
7415 # linker. It appears as though 1/2 is a usable value.
7416 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7423 if test -n $lt_cv_sys_max_cmd_len ; then
7424 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7425 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7427 { $as_echo "$as_me:$LINENO: result: none" >&5
7428 $as_echo "none" >&6; }
7430 max_cmd_len
=$lt_cv_sys_max_cmd_len
7441 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
7442 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7443 # Try some XSI features
7446 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7448 && eval 'test $(( 1 + 1 )) -eq 2 \
7449 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7451 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
7452 $as_echo "$xsi_shell" >&6; }
7455 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
7456 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7458 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7460 && lt_shell_append=yes
7461 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
7462 $as_echo "$lt_shell_append" >&6; }
7465 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7475 # test EBCDIC or ASCII
7476 case `echo X|tr X '\101'` in
7477 A) # ASCII based system
7478 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7479 lt_SP2NL='tr \040 \012'
7480 lt_NL2SP='tr \015\012 \040\040'
7482 *) # EBCDIC based system
7483 lt_SP2NL='tr \100 \n'
7484 lt_NL2SP='tr \r\n \100\100'
7496 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
7497 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7498 if test "${lt_cv_ld_reload_flag+set}" = set; then
7499 $as_echo_n "(cached
) " >&6
7501 lt_cv_ld_reload_flag='-r'
7503 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
7504 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7505 reload_flag=$lt_cv_ld_reload_flag
7506 case $reload_flag in
7508 *) reload_flag=" $reload_flag" ;;
7510 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7513 if test "$GCC" = yes; then
7514 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7516 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7530 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
7531 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7532 if test "${lt_cv_deplibs_check_method+set}" = set; then
7533 $as_echo_n "(cached
) " >&6
7535 lt_cv_file_magic_cmd='$MAGIC_CMD'
7536 lt_cv_file_magic_test_file=
7537 lt_cv_deplibs_check_method='unknown'
7538 # Need to set the preceding variable on all platforms that support
7539 # interlibrary dependencies.
7540 # 'none' -- dependencies not supported.
7541 # `unknown' -- same as none, but documents that we really don't know.
7542 # 'pass_all' -- all dependencies passed with no checks.
7543 # 'test_compile' -- check by making test program.
7544 # 'file_magic [[regex]]' -- check by looking for files in library path
7545 # which responds to the $file_magic_cmd with a given extended regex.
7546 # If you have `file' or equivalent on your system and you're not sure
7547 # whether `pass_all' will *always* work, you probably want this one.
7551 lt_cv_deplibs_check_method=pass_all
7555 lt_cv_deplibs_check_method=pass_all
7559 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7560 lt_cv_file_magic_cmd='/usr/bin/file -L'
7561 lt_cv_file_magic_test_file=/shlib/libc.so
7565 # func_win32_libid is a shell function defined in ltmain.sh
7566 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7567 lt_cv_file_magic_cmd='func_win32_libid'
7571 # Base MSYS/MinGW do not provide the 'file' command needed by
7572 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7573 # unless we find 'file', for example because we are cross-compiling.
7574 if ( file / ) >/dev/null 2>&1; then
7575 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7576 lt_cv_file_magic_cmd='func_win32_libid'
7578 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7579 lt_cv_file_magic_cmd='$OBJDUMP -f'
7583 darwin* | rhapsody*)
7584 lt_cv_deplibs_check_method=pass_all
7587 freebsd* | dragonfly*)
7588 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7591 # Not sure whether the presence of OpenBSD here was a mistake.
7592 # Let's accept both of them until this is cleared up.
7593 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7594 lt_cv_file_magic_cmd=/usr/bin/file
7595 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7599 lt_cv_deplibs_check_method=pass_all
7604 lt_cv_deplibs_check_method=pass_all
7607 hpux10.20* | hpux11*)
7608 lt_cv_file_magic_cmd=/usr/bin/file
7611 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7612 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7615 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
7616 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7619 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7620 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7626 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7627 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7630 irix5* | irix6* | nonstopux*)
7632 *-32|*"-32 ") libmagic=32-bit;;
7633 *-n32|*"-n32 ") libmagic=N32;;
7634 *-64|*"-64 ") libmagic=64-bit;;
7635 *) libmagic=never-match;;
7637 lt_cv_deplibs_check_method=pass_all
7640 # This must be Linux ELF.
7641 linux* | k*bsd*-gnu)
7642 lt_cv_deplibs_check_method=pass_all
7646 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7647 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7649 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7654 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7655 lt_cv_file_magic_cmd=/usr/bin/file
7656 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7660 lt_cv_deplibs_check_method=pass_all
7664 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7665 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7667 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7671 osf3* | osf4* | osf5*)
7672 lt_cv_deplibs_check_method=pass_all
7676 lt_cv_deplibs_check_method=pass_all
7680 lt_cv_deplibs_check_method=pass_all
7683 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7684 lt_cv_deplibs_check_method=pass_all
7688 case $host_vendor in
7690 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
7691 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7694 lt_cv_deplibs_check_method=pass_all
7697 lt_cv_file_magic_cmd='/bin/file'
7698 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7701 lt_cv_file_magic_cmd='/bin/file'
7702 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7703 lt_cv_file_magic_test_file=/lib/libc.so
7706 lt_cv_deplibs_check_method=pass_all
7709 lt_cv_deplibs_check_method=pass_all
7715 lt_cv_deplibs_check_method=pass_all
7720 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
7721 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7722 file_magic_cmd=$lt_cv_file_magic_cmd
7723 deplibs_check_method=$lt_cv_deplibs_check_method
7724 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7737 if test -n "$ac_tool_prefix"; then
7738 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7739 set dummy ${ac_tool_prefix}ar; ac_word=$2
7740 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7741 $as_echo_n "checking
for $ac_word...
" >&6; }
7742 if test "${ac_cv_prog_AR+set}" = set; then
7743 $as_echo_n "(cached
) " >&6
7745 if test -n "$AR"; then
7746 ac_cv_prog_AR="$AR" # Let the user override the test.
7748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7752 test -z "$as_dir" && as_dir=.
7753 for ac_exec_ext in '' $ac_executable_extensions; do
7754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7755 ac_cv_prog_AR="${ac_tool_prefix}ar"
7756 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7766 if test -n "$AR"; then
7767 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
7768 $as_echo "$AR" >&6; }
7770 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7771 $as_echo "no
" >&6; }
7776 if test -z "$ac_cv_prog_AR"; then
7778 # Extract the first word of "ar", so it can be a program name with args.
7779 set dummy ar; ac_word=$2
7780 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7781 $as_echo_n "checking
for $ac_word...
" >&6; }
7782 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7783 $as_echo_n "(cached
) " >&6
7785 if test -n "$ac_ct_AR"; then
7786 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7792 test -z "$as_dir" && as_dir=.
7793 for ac_exec_ext in '' $ac_executable_extensions; do
7794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7795 ac_cv_prog_ac_ct_AR="ar"
7796 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7805 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7806 if test -n "$ac_ct_AR"; then
7807 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
7808 $as_echo "$ac_ct_AR" >&6; }
7810 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7811 $as_echo "no
" >&6; }
7814 if test "x
$ac_ct_AR" = x; then
7817 case $cross_compiling:$ac_tool_warned in
7819 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
7820 whose name does not start with the
host triplet. If you think this
7821 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
7822 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
7823 whose name does not start with the
host triplet. If you think this
7824 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
7825 ac_tool_warned=yes ;;
7833 test -z "$AR" && AR=ar
7834 test -z "$AR_FLAGS" && AR_FLAGS=cru
7846 if test -n "$ac_tool_prefix"; then
7847 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7848 set dummy ${ac_tool_prefix}strip; ac_word=$2
7849 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7850 $as_echo_n "checking
for $ac_word...
" >&6; }
7851 if test "${ac_cv_prog_STRIP+set}" = set; then
7852 $as_echo_n "(cached
) " >&6
7854 if test -n "$STRIP"; then
7855 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7861 test -z "$as_dir" && as_dir=.
7862 for ac_exec_ext in '' $ac_executable_extensions; do
7863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7864 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7865 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7874 STRIP=$ac_cv_prog_STRIP
7875 if test -n "$STRIP"; then
7876 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
7877 $as_echo "$STRIP" >&6; }
7879 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7880 $as_echo "no
" >&6; }
7885 if test -z "$ac_cv_prog_STRIP"; then
7887 # Extract the first word of "strip
", so it can be a program name with args.
7888 set dummy strip; ac_word=$2
7889 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7890 $as_echo_n "checking
for $ac_word...
" >&6; }
7891 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7892 $as_echo_n "(cached
) " >&6
7894 if test -n "$ac_ct_STRIP"; then
7895 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7901 test -z "$as_dir" && as_dir=.
7902 for ac_exec_ext in '' $ac_executable_extensions; do
7903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7904 ac_cv_prog_ac_ct_STRIP="strip
"
7905 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7914 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7915 if test -n "$ac_ct_STRIP"; then
7916 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
7917 $as_echo "$ac_ct_STRIP" >&6; }
7919 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7920 $as_echo "no
" >&6; }
7923 if test "x
$ac_ct_STRIP" = x; then
7926 case $cross_compiling:$ac_tool_warned in
7928 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
7929 whose name does not start with the
host triplet. If you think this
7930 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
7931 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
7932 whose name does not start with the
host triplet. If you think this
7933 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
7934 ac_tool_warned=yes ;;
7939 STRIP="$ac_cv_prog_STRIP"
7942 test -z "$STRIP" && STRIP=:
7949 if test -n "$ac_tool_prefix"; then
7950 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7951 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7952 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7953 $as_echo_n "checking
for $ac_word...
" >&6; }
7954 if test "${ac_cv_prog_RANLIB+set}" = set; then
7955 $as_echo_n "(cached
) " >&6
7957 if test -n "$RANLIB"; then
7958 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7964 test -z "$as_dir" && as_dir=.
7965 for ac_exec_ext in '' $ac_executable_extensions; do
7966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7967 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7968 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7977 RANLIB=$ac_cv_prog_RANLIB
7978 if test -n "$RANLIB"; then
7979 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
7980 $as_echo "$RANLIB" >&6; }
7982 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7983 $as_echo "no
" >&6; }
7988 if test -z "$ac_cv_prog_RANLIB"; then
7989 ac_ct_RANLIB=$RANLIB
7990 # Extract the first word of "ranlib
", so it can be a program name with args.
7991 set dummy ranlib; ac_word=$2
7992 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7993 $as_echo_n "checking
for $ac_word...
" >&6; }
7994 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7995 $as_echo_n "(cached
) " >&6
7997 if test -n "$ac_ct_RANLIB"; then
7998 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8004 test -z "$as_dir" && as_dir=.
8005 for ac_exec_ext in '' $ac_executable_extensions; do
8006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8007 ac_cv_prog_ac_ct_RANLIB="ranlib
"
8008 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8017 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8018 if test -n "$ac_ct_RANLIB"; then
8019 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
8020 $as_echo "$ac_ct_RANLIB" >&6; }
8022 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8023 $as_echo "no
" >&6; }
8026 if test "x
$ac_ct_RANLIB" = x; then
8029 case $cross_compiling:$ac_tool_warned in
8031 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
8032 whose name does not start with the
host triplet. If you think this
8033 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
8034 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
8035 whose name does not start with the
host triplet. If you think this
8036 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
8037 ac_tool_warned=yes ;;
8039 RANLIB=$ac_ct_RANLIB
8042 RANLIB="$ac_cv_prog_RANLIB"
8045 test -z "$RANLIB" && RANLIB=:
8052 # Determine commands to create old-style static archives.
8053 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8054 old_postinstall_cmds='chmod 644 $oldlib'
8055 old_postuninstall_cmds=
8057 if test -n "$RANLIB"; then
8060 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
8063 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
8066 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
8102 # If no C compiler was specified, use CC.
8105 # If no C compiler flags were specified, use CFLAGS.
8106 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8108 # Allow CC to be a program name with arguments.
8112 # Check for command to grab the raw symbol name followed by C symbol from nm.
8113 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
8114 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8115 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8116 $as_echo_n "(cached
) " >&6
8119 # These are sane defaults that work on at least a few old systems.
8120 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8122 # Character class describing NM global symbol codes.
8123 symcode='[BCDEGRST]'
8125 # Regexp to match symbols that can be accessed directly from C.
8126 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8128 # Define system-specific variables.
8133 cygwin* | mingw* | pw32*)
8134 symcode='[ABCDGISTW]'
8137 if test "$host_cpu" = ia64; then
8138 symcode='[ABCDEGRST]'
8142 symcode='[BCDEGRST]'
8145 symcode='[BCDEGQRST]'
8156 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8164 # If we're using GNU nm, then use its standard symbol codes.
8165 case `$NM -V 2>&1` in
8166 *GNU* | *'with BFD'*)
8167 symcode='[ABCDGIRSTW]' ;;
8170 # Transform an extracted symbol line into a proper C declaration.
8171 # Some systems (esp. on ia64) link data and code symbols differently,
8172 # so use this general approach.
8173 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8175 # Transform an extracted symbol line into symbol name and symbol address
8176 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8177 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
8179 # Handle CRLF in mingw tool chain
8183 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8187 # Try without a prefix underscore, then with it.
8188 for ac_symprfx in "" "_
"; do
8190 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8191 symxfrm="\\1 $ac_symprfx\\2 \\2"
8193 # Write the raw and C identifiers.
8194 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8195 # Fake it for dumpbin and say T for any non-static function
8196 # and D for any global variable.
8197 # Also find C++ and __fastcall symbols from MSVC++,
8198 # which start with @ or ?.
8199 lt_cv_sys_global_symbol_pipe="$AWK '"\
8200 " {last_section=section; section=\$ 3};"\
8201 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8202 " \$ 0!~/External *\|/{next};"\
8203 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8204 " {if(hide[section]) next};"\
8205 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8206 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8207 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8208 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8209 " ' prfx
=^
$ac_symprfx"
8211 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8214 # Check to see that the pipe works correctly.
8218 cat > conftest.$ac_ext <<_LT_EOF
8223 void nm_test_func(void);
8224 void nm_test_func(void){}
8228 int main(){nm_test_var='a';nm_test_func();return(0);}
8231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8232 (eval $ac_compile) 2>&5
8234 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8235 (exit $ac_status); }; then
8236 # Now try to grab the symbols.
8238 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
8239 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8241 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8242 (exit $ac_status); } && test -s "$nlist"; then
8243 # Try sorting and uniquifying the output.
8244 if sort "$nlist" | uniq > "$nlist"T; then
8245 mv -f "$nlist"T "$nlist"
8250 # Make sure that we snagged all the symbols we need.
8251 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8252 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8253 cat <<_LT_EOF > conftest.$ac_ext
8259 # Now generate the symbol file.
8260 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8262 cat <<_LT_EOF >> conftest.$ac_ext
8264 /* The mapping between symbol names and symbols. */
8269 lt__PROGRAM__LTX_preloaded_symbols[] =
8271 { "@PROGRAM@
", (void *) 0 },
8273 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8274 cat <<\_LT_EOF >> conftest.$ac_ext
8278 /* This works around a problem in FreeBSD linker */
8279 #ifdef FREEBSD_WORKAROUND
8280 static const void *lt_preloaded_setup() {
8281 return lt__PROGRAM__LTX_preloaded_symbols;
8289 # Now try linking the two files.
8290 mv conftest.$ac_objext conftstm.$ac_objext
8291 lt_save_LIBS="$LIBS"
8292 lt_save_CFLAGS="$CFLAGS"
8293 LIBS="conftstm.
$ac_objext"
8294 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8296 (eval $ac_link) 2>&5
8298 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8299 (exit $ac_status); } && test -s conftest${ac_exeext}; then
8302 LIBS="$lt_save_LIBS"
8303 CFLAGS="$lt_save_CFLAGS"
8305 echo "cannot
find nm_test_func
in $nlist" >&5
8308 echo "cannot
find nm_test_var
in $nlist" >&5
8311 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8314 echo "$progname: failed program was
:" >&5
8315 cat conftest.$ac_ext >&5
8317 rm -rf conftest* conftst*
8319 # Do not use the global_symbol_pipe unless it works.
8320 if test "$pipe_works" = yes; then
8323 lt_cv_sys_global_symbol_pipe=
8329 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8330 lt_cv_sys_global_symbol_to_cdecl=
8332 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8333 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
8334 $as_echo "failed
" >&6; }
8336 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
8337 $as_echo "ok
" >&6; }
8361 # Check whether --enable-libtool-lock was given.
8362 if test "${enable_libtool_lock+set}" = set; then
8363 enableval=$enable_libtool_lock;
8366 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8368 # Some flags need to be propagated to the compiler or linker for good
8372 # Find out which ABI we are using.
8373 echo 'int i;' > conftest.$ac_ext
8374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8375 (eval $ac_compile) 2>&5
8377 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8378 (exit $ac_status); }; then
8379 case `/usr/bin/file conftest.$ac_objext` in
8391 # Find out which ABI we are using.
8392 echo '#line 8392 "configure
"' > conftest.$ac_ext
8393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8394 (eval $ac_compile) 2>&5
8396 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8397 (exit $ac_status); }; then
8398 if test "$lt_cv_prog_gnu_ld" = yes; then
8399 case `/usr/bin/file conftest.$ac_objext` in
8401 LD="${LD-ld} -melf32bsmip"
8404 LD="${LD-ld} -melf32bmipn32"
8407 LD="${LD-ld} -melf64bmip"
8411 case `/usr/bin/file conftest.$ac_objext` in
8427 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8428 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8429 # Find out which ABI we are using.
8430 echo 'int i;' > conftest.$ac_ext
8431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8432 (eval $ac_compile) 2>&5
8434 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8435 (exit $ac_status); }; then
8436 case `/usr/bin/file conftest.o` in
8439 x86_64-*kfreebsd*-gnu)
8440 LD="${LD-ld} -m elf_i386_fbsd
"
8443 LD="${LD-ld} -m elf_i386
"
8445 ppc64-*linux*|powerpc64-*linux*)
8446 LD="${LD-ld} -m elf32ppclinux
"
8449 LD="${LD-ld} -m elf_s390
"
8452 LD="${LD-ld} -m elf32_sparc
"
8458 x86_64-*kfreebsd*-gnu)
8459 LD="${LD-ld} -m elf_x86_64_fbsd
"
8462 LD="${LD-ld} -m elf_x86_64
"
8464 ppc*-*linux*|powerpc*-*linux*)
8465 LD="${LD-ld} -m elf64ppc
"
8467 s390*-*linux*|s390*-*tpf*)
8468 LD="${LD-ld} -m elf64_s390
"
8471 LD="${LD-ld} -m elf64_sparc
"
8481 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8482 SAVE_CFLAGS="$CFLAGS"
8483 CFLAGS="$CFLAGS -belf"
8484 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
8485 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8486 if test "${lt_cv_cc_needs_belf+set}" = set; then
8487 $as_echo_n "(cached
) " >&6
8490 ac_cpp='$CPP $CPPFLAGS'
8491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8495 cat >conftest.$ac_ext <<_ACEOF
8498 cat confdefs.h >>conftest.$ac_ext
8499 cat >>conftest.$ac_ext <<_ACEOF
8500 /* end confdefs.h. */
8510 rm -f conftest.$ac_objext conftest$ac_exeext
8511 if { (ac_try="$ac_link"
8513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8514 *) ac_try_echo=$ac_try;;
8516 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8517 $as_echo "$ac_try_echo") >&5
8518 (eval "$ac_link") 2>conftest.er1
8520 grep -v '^ *+' conftest.er1 >conftest.err
8522 cat conftest.err >&5
8523 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8524 (exit $ac_status); } && {
8525 test -z "$ac_c_werror_flag" ||
8526 test ! -s conftest.err
8527 } && test -s conftest$ac_exeext && {
8528 test "$cross_compiling" = yes ||
8529 $as_test_x conftest$ac_exeext
8531 lt_cv_cc_needs_belf=yes
8533 $as_echo "$as_me: failed program was
:" >&5
8534 sed 's/^/| /' conftest.$ac_ext >&5
8536 lt_cv_cc_needs_belf=no
8539 rm -rf conftest.dSYM
8540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8541 conftest$ac_exeext conftest.$ac_ext
8543 ac_cpp='$CPP $CPPFLAGS'
8544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8549 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
8550 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8551 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8552 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8553 CFLAGS="$SAVE_CFLAGS"
8557 # Find out which ABI we are using.
8558 echo 'int i;' > conftest.$ac_ext
8559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8560 (eval $ac_compile) 2>&5
8562 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8563 (exit $ac_status); }; then
8564 case `/usr/bin/file conftest.o` in
8566 case $lt_cv_prog_gnu_ld in
8567 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8569 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8581 need_locks="$enable_libtool_lock"
8585 rhapsody* | darwin*)
8586 if test -n "$ac_tool_prefix"; then
8587 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8588 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8589 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8590 $as_echo_n "checking
for $ac_word...
" >&6; }
8591 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8592 $as_echo_n "(cached
) " >&6
8594 if test -n "$DSYMUTIL"; then
8595 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8601 test -z "$as_dir" && as_dir=.
8602 for ac_exec_ext in '' $ac_executable_extensions; do
8603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8604 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8605 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8614 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8615 if test -n "$DSYMUTIL"; then
8616 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
8617 $as_echo "$DSYMUTIL" >&6; }
8619 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8620 $as_echo "no
" >&6; }
8625 if test -z "$ac_cv_prog_DSYMUTIL"; then
8626 ac_ct_DSYMUTIL=$DSYMUTIL
8627 # Extract the first word of "dsymutil
", so it can be a program name with args.
8628 set dummy dsymutil; ac_word=$2
8629 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8630 $as_echo_n "checking
for $ac_word...
" >&6; }
8631 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8632 $as_echo_n "(cached
) " >&6
8634 if test -n "$ac_ct_DSYMUTIL"; then
8635 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8641 test -z "$as_dir" && as_dir=.
8642 for ac_exec_ext in '' $ac_executable_extensions; do
8643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8644 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8645 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8654 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8655 if test -n "$ac_ct_DSYMUTIL"; then
8656 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
8657 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8659 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8660 $as_echo "no
" >&6; }
8663 if test "x
$ac_ct_DSYMUTIL" = x; then
8666 case $cross_compiling:$ac_tool_warned in
8668 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
8669 whose name does not start with the
host triplet. If you think this
8670 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
8671 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
8672 whose name does not start with the
host triplet. If you think this
8673 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
8674 ac_tool_warned=yes ;;
8676 DSYMUTIL=$ac_ct_DSYMUTIL
8679 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8682 if test -n "$ac_tool_prefix"; then
8683 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8684 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8685 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8686 $as_echo_n "checking
for $ac_word...
" >&6; }
8687 if test "${ac_cv_prog_NMEDIT+set}" = set; then
8688 $as_echo_n "(cached
) " >&6
8690 if test -n "$NMEDIT"; then
8691 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8697 test -z "$as_dir" && as_dir=.
8698 for ac_exec_ext in '' $ac_executable_extensions; do
8699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8700 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8701 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8710 NMEDIT=$ac_cv_prog_NMEDIT
8711 if test -n "$NMEDIT"; then
8712 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
8713 $as_echo "$NMEDIT" >&6; }
8715 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8716 $as_echo "no
" >&6; }
8721 if test -z "$ac_cv_prog_NMEDIT"; then
8722 ac_ct_NMEDIT=$NMEDIT
8723 # Extract the first word of "nmedit
", so it can be a program name with args.
8724 set dummy nmedit; ac_word=$2
8725 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8726 $as_echo_n "checking
for $ac_word...
" >&6; }
8727 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8728 $as_echo_n "(cached
) " >&6
8730 if test -n "$ac_ct_NMEDIT"; then
8731 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8737 test -z "$as_dir" && as_dir=.
8738 for ac_exec_ext in '' $ac_executable_extensions; do
8739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8740 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8741 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8750 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8751 if test -n "$ac_ct_NMEDIT"; then
8752 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
8753 $as_echo "$ac_ct_NMEDIT" >&6; }
8755 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8756 $as_echo "no
" >&6; }
8759 if test "x
$ac_ct_NMEDIT" = x; then
8762 case $cross_compiling:$ac_tool_warned in
8764 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
8765 whose name does not start with the
host triplet. If you think this
8766 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
8767 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
8768 whose name does not start with the
host triplet. If you think this
8769 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
8770 ac_tool_warned=yes ;;
8772 NMEDIT=$ac_ct_NMEDIT
8775 NMEDIT="$ac_cv_prog_NMEDIT"
8778 if test -n "$ac_tool_prefix"; then
8779 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8780 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8781 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8782 $as_echo_n "checking
for $ac_word...
" >&6; }
8783 if test "${ac_cv_prog_LIPO+set}" = set; then
8784 $as_echo_n "(cached
) " >&6
8786 if test -n "$LIPO"; then
8787 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8793 test -z "$as_dir" && as_dir=.
8794 for ac_exec_ext in '' $ac_executable_extensions; do
8795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8796 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8797 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8806 LIPO=$ac_cv_prog_LIPO
8807 if test -n "$LIPO"; then
8808 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
8809 $as_echo "$LIPO" >&6; }
8811 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8812 $as_echo "no
" >&6; }
8817 if test -z "$ac_cv_prog_LIPO"; then
8819 # Extract the first word of "lipo
", so it can be a program name with args.
8820 set dummy lipo; ac_word=$2
8821 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8822 $as_echo_n "checking
for $ac_word...
" >&6; }
8823 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
8824 $as_echo_n "(cached
) " >&6
8826 if test -n "$ac_ct_LIPO"; then
8827 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8833 test -z "$as_dir" && as_dir=.
8834 for ac_exec_ext in '' $ac_executable_extensions; do
8835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8836 ac_cv_prog_ac_ct_LIPO="lipo
"
8837 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8846 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8847 if test -n "$ac_ct_LIPO"; then
8848 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
8849 $as_echo "$ac_ct_LIPO" >&6; }
8851 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8852 $as_echo "no
" >&6; }
8855 if test "x
$ac_ct_LIPO" = x; then
8858 case $cross_compiling:$ac_tool_warned in
8860 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
8861 whose name does not start with the
host triplet. If you think this
8862 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
8863 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
8864 whose name does not start with the
host triplet. If you think this
8865 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
8866 ac_tool_warned=yes ;;
8871 LIPO="$ac_cv_prog_LIPO"
8874 if test -n "$ac_tool_prefix"; then
8875 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8876 set dummy ${ac_tool_prefix}otool; ac_word=$2
8877 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8878 $as_echo_n "checking
for $ac_word...
" >&6; }
8879 if test "${ac_cv_prog_OTOOL+set}" = set; then
8880 $as_echo_n "(cached
) " >&6
8882 if test -n "$OTOOL"; then
8883 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8889 test -z "$as_dir" && as_dir=.
8890 for ac_exec_ext in '' $ac_executable_extensions; do
8891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8892 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8893 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8902 OTOOL=$ac_cv_prog_OTOOL
8903 if test -n "$OTOOL"; then
8904 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
8905 $as_echo "$OTOOL" >&6; }
8907 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8908 $as_echo "no
" >&6; }
8913 if test -z "$ac_cv_prog_OTOOL"; then
8915 # Extract the first word of "otool
", so it can be a program name with args.
8916 set dummy otool; ac_word=$2
8917 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8918 $as_echo_n "checking
for $ac_word...
" >&6; }
8919 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
8920 $as_echo_n "(cached
) " >&6
8922 if test -n "$ac_ct_OTOOL"; then
8923 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8929 test -z "$as_dir" && as_dir=.
8930 for ac_exec_ext in '' $ac_executable_extensions; do
8931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8932 ac_cv_prog_ac_ct_OTOOL="otool
"
8933 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8942 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8943 if test -n "$ac_ct_OTOOL"; then
8944 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
8945 $as_echo "$ac_ct_OTOOL" >&6; }
8947 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8948 $as_echo "no
" >&6; }
8951 if test "x
$ac_ct_OTOOL" = x; then
8954 case $cross_compiling:$ac_tool_warned in
8956 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
8957 whose name does not start with the
host triplet. If you think this
8958 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
8959 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
8960 whose name does not start with the
host triplet. If you think this
8961 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
8962 ac_tool_warned=yes ;;
8967 OTOOL="$ac_cv_prog_OTOOL"
8970 if test -n "$ac_tool_prefix"; then
8971 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8972 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8973 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8974 $as_echo_n "checking
for $ac_word...
" >&6; }
8975 if test "${ac_cv_prog_OTOOL64+set}" = set; then
8976 $as_echo_n "(cached
) " >&6
8978 if test -n "$OTOOL64"; then
8979 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8985 test -z "$as_dir" && as_dir=.
8986 for ac_exec_ext in '' $ac_executable_extensions; do
8987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8988 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8989 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8998 OTOOL64=$ac_cv_prog_OTOOL64
8999 if test -n "$OTOOL64"; then
9000 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
9001 $as_echo "$OTOOL64" >&6; }
9003 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9004 $as_echo "no
" >&6; }
9009 if test -z "$ac_cv_prog_OTOOL64"; then
9010 ac_ct_OTOOL64=$OTOOL64
9011 # Extract the first word of "otool64
", so it can be a program name with args.
9012 set dummy otool64; ac_word=$2
9013 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9014 $as_echo_n "checking
for $ac_word...
" >&6; }
9015 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
9016 $as_echo_n "(cached
) " >&6
9018 if test -n "$ac_ct_OTOOL64"; then
9019 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9025 test -z "$as_dir" && as_dir=.
9026 for ac_exec_ext in '' $ac_executable_extensions; do
9027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9028 ac_cv_prog_ac_ct_OTOOL64="otool64
"
9029 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9038 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9039 if test -n "$ac_ct_OTOOL64"; then
9040 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
9041 $as_echo "$ac_ct_OTOOL64" >&6; }
9043 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9044 $as_echo "no
" >&6; }
9047 if test "x
$ac_ct_OTOOL64" = x; then
9050 case $cross_compiling:$ac_tool_warned in
9052 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
9053 whose name does not start with the
host triplet. If you think this
9054 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
9055 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
9056 whose name does not start with the
host triplet. If you think this
9057 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
9058 ac_tool_warned=yes ;;
9060 OTOOL64=$ac_ct_OTOOL64
9063 OTOOL64="$ac_cv_prog_OTOOL64"
9092 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
9093 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9094 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9095 $as_echo_n "(cached
) " >&6
9097 lt_cv_apple_cc_single_mod=no
9098 if test -z "${LT_MULTI_MODULE}"; then
9099 # By default we will add the -single_module flag. You can override
9100 # by either setting the environment variable LT_MULTI_MODULE
9101 # non-empty at configure time, or by adding -multi_module to the
9103 rm -rf libconftest.dylib*
9104 echo "int foo
(void
){return 1;}" > conftest.c
9105 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9106 -dynamiclib -Wl,-single_module conftest.c
" >&5
9107 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9108 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9110 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9111 lt_cv_apple_cc_single_mod=yes
9113 cat conftest.err >&5
9115 rm -rf libconftest.dylib*
9119 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
9120 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9121 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
9122 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9123 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
9124 $as_echo_n "(cached
) " >&6
9126 lt_cv_ld_exported_symbols_list=no
9127 save_LDFLAGS=$LDFLAGS
9128 echo "_main
" > conftest.sym
9129 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9130 cat >conftest.$ac_ext <<_ACEOF
9133 cat confdefs.h >>conftest.$ac_ext
9134 cat >>conftest.$ac_ext <<_ACEOF
9135 /* end confdefs.h. */
9145 rm -f conftest.$ac_objext conftest$ac_exeext
9146 if { (ac_try="$ac_link"
9148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9149 *) ac_try_echo=$ac_try;;
9151 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9152 $as_echo "$ac_try_echo") >&5
9153 (eval "$ac_link") 2>conftest.er1
9155 grep -v '^ *+' conftest.er1 >conftest.err
9157 cat conftest.err >&5
9158 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9159 (exit $ac_status); } && {
9160 test -z "$ac_c_werror_flag" ||
9161 test ! -s conftest.err
9162 } && test -s conftest$ac_exeext && {
9163 test "$cross_compiling" = yes ||
9164 $as_test_x conftest$ac_exeext
9166 lt_cv_ld_exported_symbols_list=yes
9168 $as_echo "$as_me: failed program was
:" >&5
9169 sed 's/^/| /' conftest.$ac_ext >&5
9171 lt_cv_ld_exported_symbols_list=no
9174 rm -rf conftest.dSYM
9175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9176 conftest$ac_exeext conftest.$ac_ext
9177 LDFLAGS="$save_LDFLAGS"
9180 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
9181 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9183 rhapsody* | darwin1.[012])
9184 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9186 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9187 darwin*) # darwin 5.x on
9188 # if running on 10.5 or later, the deployment target defaults
9189 # to the OS version, if on x86, and 10.4, the deployment
9190 # target defaults to 10.4. Don't you love it?
9191 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9192 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9193 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9195 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9197 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9201 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9202 _lt_dar_single_mod='$single_module'
9204 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9205 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9207 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9209 if test "$DSYMUTIL" != ":"; then
9210 _lt_dsymutil='~$DSYMUTIL $lib || :'
9218 for ac_header in dlfcn.h
9220 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9221 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9222 $as_echo_n "checking
for $ac_header...
" >&6; }
9223 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9224 $as_echo_n "(cached
) " >&6
9226 cat >conftest.$ac_ext <<_ACEOF
9229 cat confdefs.h >>conftest.$ac_ext
9230 cat >>conftest.$ac_ext <<_ACEOF
9231 /* end confdefs.h. */
9232 $ac_includes_default
9234 #include <$ac_header>
9236 rm -f conftest.$ac_objext
9237 if { (ac_try="$ac_compile"
9239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9240 *) ac_try_echo=$ac_try;;
9242 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9243 $as_echo "$ac_try_echo") >&5
9244 (eval "$ac_compile") 2>conftest.er1
9246 grep -v '^ *+' conftest.er1 >conftest.err
9248 cat conftest.err >&5
9249 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9250 (exit $ac_status); } && {
9251 test -z "$ac_c_werror_flag" ||
9252 test ! -s conftest.err
9253 } && test -s conftest.$ac_objext; then
9254 eval "$as_ac_Header=yes"
9256 $as_echo "$as_me: failed program was
:" >&5
9257 sed 's/^/| /' conftest.$ac_ext >&5
9259 eval "$as_ac_Header=no
"
9262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9264 ac_res=`eval 'as_val=${'$as_ac_Header'}
9265 $as_echo "$as_val"'`
9266 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9267 $as_echo "$ac_res" >&6; }
9268 if test `eval 'as_val=${'$as_ac_Header'}
9269 $as_echo "$as_val"'` = yes; then
9270 cat >>confdefs.h <<_ACEOF
9271 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9281 enable_win32_dll=yes
9284 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
9285 if test -n "$ac_tool_prefix"; then
9286 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
9287 set dummy ${ac_tool_prefix}as; ac_word=$2
9288 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9289 $as_echo_n "checking
for $ac_word...
" >&6; }
9290 if test "${ac_cv_prog_AS+set}" = set; then
9291 $as_echo_n "(cached
) " >&6
9293 if test -n "$AS"; then
9294 ac_cv_prog_AS="$AS" # Let the user override the test.
9296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9300 test -z "$as_dir" && as_dir=.
9301 for ac_exec_ext in '' $ac_executable_extensions; do
9302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9303 ac_cv_prog_AS="${ac_tool_prefix}as
"
9304 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9314 if test -n "$AS"; then
9315 { $as_echo "$as_me:$LINENO: result
: $AS" >&5
9316 $as_echo "$AS" >&6; }
9318 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9319 $as_echo "no
" >&6; }
9324 if test -z "$ac_cv_prog_AS"; then
9326 # Extract the first word of "as
", so it can be a program name with args.
9327 set dummy as; ac_word=$2
9328 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9329 $as_echo_n "checking
for $ac_word...
" >&6; }
9330 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
9331 $as_echo_n "(cached
) " >&6
9333 if test -n "$ac_ct_AS"; then
9334 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9340 test -z "$as_dir" && as_dir=.
9341 for ac_exec_ext in '' $ac_executable_extensions; do
9342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9343 ac_cv_prog_ac_ct_AS="as
"
9344 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9353 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9354 if test -n "$ac_ct_AS"; then
9355 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AS" >&5
9356 $as_echo "$ac_ct_AS" >&6; }
9358 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9359 $as_echo "no
" >&6; }
9362 if test "x
$ac_ct_AS" = x; then
9365 case $cross_compiling:$ac_tool_warned in
9367 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
9368 whose name does not start with the
host triplet. If you think this
9369 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
9370 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
9371 whose name does not start with the
host triplet. If you think this
9372 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
9373 ac_tool_warned=yes ;;
9381 if test -n "$ac_tool_prefix"; then
9382 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
9383 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9384 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9385 $as_echo_n "checking
for $ac_word...
" >&6; }
9386 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9387 $as_echo_n "(cached
) " >&6
9389 if test -n "$DLLTOOL"; then
9390 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9396 test -z "$as_dir" && as_dir=.
9397 for ac_exec_ext in '' $ac_executable_extensions; do
9398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9399 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
9400 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9409 DLLTOOL=$ac_cv_prog_DLLTOOL
9410 if test -n "$DLLTOOL"; then
9411 { $as_echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
9412 $as_echo "$DLLTOOL" >&6; }
9414 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9415 $as_echo "no
" >&6; }
9420 if test -z "$ac_cv_prog_DLLTOOL"; then
9421 ac_ct_DLLTOOL=$DLLTOOL
9422 # Extract the first word of "dlltool
", so it can be a program name with args.
9423 set dummy dlltool; ac_word=$2
9424 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9425 $as_echo_n "checking
for $ac_word...
" >&6; }
9426 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
9427 $as_echo_n "(cached
) " >&6
9429 if test -n "$ac_ct_DLLTOOL"; then
9430 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9436 test -z "$as_dir" && as_dir=.
9437 for ac_exec_ext in '' $ac_executable_extensions; do
9438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9439 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
9440 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9449 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9450 if test -n "$ac_ct_DLLTOOL"; then
9451 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DLLTOOL" >&5
9452 $as_echo "$ac_ct_DLLTOOL" >&6; }
9454 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9455 $as_echo "no
" >&6; }
9458 if test "x
$ac_ct_DLLTOOL" = x; then
9461 case $cross_compiling:$ac_tool_warned in
9463 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
9464 whose name does not start with the
host triplet. If you think this
9465 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
9466 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
9467 whose name does not start with the
host triplet. If you think this
9468 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
9469 ac_tool_warned=yes ;;
9471 DLLTOOL=$ac_ct_DLLTOOL
9474 DLLTOOL="$ac_cv_prog_DLLTOOL"
9477 if test -n "$ac_tool_prefix"; then
9478 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
9479 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9480 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9481 $as_echo_n "checking
for $ac_word...
" >&6; }
9482 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
9483 $as_echo_n "(cached
) " >&6
9485 if test -n "$OBJDUMP"; then
9486 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9492 test -z "$as_dir" && as_dir=.
9493 for ac_exec_ext in '' $ac_executable_extensions; do
9494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9495 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
9496 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9505 OBJDUMP=$ac_cv_prog_OBJDUMP
9506 if test -n "$OBJDUMP"; then
9507 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
9508 $as_echo "$OBJDUMP" >&6; }
9510 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9511 $as_echo "no
" >&6; }
9516 if test -z "$ac_cv_prog_OBJDUMP"; then
9517 ac_ct_OBJDUMP=$OBJDUMP
9518 # Extract the first word of "objdump
", so it can be a program name with args.
9519 set dummy objdump; ac_word=$2
9520 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9521 $as_echo_n "checking
for $ac_word...
" >&6; }
9522 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
9523 $as_echo_n "(cached
) " >&6
9525 if test -n "$ac_ct_OBJDUMP"; then
9526 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9532 test -z "$as_dir" && as_dir=.
9533 for ac_exec_ext in '' $ac_executable_extensions; do
9534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9535 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
9536 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9545 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9546 if test -n "$ac_ct_OBJDUMP"; then
9547 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
9548 $as_echo "$ac_ct_OBJDUMP" >&6; }
9550 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9551 $as_echo "no
" >&6; }
9554 if test "x
$ac_ct_OBJDUMP" = x; then
9557 case $cross_compiling:$ac_tool_warned in
9559 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
9560 whose name does not start with the
host triplet. If you think this
9561 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
9562 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
9563 whose name does not start with the
host triplet. If you think this
9564 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
9565 ac_tool_warned=yes ;;
9567 OBJDUMP=$ac_ct_OBJDUMP
9570 OBJDUMP="$ac_cv_prog_OBJDUMP"
9576 test -z "$AS" && AS=as
9582 test -z "$DLLTOOL" && DLLTOOL=dlltool
9588 test -z "$OBJDUMP" && OBJDUMP=objdump
9600 # Check whether --enable-shared was given.
9601 if test "${enable_shared+set}" = set; then
9602 enableval=$enable_shared; p=${PACKAGE-default}
9604 yes) enable_shared=yes ;;
9605 no) enable_shared=no ;;
9608 # Look at the argument we got. We use all the common list separators.
9609 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9610 for pkg in $enableval; do
9612 if test "X
$pkg" = "X
$p"; then
9631 # Check whether --enable-static was given.
9632 if test "${enable_static+set}" = set; then
9633 enableval=$enable_static; p=${PACKAGE-default}
9635 yes) enable_static=yes ;;
9636 no) enable_static=no ;;
9639 # Look at the argument we got. We use all the common list separators.
9640 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9641 for pkg in $enableval; do
9643 if test "X
$pkg" = "X
$p"; then
9663 # Check whether --with-pic was given.
9664 if test "${with_pic+set}" = set; then
9665 withval=$with_pic; pic_mode="$withval"
9671 test -z "$pic_mode" && pic_mode=default
9679 # Check whether --enable-fast-install was given.
9680 if test "${enable_fast_install+set}" = set; then
9681 enableval=$enable_fast_install; p=${PACKAGE-default}
9683 yes) enable_fast_install=yes ;;
9684 no) enable_fast_install=no ;;
9686 enable_fast_install=no
9687 # Look at the argument we got. We use all the common list separators.
9688 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9689 for pkg in $enableval; do
9691 if test "X
$pkg" = "X
$p"; then
9692 enable_fast_install=yes
9699 enable_fast_install=yes
9712 # This can be used to rebuild libtool when needed
9713 LIBTOOL_DEPS="$ltmain"
9715 # Always use our own libtool.
9716 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9742 test -z "$LN_S" && LN_S="ln -s"
9757 if test -n "${ZSH_VERSION+set}" ; then
9758 setopt NO_GLOB_SUBST
9761 { $as_echo "$as_me:$LINENO: checking
for objdir
" >&5
9762 $as_echo_n "checking
for objdir...
" >&6; }
9763 if test "${lt_cv_objdir+set}" = set; then
9764 $as_echo_n "(cached
) " >&6
9766 rm -f .libs 2>/dev/null
9767 mkdir .libs 2>/dev/null
9768 if test -d .libs; then
9771 # MS-DOS does not allow filenames that begin with a dot.
9774 rmdir .libs 2>/dev/null
9776 { $as_echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
9777 $as_echo "$lt_cv_objdir" >&6; }
9778 objdir=$lt_cv_objdir
9784 cat >>confdefs.h <<_ACEOF
9785 #define LT_OBJDIR "$lt_cv_objdir/"
9806 # AIX sometimes has problems with the GCC collect2 program. For some
9807 # reason, if we set the COLLECT_NAMES environment variable, the problems
9808 # vanish in a puff of smoke.
9809 if test "X
${COLLECT_NAMES+set}" != Xset; then
9811 export COLLECT_NAMES
9816 # Sed substitution that helps us do robust quoting. It backslashifies
9817 # metacharacters that are still active within double-quoted strings.
9818 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
9820 # Same as above, but do not quote variable references.
9821 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
9823 # Sed substitution to delay expansion of an escaped shell variable in a
9824 # double_quote_subst'ed string.
9825 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
9827 # Sed substitution to delay expansion of an escaped single quote.
9828 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
9830 # Sed substitution to avoid accidental globbing in evaled expressions
9831 no_glob_subst
='s/\*/\\\*/g'
9835 can_build_shared
=yes
9837 # All known linkers require a `.a' archive for static linking (except MSVC,
9838 # which needs '.lib').
9841 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9844 old_CFLAGS
="$CFLAGS"
9846 # Set sane defaults for various variables
9847 test -z "$CC" && CC
=cc
9848 test -z "$LTCC" && LTCC
=$CC
9849 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9850 test -z "$LD" && LD
=ld
9851 test -z "$ac_objext" && ac_objext
=o
9853 for cc_temp
in $compiler""; do
9855 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9856 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9861 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9864 # Only perform the check for file, if the check method requires it
9865 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9866 case $deplibs_check_method in
9868 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9869 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9870 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9871 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9872 $as_echo_n "(cached) " >&6
9876 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9879 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9880 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9881 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9882 for ac_dir
in $ac_dummy; do
9884 test -z "$ac_dir" && ac_dir
=.
9885 if test -f $ac_dir/${ac_tool_prefix}file; then
9886 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9887 if test -n "$file_magic_test_file"; then
9888 case $deplibs_check_method in
9890 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9891 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9892 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9893 $EGREP "$file_magic_regex" > /dev
/null
; then
9898 *** Warning: the command libtool uses to detect shared libraries,
9899 *** $file_magic_cmd, produces output that libtool cannot recognize.
9900 *** The result is that libtool may fail to recognize shared libraries
9901 *** as such. This will affect the creation of libtool libraries that
9902 *** depend on shared libraries, but programs linked with such libtool
9903 *** libraries will work regardless of this problem. Nevertheless, you
9904 *** may want to report the problem to your system manager and/or to
9905 *** bug-libtool@gnu.org
9915 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9920 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9921 if test -n "$MAGIC_CMD"; then
9922 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9923 $as_echo "$MAGIC_CMD" >&6; }
9925 { $as_echo "$as_me:$LINENO: result: no" >&5
9926 $as_echo "no" >&6; }
9933 if test -z "$lt_cv_path_MAGIC_CMD"; then
9934 if test -n "$ac_tool_prefix"; then
9935 { $as_echo "$as_me:$LINENO: checking for file" >&5
9936 $as_echo_n "checking for file... " >&6; }
9937 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9938 $as_echo_n "(cached) " >&6
9942 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9945 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9946 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9947 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9948 for ac_dir
in $ac_dummy; do
9950 test -z "$ac_dir" && ac_dir
=.
9951 if test -f $ac_dir/file; then
9952 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9953 if test -n "$file_magic_test_file"; then
9954 case $deplibs_check_method in
9956 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9957 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9958 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9959 $EGREP "$file_magic_regex" > /dev
/null
; then
9964 *** Warning: the command libtool uses to detect shared libraries,
9965 *** $file_magic_cmd, produces output that libtool cannot recognize.
9966 *** The result is that libtool may fail to recognize shared libraries
9967 *** as such. This will affect the creation of libtool libraries that
9968 *** depend on shared libraries, but programs linked with such libtool
9969 *** libraries will work regardless of this problem. Nevertheless, you
9970 *** may want to report the problem to your system manager and/or to
9971 *** bug-libtool@gnu.org
9981 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9986 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9987 if test -n "$MAGIC_CMD"; then
9988 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9989 $as_echo "$MAGIC_CMD" >&6; }
9991 { $as_echo "$as_me:$LINENO: result: no" >&5
9992 $as_echo "no" >&6; }
10005 # Use C for the default configuration in the libtool script
10009 ac_cpp
='$CPP $CPPFLAGS'
10010 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10011 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10012 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10015 # Source file extension for C test sources.
10018 # Object file extension for compiled C test sources.
10022 # Code to be used in simple compile tests
10023 lt_simple_compile_test_code
="int some_variable = 0;"
10025 # Code to be used in simple link tests
10026 lt_simple_link_test_code
='int main(){return(0);}'
10034 # If no C compiler was specified, use CC.
10037 # If no C compiler flags were specified, use CFLAGS.
10038 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10040 # Allow CC to be a program name with arguments.
10043 # Save the default compiler, since it gets overwritten when the other
10044 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10045 compiler_DEFAULT
=$CC
10047 # save warnings/boilerplate of simple test code
10048 ac_outfile
=conftest.
$ac_objext
10049 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10050 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10051 _lt_compiler_boilerplate
=`cat conftest.err`
10054 ac_outfile
=conftest.
$ac_objext
10055 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10056 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10057 _lt_linker_boilerplate
=`cat conftest.err`
10061 if test -n "$compiler"; then
10063 lt_prog_compiler_no_builtin_flag
=
10065 if test "$GCC" = yes; then
10066 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
10068 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10069 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10070 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10071 $as_echo_n "(cached) " >&6
10073 lt_cv_prog_compiler_rtti_exceptions
=no
10074 ac_outfile
=conftest.
$ac_objext
10075 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10076 lt_compiler_flag
="-fno-rtti -fno-exceptions"
10077 # Insert the option either (1) after the last *FLAGS variable, or
10078 # (2) before a word containing "conftest.", or (3) at the end.
10079 # Note that $ac_compile itself does not contain backslashes and begins
10080 # with a dollar sign (not a hyphen), so the echo should work correctly.
10081 # The option is referenced via a variable to avoid confusing sed.
10082 lt_compile
=`echo "$ac_compile" | $SED \
10083 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10084 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10085 -e 's:$: $lt_compiler_flag:'`
10086 (eval echo "\"\$as_me:10086: $lt_compile\"" >&5)
10087 (eval "$lt_compile" 2>conftest.err
)
10089 cat conftest.err
>&5
10090 echo "$as_me:10090: \$? = $ac_status" >&5
10091 if (exit $ac_status) && test -s "$ac_outfile"; then
10092 # The compiler can only warn and ignore the option if not recognized
10093 # So say no if there are warnings other than the usual output.
10094 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
10095 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10096 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10097 lt_cv_prog_compiler_rtti_exceptions
=yes
10103 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10104 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10106 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
10107 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10119 lt_prog_compiler_wl
=
10120 lt_prog_compiler_pic
=
10121 lt_prog_compiler_static
=
10123 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10124 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10126 if test "$GCC" = yes; then
10127 lt_prog_compiler_wl
='-Wl,'
10128 lt_prog_compiler_static
='-static'
10132 # All AIX code is PIC.
10133 if test "$host_cpu" = ia64
; then
10134 # AIX 5 now supports IA64 processor
10135 lt_prog_compiler_static
='-Bstatic'
10142 # see comment about AmigaOS4 .so support
10143 lt_prog_compiler_pic
='-fPIC'
10146 # FIXME: we need at least 68020 code to build shared libraries, but
10147 # adding the `-m68020' flag to GCC prevents building anything better,
10149 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10154 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10155 # PIC is the default for these OSes.
10158 mingw
* | cygwin
* | pw32
* | os2
*)
10159 # This hack is so that the source file can tell whether it is being
10160 # built for inclusion in a dll (and should export symbols for example).
10161 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10162 # (--disable-auto-import) libraries
10163 lt_prog_compiler_pic
='-DDLL_EXPORT'
10166 darwin
* | rhapsody
*)
10167 # PIC is the default on this platform
10168 # Common symbols not allowed in MH_DYLIB files
10169 lt_prog_compiler_pic
='-fno-common'
10173 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10174 # not for PA HP-UX.
10180 lt_prog_compiler_pic
='-fPIC'
10186 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10187 # Instead, we relocate shared libraries at runtime.
10191 # Just because we use GCC doesn't mean we suddenly get shared libraries
10192 # on systems that don't support them.
10193 lt_prog_compiler_can_build_shared
=no
10198 # QNX uses GNU C++, but need to define -shared option too, otherwise
10199 # it will coredump.
10200 lt_prog_compiler_pic
='-fPIC -shared'
10204 if test -d /usr
/nec
; then
10205 lt_prog_compiler_pic
=-Kconform_pic
10210 lt_prog_compiler_pic
='-fPIC'
10214 # PORTME Check for flag to pass linker flags through the system compiler.
10217 lt_prog_compiler_wl
='-Wl,'
10218 if test "$host_cpu" = ia64
; then
10219 # AIX 5 now supports IA64 processor
10220 lt_prog_compiler_static
='-Bstatic'
10222 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10226 mingw
* | cygwin
* | pw32
* | os2
*)
10227 # This hack is so that the source file can tell whether it is being
10228 # built for inclusion in a dll (and should export symbols for example).
10229 lt_prog_compiler_pic
='-DDLL_EXPORT'
10232 hpux9
* | hpux10
* | hpux11
*)
10233 lt_prog_compiler_wl
='-Wl,'
10234 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10235 # not for PA HP-UX.
10241 lt_prog_compiler_pic
='+Z'
10244 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10245 lt_prog_compiler_static
='${wl}-a ${wl}archive'
10248 irix5
* | irix6
* | nonstopux
*)
10249 lt_prog_compiler_wl
='-Wl,'
10250 # PIC (with -KPIC) is the default.
10251 lt_prog_compiler_static
='-non_shared'
10254 linux
* | k
*bsd
*-gnu)
10255 case $cc_basename in
10256 icc
* | ecc
* | ifort
*)
10257 lt_prog_compiler_wl
='-Wl,'
10258 lt_prog_compiler_pic
='-KPIC'
10259 lt_prog_compiler_static
='-static'
10261 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
10262 # Portland Group compilers (*not* the Pentium gcc compiler,
10263 # which looks to be a dead project)
10264 lt_prog_compiler_wl
='-Wl,'
10265 lt_prog_compiler_pic
='-fpic'
10266 lt_prog_compiler_static
='-Bstatic'
10269 lt_prog_compiler_wl
='-Wl,'
10270 # All Alpha code is PIC.
10271 lt_prog_compiler_static
='-non_shared'
10274 # IBM XL C 8.0/Fortran 10.1 on PPC
10275 lt_prog_compiler_wl
='-Wl,'
10276 lt_prog_compiler_pic
='-qpic'
10277 lt_prog_compiler_static
='-qstaticlink'
10280 case `$CC -V 2>&1 | sed 5q` in
10283 lt_prog_compiler_pic
='-KPIC'
10284 lt_prog_compiler_static
='-Bstatic'
10285 lt_prog_compiler_wl
='-Wl,'
10288 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10289 lt_prog_compiler_pic
='-KPIC'
10290 lt_prog_compiler_static
='-Bstatic'
10291 lt_prog_compiler_wl
=''
10299 lt_prog_compiler_pic
='-KPIC'
10300 lt_prog_compiler_static
='-Bstatic'
10304 # QNX uses GNU C++, but need to define -shared option too, otherwise
10305 # it will coredump.
10306 lt_prog_compiler_pic
='-fPIC -shared'
10309 osf3
* | osf4
* | osf5
*)
10310 lt_prog_compiler_wl
='-Wl,'
10311 # All OSF/1 code is PIC.
10312 lt_prog_compiler_static
='-non_shared'
10316 lt_prog_compiler_static
='-non_shared'
10320 lt_prog_compiler_pic
='-KPIC'
10321 lt_prog_compiler_static
='-Bstatic'
10322 case $cc_basename in
10323 f77
* | f90
* | f95
*)
10324 lt_prog_compiler_wl
='-Qoption ld ';;
10326 lt_prog_compiler_wl
='-Wl,';;
10331 lt_prog_compiler_wl
='-Qoption ld '
10332 lt_prog_compiler_pic
='-PIC'
10333 lt_prog_compiler_static
='-Bstatic'
10336 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10337 lt_prog_compiler_wl
='-Wl,'
10338 lt_prog_compiler_pic
='-KPIC'
10339 lt_prog_compiler_static
='-Bstatic'
10343 if test -d /usr
/nec
;then
10344 lt_prog_compiler_pic
='-Kconform_pic'
10345 lt_prog_compiler_static
='-Bstatic'
10349 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10350 lt_prog_compiler_wl
='-Wl,'
10351 lt_prog_compiler_pic
='-KPIC'
10352 lt_prog_compiler_static
='-Bstatic'
10356 lt_prog_compiler_wl
='-Wl,'
10357 lt_prog_compiler_can_build_shared
=no
10361 lt_prog_compiler_pic
='-pic'
10362 lt_prog_compiler_static
='-Bstatic'
10366 lt_prog_compiler_can_build_shared
=no
10372 # For platforms which do not support PIC, -DPIC is meaningless:
10374 lt_prog_compiler_pic
=
10377 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10380 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10381 $as_echo "$lt_prog_compiler_pic" >&6; }
10389 # Check to make sure the PIC flag actually works.
10391 if test -n "$lt_prog_compiler_pic"; then
10392 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10393 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10394 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
10395 $as_echo_n "(cached) " >&6
10397 lt_cv_prog_compiler_pic_works
=no
10398 ac_outfile
=conftest.
$ac_objext
10399 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10400 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10401 # Insert the option either (1) after the last *FLAGS variable, or
10402 # (2) before a word containing "conftest.", or (3) at the end.
10403 # Note that $ac_compile itself does not contain backslashes and begins
10404 # with a dollar sign (not a hyphen), so the echo should work correctly.
10405 # The option is referenced via a variable to avoid confusing sed.
10406 lt_compile
=`echo "$ac_compile" | $SED \
10407 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10408 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10409 -e 's:$: $lt_compiler_flag:'`
10410 (eval echo "\"\$as_me:10410: $lt_compile\"" >&5)
10411 (eval "$lt_compile" 2>conftest.err
)
10413 cat conftest.err
>&5
10414 echo "$as_me:10414: \$? = $ac_status" >&5
10415 if (exit $ac_status) && test -s "$ac_outfile"; then
10416 # The compiler can only warn and ignore the option if not recognized
10417 # So say no if there are warnings other than the usual output.
10418 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
10419 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10420 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10421 lt_cv_prog_compiler_pic_works
=yes
10427 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
10428 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10430 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10431 case $lt_prog_compiler_pic in
10433 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10436 lt_prog_compiler_pic
=
10437 lt_prog_compiler_can_build_shared
=no
10448 # Check to make sure the static flag actually works.
10450 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10451 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10452 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10453 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
10454 $as_echo_n "(cached) " >&6
10456 lt_cv_prog_compiler_static_works
=no
10457 save_LDFLAGS
="$LDFLAGS"
10458 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10459 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10460 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10461 # The linker can only warn and ignore the option if not recognized
10462 # So say no if there are warnings
10463 if test -s conftest.err
; then
10464 # Append any errors to the config.log.
10465 cat conftest.err
1>&5
10466 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
10467 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10468 if diff conftest.exp conftest.er2
>/dev
/null
; then
10469 lt_cv_prog_compiler_static_works
=yes
10472 lt_cv_prog_compiler_static_works
=yes
10476 LDFLAGS
="$save_LDFLAGS"
10479 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
10480 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10482 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10485 lt_prog_compiler_static
=
10494 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10495 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10496 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10497 $as_echo_n "(cached) " >&6
10499 lt_cv_prog_compiler_c_o
=no
10500 $RM -r conftest
2>/dev
/null
10504 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10506 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10507 # Insert the option either (1) after the last *FLAGS variable, or
10508 # (2) before a word containing "conftest.", or (3) at the end.
10509 # Note that $ac_compile itself does not contain backslashes and begins
10510 # with a dollar sign (not a hyphen), so the echo should work correctly.
10511 lt_compile
=`echo "$ac_compile" | $SED \
10512 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10513 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10514 -e 's:$: $lt_compiler_flag:'`
10515 (eval echo "\"\$as_me:10515: $lt_compile\"" >&5)
10516 (eval "$lt_compile" 2>out
/conftest.err
)
10518 cat out
/conftest.err
>&5
10519 echo "$as_me:10519: \$? = $ac_status" >&5
10520 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10522 # The compiler can only warn and ignore the option if not recognized
10523 # So say no if there are warnings
10524 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
10525 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10526 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10527 lt_cv_prog_compiler_c_o
=yes
10532 # SGI C++ compiler will create directory out/ii_files/ for
10533 # template instantiation
10534 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10535 $RM out
/* && rmdir out
10541 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10542 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10549 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10550 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10551 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10552 $as_echo_n "(cached) " >&6
10554 lt_cv_prog_compiler_c_o
=no
10555 $RM -r conftest
2>/dev
/null
10559 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10561 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10562 # Insert the option either (1) after the last *FLAGS variable, or
10563 # (2) before a word containing "conftest.", or (3) at the end.
10564 # Note that $ac_compile itself does not contain backslashes and begins
10565 # with a dollar sign (not a hyphen), so the echo should work correctly.
10566 lt_compile
=`echo "$ac_compile" | $SED \
10567 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10568 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10569 -e 's:$: $lt_compiler_flag:'`
10570 (eval echo "\"\$as_me:10570: $lt_compile\"" >&5)
10571 (eval "$lt_compile" 2>out
/conftest.err
)
10573 cat out
/conftest.err
>&5
10574 echo "$as_me:10574: \$? = $ac_status" >&5
10575 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10577 # The compiler can only warn and ignore the option if not recognized
10578 # So say no if there are warnings
10579 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
10580 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10581 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10582 lt_cv_prog_compiler_c_o
=yes
10587 # SGI C++ compiler will create directory out/ii_files/ for
10588 # template instantiation
10589 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10590 $RM out
/* && rmdir out
10596 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10597 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10602 hard_links
="nottested"
10603 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10604 # do not overwrite the value of need_locks provided by the user
10605 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10606 $as_echo_n "checking if we can lock with hard links... " >&6; }
10609 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10611 ln conftest.a conftest.b
2>&5 || hard_links
=no
10612 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10613 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
10614 $as_echo "$hard_links" >&6; }
10615 if test "$hard_links" = no
; then
10616 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10617 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10629 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10630 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10633 allow_undefined_flag
=
10634 always_export_symbols
=no
10636 archive_expsym_cmds
=
10637 compiler_needs_object
=no
10638 enable_shared_with_static_runtimes
=no
10639 export_dynamic_flag_spec
=
10640 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10641 hardcode_automatic
=no
10643 hardcode_direct_absolute
=no
10644 hardcode_libdir_flag_spec
=
10645 hardcode_libdir_flag_spec_ld
=
10646 hardcode_libdir_separator
=
10647 hardcode_minus_L
=no
10648 hardcode_shlibpath_var
=unsupported
10650 link_all_deplibs
=unknown
10652 module_expsym_cmds
=
10653 old_archive_from_new_cmds
=
10654 old_archive_from_expsyms_cmds
=
10655 thread_safe_flag_spec
=
10656 whole_archive_flag_spec
=
10657 # include_expsyms should be a list of space-separated symbols to be *always*
10658 # included in the symbol list
10660 # exclude_expsyms can be an extended regexp of symbols to exclude
10661 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10662 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10663 # as well as any symbol that contains `d'.
10664 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10665 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10666 # platforms (ab)use it in PIC code, but their linkers get confused if
10667 # the symbol is explicitly referenced. Since portable code cannot
10668 # rely on this symbol name, it's probably fine to never include it in
10669 # preloaded symbol tables.
10670 # Exclude shared library initialization/finalization symbols.
10671 extract_expsyms_cmds
=
10674 cygwin
* | mingw
* | pw32
*)
10675 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10676 # When not using gcc, we currently assume that we are using
10677 # Microsoft Visual C++.
10678 if test "$GCC" != yes; then
10683 # we just hope/assume this is gcc and not c89 (= MSVC++)
10692 if test "$with_gnu_ld" = yes; then
10693 # If archive_cmds runs LD, not CC, wlarc should be empty
10696 # Set some defaults for GNU ld with shared library support. These
10697 # are reset later if shared libraries are not supported. Putting them
10698 # here allows them to be overridden if necessary.
10699 runpath_var
=LD_RUN_PATH
10700 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10701 export_dynamic_flag_spec
='${wl}--export-dynamic'
10702 # ancient GNU ld didn't support --whole-archive et. al.
10703 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10704 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10706 whole_archive_flag_spec
=
10708 supports_anon_versioning
=no
10709 case `$LD -v 2>&1` in
10710 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10711 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10712 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10713 *\
2.11.
*) ;; # other 2.11 versions
10714 *) supports_anon_versioning
=yes ;;
10717 # See if GNU ld supports shared libraries.
10720 # On AIX/PPC, the GNU linker is very broken
10721 if test "$host_cpu" != ia64
; then
10725 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
10726 *** to be unable to reliably create shared libraries on AIX.
10727 *** Therefore, libtool is disabling shared libraries support. If you
10728 *** really care for shared libraries, you may want to modify your PATH
10729 *** so that a non-GNU linker is found, and then restart.
10738 # see comment about AmigaOS4 .so support
10739 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10740 archive_expsym_cmds
=''
10743 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10744 hardcode_libdir_flag_spec
='-L$libdir'
10745 hardcode_minus_L
=yes
10751 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10752 allow_undefined_flag
=unsupported
10753 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10754 # support --undefined. This deserves some investigation. FIXME
10755 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10761 cygwin
* | mingw
* | pw32
*)
10762 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10763 # as there is no search path for DLLs.
10764 hardcode_libdir_flag_spec
='-L$libdir'
10765 allow_undefined_flag
=unsupported
10766 always_export_symbols
=no
10767 enable_shared_with_static_runtimes
=yes
10768 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10770 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10771 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10772 # If the export-symbols file already is a .def file (1st line
10773 # is EXPORTS), use it as is; otherwise, prepend...
10774 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10775 cp $export_symbols $output_objdir/$soname.def;
10777 echo EXPORTS > $output_objdir/$soname.def;
10778 cat $export_symbols >> $output_objdir/$soname.def;
10780 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10788 hardcode_shlibpath_var
=no
10789 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10790 export_dynamic_flag_spec
='${wl}-E'
10791 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10792 # Instead, shared libraries are loaded at an image base (0x10000000 by
10793 # default) and relocated if they conflict, which is a slow very memory
10794 # consuming and fragmenting process. To avoid this, we pick a random,
10795 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10796 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10797 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10798 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10801 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
10803 if test "$host_os" = linux-dietlibc
; then
10804 case $cc_basename in
10805 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10808 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10809 && test "$tmp_diet" = no
10812 tmp_sharedflag
='-shared'
10813 case $cc_basename,$host_cpu in
10814 pgcc
*) # Portland Group C compiler
10815 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10816 tmp_addflag
=' $pic_flag'
10818 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
10819 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10820 tmp_addflag
=' $pic_flag -Mnomain' ;;
10821 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10822 tmp_addflag
=' -i_dynamic' ;;
10823 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10824 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10825 ifc
* | ifort
*) # Intel Fortran compiler
10826 tmp_addflag
=' -nofor_main' ;;
10827 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10828 tmp_sharedflag
='-qmkshrobj'
10831 case `$CC -V 2>&1 | sed 5q` in
10832 *Sun\ C
*) # Sun C 5.9
10833 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10834 compiler_needs_object
=yes
10835 tmp_sharedflag
='-G' ;;
10836 *Sun\ F
*) # Sun Fortran 8.3
10837 tmp_sharedflag
='-G' ;;
10839 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10841 if test "x$supports_anon_versioning" = xyes
; then
10842 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10843 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10844 echo "local: *; };" >> $output_objdir/$libname.ver~
10845 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10848 case $cc_basename in
10850 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10851 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10852 hardcode_libdir_flag_spec
=
10853 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10854 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10855 if test "x$supports_anon_versioning" = xyes
; then
10856 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10857 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10858 echo "local: *; };" >> $output_objdir/$libname.ver~
10859 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10869 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10870 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10873 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10874 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10879 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10883 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10884 *** create shared libraries on Solaris systems. Therefore, libtool
10885 *** is disabling shared libraries support. We urge you to upgrade GNU
10886 *** binutils to release 2.9.1 or newer. Another option is to modify
10887 *** your PATH or compiler configuration so that the native linker is
10888 *** used, and then restart.
10891 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10892 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10893 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10899 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10900 case `$LD -v 2>&1` in
10901 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10905 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10906 *** reliably create shared libraries on SCO systems. Therefore, libtool
10907 *** is disabling shared libraries support. We urge you to upgrade GNU
10908 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10909 *** your PATH or compiler configuration so that the native linker is
10910 *** used, and then restart.
10915 # For security reasons, it is highly recommended that you always
10916 # use absolute paths for naming shared libraries, and exclude the
10917 # DT_RUNPATH tag from executables and libraries. But doing so
10918 # requires that you compile everything twice, which is a pain.
10919 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10920 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10921 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10922 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10931 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10933 hardcode_direct
=yes
10934 hardcode_shlibpath_var
=no
10938 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10939 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10940 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10947 if test "$ld_shlibs" = no
; then
10949 hardcode_libdir_flag_spec
=
10950 export_dynamic_flag_spec
=
10951 whole_archive_flag_spec
=
10954 # PORTME fill in a description of your system's linker (not GNU ld)
10957 allow_undefined_flag
=unsupported
10958 always_export_symbols
=yes
10959 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10960 # Note: this linker hardcodes the directories in LIBPATH if there
10961 # are no directories specified by -L.
10962 hardcode_minus_L
=yes
10963 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10964 # Neither direct hardcoding nor static linking is supported with a
10966 hardcode_direct
=unsupported
10971 if test "$host_cpu" = ia64
; then
10972 # On IA64, the linker does run time linking by default, so we don't
10973 # have to do anything special.
10974 aix_use_runtimelinking
=no
10975 exp_sym_flag
='-Bexport'
10978 # If we're using GNU nm, then we don't want the "-C" option.
10979 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10980 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10981 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10983 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10985 aix_use_runtimelinking
=no
10987 # Test if we are trying to use run time linking or normal
10988 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10989 # need to do runtime linking.
10990 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10991 for ld_flag
in $LDFLAGS; do
10992 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10993 aix_use_runtimelinking
=yes
11000 exp_sym_flag
='-bexport'
11001 no_entry_flag
='-bnoentry'
11004 # When large executables or shared objects are built, AIX ld can
11005 # have problems creating the table of contents. If linking a library
11006 # or program results in "error TOC overflow" add -mminimal-toc to
11007 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11008 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11011 hardcode_direct
=yes
11012 hardcode_direct_absolute
=yes
11013 hardcode_libdir_separator
=':'
11014 link_all_deplibs
=yes
11015 file_list_spec
='${wl}-f,'
11017 if test "$GCC" = yes; then
11018 case $host_os in aix4.
[012]|aix4.
[012].
*)
11019 # We only want to do this on AIX 4.2 and lower, the check
11020 # below for broken collect2 doesn't work under 4.3+
11021 collect2name
=`${CC} -print-prog-name=collect2`
11022 if test -f "$collect2name" &&
11023 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11025 # We have reworked collect2
11028 # We have old collect2
11029 hardcode_direct
=unsupported
11030 # It fails to find uninstalled libraries when the uninstalled
11031 # path is not listed in the libpath. Setting hardcode_minus_L
11032 # to unsupported forces relinking
11033 hardcode_minus_L
=yes
11034 hardcode_libdir_flag_spec
='-L$libdir'
11035 hardcode_libdir_separator
=
11039 shared_flag
='-shared'
11040 if test "$aix_use_runtimelinking" = yes; then
11041 shared_flag
="$shared_flag "'${wl}-G'
11045 if test "$host_cpu" = ia64
; then
11046 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11047 # chokes on -Wl,-G. The following line is correct:
11050 if test "$aix_use_runtimelinking" = yes; then
11051 shared_flag
='${wl}-G'
11053 shared_flag
='${wl}-bM:SRE'
11058 # It seems that -bexpall does not export symbols beginning with
11059 # underscore (_), so it is better to generate a list of symbols to export.
11060 always_export_symbols
=yes
11061 if test "$aix_use_runtimelinking" = yes; then
11062 # Warning - without using the other runtime loading flags (-brtl),
11063 # -berok will link without error, but may produce a broken library.
11064 allow_undefined_flag
='-berok'
11065 # Determine the default libpath from the value encoded in an
11066 # empty executable.
11067 cat >conftest.
$ac_ext <<_ACEOF
11070 cat confdefs.h
>>conftest.
$ac_ext
11071 cat >>conftest.
$ac_ext <<_ACEOF
11072 /* end confdefs.h. */
11082 rm -f conftest.
$ac_objext conftest
$ac_exeext
11083 if { (ac_try
="$ac_link"
11084 case "(($ac_try" in
11085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11086 *) ac_try_echo=$ac_try;;
11088 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11089 $as_echo "$ac_try_echo") >&5
11090 (eval "$ac_link") 2>conftest.er1
11092 grep -v '^ *+' conftest.er1 >conftest.err
11094 cat conftest.err >&5
11095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096 (exit $ac_status); } && {
11097 test -z "$ac_c_werror_flag" ||
11098 test ! -s conftest.err
11099 } && test -s conftest$ac_exeext && {
11100 test "$cross_compiling" = yes ||
11101 $as_test_x conftest$ac_exeext
11104 lt_aix_libpath_sed='
11105 /Import File Strings/,/^$/ {
11111 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11112 # Check for a 64-bit object if we didn't find anything.
11113 if test -z "$aix_libpath"; then
11114 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11117 $as_echo "$as_me: failed program was:" >&5
11118 sed 's/^/| /' conftest.$ac_ext >&5
11123 rm -rf conftest.dSYM
11124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11125 conftest$ac_exeext conftest.$ac_ext
11126 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11128 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11129 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11131 if test "$host_cpu" = ia64; then
11132 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11133 allow_undefined_flag="-z nodefs"
11134 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11136 # Determine the default libpath from the value encoded in an
11137 # empty executable.
11138 cat >conftest.$ac_ext <<_ACEOF
11141 cat confdefs.h >>conftest.$ac_ext
11142 cat >>conftest.$ac_ext <<_ACEOF
11143 /* end confdefs.h. */
11153 rm -f conftest.$ac_objext conftest$ac_exeext
11154 if { (ac_try="$ac_link"
11155 case "(($ac_try" in
11156 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11157 *) ac_try_echo
=$ac_try;;
11159 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11160 $as_echo "$ac_try_echo") >&5
11161 (eval "$ac_link") 2>conftest.er1
11163 grep -v '^ *+' conftest.er1
>conftest.err
11165 cat conftest.err
>&5
11166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167 (exit $ac_status); } && {
11168 test -z "$ac_c_werror_flag" ||
11169 test ! -s conftest.err
11170 } && test -s conftest
$ac_exeext && {
11171 test "$cross_compiling" = yes ||
11172 $as_test_x conftest
$ac_exeext
11175 lt_aix_libpath_sed
='
11176 /Import File Strings/,/^$/ {
11182 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11183 # Check for a 64-bit object if we didn't find anything.
11184 if test -z "$aix_libpath"; then
11185 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11188 $as_echo "$as_me: failed program was:" >&5
11189 sed 's/^/| /' conftest.
$ac_ext >&5
11194 rm -rf conftest.dSYM
11195 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11196 conftest
$ac_exeext conftest.
$ac_ext
11197 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11199 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11200 # Warning - without using the other run time loading flags,
11201 # -berok will link without error, but may produce a broken library.
11202 no_undefined_flag
=' ${wl}-bernotok'
11203 allow_undefined_flag
=' ${wl}-berok'
11204 # Exported symbols can be pulled into shared objects from archives
11205 whole_archive_flag_spec
='$convenience'
11206 archive_cmds_need_lc
=yes
11207 # This is similar to how AIX traditionally builds its shared libraries.
11208 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11216 # see comment about AmigaOS4 .so support
11217 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11218 archive_expsym_cmds
=''
11221 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11222 hardcode_libdir_flag_spec
='-L$libdir'
11223 hardcode_minus_L
=yes
11229 export_dynamic_flag_spec
=-rdynamic
11232 cygwin
* | mingw
* | pw32
*)
11233 # When not using gcc, we currently assume that we are using
11234 # Microsoft Visual C++.
11235 # hardcode_libdir_flag_spec is actually meaningless, as there is
11236 # no search path for DLLs.
11237 hardcode_libdir_flag_spec
=' '
11238 allow_undefined_flag
=unsupported
11239 # Tell ltmain to make .lib files, not .a files.
11241 # Tell ltmain to make .dll files, not .so files.
11243 # FIXME: Setting linknames here is a bad hack.
11244 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11245 # The linker will automatically build a .lib file if we build a DLL.
11246 old_archive_from_new_cmds
='true'
11247 # FIXME: Should let the user specify the lib program.
11248 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11249 fix_srcfile_path
='`cygpath -w "$srcfile"`'
11250 enable_shared_with_static_runtimes
=yes
11253 darwin
* | rhapsody
*)
11256 archive_cmds_need_lc
=no
11258 hardcode_automatic
=yes
11259 hardcode_shlibpath_var
=unsupported
11260 whole_archive_flag_spec
=''
11261 link_all_deplibs
=yes
11262 allow_undefined_flag
="$_lt_dar_allow_undefined"
11263 if test "$GCC" = "yes"; then
11264 output_verbose_link_cmd
=echo
11265 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11266 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11267 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11268 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11277 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11278 hardcode_libdir_flag_spec
='-L$libdir'
11279 hardcode_shlibpath_var
=no
11286 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11287 # support. Future versions do this automatically, but an explicit c++rt0.o
11288 # does not break anything, and helps significantly (at the cost of a little
11291 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11292 hardcode_libdir_flag_spec
='-R$libdir'
11293 hardcode_direct
=yes
11294 hardcode_shlibpath_var
=no
11297 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11299 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11300 hardcode_direct
=yes
11301 hardcode_minus_L
=yes
11302 hardcode_shlibpath_var
=no
11305 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11306 freebsd
* | dragonfly
*)
11307 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11308 hardcode_libdir_flag_spec
='-R$libdir'
11309 hardcode_direct
=yes
11310 hardcode_shlibpath_var
=no
11314 if test "$GCC" = yes; then
11315 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11317 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11319 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11320 hardcode_libdir_separator
=:
11321 hardcode_direct
=yes
11323 # hardcode_minus_L: Not really in the search PATH,
11324 # but as the default location of the library.
11325 hardcode_minus_L
=yes
11326 export_dynamic_flag_spec
='${wl}-E'
11330 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11331 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11333 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11335 if test "$with_gnu_ld" = no
; then
11336 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11337 hardcode_libdir_flag_spec_ld
='+b $libdir'
11338 hardcode_libdir_separator
=:
11339 hardcode_direct
=yes
11340 hardcode_direct_absolute
=yes
11341 export_dynamic_flag_spec
='${wl}-E'
11342 # hardcode_minus_L: Not really in the search PATH,
11343 # but as the default location of the library.
11344 hardcode_minus_L
=yes
11349 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11352 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11355 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11358 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11364 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11367 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11370 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11374 if test "$with_gnu_ld" = no
; then
11375 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11376 hardcode_libdir_separator
=:
11381 hardcode_shlibpath_var
=no
11384 hardcode_direct
=yes
11385 hardcode_direct_absolute
=yes
11386 export_dynamic_flag_spec
='${wl}-E'
11388 # hardcode_minus_L: Not really in the search PATH,
11389 # but as the default location of the library.
11390 hardcode_minus_L
=yes
11396 irix5
* | irix6
* | nonstopux
*)
11397 if test "$GCC" = yes; then
11398 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11399 # Try to use the -exported_symbol ld option, if it does not
11400 # work, assume that -exports_file does not work either and
11401 # implicitly export all symbols.
11402 save_LDFLAGS
="$LDFLAGS"
11403 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11404 cat >conftest.
$ac_ext <<_ACEOF
11407 rm -f conftest.
$ac_objext conftest
$ac_exeext
11408 if { (ac_try
="$ac_link"
11409 case "(($ac_try" in
11410 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11411 *) ac_try_echo=$ac_try;;
11413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11414 $as_echo "$ac_try_echo") >&5
11415 (eval "$ac_link") 2>conftest.er1
11417 grep -v '^ *+' conftest.er1 >conftest.err
11419 cat conftest.err >&5
11420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11421 (exit $ac_status); } && {
11422 test -z "$ac_c_werror_flag" ||
11423 test ! -s conftest.err
11424 } && test -s conftest$ac_exeext && {
11425 test "$cross_compiling" = yes ||
11426 $as_test_x conftest$ac_exeext
11428 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11431 $as_echo "$as_me: failed program was:" >&5
11432 sed 's/^/| /' conftest.$ac_ext >&5
11437 rm -rf conftest.dSYM
11438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11439 conftest$ac_exeext conftest.$ac_ext
11440 LDFLAGS="$save_LDFLAGS"
11442 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11443 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
11445 archive_cmds_need_lc='no'
11446 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11447 hardcode_libdir_separator=:
11449 link_all_deplibs=yes
11453 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11454 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11456 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11458 hardcode_libdir_flag_spec='-R$libdir'
11459 hardcode_direct=yes
11460 hardcode_shlibpath_var=no
11464 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11465 hardcode_direct=yes
11466 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11467 hardcode_libdir_separator=:
11468 hardcode_shlibpath_var=no
11475 if test -f /usr/libexec/ld.so; then
11476 hardcode_direct=yes
11477 hardcode_shlibpath_var=no
11478 hardcode_direct_absolute=yes
11479 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11480 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11481 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11482 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11483 export_dynamic_flag_spec='${wl}-E'
11486 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11487 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11488 hardcode_libdir_flag_spec='-R$libdir'
11491 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11492 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11502 hardcode_libdir_flag_spec='-L$libdir'
11503 hardcode_minus_L=yes
11504 allow_undefined_flag=unsupported
11505 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
11506 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11510 if test "$GCC" = yes; then
11511 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11512 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11514 allow_undefined_flag=' -expect_unresolved \*'
11515 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11517 archive_cmds_need_lc='no'
11518 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11519 hardcode_libdir_separator=:
11522 osf4* | osf5*) # as osf3* with the addition of -msym flag
11523 if test "$GCC" = yes; then
11524 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11525 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11526 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11528 allow_undefined_flag=' -expect_unresolved \*'
11529 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11530 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
11531 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11533 # Both c and cxx compiler support -rpath directly
11534 hardcode_libdir_flag_spec='-rpath $libdir'
11536 archive_cmds_need_lc='no'
11537 hardcode_libdir_separator=:
11541 no_undefined_flag=' -z defs'
11542 if test "$GCC" = yes; then
11544 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11545 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11546 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11548 case `$CC -V 2>&1` in
11551 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11552 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11553 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11557 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11558 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11559 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11563 hardcode_libdir_flag_spec='-R$libdir'
11564 hardcode_shlibpath_var=no
11566 solaris2.[0-5] | solaris2.[0-5].*) ;;
11568 # The compiler driver will combine and reorder linker options,
11569 # but understands `-z linker_flag
'. GCC discards it without `$wl',
11570 # but is careful enough not to reorder.
11571 # Supported since Solaris 2.6 (maybe 2.5.1?)
11572 if test "$GCC" = yes; then
11573 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11575 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11579 link_all_deplibs
=yes
11583 if test "x$host_vendor" = xsequent
; then
11584 # Use $CC to link under sequent, because it throws in some extra .o
11585 # files that make .init and .fini sections work.
11586 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11588 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11590 hardcode_libdir_flag_spec
='-L$libdir'
11591 hardcode_direct
=yes
11592 hardcode_minus_L
=yes
11593 hardcode_shlibpath_var
=no
11597 case $host_vendor in
11599 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11600 hardcode_direct
=yes # is this really true???
11603 ## LD is ld it makes a PLAMLIB
11604 ## CC just makes a GrossModule.
11605 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11606 reload_cmds
='$CC -r -o $output$reload_objs'
11610 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11611 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11614 runpath_var
='LD_RUN_PATH'
11615 hardcode_shlibpath_var
=no
11619 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11620 hardcode_shlibpath_var
=no
11621 export_dynamic_flag_spec
='-Bexport'
11625 if test -d /usr
/nec
; then
11626 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11627 hardcode_shlibpath_var
=no
11628 runpath_var
=LD_RUN_PATH
11629 hardcode_runpath_var
=yes
11634 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11635 no_undefined_flag
='${wl}-z,text'
11636 archive_cmds_need_lc
=no
11637 hardcode_shlibpath_var
=no
11638 runpath_var
='LD_RUN_PATH'
11640 if test "$GCC" = yes; then
11641 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11642 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11644 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11645 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11649 sysv5
* | sco3.2v5
* | sco5v6
*)
11650 # Note: We can NOT use -z defs as we might desire, because we do not
11651 # link with -lc, and that would cause any symbols used from libc to
11652 # always be unresolved, which means just about no library would
11653 # ever link correctly. If we're not using GNU ld we use -z text
11654 # though, which does catch some bad symbols but isn't as heavy-handed
11656 no_undefined_flag
='${wl}-z,text'
11657 allow_undefined_flag
='${wl}-z,nodefs'
11658 archive_cmds_need_lc
=no
11659 hardcode_shlibpath_var
=no
11660 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11661 hardcode_libdir_separator
=':'
11662 link_all_deplibs
=yes
11663 export_dynamic_flag_spec
='${wl}-Bexport'
11664 runpath_var
='LD_RUN_PATH'
11666 if test "$GCC" = yes; then
11667 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11668 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11670 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11671 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11676 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11677 hardcode_libdir_flag_spec
='-L$libdir'
11678 hardcode_shlibpath_var
=no
11686 if test x
$host_vendor = xsni
; then
11688 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11689 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11695 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11696 $as_echo "$ld_shlibs" >&6; }
11697 test "$ld_shlibs" = no
&& can_build_shared
=no
11699 with_gnu_ld
=$with_gnu_ld
11716 # Do we need to explicitly link libc?
11718 case "x$archive_cmds_need_lc" in
11720 # Assume -lc should be added
11721 archive_cmds_need_lc
=yes
11723 if test "$enable_shared" = yes && test "$GCC" = yes; then
11724 case $archive_cmds in
11726 # FIXME: we may have to deal with multi-command sequences.
11729 # Test whether the compiler implicitly links with -lc since on some
11730 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11731 # to ld, don't add -lc before -lgcc.
11732 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11733 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11735 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11738 (eval $ac_compile) 2>&5
11740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); } 2>conftest.err
; then
11744 libobjs
=conftest.
$ac_objext
11746 wl
=$lt_prog_compiler_wl
11747 pic_flag
=$lt_prog_compiler_pic
11753 lt_save_allow_undefined_flag
=$allow_undefined_flag
11754 allow_undefined_flag
=
11755 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
11756 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11758 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759 (exit $ac_status); }
11761 archive_cmds_need_lc
=no
11763 archive_cmds_need_lc
=yes
11765 allow_undefined_flag
=$lt_save_allow_undefined_flag
11767 cat conftest.err
1>&5
11770 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11771 $as_echo "$archive_cmds_need_lc" >&6; }
11934 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11935 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11937 if test "$GCC" = yes; then
11939 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11940 *) lt_awk_arg
="/^libraries:/" ;;
11942 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11943 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
11944 # if the path contains ";" then we assume it to be the separator
11945 # otherwise default to the standard path separator (i.e. ":") - it is
11946 # assumed that no part of a normal pathname contains ";" but that should
11947 # okay in the real world where ";" in dirpaths is itself problematic.
11948 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11950 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11952 # Ok, now we have the path, separated by spaces, we can step through it
11953 # and add multilib dir if necessary.
11954 lt_tmp_lt_search_path_spec
=
11955 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11956 for lt_sys_path
in $lt_search_path_spec; do
11957 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11958 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11960 test -d "$lt_sys_path" && \
11961 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11964 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11965 BEGIN {RS=" "; FS="/|\n";} {
11968 for (lt_i = NF; lt_i > 0; lt_i--) {
11969 if ($lt_i != "" && $lt_i != ".") {
11970 if ($lt_i == "..") {
11973 if (lt_count == 0) {
11974 lt_foo="/" $lt_i lt_foo;
11981 if (lt_foo != "") { lt_freq[lt_foo]++; }
11982 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11984 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
11986 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11988 library_names_spec
=
11989 libname_spec
='lib$name'
11993 postuninstall_cmds
=
11997 shlibpath_overrides_runpath
=unknown
11999 dynamic_linker
="$host_os ld.so"
12000 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12001 need_lib_prefix
=unknown
12002 hardcode_into_libs
=no
12004 # when you set need_version to no, make sure it does not cause -set_version
12005 # flags to be left without arguments
12006 need_version
=unknown
12011 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12012 shlibpath_var
=LIBPATH
12014 # AIX 3 has no versioning support, so we append a major version to the name.
12015 soname_spec
='${libname}${release}${shared_ext}$major'
12022 hardcode_into_libs
=yes
12023 if test "$host_cpu" = ia64
; then
12024 # AIX 5 supports IA64
12025 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12026 shlibpath_var
=LD_LIBRARY_PATH
12028 # With GCC up to 2.95.x, collect2 would create an import file
12029 # for dependence libraries. The import file would start with
12030 # the line `#! .'. This would cause the generated library to
12031 # depend on `.', always an invalid library. This was fixed in
12032 # development snapshots of GCC prior to 3.0.
12034 aix4 | aix4.
[01] | aix4.
[01].
*)
12035 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12037 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
12040 can_build_shared
=no
12044 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12045 # soname into executable. Probably we can add versioning support to
12046 # collect2, so additional links can be useful in future.
12047 if test "$aix_use_runtimelinking" = yes; then
12048 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12049 # instead of lib<name>.a to let people know that these are not
12050 # typical AIX shared libraries.
12051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12053 # We preserve .a as extension for shared libraries through AIX4.2
12054 # and later when we are not doing run time linking.
12055 library_names_spec
='${libname}${release}.a $libname.a'
12056 soname_spec
='${libname}${release}${shared_ext}$major'
12058 shlibpath_var
=LIBPATH
12065 # Since July 2007 AmigaOS4 officially supports .so libraries.
12066 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12070 library_names_spec
='$libname.ixlibrary $libname.a'
12071 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12072 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12078 library_names_spec
='${libname}${shared_ext}'
12079 dynamic_linker
="$host_os ld.so"
12080 shlibpath_var
=LIBRARY_PATH
12086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12087 soname_spec
='${libname}${release}${shared_ext}$major'
12088 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12089 shlibpath_var
=LD_LIBRARY_PATH
12090 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12091 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12092 # the default ld.so.conf also contains /usr/contrib/lib and
12093 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12094 # libtool to hard-code these into programs
12097 cygwin
* | mingw
* | pw32
*)
12098 version_type
=windows
12103 case $GCC,$host_os in
12104 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12105 library_names_spec
='$libname.dll.a'
12106 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12107 postinstall_cmds
='base_file=`basename \${file}`~
12108 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12109 dldir=$destdir/`dirname \$dlpath`~
12110 test -d \$dldir || mkdir -p \$dldir~
12111 $install_prog $dir/$dlname \$dldir/$dlname~
12112 chmod a+x \$dldir/$dlname~
12113 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12114 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12116 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12117 dlpath=$dir/\$dldll~
12119 shlibpath_overrides_runpath
=yes
12123 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12124 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12125 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12128 # MinGW DLLs use traditional 'lib' prefix
12129 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12130 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12131 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12132 # It is most probably a Windows format PATH printed by
12133 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12134 # path with ; separators, and with drive letters. We can handle the
12135 # drive letters (cygwin fileutils understands them), so leave them,
12136 # especially as we might pass files found there to a mingw objdump,
12137 # which wouldn't understand a cygwinified path. Ahh.
12138 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12140 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12144 # pw32 DLLs use 'pw' prefix rather than 'lib'
12145 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12151 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12154 dynamic_linker
='Win32 ld.exe'
12155 # FIXME: first we should search . and the directory the executable is in
12159 darwin
* | rhapsody
*)
12160 dynamic_linker
="$host_os dyld"
12161 version_type
=darwin
12164 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12165 soname_spec
='${libname}${release}${major}$shared_ext'
12166 shlibpath_overrides_runpath
=yes
12167 shlibpath_var
=DYLD_LIBRARY_PATH
12168 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12170 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12171 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12179 soname_spec
='${libname}${release}${shared_ext}$major'
12180 shlibpath_var
=LD_LIBRARY_PATH
12187 freebsd
* | dragonfly
*)
12188 # DragonFly does not have aout. When/if they implement a new
12189 # versioning mechanism, adjust this.
12190 if test -x /usr
/bin
/objformat
; then
12191 objformat
=`/usr/bin/objformat`
12194 freebsd
[123]*) objformat
=aout
;;
12195 *) objformat
=elf
;;
12198 version_type
=freebsd-
$objformat
12199 case $version_type in
12201 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12206 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12210 shlibpath_var
=LD_LIBRARY_PATH
12213 shlibpath_overrides_runpath
=yes
12215 freebsd3.
[01]* | freebsdelf3.
[01]*)
12216 shlibpath_overrides_runpath
=yes
12217 hardcode_into_libs
=yes
12219 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12220 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12221 shlibpath_overrides_runpath
=no
12222 hardcode_into_libs
=yes
12224 *) # from 4.6 on, and DragonFly
12225 shlibpath_overrides_runpath
=yes
12226 hardcode_into_libs
=yes
12235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12236 soname_spec
='${libname}${release}${shared_ext}$major'
12237 shlibpath_var
=LD_LIBRARY_PATH
12238 hardcode_into_libs
=yes
12241 hpux9
* | hpux10
* | hpux11
*)
12242 # Give a soname corresponding to the major version so that dld.sl refuses to
12243 # link against other versions.
12250 hardcode_into_libs
=yes
12251 dynamic_linker
="$host_os dld.so"
12252 shlibpath_var
=LD_LIBRARY_PATH
12253 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12255 soname_spec
='${libname}${release}${shared_ext}$major'
12256 if test "X$HPUX_IA64_MODE" = X32
; then
12257 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12259 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12261 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12265 hardcode_into_libs
=yes
12266 dynamic_linker
="$host_os dld.sl"
12267 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12268 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12270 soname_spec
='${libname}${release}${shared_ext}$major'
12271 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12272 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12276 dynamic_linker
="$host_os dld.sl"
12277 shlibpath_var
=SHLIB_PATH
12278 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12280 soname_spec
='${libname}${release}${shared_ext}$major'
12283 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12284 postinstall_cmds
='chmod 555 $lib'
12291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12292 soname_spec
='${libname}${release}${shared_ext}$major'
12293 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12294 shlibpath_var
=LD_LIBRARY_PATH
12295 shlibpath_overrides_runpath
=no
12296 hardcode_into_libs
=yes
12299 irix5
* | irix6
* | nonstopux
*)
12301 nonstopux
*) version_type
=nonstopux
;;
12303 if test "$lt_cv_prog_gnu_ld" = yes; then
12311 soname_spec
='${libname}${release}${shared_ext}$major'
12312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12314 irix5
* | nonstopux
*)
12315 libsuff
= shlibsuff
=
12318 case $LD in # libtool.m4 will add one of these switches to LD
12319 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12320 libsuff
= shlibsuff
= libmagic
=32-bit;;
12321 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12322 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12323 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12324 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12325 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12329 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12330 shlibpath_overrides_runpath
=no
12331 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12332 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12333 hardcode_into_libs
=yes
12336 # No shared lib support for Linux oldld, aout, or coff.
12337 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12341 # This must be Linux ELF.
12342 linux
* | k
*bsd
*-gnu)
12346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12347 soname_spec
='${libname}${release}${shared_ext}$major'
12348 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12349 shlibpath_var
=LD_LIBRARY_PATH
12350 shlibpath_overrides_runpath
=no
12351 # Some binutils ld are patched to set DT_RUNPATH
12352 save_LDFLAGS
=$LDFLAGS
12353 save_libdir
=$libdir
12354 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12355 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12356 cat >conftest.
$ac_ext <<_ACEOF
12359 cat confdefs.h
>>conftest.
$ac_ext
12360 cat >>conftest.
$ac_ext <<_ACEOF
12361 /* end confdefs.h. */
12371 rm -f conftest.
$ac_objext conftest
$ac_exeext
12372 if { (ac_try
="$ac_link"
12373 case "(($ac_try" in
12374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12375 *) ac_try_echo=$ac_try;;
12377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12378 $as_echo "$ac_try_echo") >&5
12379 (eval "$ac_link") 2>conftest.er1
12381 grep -v '^ *+' conftest.er1 >conftest.err
12383 cat conftest.err >&5
12384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); } && {
12386 test -z "$ac_c_werror_flag" ||
12387 test ! -s conftest.err
12388 } && test -s conftest$ac_exeext && {
12389 test "$cross_compiling" = yes ||
12390 $as_test_x conftest$ac_exeext
12392 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
12393 shlibpath_overrides_runpath=yes
12397 $as_echo "$as_me: failed program was:" >&5
12398 sed 's/^/| /' conftest.$ac_ext >&5
12403 rm -rf conftest.dSYM
12404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12405 conftest$ac_exeext conftest.$ac_ext
12406 LDFLAGS=$save_LDFLAGS
12407 libdir=$save_libdir
12409 # This implies no fast_install, which is unacceptable.
12410 # Some rework will be needed to allow for fast_install
12411 # before this can be enabled.
12412 hardcode_into_libs=yes
12414 # Append ld.so.conf contents to the search path
12415 if test -f /etc/ld.so.conf; then
12416 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc
/ld.so.conf |
$SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' |
tr '\n' ' '`
12417 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12420 # We used to test for /lib/ld.so.1 and disable shared libraries on
12421 # powerpc, because MkLinux only supported shared libraries with the
12422 # GNU dynamic linker. Since this was broken with cross compilers,
12423 # most powerpc-linux boxes support dynamic linking these days and
12424 # people can always --disable-shared, the test was removed, and we
12425 # assume the GNU/Linux dynamic linker is in use.
12426 dynamic_linker='GNU/Linux ld.so'
12433 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12435 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12436 dynamic_linker='NetBSD (a.out) ld.so'
12438 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12439 soname_spec='${libname}${release}${shared_ext}$major'
12440 dynamic_linker='NetBSD ld.elf_so'
12442 shlibpath_var=LD_LIBRARY_PATH
12443 shlibpath_overrides_runpath=yes
12444 hardcode_into_libs=yes
12449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12450 shlibpath_var=LD_LIBRARY_PATH
12451 shlibpath_overrides_runpath=yes
12458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12459 soname_spec='${libname}${release}${shared_ext}$major'
12460 shlibpath_var=LD_LIBRARY_PATH
12461 shlibpath_overrides_runpath=no
12462 hardcode_into_libs=yes
12463 dynamic_linker='ldqnx.so'
12468 sys_lib_dlsearch_path_spec="/usr/lib"
12470 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12472 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12473 *) need_version=no ;;
12475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12476 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12477 shlibpath_var=LD_LIBRARY_PATH
12478 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12480 openbsd2.[89] | openbsd2.[89].*)
12481 shlibpath_overrides_runpath=no
12484 shlibpath_overrides_runpath=yes
12488 shlibpath_overrides_runpath=yes
12493 libname_spec='$name'
12496 library_names_spec='$libname${shared_ext} $libname.a'
12497 dynamic_linker='OS/2 ld.exe'
12498 shlibpath_var=LIBPATH
12501 osf3* | osf4* | osf5*)
12505 soname_spec='${libname}${release}${shared_ext}$major'
12506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12507 shlibpath_var=LD_LIBRARY_PATH
12508 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12509 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12521 soname_spec='${libname}${release}${shared_ext}$major'
12522 shlibpath_var=LD_LIBRARY_PATH
12523 shlibpath_overrides_runpath=yes
12524 hardcode_into_libs=yes
12525 # ldd complains unless libraries are executable
12526 postinstall_cmds='chmod +x $lib'
12531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12532 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12533 shlibpath_var=LD_LIBRARY_PATH
12534 shlibpath_overrides_runpath=yes
12535 if test "$with_gnu_ld" = yes; then
12543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12544 soname_spec='${libname}${release}${shared_ext}$major'
12545 shlibpath_var=LD_LIBRARY_PATH
12546 case $host_vendor in
12548 shlibpath_overrides_runpath=no
12550 runpath_var=LD_RUN_PATH
12558 shlibpath_overrides_runpath=no
12559 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12565 if test -d /usr/nec ;then
12567 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12568 soname_spec='$libname${shared_ext}.$major'
12569 shlibpath_var=LD_LIBRARY_PATH
12573 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12574 version_type=freebsd-elf
12577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12578 soname_spec='${libname}${release}${shared_ext}$major'
12579 shlibpath_var=LD_LIBRARY_PATH
12580 shlibpath_overrides_runpath=yes
12581 hardcode_into_libs=yes
12582 if test "$with_gnu_ld" = yes; then
12583 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12585 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12588 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12592 sys_lib_dlsearch_path_spec='/usr/lib'
12596 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12600 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12601 shlibpath_var=LD_LIBRARY_PATH
12602 shlibpath_overrides_runpath=no
12603 hardcode_into_libs=yes
12608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12609 soname_spec='${libname}${release}${shared_ext}$major'
12610 shlibpath_var=LD_LIBRARY_PATH
12617 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12618 $as_echo "$dynamic_linker" >&6; }
12619 test "$dynamic_linker" = no && can_build_shared=no
12621 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12622 if test "$GCC" = yes; then
12623 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12626 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12627 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12629 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12630 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12719 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12720 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12722 if test -n "$hardcode_libdir_flag_spec" ||
12723 test -n "$runpath_var" ||
12724 test "X$hardcode_automatic" = "Xyes" ; then
12726 # We can hardcode non-existent directories.
12727 if test "$hardcode_direct" != no &&
12728 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12729 # have to relink, otherwise we might link with an installed library
12730 # when we should be linking with a yet-to-be-installed one
12731 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12732 test "$hardcode_minus_L" != no; then
12733 # Linking always hardcodes the temporary library directory.
12734 hardcode_action=relink
12736 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12737 hardcode_action=immediate
12740 # We cannot hardcode anything, or else we can only hardcode existing
12742 hardcode_action=unsupported
12744 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
12745 $as_echo "$hardcode_action" >&6; }
12747 if test "$hardcode_action" = relink ||
12748 test "$inherit_rpath" = yes; then
12749 # Fast installation is not supported
12750 enable_fast_install=no
12751 elif test "$shlibpath_overrides_runpath" = yes ||
12752 test "$enable_shared" = no; then
12753 # Fast installation is not necessary
12754 enable_fast_install=needless
12762 if test "x$enable_dlopen" != xyes; then
12763 enable_dlopen=unknown
12764 enable_dlopen_self=unknown
12765 enable_dlopen_self_static=unknown
12772 lt_cv_dlopen="load_add_on"
12774 lt_cv_dlopen_self=yes
12778 lt_cv_dlopen="LoadLibrary"
12783 lt_cv_dlopen="dlopen"
12788 # if libdl is installed we need to link against it
12789 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12790 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12791 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12792 $as_echo_n "(cached) " >&6
12794 ac_check_lib_save_LIBS=$LIBS
12796 cat >conftest.$ac_ext <<_ACEOF
12799 cat confdefs.h >>conftest.$ac_ext
12800 cat >>conftest.$ac_ext <<_ACEOF
12801 /* end confdefs.h. */
12803 /* Override any GCC internal prototype to avoid an error.
12804 Use char because int might match the return type of a GCC
12805 builtin and then its argument prototype would still apply. */
12818 rm -f conftest.$ac_objext conftest$ac_exeext
12819 if { (ac_try="$ac_link"
12820 case "(($ac_try" in
12821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12822 *) ac_try_echo
=$ac_try;;
12824 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12825 $as_echo "$ac_try_echo") >&5
12826 (eval "$ac_link") 2>conftest.er1
12828 grep -v '^ *+' conftest.er1
>conftest.err
12830 cat conftest.err
>&5
12831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); } && {
12833 test -z "$ac_c_werror_flag" ||
12834 test ! -s conftest.err
12835 } && test -s conftest
$ac_exeext && {
12836 test "$cross_compiling" = yes ||
12837 $as_test_x conftest
$ac_exeext
12839 ac_cv_lib_dl_dlopen
=yes
12841 $as_echo "$as_me: failed program was:" >&5
12842 sed 's/^/| /' conftest.
$ac_ext >&5
12844 ac_cv_lib_dl_dlopen
=no
12847 rm -rf conftest.dSYM
12848 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12849 conftest
$ac_exeext conftest.
$ac_ext
12850 LIBS
=$ac_check_lib_save_LIBS
12852 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12853 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12854 if test $ac_cv_lib_dl_dlopen = yes; then
12855 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12858 lt_cv_dlopen
="dyld"
12860 lt_cv_dlopen_self
=yes
12867 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
12868 $as_echo_n "checking for shl_load... " >&6; }
12869 if test "${ac_cv_func_shl_load+set}" = set; then
12870 $as_echo_n "(cached) " >&6
12872 cat >conftest.
$ac_ext <<_ACEOF
12875 cat confdefs.h
>>conftest.
$ac_ext
12876 cat >>conftest.
$ac_ext <<_ACEOF
12877 /* end confdefs.h. */
12878 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12880 #define shl_load innocuous_shl_load
12882 /* System header to define __stub macros and hopefully few prototypes,
12883 which can conflict with char shl_load (); below.
12884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12885 <limits.h> exists even on freestanding compilers. */
12888 # include <limits.h>
12890 # include <assert.h>
12895 /* Override any GCC internal prototype to avoid an error.
12896 Use char because int might match the return type of a GCC
12897 builtin and then its argument prototype would still apply. */
12902 /* The GNU C library defines this for functions which it implements
12903 to always fail with ENOSYS. Some functions are actually named
12904 something starting with __ and the normal name is an alias. */
12905 #if defined __stub_shl_load || defined __stub___shl_load
12912 return shl_load ();
12917 rm -f conftest.
$ac_objext conftest
$ac_exeext
12918 if { (ac_try
="$ac_link"
12919 case "(($ac_try" in
12920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12921 *) ac_try_echo=$ac_try;;
12923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12924 $as_echo "$ac_try_echo") >&5
12925 (eval "$ac_link") 2>conftest.er1
12927 grep -v '^ *+' conftest.er1 >conftest.err
12929 cat conftest.err >&5
12930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); } && {
12932 test -z "$ac_c_werror_flag" ||
12933 test ! -s conftest.err
12934 } && test -s conftest$ac_exeext && {
12935 test "$cross_compiling" = yes ||
12936 $as_test_x conftest$ac_exeext
12938 ac_cv_func_shl_load=yes
12940 $as_echo "$as_me: failed program was:" >&5
12941 sed 's/^/| /' conftest.$ac_ext >&5
12943 ac_cv_func_shl_load=no
12946 rm -rf conftest.dSYM
12947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12948 conftest$ac_exeext conftest.$ac_ext
12950 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12951 $as_echo "$ac_cv_func_shl_load" >&6; }
12952 if test $ac_cv_func_shl_load = yes; then
12953 lt_cv_dlopen="shl_load"
12955 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12956 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12957 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12958 $as_echo_n "(cached) " >&6
12960 ac_check_lib_save_LIBS=$LIBS
12962 cat >conftest.$ac_ext <<_ACEOF
12965 cat confdefs.h >>conftest.$ac_ext
12966 cat >>conftest.$ac_ext <<_ACEOF
12967 /* end confdefs.h. */
12969 /* Override any GCC internal prototype to avoid an error.
12970 Use char because int might match the return type of a GCC
12971 builtin and then its argument prototype would still apply. */
12979 return shl_load ();
12984 rm -f conftest.$ac_objext conftest$ac_exeext
12985 if { (ac_try="$ac_link"
12986 case "(($ac_try" in
12987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12988 *) ac_try_echo
=$ac_try;;
12990 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12991 $as_echo "$ac_try_echo") >&5
12992 (eval "$ac_link") 2>conftest.er1
12994 grep -v '^ *+' conftest.er1
>conftest.err
12996 cat conftest.err
>&5
12997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); } && {
12999 test -z "$ac_c_werror_flag" ||
13000 test ! -s conftest.err
13001 } && test -s conftest
$ac_exeext && {
13002 test "$cross_compiling" = yes ||
13003 $as_test_x conftest
$ac_exeext
13005 ac_cv_lib_dld_shl_load
=yes
13007 $as_echo "$as_me: failed program was:" >&5
13008 sed 's/^/| /' conftest.
$ac_ext >&5
13010 ac_cv_lib_dld_shl_load
=no
13013 rm -rf conftest.dSYM
13014 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13015 conftest
$ac_exeext conftest.
$ac_ext
13016 LIBS
=$ac_check_lib_save_LIBS
13018 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13019 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13020 if test $ac_cv_lib_dld_shl_load = yes; then
13021 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
13023 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
13024 $as_echo_n "checking for dlopen... " >&6; }
13025 if test "${ac_cv_func_dlopen+set}" = set; then
13026 $as_echo_n "(cached) " >&6
13028 cat >conftest.
$ac_ext <<_ACEOF
13031 cat confdefs.h
>>conftest.
$ac_ext
13032 cat >>conftest.
$ac_ext <<_ACEOF
13033 /* end confdefs.h. */
13034 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13036 #define dlopen innocuous_dlopen
13038 /* System header to define __stub macros and hopefully few prototypes,
13039 which can conflict with char dlopen (); below.
13040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13041 <limits.h> exists even on freestanding compilers. */
13044 # include <limits.h>
13046 # include <assert.h>
13051 /* Override any GCC internal prototype to avoid an error.
13052 Use char because int might match the return type of a GCC
13053 builtin and then its argument prototype would still apply. */
13058 /* The GNU C library defines this for functions which it implements
13059 to always fail with ENOSYS. Some functions are actually named
13060 something starting with __ and the normal name is an alias. */
13061 #if defined __stub_dlopen || defined __stub___dlopen
13073 rm -f conftest.
$ac_objext conftest
$ac_exeext
13074 if { (ac_try
="$ac_link"
13075 case "(($ac_try" in
13076 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13077 *) ac_try_echo=$ac_try;;
13079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13080 $as_echo "$ac_try_echo") >&5
13081 (eval "$ac_link") 2>conftest.er1
13083 grep -v '^ *+' conftest.er1 >conftest.err
13085 cat conftest.err >&5
13086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087 (exit $ac_status); } && {
13088 test -z "$ac_c_werror_flag" ||
13089 test ! -s conftest.err
13090 } && test -s conftest$ac_exeext && {
13091 test "$cross_compiling" = yes ||
13092 $as_test_x conftest$ac_exeext
13094 ac_cv_func_dlopen=yes
13096 $as_echo "$as_me: failed program was:" >&5
13097 sed 's/^/| /' conftest.$ac_ext >&5
13099 ac_cv_func_dlopen=no
13102 rm -rf conftest.dSYM
13103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13104 conftest$ac_exeext conftest.$ac_ext
13106 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13107 $as_echo "$ac_cv_func_dlopen" >&6; }
13108 if test $ac_cv_func_dlopen = yes; then
13109 lt_cv_dlopen="dlopen"
13111 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13112 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13113 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13114 $as_echo_n "(cached) " >&6
13116 ac_check_lib_save_LIBS=$LIBS
13118 cat >conftest.$ac_ext <<_ACEOF
13121 cat confdefs.h >>conftest.$ac_ext
13122 cat >>conftest.$ac_ext <<_ACEOF
13123 /* end confdefs.h. */
13125 /* Override any GCC internal prototype to avoid an error.
13126 Use char because int might match the return type of a GCC
13127 builtin and then its argument prototype would still apply. */
13140 rm -f conftest.$ac_objext conftest$ac_exeext
13141 if { (ac_try="$ac_link"
13142 case "(($ac_try" in
13143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13144 *) ac_try_echo
=$ac_try;;
13146 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13147 $as_echo "$ac_try_echo") >&5
13148 (eval "$ac_link") 2>conftest.er1
13150 grep -v '^ *+' conftest.er1
>conftest.err
13152 cat conftest.err
>&5
13153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); } && {
13155 test -z "$ac_c_werror_flag" ||
13156 test ! -s conftest.err
13157 } && test -s conftest
$ac_exeext && {
13158 test "$cross_compiling" = yes ||
13159 $as_test_x conftest
$ac_exeext
13161 ac_cv_lib_dl_dlopen
=yes
13163 $as_echo "$as_me: failed program was:" >&5
13164 sed 's/^/| /' conftest.
$ac_ext >&5
13166 ac_cv_lib_dl_dlopen
=no
13169 rm -rf conftest.dSYM
13170 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13171 conftest
$ac_exeext conftest.
$ac_ext
13172 LIBS
=$ac_check_lib_save_LIBS
13174 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13175 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13176 if test $ac_cv_lib_dl_dlopen = yes; then
13177 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13179 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13180 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13181 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13182 $as_echo_n "(cached) " >&6
13184 ac_check_lib_save_LIBS
=$LIBS
13185 LIBS
="-lsvld $LIBS"
13186 cat >conftest.
$ac_ext <<_ACEOF
13189 cat confdefs.h
>>conftest.
$ac_ext
13190 cat >>conftest.
$ac_ext <<_ACEOF
13191 /* end confdefs.h. */
13193 /* Override any GCC internal prototype to avoid an error.
13194 Use char because int might match the return type of a GCC
13195 builtin and then its argument prototype would still apply. */
13208 rm -f conftest.
$ac_objext conftest
$ac_exeext
13209 if { (ac_try
="$ac_link"
13210 case "(($ac_try" in
13211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13212 *) ac_try_echo=$ac_try;;
13214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13215 $as_echo "$ac_try_echo") >&5
13216 (eval "$ac_link") 2>conftest.er1
13218 grep -v '^ *+' conftest.er1 >conftest.err
13220 cat conftest.err >&5
13221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); } && {
13223 test -z "$ac_c_werror_flag" ||
13224 test ! -s conftest.err
13225 } && test -s conftest$ac_exeext && {
13226 test "$cross_compiling" = yes ||
13227 $as_test_x conftest$ac_exeext
13229 ac_cv_lib_svld_dlopen=yes
13231 $as_echo "$as_me: failed program was:" >&5
13232 sed 's/^/| /' conftest.$ac_ext >&5
13234 ac_cv_lib_svld_dlopen=no
13237 rm -rf conftest.dSYM
13238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13239 conftest$ac_exeext conftest.$ac_ext
13240 LIBS=$ac_check_lib_save_LIBS
13242 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13243 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13244 if test $ac_cv_lib_svld_dlopen = yes; then
13245 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13247 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13248 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13249 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13250 $as_echo_n "(cached) " >&6
13252 ac_check_lib_save_LIBS=$LIBS
13254 cat >conftest.$ac_ext <<_ACEOF
13257 cat confdefs.h >>conftest.$ac_ext
13258 cat >>conftest.$ac_ext <<_ACEOF
13259 /* end confdefs.h. */
13261 /* Override any GCC internal prototype to avoid an error.
13262 Use char because int might match the return type of a GCC
13263 builtin and then its argument prototype would still apply. */
13271 return dld_link ();
13276 rm -f conftest.$ac_objext conftest$ac_exeext
13277 if { (ac_try="$ac_link"
13278 case "(($ac_try" in
13279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13280 *) ac_try_echo
=$ac_try;;
13282 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13283 $as_echo "$ac_try_echo") >&5
13284 (eval "$ac_link") 2>conftest.er1
13286 grep -v '^ *+' conftest.er1
>conftest.err
13288 cat conftest.err
>&5
13289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); } && {
13291 test -z "$ac_c_werror_flag" ||
13292 test ! -s conftest.err
13293 } && test -s conftest
$ac_exeext && {
13294 test "$cross_compiling" = yes ||
13295 $as_test_x conftest
$ac_exeext
13297 ac_cv_lib_dld_dld_link
=yes
13299 $as_echo "$as_me: failed program was:" >&5
13300 sed 's/^/| /' conftest.
$ac_ext >&5
13302 ac_cv_lib_dld_dld_link
=no
13305 rm -rf conftest.dSYM
13306 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13307 conftest
$ac_exeext conftest.
$ac_ext
13308 LIBS
=$ac_check_lib_save_LIBS
13310 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13311 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13312 if test $ac_cv_lib_dld_dld_link = yes; then
13313 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
13334 if test "x$lt_cv_dlopen" != xno
; then
13340 case $lt_cv_dlopen in
13342 save_CPPFLAGS
="$CPPFLAGS"
13343 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13345 save_LDFLAGS
="$LDFLAGS"
13346 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13349 LIBS
="$lt_cv_dlopen_libs $LIBS"
13351 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13352 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13353 if test "${lt_cv_dlopen_self+set}" = set; then
13354 $as_echo_n "(cached) " >&6
13356 if test "$cross_compiling" = yes; then :
13357 lt_cv_dlopen_self
=cross
13359 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13360 lt_status
=$lt_dlunknown
13361 cat > conftest.
$ac_ext <<_LT_EOF
13362 #line 13362 "configure"
13363 #include "confdefs.h"
13372 # define LT_DLGLOBAL RTLD_GLOBAL
13375 # define LT_DLGLOBAL DL_GLOBAL
13377 # define LT_DLGLOBAL 0
13381 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13382 find out it does not work in some platform. */
13383 #ifndef LT_DLLAZY_OR_NOW
13385 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13388 # define LT_DLLAZY_OR_NOW DL_LAZY
13391 # define LT_DLLAZY_OR_NOW RTLD_NOW
13394 # define LT_DLLAZY_OR_NOW DL_NOW
13396 # define LT_DLLAZY_OR_NOW 0
13404 extern "C" void exit (int);
13407 void fnord() { int i=42;}
13410 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13411 int status = $lt_dlunknown;
13415 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13416 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13417 /* dlclose (self); */
13425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13426 (eval $ac_link) 2>&5
13428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13430 (.
/conftest
; exit; ) >&5 2>/dev
/null
13432 case x
$lt_status in
13433 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13434 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13435 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13438 # compilation failed
13439 lt_cv_dlopen_self
=no
13446 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13447 $as_echo "$lt_cv_dlopen_self" >&6; }
13449 if test "x$lt_cv_dlopen_self" = xyes
; then
13450 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13451 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13452 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13453 if test "${lt_cv_dlopen_self_static+set}" = set; then
13454 $as_echo_n "(cached) " >&6
13456 if test "$cross_compiling" = yes; then :
13457 lt_cv_dlopen_self_static
=cross
13459 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13460 lt_status
=$lt_dlunknown
13461 cat > conftest.
$ac_ext <<_LT_EOF
13462 #line 13462 "configure"
13463 #include "confdefs.h"
13472 # define LT_DLGLOBAL RTLD_GLOBAL
13475 # define LT_DLGLOBAL DL_GLOBAL
13477 # define LT_DLGLOBAL 0
13481 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13482 find out it does not work in some platform. */
13483 #ifndef LT_DLLAZY_OR_NOW
13485 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13488 # define LT_DLLAZY_OR_NOW DL_LAZY
13491 # define LT_DLLAZY_OR_NOW RTLD_NOW
13494 # define LT_DLLAZY_OR_NOW DL_NOW
13496 # define LT_DLLAZY_OR_NOW 0
13504 extern "C" void exit (int);
13507 void fnord() { int i=42;}
13510 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13511 int status = $lt_dlunknown;
13515 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13516 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13517 /* dlclose (self); */
13525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13526 (eval $ac_link) 2>&5
13528 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13530 (.
/conftest
; exit; ) >&5 2>/dev
/null
13532 case x
$lt_status in
13533 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13534 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13535 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13538 # compilation failed
13539 lt_cv_dlopen_self_static
=no
13546 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13547 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13550 CPPFLAGS
="$save_CPPFLAGS"
13551 LDFLAGS
="$save_LDFLAGS"
13556 case $lt_cv_dlopen_self in
13557 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13558 *) enable_dlopen_self
=unknown
;;
13561 case $lt_cv_dlopen_self_static in
13562 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13563 *) enable_dlopen_self_static
=unknown
;;
13585 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13586 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13587 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13588 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13589 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13590 { $as_echo "$as_me:$LINENO: result: yes" >&5
13591 $as_echo "yes" >&6; }
13593 # FIXME - insert some real tests, host_os isn't really good enough
13596 if test -n "$STRIP" ; then
13597 striplib
="$STRIP -x"
13598 old_striplib
="$STRIP -S"
13599 { $as_echo "$as_me:$LINENO: result: yes" >&5
13600 $as_echo "yes" >&6; }
13602 { $as_echo "$as_me:$LINENO: result: no" >&5
13603 $as_echo "no" >&6; }
13607 { $as_echo "$as_me:$LINENO: result: no" >&5
13608 $as_echo "no" >&6; }
13624 # Report which library types will actually be built
13625 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13626 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13627 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
13628 $as_echo "$can_build_shared" >&6; }
13630 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13631 $as_echo_n "checking whether to build shared libraries... " >&6; }
13632 test "$can_build_shared" = "no" && enable_shared
=no
13634 # On AIX, shared libraries and static libraries use the same namespace, and
13635 # are all built from PIC.
13638 test "$enable_shared" = yes && enable_static
=no
13639 if test -n "$RANLIB"; then
13640 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13641 postinstall_cmds
='$RANLIB $lib'
13646 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13647 test "$enable_shared" = yes && enable_static
=no
13651 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
13652 $as_echo "$enable_shared" >&6; }
13654 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13655 $as_echo_n "checking whether to build static libraries... " >&6; }
13656 # Make sure either enable_shared or enable_static is yes.
13657 test "$enable_shared" = yes || enable_static
=yes
13658 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
13659 $as_echo "$enable_static" >&6; }
13666 ac_cpp
='$CPP $CPPFLAGS'
13667 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13668 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13669 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13685 ac_config_commands
="$ac_config_commands libtool"
13690 # Only expand once:
13699 # configuration file -- stay in 8.3 limit
13701 # since #undef doesn't survive in configuration header files we replace
13702 # `/undef' with `#undef' after creating the output file
13704 ac_config_headers
="$ac_config_headers ftconfig.h:ftconfig.in"
13707 # create the Unix-specific sub-Makefiles `builds/unix/unix-def.mk'
13708 # and `builds/unix/unix-cc.mk' that will be used by the build system
13710 ac_config_files
="$ac_config_files unix-cc.mk:unix-cc.in unix-def.mk:unix-def.in freetype-config freetype2.pc:freetype2.in"
13713 # re-generate the Jamfile to use libtool now
13715 # AC_CONFIG_FILES([../../Jamfile:../../Jamfile.in])
13717 cat >confcache
<<\_ACEOF
13718 # This file is a shell script that caches the results of configure
13719 # tests run on this system so they can be shared between configure
13720 # scripts and configure runs, see configure's option --config-cache.
13721 # It is not useful on other systems. If it contains results you don't
13722 # want to keep, you may remove or edit it.
13724 # config.status only pays attention to the cache file if you give it
13725 # the --recheck option to rerun configure.
13727 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13728 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13729 # following values.
13733 # The following way of writing the cache mishandles newlines in values,
13734 # but we know of no workaround that is simple, portable, and efficient.
13735 # So, we kill variables containing newlines.
13736 # Ultrix sh set writes to stderr and can't be redirected directly,
13737 # and sets the high bit in the cache file unless we assign to the vars.
13739 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13740 eval ac_val
=\$
$ac_var
13744 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13745 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13748 _ | IFS | as_nl
) ;; #(
13749 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13750 *) $as_unset $ac_var ;;
13756 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13757 *${as_nl}ac_space
=\
*)
13758 # `set' does not quote correctly, so add quotes (double-quote
13759 # substitution turns \\\\ into \\, and sed turns \\ into \).
13762 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13765 # `set' quotes correctly as required by POSIX, so do not add quotes.
13766 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13775 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13777 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13779 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13780 if test -w "$cache_file"; then
13781 test "x$cache_file" != "x/dev/null" &&
13782 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13783 $as_echo "$as_me: updating cache $cache_file" >&6;}
13784 cat confcache
>$cache_file
13786 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13787 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13792 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13793 # Let make expand exec_prefix.
13794 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13796 DEFS
=-DHAVE_CONFIG_H
13800 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13801 # 1. Remove the extension, and $U if already installed.
13802 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13803 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13804 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13805 # will be set to the directory where LIBOBJS objects are built.
13806 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13807 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13809 LIBOBJS
=$ac_libobjs
13811 LTLIBOBJS
=$ac_ltlibobjs
13815 : ${CONFIG_STATUS=./config.status}
13817 ac_clean_files_save
=$ac_clean_files
13818 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13819 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13820 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13821 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13823 # Generated by $as_me.
13824 # Run this file to recreate the current configuration.
13825 # Compiler output produced by configure, useful for debugging
13826 # configure, is in config.log if it exists.
13829 ac_cs_recheck=false
13831 SHELL=\${CONFIG_SHELL-$SHELL}
13834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13835 ## --------------------- ##
13836 ## M4sh Initialization. ##
13837 ## --------------------- ##
13839 # Be more Bourne compatible
13840 DUALCASE
=1; export DUALCASE
# for MKS sh
13841 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13844 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13845 # is contrary to our usage. Disable this feature.
13846 alias -g '${1+"$@"}'='"$@"'
13847 setopt NO_GLOB_SUBST
13849 case `(set -o) 2>/dev/null` in
13850 *posix
*) set -o posix
;;
13859 # Avoid depending upon Character Ranges.
13860 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13861 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13862 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13863 as_cr_digits
='0123456789'
13864 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13869 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13870 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13871 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13872 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13873 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13874 as_echo='printf %s
\n'
13875 as_echo_n='printf %s
'
13877 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13878 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13879 as_echo_n='/usr
/ucb
/echo -n'
13881 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13882 as_echo_n_body='eval
13886 expr "X$arg" : "X\\(.*\\)$as_nl";
13887 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13889 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13891 export as_echo_n_body
13892 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13894 export as_echo_body
13895 as_echo='sh
-c $as_echo_body as_echo
'
13898 # The user is always right.
13899 if test "${PATH_SEPARATOR+set}" != set; then
13901 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13902 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13907 # Support unset when possible.
13908 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13916 # We need space, tab and new line, in precisely that order. Quoting is
13917 # there to prevent editors from complaining about space-tab.
13918 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13919 # splitting by setting IFS to empty value.)
13922 # Find who we are. Look in the path if we contain no directory separator.
13924 *[\\/]* ) as_myself=$0 ;;
13925 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13926 for as_dir in $PATH
13929 test -z "$as_dir" && as_dir=.
13930 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13936 # We did not find ourselves, most probably we were run as `sh COMMAND'
13937 # in which case we are not to be found in the path.
13938 if test "x$as_myself" = x
; then
13941 if test ! -f "$as_myself"; then
13942 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13943 { (exit 1); exit 1; }
13946 # Work around bugs in pre-3.0 UWIN ksh.
13947 for as_var
in ENV MAIL MAILPATH
13948 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13960 # Required to use basename.
13961 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13962 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13968 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13969 as_basename
=basename
13975 # Name of the executable.
13976 as_me
=`$as_basename -- "$0" ||
13977 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13978 X"$0" : 'X\(//\)$' \| \
13979 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13981 sed '/^.*\/\([^/][^/]*\)\/*$/{
14000 as_lineno_1
=$LINENO
14001 as_lineno_2
=$LINENO
14002 test "x$as_lineno_1" != "x$as_lineno_2" &&
14003 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
14005 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14006 # uniformly replaced by the line number. The first 'sed' inserts a
14007 # line-number line after each line using $LINENO; the second 'sed'
14008 # does the real work. The second script uses 'N' to pair each
14009 # line-number line with the line containing $LINENO, and appends
14010 # trailing '-' during substitution so that $LINENO is not a special
14011 # case at line end.
14012 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14013 # scripts with optimization help from Paolo Bonzini. Blame Lee
14014 # E. McMahon (1931-1989) for sed's syntax. :-)
14026 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
14029 ' >$as_me.lineno
&&
14030 chmod +x
"$as_me.lineno" ||
14031 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
14032 { (exit 1); exit 1; }; }
14034 # Don't try to exec as it changes $[0], causing all sort of problems
14035 # (the dirname of $[0] is not the place where we might find the
14036 # original and so on. Autoconf is especially sensitive to this).
14037 .
"./$as_me.lineno"
14038 # Exit status is that of the last command.
14043 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14049 ECHO_C
= ECHO_N
= ECHO_T
=
14050 case `echo -n x` in
14052 case `echo 'x\c'` in
14053 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14059 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14060 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14066 rm -f conf$$ conf$$.exe conf$$.
file
14067 if test -d conf$$.dir
; then
14068 rm -f conf$$.dir
/conf$$.
file
14071 mkdir conf$$.dir
2>/dev
/null
14073 if (echo >conf$$.
file) 2>/dev
/null
; then
14074 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14076 # ... but there are two gotchas:
14077 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14078 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14079 # In both cases, we have to default to `cp -p'.
14080 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14082 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14090 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14091 rmdir conf$$.dir
2>/dev
/null
14093 if mkdir
-p .
2>/dev
/null
; then
14096 test -d .
/-p && rmdir .
/-p
14100 if test -x / >/dev
/null
2>&1; then
14101 as_test_x
='test -x'
14103 if ls -dL / >/dev
/null
2>&1; then
14110 if test -d "$1"; then
14116 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14117 ???[sx]*):;;*)false;;esac;fi
14121 as_executable_p
=$as_test_x
14123 # Sed expression to map a string onto a valid CPP name.
14124 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14126 # Sed expression to map a string onto a valid variable name.
14127 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14132 # Save the log message, to keep $[0] and so on meaningful, and to
14133 # report actual input values of CONFIG_FILES etc. instead of their
14134 # values after options handling.
14136 This file was extended by FreeType $as_me 2.3.7, which was
14137 generated by GNU Autoconf 2.62. Invocation command line was
14139 CONFIG_FILES = $CONFIG_FILES
14140 CONFIG_HEADERS = $CONFIG_HEADERS
14141 CONFIG_LINKS = $CONFIG_LINKS
14142 CONFIG_COMMANDS = $CONFIG_COMMANDS
14145 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14151 # Files that config.status was made for.
14152 config_files="$ac_config_files"
14153 config_headers="$ac_config_headers"
14154 config_commands="$ac_config_commands"
14158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14160 \`$as_me' instantiates files from templates according to the
14161 current configuration.
14163 Usage: $0 [OPTIONS] [FILE]...
14165 -h, --help print this help, then exit
14166 -V, --version print version number and configuration settings, then exit
14167 -q, --quiet do not print progress messages
14168 -d, --debug don't remove temporary files
14169 --recheck update $as_me by reconfiguring in the same conditions
14170 --file=FILE[:TEMPLATE]
14171 instantiate the configuration file FILE
14172 --header=FILE[:TEMPLATE]
14173 instantiate the configuration header FILE
14175 Configuration files:
14178 Configuration headers:
14181 Configuration commands:
14184 Report bugs to <bug-autoconf@gnu.org>."
14187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14189 FreeType config.status 2.3.7
14190 configured by $0, generated by GNU Autoconf 2.62,
14191 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14193 Copyright (C) 2008 Free Software Foundation, Inc.
14194 This config.status script is free software; the Free Software Foundation
14195 gives unlimited permission to copy, distribute and modify it."
14200 test -n "\$AWK" || AWK=awk
14203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14204 # The default lists apply if the user does not specify any file.
14210 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14211 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14222 # Handling of the options.
14223 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14225 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14226 $as_echo "$ac_cs_version"; exit ;;
14227 --debug |
--debu |
--deb |
--de |
--d |
-d )
14229 --file |
--fil |
--fi |
--f )
14232 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14234 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
14235 ac_need_defaults
=false
;;
14236 --header |
--heade |
--head |
--hea )
14239 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14241 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
14242 ac_need_defaults
=false
;;
14244 # Conflict between --help and --header
14245 { $as_echo "$as_me: error: ambiguous option: $1
14246 Try \`$0 --help' for more information." >&2
14247 { (exit 1); exit 1; }; };;
14248 --help |
--hel |
-h )
14249 $as_echo "$ac_cs_usage"; exit ;;
14250 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14251 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14254 # This is an error.
14255 -*) { $as_echo "$as_me: error: unrecognized option: $1
14256 Try \`$0 --help' for more information." >&2
14257 { (exit 1); exit 1; }; } ;;
14259 *) ac_config_targets
="$ac_config_targets $1"
14260 ac_need_defaults
=false
;;
14266 ac_configure_extra_args
=
14268 if $ac_cs_silent; then
14270 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14274 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14275 if \$ac_cs_recheck; then
14276 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14278 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14279 CONFIG_SHELL='$SHELL'
14280 export CONFIG_SHELL
14285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14289 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14290 ## Running $as_me. ##
14296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14302 # The HP-UX ksh and POSIX shell print the target directory to stdout
14303 # if CDPATH is set.
14304 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14306 sed_quote_subst='$sed_quote_subst'
14307 double_quote_subst='$double_quote_subst'
14308 delay_variable_subst='$delay_variable_subst'
14309 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14310 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14311 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
14312 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14313 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14314 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14315 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14316 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14317 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14318 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14319 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14320 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14321 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14322 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14323 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14324 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14325 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14326 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14327 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14328 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14329 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14330 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14331 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14332 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14333 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14334 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14335 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14336 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14337 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14338 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14339 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14340 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14341 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14342 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14343 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14344 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14345 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14346 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14347 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14348 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14349 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14350 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14351 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14352 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14353 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14354 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14355 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
14356 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14357 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14358 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14359 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14360 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14361 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14362 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14363 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14364 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14365 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14366 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14367 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14368 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14369 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14370 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14371 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14372 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14373 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14374 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14375 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14376 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14377 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14378 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14379 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14380 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14381 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14382 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14383 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14384 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14385 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14386 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14387 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14388 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14389 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14390 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14391 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14392 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14393 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14394 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14395 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14396 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14397 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14398 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14399 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14400 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14401 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14402 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14403 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14404 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14405 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14406 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14407 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14408 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14409 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14410 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14411 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14412 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14413 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14414 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14415 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14416 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14417 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14418 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14419 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14420 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14421 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14422 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14423 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14424 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14425 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14426 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14427 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14428 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14431 LTCFLAGS='$LTCFLAGS'
14432 compiler='$compiler_DEFAULT'
14434 # Quote evaled strings.
14445 deplibs_check_method \
14454 lt_cv_sys_global_symbol_pipe \
14455 lt_cv_sys_global_symbol_to_cdecl \
14456 lt_cv_sys_global_symbol_to_c_name_address \
14457 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14460 lt_prog_compiler_no_builtin_flag \
14461 lt_prog_compiler_wl \
14462 lt_prog_compiler_pic \
14463 lt_prog_compiler_static \
14464 lt_cv_prog_compiler_c_o \
14472 export_dynamic_flag_spec \
14473 whole_archive_flag_spec \
14474 compiler_needs_object \
14476 allow_undefined_flag \
14477 no_undefined_flag \
14478 hardcode_libdir_flag_spec \
14479 hardcode_libdir_flag_spec_ld \
14480 hardcode_libdir_separator \
14485 variables_saved_for_relink \
14487 library_names_spec \
14492 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14493 *[\\\\\\\`\\"\\\$]*)
14494 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14497 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14502 # Double-quote double-evaled strings.
14503 for var in reload_cmds \
14504 old_postinstall_cmds \
14505 old_postuninstall_cmds \
14507 extract_expsyms_cmds \
14508 old_archive_from_new_cmds \
14509 old_archive_from_expsyms_cmds \
14511 archive_expsym_cmds \
14513 module_expsym_cmds \
14514 export_symbols_cmds \
14517 postuninstall_cmds \
14519 sys_lib_search_path_spec \
14520 sys_lib_dlsearch_path_spec; do
14521 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14522 *[\\\\\\\`\\"\\\$]*)
14523 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14526 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14531 # Fix-up fallback echo if it was mangled by the above quoting rules.
14533 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14537 ac_aux_dir='$ac_aux_dir'
14538 xsi_shell='$xsi_shell'
14539 lt_shell_append='$lt_shell_append'
14541 # See if we are running on zsh, and set the options which allow our
14542 # commands through without removal of \ escapes INIT.
14543 if test -n "\${ZSH_VERSION+set}" ; then
14544 setopt NO_GLOB_SUBST
14550 TIMESTAMP='$TIMESTAMP'
14559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14561 # Handling of arguments.
14562 for ac_config_target
in $ac_config_targets
14564 case $ac_config_target in
14565 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14566 "ftconfig.h") CONFIG_HEADERS
="$CONFIG_HEADERS ftconfig.h:ftconfig.in" ;;
14567 "unix-cc.mk") CONFIG_FILES
="$CONFIG_FILES unix-cc.mk:unix-cc.in" ;;
14568 "unix-def.mk") CONFIG_FILES
="$CONFIG_FILES unix-def.mk:unix-def.in" ;;
14569 "freetype-config") CONFIG_FILES
="$CONFIG_FILES freetype-config" ;;
14570 "freetype2.pc") CONFIG_FILES
="$CONFIG_FILES freetype2.pc:freetype2.in" ;;
14572 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14573 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14574 { (exit 1); exit 1; }; };;
14579 # If the user did not use the arguments to specify the items to instantiate,
14580 # then the envvar interface is used. Set only those that are not.
14581 # We use the long form for the default assignment because of an extremely
14582 # bizarre bug on SunOS 4.1.3.
14583 if $ac_need_defaults; then
14584 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14585 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14586 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14589 # Have a temporary directory for convenience. Make it in the build tree
14590 # simply because there is no reason against having it here, and in addition,
14591 # creating and moving files from /tmp can sometimes cause problems.
14592 # Hook for its removal unless debugging.
14593 # Note that there is a small window in which the directory will not be cleaned:
14594 # after its creation but before its name has been assigned to `$tmp'.
14598 trap 'exit_status=$?
14599 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14601 trap '{ (exit 1); exit 1; }' 1 2 13 15
14603 # Create a (secure) tmp directory for tmp files.
14606 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14607 test -n "$tmp" && test -d "$tmp"
14610 tmp
=.
/conf$$
-$RANDOM
14611 (umask 077 && mkdir
"$tmp")
14614 $as_echo "$as_me: cannot create a temporary directory in ." >&2
14615 { (exit 1); exit 1; }
14618 # Set up the scripts for CONFIG_FILES section.
14619 # No need to generate them if there are no CONFIG_FILES.
14620 # This happens for instance with `./config.status config.h'.
14621 if test -n "$CONFIG_FILES"; then
14625 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14626 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14629 ac_cs_awk_cr
=$ac_cr
14632 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14637 echo "cat >conf$$subs.awk <<_ACEOF" &&
14638 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14640 } >conf$$subs.sh ||
14641 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14642 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14643 { (exit 1); exit 1; }; }
14644 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14646 for ac_last_try in false false false false false :; do
14647 . ./conf$$subs.sh ||
14648 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14649 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14650 { (exit 1); exit 1; }; }
14652 if test `sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X` = $ac_delim_num; then
14654 elif $ac_last_try; then
14655 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14656 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14657 { (exit 1); exit 1; }; }
14659 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14662 rm -f conf$$subs.sh
14664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14665 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14669 s/^/S["/; s
/!.
*/"]=/
14679 s/\(.\{148\}\).*/\1/
14681 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14686 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14693 s/\(.\{148\}\).*/\1/
14695 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14699 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14704 ' <conf$$subs.awk | sed '
14709 ' >>$CONFIG_STATUS || ac_write_fail=1
14710 rm -f conf$$subs.awk
14711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14713 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14714 for (key in S) S_is_set[key] = 1
14720 nfields = split(line, field, "@
")
14722 len = length(field[1])
14723 for (i = 2; i < nfields; i++) {
14725 keylen = length(key)
14726 if (S_is_set[key]) {
14728 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14729 len += length(value) + length(field[++i])
14740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14741 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14742 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14745 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14746 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
14747 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
14748 { (exit 1); exit 1; }; }
14751 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14752 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14753 # trailing colons and then remove the whole line if VPATH becomes empty
14754 # (actually we leave an empty line to preserve line numbers).
14755 if test "x
$srcdir" = x.; then
14756 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14757 s/:*\$(srcdir):*/:/
14758 s/:*\${srcdir}:*/:/
14760 s/^\([^=]*=[ ]*\):*/\1/
14766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14767 fi # test -n "$CONFIG_FILES"
14769 # Set up the scripts for CONFIG_HEADERS section.
14770 # No need to generate them if there are no CONFIG_HEADERS.
14771 # This happens for instance with `./config.status Makefile'.
14772 if test -n "$CONFIG_HEADERS"; then
14773 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14777 # Transform confdefs.h into an awk script `defines.awk', embedded as
14778 # here-document in config.status, that substitutes the proper values into
14779 # config.h.in to produce config.h.
14781 # Create a delimiter string that does not exist in confdefs.h, to ease
14782 # handling of long lines.
14784 for ac_last_try in false false :; do
14785 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14786 if test -z "$ac_t"; then
14788 elif $ac_last_try; then
14789 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
14790 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
14791 { (exit 1); exit 1; }; }
14793 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14797 # For the awk script, D is an array of macro values keyed by name,
14798 # likewise P contains macro parameters if any. Preserve backslash
14799 # newline sequences.
14801 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14803 s/.\{148\}/&'"$ac_delim"'/g
14806 s/^[ ]*#[ ]*define[ ][ ]*/ /
14813 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14815 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14819 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14820 D["\
1"]=" \
3\\\\\\n
"\\/p
14822 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14827 s/.\{148\}/&'"$ac_delim"'/g
14832 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14835 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14837 ' <confdefs.h | sed '
14838 s/'"$ac_delim"'/"\\\
14839 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14842 for (key in D) D_is_set[key] = 1
14845 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14847 split(line, arg, " ")
14848 if (arg[1] == "#") {
14852 defundef
= substr
(arg
[1], 2)
14855 split(mac1
, mac2
, "(") #)
14857 if (D_is_set
[macro
]) {
14858 # Preserve the white space surrounding the "#".
14859 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14860 print prefix
"define", macro P
[macro
] D
[macro
]
14863 # Replace #undef with comments. This is necessary, for example,
14864 # in the case of _POSIX_SOURCE, which is predefined and required
14865 # on some systems where configure will not decide to define it.
14866 if (defundef
== "undef") {
14867 print
"/*", line
, "*/"
14875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14876 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14877 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14878 { (exit 1); exit 1; }; }
14879 fi # test -n "$CONFIG_HEADERS"
14882 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14887 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14889 case $ac_mode$ac_tag in
14891 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14892 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14893 { (exit 1); exit 1; }; };;
14894 :[FH
]-) ac_tag
=-:-;;
14895 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14912 -) ac_f
="$tmp/stdin";;
14913 *) # Look for the file first in the build tree, then in the source tree
14914 # (if the path is not absolute). The absolute path cannot be DOS-style,
14915 # because $ac_f cannot contain `:'.
14919 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14921 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14922 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14923 { (exit 1); exit 1; }; };;
14925 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14926 ac_file_inputs
="$ac_file_inputs '$ac_f'"
14929 # Let's still pretend it is `configure' which instantiates (i.e., don't
14930 # use $as_me), people would be surprised to read:
14931 # /* config.h. Generated by config.status. */
14932 configure_input
='Generated from '`
14933 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14935 if test x
"$ac_file" != x-
; then
14936 configure_input
="$ac_file. $configure_input"
14937 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14938 $as_echo "$as_me: creating $ac_file" >&6;}
14940 # Neutralize special characters interpreted by sed in replacement strings.
14941 case $configure_input in #(
14942 *\
&* |
*\|
* |
*\\* )
14943 ac_sed_conf_input
=`$as_echo "$configure_input" |
14944 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14945 *) ac_sed_conf_input
=$configure_input;;
14949 *:-:* |
*:-) cat >"$tmp/stdin" \
14950 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14951 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14952 { (exit 1); exit 1; }; } ;;
14957 ac_dir
=`$as_dirname -- "$ac_file" ||
14958 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14959 X"$ac_file" : 'X\(//\)[^/]' \| \
14960 X"$ac_file" : 'X\(//\)$' \| \
14961 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14962 $as_echo X"$ac_file" |
14963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14967 /^X\(\/\/\)[^/].*/{
14982 -*) as_dir
=.
/$as_dir;;
14984 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14988 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14989 *) as_qdir
=$as_dir;;
14991 as_dirs
="'$as_qdir' $as_dirs"
14992 as_dir
=`$as_dirname -- "$as_dir" ||
14993 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14994 X"$as_dir" : 'X\(//\)[^/]' \| \
14995 X"$as_dir" : 'X\(//\)$' \| \
14996 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14997 $as_echo X"$as_dir" |
14998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15002 /^X\(\/\/\)[^/].*/{
15015 test -d "$as_dir" && break
15017 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15018 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15019 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
15020 { (exit 1); exit 1; }; }; }
15024 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15026 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15027 # A ".." for each directory in $ac_dir_suffix.
15028 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15029 case $ac_top_builddir_sub in
15030 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15031 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15034 ac_abs_top_builddir
=$ac_pwd
15035 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15036 # for backward compatibility:
15037 ac_top_builddir
=$ac_top_build_prefix
15040 .
) # We are building in place.
15042 ac_top_srcdir
=$ac_top_builddir_sub
15043 ac_abs_top_srcdir
=$ac_pwd ;;
15044 [\\/]* | ?
:[\\/]* ) # Absolute name.
15045 ac_srcdir
=$srcdir$ac_dir_suffix;
15046 ac_top_srcdir
=$srcdir
15047 ac_abs_top_srcdir
=$srcdir ;;
15048 *) # Relative name.
15049 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15050 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15051 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15053 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15063 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15064 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15069 # If the template does not know about datarootdir, expand it.
15070 # FIXME: This hack should be removed a few years after 2.60.
15071 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15084 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15085 *datarootdir
*) ac_datarootdir_seen
=yes;;
15086 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15087 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15088 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15091 ac_datarootdir_hack='
15092 s&@datadir@&$datadir&g
15093 s&@docdir@&$docdir&g
15094 s&@infodir@&$infodir&g
15095 s&@localedir@&$localedir&g
15096 s&@mandir@&$mandir&g
15097 s&\\\${datarootdir}&$datarootdir&g' ;;
15101 # Neutralize VPATH when `$srcdir' = `.'.
15102 # Shell code in configure.ac might set extrasub.
15103 # FIXME: do we really want to maintain this feature?
15104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15105 ac_sed_extra="$ac_vpsub
15108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15110 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15111 s|@configure_input@|
$ac_sed_conf_input|
;t t
15112 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15113 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15114 s
&@srcdir@
&$ac_srcdir&;t t
15115 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15116 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15117 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15118 s
&@builddir@
&$ac_builddir&;t t
15119 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15120 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15121 s
&@INSTALL@
&$ac_INSTALL&;t t
15122 $ac_datarootdir_hack
15124 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15125 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
15126 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
15127 { (exit 1); exit 1; }; }
15129 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15130 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15131 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15132 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15133 which seems to be undefined. Please make sure it is defined." >&5
15134 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15135 which seems to be undefined. Please make sure it is defined." >&2;}
15139 -) cat "$tmp/out" && rm -f "$tmp/out";;
15140 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15142 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15143 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15144 { (exit 1); exit 1; }; }
15150 if test x"$ac_file" != x-; then
15152 $as_echo "/* $configure_input */" \
15153 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15154 } >"$tmp/config.h" \
15155 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15156 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15157 { (exit 1); exit 1; }; }
15158 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15159 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15160 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15163 mv "$tmp/config.h" "$ac_file" \
15164 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15165 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15166 { (exit 1); exit 1; }; }
15169 $as_echo "/* $configure_input */" \
15170 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15171 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
15172 $as_echo "$as_me: error: could not create -" >&2;}
15173 { (exit 1); exit 1; }; }
15177 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
15178 $as_echo "$as_me: executing $ac_file commands" >&6;}
15183 case $ac_file$ac_mode in
15186 # See if we are running on zsh, and set the options which allow our
15187 # commands through without removal of \ escapes.
15188 if test -n "${ZSH_VERSION+set}" ; then
15189 setopt NO_GLOB_SUBST
15192 cfgfile="${ofile}T"
15193 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15196 cat <<_LT_EOF >> "$cfgfile"
15199 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
15200 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15201 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15202 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15204 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15205 # 2006, 2007, 2008 Free Software Foundation, Inc.
15206 # Written by Gordon Matzigkeit, 1996
15208 # This file is part of GNU Libtool.
15210 # GNU Libtool is free software; you can redistribute it and/or
15211 # modify it under the terms of the GNU General Public License as
15212 # published by the Free Software Foundation; either version 2 of
15213 # the License, or (at your option) any later version.
15215 # As a special exception to the GNU General Public License,
15216 # if you distribute this file as part of a program or library that
15217 # is built using GNU Libtool, you may include this file under the
15218 # same distribution terms that you use for the rest of that program.
15220 # GNU Libtool is distributed in the hope that it will be useful,
15221 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15222 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15223 # GNU General Public License for more details.
15225 # You should have received a copy of the GNU General Public License
15226 # along with GNU Libtool; see the file COPYING. If not, a copy
15227 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15228 # obtained by writing to the Free Software Foundation, Inc.,
15229 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15232 # The names of the tagged configurations supported by this script.
15235 # ### BEGIN LIBTOOL CONFIG
15237 # Which release of libtool.m4 was used?
15238 macro_version=$macro_version
15239 macro_revision=$macro_revision
15241 # Assembler program.
15244 # DLL creation program.
15247 # Object dumper program.
15250 # Whether or not to build shared libraries.
15251 build_libtool_libs=$enable_shared
15253 # Whether or not to build static libraries.
15254 build_old_libs=$enable_static
15256 # What type of objects to build.
15259 # Whether or not to optimize for fast installation.
15260 fast_install=$enable_fast_install
15263 host_alias=$host_alias
15267 # The build system.
15268 build_alias=$build_alias
15272 # A sed program that does not truncate output.
15275 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15276 Xsed="\$SED -e 1s/^X//"
15278 # A grep program that handles long lines.
15284 # A literal string matcher.
15287 # A BSD- or MS-compatible name lister.
15290 # Whether we need soft or hard links.
15293 # What is the maximum length of a command?
15294 max_cmd_len=$max_cmd_len
15296 # Object file suffix (normally "o").
15299 # Executable file suffix (normally "").
15302 # whether the shell understands "unset".
15305 # turn spaces into newlines.
15308 # turn newlines into spaces.
15311 # How to create reloadable object files.
15312 reload_flag=$lt_reload_flag
15313 reload_cmds=$lt_reload_cmds
15315 # Method to check whether dependent libraries are shared objects.
15316 deplibs_check_method=$lt_deplibs_check_method
15318 # Command to use when deplibs_check_method == "file_magic".
15319 file_magic_cmd=$lt_file_magic_cmd
15323 AR_FLAGS=$lt_AR_FLAGS
15325 # A symbol stripping program.
15328 # Commands used to install an old-style archive.
15330 old_postinstall_cmds=$lt_old_postinstall_cmds
15331 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15336 # LTCC compiler flags.
15337 LTCFLAGS=$lt_CFLAGS
15339 # Take the output of nm and produce a listing of raw symbols and C names.
15340 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15342 # Transform the output of nm in a proper C declaration.
15343 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15345 # Transform the output of nm in a C name address pair.
15346 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15348 # Transform the output of nm in a C name address pair when lib prefix is needed.
15349 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15351 # The name of the directory that contains temporary libtool files.
15354 # Shell to use when invoking shell scripts.
15357 # An echo program that does not interpret backslashes.
15360 # Used to examine libraries when file_magic_cmd begins with "file".
15361 MAGIC_CMD=$MAGIC_CMD
15363 # Must we lock files when doing compilation?
15364 need_locks=$lt_need_locks
15366 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15367 DSYMUTIL=$lt_DSYMUTIL
15369 # Tool to change global to local symbols on Mac OS X.
15372 # Tool to manipulate fat objects and archives on Mac OS X.
15375 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15378 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15379 OTOOL64=$lt_OTOOL64
15381 # Old archive suffix (normally "a").
15384 # Shared library suffix (normally ".so").
15385 shrext_cmds=$lt_shrext_cmds
15387 # The commands to extract the exported symbol list from a shared archive.
15388 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15390 # Variables whose values should be saved in libtool wrapper scripts and
15391 # restored at link time.
15392 variables_saved_for_relink=$lt_variables_saved_for_relink
15394 # Do we need the "lib" prefix for modules?
15395 need_lib_prefix=$need_lib_prefix
15397 # Do we need a version for libraries?
15398 need_version=$need_version
15400 # Library versioning type.
15401 version_type=$version_type
15403 # Shared library runtime path variable.
15404 runpath_var=$runpath_var
15406 # Shared library path variable.
15407 shlibpath_var=$shlibpath_var
15409 # Is shlibpath searched before the hard-coded library search path?
15410 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15412 # Format of library name prefix.
15413 libname_spec=$lt_libname_spec
15415 # List of archive names. First name is the real one, the rest are links.
15416 # The last name is the one that the linker finds with -lNAME
15417 library_names_spec=$lt_library_names_spec
15419 # The coded name of the library, if different from the real name.
15420 soname_spec=$lt_soname_spec
15422 # Command to use after installation of a shared archive.
15423 postinstall_cmds=$lt_postinstall_cmds
15425 # Command to use after uninstallation of a shared archive.
15426 postuninstall_cmds=$lt_postuninstall_cmds
15428 # Commands used to finish a libtool library installation in a directory.
15429 finish_cmds=$lt_finish_cmds
15431 # As "finish_cmds", except a single script fragment to be evaled but
15433 finish_eval=$lt_finish_eval
15435 # Whether we should hardcode library paths into libraries.
15436 hardcode_into_libs=$hardcode_into_libs
15438 # Compile-time system search path for libraries.
15439 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15441 # Run-time system search path for libraries.
15442 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15444 # Whether dlopen is supported.
15445 dlopen_support=$enable_dlopen
15447 # Whether dlopen of programs is supported.
15448 dlopen_self=$enable_dlopen_self
15450 # Whether dlopen of statically linked programs is supported.
15451 dlopen_self_static=$enable_dlopen_self_static
15453 # Commands to strip libraries.
15454 old_striplib=$lt_old_striplib
15455 striplib=$lt_striplib
15458 # The linker used to build libraries.
15461 # Commands used to build an old-style archive.
15462 old_archive_cmds=$lt_old_archive_cmds
15464 # A language specific compiler.
15467 # Is the compiler the GNU compiler?
15470 # Compiler flag to turn off builtin functions.
15471 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15473 # How to pass a linker flag through the compiler.
15474 wl=$lt_lt_prog_compiler_wl
15476 # Additional compiler flags for building library objects.
15477 pic_flag=$lt_lt_prog_compiler_pic
15479 # Compiler flag to prevent dynamic linking.
15480 link_static_flag=$lt_lt_prog_compiler_static
15482 # Does compiler simultaneously support -c and -o options?
15483 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15485 # Whether or not to add -lc for building shared libraries.
15486 build_libtool_need_lc=$archive_cmds_need_lc
15488 # Whether or not to disallow shared libs when runtime libs are static.
15489 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15491 # Compiler flag to allow reflexive dlopens.
15492 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15494 # Compiler flag to generate shared objects directly from archives.
15495 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15497 # Whether the compiler copes with passing no objects directly.
15498 compiler_needs_object=$lt_compiler_needs_object
15500 # Create an old-style archive from a shared archive.
15501 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15503 # Create a temporary old-style archive to link instead of a shared archive.
15504 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15506 # Commands used to build a shared archive.
15507 archive_cmds=$lt_archive_cmds
15508 archive_expsym_cmds=$lt_archive_expsym_cmds
15510 # Commands used to build a loadable module if different from building
15511 # a shared archive.
15512 module_cmds=$lt_module_cmds
15513 module_expsym_cmds=$lt_module_expsym_cmds
15515 # Whether we are building with GNU ld or not.
15516 with_gnu_ld=$lt_with_gnu_ld
15518 # Flag that allows shared libraries with undefined symbols to be built.
15519 allow_undefined_flag=$lt_allow_undefined_flag
15521 # Flag that enforces no undefined symbols.
15522 no_undefined_flag=$lt_no_undefined_flag
15524 # Flag to hardcode \$libdir into a binary during linking.
15525 # This must work even if \$libdir does not exist
15526 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15528 # If ld is used when linking, flag to hardcode \$libdir into a binary
15529 # during linking. This must work even if \$libdir does not exist.
15530 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15532 # Whether we need a single "-rpath" flag with a separated argument.
15533 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15535 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15536 # DIR into the resulting binary.
15537 hardcode_direct=$hardcode_direct
15539 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15540 # DIR into the resulting binary and the resulting library dependency is
15541 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15542 # library is relocated.
15543 hardcode_direct_absolute=$hardcode_direct_absolute
15545 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15546 # into the resulting binary.
15547 hardcode_minus_L=$hardcode_minus_L
15549 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15550 # into the resulting binary.
15551 hardcode_shlibpath_var=$hardcode_shlibpath_var
15553 # Set to "yes" if building a shared library automatically hardcodes DIR
15554 # into the library and all subsequent libraries and executables linked
15556 hardcode_automatic=$hardcode_automatic
15558 # Set to yes if linker adds runtime paths of dependent libraries
15559 # to runtime path list.
15560 inherit_rpath=$inherit_rpath
15562 # Whether libtool must link a program against all its dependency libraries.
15563 link_all_deplibs=$link_all_deplibs
15565 # Fix the shell variable \$srcfile for the compiler.
15566 fix_srcfile_path=$lt_fix_srcfile_path
15568 # Set to "yes" if exported symbols are required.
15569 always_export_symbols=$always_export_symbols
15571 # The commands to list exported symbols.
15572 export_symbols_cmds=$lt_export_symbols_cmds
15574 # Symbols that should not be listed in the preloaded symbols.
15575 exclude_expsyms=$lt_exclude_expsyms
15577 # Symbols that must always be exported.
15578 include_expsyms=$lt_include_expsyms
15580 # Commands necessary for linking programs (against libraries) with templates.
15581 prelink_cmds=$lt_prelink_cmds
15583 # Specify filename containing input files.
15584 file_list_spec=$lt_file_list_spec
15586 # How to hardcode a shared library path into an executable.
15587 hardcode_action=$hardcode_action
15589 # ### END LIBTOOL CONFIG
15595 cat <<\_LT_EOF >> "$cfgfile"
15596 # AIX sometimes has problems with the GCC collect2 program. For some
15597 # reason, if we set the COLLECT_NAMES environment variable, the problems
15598 # vanish in a puff of smoke.
15599 if test "X${COLLECT_NAMES+set}" != Xset; then
15601 export COLLECT_NAMES
15608 ltmain="$ac_aux_dir/ltmain.sh"
15611 # We use sed instead of cat because bash on DJGPP gets confused if
15612 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15613 # text mode, it properly converts lines to CR/LF. This bash problem
15614 # is reportedly fixed, but why not run on old versions too?
15615 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15616 ||
(rm -f "$cfgfile"; exit 1)
15620 cat << \_LT_EOF
>> "$cfgfile"
15622 # func_dirname file append nondir_replacement
15623 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15624 # otherwise set result to NONDIR_REPLACEMENT.
15628 */*) func_dirname_result
="${1%/*}${2}" ;;
15629 * ) func_dirname_result
="${3}" ;;
15633 # func_basename file
15636 func_basename_result
="${1##*/}"
15639 # func_dirname_and_basename file append nondir_replacement
15640 # perform func_basename and func_dirname in a single function
15642 # dirname: Compute the dirname of FILE. If nonempty,
15643 # add APPEND to the result, otherwise set result
15644 # to NONDIR_REPLACEMENT.
15645 # value returned in "$func_dirname_result"
15646 # basename: Compute filename of FILE.
15647 # value retuned in "$func_basename_result"
15648 # Implementation must be kept synchronized with func_dirname
15649 # and func_basename. For efficiency, we do not delegate to
15650 # those functions but instead duplicate the functionality here.
15651 func_dirname_and_basename
()
15654 */*) func_dirname_result
="${1%/*}${2}" ;;
15655 * ) func_dirname_result
="${3}" ;;
15657 func_basename_result
="${1##*/}"
15660 # func_stripname prefix suffix name
15661 # strip PREFIX and SUFFIX off of NAME.
15662 # PREFIX and SUFFIX must not contain globbing or regex special
15663 # characters, hashes, percent signs, but SUFFIX may contain a leading
15664 # dot (in which case that matches only a dot).
15667 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15668 # positional parameters, so assign one to ordinary parameter first.
15669 func_stripname_result
=${3}
15670 func_stripname_result
=${func_stripname_result#"${1}"}
15671 func_stripname_result
=${func_stripname_result%"${2}"}
15677 func_opt_split_opt
=${1%%=*}
15678 func_opt_split_arg
=${1#*=}
15685 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15686 *) func_lo2o_result
=${1} ;;
15690 # func_xform libobj-or-source
15693 func_xform_result
=${1%.*}.lo
15696 # func_arith arithmetic-term...
15699 func_arith_result
=$
(( $
* ))
15703 # STRING may not start with a hyphen.
15706 func_len_result
=${#1}
15711 *) # Bourne compatible functions.
15712 cat << \_LT_EOF
>> "$cfgfile"
15714 # func_dirname file append nondir_replacement
15715 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15716 # otherwise set result to NONDIR_REPLACEMENT.
15719 # Extract subdirectory from the argument.
15720 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15721 if test "X$func_dirname_result" = "X${1}"; then
15722 func_dirname_result
="${3}"
15724 func_dirname_result
="$func_dirname_result${2}"
15728 # func_basename file
15731 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15735 # func_stripname prefix suffix name
15736 # strip PREFIX and SUFFIX off of NAME.
15737 # PREFIX and SUFFIX must not contain globbing or regex special
15738 # characters, hashes, percent signs, but SUFFIX may contain a leading
15739 # dot (in which case that matches only a dot).
15740 # func_strip_suffix prefix name
15744 .
*) func_stripname_result
=`$ECHO "X${3}" \
15745 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15746 *) func_stripname_result
=`$ECHO "X${3}" \
15747 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15752 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15753 my_sed_long_arg
='1s/^-[^=]*=//'
15758 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15759 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15765 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15768 # func_xform libobj-or-source
15771 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15774 # func_arith arithmetic-term...
15777 func_arith_result
=`expr "$@"`
15781 # STRING may not start with a hyphen.
15784 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15790 case $lt_shell_append in
15792 cat << \_LT_EOF
>> "$cfgfile"
15794 # func_append var value
15795 # Append VALUE to the end of shell variable VAR.
15803 cat << \_LT_EOF
>> "$cfgfile"
15805 # func_append var value
15806 # Append VALUE to the end of shell variable VAR.
15817 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15818 ||
(rm -f "$cfgfile"; exit 1)
15820 mv -f "$cfgfile" "$ofile" ||
15821 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15825 "ftconfig.h":H
) mv ftconfig.h ftconfig.tmp
15826 sed 's|/undef|#undef|' < ftconfig.tmp
> ftconfig.h
15833 { (exit 0); exit 0; }
15835 chmod +x
$CONFIG_STATUS
15836 ac_clean_files
=$ac_clean_files_save
15838 test $ac_write_fail = 0 ||
15839 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15840 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15841 { (exit 1); exit 1; }; }
15844 # configure is writing to config.log, and then calls config.status.
15845 # config.status does its own redirection, appending to config.log.
15846 # Unfortunately, on DOS this fails, as config.log is still kept open
15847 # by configure, so config.status won't be able to write to it; its
15848 # output is simply discarded. So we exec the FD to /dev/null,
15849 # effectively closing config.log, so it can be properly (re)opened and
15850 # appended to by config.status. When coming back to configure, we
15851 # need to make the FD available again.
15852 if test "$no_create" != yes; then
15854 ac_config_status_args
=
15855 test "$silent" = yes &&
15856 ac_config_status_args
="$ac_config_status_args --quiet"
15858 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15860 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15861 # would make configure fail if this is the last instruction.
15862 $ac_cs_success ||
{ (exit 1); exit 1; }
15864 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15865 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
15866 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
15870 # end of configure.raw