2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for FreeType 2.3.12.
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.12'
749 PACKAGE_STRING
='FreeType 2.3.12'
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>
789 ac_subst_vars
='LTLIBOBJS
793 hardcode_libdir_flag_spec
875 program_transform_name
887 enable_option_checking
893 with_quickdraw_toolbox
894 with_quickdraw_carbon
903 ac_precious_vars
='build_alias
914 # Initialize some variables set by options.
916 ac_init_version
=false
917 ac_unrecognized_opts
=
919 # The variables have the same names as the options, with
920 # dashes changed to underlines.
928 program_transform_name
=s
,x
,x
,
936 # Installation directory options.
937 # These are left unexpanded so users can "make install exec_prefix=/foo"
938 # and all the variables that are supposed to be based on exec_prefix
939 # by default will actually change.
940 # Use braces instead of parens because sh, perl, etc. also accept them.
941 # (The list follows the same order as the GNU Coding Standards.)
942 bindir
='${exec_prefix}/bin'
943 sbindir
='${exec_prefix}/sbin'
944 libexecdir
='${exec_prefix}/libexec'
945 datarootdir
='${prefix}/share'
946 datadir
='${datarootdir}'
947 sysconfdir
='${prefix}/etc'
948 sharedstatedir
='${prefix}/com'
949 localstatedir
='${prefix}/var'
950 includedir
='${prefix}/include'
951 oldincludedir
='/usr/include'
952 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
953 infodir
='${datarootdir}/info'
958 libdir
='${exec_prefix}/lib'
959 localedir
='${datarootdir}/locale'
960 mandir
='${datarootdir}/man'
966 # If the previous option needs an argument, assign it.
967 if test -n "$ac_prev"; then
968 eval $ac_prev=\
$ac_option
974 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
978 # Accept the important Cygnus configure options, so we can diagnose typos.
980 case $ac_dashdash$ac_option in
984 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
986 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
989 -build |
--build |
--buil |
--bui |
--bu)
990 ac_prev
=build_alias
;;
991 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
992 build_alias
=$ac_optarg ;;
994 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
995 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
996 ac_prev
=cache_file
;;
997 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
998 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
999 cache_file
=$ac_optarg ;;
1001 --config-cache |
-C)
1002 cache_file
=config.cache
;;
1004 -datadir |
--datadir |
--datadi |
--datad)
1006 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1007 datadir
=$ac_optarg ;;
1009 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1010 |
--dataroo |
--dataro |
--datar)
1011 ac_prev
=datarootdir
;;
1012 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1013 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1014 datarootdir
=$ac_optarg ;;
1016 -disable-* |
--disable-*)
1017 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1020 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1021 { (exit 1); exit 1; }; }
1022 ac_useropt_orig
=$ac_useropt
1023 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024 case $ac_user_opts in
1026 "enable_
$ac_useropt"
1028 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1029 ac_unrecognized_sep
=', ';;
1031 eval enable_
$ac_useropt=no
;;
1033 -docdir |
--docdir |
--docdi |
--doc |
--do)
1035 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1036 docdir
=$ac_optarg ;;
1038 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1040 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1041 dvidir
=$ac_optarg ;;
1043 -enable-* |
--enable-*)
1044 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1047 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1048 { (exit 1); exit 1; }; }
1049 ac_useropt_orig
=$ac_useropt
1050 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1053 "enable_
$ac_useropt"
1055 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1056 ac_unrecognized_sep
=', ';;
1058 eval enable_
$ac_useropt=\
$ac_optarg ;;
1060 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1061 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1062 |
--exec |
--exe |
--ex)
1063 ac_prev
=exec_prefix
;;
1064 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1065 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1066 |
--exec=* |
--exe=* |
--ex=*)
1067 exec_prefix
=$ac_optarg ;;
1069 -gas |
--gas |
--ga |
--g)
1070 # Obsolete; use --with-gas.
1073 -help |
--help |
--hel |
--he |
-h)
1074 ac_init_help
=long
;;
1075 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1076 ac_init_help
=recursive
;;
1077 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1078 ac_init_help
=short
;;
1080 -host |
--host |
--hos |
--ho)
1081 ac_prev
=host_alias
;;
1082 -host=* |
--host=* |
--hos=* |
--ho=*)
1083 host_alias
=$ac_optarg ;;
1085 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1087 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1089 htmldir
=$ac_optarg ;;
1091 -includedir |
--includedir |
--includedi |
--included |
--include \
1092 |
--includ |
--inclu |
--incl |
--inc)
1093 ac_prev
=includedir
;;
1094 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1095 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1096 includedir
=$ac_optarg ;;
1098 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1100 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1101 infodir
=$ac_optarg ;;
1103 -libdir |
--libdir |
--libdi |
--libd)
1105 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1106 libdir
=$ac_optarg ;;
1108 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1109 |
--libexe |
--libex |
--libe)
1110 ac_prev
=libexecdir
;;
1111 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1112 |
--libexe=* |
--libex=* |
--libe=*)
1113 libexecdir
=$ac_optarg ;;
1115 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1116 ac_prev
=localedir
;;
1117 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1118 localedir
=$ac_optarg ;;
1120 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1121 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1122 ac_prev
=localstatedir
;;
1123 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1124 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1125 localstatedir
=$ac_optarg ;;
1127 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1129 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1130 mandir
=$ac_optarg ;;
1132 -nfp |
--nfp |
--nf)
1133 # Obsolete; use --without-fp.
1136 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1137 |
--no-cr |
--no-c |
-n)
1140 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1141 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1144 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1145 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1146 |
--oldin |
--oldi |
--old |
--ol |
--o)
1147 ac_prev
=oldincludedir
;;
1148 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1149 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1150 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1151 oldincludedir
=$ac_optarg ;;
1153 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1155 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1156 prefix
=$ac_optarg ;;
1158 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1159 |
--program-pre |
--program-pr |
--program-p)
1160 ac_prev
=program_prefix
;;
1161 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1162 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1163 program_prefix
=$ac_optarg ;;
1165 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1166 |
--program-suf |
--program-su |
--program-s)
1167 ac_prev
=program_suffix
;;
1168 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1169 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1170 program_suffix
=$ac_optarg ;;
1172 -program-transform-name |
--program-transform-name \
1173 |
--program-transform-nam |
--program-transform-na \
1174 |
--program-transform-n |
--program-transform- \
1175 |
--program-transform |
--program-transfor \
1176 |
--program-transfo |
--program-transf \
1177 |
--program-trans |
--program-tran \
1178 |
--progr-tra |
--program-tr |
--program-t)
1179 ac_prev
=program_transform_name
;;
1180 -program-transform-name=* |
--program-transform-name=* \
1181 |
--program-transform-nam=* |
--program-transform-na=* \
1182 |
--program-transform-n=* |
--program-transform-=* \
1183 |
--program-transform=* |
--program-transfor=* \
1184 |
--program-transfo=* |
--program-transf=* \
1185 |
--program-trans=* |
--program-tran=* \
1186 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1187 program_transform_name
=$ac_optarg ;;
1189 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1191 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1192 pdfdir
=$ac_optarg ;;
1194 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1196 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1199 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1200 |
-silent |
--silent |
--silen |
--sile |
--sil)
1203 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1205 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1207 sbindir
=$ac_optarg ;;
1209 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1210 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1211 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1213 ac_prev
=sharedstatedir
;;
1214 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1215 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1216 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1218 sharedstatedir
=$ac_optarg ;;
1220 -site |
--site |
--sit)
1222 -site=* |
--site=* |
--sit=*)
1225 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1227 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1228 srcdir
=$ac_optarg ;;
1230 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1231 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1232 ac_prev
=sysconfdir
;;
1233 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1234 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1235 sysconfdir
=$ac_optarg ;;
1237 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1238 ac_prev
=target_alias
;;
1239 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1240 target_alias
=$ac_optarg ;;
1242 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1245 -version |
--version |
--versio |
--versi |
--vers |
-V)
1246 ac_init_version
=: ;;
1249 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1252 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1253 { (exit 1); exit 1; }; }
1254 ac_useropt_orig
=$ac_useropt
1255 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1256 case $ac_user_opts in
1260 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1261 ac_unrecognized_sep
=', ';;
1263 eval with_
$ac_useropt=\
$ac_optarg ;;
1265 -without-* |
--without-*)
1266 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1267 # Reject names that are not valid shell variable names.
1268 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1269 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1270 { (exit 1); exit 1; }; }
1271 ac_useropt_orig
=$ac_useropt
1272 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1273 case $ac_user_opts in
1277 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1278 ac_unrecognized_sep
=', ';;
1280 eval with_
$ac_useropt=no
;;
1283 # Obsolete; use --with-x.
1286 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1287 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1288 ac_prev
=x_includes
;;
1289 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1290 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1291 x_includes
=$ac_optarg ;;
1293 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1294 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1295 ac_prev
=x_libraries
;;
1296 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1297 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1298 x_libraries
=$ac_optarg ;;
1300 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1301 Try \`$0 --help' for more information." >&2
1302 { (exit 1); exit 1; }; }
1306 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1307 # Reject names that are not valid shell variable names.
1308 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1309 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1310 { (exit 1); exit 1; }; }
1311 eval $ac_envvar=\
$ac_optarg
1312 export $ac_envvar ;;
1315 # FIXME: should be removed in autoconf 3.0.
1316 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1317 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1318 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1319 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1325 if test -n "$ac_prev"; then
1326 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1327 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1328 { (exit 1); exit 1; }; }
1331 if test -n "$ac_unrecognized_opts"; then
1332 case $enable_option_checking in
1334 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1335 { (exit 1); exit 1; }; } ;;
1336 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1340 # Check all directory arguments for consistency.
1341 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1342 datadir sysconfdir sharedstatedir localstatedir includedir \
1343 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1344 libdir localedir mandir
1346 eval ac_val
=\$
$ac_var
1347 # Remove trailing slashes.
1350 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1351 eval $ac_var=\
$ac_val;;
1353 # Be sure to have absolute directory names.
1355 [\\/$
]* | ?
:[\\/]* ) continue;;
1356 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1358 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1359 { (exit 1); exit 1; }; }
1362 # There might be people who depend on the old broken behavior: `$host'
1363 # used to hold the argument of --host etc.
1364 # FIXME: To remove some day.
1367 target
=$target_alias
1369 # FIXME: To remove some day.
1370 if test "x$host_alias" != x
; then
1371 if test "x$build_alias" = x
; then
1372 cross_compiling
=maybe
1373 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1374 If a cross compiler is detected then cross compile mode will be used." >&2
1375 elif test "x$build_alias" != "x$host_alias"; then
1381 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1383 test "$silent" = yes && exec 6>/dev
/null
1386 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1387 ac_ls_di
=`ls -di .` &&
1388 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1389 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1390 { (exit 1); exit 1; }; }
1391 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1392 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1393 { (exit 1); exit 1; }; }
1396 # Find the source files, if location was not specified.
1397 if test -z "$srcdir"; then
1398 ac_srcdir_defaulted
=yes
1399 # Try the directory containing this script, then the parent directory.
1400 ac_confdir
=`$as_dirname -- "$as_myself" ||
1401 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1402 X"$as_myself" : 'X\(//\)[^/]' \| \
1403 X"$as_myself" : 'X\(//\)$' \| \
1404 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1405 $as_echo X"$as_myself" |
1406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1424 if test ! -r "$srcdir/$ac_unique_file"; then
1428 ac_srcdir_defaulted
=no
1430 if test ! -r "$srcdir/$ac_unique_file"; then
1431 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1432 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1433 { (exit 1); exit 1; }; }
1435 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1437 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1438 { (exit 1); exit 1; }; }
1440 # When building in place, set srcdir=.
1441 if test "$ac_abs_confdir" = "$ac_pwd"; then
1444 # Remove unnecessary trailing slashes from srcdir.
1445 # Double slashes in file names in object file debugging info
1446 # mess up M-x gdb in Emacs.
1448 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1450 for ac_var
in $ac_precious_vars; do
1451 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1452 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1453 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1454 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1458 # Report the --help message.
1460 if test "$ac_init_help" = "long"; then
1461 # Omit some internal or obsolete options to make the list less imposing.
1462 # This message is too long to be a string in the A/UX 3.1 sh.
1464 \`configure' configures FreeType 2.3.12 to adapt to many kinds of systems.
1466 Usage: $0 [OPTION]... [VAR=VALUE]...
1468 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1469 VAR=VALUE. See below for descriptions of some of the useful variables.
1471 Defaults for the options are specified in brackets.
1474 -h, --help display this help and exit
1475 --help=short display options specific to this package
1476 --help=recursive display the short help of all the included packages
1477 -V, --version display version information and exit
1478 -q, --quiet, --silent do not print \`checking...' messages
1479 --cache-file=FILE cache test results in FILE [disabled]
1480 -C, --config-cache alias for \`--cache-file=config.cache'
1481 -n, --no-create do not create output files
1482 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1484 Installation directories:
1485 --prefix=PREFIX install architecture-independent files in PREFIX
1486 [$ac_default_prefix]
1487 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1490 By default, \`make install' will install all the files in
1491 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1492 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1493 for instance \`--prefix=\$HOME'.
1495 For better control, use the options below.
1497 Fine tuning of the installation directories:
1498 --bindir=DIR user executables [EPREFIX/bin]
1499 --sbindir=DIR system admin executables [EPREFIX/sbin]
1500 --libexecdir=DIR program executables [EPREFIX/libexec]
1501 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1502 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1503 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1504 --libdir=DIR object code libraries [EPREFIX/lib]
1505 --includedir=DIR C header files [PREFIX/include]
1506 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1507 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1508 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1509 --infodir=DIR info documentation [DATAROOTDIR/info]
1510 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1511 --mandir=DIR man documentation [DATAROOTDIR/man]
1512 --docdir=DIR documentation root [DATAROOTDIR/doc/freetype]
1513 --htmldir=DIR html documentation [DOCDIR]
1514 --dvidir=DIR dvi documentation [DOCDIR]
1515 --pdfdir=DIR pdf documentation [DOCDIR]
1516 --psdir=DIR ps documentation [DOCDIR]
1522 --build=BUILD configure
for building on BUILD
[guessed
]
1523 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1527 if test -n "$ac_init_help"; then
1528 case $ac_init_help in
1529 short | recursive
) echo "Configuration of FreeType 2.3.12:";;
1534 --disable-option-checking ignore unrecognized
--enable/--with options
1535 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1536 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1537 --enable-biarch-config install biarch ftconfig.h to support multiple
1538 architectures by single
file
1539 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1540 --enable-static[=PKGS
] build static libraries
[default
=yes]
1541 --enable-fast-install[=PKGS
]
1542 optimize
for fast installation
[default
=yes]
1543 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1546 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1547 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1548 --without-zlib use internal zlib instead of system-wide
1549 --with-old-mac-fonts allow Mac resource-based fonts to be used
1550 --with-fsspec use obsolete FSSpec API of MacOS
, if available
1552 --with-fsref use Carbon FSRef API of MacOS
, if available
1554 --with-quickdraw-toolbox
1555 use MacOS QuickDraw
in ToolBox
, if available
1557 --with-quickdraw-carbon use MacOS QuickDraw
in Carbon
, if available
1559 --with-ats use AppleTypeService
, if available
(default
=yes)
1560 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1562 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1564 Some influential environment variables
:
1565 CC C compiler
command
1566 CFLAGS C compiler flags
1567 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1568 nonstandard directory
<lib dir
>
1569 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1570 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1571 you have headers
in a nonstandard directory
<include dir
>
1574 Use these variables to override the choices made by
`configure' or to help
1575 it to find libraries and programs with nonstandard names/locations.
1577 Report bugs to <freetype@nongnu.org>.
1582 if test "$ac_init_help" = "recursive"; then
1583 # If there are subdirs, report their specific --help.
1584 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1585 test -d "$ac_dir" ||
1586 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1591 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1593 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1594 # A ".." for each directory in $ac_dir_suffix.
1595 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1596 case $ac_top_builddir_sub in
1597 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1598 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1601 ac_abs_top_builddir=$ac_pwd
1602 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1603 # for backward compatibility:
1604 ac_top_builddir=$ac_top_build_prefix
1607 .) # We are building in place.
1609 ac_top_srcdir=$ac_top_builddir_sub
1610 ac_abs_top_srcdir=$ac_pwd ;;
1611 [\\/]* | ?:[\\/]* ) # Absolute name.
1612 ac_srcdir=$srcdir$ac_dir_suffix;
1613 ac_top_srcdir=$srcdir
1614 ac_abs_top_srcdir=$srcdir ;;
1616 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1617 ac_top_srcdir=$ac_top_build_prefix$srcdir
1618 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1620 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1622 cd "$ac_dir" || { ac_status=$?; continue; }
1623 # Check for guested configure.
1624 if test -f "$ac_srcdir/configure.gnu"; then
1626 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1627 elif test -f "$ac_srcdir/configure"; then
1629 $SHELL "$ac_srcdir/configure" --help=recursive
1631 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1633 cd "$ac_pwd" || { ac_status=$?; break; }
1637 test -n "$ac_init_help" && exit $ac_status
1638 if $ac_init_version; then
1640 FreeType configure 2.3.12
1641 generated by GNU Autoconf 2.63
1643 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1644 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1645 This configure script is free software; the Free Software Foundation
1646 gives unlimited permission to copy, distribute and modify it.
1650 cat >config.log <<_ACEOF
1651 This file contains any messages produced by compilers while
1652 running configure, to aid debugging if configure makes a mistake.
1654 It was created by FreeType $as_me 2.3.12, which was
1655 generated by GNU Autoconf 2.63. Invocation command line was
1667 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1668 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1669 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1670 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1671 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1673 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1674 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1676 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1677 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1678 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1679 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1680 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1681 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1682 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1690 test -z "$as_dir" && as_dir=.
1691 $as_echo "PATH: $as_dir"
1707 # Keep a trace of the command line.
1708 # Strip out --no-create and --no-recursion so they do not pile up.
1709 # Strip out --silent because we don't want to record it for future runs.
1710 # Also quote any args containing shell meta-characters.
1711 # Make two passes to allow for proper duplicate-argument suppression.
1715 ac_must_keep_next=false
1721 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1722 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1723 | -silent | --silent | --silen | --sile | --sil)
1726 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1729 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1731 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1732 if test $ac_must_keep_next = true; then
1733 ac_must_keep_next=false # Got value, back to normal.
1736 *=* | --config-cache | -C | -disable-* | --disable-* \
1737 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1738 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1739 | -with-* | --with-* | -without-* | --without-* | --x)
1740 case "$ac_configure_args0 " in
1741 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1744 -* ) ac_must_keep_next=true ;;
1747 ac_configure_args="$ac_configure_args '$ac_arg'"
1752 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1753 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1755 # When interrupted or exit'd, cleanup temporary files, and complete
1756 # config.log. We remove comments because anyway the quotes in there
1757 # would cause problems or look ugly.
1758 # WARNING: Use '\'' to represent an apostrophe within the trap.
1759 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1760 trap 'exit_status=$?
1761 # Save into config.log some information that might help in debugging.
1766 ## ---------------- ##
1767 ## Cache variables. ##
1768 ## ---------------- ##
1771 # The following way of writing the cache mishandles newlines in values,
1773 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1774 eval ac_val=\$$ac_var
1778 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1779 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1782 _ | IFS | as_nl) ;; #(
1783 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1784 *) $as_unset $ac_var ;;
1789 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1790 *${as_nl}ac_space=\ *)
1792 "s/'\''/'\''\\\\'\'''\''/g;
1793 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1796 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1804 ## ----------------- ##
1805 ## Output variables. ##
1806 ## ----------------- ##
1809 for ac_var in $ac_subst_vars
1811 eval ac_val=\$$ac_var
1813 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1815 $as_echo "$ac_var='\''$ac_val'\''"
1819 if test -n "$ac_subst_files"; then
1821 ## ------------------- ##
1822 ## File substitutions. ##
1823 ## ------------------- ##
1826 for ac_var in $ac_subst_files
1828 eval ac_val=\$$ac_var
1830 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1832 $as_echo "$ac_var='\''$ac_val'\''"
1837 if test -s confdefs.h; then
1847 test "$ac_signal" != 0 &&
1848 $as_echo "$as_me: caught signal $ac_signal"
1849 $as_echo "$as_me: exit $exit_status"
1851 rm -f core *.core core.conftest.* &&
1852 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1855 for ac_signal in 1 2 13 15; do
1856 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1860 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1861 rm -f -r conftest* confdefs.h
1863 # Predefined preprocessor variables.
1865 cat >>confdefs.h <<_ACEOF
1866 #define PACKAGE_NAME "$PACKAGE_NAME"
1870 cat >>confdefs.h <<_ACEOF
1871 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1875 cat >>confdefs.h <<_ACEOF
1876 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1880 cat >>confdefs.h <<_ACEOF
1881 #define PACKAGE_STRING "$PACKAGE_STRING"
1885 cat >>confdefs.h <<_ACEOF
1886 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1890 # Let the site file select an alternate cache file if it wants to.
1891 # Prefer an explicitly selected file to automatically selected ones.
1894 if test -n "$CONFIG_SITE"; then
1895 ac_site_file1=$CONFIG_SITE
1896 elif test "x$prefix" != xNONE; then
1897 ac_site_file1=$prefix/share/config.site
1898 ac_site_file2=$prefix/etc/config.site
1900 ac_site_file1=$ac_default_prefix/share/config.site
1901 ac_site_file2=$ac_default_prefix/etc/config.site
1903 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1905 test "x$ac_site_file" = xNONE && continue
1906 if test -r "$ac_site_file"; then
1907 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1908 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1909 sed 's/^/| /' "$ac_site_file" >&5
1914 if test -r "$cache_file"; then
1915 # Some versions of bash will fail to source /dev/null (special
1916 # files actually), so we avoid doing that.
1917 if test -f "$cache_file"; then
1918 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1919 $as_echo "$as_me: loading cache $cache_file" >&6;}
1921 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1922 *) . "./$cache_file";;
1926 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1927 $as_echo "$as_me: creating cache $cache_file" >&6;}
1931 # Check that the precious variables saved in the cache have kept the same
1933 ac_cache_corrupted=false
1934 for ac_var in $ac_precious_vars; do
1935 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1936 eval ac_new_set=\$ac_env_${ac_var}_set
1937 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1938 eval ac_new_val=\$ac_env_${ac_var}_value
1939 case $ac_old_set,$ac_new_set in
1941 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1942 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1943 ac_cache_corrupted=: ;;
1945 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1946 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1947 ac_cache_corrupted=: ;;
1950 if test "x$ac_old_val" != "x$ac_new_val"; then
1951 # differences in whitespace do not lead to failure.
1952 ac_old_val_w=`echo x
$ac_old_val`
1953 ac_new_val_w=`echo x
$ac_new_val`
1954 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1955 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1956 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1957 ac_cache_corrupted=:
1959 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1960 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1961 eval $ac_var=\$ac_old_val
1963 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1964 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1965 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1966 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1969 # Pass precious variables to config.status.
1970 if test "$ac_new_set" = set; then
1972 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1973 *) ac_arg=$ac_var=$ac_new_val ;;
1975 case " $ac_configure_args " in
1976 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1977 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1981 if $ac_cache_corrupted; then
1982 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1984 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1985 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1986 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1987 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1988 { (exit 1); exit 1; }; }
2016 ac_cpp='$CPP $CPPFLAGS'
2017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2025 # Don't forget to update docs/VERSION.DLL!
2027 version_info='10:0:4'
2029 ft_version=`echo $version_info | tr : .`
2033 # checks for system type
2036 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
2037 if test -f "$ac_dir/install-sh
"; then
2039 ac_install_sh="$ac_aux_dir/install-sh
-c"
2041 elif test -f "$ac_dir/install.sh
"; then
2043 ac_install_sh="$ac_aux_dir/install.sh
-c"
2045 elif test -f "$ac_dir/shtool
"; then
2047 ac_install_sh="$ac_aux_dir/shtool
install -c"
2051 if test -z "$ac_aux_dir"; then
2052 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
2053 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
2054 { (exit 1); exit 1; }; }
2057 # These three variables are undocumented and unsupported,
2058 # and are intended to be withdrawn in a future Autoconf release.
2059 # They can cause serious problems if a builder's source tree is in a directory
2060 # whose full name contains unusual characters.
2061 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2062 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2063 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2066 # Make sure we can run config.sub.
2067 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
2068 { { $as_echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
2069 $as_echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
2070 { (exit 1); exit 1; }; }
2072 { $as_echo "$as_me:$LINENO: checking build system
type" >&5
2073 $as_echo_n "checking build system
type...
" >&6; }
2074 if test "${ac_cv_build+set}" = set; then
2075 $as_echo_n "(cached
) " >&6
2077 ac_build_alias=$build_alias
2078 test "x
$ac_build_alias" = x &&
2079 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
2080 test "x
$ac_build_alias" = x &&
2081 { { $as_echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
2082 $as_echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
2083 { (exit 1); exit 1; }; }
2084 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
2085 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
2086 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
2087 { (exit 1); exit 1; }; }
2090 { $as_echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
2091 $as_echo "$ac_cv_build" >&6; }
2092 case $ac_cv_build in
2094 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
2095 $as_echo "$as_me: error
: invalid value of canonical build
" >&2;}
2096 { (exit 1); exit 1; }; };;
2099 ac_save_IFS=$IFS; IFS='-'
2105 # Remember, the first character of IFS is used to create $*,
2106 # except with old shells:
2109 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2112 { $as_echo "$as_me:$LINENO: checking
host system
type" >&5
2113 $as_echo_n "checking
host system
type...
" >&6; }
2114 if test "${ac_cv_host+set}" = set; then
2115 $as_echo_n "(cached
) " >&6
2117 if test "x
$host_alias" = x; then
2118 ac_cv_host=$ac_cv_build
2120 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2121 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
2122 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
2123 { (exit 1); exit 1; }; }
2127 { $as_echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
2128 $as_echo "$ac_cv_host" >&6; }
2131 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
2132 $as_echo "$as_me: error
: invalid value of canonical
host" >&2;}
2133 { (exit 1); exit 1; }; };;
2136 ac_save_IFS=$IFS; IFS='-'
2142 # Remember, the first character of IFS is used to create $*,
2143 # except with old shells:
2146 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2151 # checks for programs
2154 ac_cpp='$CPP $CPPFLAGS'
2155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2158 if test -n "$ac_tool_prefix"; then
2159 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2160 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2161 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2162 $as_echo_n "checking
for $ac_word...
" >&6; }
2163 if test "${ac_cv_prog_CC+set}" = set; then
2164 $as_echo_n "(cached
) " >&6
2166 if test -n "$CC"; then
2167 ac_cv_prog_CC="$CC" # Let the user override the test.
2169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2173 test -z "$as_dir" && as_dir=.
2174 for ac_exec_ext in '' $ac_executable_extensions; do
2175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2176 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2177 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2187 if test -n "$CC"; then
2188 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2189 $as_echo "$CC" >&6; }
2191 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2192 $as_echo "no
" >&6; }
2197 if test -z "$ac_cv_prog_CC"; then
2199 # Extract the first word of "gcc
", so it can be a program name with args.
2200 set dummy gcc; ac_word=$2
2201 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2202 $as_echo_n "checking
for $ac_word...
" >&6; }
2203 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2204 $as_echo_n "(cached
) " >&6
2206 if test -n "$ac_ct_CC"; then
2207 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2213 test -z "$as_dir" && as_dir=.
2214 for ac_exec_ext in '' $ac_executable_extensions; do
2215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2216 ac_cv_prog_ac_ct_CC="gcc
"
2217 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2226 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2227 if test -n "$ac_ct_CC"; then
2228 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2229 $as_echo "$ac_ct_CC" >&6; }
2231 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2232 $as_echo "no
" >&6; }
2235 if test "x
$ac_ct_CC" = x; then
2238 case $cross_compiling:$ac_tool_warned in
2240 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2241 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2242 ac_tool_warned=yes ;;
2250 if test -z "$CC"; then
2251 if test -n "$ac_tool_prefix"; then
2252 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2253 set dummy ${ac_tool_prefix}cc; ac_word=$2
2254 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2255 $as_echo_n "checking
for $ac_word...
" >&6; }
2256 if test "${ac_cv_prog_CC+set}" = set; then
2257 $as_echo_n "(cached
) " >&6
2259 if test -n "$CC"; then
2260 ac_cv_prog_CC="$CC" # Let the user override the test.
2262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 test -z "$as_dir" && as_dir=.
2267 for ac_exec_ext in '' $ac_executable_extensions; do
2268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2269 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2270 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2280 if test -n "$CC"; then
2281 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2282 $as_echo "$CC" >&6; }
2284 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2285 $as_echo "no
" >&6; }
2291 if test -z "$CC"; then
2292 # Extract the first word of "cc
", so it can be a program name with args.
2293 set dummy cc; ac_word=$2
2294 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2295 $as_echo_n "checking
for $ac_word...
" >&6; }
2296 if test "${ac_cv_prog_CC+set}" = set; then
2297 $as_echo_n "(cached
) " >&6
2299 if test -n "$CC"; then
2300 ac_cv_prog_CC="$CC" # Let the user override the test.
2303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307 test -z "$as_dir" && as_dir=.
2308 for ac_exec_ext in '' $ac_executable_extensions; do
2309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2310 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2311 ac_prog_rejected=yes
2315 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2322 if test $ac_prog_rejected = yes; then
2323 # We found a bogon in the path, so make sure we never use it.
2324 set dummy $ac_cv_prog_CC
2326 if test $# != 0; then
2327 # We chose a different compiler from the bogus one.
2328 # However, it has the same basename, so the bogon will be chosen
2329 # first if we set CC to just the basename; use the full file name.
2331 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2337 if test -n "$CC"; then
2338 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2339 $as_echo "$CC" >&6; }
2341 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2342 $as_echo "no
" >&6; }
2347 if test -z "$CC"; then
2348 if test -n "$ac_tool_prefix"; then
2349 for ac_prog in cl.exe
2351 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2352 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2353 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2354 $as_echo_n "checking
for $ac_word...
" >&6; }
2355 if test "${ac_cv_prog_CC+set}" = set; then
2356 $as_echo_n "(cached
) " >&6
2358 if test -n "$CC"; then
2359 ac_cv_prog_CC="$CC" # Let the user override the test.
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365 test -z "$as_dir" && as_dir=.
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2368 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2369 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2379 if test -n "$CC"; then
2380 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2381 $as_echo "$CC" >&6; }
2383 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2384 $as_echo "no
" >&6; }
2388 test -n "$CC" && break
2391 if test -z "$CC"; then
2393 for ac_prog in cl.exe
2395 # Extract the first word of "$ac_prog", so it can be a program name with args.
2396 set dummy $ac_prog; ac_word=$2
2397 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2398 $as_echo_n "checking
for $ac_word...
" >&6; }
2399 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2400 $as_echo_n "(cached
) " >&6
2402 if test -n "$ac_ct_CC"; then
2403 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2409 test -z "$as_dir" && as_dir=.
2410 for ac_exec_ext in '' $ac_executable_extensions; do
2411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2412 ac_cv_prog_ac_ct_CC="$ac_prog"
2413 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2422 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2423 if test -n "$ac_ct_CC"; then
2424 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2425 $as_echo "$ac_ct_CC" >&6; }
2427 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2428 $as_echo "no
" >&6; }
2432 test -n "$ac_ct_CC" && break
2435 if test "x
$ac_ct_CC" = x; then
2438 case $cross_compiling:$ac_tool_warned in
2440 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2441 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2442 ac_tool_warned=yes ;;
2451 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2453 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2454 See \`config.log' for more details.
" >&5
2455 $as_echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2456 See \
`config.log' for more details." >&2;}
2457 { (exit 1); exit 1; }; }; }
2459 # Provide some information about the compiler.
2460 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2463 { (ac_try="$ac_compiler --version >&5"
2465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2466 *) ac_try_echo
=$ac_try;;
2468 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2469 $as_echo "$ac_try_echo") >&5
2470 (eval "$ac_compiler --version >&5") 2>&5
2472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473 (exit $ac_status); }
2474 { (ac_try
="$ac_compiler -v >&5"
2476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2480 $as_echo "$ac_try_echo") >&5
2481 (eval "$ac_compiler -v >&5") 2>&5
2483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }
2485 { (ac_try="$ac_compiler -V >&5"
2487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2488 *) ac_try_echo
=$ac_try;;
2490 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2491 $as_echo "$ac_try_echo") >&5
2492 (eval "$ac_compiler -V >&5") 2>&5
2494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); }
2497 cat >conftest.
$ac_ext <<_ACEOF
2500 cat confdefs.h
>>conftest.
$ac_ext
2501 cat >>conftest.
$ac_ext <<_ACEOF
2502 /* end confdefs.h. */
2512 ac_clean_files_save
=$ac_clean_files
2513 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2514 # Try to create an executable without -o first, disregard a.out.
2515 # It will help us diagnose broken compilers, and finding out an intuition
2517 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2518 $as_echo_n "checking for C compiler default output file name... " >&6; }
2519 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2521 # The possible output files:
2522 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2525 for ac_file
in $ac_files
2528 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2529 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2534 if { (ac_try
="$ac_link_default"
2536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2539 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2540 $as_echo "$ac_try_echo") >&5
2541 (eval "$ac_link_default") 2>&5
2543 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; then
2545 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2546 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2547 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2548 # so that the user can short-circuit this test for compilers unknown to
2550 for ac_file in $ac_files ''
2552 test -f "$ac_file" || continue
2554 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2557 # We found the default executable, but exeext='' is most
2561 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2563 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2565 # We set ac_cv_exeext here because the later test for it is not
2566 # safe: cross compilers may not add the suffix if given an `-o'
2567 # argument, so we may need to know it at that point already.
2568 # Even if this section looks crufty: it has the advantage of
2575 test "$ac_cv_exeext" = no && ac_cv_exeext=
2581 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2582 $as_echo "$ac_file" >&6; }
2583 if test -z "$ac_file"; then
2584 $as_echo "$as_me: failed program was:" >&5
2585 sed 's
/^
/|
/' conftest.$ac_ext >&5
2587 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2588 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2589 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2590 See \`config.log
' for more details." >&5
2591 $as_echo "$as_me: error: C compiler cannot create executables
2592 See \`config.log' for more details.
" >&2;}
2593 { (exit 77); exit 77; }; }; }
2596 ac_exeext=$ac_cv_exeext
2598 # Check that the compiler produces executables we can run. If not, either
2599 # the compiler is broken, or we cross compile.
2600 { $as_echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2601 $as_echo_n "checking whether the C compiler works...
" >&6; }
2602 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2603 # If not cross compiling, check that we can run a simple program.
2604 if test "$cross_compiling" != yes; then
2605 if { ac_try='./$ac_file'
2606 { (case "(($ac_try" in
2607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2608 *) ac_try_echo=$ac_try;;
2610 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2611 $as_echo "$ac_try_echo") >&5
2612 (eval "$ac_try") 2>&5
2614 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2615 (exit $ac_status); }; }; then
2618 if test "$cross_compiling" = maybe; then
2621 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2623 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2624 If you meant to cross compile, use \`--host'.
2625 See \
`config.log' for more details." >&5
2626 $as_echo "$as_me: error: cannot run C compiled programs.
2627 If you meant to cross compile, use \`--host'.
2628 See \`config.log' for more details.
" >&2;}
2629 { (exit 1); exit 1; }; }; }
2633 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2634 $as_echo "yes" >&6; }
2636 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2637 ac_clean_files=$ac_clean_files_save
2638 # Check that the compiler produces executables we can run. If not, either
2639 # the compiler is broken, or we cross compile.
2640 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2641 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2642 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2643 $as_echo "$cross_compiling" >&6; }
2645 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2646 $as_echo_n "checking
for suffix of executables...
" >&6; }
2647 if { (ac_try="$ac_link"
2649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2650 *) ac_try_echo=$ac_try;;
2652 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2653 $as_echo "$ac_try_echo") >&5
2654 (eval "$ac_link") 2>&5
2656 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2657 (exit $ac_status); }; then
2658 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2659 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2660 # work properly (i.e., refer to `conftest.exe'), while it won't with
2662 for ac_file in conftest.exe conftest conftest.*; do
2663 test -f "$ac_file" || continue
2665 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2666 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2672 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2674 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2675 See \`config.log' for more details.
" >&5
2676 $as_echo "$as_me: error
: cannot compute suffix of executables
: cannot compile and link
2677 See \
`config.log' for more details." >&2;}
2678 { (exit 1); exit 1; }; }; }
2681 rm -f conftest$ac_cv_exeext
2682 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2683 $as_echo "$ac_cv_exeext" >&6; }
2685 rm -f conftest.$ac_ext
2686 EXEEXT=$ac_cv_exeext
2688 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2689 $as_echo_n "checking for suffix of object files... " >&6; }
2690 if test "${ac_cv_objext+set}" = set; then
2691 $as_echo_n "(cached) " >&6
2693 cat >conftest.$ac_ext <<_ACEOF
2696 cat confdefs.h >>conftest.$ac_ext
2697 cat >>conftest.$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2708 rm -f conftest.o conftest.obj
2709 if { (ac_try="$ac_compile"
2711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2712 *) ac_try_echo
=$ac_try;;
2714 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2715 $as_echo "$ac_try_echo") >&5
2716 (eval "$ac_compile") 2>&5
2718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; then
2720 for ac_file
in conftest.o conftest.obj conftest.
*; do
2721 test -f "$ac_file" ||
continue;
2723 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2724 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2729 $as_echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.
$ac_ext >&5
2732 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2734 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2735 See \`config.log' for more details." >&5
2736 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2737 See \`config.log' for more details." >&2;}
2738 { (exit 1); exit 1; }; }; }
2741 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2743 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2744 $as_echo "$ac_cv_objext" >&6; }
2745 OBJEXT
=$ac_cv_objext
2747 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2748 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2749 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2750 $as_echo_n "(cached) " >&6
2752 cat >conftest.
$ac_ext <<_ACEOF
2755 cat confdefs.h
>>conftest.
$ac_ext
2756 cat >>conftest.
$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2770 rm -f conftest.
$ac_objext
2771 if { (ac_try
="$ac_compile"
2773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2774 *) ac_try_echo=$ac_try;;
2776 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2777 $as_echo "$ac_try_echo") >&5
2778 (eval "$ac_compile") 2>conftest.er1
2780 grep -v '^ *+' conftest.er1 >conftest.err
2782 cat conftest.err >&5
2783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); } && {
2785 test -z "$ac_c_werror_flag" ||
2786 test ! -s conftest.err
2787 } && test -s conftest.$ac_objext; then
2790 $as_echo "$as_me: failed program was:" >&5
2791 sed 's/^/| /' conftest.$ac_ext >&5
2796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2797 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2800 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2801 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2802 if test $ac_compiler_gnu = yes; then
2807 ac_test_CFLAGS=${CFLAGS+set}
2808 ac_save_CFLAGS=$CFLAGS
2809 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2810 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2811 if test "${ac_cv_prog_cc_g+set}" = set; then
2812 $as_echo_n "(cached) " >&6
2814 ac_save_c_werror_flag=$ac_c_werror_flag
2815 ac_c_werror_flag=yes
2818 cat >conftest.$ac_ext <<_ACEOF
2821 cat confdefs.h >>conftest.$ac_ext
2822 cat >>conftest.$ac_ext <<_ACEOF
2823 /* end confdefs.h. */
2833 rm -f conftest.$ac_objext
2834 if { (ac_try="$ac_compile"
2836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2837 *) ac_try_echo
=$ac_try;;
2839 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2840 $as_echo "$ac_try_echo") >&5
2841 (eval "$ac_compile") 2>conftest.er1
2843 grep -v '^ *+' conftest.er1
>conftest.err
2845 cat conftest.err
>&5
2846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); } && {
2848 test -z "$ac_c_werror_flag" ||
2849 test ! -s conftest.err
2850 } && test -s conftest.
$ac_objext; then
2853 $as_echo "$as_me: failed program was:" >&5
2854 sed 's/^/| /' conftest.
$ac_ext >&5
2857 cat >conftest.
$ac_ext <<_ACEOF
2860 cat confdefs.h
>>conftest.
$ac_ext
2861 cat >>conftest.
$ac_ext <<_ACEOF
2862 /* end confdefs.h. */
2872 rm -f conftest.
$ac_objext
2873 if { (ac_try
="$ac_compile"
2875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2879 $as_echo "$ac_try_echo") >&5
2880 (eval "$ac_compile") 2>conftest.er1
2882 grep -v '^ *+' conftest.er1 >conftest.err
2884 cat conftest.err >&5
2885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); } && {
2887 test -z "$ac_c_werror_flag" ||
2888 test ! -s conftest.err
2889 } && test -s conftest.$ac_objext; then
2892 $as_echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2895 ac_c_werror_flag=$ac_save_c_werror_flag
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
2938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2945 ac_c_werror_flag
=$ac_save_c_werror_flag
2947 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2948 $as_echo "$ac_cv_prog_cc_g" >&6; }
2949 if test "$ac_test_CFLAGS" = set; then
2950 CFLAGS
=$ac_save_CFLAGS
2951 elif test $ac_cv_prog_cc_g = yes; then
2952 if test "$GCC" = yes; then
2958 if test "$GCC" = yes; then
2964 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2965 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2966 if test "${ac_cv_prog_cc_c89+set}" = set; then
2967 $as_echo_n "(cached) " >&6
2969 ac_cv_prog_cc_c89
=no
2971 cat >conftest.
$ac_ext <<_ACEOF
2974 cat confdefs.h
>>conftest.
$ac_ext
2975 cat >>conftest.
$ac_ext <<_ACEOF
2976 /* end confdefs.h. */
2979 #include <sys/types.h>
2980 #include <sys/stat.h>
2981 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2982 struct buf { int x; };
2983 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2984 static char *e (p, i)
2990 static char *f (char * (*g) (char **, int), char **p, ...)
2995 s = g (p, va_arg (v,int));
3000 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3001 function prototypes and stuff, but not '\xHH' hex character constants.
3002 These don't provoke an error unfortunately, instead are silently treated
3003 as 'x'. The following induces an error, until -std is added to get
3004 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3005 array size at least. It's necessary to write '\x00'==0 to get something
3006 that's true only with -std. */
3007 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3009 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3010 inside strings and character constants. */
3012 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3014 int test (int i, double x);
3015 struct s1 {int (*f) (int a);};
3016 struct s2 {int (*f) (double a);};
3017 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3023 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3028 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3029 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3031 CC
="$ac_save_CC $ac_arg"
3032 rm -f conftest.
$ac_objext
3033 if { (ac_try
="$ac_compile"
3035 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3036 *) ac_try_echo=$ac_try;;
3038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3039 $as_echo "$ac_try_echo") >&5
3040 (eval "$ac_compile") 2>conftest.er1
3042 grep -v '^ *+' conftest.er1 >conftest.err
3044 cat conftest.err >&5
3045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); } && {
3047 test -z "$ac_c_werror_flag" ||
3048 test ! -s conftest.err
3049 } && test -s conftest.$ac_objext; then
3050 ac_cv_prog_cc_c89=$ac_arg
3052 $as_echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.$ac_ext >&5
3058 rm -f core conftest.err conftest.$ac_objext
3059 test "x$ac_cv_prog_cc_c89" != "xno" && break
3061 rm -f conftest.$ac_ext
3066 case "x$ac_cv_prog_cc_c89" in
3068 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3069 $as_echo "none needed" >&6; } ;;
3071 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3072 $as_echo "unsupported" >&6; } ;;
3074 CC="$CC $ac_cv_prog_cc_c89"
3075 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3076 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3081 ac_cpp='$CPP $CPPFLAGS'
3082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3087 ac_cpp='$CPP $CPPFLAGS'
3088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3091 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3092 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3093 # On Suns, sometimes $CPP names a directory.
3094 if test -n "$CPP" && test -d "$CPP"; then
3097 if test -z "$CPP"; then
3098 if test "${ac_cv_prog_CPP+set}" = set; then
3099 $as_echo_n "(cached) " >&6
3101 # Double quotes because CPP needs to be expanded
3102 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3105 for ac_c_preproc_warn_flag in '' yes
3107 # Use a header file that comes with gcc, so configuring glibc
3108 # with a fresh cross-compiler works.
3109 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3110 # <limits.h> exists even on freestanding compilers.
3111 # On the NeXT, cc -E runs the code through the compiler's parser,
3112 # not just through cpp. "Syntax error" is here to catch this case.
3113 cat >conftest.$ac_ext <<_ACEOF
3116 cat confdefs.h >>conftest.$ac_ext
3117 cat >>conftest.$ac_ext <<_ACEOF
3118 /* end confdefs.h. */
3120 # include <limits.h>
3122 # include <assert.h>
3126 if { (ac_try="$ac_cpp conftest.$ac_ext"
3128 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3129 *) ac_try_echo
=$ac_try;;
3131 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3132 $as_echo "$ac_try_echo") >&5
3133 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3135 grep -v '^ *+' conftest.er1
>conftest.err
3137 cat conftest.err
>&5
3138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } >/dev
/null
&& {
3140 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3141 test ! -s conftest.err
3145 $as_echo "$as_me: failed program was:" >&5
3146 sed 's/^/| /' conftest.
$ac_ext >&5
3148 # Broken: fails on valid input.
3152 rm -f conftest.err conftest.
$ac_ext
3154 # OK, works on sane cases. Now check whether nonexistent headers
3155 # can be detected and how.
3156 cat >conftest.
$ac_ext <<_ACEOF
3159 cat confdefs.h
>>conftest.
$ac_ext
3160 cat >>conftest.
$ac_ext <<_ACEOF
3161 /* end confdefs.h. */
3162 #include <ac_nonexistent.h>
3164 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3170 $as_echo "$ac_try_echo") >&5
3171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3173 grep -v '^ *+' conftest.er1 >conftest.err
3175 cat conftest.err >&5
3176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); } >/dev/null && {
3178 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3179 test ! -s conftest.err
3181 # Broken: success on invalid input.
3184 $as_echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.$ac_ext >&5
3187 # Passes both tests.
3192 rm -f conftest.err conftest.$ac_ext
3195 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3196 rm -f conftest.err conftest.
$ac_ext
3197 if $ac_preproc_ok; then
3209 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3210 $as_echo "$CPP" >&6; }
3212 for ac_c_preproc_warn_flag
in '' yes
3214 # Use a header file that comes with gcc, so configuring glibc
3215 # with a fresh cross-compiler works.
3216 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3217 # <limits.h> exists even on freestanding compilers.
3218 # On the NeXT, cc -E runs the code through the compiler's parser,
3219 # not just through cpp. "Syntax error" is here to catch this case.
3220 cat >conftest.
$ac_ext <<_ACEOF
3223 cat confdefs.h
>>conftest.
$ac_ext
3224 cat >>conftest.
$ac_ext <<_ACEOF
3225 /* end confdefs.h. */
3227 # include <limits.h>
3229 # include <assert.h>
3233 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3235 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3236 *) ac_try_echo=$ac_try;;
3238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3239 $as_echo "$ac_try_echo") >&5
3240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3242 grep -v '^ *+' conftest.er1 >conftest.err
3244 cat conftest.err >&5
3245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); } >/dev/null && {
3247 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3248 test ! -s conftest.err
3252 $as_echo "$as_me: failed program was:" >&5
3253 sed 's/^/| /' conftest.$ac_ext >&5
3255 # Broken: fails on valid input.
3259 rm -f conftest.err conftest.$ac_ext
3261 # OK, works on sane cases. Now check whether nonexistent headers
3262 # can be detected and how.
3263 cat >conftest.$ac_ext <<_ACEOF
3266 cat confdefs.h >>conftest.$ac_ext
3267 cat >>conftest.$ac_ext <<_ACEOF
3268 /* end confdefs.h. */
3269 #include <ac_nonexistent.h>
3271 if { (ac_try="$ac_cpp conftest.$ac_ext"
3273 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3274 *) ac_try_echo
=$ac_try;;
3276 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3277 $as_echo "$ac_try_echo") >&5
3278 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3280 grep -v '^ *+' conftest.er1
>conftest.err
3282 cat conftest.err
>&5
3283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); } >/dev
/null
&& {
3285 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3286 test ! -s conftest.err
3288 # Broken: success on invalid input.
3291 $as_echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.
$ac_ext >&5
3294 # Passes both tests.
3299 rm -f conftest.err conftest.
$ac_ext
3302 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3303 rm -f conftest.err conftest.
$ac_ext
3304 if $ac_preproc_ok; then
3307 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3309 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3310 See \`config.log' for more details." >&5
3311 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3312 See \`config.log' for more details." >&2;}
3313 { (exit 1); exit 1; }; }; }
3317 ac_cpp
='$CPP $CPPFLAGS'
3318 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3325 # checks for native programs to generate building tool
3327 if test ${cross_compiling} = yes; then
3328 # Extract the first word of "${build}-gcc", so it can be a program name with args.
3329 set dummy
${build}-gcc; ac_word
=$2
3330 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3331 $as_echo_n "checking for $ac_word... " >&6; }
3332 if test "${ac_cv_prog_CC_BUILD+set}" = set; then
3333 $as_echo_n "(cached) " >&6
3335 if test -n "$CC_BUILD"; then
3336 ac_cv_prog_CC_BUILD
="$CC_BUILD" # Let the user override the test.
3338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3342 test -z "$as_dir" && as_dir
=.
3343 for ac_exec_ext
in '' $ac_executable_extensions; do
3344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3345 ac_cv_prog_CC_BUILD
="${build}-gcc"
3346 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3355 CC_BUILD
=$ac_cv_prog_CC_BUILD
3356 if test -n "$CC_BUILD"; then
3357 { $as_echo "$as_me:$LINENO: result: $CC_BUILD" >&5
3358 $as_echo "$CC_BUILD" >&6; }
3360 { $as_echo "$as_me:$LINENO: result: no" >&5
3361 $as_echo "no" >&6; }
3365 test -z "${CC_BUILD}" && # Extract the first word of "gcc", so it can be a program name with args.
3366 set dummy gcc
; ac_word
=$2
3367 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3368 $as_echo_n "checking for $ac_word... " >&6; }
3369 if test "${ac_cv_prog_CC_BUILD+set}" = set; then
3370 $as_echo_n "(cached) " >&6
3372 if test -n "$CC_BUILD"; then
3373 ac_cv_prog_CC_BUILD
="$CC_BUILD" # Let the user override the test.
3375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3379 test -z "$as_dir" && as_dir
=.
3380 for ac_exec_ext
in '' $ac_executable_extensions; do
3381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3382 ac_cv_prog_CC_BUILD
="gcc"
3383 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3392 CC_BUILD
=$ac_cv_prog_CC_BUILD
3393 if test -n "$CC_BUILD"; then
3394 { $as_echo "$as_me:$LINENO: result: $CC_BUILD" >&5
3395 $as_echo "$CC_BUILD" >&6; }
3397 { $as_echo "$as_me:$LINENO: result: no" >&5
3398 $as_echo "no" >&6; }
3402 test -z "${CC_BUILD}" && # Extract the first word of "cc", so it can be a program name with args.
3403 set dummy cc
; ac_word
=$2
3404 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3405 $as_echo_n "checking for $ac_word... " >&6; }
3406 if test "${ac_cv_prog_CC_BUILD+set}" = set; then
3407 $as_echo_n "(cached) " >&6
3409 if test -n "$CC_BUILD"; then
3410 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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3421 ac_prog_rejected
=yes
3424 ac_cv_prog_CC_BUILD
="cc"
3425 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3432 if test $ac_prog_rejected = yes; then
3433 # We found a bogon in the path, so make sure we never use it.
3434 set dummy
$ac_cv_prog_CC_BUILD
3436 if test $# != 0; then
3437 # We chose a different compiler from the bogus one.
3438 # However, it has the same basename, so the bogon will be chosen
3439 # first if we set CC_BUILD to just the basename; use the full file name.
3441 ac_cv_prog_CC_BUILD
="$as_dir/$ac_word${1+' '}$@"
3446 CC_BUILD
=$ac_cv_prog_CC_BUILD
3447 if test -n "$CC_BUILD"; then
3448 { $as_echo "$as_me:$LINENO: result: $CC_BUILD" >&5
3449 $as_echo "$CC_BUILD" >&6; }
3451 { $as_echo "$as_me:$LINENO: result: no" >&5
3452 $as_echo "no" >&6; }
3456 test -z "${CC_BUILD}" && { { $as_echo "$as_me:$LINENO: error: cannot find native C compiler" >&5
3457 $as_echo "$as_me: error: cannot find native C compiler" >&2;}
3458 { (exit 1); exit 1; }; }
3460 { $as_echo "$as_me:$LINENO: checking for suffix of native executables" >&5
3461 $as_echo_n "checking for suffix of native executables... " >&6; }
3462 rm -f a.
* b.
* a_out.exe conftest.
*
3463 echo > conftest.c
"int main() { return 0;}"
3464 ${CC_BUILD} conftest.c ||
{ { $as_echo "$as_me:$LINENO: error: native C compiler is not working" >&5
3465 $as_echo "$as_me: error: native C compiler is not working" >&2;}
3466 { (exit 1); exit 1; }; }
3468 if test -x a.out
-o -x b.out
-o -x conftest
; then
3470 elif test -x a_out.exe
-o -x conftest.exe
; then
3472 elif test -x conftest.
* ; then
3473 EXEEXT_BUILD
=`echo conftest.* | sed -n '1s/^.*\././'`
3475 rm -f a.
* b.
* a_out.exe conftest.
*
3476 { $as_echo "$as_me:$LINENO: result: $EXEEXT_BUILD" >&5
3477 $as_echo "$EXEEXT_BUILD" >&6; }
3480 EXEEXT_BUILD
=${EXEEXT}
3488 # get compiler flags right
3490 if test "x$GCC" = xyes
; then
3492 XX_ANSIFLAGS
="-pedantic -ansi"
3497 XX_CFLAGS
="-std1 -g3"
3510 # auxiliary programs
3512 # Extract the first word of "rm", so it can be a program name with args.
3513 set dummy
rm; ac_word
=$2
3514 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3515 $as_echo_n "checking for $ac_word... " >&6; }
3516 if test "${ac_cv_prog_RMF+set}" = set; then
3517 $as_echo_n "(cached) " >&6
3519 if test -n "$RMF"; then
3520 ac_cv_prog_RMF
="$RMF" # Let the user override the test.
3522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3526 test -z "$as_dir" && as_dir
=.
3527 for ac_exec_ext
in '' $ac_executable_extensions; do
3528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3529 ac_cv_prog_RMF
="rm -f"
3530 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3540 if test -n "$RMF"; then
3541 { $as_echo "$as_me:$LINENO: result: $RMF" >&5
3542 $as_echo "$RMF" >&6; }
3544 { $as_echo "$as_me:$LINENO: result: no" >&5
3545 $as_echo "no" >&6; }
3549 # Extract the first word of "rmdir", so it can be a program name with args.
3550 set dummy
rmdir; ac_word
=$2
3551 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3552 $as_echo_n "checking for $ac_word... " >&6; }
3553 if test "${ac_cv_prog_RMDIR+set}" = set; then
3554 $as_echo_n "(cached) " >&6
3556 if test -n "$RMDIR"; then
3557 ac_cv_prog_RMDIR
="$RMDIR" # Let the user override the test.
3559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3563 test -z "$as_dir" && as_dir
=.
3564 for ac_exec_ext
in '' $ac_executable_extensions; do
3565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3566 ac_cv_prog_RMDIR
="rmdir"
3567 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 RMDIR
=$ac_cv_prog_RMDIR
3577 if test -n "$RMDIR"; then
3578 { $as_echo "$as_me:$LINENO: result: $RMDIR" >&5
3579 $as_echo "$RMDIR" >&6; }
3581 { $as_echo "$as_me:$LINENO: result: no" >&5
3582 $as_echo "no" >&6; }
3588 # Since this file will be finally moved to another directory we make
3589 # the path of the install script absolute. This small code snippet has
3590 # been taken from automake's `ylwrap' script.
3592 # Find a good install program. We prefer a C program (faster),
3593 # so one script is as good as another. But avoid the broken or
3594 # incompatible versions:
3595 # SysV /etc/install, /usr/sbin/install
3596 # SunOS /usr/etc/install
3597 # IRIX /sbin/install
3599 # AmigaOS /C/install, which installs bootblocks on floppy discs
3600 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3601 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3602 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3603 # OS/2's system install, which has a completely different semantic
3604 # ./install, which can be erroneously created by make from ./install.sh.
3605 # Reject install programs that cannot install multiple files.
3606 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3607 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3608 if test -z "$INSTALL"; then
3609 if test "${ac_cv_path_install+set}" = set; then
3610 $as_echo_n "(cached) " >&6
3612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3616 test -z "$as_dir" && as_dir
=.
3617 # Account for people who put trailing slashes in PATH elements.
3619 .
/ | .
// |
/cC
/* | \
3620 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3621 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3624 # OSF1 and SCO ODT 3.0 have their own names for install.
3625 # Don't use installbsd from OSF since it installs stuff as root
3627 for ac_prog
in ginstall scoinst
install; do
3628 for ac_exec_ext
in '' $ac_executable_extensions; do
3629 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3630 if test $ac_prog = install &&
3631 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3632 # AIX install. It has an incompatible calling convention.
3634 elif test $ac_prog = install &&
3635 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3636 # program-specific install script used by HP pwplus--don't use.
3639 rm -rf conftest.one conftest.two conftest.dir
3640 echo one
> conftest.one
3641 echo two
> conftest.two
3643 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3644 test -s conftest.one
&& test -s conftest.two
&&
3645 test -s conftest.dir
/conftest.one
&&
3646 test -s conftest.dir
/conftest.two
3648 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3661 rm -rf conftest.one conftest.two conftest.dir
3664 if test "${ac_cv_path_install+set}" = set; then
3665 INSTALL
=$ac_cv_path_install
3667 # As a last resort, use the slow shell script. Don't cache a
3668 # value for INSTALL within a source directory, because that will
3669 # break other packages using the cache if that directory is
3670 # removed, or if the value is a relative name.
3671 INSTALL
=$ac_install_sh
3674 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3675 $as_echo "$INSTALL" >&6; }
3677 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3678 # It thinks the first close brace ends the variable substitution.
3679 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3681 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3683 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3689 INSTALL
="`pwd`/$INSTALL" ;;
3693 # checks for header files
3697 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3698 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3699 if test "${ac_cv_path_GREP+set}" = set; then
3700 $as_echo_n "(cached) " >&6
3702 if test -z "$GREP"; then
3703 ac_path_GREP_found
=false
3704 # Loop through the user's path and test for each of PROGNAME-LIST
3705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3706 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3709 test -z "$as_dir" && as_dir
=.
3710 for ac_prog
in grep ggrep
; do
3711 for ac_exec_ext
in '' $ac_executable_extensions; do
3712 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3713 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3714 # Check for GNU ac_path_GREP and select it if it is found.
3715 # Check for GNU $ac_path_GREP
3716 case `"$ac_path_GREP" --version 2>&1` in
3718 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3721 $as_echo_n 0123456789 >"conftest.in"
3724 cat "conftest.in" "conftest.in" >"conftest.tmp"
3725 mv "conftest.tmp" "conftest.in"
3726 cp "conftest.in" "conftest.nl"
3727 $as_echo 'GREP' >> "conftest.nl"
3728 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3729 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3730 ac_count
=`expr $ac_count + 1`
3731 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3732 # Best one so far, save it but keep looking for a better one
3733 ac_cv_path_GREP
="$ac_path_GREP"
3734 ac_path_GREP_max
=$ac_count
3736 # 10*(2^10) chars as input seems more than enough
3737 test $ac_count -gt 10 && break
3739 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3742 $ac_path_GREP_found && break 3
3747 if test -z "$ac_cv_path_GREP"; then
3748 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3749 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3750 { (exit 1); exit 1; }; }
3753 ac_cv_path_GREP
=$GREP
3757 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3758 $as_echo "$ac_cv_path_GREP" >&6; }
3759 GREP
="$ac_cv_path_GREP"
3762 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3763 $as_echo_n "checking for egrep... " >&6; }
3764 if test "${ac_cv_path_EGREP+set}" = set; then
3765 $as_echo_n "(cached) " >&6
3767 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3768 then ac_cv_path_EGREP
="$GREP -E"
3770 if test -z "$EGREP"; then
3771 ac_path_EGREP_found
=false
3772 # Loop through the user's path and test for each of PROGNAME-LIST
3773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3774 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3777 test -z "$as_dir" && as_dir
=.
3778 for ac_prog
in egrep; do
3779 for ac_exec_ext
in '' $ac_executable_extensions; do
3780 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3781 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3782 # Check for GNU ac_path_EGREP and select it if it is found.
3783 # Check for GNU $ac_path_EGREP
3784 case `"$ac_path_EGREP" --version 2>&1` in
3786 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3789 $as_echo_n 0123456789 >"conftest.in"
3792 cat "conftest.in" "conftest.in" >"conftest.tmp"
3793 mv "conftest.tmp" "conftest.in"
3794 cp "conftest.in" "conftest.nl"
3795 $as_echo 'EGREP' >> "conftest.nl"
3796 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3797 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3798 ac_count
=`expr $ac_count + 1`
3799 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3800 # Best one so far, save it but keep looking for a better one
3801 ac_cv_path_EGREP
="$ac_path_EGREP"
3802 ac_path_EGREP_max
=$ac_count
3804 # 10*(2^10) chars as input seems more than enough
3805 test $ac_count -gt 10 && break
3807 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3810 $ac_path_EGREP_found && break 3
3815 if test -z "$ac_cv_path_EGREP"; then
3816 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3817 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3818 { (exit 1); exit 1; }; }
3821 ac_cv_path_EGREP
=$EGREP
3826 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3827 $as_echo "$ac_cv_path_EGREP" >&6; }
3828 EGREP
="$ac_cv_path_EGREP"
3831 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3832 $as_echo_n "checking for ANSI C header files... " >&6; }
3833 if test "${ac_cv_header_stdc+set}" = set; then
3834 $as_echo_n "(cached) " >&6
3836 cat >conftest.
$ac_ext <<_ACEOF
3839 cat confdefs.h
>>conftest.
$ac_ext
3840 cat >>conftest.
$ac_ext <<_ACEOF
3841 /* end confdefs.h. */
3855 rm -f conftest.
$ac_objext
3856 if { (ac_try
="$ac_compile"
3858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3859 *) ac_try_echo=$ac_try;;
3861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3862 $as_echo "$ac_try_echo") >&5
3863 (eval "$ac_compile") 2>conftest.er1
3865 grep -v '^ *+' conftest.er1 >conftest.err
3867 cat conftest.err >&5
3868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); } && {
3870 test -z "$ac_c_werror_flag" ||
3871 test ! -s conftest.err
3872 } && test -s conftest.$ac_objext; then
3873 ac_cv_header_stdc=yes
3875 $as_echo "$as_me: failed program was:" >&5
3876 sed 's/^/| /' conftest.$ac_ext >&5
3878 ac_cv_header_stdc=no
3881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3883 if test $ac_cv_header_stdc = yes; then
3884 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3885 cat >conftest.$ac_ext <<_ACEOF
3888 cat confdefs.h >>conftest.$ac_ext
3889 cat >>conftest.$ac_ext <<_ACEOF
3890 /* end confdefs.h. */
3894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3895 $EGREP "memchr" >/dev/null 2>&1; then
3898 ac_cv_header_stdc=no
3904 if test $ac_cv_header_stdc = yes; then
3905 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3906 cat >conftest.$ac_ext <<_ACEOF
3909 cat confdefs.h >>conftest.$ac_ext
3910 cat >>conftest.$ac_ext <<_ACEOF
3911 /* end confdefs.h. */
3915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3916 $EGREP "free" >/dev/null 2>&1; then
3919 ac_cv_header_stdc=no
3925 if test $ac_cv_header_stdc = yes; then
3926 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3927 if test "$cross_compiling" = yes; then
3930 cat >conftest.$ac_ext <<_ACEOF
3933 cat confdefs.h >>conftest.$ac_ext
3934 cat >>conftest.$ac_ext <<_ACEOF
3935 /* end confdefs.h. */
3938 #if ((' ' & 0x0FF) == 0x020)
3939 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3940 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3942 # define ISLOWER(c) \
3943 (('a' <= (c) && (c) <= 'i') \
3944 || ('j' <= (c) && (c) <= 'r') \
3945 || ('s' <= (c) && (c) <= 'z'))
3946 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3949 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3954 for (i = 0; i < 256; i++)
3955 if (XOR (islower (i), ISLOWER (i))
3956 || toupper (i) != TOUPPER (i))
3961 rm -f conftest$ac_exeext
3962 if { (ac_try="$ac_link"
3964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3965 *) ac_try_echo
=$ac_try;;
3967 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3968 $as_echo "$ac_try_echo") >&5
3969 (eval "$ac_link") 2>&5
3971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3973 { (case "(($ac_try" in
3974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3975 *) ac_try_echo=$ac_try;;
3977 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3978 $as_echo "$ac_try_echo") >&5
3979 (eval "$ac_try") 2>&5
3981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 (exit $ac_status); }; }; then
3985 $as_echo "$as_me: program exited with status $ac_status" >&5
3986 $as_echo "$as_me: failed program was:" >&5
3987 sed 's/^/| /' conftest.$ac_ext >&5
3990 ac_cv_header_stdc=no
3992 rm -rf conftest.dSYM
3993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3999 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4000 $as_echo "$ac_cv_header_stdc" >&6; }
4001 if test $ac_cv_header_stdc = yes; then
4003 cat >>confdefs.h <<\_ACEOF
4004 #define STDC_HEADERS 1
4009 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4019 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4020 inttypes.h stdint.h unistd.h
4022 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4023 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4024 $as_echo_n "checking for $ac_header... " >&6; }
4025 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4026 $as_echo_n "(cached) " >&6
4028 cat >conftest.$ac_ext <<_ACEOF
4031 cat confdefs.h >>conftest.$ac_ext
4032 cat >>conftest.$ac_ext <<_ACEOF
4033 /* end confdefs.h. */
4034 $ac_includes_default
4036 #include <$ac_header>
4038 rm -f conftest.$ac_objext
4039 if { (ac_try="$ac_compile"
4041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4042 *) ac_try_echo
=$ac_try;;
4044 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4045 $as_echo "$ac_try_echo") >&5
4046 (eval "$ac_compile") 2>conftest.er1
4048 grep -v '^ *+' conftest.er1
>conftest.err
4050 cat conftest.err
>&5
4051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); } && {
4053 test -z "$ac_c_werror_flag" ||
4054 test ! -s conftest.err
4055 } && test -s conftest.
$ac_objext; then
4056 eval "$as_ac_Header=yes"
4058 $as_echo "$as_me: failed program was:" >&5
4059 sed 's/^/| /' conftest.
$ac_ext >&5
4061 eval "$as_ac_Header=no"
4064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4066 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4067 $as_echo "$as_val"'`
4068 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4069 $as_echo "$ac_res" >&6; }
4070 as_val
=`eval 'as_val=${'$as_ac_Header'}
4071 $as_echo "$as_val"'`
4072 if test "x$as_val" = x
""yes; then
4073 cat >>confdefs.h
<<_ACEOF
4074 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4084 for ac_header
in fcntl.h unistd.h
4086 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4087 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4088 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4089 $as_echo_n "checking for $ac_header... " >&6; }
4090 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4091 $as_echo_n "(cached) " >&6
4093 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4094 $as_echo "$as_val"'`
4095 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4096 $as_echo "$ac_res" >&6; }
4098 # Is the header compilable?
4099 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4100 $as_echo_n "checking $ac_header usability... " >&6; }
4101 cat >conftest.
$ac_ext <<_ACEOF
4104 cat confdefs.h
>>conftest.
$ac_ext
4105 cat >>conftest.
$ac_ext <<_ACEOF
4106 /* end confdefs.h. */
4107 $ac_includes_default
4108 #include <$ac_header>
4110 rm -f conftest.
$ac_objext
4111 if { (ac_try
="$ac_compile"
4113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4117 $as_echo "$ac_try_echo") >&5
4118 (eval "$ac_compile") 2>conftest.er1
4120 grep -v '^ *+' conftest.er1 >conftest.err
4122 cat conftest.err >&5
4123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4124 (exit $ac_status); } && {
4125 test -z "$ac_c_werror_flag" ||
4126 test ! -s conftest.err
4127 } && test -s conftest.$ac_objext; then
4128 ac_header_compiler=yes
4130 $as_echo "$as_me: failed program was:" >&5
4131 sed 's/^/| /' conftest.$ac_ext >&5
4133 ac_header_compiler=no
4136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4137 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4138 $as_echo "$ac_header_compiler" >&6; }
4140 # Is the header present?
4141 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4142 $as_echo_n "checking $ac_header presence... " >&6; }
4143 cat >conftest.$ac_ext <<_ACEOF
4146 cat confdefs.h >>conftest.$ac_ext
4147 cat >>conftest.$ac_ext <<_ACEOF
4148 /* end confdefs.h. */
4149 #include <$ac_header>
4151 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev
/null
&& {
4165 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4166 test ! -s conftest.err
4168 ac_header_preproc
=yes
4170 $as_echo "$as_me: failed program was:" >&5
4171 sed 's/^/| /' conftest.
$ac_ext >&5
4173 ac_header_preproc
=no
4176 rm -f conftest.err conftest.
$ac_ext
4177 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4178 $as_echo "$ac_header_preproc" >&6; }
4180 # So? What about this header?
4181 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4183 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4184 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4185 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4186 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4187 ac_header_preproc
=yes
4190 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4191 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4192 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4193 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4194 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4195 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4196 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4197 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4198 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4199 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4200 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4201 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4203 ## ---------------------------------- ##
4204 ## Report this to freetype@nongnu.org ##
4205 ## ---------------------------------- ##
4207 ) |
sed "s/^/$as_me: WARNING: /" >&2
4210 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4211 $as_echo_n "checking for $ac_header... " >&6; }
4212 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4213 $as_echo_n "(cached) " >&6
4215 eval "$as_ac_Header=\$ac_header_preproc"
4217 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4218 $as_echo "$as_val"'`
4219 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4220 $as_echo "$ac_res" >&6; }
4223 as_val
=`eval 'as_val=${'$as_ac_Header'}
4224 $as_echo "$as_val"'`
4225 if test "x$as_val" = x
""yes; then
4226 cat >>confdefs.h
<<_ACEOF
4227 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4236 # checks for typedefs, structures, and compiler characteristics
4238 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4239 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4240 if test "${ac_cv_c_const+set}" = set; then
4241 $as_echo_n "(cached) " >&6
4243 cat >conftest.
$ac_ext <<_ACEOF
4246 cat confdefs.h
>>conftest.
$ac_ext
4247 cat >>conftest.
$ac_ext <<_ACEOF
4248 /* end confdefs.h. */
4253 /* FIXME: Include the comments suggested by Paul. */
4255 /* Ultrix mips cc rejects this. */
4256 typedef int charset[2];
4258 /* SunOS 4.1.1 cc rejects this. */
4259 char const *const *pcpcc;
4261 /* NEC SVR4.0.2 mips cc rejects this. */
4262 struct point {int x, y;};
4263 static struct point const zero = {0,0};
4264 /* AIX XL C 1.02.0.0 rejects this.
4265 It does not let you subtract one const X* pointer from another in
4266 an arm of an if-expression whose if-part is not a constant
4268 const char *g = "string";
4269 pcpcc = &g + (g ? g-g : 0);
4270 /* HPUX 7.0 cc rejects these. */
4272 ppc = (char**) pcpcc;
4273 pcpcc = (char const *const *) ppc;
4274 { /* SCO 3.2v4 cc rejects this. */
4276 char const *s = 0 ? (char *) 0 : (char const *) 0;
4281 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4283 const int *foo = &x[0];
4286 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4287 typedef const int *iptr;
4291 { /* AIX XL C 1.02.0.0 rejects this saying
4292 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4293 struct s { int j; const int *ap[3]; };
4294 struct s *b; b->j = 5;
4296 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4300 return !cs[0] && !zero.x;
4307 rm -f conftest.
$ac_objext
4308 if { (ac_try
="$ac_compile"
4310 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4311 *) ac_try_echo=$ac_try;;
4313 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4314 $as_echo "$ac_try_echo") >&5
4315 (eval "$ac_compile") 2>conftest.er1
4317 grep -v '^ *+' conftest.er1 >conftest.err
4319 cat conftest.err >&5
4320 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4321 (exit $ac_status); } && {
4322 test -z "$ac_c_werror_flag" ||
4323 test ! -s conftest.err
4324 } && test -s conftest.$ac_objext; then
4327 $as_echo "$as_me: failed program was:" >&5
4328 sed 's/^/| /' conftest.$ac_ext >&5
4333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4336 $as_echo "$ac_cv_c_const" >&6; }
4337 if test $ac_cv_c_const = no; then
4339 cat >>confdefs.h <<\_ACEOF
4345 # The cast to long int works around a bug in the HP C Compiler
4346 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4347 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
4348 # This bug is HP SR number 8606223364.
4349 { $as_echo "$as_me:$LINENO: checking size of int" >&5
4350 $as_echo_n "checking size of int... " >&6; }
4351 if test "${ac_cv_sizeof_int+set}" = set; then
4352 $as_echo_n "(cached) " >&6
4354 if test "$cross_compiling" = yes; then
4355 # Depending upon the size, compute the lo and hi bounds.
4356 cat >conftest.$ac_ext <<_ACEOF
4359 cat confdefs.h >>conftest.$ac_ext
4360 cat >>conftest.$ac_ext <<_ACEOF
4361 /* end confdefs.h. */
4362 $ac_includes_default
4366 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
4373 rm -f conftest.$ac_objext
4374 if { (ac_try="$ac_compile"
4376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4377 *) ac_try_echo=$ac_try;;
4379 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4380 $as_echo "$ac_try_echo") >&5
4381 (eval "$ac_compile") 2>conftest.er1
4383 grep -v '^
*+' conftest.er1 >conftest.err
4385 cat conftest.err >&5
4386 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); } && {
4388 test -z "$ac_c_werror_flag" ||
4389 test ! -s conftest.err
4390 } && test -s conftest.$ac_objext; then
4393 cat >conftest.$ac_ext <<_ACEOF
4396 cat confdefs.h >>conftest.$ac_ext
4397 cat >>conftest.$ac_ext <<_ACEOF
4398 /* end confdefs.h. */
4399 $ac_includes_default
4403 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
4410 rm -f conftest.$ac_objext
4411 if { (ac_try="$ac_compile"
4413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414 *) ac_try_echo=$ac_try;;
4416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4417 $as_echo "$ac_try_echo") >&5
4418 (eval "$ac_compile") 2>conftest.er1
4420 grep -v '^
*+' conftest.er1 >conftest.err
4422 cat conftest.err >&5
4423 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); } && {
4425 test -z "$ac_c_werror_flag" ||
4426 test ! -s conftest.err
4427 } && test -s conftest.$ac_objext; then
4428 ac_hi=$ac_mid; break
4430 $as_echo "$as_me: failed program was:" >&5
4431 sed 's
/^
/|
/' conftest.$ac_ext >&5
4433 ac_lo=`expr $ac_mid + 1`
4434 if test $ac_lo -le $ac_mid; then
4438 ac_mid=`expr 2 '*' $ac_mid + 1`
4441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4444 $as_echo "$as_me: failed program was:" >&5
4445 sed 's
/^
/|
/' conftest.$ac_ext >&5
4447 cat >conftest.$ac_ext <<_ACEOF
4450 cat confdefs.h >>conftest.$ac_ext
4451 cat >>conftest.$ac_ext <<_ACEOF
4452 /* end confdefs.h. */
4453 $ac_includes_default
4457 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
4464 rm -f conftest.$ac_objext
4465 if { (ac_try="$ac_compile"
4467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4468 *) ac_try_echo=$ac_try;;
4470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4471 $as_echo "$ac_try_echo") >&5
4472 (eval "$ac_compile") 2>conftest.er1
4474 grep -v '^
*+' conftest.er1 >conftest.err
4476 cat conftest.err >&5
4477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4478 (exit $ac_status); } && {
4479 test -z "$ac_c_werror_flag" ||
4480 test ! -s conftest.err
4481 } && test -s conftest.$ac_objext; then
4484 cat >conftest.$ac_ext <<_ACEOF
4487 cat confdefs.h >>conftest.$ac_ext
4488 cat >>conftest.$ac_ext <<_ACEOF
4489 /* end confdefs.h. */
4490 $ac_includes_default
4494 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
4501 rm -f conftest.$ac_objext
4502 if { (ac_try="$ac_compile"
4504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4505 *) ac_try_echo=$ac_try;;
4507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4508 $as_echo "$ac_try_echo") >&5
4509 (eval "$ac_compile") 2>conftest.er1
4511 grep -v '^
*+' conftest.er1 >conftest.err
4513 cat conftest.err >&5
4514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); } && {
4516 test -z "$ac_c_werror_flag" ||
4517 test ! -s conftest.err
4518 } && test -s conftest.$ac_objext; then
4519 ac_lo=$ac_mid; break
4521 $as_echo "$as_me: failed program was:" >&5
4522 sed 's
/^
/|
/' conftest.$ac_ext >&5
4524 ac_hi=`expr '(' $ac_mid ')' - 1`
4525 if test $ac_mid -le $ac_hi; then
4529 ac_mid=`expr 2 '*' $ac_mid`
4532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4535 $as_echo "$as_me: failed program was:" >&5
4536 sed 's
/^
/|
/' conftest.$ac_ext >&5
4541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4545 # Binary search between lo and hi bounds.
4546 while test "x$ac_lo" != "x$ac_hi"; do
4547 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4548 cat >conftest.$ac_ext <<_ACEOF
4551 cat confdefs.h >>conftest.$ac_ext
4552 cat >>conftest.$ac_ext <<_ACEOF
4553 /* end confdefs.h. */
4554 $ac_includes_default
4558 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
4565 rm -f conftest.$ac_objext
4566 if { (ac_try="$ac_compile"
4568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4569 *) ac_try_echo=$ac_try;;
4571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4572 $as_echo "$ac_try_echo") >&5
4573 (eval "$ac_compile") 2>conftest.er1
4575 grep -v '^
*+' conftest.er1 >conftest.err
4577 cat conftest.err >&5
4578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); } && {
4580 test -z "$ac_c_werror_flag" ||
4581 test ! -s conftest.err
4582 } && test -s conftest.$ac_objext; then
4585 $as_echo "$as_me: failed program was:" >&5
4586 sed 's
/^
/|
/' conftest.$ac_ext >&5
4588 ac_lo=`expr '(' $ac_mid ')' + 1`
4591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 ?*) ac_cv_sizeof_int=$ac_lo;;
4595 '') if test "$ac_cv_type_int" = yes; then
4596 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4597 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
4598 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
4599 See \`config.log
' for more details." >&5
4600 $as_echo "$as_me: error: cannot compute sizeof (int)
4601 See \`config.log' for more details.
" >&2;}
4602 { (exit 77); exit 77; }; }; }
4608 cat >conftest.$ac_ext <<_ACEOF
4611 cat confdefs.h >>conftest.$ac_ext
4612 cat >>conftest.$ac_ext <<_ACEOF
4613 /* end confdefs.h. */
4614 $ac_includes_default
4615 static long int longval () { return (long int) (sizeof (int)); }
4616 static unsigned long int ulongval () { return (long int) (sizeof (int)); }
4623 FILE *f = fopen ("conftest.val
", "w
");
4626 if (((long int) (sizeof (int))) < 0)
4628 long int i = longval ();
4629 if (i != ((long int) (sizeof (int))))
4631 fprintf (f, "%ld
", i);
4635 unsigned long int i = ulongval ();
4636 if (i != ((long int) (sizeof (int))))
4638 fprintf (f, "%lu
", i);
4640 /* Do not output a trailing newline, as this causes \r\n confusion
4641 on some platforms. */
4642 return ferror (f) || fclose (f) != 0;
4648 rm -f conftest$ac_exeext
4649 if { (ac_try="$ac_link"
4651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4652 *) ac_try_echo=$ac_try;;
4654 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4655 $as_echo "$ac_try_echo") >&5
4656 (eval "$ac_link") 2>&5
4658 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4659 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4660 { (case "(($ac_try" in
4661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4662 *) ac_try_echo=$ac_try;;
4664 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4665 $as_echo "$ac_try_echo") >&5
4666 (eval "$ac_try") 2>&5
4668 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4669 (exit $ac_status); }; }; then
4670 ac_cv_sizeof_int=`cat conftest.val`
4672 $as_echo "$as_me: program exited with status
$ac_status" >&5
4673 $as_echo "$as_me: failed program was
:" >&5
4674 sed 's/^/| /' conftest.$ac_ext >&5
4677 if test "$ac_cv_type_int" = yes; then
4678 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
4679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4680 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
4681 See \`config.log' for more details.
" >&5
4682 $as_echo "$as_me: error
: cannot compute sizeof
(int
)
4683 See \
`config.log' for more details." >&2;}
4684 { (exit 77); exit 77; }; }; }
4689 rm -rf conftest.dSYM
4690 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4694 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4695 $as_echo "$ac_cv_sizeof_int" >&6; }
4699 cat >>confdefs.h <<_ACEOF
4700 #define SIZEOF_INT $ac_cv_sizeof_int
4704 # The cast to long int works around a bug in the HP C Compiler
4705 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4706 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
4707 # This bug is HP SR number 8606223364.
4708 { $as_echo "$as_me:$LINENO: checking size of long" >&5
4709 $as_echo_n "checking size of long... " >&6; }
4710 if test "${ac_cv_sizeof_long+set}" = set; then
4711 $as_echo_n "(cached) " >&6
4713 if test "$cross_compiling" = yes; then
4714 # Depending upon the size, compute the lo and hi bounds.
4715 cat >conftest.$ac_ext <<_ACEOF
4718 cat confdefs.h >>conftest.$ac_ext
4719 cat >>conftest.$ac_ext <<_ACEOF
4720 /* end confdefs.h. */
4721 $ac_includes_default
4725 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
4732 rm -f conftest.$ac_objext
4733 if { (ac_try="$ac_compile"
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4739 $as_echo "$ac_try_echo") >&5
4740 (eval "$ac_compile") 2>conftest.er1
4742 grep -v '^
*+' conftest.er1 >conftest.err
4744 cat conftest.err >&5
4745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); } && {
4747 test -z "$ac_c_werror_flag" ||
4748 test ! -s conftest.err
4749 } && test -s conftest.$ac_objext; then
4752 cat >conftest.$ac_ext <<_ACEOF
4755 cat confdefs.h >>conftest.$ac_ext
4756 cat >>conftest.$ac_ext <<_ACEOF
4757 /* end confdefs.h. */
4758 $ac_includes_default
4762 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
4769 rm -f conftest.$ac_objext
4770 if { (ac_try="$ac_compile"
4772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4773 *) ac_try_echo=$ac_try;;
4775 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4776 $as_echo "$ac_try_echo") >&5
4777 (eval "$ac_compile") 2>conftest.er1
4779 grep -v '^
*+' conftest.er1 >conftest.err
4781 cat conftest.err >&5
4782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4783 (exit $ac_status); } && {
4784 test -z "$ac_c_werror_flag" ||
4785 test ! -s conftest.err
4786 } && test -s conftest.$ac_objext; then
4787 ac_hi=$ac_mid; break
4789 $as_echo "$as_me: failed program was:" >&5
4790 sed 's
/^
/|
/' conftest.$ac_ext >&5
4792 ac_lo=`expr $ac_mid + 1`
4793 if test $ac_lo -le $ac_mid; then
4797 ac_mid=`expr 2 '*' $ac_mid + 1`
4800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4803 $as_echo "$as_me: failed program was:" >&5
4804 sed 's
/^
/|
/' conftest.$ac_ext >&5
4806 cat >conftest.$ac_ext <<_ACEOF
4809 cat confdefs.h >>conftest.$ac_ext
4810 cat >>conftest.$ac_ext <<_ACEOF
4811 /* end confdefs.h. */
4812 $ac_includes_default
4816 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
4823 rm -f conftest.$ac_objext
4824 if { (ac_try="$ac_compile"
4826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4827 *) ac_try_echo=$ac_try;;
4829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4830 $as_echo "$ac_try_echo") >&5
4831 (eval "$ac_compile") 2>conftest.er1
4833 grep -v '^
*+' conftest.er1 >conftest.err
4835 cat conftest.err >&5
4836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); } && {
4838 test -z "$ac_c_werror_flag" ||
4839 test ! -s conftest.err
4840 } && test -s conftest.$ac_objext; then
4843 cat >conftest.$ac_ext <<_ACEOF
4846 cat confdefs.h >>conftest.$ac_ext
4847 cat >>conftest.$ac_ext <<_ACEOF
4848 /* end confdefs.h. */
4849 $ac_includes_default
4853 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
4860 rm -f conftest.$ac_objext
4861 if { (ac_try="$ac_compile"
4863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4864 *) ac_try_echo=$ac_try;;
4866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4867 $as_echo "$ac_try_echo") >&5
4868 (eval "$ac_compile") 2>conftest.er1
4870 grep -v '^
*+' conftest.er1 >conftest.err
4872 cat conftest.err >&5
4873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } && {
4875 test -z "$ac_c_werror_flag" ||
4876 test ! -s conftest.err
4877 } && test -s conftest.$ac_objext; then
4878 ac_lo=$ac_mid; break
4880 $as_echo "$as_me: failed program was:" >&5
4881 sed 's
/^
/|
/' conftest.$ac_ext >&5
4883 ac_hi=`expr '(' $ac_mid ')' - 1`
4884 if test $ac_mid -le $ac_hi; then
4888 ac_mid=`expr 2 '*' $ac_mid`
4891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4894 $as_echo "$as_me: failed program was:" >&5
4895 sed 's
/^
/|
/' conftest.$ac_ext >&5
4900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 # Binary search between lo and hi bounds.
4905 while test "x$ac_lo" != "x$ac_hi"; do
4906 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4907 cat >conftest.$ac_ext <<_ACEOF
4910 cat confdefs.h >>conftest.$ac_ext
4911 cat >>conftest.$ac_ext <<_ACEOF
4912 /* end confdefs.h. */
4913 $ac_includes_default
4917 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
4924 rm -f conftest.$ac_objext
4925 if { (ac_try="$ac_compile"
4927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4928 *) ac_try_echo=$ac_try;;
4930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4931 $as_echo "$ac_try_echo") >&5
4932 (eval "$ac_compile") 2>conftest.er1
4934 grep -v '^
*+' conftest.er1 >conftest.err
4936 cat conftest.err >&5
4937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); } && {
4939 test -z "$ac_c_werror_flag" ||
4940 test ! -s conftest.err
4941 } && test -s conftest.$ac_objext; then
4944 $as_echo "$as_me: failed program was:" >&5
4945 sed 's
/^
/|
/' conftest.$ac_ext >&5
4947 ac_lo=`expr '(' $ac_mid ')' + 1`
4950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4953 ?*) ac_cv_sizeof_long=$ac_lo;;
4954 '') if test "$ac_cv_type_long" = yes; then
4955 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4956 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
4957 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
4958 See \`config.log
' for more details." >&5
4959 $as_echo "$as_me: error: cannot compute sizeof (long)
4960 See \`config.log' for more details.
" >&2;}
4961 { (exit 77); exit 77; }; }; }
4967 cat >conftest.$ac_ext <<_ACEOF
4970 cat confdefs.h >>conftest.$ac_ext
4971 cat >>conftest.$ac_ext <<_ACEOF
4972 /* end confdefs.h. */
4973 $ac_includes_default
4974 static long int longval () { return (long int) (sizeof (long)); }
4975 static unsigned long int ulongval () { return (long int) (sizeof (long)); }
4982 FILE *f = fopen ("conftest.val
", "w
");
4985 if (((long int) (sizeof (long))) < 0)
4987 long int i = longval ();
4988 if (i != ((long int) (sizeof (long))))
4990 fprintf (f, "%ld
", i);
4994 unsigned long int i = ulongval ();
4995 if (i != ((long int) (sizeof (long))))
4997 fprintf (f, "%lu
", i);
4999 /* Do not output a trailing newline, as this causes \r\n confusion
5000 on some platforms. */
5001 return ferror (f) || fclose (f) != 0;
5007 rm -f conftest$ac_exeext
5008 if { (ac_try="$ac_link"
5010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5011 *) ac_try_echo=$ac_try;;
5013 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5014 $as_echo "$ac_try_echo") >&5
5015 (eval "$ac_link") 2>&5
5017 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5018 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5019 { (case "(($ac_try" in
5020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5021 *) ac_try_echo=$ac_try;;
5023 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5024 $as_echo "$ac_try_echo") >&5
5025 (eval "$ac_try") 2>&5
5027 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5028 (exit $ac_status); }; }; then
5029 ac_cv_sizeof_long=`cat conftest.val`
5031 $as_echo "$as_me: program exited with status
$ac_status" >&5
5032 $as_echo "$as_me: failed program was
:" >&5
5033 sed 's/^/| /' conftest.$ac_ext >&5
5036 if test "$ac_cv_type_long" = yes; then
5037 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
5038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5039 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5040 See \`config.log' for more details.
" >&5
5041 $as_echo "$as_me: error
: cannot compute sizeof
(long
)
5042 See \
`config.log' for more details." >&2;}
5043 { (exit 77); exit 77; }; }; }
5048 rm -rf conftest.dSYM
5049 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5053 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5054 $as_echo "$ac_cv_sizeof_long" >&6; }
5058 cat >>confdefs.h <<_ACEOF
5059 #define SIZEOF_LONG $ac_cv_sizeof_long
5065 # check whether cpp computation of size of int and long in ftconfig.in works
5067 { $as_echo "$as_me:$LINENO: checking cpp computation of bit length in ftconfig.in works" >&5
5068 $as_echo_n "checking cpp computation of bit length in ftconfig.in works... " >&6; }
5069 orig_CPPFLAGS="${CPPFLAGS}"
5070 CPPFLAGS="-I${srcdir} -I. ${CPPFLAGS}"
5071 ac_clean_files="ft2build.h ftoption.h ftstdlib.h"
5072 touch ft2build.h ftoption.h ftstdlib.h
5074 cat > conftest.c <<\_ACEOF
5076 #define FT_CONFIG_OPTIONS_H "ftoption.h"
5077 #define FT_CONFIG_STANDARD_LIBRARY_H "ftstdlib.h"
5078 #define FT_UINT_MAX UINT_MAX
5079 #define FT_ULONG_MAX ULONG_MAX
5080 #include "ftconfig.in"
5082 echo >> conftest.c "#if FT_SIZEOF_INT == "${ac_cv_sizeof_int}
5083 echo >> conftest.c "ac_cpp_ft_sizeof_int="${ac_cv_sizeof_int}
5084 echo >> conftest.c "#endif"
5085 echo >> conftest.c "#if FT_SIZEOF_LONG == "${ac_cv_sizeof_long}
5086 echo >> conftest.c "ac_cpp_ft_sizeof_long="${ac_cv_sizeof_long}
5087 echo >> conftest.c "#endif"
5089 ${CPP} ${CPPFLAGS} conftest.c | ${GREP} ac_cpp_ft > conftest.sh
5090 eval `cat conftest.sh
`
5091 ${RMF} conftest.c conftest.sh confft2build.h ftoption.h ftstdlib.h
5093 if test x != "x${ac_cpp_ft_sizeof_int}" \
5094 -a x != x"${ac_cpp_ft_sizeof_long}"; then
5095 unset ft_use_autoconf_sizeof_types
5097 ft_use_autoconf_sizeof_types=yes
5100 # Check whether --enable-biarch-config was given.
5101 if test "${enable_biarch_config+set}" = set; then
5102 enableval=$enable_biarch_config;
5106 case :${ft_use_autoconf_sizeof_types}:${enable_biarch_config}: in
5108 { $as_echo "$as_me:$LINENO: result: broken but use it" >&5
5109 $as_echo "broken but use it" >&6; }
5110 unset ft_use_autoconf_sizeof_types
5113 { $as_echo "$as_me:$LINENO: result: works but ignore it" >&5
5114 $as_echo "works but ignore it" >&6; }
5115 ft_use_autoconf_sizeof_types=yes
5118 { $as_echo "$as_me:$LINENO: result: yes" >&5
5119 $as_echo "yes" >&6; }
5120 unset ft_use_autoconf_sizeof_types
5123 { $as_echo "$as_me:$LINENO: result: no" >&5
5124 $as_echo "no" >&6; }
5125 ft_use_autoconf_sizeof_types=yes
5129 if test x"${ft_use_autoconf_sizeof_types}" = xyes; then
5130 cat >>confdefs.h <<\_ACEOF
5131 #define FT_USE_AUTOCONF_SIZEOF_TYPES 1
5136 CPPFLAGS="${orig_CPPFLAGS}"
5139 # checks for library functions
5141 # Here we check whether we can use our mmap file component.
5145 for ac_header in stdlib.h unistd.h
5147 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5148 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5149 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5150 $as_echo_n "checking for $ac_header... " >&6; }
5151 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5152 $as_echo_n "(cached) " >&6
5154 ac_res=`eval 'as_val=${'$as_ac_Header'}
5155 $as_echo "$as_val"'`
5156 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5157 $as_echo "$ac_res" >&6; }
5159 # Is the header compilable?
5160 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5161 $as_echo_n "checking $ac_header usability... " >&6; }
5162 cat >conftest.$ac_ext <<_ACEOF
5165 cat confdefs.h >>conftest.$ac_ext
5166 cat >>conftest.$ac_ext <<_ACEOF
5167 /* end confdefs.h. */
5168 $ac_includes_default
5169 #include <$ac_header>
5171 rm -f conftest.$ac_objext
5172 if { (ac_try="$ac_compile"
5174 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5175 *) ac_try_echo
=$ac_try;;
5177 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5178 $as_echo "$ac_try_echo") >&5
5179 (eval "$ac_compile") 2>conftest.er1
5181 grep -v '^ *+' conftest.er1
>conftest.err
5183 cat conftest.err
>&5
5184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 (exit $ac_status); } && {
5186 test -z "$ac_c_werror_flag" ||
5187 test ! -s conftest.err
5188 } && test -s conftest.
$ac_objext; then
5189 ac_header_compiler
=yes
5191 $as_echo "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.
$ac_ext >&5
5194 ac_header_compiler
=no
5197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5198 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5199 $as_echo "$ac_header_compiler" >&6; }
5201 # Is the header present?
5202 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5203 $as_echo_n "checking $ac_header presence... " >&6; }
5204 cat >conftest.
$ac_ext <<_ACEOF
5207 cat confdefs.h
>>conftest.
$ac_ext
5208 cat >>conftest.
$ac_ext <<_ACEOF
5209 /* end confdefs.h. */
5210 #include <$ac_header>
5212 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5215 *) ac_try_echo=$ac_try;;
5217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5218 $as_echo "$ac_try_echo") >&5
5219 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5221 grep -v '^ *+' conftest.er1 >conftest.err
5223 cat conftest.err >&5
5224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); } >/dev/null && {
5226 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5227 test ! -s conftest.err
5229 ac_header_preproc=yes
5231 $as_echo "$as_me: failed program was:" >&5
5232 sed 's/^/| /' conftest.$ac_ext >&5
5234 ac_header_preproc=no
5237 rm -f conftest.err conftest.$ac_ext
5238 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5239 $as_echo "$ac_header_preproc" >&6; }
5241 # So? What about this header?
5242 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5244 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5245 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5246 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5247 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5248 ac_header_preproc=yes
5251 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5252 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5253 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5254 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5255 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5256 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5257 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5258 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5259 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5260 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5261 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5262 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5264 ## ---------------------------------- ##
5265 ## Report this to freetype@nongnu.org ##
5266 ## ---------------------------------- ##
5268 ) | sed "s/^/$as_me: WARNING: /" >&2
5271 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5272 $as_echo_n "checking for $ac_header... " >&6; }
5273 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5274 $as_echo_n "(cached) " >&6
5276 eval "$as_ac_Header=\$ac_header_preproc"
5278 ac_res=`eval 'as_val=${'$as_ac_Header'}
5279 $as_echo "$as_val"'`
5280 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5281 $as_echo "$ac_res" >&6; }
5284 as_val=`eval 'as_val=${'$as_ac_Header'}
5285 $as_echo "$as_val"'`
5286 if test "x$as_val" = x""yes; then
5287 cat >>confdefs.h <<_ACEOF
5288 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5296 for ac_func in getpagesize
5298 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
5299 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5300 $as_echo_n "checking for $ac_func... " >&6; }
5301 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5302 $as_echo_n "(cached) " >&6
5304 cat >conftest.$ac_ext <<_ACEOF
5307 cat confdefs.h >>conftest.$ac_ext
5308 cat >>conftest.$ac_ext <<_ACEOF
5309 /* end confdefs.h. */
5310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5312 #define $ac_func innocuous_$ac_func
5314 /* System header to define __stub macros and hopefully few prototypes,
5315 which can conflict with char $ac_func (); below.
5316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5317 <limits.h> exists even on freestanding compilers. */
5320 # include <limits.h>
5322 # include <assert.h>
5327 /* Override any GCC internal prototype to avoid an error.
5328 Use char because int might match the return type of a GCC
5329 builtin and then its argument prototype would still apply. */
5334 /* The GNU C library defines this for functions which it implements
5335 to always fail with ENOSYS. Some functions are actually named
5336 something starting with __ and the normal name is an alias. */
5337 #if defined __stub_$ac_func || defined __stub___$ac_func
5349 rm -f conftest.$ac_objext conftest$ac_exeext
5350 if { (ac_try="$ac_link"
5352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5353 *) ac_try_echo
=$ac_try;;
5355 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5356 $as_echo "$ac_try_echo") >&5
5357 (eval "$ac_link") 2>conftest.er1
5359 grep -v '^ *+' conftest.er1
>conftest.err
5361 cat conftest.err
>&5
5362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); } && {
5364 test -z "$ac_c_werror_flag" ||
5365 test ! -s conftest.err
5366 } && test -s conftest
$ac_exeext && {
5367 test "$cross_compiling" = yes ||
5368 $as_test_x conftest
$ac_exeext
5370 eval "$as_ac_var=yes"
5372 $as_echo "$as_me: failed program was:" >&5
5373 sed 's/^/| /' conftest.
$ac_ext >&5
5375 eval "$as_ac_var=no"
5378 rm -rf conftest.dSYM
5379 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5380 conftest
$ac_exeext conftest.
$ac_ext
5382 ac_res
=`eval 'as_val=${'$as_ac_var'}
5383 $as_echo "$as_val"'`
5384 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5385 $as_echo "$ac_res" >&6; }
5386 as_val
=`eval 'as_val=${'$as_ac_var'}
5387 $as_echo "$as_val"'`
5388 if test "x$as_val" = x
""yes; then
5389 cat >>confdefs.h
<<_ACEOF
5390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5396 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5
5397 $as_echo_n "checking for working mmap... " >&6; }
5398 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5399 $as_echo_n "(cached) " >&6
5401 if test "$cross_compiling" = yes; then
5402 ac_cv_func_mmap_fixed_mapped
=no
5404 cat >conftest.
$ac_ext <<_ACEOF
5407 cat confdefs.h
>>conftest.
$ac_ext
5408 cat >>conftest.
$ac_ext <<_ACEOF
5409 /* end confdefs.h. */
5410 $ac_includes_default
5411 /* malloc might have been renamed as rpl_malloc. */
5414 /* Thanks to Mike Haertel and Jim Avera for this test.
5415 Here is a matrix of mmap possibilities:
5416 mmap private not fixed
5417 mmap private fixed at somewhere currently unmapped
5418 mmap private fixed at somewhere already mapped
5419 mmap shared not fixed
5420 mmap shared fixed at somewhere currently unmapped
5421 mmap shared fixed at somewhere already mapped
5422 For private mappings, we should verify that changes cannot be read()
5423 back from the file, nor mmap's back from the file at a different
5424 address. (There have been systems where private was not correctly
5425 implemented like the infamous i386 svr4.0, and systems where the
5426 VM page cache was not coherent with the file system buffer cache
5427 like early versions of FreeBSD and possibly contemporary NetBSD.)
5428 For shared mappings, we should conversely verify that changes get
5429 propagated back to all the places they're supposed to be.
5431 Grep wants private fixed already mapped.
5432 The main things grep needs to know about mmap are:
5433 * does it exist and is it safe to write into the mmap'd area
5434 * how to use it (BSD variants) */
5437 #include <sys/mman.h>
5439 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
5443 /* This mess was copied from the GNU getpagesize.h. */
5444 #ifndef HAVE_GETPAGESIZE
5445 /* Assume that all systems that can run configure have sys/param.h. */
5446 # ifndef HAVE_SYS_PARAM_H
5447 # define HAVE_SYS_PARAM_H 1
5450 # ifdef _SC_PAGESIZE
5451 # define getpagesize() sysconf(_SC_PAGESIZE)
5452 # else /* no _SC_PAGESIZE */
5453 # ifdef HAVE_SYS_PARAM_H
5454 # include <sys/param.h>
5455 # ifdef EXEC_PAGESIZE
5456 # define getpagesize() EXEC_PAGESIZE
5457 # else /* no EXEC_PAGESIZE */
5459 # define getpagesize() NBPG * CLSIZE
5462 # endif /* no CLSIZE */
5463 # else /* no NBPG */
5465 # define getpagesize() NBPC
5466 # else /* no NBPC */
5468 # define getpagesize() PAGESIZE
5469 # endif /* PAGESIZE */
5470 # endif /* no NBPC */
5471 # endif /* no NBPG */
5472 # endif /* no EXEC_PAGESIZE */
5473 # else /* no HAVE_SYS_PARAM_H */
5474 # define getpagesize() 8192 /* punt totally */
5475 # endif /* no HAVE_SYS_PARAM_H */
5476 # endif /* no _SC_PAGESIZE */
5478 #endif /* no HAVE_GETPAGESIZE */
5483 char *data, *data2, *data3;
5487 pagesize = getpagesize ();
5489 /* First, make a file with some known garbage in it. */
5490 data = (char *) malloc (pagesize);
5493 for (i = 0; i < pagesize; ++i)
5494 *(data + i) = rand ();
5496 fd = creat ("conftest.mmap", 0600);
5499 if (write (fd, data, pagesize) != pagesize)
5503 /* Next, try to mmap the file at a fixed address which already has
5504 something else allocated at it. If we can, also make sure that
5505 we see the same garbage. */
5506 fd = open ("conftest.mmap", O_RDWR);
5509 data2 = (char *) malloc (2 * pagesize);
5512 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
5513 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5514 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5516 for (i = 0; i < pagesize; ++i)
5517 if (*(data + i) != *(data2 + i))
5520 /* Finally, make sure that changes to the mapped area do not
5521 percolate back to the file as seen by read(). (This is a bug on
5522 some variants of i386 svr4.0.) */
5523 for (i = 0; i < pagesize; ++i)
5524 *(data2 + i) = *(data2 + i) + 1;
5525 data3 = (char *) malloc (pagesize);
5528 if (read (fd, data3, pagesize) != pagesize)
5530 for (i = 0; i < pagesize; ++i)
5531 if (*(data + i) != *(data3 + i))
5537 rm -f conftest
$ac_exeext
5538 if { (ac_try
="$ac_link"
5540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5541 *) ac_try_echo=$ac_try;;
5543 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5544 $as_echo "$ac_try_echo") >&5
5545 (eval "$ac_link") 2>&5
5547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5549 { (case "(($ac_try" in
5550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5551 *) ac_try_echo
=$ac_try;;
5553 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5554 $as_echo "$ac_try_echo") >&5
5555 (eval "$ac_try") 2>&5
5557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); }; }; then
5559 ac_cv_func_mmap_fixed_mapped
=yes
5561 $as_echo "$as_me: program exited with status $ac_status" >&5
5562 $as_echo "$as_me: failed program was:" >&5
5563 sed 's/^/| /' conftest.
$ac_ext >&5
5566 ac_cv_func_mmap_fixed_mapped
=no
5568 rm -rf conftest.dSYM
5569 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5574 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5575 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
5576 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5578 cat >>confdefs.h
<<\_ACEOF
5585 if test "$ac_cv_func_mmap_fixed_mapped" != yes; then
5586 FTSYS_SRC
='$(BASE_DIR)/ftsystem.c'
5588 FTSYS_SRC
='$(BUILD_DIR)/ftsystem.c'
5590 { $as_echo "$as_me:$LINENO: checking whether munmap is declared" >&5
5591 $as_echo_n "checking whether munmap is declared... " >&6; }
5592 if test "${ac_cv_have_decl_munmap+set}" = set; then
5593 $as_echo_n "(cached) " >&6
5595 cat >conftest.
$ac_ext <<_ACEOF
5598 cat confdefs.h
>>conftest.
$ac_ext
5599 cat >>conftest.
$ac_ext <<_ACEOF
5600 /* end confdefs.h. */
5603 #ifdef HAVE_UNISTD_H
5606 #include <sys/mman.h>
5621 rm -f conftest.
$ac_objext
5622 if { (ac_try
="$ac_compile"
5624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5625 *) ac_try_echo=$ac_try;;
5627 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5628 $as_echo "$ac_try_echo") >&5
5629 (eval "$ac_compile") 2>conftest.er1
5631 grep -v '^ *+' conftest.er1 >conftest.err
5633 cat conftest.err >&5
5634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635 (exit $ac_status); } && {
5636 test -z "$ac_c_werror_flag" ||
5637 test ! -s conftest.err
5638 } && test -s conftest.$ac_objext; then
5639 ac_cv_have_decl_munmap=yes
5641 $as_echo "$as_me: failed program was:" >&5
5642 sed 's/^/| /' conftest.$ac_ext >&5
5644 ac_cv_have_decl_munmap=no
5647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5649 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_munmap" >&5
5650 $as_echo "$ac_cv_have_decl_munmap" >&6; }
5651 if test "x$ac_cv_have_decl_munmap" = x""yes; then
5653 cat >>confdefs.h <<_ACEOF
5654 #define HAVE_DECL_MUNMAP 1
5659 cat >>confdefs.h <<_ACEOF
5660 #define HAVE_DECL_MUNMAP 0
5668 { $as_echo "$as_me:$LINENO: checking for munmap's first parameter type" >&5
5669 $as_echo_n "checking for munmap's first parameter type... " >&6; }
5670 cat >conftest.$ac_ext <<_ACEOF
5674 cat confdefs.h >>conftest.$ac_ext
5675 cat >>conftest.$ac_ext <<_ACEOF
5676 /* end confdefs.h. */
5680 #include <sys/mman.h>
5681 int munmap(void *, size_t);
5686 rm -f conftest.$ac_objext
5687 if { (ac_try="$ac_compile"
5689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5690 *) ac_try_echo
=$ac_try;;
5692 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5693 $as_echo "$ac_try_echo") >&5
5694 (eval "$ac_compile") 2>conftest.er1
5696 grep -v '^ *+' conftest.er1
>conftest.err
5698 cat conftest.err
>&5
5699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); } && {
5701 test -z "$ac_c_werror_flag" ||
5702 test ! -s conftest.err
5703 } && test -s conftest.
$ac_objext; then
5704 { $as_echo "$as_me:$LINENO: result: void *" >&5
5705 $as_echo "void *" >&6; }
5707 cat >>confdefs.h
<<\_ACEOF
5708 #define MUNMAP_USES_VOIDP /**/
5712 $as_echo "$as_me: failed program was:" >&5
5713 sed 's/^/| /' conftest.
$ac_ext >&5
5715 { $as_echo "$as_me:$LINENO: result: char *" >&5
5716 $as_echo "char *" >&6; }
5719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5726 for ac_func
in memcpy memmove
5728 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5729 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5730 $as_echo_n "checking for $ac_func... " >&6; }
5731 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5732 $as_echo_n "(cached) " >&6
5734 cat >conftest.
$ac_ext <<_ACEOF
5737 cat confdefs.h
>>conftest.
$ac_ext
5738 cat >>conftest.
$ac_ext <<_ACEOF
5739 /* end confdefs.h. */
5740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5742 #define $ac_func innocuous_$ac_func
5744 /* System header to define __stub macros and hopefully few prototypes,
5745 which can conflict with char $ac_func (); below.
5746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5747 <limits.h> exists even on freestanding compilers. */
5750 # include <limits.h>
5752 # include <assert.h>
5757 /* Override any GCC internal prototype to avoid an error.
5758 Use char because int might match the return type of a GCC
5759 builtin and then its argument prototype would still apply. */
5764 /* The GNU C library defines this for functions which it implements
5765 to always fail with ENOSYS. Some functions are actually named
5766 something starting with __ and the normal name is an alias. */
5767 #if defined __stub_$ac_func || defined __stub___$ac_func
5779 rm -f conftest.
$ac_objext conftest
$ac_exeext
5780 if { (ac_try
="$ac_link"
5782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5783 *) ac_try_echo=$ac_try;;
5785 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5786 $as_echo "$ac_try_echo") >&5
5787 (eval "$ac_link") 2>conftest.er1
5789 grep -v '^ *+' conftest.er1 >conftest.err
5791 cat conftest.err >&5
5792 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); } && {
5794 test -z "$ac_c_werror_flag" ||
5795 test ! -s conftest.err
5796 } && test -s conftest$ac_exeext && {
5797 test "$cross_compiling" = yes ||
5798 $as_test_x conftest$ac_exeext
5800 eval "$as_ac_var=yes"
5802 $as_echo "$as_me: failed program was:" >&5
5803 sed 's/^/| /' conftest.$ac_ext >&5
5805 eval "$as_ac_var=no"
5808 rm -rf conftest.dSYM
5809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5810 conftest$ac_exeext conftest.$ac_ext
5812 ac_res=`eval 'as_val=${'$as_ac_var'}
5813 $as_echo "$as_val"'`
5814 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5815 $as_echo "$ac_res" >&6; }
5816 as_val=`eval 'as_val=${'$as_ac_var'}
5817 $as_echo "$as_val"'`
5818 if test "x$as_val" = x""yes; then
5819 cat >>confdefs.h <<_ACEOF
5820 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
5828 # check for system zlib
5830 # don't quote AS_HELP_STRING!
5832 # Check whether --with-zlib was given.
5833 if test "${with_zlib+set}" = set; then
5837 if test x$with_zlib != xno && test -z "$LIBZ"; then
5838 { $as_echo "$as_me:$LINENO: checking for gzsetparams in -lz" >&5
5839 $as_echo_n "checking for gzsetparams in -lz... " >&6; }
5840 if test "${ac_cv_lib_z_gzsetparams+set}" = set; then
5841 $as_echo_n "(cached) " >&6
5843 ac_check_lib_save_LIBS=$LIBS
5845 cat >conftest.$ac_ext <<_ACEOF
5848 cat confdefs.h >>conftest.$ac_ext
5849 cat >>conftest.$ac_ext <<_ACEOF
5850 /* end confdefs.h. */
5852 /* Override any GCC internal prototype to avoid an error.
5853 Use char because int might match the return type of a GCC
5854 builtin and then its argument prototype would still apply. */
5858 char gzsetparams ();
5862 return gzsetparams ();
5867 rm -f conftest.$ac_objext conftest$ac_exeext
5868 if { (ac_try="$ac_link"
5870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5871 *) ac_try_echo
=$ac_try;;
5873 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5874 $as_echo "$ac_try_echo") >&5
5875 (eval "$ac_link") 2>conftest.er1
5877 grep -v '^ *+' conftest.er1
>conftest.err
5879 cat conftest.err
>&5
5880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); } && {
5882 test -z "$ac_c_werror_flag" ||
5883 test ! -s conftest.err
5884 } && test -s conftest
$ac_exeext && {
5885 test "$cross_compiling" = yes ||
5886 $as_test_x conftest
$ac_exeext
5888 ac_cv_lib_z_gzsetparams
=yes
5890 $as_echo "$as_me: failed program was:" >&5
5891 sed 's/^/| /' conftest.
$ac_ext >&5
5893 ac_cv_lib_z_gzsetparams
=no
5896 rm -rf conftest.dSYM
5897 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5898 conftest
$ac_exeext conftest.
$ac_ext
5899 LIBS
=$ac_check_lib_save_LIBS
5901 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzsetparams" >&5
5902 $as_echo "$ac_cv_lib_z_gzsetparams" >&6; }
5903 if test "x$ac_cv_lib_z_gzsetparams" = x
""yes; then
5904 if test "${ac_cv_header_zlib_h+set}" = set; then
5905 { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
5906 $as_echo_n "checking for zlib.h... " >&6; }
5907 if test "${ac_cv_header_zlib_h+set}" = set; then
5908 $as_echo_n "(cached) " >&6
5910 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5911 $as_echo "$ac_cv_header_zlib_h" >&6; }
5913 # Is the header compilable?
5914 { $as_echo "$as_me:$LINENO: checking zlib.h usability" >&5
5915 $as_echo_n "checking zlib.h usability... " >&6; }
5916 cat >conftest.
$ac_ext <<_ACEOF
5919 cat confdefs.h
>>conftest.
$ac_ext
5920 cat >>conftest.
$ac_ext <<_ACEOF
5921 /* end confdefs.h. */
5922 $ac_includes_default
5925 rm -f conftest.
$ac_objext
5926 if { (ac_try
="$ac_compile"
5928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5929 *) ac_try_echo=$ac_try;;
5931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5932 $as_echo "$ac_try_echo") >&5
5933 (eval "$ac_compile") 2>conftest.er1
5935 grep -v '^ *+' conftest.er1 >conftest.err
5937 cat conftest.err >&5
5938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939 (exit $ac_status); } && {
5940 test -z "$ac_c_werror_flag" ||
5941 test ! -s conftest.err
5942 } && test -s conftest.$ac_objext; then
5943 ac_header_compiler=yes
5945 $as_echo "$as_me: failed program was:" >&5
5946 sed 's/^/| /' conftest.$ac_ext >&5
5948 ac_header_compiler=no
5951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5952 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5953 $as_echo "$ac_header_compiler" >&6; }
5955 # Is the header present?
5956 { $as_echo "$as_me:$LINENO: checking zlib.h presence" >&5
5957 $as_echo_n "checking zlib.h presence... " >&6; }
5958 cat >conftest.$ac_ext <<_ACEOF
5961 cat confdefs.h >>conftest.$ac_ext
5962 cat >>conftest.$ac_ext <<_ACEOF
5963 /* end confdefs.h. */
5966 if { (ac_try="$ac_cpp conftest.$ac_ext"
5968 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5969 *) ac_try_echo
=$ac_try;;
5971 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5972 $as_echo "$ac_try_echo") >&5
5973 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5975 grep -v '^ *+' conftest.er1
>conftest.err
5977 cat conftest.err
>&5
5978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5979 (exit $ac_status); } >/dev
/null
&& {
5980 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5981 test ! -s conftest.err
5983 ac_header_preproc
=yes
5985 $as_echo "$as_me: failed program was:" >&5
5986 sed 's/^/| /' conftest.
$ac_ext >&5
5988 ac_header_preproc
=no
5991 rm -f conftest.err conftest.
$ac_ext
5992 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5993 $as_echo "$ac_header_preproc" >&6; }
5995 # So? What about this header?
5996 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5998 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
5999 $as_echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6000 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
6001 $as_echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
6002 ac_header_preproc
=yes
6005 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
6006 $as_echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
6007 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
6008 $as_echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
6009 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
6010 $as_echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
6011 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
6012 $as_echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
6013 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
6014 $as_echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
6015 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
6016 $as_echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
6018 ## ---------------------------------- ##
6019 ## Report this to freetype@nongnu.org ##
6020 ## ---------------------------------- ##
6022 ) |
sed "s/^/$as_me: WARNING: /" >&2
6025 { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
6026 $as_echo_n "checking for zlib.h... " >&6; }
6027 if test "${ac_cv_header_zlib_h+set}" = set; then
6028 $as_echo_n "(cached) " >&6
6030 ac_cv_header_zlib_h
=$ac_header_preproc
6032 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
6033 $as_echo "$ac_cv_header_zlib_h" >&6; }
6036 if test "x$ac_cv_header_zlib_h" = x
""yes; then
6044 if test x
$with_zlib != xno
&& test -n "$LIBZ"; then
6045 CFLAGS
="$CFLAGS -DFT_CONFIG_OPTION_SYSTEM_ZLIB"
6046 LDFLAGS
="$LDFLAGS $LIBZ"
6051 # Some options handling SDKs/archs in CFLAGS should be copied
6052 # to LDFLAGS. Apple TechNote 2137 recommends to include these
6053 # options in CFLAGS but not in LDFLAGS.
6058 while test $i -lt $#
6063 -isysroot|
-arch) # options taking 1 argument
6065 { $as_echo "$as_me:$LINENO: checking whether CFLAGS and LDFLAGS share ${c} ${a}" >&5
6066 $as_echo_n "checking whether CFLAGS and LDFLAGS share ${c} ${a}... " >&6; }
6067 if expr " ${LDFLAGS} " : ".* ${c} *${a}.
*" > /dev/null
6069 { $as_echo "$as_me:$LINENO: result
: yes" >&5
6070 $as_echo "yes" >&6; }
6072 { $as_echo "$as_me:$LINENO: result
: no
, copy to LDFLAGS
" >&5
6073 $as_echo "no
, copy to LDFLAGS
" >&6; }
6074 LDFLAGS="${LDFLAGS} ${c} ${a}"
6078 -m32|-m64) # options taking no argument
6079 { $as_echo "$as_me:$LINENO: result
: whether CFLAGS and LDFLAGS share
${c}" >&5
6080 $as_echo "whether CFLAGS and LDFLAGS share
${c}" >&6; }
6081 if expr " ${LDFLAGS} " : ".* ${c} *${a}.
*" > /dev/null
6083 { $as_echo "$as_me:$LINENO: result
: yes" >&5
6084 $as_echo "yes" >&6; }
6086 { $as_echo "$as_me:$LINENO: result
: no
, copy to LDFLAGS
" >&5
6087 $as_echo "no
, copy to LDFLAGS
" >&6; }
6088 LDFLAGS="${LDFLAGS} ${c}"
6092 # AC_MSG_RESULT([${c} is not copied to LDFLAGS])
6098 set ${save_config_args}
6101 # Whether to use Mac OS resource-based fonts.
6103 ftmac_c="" # src/base/ftmac.c should not be included in makefiles by default
6105 # don't quote AS_HELP_STRING!
6107 # Check whether --with-old-mac-fonts was given.
6108 if test "${with_old_mac_fonts+set}" = set; then
6109 withval=$with_old_mac_fonts;
6112 if test x$with_old_mac_fonts = xyes; then
6113 orig_LDFLAGS="${LDFLAGS}"
6114 { $as_echo "$as_me:$LINENO: checking CoreServices
& ApplicationServices of Mac OS X
" >&5
6115 $as_echo_n "checking CoreServices
& ApplicationServices of Mac OS X...
" >&6; }
6116 FT2_EXTRA_LIBS="-Wl,-framework,CoreServices
-Wl,-framework,ApplicationServices
"
6117 LDFLAGS="$LDFLAGS $FT2_EXTRA_LIBS"
6118 cat >conftest.$ac_ext <<_ACEOF
6122 cat confdefs.h >>conftest.$ac_ext
6123 cat >>conftest.$ac_ext <<_ACEOF
6124 /* end confdefs.h. */
6127 #if defined(__GNUC__) && defined(__APPLE_CC__)
6128 # include <CoreServices/CoreServices.h>
6129 # include <ApplicationServices/ApplicationServices.h>
6131 # include <ConditionalMacros.h>
6151 rm -f conftest.$ac_objext conftest$ac_exeext
6152 if { (ac_try="$ac_link"
6154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6155 *) ac_try_echo=$ac_try;;
6157 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6158 $as_echo "$ac_try_echo") >&5
6159 (eval "$ac_link") 2>conftest.er1
6161 grep -v '^ *+' conftest.er1 >conftest.err
6163 cat conftest.err >&5
6164 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6165 (exit $ac_status); } && {
6166 test -z "$ac_c_werror_flag" ||
6167 test ! -s conftest.err
6168 } && test -s conftest$ac_exeext && {
6169 test "$cross_compiling" = yes ||
6170 $as_test_x conftest$ac_exeext
6172 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
6173 $as_echo "ok
" >&6; }
6175 { $as_echo "$as_me:$LINENO: checking OS_INLINE macro is ANSI compatible
" >&5
6176 $as_echo_n "checking OS_INLINE macro is ANSI compatible...
" >&6; }
6177 orig_CFLAGS="$CFLAGS"
6178 CFLAGS="$CFLAGS $XX_CFLAGS $XX_ANSIFLAGS"
6179 cat >conftest.$ac_ext <<_ACEOF
6183 cat confdefs.h >>conftest.$ac_ext
6184 cat >>conftest.$ac_ext <<_ACEOF
6185 /* end confdefs.h. */
6188 #if defined(__GNUC__) && defined(__APPLE_CC__)
6189 # include <CoreServices/CoreServices.h>
6190 # include <ApplicationServices/ApplicationServices.h>
6192 # include <ConditionalMacros.h>
6202 /* OSHostByteOrder() is typed as OS_INLINE */
6203 int32_t os_byte_order = OSHostByteOrder();
6206 if ( OSBigEndian != os_byte_order )
6214 rm -f conftest.$ac_objext
6215 if { (ac_try="$ac_compile"
6217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6218 *) ac_try_echo=$ac_try;;
6220 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6221 $as_echo "$ac_try_echo") >&5
6222 (eval "$ac_compile") 2>conftest.er1
6224 grep -v '^ *+' conftest.er1 >conftest.err
6226 cat conftest.err >&5
6227 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6228 (exit $ac_status); } && {
6229 test -z "$ac_c_werror_flag" ||
6230 test ! -s conftest.err
6231 } && test -s conftest.$ac_objext; then
6232 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
6233 $as_echo "ok
" >&6; }
6234 CFLAGS="$orig_CFLAGS"
6235 CFLAGS="$CFLAGS -DHAVE_ANSI_OS_INLINE=1"
6238 $as_echo "$as_me: failed program was
:" >&5
6239 sed 's/^/| /' conftest.$ac_ext >&5
6241 { $as_echo "$as_me:$LINENO: result
: no
, ANSI incompatible
" >&5
6242 $as_echo "no
, ANSI incompatible
" >&6; }
6243 CFLAGS="$orig_CFLAGS"
6247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6248 { $as_echo "$as_me:$LINENO: checking
type ResourceIndex
" >&5
6249 $as_echo_n "checking
type ResourceIndex...
" >&6; }
6250 orig_CFLAGS="$CFLAGS"
6251 CFLAGS="$CFLAGS $XX_CFLAGS $XX_ANSIFLAGS"
6252 cat >conftest.$ac_ext <<_ACEOF
6256 cat confdefs.h >>conftest.$ac_ext
6257 cat >>conftest.$ac_ext <<_ACEOF
6258 /* end confdefs.h. */
6261 #if defined(__GNUC__) && defined(__APPLE_CC__)
6262 # include <CoreServices/CoreServices.h>
6263 # include <ApplicationServices/ApplicationServices.h>
6265 # include <ConditionalMacros.h>
6267 # include <Resources.h>
6276 ResourceIndex i = 0;
6284 rm -f conftest.$ac_objext
6285 if { (ac_try="$ac_compile"
6287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6288 *) ac_try_echo=$ac_try;;
6290 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6291 $as_echo "$ac_try_echo") >&5
6292 (eval "$ac_compile") 2>conftest.er1
6294 grep -v '^ *+' conftest.er1 >conftest.err
6296 cat conftest.err >&5
6297 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6298 (exit $ac_status); } && {
6299 test -z "$ac_c_werror_flag" ||
6300 test ! -s conftest.err
6301 } && test -s conftest.$ac_objext; then
6302 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
6303 $as_echo "ok
" >&6; }
6304 CFLAGS="$orig_CFLAGS"
6305 CFLAGS="$CFLAGS -DHAVE_TYPE_RESOURCE_INDEX=1"
6308 $as_echo "$as_me: failed program was
:" >&5
6309 sed 's/^/| /' conftest.$ac_ext >&5
6311 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6312 $as_echo "no
" >&6; }
6313 CFLAGS="$orig_CFLAGS"
6314 CFLAGS="$CFLAGS -DHAVE_TYPE_RESOURCE_INDEX=0"
6318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6320 $as_echo "$as_me: failed program was
:" >&5
6321 sed 's/^/| /' conftest.$ac_ext >&5
6323 { $as_echo "$as_me:$LINENO: result
: not found
" >&5
6324 $as_echo "not found
" >&6; }
6326 LDFLAGS="${orig_LDFLAGS}"
6327 CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"
6330 rm -rf conftest.dSYM
6331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6332 conftest$ac_exeext conftest.$ac_ext
6336 CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"
6343 # Whether to use FileManager which is deprecated since Mac OS X 10.4.
6346 # Check whether --with-fsspec was given.
6347 if test "${with_fsspec+set}" = set; then
6348 withval=$with_fsspec;
6351 if test x$with_fsspec = xno; then
6352 CFLAGS="$CFLAGS -DHAVE_FSSPEC=0"
6353 elif test x$with_old_mac_fonts = xyes -a x$with_fsspec != x; then
6354 { $as_echo "$as_me:$LINENO: checking FSSpec-based FileManager
" >&5
6355 $as_echo_n "checking FSSpec-based FileManager...
" >&6; }
6356 cat >conftest.$ac_ext <<_ACEOF
6360 cat confdefs.h >>conftest.$ac_ext
6361 cat >>conftest.$ac_ext <<_ACEOF
6362 /* end confdefs.h. */
6365 #if defined(__GNUC__) && defined(__APPLE_CC__)
6366 # include <CoreServices/CoreServices.h>
6367 # include <ApplicationServices/ApplicationServices.h>
6369 # include <ConditionalMacros.h>
6379 FCBPBPtr paramBlock;
6382 ConstStr255Param fileName;
6386 /* FSSpec functions: deprecated since Mac OS X 10.4 */
6387 PBGetFCBInfoSync( paramBlock );
6388 FSMakeFSSpec( vRefNum, dirID, fileName, spec );
6395 rm -f conftest.$ac_objext conftest$ac_exeext
6396 if { (ac_try="$ac_link"
6398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6399 *) ac_try_echo=$ac_try;;
6401 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6402 $as_echo "$ac_try_echo") >&5
6403 (eval "$ac_link") 2>conftest.er1
6405 grep -v '^ *+' conftest.er1 >conftest.err
6407 cat conftest.err >&5
6408 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6409 (exit $ac_status); } && {
6410 test -z "$ac_c_werror_flag" ||
6411 test ! -s conftest.err
6412 } && test -s conftest$ac_exeext && {
6413 test "$cross_compiling" = yes ||
6414 $as_test_x conftest$ac_exeext
6416 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
6417 $as_echo "ok
" >&6; }
6418 CFLAGS="$CFLAGS -DHAVE_FSSPEC=1"
6420 $as_echo "$as_me: failed program was
:" >&5
6421 sed 's/^/| /' conftest.$ac_ext >&5
6423 { $as_echo "$as_me:$LINENO: result
: not found
" >&5
6424 $as_echo "not found
" >&6; }
6425 CFLAGS="$CFLAGS -DHAVE_FSSPEC=0"
6428 rm -rf conftest.dSYM
6429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6430 conftest$ac_exeext conftest.$ac_ext
6434 # Whether to use FileManager in Carbon since MacOS 9.x.
6437 # Check whether --with-fsref was given.
6438 if test "${with_fsref+set}" = set; then
6439 withval=$with_fsref;
6442 if test x$with_fsref = xno; then
6443 { $as_echo "$as_me:$LINENO: WARNING
:
6445 FreeType2 built without FSRef API cannot load
6446 data-fork fonts on MacOS
, except of XXX.dfont.
6448 $as_echo "$as_me: WARNING
:
6450 FreeType2 built without FSRef API cannot load
6451 data-fork fonts on MacOS
, except of XXX.dfont.
6453 CFLAGS="$CFLAGS -DHAVE_FSREF=0"
6454 elif test x$with_old_mac_fonts = xyes -a x$with_fsref != x; then
6455 { $as_echo "$as_me:$LINENO: checking FSRef-based FileManager
" >&5
6456 $as_echo_n "checking FSRef-based FileManager...
" >&6; }
6457 cat >conftest.$ac_ext <<_ACEOF
6461 cat confdefs.h >>conftest.$ac_ext
6462 cat >>conftest.$ac_ext <<_ACEOF
6463 /* end confdefs.h. */
6466 #if defined(__GNUC__) && defined(__APPLE_CC__)
6467 # include <CoreServices/CoreServices.h>
6468 # include <ApplicationServices/ApplicationServices.h>
6470 # include <ConditionalMacros.h>
6482 ConstStr255Param fileName;
6484 Boolean* isDirectory;
6486 SInt16 desiredRefNum;
6488 SInt16* actualRefNum;
6489 HFSUniStr255* outForkName;
6490 FSVolumeRefNum volume;
6491 FSCatalogInfoBitmap whichInfo;
6492 FSCatalogInfo* catalogInfo;
6493 FSForkInfo* forkInfo;
6500 /* FSRef functions: no need to check? */
6501 FSGetForkCBInfo( desiredRefNum, volume, iterator,
6502 actualRefNum, forkInfo, ref,
6504 FSPathMakeRef( path, ref, isDirectory );
6507 FSpMakeFSRef ( spec, ref );
6508 FSGetCatalogInfo( ref, whichInfo, catalogInfo,
6509 outForkName, spec, ref );
6516 rm -f conftest.$ac_objext conftest$ac_exeext
6517 if { (ac_try="$ac_link"
6519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6520 *) ac_try_echo=$ac_try;;
6522 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6523 $as_echo "$ac_try_echo") >&5
6524 (eval "$ac_link") 2>conftest.er1
6526 grep -v '^ *+' conftest.er1 >conftest.err
6528 cat conftest.err >&5
6529 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6530 (exit $ac_status); } && {
6531 test -z "$ac_c_werror_flag" ||
6532 test ! -s conftest.err
6533 } && test -s conftest$ac_exeext && {
6534 test "$cross_compiling" = yes ||
6535 $as_test_x conftest$ac_exeext
6537 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
6538 $as_echo "ok
" >&6; }
6539 CFLAGS="$CFLAGS -DHAVE_FSREF=1"
6541 $as_echo "$as_me: failed program was
:" >&5
6542 sed 's/^/| /' conftest.$ac_ext >&5
6544 { $as_echo "$as_me:$LINENO: result
: not found
" >&5
6545 $as_echo "not found
" >&6; }
6546 CFLAGS="$CFLAGS -DHAVE_FSREF=0"
6549 rm -rf conftest.dSYM
6550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6551 conftest$ac_exeext conftest.$ac_ext
6555 # Whether to use QuickDraw API in ToolBox which is deprecated since
6559 # Check whether --with-quickdraw-toolbox was given.
6560 if test "${with_quickdraw_toolbox+set}" = set; then
6561 withval=$with_quickdraw_toolbox;
6564 if test x$with_quickdraw_toolbox = xno; then
6565 CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_TOOLBOX=0"
6566 elif test x$with_old_mac_fonts = xyes -a x$with_quickdraw_toolbox != x; then
6567 { $as_echo "$as_me:$LINENO: checking QuickDraw FontManager functions
in ToolBox
" >&5
6568 $as_echo_n "checking QuickDraw FontManager functions
in ToolBox...
" >&6; }
6569 cat >conftest.$ac_ext <<_ACEOF
6573 cat confdefs.h >>conftest.$ac_ext
6574 cat >>conftest.$ac_ext <<_ACEOF
6575 /* end confdefs.h. */
6578 #if defined(__GNUC__) && defined(__APPLE_CC__)
6579 # include <CoreServices/CoreServices.h>
6580 # include <ApplicationServices/ApplicationServices.h>
6582 # include <ConditionalMacros.h>
6593 SInt16 familyID = 0;
6594 FMInput* fmIn = NULL;
6595 FMOutput* fmOut = NULL;
6598 GetFontName( familyID, familyName );
6599 GetFNum( familyName, &familyID );
6600 fmOut = FMSwapFont( fmIn );
6607 rm -f conftest.$ac_objext conftest$ac_exeext
6608 if { (ac_try="$ac_link"
6610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6611 *) ac_try_echo=$ac_try;;
6613 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6614 $as_echo "$ac_try_echo") >&5
6615 (eval "$ac_link") 2>conftest.er1
6617 grep -v '^ *+' conftest.er1 >conftest.err
6619 cat conftest.err >&5
6620 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6621 (exit $ac_status); } && {
6622 test -z "$ac_c_werror_flag" ||
6623 test ! -s conftest.err
6624 } && test -s conftest$ac_exeext && {
6625 test "$cross_compiling" = yes ||
6626 $as_test_x conftest$ac_exeext
6628 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
6629 $as_echo "ok
" >&6; }
6630 CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_TOOLBOX=1"
6632 $as_echo "$as_me: failed program was
:" >&5
6633 sed 's/^/| /' conftest.$ac_ext >&5
6635 { $as_echo "$as_me:$LINENO: result
: not found
" >&5
6636 $as_echo "not found
" >&6; }
6637 CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_TOOLBOX=0"
6640 rm -rf conftest.dSYM
6641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6642 conftest$ac_exeext conftest.$ac_ext
6646 # Whether to use QuickDraw API in Carbon which is deprecated since
6650 # Check whether --with-quickdraw-carbon was given.
6651 if test "${with_quickdraw_carbon+set}" = set; then
6652 withval=$with_quickdraw_carbon;
6655 if test x$with_quickdraw_carbon = xno; then
6656 CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_CARBON=0"
6657 elif test x$with_old_mac_fonts = xyes -a x$with_quickdraw_carbon != x; then
6658 { $as_echo "$as_me:$LINENO: checking QuickDraw FontManager functions
in Carbon
" >&5
6659 $as_echo_n "checking QuickDraw FontManager functions
in Carbon...
" >&6; }
6660 cat >conftest.$ac_ext <<_ACEOF
6664 cat confdefs.h >>conftest.$ac_ext
6665 cat >>conftest.$ac_ext <<_ACEOF
6666 /* end confdefs.h. */
6669 #if defined(__GNUC__) && defined(__APPLE_CC__)
6670 # include <CoreServices/CoreServices.h>
6671 # include <ApplicationServices/ApplicationServices.h>
6673 # include <ConditionalMacros.h>
6683 FMFontFamilyIterator famIter;
6684 FMFontFamily family;
6686 FMFontFamilyInstanceIterator instIter;
6693 FMCreateFontFamilyIterator( NULL, NULL, kFMUseGlobalScopeOption,
6695 FMGetNextFontFamily( &famIter, &family );
6696 FMGetFontFamilyName( family, famNameStr );
6697 FMCreateFontFamilyInstanceIterator( family, &instIter );
6698 FMGetNextFontFamilyInstance( &instIter, &font, &style, &size );
6699 FMDisposeFontFamilyInstanceIterator( &instIter );
6700 FMDisposeFontFamilyIterator( &famIter );
6701 FMGetFontContainer( font, pathSpec );
6708 rm -f conftest.$ac_objext conftest$ac_exeext
6709 if { (ac_try="$ac_link"
6711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6712 *) ac_try_echo=$ac_try;;
6714 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6715 $as_echo "$ac_try_echo") >&5
6716 (eval "$ac_link") 2>conftest.er1
6718 grep -v '^ *+' conftest.er1 >conftest.err
6720 cat conftest.err >&5
6721 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6722 (exit $ac_status); } && {
6723 test -z "$ac_c_werror_flag" ||
6724 test ! -s conftest.err
6725 } && test -s conftest$ac_exeext && {
6726 test "$cross_compiling" = yes ||
6727 $as_test_x conftest$ac_exeext
6729 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
6730 $as_echo "ok
" >&6; }
6731 CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_CARBON=1"
6733 $as_echo "$as_me: failed program was
:" >&5
6734 sed 's/^/| /' conftest.$ac_ext >&5
6736 { $as_echo "$as_me:$LINENO: result
: not found
" >&5
6737 $as_echo "not found
" >&6; }
6738 CFLAGS="$CFLAGS -DHAVE_QUICKDRAW_CARBON=0"
6741 rm -rf conftest.dSYM
6742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6743 conftest$ac_exeext conftest.$ac_ext
6747 # Whether to use AppleTypeService since Mac OS X.
6749 # don't quote AS_HELP_STRING!
6751 # Check whether --with-ats was given.
6752 if test "${with_ats+set}" = set; then
6756 if test x$with_ats = xno; then
6757 CFLAGS="$CFLAGS -DHAVE_ATS=0"
6758 elif test x$with_old_mac_fonts = xyes -a x$with_ats != x ; then
6759 { $as_echo "$as_me:$LINENO: checking AppleTypeService functions
" >&5
6760 $as_echo_n "checking AppleTypeService functions...
" >&6; }
6761 cat >conftest.$ac_ext <<_ACEOF
6765 cat confdefs.h >>conftest.$ac_ext
6766 cat >>conftest.$ac_ext <<_ACEOF
6767 /* end confdefs.h. */
6770 #if defined(__GNUC__) && defined(__APPLE_CC__)
6771 # include <CoreServices/CoreServices.h>
6772 # include <ApplicationServices/ApplicationServices.h>
6774 # include <ConditionalMacros.h>
6787 ATSFontFindFromName( NULL, kATSOptionFlagsUnRestrictedScope );
6789 ATSFontGetFileSpecification( 0, pathSpec );
6797 rm -f conftest.$ac_objext conftest$ac_exeext
6798 if { (ac_try="$ac_link"
6800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6801 *) ac_try_echo=$ac_try;;
6803 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6804 $as_echo "$ac_try_echo") >&5
6805 (eval "$ac_link") 2>conftest.er1
6807 grep -v '^ *+' conftest.er1 >conftest.err
6809 cat conftest.err >&5
6810 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6811 (exit $ac_status); } && {
6812 test -z "$ac_c_werror_flag" ||
6813 test ! -s conftest.err
6814 } && test -s conftest$ac_exeext && {
6815 test "$cross_compiling" = yes ||
6816 $as_test_x conftest$ac_exeext
6818 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
6819 $as_echo "ok
" >&6; }
6820 CFLAGS="$CFLAGS -DHAVE_ATS=1"
6822 $as_echo "$as_me: failed program was
:" >&5
6823 sed 's/^/| /' conftest.$ac_ext >&5
6825 { $as_echo "$as_me:$LINENO: result
: not found
" >&5
6826 $as_echo "not found
" >&6; }
6827 CFLAGS="$CFLAGS -DHAVE_ATS=0"
6830 rm -rf conftest.dSYM
6831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6832 conftest$ac_exeext conftest.$ac_ext
6836 *HAVE_FSSPEC* | *HAVE_FSREF* | *HAVE_QUICKDRAW* | *HAVE_ATS* )
6837 { $as_echo "$as_me:$LINENO: WARNING
:
6839 FSSpec
/FSRef
/QuickDraw
/ATS options are explicitly given
,
6840 thus it is recommended to replace src
/base
/ftmac.c by builds
/mac
/ftmac.c.
6842 $as_echo "$as_me: WARNING
:
6844 FSSpec
/FSRef
/QuickDraw
/ATS options are explicitly given
,
6845 thus it is recommended to replace src
/base
/ftmac.c by builds
/mac
/ftmac.c.
6847 CFLAGS="$CFLAGS "'-I$(TOP_DIR)/builds/mac/'
6864 { $as_echo "$as_me:$LINENO: WARNING
: Libtool does not cope well with whitespace
in \
`pwd\`" >&5
6865 $as_echo "$as_me: WARNING
: Libtool does not cope well with whitespace
in \
`pwd\`" >&2;} ;;
6870 macro_version='2.2.6b'
6871 macro_revision='1.3017'
6885 ltmain="$ac_aux_dir/ltmain.sh
"
6887 { $as_echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
6888 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6889 if test "${ac_cv_path_SED+set}" = set; then
6890 $as_echo_n "(cached
) " >&6
6892 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6893 for ac_i in 1 2 3 4 5 6 7; do
6894 ac_script="$ac_script$as_nl$ac_script"
6896 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6897 $as_unset ac_script || ac_script=
6898 if test -z "$SED"; then
6899 ac_path_SED_found=false
6900 # Loop through the user's path and test for each of PROGNAME-LIST
6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905 test -z "$as_dir" && as_dir=.
6906 for ac_prog in sed gsed; do
6907 for ac_exec_ext in '' $ac_executable_extensions; do
6908 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6909 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6910 # Check for GNU ac_path_SED and select it if it is found.
6911 # Check for GNU $ac_path_SED
6912 case `"$ac_path_SED" --version 2>&1` in
6914 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6917 $as_echo_n 0123456789 >"conftest.
in"
6920 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6921 mv "conftest.tmp
" "conftest.
in"
6922 cp "conftest.
in" "conftest.
nl"
6923 $as_echo '' >> "conftest.
nl"
6924 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6925 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6926 ac_count=`expr $ac_count + 1`
6927 if test $ac_count -gt ${ac_path_SED_max-0}; then
6928 # Best one so far, save it but keep looking for a better one
6929 ac_cv_path_SED="$ac_path_SED"
6930 ac_path_SED_max=$ac_count
6932 # 10*(2^10) chars as input seems more than enough
6933 test $ac_count -gt 10 && break
6935 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6938 $ac_path_SED_found && break 3
6943 if test -z "$ac_cv_path_SED"; then
6944 { { $as_echo "$as_me:$LINENO: error
: no acceptable
sed could be found
in \
$PATH" >&5
6945 $as_echo "$as_me: error
: no acceptable
sed could be found
in \
$PATH" >&2;}
6946 { (exit 1); exit 1; }; }
6953 { $as_echo "$as_me:$LINENO: result
: $ac_cv_path_SED" >&5
6954 $as_echo "$ac_cv_path_SED" >&6; }
6955 SED="$ac_cv_path_SED"
6958 test -z "$SED" && SED=sed
6959 Xsed="$SED -e 1s
/^X
//"
6971 { $as_echo "$as_me:$LINENO: checking
for fgrep
" >&5
6972 $as_echo_n "checking
for fgrep...
" >&6; }
6973 if test "${ac_cv_path_FGREP+set}" = set; then
6974 $as_echo_n "(cached
) " >&6
6976 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6977 then ac_cv_path_FGREP="$GREP -F"
6979 if test -z "$FGREP"; then
6980 ac_path_FGREP_found=false
6981 # Loop through the user's path and test for each of PROGNAME-LIST
6982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6983 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6986 test -z "$as_dir" && as_dir=.
6987 for ac_prog in fgrep; do
6988 for ac_exec_ext in '' $ac_executable_extensions; do
6989 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6990 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6991 # Check for GNU ac_path_FGREP and select it if it is found.
6992 # Check for GNU $ac_path_FGREP
6993 case `"$ac_path_FGREP" --version 2>&1` in
6995 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6998 $as_echo_n 0123456789 >"conftest.
in"
7001 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
7002 mv "conftest.tmp
" "conftest.
in"
7003 cp "conftest.
in" "conftest.
nl"
7004 $as_echo 'FGREP' >> "conftest.
nl"
7005 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
7006 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
7007 ac_count=`expr $ac_count + 1`
7008 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7009 # Best one so far, save it but keep looking for a better one
7010 ac_cv_path_FGREP="$ac_path_FGREP"
7011 ac_path_FGREP_max=$ac_count
7013 # 10*(2^10) chars as input seems more than enough
7014 test $ac_count -gt 10 && break
7016 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7019 $ac_path_FGREP_found && break 3
7024 if test -z "$ac_cv_path_FGREP"; then
7025 { { $as_echo "$as_me:$LINENO: error
: no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
7026 $as_echo "$as_me: error
: no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
7027 { (exit 1); exit 1; }; }
7030 ac_cv_path_FGREP=$FGREP
7035 { $as_echo "$as_me:$LINENO: result
: $ac_cv_path_FGREP" >&5
7036 $as_echo "$ac_cv_path_FGREP" >&6; }
7037 FGREP="$ac_cv_path_FGREP"
7040 test -z "$GREP" && GREP=grep
7060 # Check whether --with-gnu-ld was given.
7061 if test "${with_gnu_ld+set}" = set; then
7062 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7068 if test "$GCC" = yes; then
7069 # Check if gcc -print-prog-name=ld gives a path.
7070 { $as_echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
7071 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
7074 # gcc leaves a trailing carriage return which upsets mingw
7075 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7077 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7080 # Accept absolute paths.
7082 re_direlt='/[^/][^/]*/\.\./'
7083 # Canonicalize the pathname of ld
7084 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7085 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7086 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
7088 test -z "$LD" && LD="$ac_prog"
7091 # If it fails, then pretend we aren't using GCC.
7095 # If it is relative, then search for the first ld in PATH.
7099 elif test "$with_gnu_ld" = yes; then
7100 { $as_echo "$as_me:$LINENO: checking
for GNU ld
" >&5
7101 $as_echo_n "checking
for GNU ld...
" >&6; }
7103 { $as_echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
7104 $as_echo_n "checking
for non-GNU ld...
" >&6; }
7106 if test "${lt_cv_path_LD+set}" = set; then
7107 $as_echo_n "(cached
) " >&6
7109 if test -z "$LD"; then
7110 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7111 for ac_dir in $PATH; do
7113 test -z "$ac_dir" && ac_dir=.
7114 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7115 lt_cv_path_LD="$ac_dir/$ac_prog"
7116 # Check to see if the program is GNU ld. I'd rather use --version,
7117 # but apparently some variants of GNU ld only accept -v.
7118 # Break only if it was the GNU/non-GNU ld that we prefer.
7119 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7120 *GNU* | *'with BFD'*)
7121 test "$with_gnu_ld" != no && break
7124 test "$with_gnu_ld" != yes && break
7131 lt_cv_path_LD="$LD" # Let the user override the test with a path.
7136 if test -n "$LD"; then
7137 { $as_echo "$as_me:$LINENO: result
: $LD" >&5
7138 $as_echo "$LD" >&6; }
7140 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7141 $as_echo "no
" >&6; }
7143 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
7144 $as_echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
7145 { (exit 1); exit 1; }; }
7146 { $as_echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
7147 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
7148 if test "${lt_cv_prog_gnu_ld+set}" = set; then
7149 $as_echo_n "(cached
) " >&6
7151 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7152 case `$LD -v 2>&1 </dev/null` in
7153 *GNU* | *'with BFD'*)
7154 lt_cv_prog_gnu_ld=yes
7157 lt_cv_prog_gnu_ld=no
7161 { $as_echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
7162 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7163 with_gnu_ld=$lt_cv_prog_gnu_ld
7173 { $as_echo "$as_me:$LINENO: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
7174 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
7175 if test "${lt_cv_path_NM+set}" = set; then
7176 $as_echo_n "(cached
) " >&6
7178 if test -n "$NM"; then
7179 # Let the user override the test.
7182 lt_nm_to_check="${ac_tool_prefix}nm
"
7183 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7184 lt_nm_to_check="$lt_nm_to_check nm
"
7186 for lt_tmp_nm in $lt_nm_to_check; do
7187 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7188 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7190 test -z "$ac_dir" && ac_dir=.
7191 tmp_nm="$ac_dir/$lt_tmp_nm"
7192 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7193 # Check to see if the nm accepts a BSD-compat flag.
7194 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7195 # nm: unknown option "B
" ignored
7196 # Tru64's nm complains that /dev/null is an invalid object file
7197 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7198 */dev/null* | *'Invalid file or object type'*)
7199 lt_cv_path_NM="$tmp_nm -B"
7203 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7205 lt_cv_path_NM="$tmp_nm -p"
7209 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7210 continue # so that we can try to find one that supports BSD flags
7219 : ${lt_cv_path_NM=no}
7222 { $as_echo "$as_me:$LINENO: result
: $lt_cv_path_NM" >&5
7223 $as_echo "$lt_cv_path_NM" >&6; }
7224 if test "$lt_cv_path_NM" != "no
"; then
7227 # Didn't find any BSD compatible name lister, look for dumpbin.
7228 if test -n "$ac_tool_prefix"; then
7229 for ac_prog in "dumpbin
-symbols" "link
-dump -symbols"
7231 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7232 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7233 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7234 $as_echo_n "checking
for $ac_word...
" >&6; }
7235 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
7236 $as_echo_n "(cached
) " >&6
7238 if test -n "$DUMPBIN"; then
7239 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7248 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7249 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7258 DUMPBIN=$ac_cv_prog_DUMPBIN
7259 if test -n "$DUMPBIN"; then
7260 { $as_echo "$as_me:$LINENO: result
: $DUMPBIN" >&5
7261 $as_echo "$DUMPBIN" >&6; }
7263 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7264 $as_echo "no
" >&6; }
7268 test -n "$DUMPBIN" && break
7271 if test -z "$DUMPBIN"; then
7272 ac_ct_DUMPBIN=$DUMPBIN
7273 for ac_prog in "dumpbin
-symbols" "link
-dump -symbols"
7275 # Extract the first word of "$ac_prog", so it can be a program name with args.
7276 set dummy $ac_prog; ac_word=$2
7277 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7278 $as_echo_n "checking
for $ac_word...
" >&6; }
7279 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
7280 $as_echo_n "(cached
) " >&6
7282 if test -n "$ac_ct_DUMPBIN"; then
7283 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7289 test -z "$as_dir" && as_dir=.
7290 for ac_exec_ext in '' $ac_executable_extensions; do
7291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7292 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7293 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7302 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7303 if test -n "$ac_ct_DUMPBIN"; then
7304 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DUMPBIN" >&5
7305 $as_echo "$ac_ct_DUMPBIN" >&6; }
7307 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7308 $as_echo "no
" >&6; }
7312 test -n "$ac_ct_DUMPBIN" && break
7315 if test "x
$ac_ct_DUMPBIN" = x; then
7318 case $cross_compiling:$ac_tool_warned in
7320 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7321 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7322 ac_tool_warned=yes ;;
7324 DUMPBIN=$ac_ct_DUMPBIN
7329 if test "$DUMPBIN" != ":"; then
7333 test -z "$NM" && NM=nm
7340 { $as_echo "$as_me:$LINENO: checking the name lister
($NM) interface
" >&5
7341 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
7342 if test "${lt_cv_nm_interface+set}" = set; then
7343 $as_echo_n "(cached
) " >&6
7345 lt_cv_nm_interface="BSD nm
"
7346 echo "int some_variable
= 0;" > conftest.$ac_ext
7347 (eval echo "\"\
$as_me:7347: $ac_compile\"" >&5)
7348 (eval "$ac_compile" 2>conftest.err)
7349 cat conftest.err >&5
7350 (eval echo "\"\
$as_me:7350: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
7351 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
7352 cat conftest.err >&5
7353 (eval echo "\"\
$as_me:7353: output
\"" >&5)
7354 cat conftest.out >&5
7355 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7356 lt_cv_nm_interface="MS dumpbin
"
7360 { $as_echo "$as_me:$LINENO: result
: $lt_cv_nm_interface" >&5
7361 $as_echo "$lt_cv_nm_interface" >&6; }
7363 { $as_echo "$as_me:$LINENO: checking whether
ln -s works
" >&5
7364 $as_echo_n "checking whether
ln -s works...
" >&6; }
7366 if test "$LN_S" = "ln -s"; then
7367 { $as_echo "$as_me:$LINENO: result
: yes" >&5
7368 $as_echo "yes" >&6; }
7370 { $as_echo "$as_me:$LINENO: result
: no
, using
$LN_S" >&5
7371 $as_echo "no
, using
$LN_S" >&6; }
7374 # find the maximum length of command line arguments
7375 { $as_echo "$as_me:$LINENO: checking the maximum length of
command line arguments
" >&5
7376 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
7377 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7378 $as_echo_n "(cached
) " >&6
7385 # On DJGPP, this test can blow up pretty badly due to problems in libc
7386 # (any single argument exceeding 2000 bytes causes a buffer overrun
7387 # during glob expansion). Even if it were fixed, the result of this
7388 # check would be larger than it should be.
7389 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7393 # Under GNU Hurd, this test is not required because there is
7394 # no limit to the length of command line arguments.
7395 # Libtool will interpret -1 as no limit whatsoever
7396 lt_cv_sys_max_cmd_len=-1;
7399 cygwin* | mingw* | cegcc*)
7400 # On Win9x/ME, this test blows up -- it succeeds, but takes
7401 # about 5 minutes as the teststring grows exponentially.
7402 # Worse, since 9x/ME are not pre-emptively multitasking,
7403 # you end up with a "frozen
" computer, even though with patience
7404 # the test eventually succeeds (with a max line length of 256k).
7405 # Instead, let's just punt: use the minimum linelength reported by
7406 # all of the supported platforms: 8192 (on NT/2K/XP).
7407 lt_cv_sys_max_cmd_len=8192;
7411 # On AmigaOS with pdksh, this test takes hours, literally.
7412 # So we just punt and use a minimum line length of 8192.
7413 lt_cv_sys_max_cmd_len=8192;
7416 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7417 # This has been around since 386BSD, at least. Likely further.
7418 if test -x /sbin/sysctl; then
7419 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7420 elif test -x /usr/sbin/sysctl; then
7421 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7423 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7425 # And add a safety zone
7426 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7427 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7431 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7432 lt_cv_sys_max_cmd_len=196608
7436 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7437 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7438 # nice to cause kernel panics so lets avoid the loop below.
7439 # First set a reasonable default.
7440 lt_cv_sys_max_cmd_len=16384
7442 if test -x /sbin/sysconfig; then
7443 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7444 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7449 lt_cv_sys_max_cmd_len=102400
7451 sysv5* | sco5v6* | sysv4.2uw2*)
7452 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7453 if test -n "$kargmax"; then
7454 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7456 lt_cv_sys_max_cmd_len=32768
7460 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7461 if test -n "$lt_cv_sys_max_cmd_len"; then
7462 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7463 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7465 # Make teststring a little bigger before we do anything with it.
7466 # a 1K string should be a reasonable start.
7467 for i in 1 2 3 4 5 6 7 8 ; do
7468 teststring=$teststring$teststring
7470 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7471 # If test is not a shell built-in, we'll probably end up computing a
7472 # maximum length that is only half of the actual maximum length, but
7474 while { test "X
"`$SHELL $0 --fallback-echo "X
$teststring$teststring" 2>/dev/null` \
7475 = "XX
$teststring$teststring"; } >/dev/null 2>&1 &&
7476 test $i != 17 # 1/2 MB should be enough
7479 teststring=$teststring$teststring
7481 # Only check the string length outside the loop.
7482 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
7484 # Add a significant safety factor because C++ compilers can tack on
7485 # massive amounts of additional arguments before passing them to the
7486 # linker. It appears as though 1/2 is a usable value.
7487 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7494 if test -n $lt_cv_sys_max_cmd_len ; then
7495 { $as_echo "$as_me:$LINENO: result
: $lt_cv_sys_max_cmd_len" >&5
7496 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7498 { $as_echo "$as_me:$LINENO: result
: none
" >&5
7499 $as_echo "none
" >&6; }
7501 max_cmd_len=$lt_cv_sys_max_cmd_len
7512 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs
" >&5
7513 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
7514 # Try some XSI features
7517 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7519 && eval 'test $(( 1 + 1 )) -eq 2 \
7520 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7522 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
7523 $as_echo "$xsi_shell" >&6; }
7526 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
7527 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7529 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7531 && lt_shell_append
=yes
7532 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
7533 $as_echo "$lt_shell_append" >&6; }
7536 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7546 # test EBCDIC or ASCII
7547 case `echo X|tr X '\101'` in
7548 A
) # ASCII based system
7549 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7550 lt_SP2NL
='tr \040 \012'
7551 lt_NL2SP
='tr \015\012 \040\040'
7553 *) # EBCDIC based system
7554 lt_SP2NL
='tr \100 \n'
7555 lt_NL2SP
='tr \r\n \100\100'
7567 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7568 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7569 if test "${lt_cv_ld_reload_flag+set}" = set; then
7570 $as_echo_n "(cached) " >&6
7572 lt_cv_ld_reload_flag
='-r'
7574 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7575 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7576 reload_flag
=$lt_cv_ld_reload_flag
7577 case $reload_flag in
7579 *) reload_flag
=" $reload_flag" ;;
7581 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7584 if test "$GCC" = yes; then
7585 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7587 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7600 if test -n "$ac_tool_prefix"; then
7601 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7602 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7603 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7604 $as_echo_n "checking for $ac_word... " >&6; }
7605 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7606 $as_echo_n "(cached) " >&6
7608 if test -n "$OBJDUMP"; then
7609 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7615 test -z "$as_dir" && as_dir
=.
7616 for ac_exec_ext
in '' $ac_executable_extensions; do
7617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7618 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7619 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7628 OBJDUMP
=$ac_cv_prog_OBJDUMP
7629 if test -n "$OBJDUMP"; then
7630 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
7631 $as_echo "$OBJDUMP" >&6; }
7633 { $as_echo "$as_me:$LINENO: result: no" >&5
7634 $as_echo "no" >&6; }
7639 if test -z "$ac_cv_prog_OBJDUMP"; then
7640 ac_ct_OBJDUMP
=$OBJDUMP
7641 # Extract the first word of "objdump", so it can be a program name with args.
7642 set dummy objdump
; ac_word
=$2
7643 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7644 $as_echo_n "checking for $ac_word... " >&6; }
7645 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
7646 $as_echo_n "(cached) " >&6
7648 if test -n "$ac_ct_OBJDUMP"; then
7649 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7655 test -z "$as_dir" && as_dir
=.
7656 for ac_exec_ext
in '' $ac_executable_extensions; do
7657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7658 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7659 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7668 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7669 if test -n "$ac_ct_OBJDUMP"; then
7670 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
7671 $as_echo "$ac_ct_OBJDUMP" >&6; }
7673 { $as_echo "$as_me:$LINENO: result: no" >&5
7674 $as_echo "no" >&6; }
7677 if test "x$ac_ct_OBJDUMP" = x
; then
7680 case $cross_compiling:$ac_tool_warned in
7682 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7684 ac_tool_warned
=yes ;;
7686 OBJDUMP
=$ac_ct_OBJDUMP
7689 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7692 test -z "$OBJDUMP" && OBJDUMP
=objdump
7699 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
7700 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7701 if test "${lt_cv_deplibs_check_method+set}" = set; then
7702 $as_echo_n "(cached) " >&6
7704 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7705 lt_cv_file_magic_test_file
=
7706 lt_cv_deplibs_check_method
='unknown'
7707 # Need to set the preceding variable on all platforms that support
7708 # interlibrary dependencies.
7709 # 'none' -- dependencies not supported.
7710 # `unknown' -- same as none, but documents that we really don't know.
7711 # 'pass_all' -- all dependencies passed with no checks.
7712 # 'test_compile' -- check by making test program.
7713 # 'file_magic [[regex]]' -- check by looking for files in library path
7714 # which responds to the $file_magic_cmd with a given extended regex.
7715 # If you have `file' or equivalent on your system and you're not sure
7716 # whether `pass_all' will *always* work, you probably want this one.
7720 lt_cv_deplibs_check_method
=pass_all
7724 lt_cv_deplibs_check_method
=pass_all
7728 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7729 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7730 lt_cv_file_magic_test_file
=/shlib
/libc.so
7734 # func_win32_libid is a shell function defined in ltmain.sh
7735 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7736 lt_cv_file_magic_cmd
='func_win32_libid'
7740 # Base MSYS/MinGW do not provide the 'file' command needed by
7741 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7742 # unless we find 'file', for example because we are cross-compiling.
7743 if ( file / ) >/dev
/null
2>&1; then
7744 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7745 lt_cv_file_magic_cmd
='func_win32_libid'
7747 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7748 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7753 # use the weaker test based on 'objdump'. See mingw*.
7754 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7755 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7758 darwin
* | rhapsody
*)
7759 lt_cv_deplibs_check_method
=pass_all
7762 freebsd
* | dragonfly
*)
7763 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7766 # Not sure whether the presence of OpenBSD here was a mistake.
7767 # Let's accept both of them until this is cleared up.
7768 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7769 lt_cv_file_magic_cmd
=/usr
/bin
/file
7770 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7774 lt_cv_deplibs_check_method
=pass_all
7779 lt_cv_deplibs_check_method
=pass_all
7782 hpux10.20
* | hpux11
*)
7783 lt_cv_file_magic_cmd
=/usr
/bin
/file
7786 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7787 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7790 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]'
7791 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7794 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7795 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7801 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7802 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7805 irix5
* | irix6
* | nonstopux
*)
7807 *-32|
*"-32 ") libmagic
=32-bit;;
7808 *-n32|
*"-n32 ") libmagic
=N32
;;
7809 *-64|
*"-64 ") libmagic
=64-bit;;
7810 *) libmagic
=never-match
;;
7812 lt_cv_deplibs_check_method
=pass_all
7815 # This must be Linux ELF.
7816 linux
* | k
*bsd
*-gnu)
7817 lt_cv_deplibs_check_method
=pass_all
7821 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7822 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7824 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7829 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7830 lt_cv_file_magic_cmd
=/usr
/bin
/file
7831 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7835 lt_cv_deplibs_check_method
=pass_all
7839 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7840 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7842 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7846 osf3
* | osf4
* | osf5
*)
7847 lt_cv_deplibs_check_method
=pass_all
7851 lt_cv_deplibs_check_method
=pass_all
7855 lt_cv_deplibs_check_method
=pass_all
7858 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7859 lt_cv_deplibs_check_method
=pass_all
7863 case $host_vendor in
7865 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]'
7866 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7869 lt_cv_deplibs_check_method
=pass_all
7872 lt_cv_file_magic_cmd
='/bin/file'
7873 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7876 lt_cv_file_magic_cmd
='/bin/file'
7877 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7878 lt_cv_file_magic_test_file
=/lib
/libc.so
7881 lt_cv_deplibs_check_method
=pass_all
7884 lt_cv_deplibs_check_method
=pass_all
7890 lt_cv_deplibs_check_method
=pass_all
7895 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7896 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7897 file_magic_cmd
=$lt_cv_file_magic_cmd
7898 deplibs_check_method
=$lt_cv_deplibs_check_method
7899 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7912 if test -n "$ac_tool_prefix"; then
7913 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7914 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7915 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7916 $as_echo_n "checking for $ac_word... " >&6; }
7917 if test "${ac_cv_prog_AR+set}" = set; then
7918 $as_echo_n "(cached) " >&6
7920 if test -n "$AR"; then
7921 ac_cv_prog_AR
="$AR" # Let the user override the test.
7923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7927 test -z "$as_dir" && as_dir
=.
7928 for ac_exec_ext
in '' $ac_executable_extensions; do
7929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7930 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7931 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7941 if test -n "$AR"; then
7942 { $as_echo "$as_me:$LINENO: result: $AR" >&5
7943 $as_echo "$AR" >&6; }
7945 { $as_echo "$as_me:$LINENO: result: no" >&5
7946 $as_echo "no" >&6; }
7951 if test -z "$ac_cv_prog_AR"; then
7953 # Extract the first word of "ar", so it can be a program name with args.
7954 set dummy
ar; ac_word
=$2
7955 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7956 $as_echo_n "checking for $ac_word... " >&6; }
7957 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7958 $as_echo_n "(cached) " >&6
7960 if test -n "$ac_ct_AR"; then
7961 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7967 test -z "$as_dir" && as_dir
=.
7968 for ac_exec_ext
in '' $ac_executable_extensions; do
7969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7970 ac_cv_prog_ac_ct_AR
="ar"
7971 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7980 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7981 if test -n "$ac_ct_AR"; then
7982 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7983 $as_echo "$ac_ct_AR" >&6; }
7985 { $as_echo "$as_me:$LINENO: result: no" >&5
7986 $as_echo "no" >&6; }
7989 if test "x$ac_ct_AR" = x
; then
7992 case $cross_compiling:$ac_tool_warned in
7994 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7996 ac_tool_warned
=yes ;;
8004 test -z "$AR" && AR
=ar
8005 test -z "$AR_FLAGS" && AR_FLAGS
=cru
8017 if test -n "$ac_tool_prefix"; then
8018 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8019 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8020 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8021 $as_echo_n "checking for $ac_word... " >&6; }
8022 if test "${ac_cv_prog_STRIP+set}" = set; then
8023 $as_echo_n "(cached) " >&6
8025 if test -n "$STRIP"; then
8026 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8032 test -z "$as_dir" && as_dir
=.
8033 for ac_exec_ext
in '' $ac_executable_extensions; do
8034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8035 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8036 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8045 STRIP
=$ac_cv_prog_STRIP
8046 if test -n "$STRIP"; then
8047 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
8048 $as_echo "$STRIP" >&6; }
8050 { $as_echo "$as_me:$LINENO: result: no" >&5
8051 $as_echo "no" >&6; }
8056 if test -z "$ac_cv_prog_STRIP"; then
8058 # Extract the first word of "strip", so it can be a program name with args.
8059 set dummy strip
; ac_word
=$2
8060 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8061 $as_echo_n "checking for $ac_word... " >&6; }
8062 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8063 $as_echo_n "(cached) " >&6
8065 if test -n "$ac_ct_STRIP"; then
8066 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8072 test -z "$as_dir" && as_dir
=.
8073 for ac_exec_ext
in '' $ac_executable_extensions; do
8074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8075 ac_cv_prog_ac_ct_STRIP
="strip"
8076 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8085 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8086 if test -n "$ac_ct_STRIP"; then
8087 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8088 $as_echo "$ac_ct_STRIP" >&6; }
8090 { $as_echo "$as_me:$LINENO: result: no" >&5
8091 $as_echo "no" >&6; }
8094 if test "x$ac_ct_STRIP" = x
; then
8097 case $cross_compiling:$ac_tool_warned in
8099 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8101 ac_tool_warned
=yes ;;
8106 STRIP
="$ac_cv_prog_STRIP"
8109 test -z "$STRIP" && STRIP
=:
8116 if test -n "$ac_tool_prefix"; then
8117 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8118 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8119 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8120 $as_echo_n "checking for $ac_word... " >&6; }
8121 if test "${ac_cv_prog_RANLIB+set}" = set; then
8122 $as_echo_n "(cached) " >&6
8124 if test -n "$RANLIB"; then
8125 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8131 test -z "$as_dir" && as_dir
=.
8132 for ac_exec_ext
in '' $ac_executable_extensions; do
8133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8134 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8135 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8144 RANLIB
=$ac_cv_prog_RANLIB
8145 if test -n "$RANLIB"; then
8146 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
8147 $as_echo "$RANLIB" >&6; }
8149 { $as_echo "$as_me:$LINENO: result: no" >&5
8150 $as_echo "no" >&6; }
8155 if test -z "$ac_cv_prog_RANLIB"; then
8156 ac_ct_RANLIB
=$RANLIB
8157 # Extract the first word of "ranlib", so it can be a program name with args.
8158 set dummy ranlib
; ac_word
=$2
8159 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8160 $as_echo_n "checking for $ac_word... " >&6; }
8161 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8162 $as_echo_n "(cached) " >&6
8164 if test -n "$ac_ct_RANLIB"; then
8165 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8171 test -z "$as_dir" && as_dir
=.
8172 for ac_exec_ext
in '' $ac_executable_extensions; do
8173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8174 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8175 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8184 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8185 if test -n "$ac_ct_RANLIB"; then
8186 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8187 $as_echo "$ac_ct_RANLIB" >&6; }
8189 { $as_echo "$as_me:$LINENO: result: no" >&5
8190 $as_echo "no" >&6; }
8193 if test "x$ac_ct_RANLIB" = x
; then
8196 case $cross_compiling:$ac_tool_warned in
8198 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8200 ac_tool_warned
=yes ;;
8202 RANLIB
=$ac_ct_RANLIB
8205 RANLIB
="$ac_cv_prog_RANLIB"
8208 test -z "$RANLIB" && RANLIB
=:
8215 # Determine commands to create old-style static archives.
8216 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8217 old_postinstall_cmds
='chmod 644 $oldlib'
8218 old_postuninstall_cmds
=
8220 if test -n "$RANLIB"; then
8223 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8226 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8229 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8265 # If no C compiler was specified, use CC.
8268 # If no C compiler flags were specified, use CFLAGS.
8269 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8271 # Allow CC to be a program name with arguments.
8275 # Check for command to grab the raw symbol name followed by C symbol from nm.
8276 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8277 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8278 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8279 $as_echo_n "(cached) " >&6
8282 # These are sane defaults that work on at least a few old systems.
8283 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8285 # Character class describing NM global symbol codes.
8286 symcode
='[BCDEGRST]'
8288 # Regexp to match symbols that can be accessed directly from C.
8289 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8291 # Define system-specific variables.
8296 cygwin
* | mingw
* | pw32
* | cegcc
*)
8297 symcode
='[ABCDGISTW]'
8300 if test "$host_cpu" = ia64
; then
8301 symcode
='[ABCDEGRST]'
8305 symcode
='[BCDEGRST]'
8308 symcode
='[BCDEGQRST]'
8319 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8327 # If we're using GNU nm, then use its standard symbol codes.
8328 case `$NM -V 2>&1` in
8329 *GNU
* |
*'with BFD'*)
8330 symcode
='[ABCDGIRSTW]' ;;
8333 # Transform an extracted symbol line into a proper C declaration.
8334 # Some systems (esp. on ia64) link data and code symbols differently,
8335 # so use this general approach.
8336 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8338 # Transform an extracted symbol line into symbol name and symbol address
8339 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8340 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'"
8342 # Handle CRLF in mingw tool chain
8346 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8350 # Try without a prefix underscore, then with it.
8351 for ac_symprfx
in "" "_"; do
8353 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8354 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8356 # Write the raw and C identifiers.
8357 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8358 # Fake it for dumpbin and say T for any non-static function
8359 # and D for any global variable.
8360 # Also find C++ and __fastcall symbols from MSVC++,
8361 # which start with @ or ?.
8362 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8363 " {last_section=section; section=\$ 3};"\
8364 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8365 " \$ 0!~/External *\|/{next};"\
8366 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8367 " {if(hide[section]) next};"\
8368 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8369 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8370 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8371 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8372 " ' prfx=^$ac_symprfx"
8374 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8377 # Check to see that the pipe works correctly.
8381 cat > conftest.
$ac_ext <<_LT_EOF
8386 void nm_test_func(void);
8387 void nm_test_func(void){}
8391 int main(){nm_test_var='a';nm_test_func();return(0);}
8394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8395 (eval $ac_compile) 2>&5
8397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); }; then
8399 # Now try to grab the symbols.
8401 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8402 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
8404 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405 (exit $ac_status); } && test -s "$nlist"; then
8406 # Try sorting and uniquifying the output.
8407 if sort "$nlist" |
uniq > "$nlist"T
; then
8408 mv -f "$nlist"T
"$nlist"
8413 # Make sure that we snagged all the symbols we need.
8414 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8415 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8416 cat <<_LT_EOF > conftest.$ac_ext
8422 # Now generate the symbol file.
8423 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8425 cat <<_LT_EOF >> conftest.$ac_ext
8427 /* The mapping between symbol names and symbols. */
8432 lt__PROGRAM__LTX_preloaded_symbols[] =
8434 { "@PROGRAM@", (void *) 0 },
8436 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8437 cat <<\_LT_EOF
>> conftest.
$ac_ext
8441 /* This works around a problem
in FreeBSD linker
*/
8442 #ifdef FREEBSD_WORKAROUND
8443 static const void
*lt_preloaded_setup
() {
8444 return lt__PROGRAM__LTX_preloaded_symbols
;
8452 # Now try linking the two files.
8453 mv conftest.
$ac_objext conftstm.
$ac_objext
8454 lt_save_LIBS
="$LIBS"
8455 lt_save_CFLAGS
="$CFLAGS"
8456 LIBS
="conftstm.$ac_objext"
8457 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8459 (eval $ac_link) 2>&5
8461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8462 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
8465 LIBS
="$lt_save_LIBS"
8466 CFLAGS
="$lt_save_CFLAGS"
8468 echo "cannot find nm_test_func in $nlist" >&5
8471 echo "cannot find nm_test_var in $nlist" >&5
8474 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8477 echo "$progname: failed program was:" >&5
8478 cat conftest.
$ac_ext >&5
8480 rm -rf conftest
* conftst
*
8482 # Do not use the global_symbol_pipe unless it works.
8483 if test "$pipe_works" = yes; then
8486 lt_cv_sys_global_symbol_pipe
=
8492 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8493 lt_cv_sys_global_symbol_to_cdecl
=
8495 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8496 { $as_echo "$as_me:$LINENO: result: failed" >&5
8497 $as_echo "failed" >&6; }
8499 { $as_echo "$as_me:$LINENO: result: ok" >&5
8500 $as_echo "ok" >&6; }
8524 # Check whether --enable-libtool-lock was given.
8525 if test "${enable_libtool_lock+set}" = set; then
8526 enableval
=$enable_libtool_lock;
8529 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8531 # Some flags need to be propagated to the compiler or linker for good
8535 # Find out which ABI we are using.
8536 echo 'int i;' > conftest.
$ac_ext
8537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8538 (eval $ac_compile) 2>&5
8540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); }; then
8542 case `/usr/bin/file conftest.$ac_objext` in
8554 # Find out which ABI we are using.
8555 echo '#line 8555 "configure"' > conftest.
$ac_ext
8556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8557 (eval $ac_compile) 2>&5
8559 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); }; then
8561 if test "$lt_cv_prog_gnu_ld" = yes; then
8562 case `/usr/bin/file conftest.$ac_objext` in
8564 LD
="${LD-ld} -melf32bsmip"
8567 LD
="${LD-ld} -melf32bmipn32"
8570 LD
="${LD-ld} -melf64bmip"
8574 case `/usr/bin/file conftest.$ac_objext` in
8590 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
8591 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8592 # Find out which ABI we are using.
8593 echo 'int i;' > conftest.
$ac_ext
8594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8595 (eval $ac_compile) 2>&5
8597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598 (exit $ac_status); }; then
8599 case `/usr/bin/file conftest.o` in
8602 x86_64-
*kfreebsd
*-gnu)
8603 LD
="${LD-ld} -m elf_i386_fbsd"
8606 LD
="${LD-ld} -m elf_i386"
8608 ppc64-
*linux
*|powerpc64-
*linux
*)
8609 LD
="${LD-ld} -m elf32ppclinux"
8612 LD
="${LD-ld} -m elf_s390"
8615 LD
="${LD-ld} -m elf32_sparc"
8621 x86_64-
*kfreebsd
*-gnu)
8622 LD
="${LD-ld} -m elf_x86_64_fbsd"
8625 LD
="${LD-ld} -m elf_x86_64"
8627 ppc
*-*linux
*|powerpc
*-*linux
*)
8628 LD
="${LD-ld} -m elf64ppc"
8630 s390
*-*linux
*|s390
*-*tpf
*)
8631 LD
="${LD-ld} -m elf64_s390"
8634 LD
="${LD-ld} -m elf64_sparc"
8644 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8645 SAVE_CFLAGS
="$CFLAGS"
8646 CFLAGS
="$CFLAGS -belf"
8647 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8648 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8649 if test "${lt_cv_cc_needs_belf+set}" = set; then
8650 $as_echo_n "(cached) " >&6
8653 ac_cpp
='$CPP $CPPFLAGS'
8654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8658 cat >conftest.
$ac_ext <<_ACEOF
8661 cat confdefs.h
>>conftest.
$ac_ext
8662 cat >>conftest.
$ac_ext <<_ACEOF
8663 /* end confdefs.h. */
8673 rm -f conftest.
$ac_objext conftest
$ac_exeext
8674 if { (ac_try
="$ac_link"
8676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8677 *) ac_try_echo=$ac_try;;
8679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8680 $as_echo "$ac_try_echo") >&5
8681 (eval "$ac_link") 2>conftest.er1
8683 grep -v '^ *+' conftest.er1 >conftest.err
8685 cat conftest.err >&5
8686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8687 (exit $ac_status); } && {
8688 test -z "$ac_c_werror_flag" ||
8689 test ! -s conftest.err
8690 } && test -s conftest$ac_exeext && {
8691 test "$cross_compiling" = yes ||
8692 $as_test_x conftest$ac_exeext
8694 lt_cv_cc_needs_belf=yes
8696 $as_echo "$as_me: failed program was:" >&5
8697 sed 's/^/| /' conftest.$ac_ext >&5
8699 lt_cv_cc_needs_belf=no
8702 rm -rf conftest.dSYM
8703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8704 conftest$ac_exeext conftest.$ac_ext
8706 ac_cpp='$CPP $CPPFLAGS'
8707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8712 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8713 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8714 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8715 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8716 CFLAGS="$SAVE_CFLAGS"
8720 # Find out which ABI we are using.
8721 echo 'int i;' > conftest.$ac_ext
8722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8723 (eval $ac_compile) 2>&5
8725 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; then
8727 case `/usr
/bin
/file conftest.o
` in
8729 case $lt_cv_prog_gnu_ld in
8730 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8732 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8744 need_locks="$enable_libtool_lock"
8748 rhapsody* | darwin*)
8749 if test -n "$ac_tool_prefix"; then
8750 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8751 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8752 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8753 $as_echo_n "checking for $ac_word... " >&6; }
8754 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8755 $as_echo_n "(cached) " >&6
8757 if test -n "$DSYMUTIL"; then
8758 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8764 test -z "$as_dir" && as_dir=.
8765 for ac_exec_ext in '' $ac_executable_extensions; do
8766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8767 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8768 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8777 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8778 if test -n "$DSYMUTIL"; then
8779 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8780 $as_echo "$DSYMUTIL" >&6; }
8782 { $as_echo "$as_me:$LINENO: result: no" >&5
8783 $as_echo "no" >&6; }
8788 if test -z "$ac_cv_prog_DSYMUTIL"; then
8789 ac_ct_DSYMUTIL=$DSYMUTIL
8790 # Extract the first word of "dsymutil", so it can be a program name with args.
8791 set dummy dsymutil; ac_word=$2
8792 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8793 $as_echo_n "checking for $ac_word... " >&6; }
8794 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8795 $as_echo_n "(cached) " >&6
8797 if test -n "$ac_ct_DSYMUTIL"; then
8798 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8804 test -z "$as_dir" && as_dir=.
8805 for ac_exec_ext in '' $ac_executable_extensions; do
8806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8807 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8808 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8817 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8818 if test -n "$ac_ct_DSYMUTIL"; then
8819 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
8820 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8822 { $as_echo "$as_me:$LINENO: result: no" >&5
8823 $as_echo "no" >&6; }
8826 if test "x$ac_ct_DSYMUTIL" = x; then
8829 case $cross_compiling:$ac_tool_warned in
8831 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8833 ac_tool_warned=yes ;;
8835 DSYMUTIL=$ac_ct_DSYMUTIL
8838 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8841 if test -n "$ac_tool_prefix"; then
8842 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8843 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8844 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8845 $as_echo_n "checking for $ac_word... " >&6; }
8846 if test "${ac_cv_prog_NMEDIT+set}" = set; then
8847 $as_echo_n "(cached) " >&6
8849 if test -n "$NMEDIT"; then
8850 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8856 test -z "$as_dir" && as_dir=.
8857 for ac_exec_ext in '' $ac_executable_extensions; do
8858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8859 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8860 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8869 NMEDIT=$ac_cv_prog_NMEDIT
8870 if test -n "$NMEDIT"; then
8871 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
8872 $as_echo "$NMEDIT" >&6; }
8874 { $as_echo "$as_me:$LINENO: result: no" >&5
8875 $as_echo "no" >&6; }
8880 if test -z "$ac_cv_prog_NMEDIT"; then
8881 ac_ct_NMEDIT=$NMEDIT
8882 # Extract the first word of "nmedit", so it can be a program name with args.
8883 set dummy nmedit; ac_word=$2
8884 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8885 $as_echo_n "checking for $ac_word... " >&6; }
8886 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8887 $as_echo_n "(cached) " >&6
8889 if test -n "$ac_ct_NMEDIT"; then
8890 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8896 test -z "$as_dir" && as_dir=.
8897 for ac_exec_ext in '' $ac_executable_extensions; do
8898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8899 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8900 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8909 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8910 if test -n "$ac_ct_NMEDIT"; then
8911 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
8912 $as_echo "$ac_ct_NMEDIT" >&6; }
8914 { $as_echo "$as_me:$LINENO: result: no" >&5
8915 $as_echo "no" >&6; }
8918 if test "x$ac_ct_NMEDIT" = x; then
8921 case $cross_compiling:$ac_tool_warned in
8923 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8925 ac_tool_warned=yes ;;
8927 NMEDIT=$ac_ct_NMEDIT
8930 NMEDIT="$ac_cv_prog_NMEDIT"
8933 if test -n "$ac_tool_prefix"; then
8934 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8935 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8936 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8937 $as_echo_n "checking for $ac_word... " >&6; }
8938 if test "${ac_cv_prog_LIPO+set}" = set; then
8939 $as_echo_n "(cached) " >&6
8941 if test -n "$LIPO"; then
8942 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8948 test -z "$as_dir" && as_dir=.
8949 for ac_exec_ext in '' $ac_executable_extensions; do
8950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8951 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8952 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8961 LIPO=$ac_cv_prog_LIPO
8962 if test -n "$LIPO"; then
8963 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
8964 $as_echo "$LIPO" >&6; }
8966 { $as_echo "$as_me:$LINENO: result: no" >&5
8967 $as_echo "no" >&6; }
8972 if test -z "$ac_cv_prog_LIPO"; then
8974 # Extract the first word of "lipo", so it can be a program name with args.
8975 set dummy lipo; ac_word=$2
8976 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8977 $as_echo_n "checking for $ac_word... " >&6; }
8978 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
8979 $as_echo_n "(cached) " >&6
8981 if test -n "$ac_ct_LIPO"; then
8982 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8988 test -z "$as_dir" && as_dir=.
8989 for ac_exec_ext in '' $ac_executable_extensions; do
8990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8991 ac_cv_prog_ac_ct_LIPO="lipo"
8992 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9001 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9002 if test -n "$ac_ct_LIPO"; then
9003 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
9004 $as_echo "$ac_ct_LIPO" >&6; }
9006 { $as_echo "$as_me:$LINENO: result: no" >&5
9007 $as_echo "no" >&6; }
9010 if test "x$ac_ct_LIPO" = x; then
9013 case $cross_compiling:$ac_tool_warned in
9015 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9017 ac_tool_warned=yes ;;
9022 LIPO="$ac_cv_prog_LIPO"
9025 if test -n "$ac_tool_prefix"; then
9026 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9027 set dummy ${ac_tool_prefix}otool; ac_word=$2
9028 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9029 $as_echo_n "checking for $ac_word... " >&6; }
9030 if test "${ac_cv_prog_OTOOL+set}" = set; then
9031 $as_echo_n "(cached) " >&6
9033 if test -n "$OTOOL"; then
9034 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9040 test -z "$as_dir" && as_dir=.
9041 for ac_exec_ext in '' $ac_executable_extensions; do
9042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9043 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9044 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9053 OTOOL=$ac_cv_prog_OTOOL
9054 if test -n "$OTOOL"; then
9055 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
9056 $as_echo "$OTOOL" >&6; }
9058 { $as_echo "$as_me:$LINENO: result: no" >&5
9059 $as_echo "no" >&6; }
9064 if test -z "$ac_cv_prog_OTOOL"; then
9066 # Extract the first word of "otool", so it can be a program name with args.
9067 set dummy otool; ac_word=$2
9068 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9069 $as_echo_n "checking for $ac_word... " >&6; }
9070 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
9071 $as_echo_n "(cached) " >&6
9073 if test -n "$ac_ct_OTOOL"; then
9074 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9080 test -z "$as_dir" && as_dir=.
9081 for ac_exec_ext in '' $ac_executable_extensions; do
9082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9083 ac_cv_prog_ac_ct_OTOOL="otool"
9084 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9093 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9094 if test -n "$ac_ct_OTOOL"; then
9095 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
9096 $as_echo "$ac_ct_OTOOL" >&6; }
9098 { $as_echo "$as_me:$LINENO: result: no" >&5
9099 $as_echo "no" >&6; }
9102 if test "x$ac_ct_OTOOL" = x; then
9105 case $cross_compiling:$ac_tool_warned in
9107 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9109 ac_tool_warned=yes ;;
9114 OTOOL="$ac_cv_prog_OTOOL"
9117 if test -n "$ac_tool_prefix"; then
9118 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9119 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9120 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9121 $as_echo_n "checking for $ac_word... " >&6; }
9122 if test "${ac_cv_prog_OTOOL64+set}" = set; then
9123 $as_echo_n "(cached) " >&6
9125 if test -n "$OTOOL64"; then
9126 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9132 test -z "$as_dir" && as_dir=.
9133 for ac_exec_ext in '' $ac_executable_extensions; do
9134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9135 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9136 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9145 OTOOL64=$ac_cv_prog_OTOOL64
9146 if test -n "$OTOOL64"; then
9147 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
9148 $as_echo "$OTOOL64" >&6; }
9150 { $as_echo "$as_me:$LINENO: result: no" >&5
9151 $as_echo "no" >&6; }
9156 if test -z "$ac_cv_prog_OTOOL64"; then
9157 ac_ct_OTOOL64=$OTOOL64
9158 # Extract the first word of "otool64", so it can be a program name with args.
9159 set dummy otool64; ac_word=$2
9160 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9161 $as_echo_n "checking for $ac_word... " >&6; }
9162 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
9163 $as_echo_n "(cached) " >&6
9165 if test -n "$ac_ct_OTOOL64"; then
9166 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9172 test -z "$as_dir" && as_dir=.
9173 for ac_exec_ext in '' $ac_executable_extensions; do
9174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9175 ac_cv_prog_ac_ct_OTOOL64="otool64"
9176 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9185 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9186 if test -n "$ac_ct_OTOOL64"; then
9187 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
9188 $as_echo "$ac_ct_OTOOL64" >&6; }
9190 { $as_echo "$as_me:$LINENO: result: no" >&5
9191 $as_echo "no" >&6; }
9194 if test "x$ac_ct_OTOOL64" = x; then
9197 case $cross_compiling:$ac_tool_warned in
9199 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9201 ac_tool_warned=yes ;;
9203 OTOOL64=$ac_ct_OTOOL64
9206 OTOOL64="$ac_cv_prog_OTOOL64"
9235 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
9236 $as_echo_n "checking for -single_module linker flag... " >&6; }
9237 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9238 $as_echo_n "(cached) " >&6
9240 lt_cv_apple_cc_single_mod=no
9241 if test -z "${LT_MULTI_MODULE}"; then
9242 # By default we will add the -single_module flag. You can override
9243 # by either setting the environment variable LT_MULTI_MODULE
9244 # non-empty at configure time, or by adding -multi_module to the
9246 rm -rf libconftest.dylib*
9247 echo "int foo(void){return 1;}" > conftest.c
9248 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9249 -dynamiclib -Wl,-single_module conftest.c" >&5
9250 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9251 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9253 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9254 lt_cv_apple_cc_single_mod=yes
9256 cat conftest.err >&5
9258 rm -rf libconftest.dylib*
9262 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
9263 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9264 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
9265 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9266 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
9267 $as_echo_n "(cached) " >&6
9269 lt_cv_ld_exported_symbols_list=no
9270 save_LDFLAGS=$LDFLAGS
9271 echo "_main" > conftest.sym
9272 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9273 cat >conftest.$ac_ext <<_ACEOF
9276 cat confdefs.h >>conftest.$ac_ext
9277 cat >>conftest.$ac_ext <<_ACEOF
9278 /* end confdefs.h. */
9288 rm -f conftest.$ac_objext conftest$ac_exeext
9289 if { (ac_try="$ac_link"
9291 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9292 *) ac_try_echo
=$ac_try;;
9294 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9295 $as_echo "$ac_try_echo") >&5
9296 (eval "$ac_link") 2>conftest.er1
9298 grep -v '^ *+' conftest.er1
>conftest.err
9300 cat conftest.err
>&5
9301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9302 (exit $ac_status); } && {
9303 test -z "$ac_c_werror_flag" ||
9304 test ! -s conftest.err
9305 } && test -s conftest
$ac_exeext && {
9306 test "$cross_compiling" = yes ||
9307 $as_test_x conftest
$ac_exeext
9309 lt_cv_ld_exported_symbols_list
=yes
9311 $as_echo "$as_me: failed program was:" >&5
9312 sed 's/^/| /' conftest.
$ac_ext >&5
9314 lt_cv_ld_exported_symbols_list
=no
9317 rm -rf conftest.dSYM
9318 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9319 conftest
$ac_exeext conftest.
$ac_ext
9320 LDFLAGS
="$save_LDFLAGS"
9323 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
9324 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9326 rhapsody
* | darwin1.
[012])
9327 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
9329 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9330 darwin
*) # darwin 5.x on
9331 # if running on 10.5 or later, the deployment target defaults
9332 # to the OS version, if on x86, and 10.4, the deployment
9333 # target defaults to 10.4. Don't you love it?
9334 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9335 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
9336 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
9338 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9340 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
9344 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9345 _lt_dar_single_mod
='$single_module'
9347 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9348 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9350 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9352 if test "$DSYMUTIL" != ":"; then
9353 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9361 for ac_header
in dlfcn.h
9363 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9364 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9365 $as_echo_n "checking for $ac_header... " >&6; }
9366 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9367 $as_echo_n "(cached) " >&6
9369 cat >conftest.
$ac_ext <<_ACEOF
9372 cat confdefs.h
>>conftest.
$ac_ext
9373 cat >>conftest.
$ac_ext <<_ACEOF
9374 /* end confdefs.h. */
9375 $ac_includes_default
9377 #include <$ac_header>
9379 rm -f conftest.
$ac_objext
9380 if { (ac_try
="$ac_compile"
9382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9383 *) ac_try_echo=$ac_try;;
9385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9386 $as_echo "$ac_try_echo") >&5
9387 (eval "$ac_compile") 2>conftest.er1
9389 grep -v '^ *+' conftest.er1 >conftest.err
9391 cat conftest.err >&5
9392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9393 (exit $ac_status); } && {
9394 test -z "$ac_c_werror_flag" ||
9395 test ! -s conftest.err
9396 } && test -s conftest.$ac_objext; then
9397 eval "$as_ac_Header=yes"
9399 $as_echo "$as_me: failed program was:" >&5
9400 sed 's/^/| /' conftest.$ac_ext >&5
9402 eval "$as_ac_Header=no"
9405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9407 ac_res=`eval 'as_val=${'$as_ac_Header'}
9408 $as_echo "$as_val"'`
9409 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9410 $as_echo "$ac_res" >&6; }
9411 as_val=`eval 'as_val=${'$as_ac_Header'}
9412 $as_echo "$as_val"'`
9413 if test "x$as_val" = x""yes; then
9414 cat >>confdefs.h <<_ACEOF
9415 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9425 enable_win32_dll=yes
9428 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
9429 if test -n "$ac_tool_prefix"; then
9430 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9431 set dummy ${ac_tool_prefix}as; ac_word=$2
9432 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9433 $as_echo_n "checking for $ac_word... " >&6; }
9434 if test "${ac_cv_prog_AS+set}" = set; then
9435 $as_echo_n "(cached) " >&6
9437 if test -n "$AS"; then
9438 ac_cv_prog_AS="$AS" # Let the user override the test.
9440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9444 test -z "$as_dir" && as_dir=.
9445 for ac_exec_ext in '' $ac_executable_extensions; do
9446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9447 ac_cv_prog_AS="${ac_tool_prefix}as"
9448 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9458 if test -n "$AS"; then
9459 { $as_echo "$as_me:$LINENO: result: $AS" >&5
9460 $as_echo "$AS" >&6; }
9462 { $as_echo "$as_me:$LINENO: result: no" >&5
9463 $as_echo "no" >&6; }
9468 if test -z "$ac_cv_prog_AS"; then
9470 # Extract the first word of "as", so it can be a program name with args.
9471 set dummy as; ac_word=$2
9472 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9473 $as_echo_n "checking for $ac_word... " >&6; }
9474 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
9475 $as_echo_n "(cached) " >&6
9477 if test -n "$ac_ct_AS"; then
9478 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9484 test -z "$as_dir" && as_dir=.
9485 for ac_exec_ext in '' $ac_executable_extensions; do
9486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9487 ac_cv_prog_ac_ct_AS="as"
9488 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9497 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9498 if test -n "$ac_ct_AS"; then
9499 { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
9500 $as_echo "$ac_ct_AS" >&6; }
9502 { $as_echo "$as_me:$LINENO: result: no" >&5
9503 $as_echo "no" >&6; }
9506 if test "x$ac_ct_AS" = x; then
9509 case $cross_compiling:$ac_tool_warned in
9511 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9513 ac_tool_warned=yes ;;
9521 if test -n "$ac_tool_prefix"; then
9522 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9523 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9524 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9525 $as_echo_n "checking for $ac_word... " >&6; }
9526 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9527 $as_echo_n "(cached) " >&6
9529 if test -n "$DLLTOOL"; then
9530 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9536 test -z "$as_dir" && as_dir=.
9537 for ac_exec_ext in '' $ac_executable_extensions; do
9538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9539 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9540 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9549 DLLTOOL=$ac_cv_prog_DLLTOOL
9550 if test -n "$DLLTOOL"; then
9551 { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9552 $as_echo "$DLLTOOL" >&6; }
9554 { $as_echo "$as_me:$LINENO: result: no" >&5
9555 $as_echo "no" >&6; }
9560 if test -z "$ac_cv_prog_DLLTOOL"; then
9561 ac_ct_DLLTOOL=$DLLTOOL
9562 # Extract the first word of "dlltool", so it can be a program name with args.
9563 set dummy dlltool; ac_word=$2
9564 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9565 $as_echo_n "checking for $ac_word... " >&6; }
9566 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
9567 $as_echo_n "(cached) " >&6
9569 if test -n "$ac_ct_DLLTOOL"; then
9570 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9576 test -z "$as_dir" && as_dir=.
9577 for ac_exec_ext in '' $ac_executable_extensions; do
9578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9579 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9580 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9589 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9590 if test -n "$ac_ct_DLLTOOL"; then
9591 { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
9592 $as_echo "$ac_ct_DLLTOOL" >&6; }
9594 { $as_echo "$as_me:$LINENO: result: no" >&5
9595 $as_echo "no" >&6; }
9598 if test "x$ac_ct_DLLTOOL" = x; then
9601 case $cross_compiling:$ac_tool_warned in
9603 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9605 ac_tool_warned=yes ;;
9607 DLLTOOL=$ac_ct_DLLTOOL
9610 DLLTOOL="$ac_cv_prog_DLLTOOL"
9613 if test -n "$ac_tool_prefix"; then
9614 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9615 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9616 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9617 $as_echo_n "checking for $ac_word... " >&6; }
9618 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
9619 $as_echo_n "(cached) " >&6
9621 if test -n "$OBJDUMP"; then
9622 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9628 test -z "$as_dir" && as_dir=.
9629 for ac_exec_ext in '' $ac_executable_extensions; do
9630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9631 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9632 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9641 OBJDUMP=$ac_cv_prog_OBJDUMP
9642 if test -n "$OBJDUMP"; then
9643 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
9644 $as_echo "$OBJDUMP" >&6; }
9646 { $as_echo "$as_me:$LINENO: result: no" >&5
9647 $as_echo "no" >&6; }
9652 if test -z "$ac_cv_prog_OBJDUMP"; then
9653 ac_ct_OBJDUMP=$OBJDUMP
9654 # Extract the first word of "objdump", so it can be a program name with args.
9655 set dummy objdump; ac_word=$2
9656 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9657 $as_echo_n "checking for $ac_word... " >&6; }
9658 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
9659 $as_echo_n "(cached) " >&6
9661 if test -n "$ac_ct_OBJDUMP"; then
9662 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9668 test -z "$as_dir" && as_dir=.
9669 for ac_exec_ext in '' $ac_executable_extensions; do
9670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9671 ac_cv_prog_ac_ct_OBJDUMP="objdump"
9672 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9681 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9682 if test -n "$ac_ct_OBJDUMP"; then
9683 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
9684 $as_echo "$ac_ct_OBJDUMP" >&6; }
9686 { $as_echo "$as_me:$LINENO: result: no" >&5
9687 $as_echo "no" >&6; }
9690 if test "x$ac_ct_OBJDUMP" = x; then
9693 case $cross_compiling:$ac_tool_warned in
9695 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9697 ac_tool_warned=yes ;;
9699 OBJDUMP=$ac_ct_OBJDUMP
9702 OBJDUMP="$ac_cv_prog_OBJDUMP"
9708 test -z "$AS" && AS=as
9714 test -z "$DLLTOOL" && DLLTOOL=dlltool
9720 test -z "$OBJDUMP" && OBJDUMP=objdump
9732 # Check whether --enable-shared was given.
9733 if test "${enable_shared+set}" = set; then
9734 enableval=$enable_shared; p=${PACKAGE-default}
9736 yes) enable_shared=yes ;;
9737 no) enable_shared=no ;;
9740 # Look at the argument we got. We use all the common list separators.
9741 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9742 for pkg in $enableval; do
9744 if test "X$pkg" = "X$p"; then
9763 # Check whether --enable-static was given.
9764 if test "${enable_static+set}" = set; then
9765 enableval=$enable_static; p=${PACKAGE-default}
9767 yes) enable_static=yes ;;
9768 no) enable_static=no ;;
9771 # Look at the argument we got. We use all the common list separators.
9772 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9773 for pkg in $enableval; do
9775 if test "X$pkg" = "X$p"; then
9795 # Check whether --with-pic was given.
9796 if test "${with_pic+set}" = set; then
9797 withval=$with_pic; pic_mode="$withval"
9803 test -z "$pic_mode" && pic_mode=default
9811 # Check whether --enable-fast-install was given.
9812 if test "${enable_fast_install+set}" = set; then
9813 enableval=$enable_fast_install; p=${PACKAGE-default}
9815 yes) enable_fast_install=yes ;;
9816 no) enable_fast_install=no ;;
9818 enable_fast_install=no
9819 # Look at the argument we got. We use all the common list separators.
9820 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9821 for pkg in $enableval; do
9823 if test "X$pkg" = "X$p"; then
9824 enable_fast_install=yes
9831 enable_fast_install=yes
9844 # This can be used to rebuild libtool when needed
9845 LIBTOOL_DEPS="$ltmain"
9847 # Always use our own libtool.
9848 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9874 test -z "$LN_S" && LN_S="ln -s"
9889 if test -n "${ZSH_VERSION+set}" ; then
9890 setopt NO_GLOB_SUBST
9893 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
9894 $as_echo_n "checking for objdir... " >&6; }
9895 if test "${lt_cv_objdir+set}" = set; then
9896 $as_echo_n "(cached) " >&6
9898 rm -f .libs 2>/dev/null
9899 mkdir .libs 2>/dev/null
9900 if test -d .libs; then
9903 # MS-DOS does not allow filenames that begin with a dot.
9906 rmdir .libs 2>/dev/null
9908 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9909 $as_echo "$lt_cv_objdir" >&6; }
9910 objdir=$lt_cv_objdir
9916 cat >>confdefs.h <<_ACEOF
9917 #define LT_OBJDIR "$lt_cv_objdir/"
9938 # AIX sometimes has problems with the GCC collect2 program. For some
9939 # reason, if we set the COLLECT_NAMES environment variable, the problems
9940 # vanish in a puff of smoke.
9941 if test "X${COLLECT_NAMES+set}" != Xset; then
9943 export COLLECT_NAMES
9948 # Sed substitution that helps us do robust quoting. It backslashifies
9949 # metacharacters that are still active within double-quoted strings.
9950 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
9952 # Same as above, but do not quote variable references.
9953 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
9955 # Sed substitution to delay expansion of an escaped shell variable in a
9956 # double_quote_subst'ed string.
9957 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9959 # Sed substitution to delay expansion of an escaped single quote.
9960 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
9962 # Sed substitution to avoid accidental globbing in evaled expressions
9963 no_glob_subst='s/\*/\\\*/g'
9967 can_build_shared=yes
9969 # All known linkers require a `.a' archive for static linking (except MSVC,
9970 # which needs '.lib').
9973 with_gnu_ld="$lt_cv_prog_gnu_ld"
9976 old_CFLAGS="$CFLAGS"
9978 # Set sane defaults for various variables
9979 test -z "$CC" && CC=cc
9980 test -z "$LTCC" && LTCC=$CC
9981 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9982 test -z "$LD" && LD=ld
9983 test -z "$ac_objext" && ac_objext=o
9985 for cc_temp in $compiler""; do
9987 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9988 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9993 cc_basename=`$ECHO "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
9996 # Only perform the check for file, if the check method requires it
9997 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9998 case $deplibs_check_method in
10000 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10001 { $as_echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
10002 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
10003 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10004 $as_echo_n "(cached
) " >&6
10008 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10011 lt_save_MAGIC_CMD="$MAGIC_CMD"
10012 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10013 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
10014 for ac_dir in $ac_dummy; do
10016 test -z "$ac_dir" && ac_dir=.
10017 if test -f $ac_dir/${ac_tool_prefix}file; then
10018 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10019 if test -n "$file_magic_test_file"; then
10020 case $deplibs_check_method in
10022 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
10023 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10024 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10025 $EGREP "$file_magic_regex" > /dev/null; then
10030 *** Warning: the command libtool uses to detect shared libraries,
10031 *** $file_magic_cmd, produces output that libtool cannot recognize.
10032 *** The result is that libtool may fail to recognize shared libraries
10033 *** as such. This will affect the creation of libtool libraries that
10034 *** depend on shared libraries, but programs linked with such libtool
10035 *** libraries will work regardless of this problem. Nevertheless, you
10036 *** may want to report the problem to your system manager and/or to
10037 *** bug-libtool@gnu.org
10047 MAGIC_CMD="$lt_save_MAGIC_CMD"
10052 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10053 if test -n "$MAGIC_CMD"; then
10054 { $as_echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
10055 $as_echo "$MAGIC_CMD" >&6; }
10057 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10058 $as_echo "no
" >&6; }
10065 if test -z "$lt_cv_path_MAGIC_CMD"; then
10066 if test -n "$ac_tool_prefix"; then
10067 { $as_echo "$as_me:$LINENO: checking
for file" >&5
10068 $as_echo_n "checking
for file...
" >&6; }
10069 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10070 $as_echo_n "(cached
) " >&6
10074 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10077 lt_save_MAGIC_CMD="$MAGIC_CMD"
10078 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10079 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
10080 for ac_dir in $ac_dummy; do
10082 test -z "$ac_dir" && ac_dir=.
10083 if test -f $ac_dir/file; then
10084 lt_cv_path_MAGIC_CMD="$ac_dir/file"
10085 if test -n "$file_magic_test_file"; then
10086 case $deplibs_check_method in
10088 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
10089 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10090 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10091 $EGREP "$file_magic_regex" > /dev/null; then
10096 *** Warning: the command libtool uses to detect shared libraries,
10097 *** $file_magic_cmd, produces output that libtool cannot recognize.
10098 *** The result is that libtool may fail to recognize shared libraries
10099 *** as such. This will affect the creation of libtool libraries that
10100 *** depend on shared libraries, but programs linked with such libtool
10101 *** libraries will work regardless of this problem. Nevertheless, you
10102 *** may want to report the problem to your system manager and/or to
10103 *** bug-libtool@gnu.org
10113 MAGIC_CMD="$lt_save_MAGIC_CMD"
10118 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10119 if test -n "$MAGIC_CMD"; then
10120 { $as_echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
10121 $as_echo "$MAGIC_CMD" >&6; }
10123 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10124 $as_echo "no
" >&6; }
10137 # Use C for the default configuration in the libtool script
10141 ac_cpp='$CPP $CPPFLAGS'
10142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10147 # Source file extension for C test sources.
10150 # Object file extension for compiled C test sources.
10154 # Code to be used in simple compile tests
10155 lt_simple_compile_test_code="int some_variable
= 0;"
10157 # Code to be used in simple link tests
10158 lt_simple_link_test_code='int main(){return(0);}'
10166 # If no C compiler was specified, use CC.
10169 # If no C compiler flags were specified, use CFLAGS.
10170 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10172 # Allow CC to be a program name with arguments.
10175 # Save the default compiler, since it gets overwritten when the other
10176 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10177 compiler_DEFAULT=$CC
10179 # save warnings/boilerplate of simple test code
10180 ac_outfile=conftest.$ac_objext
10181 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10182 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10183 _lt_compiler_boilerplate=`cat conftest.err`
10186 ac_outfile=conftest.$ac_objext
10187 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10188 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10189 _lt_linker_boilerplate=`cat conftest.err`
10193 if test -n "$compiler"; then
10195 lt_prog_compiler_no_builtin_flag=
10197 if test "$GCC" = yes; then
10198 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10200 { $as_echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
10201 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
10202 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10203 $as_echo_n "(cached
) " >&6
10205 lt_cv_prog_compiler_rtti_exceptions=no
10206 ac_outfile=conftest.$ac_objext
10207 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10208 lt_compiler_flag="-fno-rtti -fno-exceptions"
10209 # Insert the option either (1) after the last *FLAGS variable, or
10210 # (2) before a word containing "conftest.
", or (3) at the end.
10211 # Note that $ac_compile itself does not contain backslashes and begins
10212 # with a dollar sign (not a hyphen), so the echo should work correctly.
10213 # The option is referenced via a variable to avoid confusing sed.
10214 lt_compile=`echo "$ac_compile" | $SED \
10215 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10216 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10217 -e 's:$: $lt_compiler_flag:'`
10218 (eval echo "\"\
$as_me:10218: $lt_compile\"" >&5)
10219 (eval "$lt_compile" 2>conftest.err)
10221 cat conftest.err >&5
10222 echo "$as_me:10222: \$?
= $ac_status" >&5
10223 if (exit $ac_status) && test -s "$ac_outfile"; then
10224 # The compiler can only warn and ignore the option if not recognized
10225 # So say no if there are warnings other than the usual output.
10226 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10227 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10228 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10229 lt_cv_prog_compiler_rtti_exceptions=yes
10235 { $as_echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
10236 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10238 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10239 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10251 lt_prog_compiler_wl=
10252 lt_prog_compiler_pic=
10253 lt_prog_compiler_static=
10255 { $as_echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
10256 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
10258 if test "$GCC" = yes; then
10259 lt_prog_compiler_wl='-Wl,'
10260 lt_prog_compiler_static='-static'
10264 # All AIX code is PIC.
10265 if test "$host_cpu" = ia64; then
10266 # AIX 5 now supports IA64 processor
10267 lt_prog_compiler_static='-Bstatic'
10274 # see comment about AmigaOS4 .so support
10275 lt_prog_compiler_pic='-fPIC'
10278 # FIXME: we need at least 68020 code to build shared libraries, but
10279 # adding the `-m68020' flag to GCC prevents building anything better,
10281 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10286 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10287 # PIC is the default for these OSes.
10290 mingw* | cygwin* | pw32* | os2* | cegcc*)
10291 # This hack is so that the source file can tell whether it is being
10292 # built for inclusion in a dll (and should export symbols for example).
10293 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10294 # (--disable-auto-import) libraries
10295 lt_prog_compiler_pic='-DDLL_EXPORT'
10298 darwin* | rhapsody*)
10299 # PIC is the default on this platform
10300 # Common symbols not allowed in MH_DYLIB files
10301 lt_prog_compiler_pic='-fno-common'
10305 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10306 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10307 # sets the default TLS model and affects inlining.
10313 lt_prog_compiler_pic='-fPIC'
10319 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10320 # Instead, we relocate shared libraries at runtime.
10324 # Just because we use GCC doesn't mean we suddenly get shared libraries
10325 # on systems that don't support them.
10326 lt_prog_compiler_can_build_shared=no
10331 # QNX uses GNU C++, but need to define -shared option too, otherwise
10332 # it will coredump.
10333 lt_prog_compiler_pic='-fPIC -shared'
10337 if test -d /usr/nec; then
10338 lt_prog_compiler_pic=-Kconform_pic
10343 lt_prog_compiler_pic='-fPIC'
10347 # PORTME Check for flag to pass linker flags through the system compiler.
10350 lt_prog_compiler_wl='-Wl,'
10351 if test "$host_cpu" = ia64; then
10352 # AIX 5 now supports IA64 processor
10353 lt_prog_compiler_static='-Bstatic'
10355 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10359 mingw* | cygwin* | pw32* | os2* | cegcc*)
10360 # This hack is so that the source file can tell whether it is being
10361 # built for inclusion in a dll (and should export symbols for example).
10362 lt_prog_compiler_pic='-DDLL_EXPORT'
10365 hpux9* | hpux10* | hpux11*)
10366 lt_prog_compiler_wl='-Wl,'
10367 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10368 # not for PA HP-UX.
10374 lt_prog_compiler_pic='+Z'
10377 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10378 lt_prog_compiler_static='${wl}-a ${wl}archive'
10381 irix5* | irix6* | nonstopux*)
10382 lt_prog_compiler_wl='-Wl,'
10383 # PIC (with -KPIC) is the default.
10384 lt_prog_compiler_static='-non_shared'
10387 linux* | k*bsd*-gnu)
10388 case $cc_basename in
10389 # old Intel for x86_64 which still supported -KPIC.
10391 lt_prog_compiler_wl='-Wl,'
10392 lt_prog_compiler_pic='-KPIC'
10393 lt_prog_compiler_static='-static'
10395 # icc used to be incompatible with GCC.
10396 # ICC 10 doesn't accept -KPIC any more.
10398 lt_prog_compiler_wl='-Wl,'
10399 lt_prog_compiler_pic='-fPIC'
10400 lt_prog_compiler_static='-static'
10402 # Lahey Fortran 8.1.
10404 lt_prog_compiler_wl='-Wl,'
10405 lt_prog_compiler_pic='--shared'
10406 lt_prog_compiler_static='--static'
10408 pgcc* | pgf77* | pgf90* | pgf95*)
10409 # Portland Group compilers (*not* the Pentium gcc compiler,
10410 # which looks to be a dead project)
10411 lt_prog_compiler_wl='-Wl,'
10412 lt_prog_compiler_pic='-fpic'
10413 lt_prog_compiler_static='-Bstatic'
10416 lt_prog_compiler_wl='-Wl,'
10417 # All Alpha code is PIC.
10418 lt_prog_compiler_static='-non_shared'
10421 # IBM XL C 8.0/Fortran 10.1 on PPC
10422 lt_prog_compiler_wl='-Wl,'
10423 lt_prog_compiler_pic='-qpic'
10424 lt_prog_compiler_static='-qstaticlink'
10427 case `$CC -V 2>&1 | sed 5q` in
10430 lt_prog_compiler_pic='-KPIC'
10431 lt_prog_compiler_static='-Bstatic'
10432 lt_prog_compiler_wl='-Wl,'
10435 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10436 lt_prog_compiler_pic='-KPIC'
10437 lt_prog_compiler_static='-Bstatic'
10438 lt_prog_compiler_wl=''
10446 lt_prog_compiler_pic='-KPIC'
10447 lt_prog_compiler_static='-Bstatic'
10451 # QNX uses GNU C++, but need to define -shared option too, otherwise
10452 # it will coredump.
10453 lt_prog_compiler_pic='-fPIC -shared'
10456 osf3* | osf4* | osf5*)
10457 lt_prog_compiler_wl='-Wl,'
10458 # All OSF/1 code is PIC.
10459 lt_prog_compiler_static='-non_shared'
10463 lt_prog_compiler_static='-non_shared'
10467 lt_prog_compiler_pic='-KPIC'
10468 lt_prog_compiler_static='-Bstatic'
10469 case $cc_basename in
10470 f77* | f90* | f95*)
10471 lt_prog_compiler_wl='-Qoption ld ';;
10473 lt_prog_compiler_wl='-Wl,';;
10478 lt_prog_compiler_wl='-Qoption ld '
10479 lt_prog_compiler_pic='-PIC'
10480 lt_prog_compiler_static='-Bstatic'
10483 sysv4 | sysv4.2uw2* | sysv4.3*)
10484 lt_prog_compiler_wl='-Wl,'
10485 lt_prog_compiler_pic='-KPIC'
10486 lt_prog_compiler_static='-Bstatic'
10490 if test -d /usr/nec ;then
10491 lt_prog_compiler_pic='-Kconform_pic'
10492 lt_prog_compiler_static='-Bstatic'
10496 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10497 lt_prog_compiler_wl='-Wl,'
10498 lt_prog_compiler_pic='-KPIC'
10499 lt_prog_compiler_static='-Bstatic'
10503 lt_prog_compiler_wl='-Wl,'
10504 lt_prog_compiler_can_build_shared=no
10508 lt_prog_compiler_pic='-pic'
10509 lt_prog_compiler_static='-Bstatic'
10513 lt_prog_compiler_can_build_shared=no
10519 # For platforms which do not support PIC, -DPIC is meaningless:
10521 lt_prog_compiler_pic=
10524 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10527 { $as_echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
10528 $as_echo "$lt_prog_compiler_pic" >&6; }
10536 # Check to make sure the PIC flag actually works.
10538 if test -n "$lt_prog_compiler_pic"; then
10539 { $as_echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
10540 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
10541 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
10542 $as_echo_n "(cached
) " >&6
10544 lt_cv_prog_compiler_pic_works=no
10545 ac_outfile=conftest.$ac_objext
10546 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10547 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10548 # Insert the option either (1) after the last *FLAGS variable, or
10549 # (2) before a word containing "conftest.
", or (3) at the end.
10550 # Note that $ac_compile itself does not contain backslashes and begins
10551 # with a dollar sign (not a hyphen), so the echo should work correctly.
10552 # The option is referenced via a variable to avoid confusing sed.
10553 lt_compile=`echo "$ac_compile" | $SED \
10554 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10555 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10556 -e 's:$: $lt_compiler_flag:'`
10557 (eval echo "\"\
$as_me:10557: $lt_compile\"" >&5)
10558 (eval "$lt_compile" 2>conftest.err)
10560 cat conftest.err >&5
10561 echo "$as_me:10561: \$?
= $ac_status" >&5
10562 if (exit $ac_status) && test -s "$ac_outfile"; then
10563 # The compiler can only warn and ignore the option if not recognized
10564 # So say no if there are warnings other than the usual output.
10565 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10566 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10567 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10568 lt_cv_prog_compiler_pic_works=yes
10574 { $as_echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_pic_works" >&5
10575 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10577 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10578 case $lt_prog_compiler_pic in
10580 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10583 lt_prog_compiler_pic=
10584 lt_prog_compiler_can_build_shared=no
10595 # Check to make sure the static flag actually works.
10597 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10598 { $as_echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
10599 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
10600 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
10601 $as_echo_n "(cached
) " >&6
10603 lt_cv_prog_compiler_static_works=no
10604 save_LDFLAGS="$LDFLAGS"
10605 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10606 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10607 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10608 # The linker can only warn and ignore the option if not recognized
10609 # So say no if there are warnings
10610 if test -s conftest.err; then
10611 # Append any errors to the config.log.
10612 cat conftest.err 1>&5
10613 $ECHO "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
10614 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10615 if diff conftest.exp conftest.er2 >/dev/null; then
10616 lt_cv_prog_compiler_static_works=yes
10619 lt_cv_prog_compiler_static_works=yes
10623 LDFLAGS="$save_LDFLAGS"
10626 { $as_echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_static_works" >&5
10627 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10629 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10632 lt_prog_compiler_static=
10641 { $as_echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10642 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10643 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10644 $as_echo_n "(cached
) " >&6
10646 lt_cv_prog_compiler_c_o=no
10647 $RM -r conftest 2>/dev/null
10651 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10653 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10654 # Insert the option either (1) after the last *FLAGS variable, or
10655 # (2) before a word containing "conftest.
", or (3) at the end.
10656 # Note that $ac_compile itself does not contain backslashes and begins
10657 # with a dollar sign (not a hyphen), so the echo should work correctly.
10658 lt_compile=`echo "$ac_compile" | $SED \
10659 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10660 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10661 -e 's:$: $lt_compiler_flag:'`
10662 (eval echo "\"\
$as_me:10662: $lt_compile\"" >&5)
10663 (eval "$lt_compile" 2>out/conftest.err)
10665 cat out/conftest.err >&5
10666 echo "$as_me:10666: \$?
= $ac_status" >&5
10667 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10669 # The compiler can only warn and ignore the option if not recognized
10670 # So say no if there are warnings
10671 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10672 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10673 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10674 lt_cv_prog_compiler_c_o=yes
10679 # SGI C++ compiler will create directory out/ii_files/ for
10680 # template instantiation
10681 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10682 $RM out/* && rmdir out
10688 { $as_echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
10689 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10696 { $as_echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10697 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10698 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10699 $as_echo_n "(cached
) " >&6
10701 lt_cv_prog_compiler_c_o=no
10702 $RM -r conftest 2>/dev/null
10706 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10708 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10709 # Insert the option either (1) after the last *FLAGS variable, or
10710 # (2) before a word containing "conftest.
", or (3) at the end.
10711 # Note that $ac_compile itself does not contain backslashes and begins
10712 # with a dollar sign (not a hyphen), so the echo should work correctly.
10713 lt_compile=`echo "$ac_compile" | $SED \
10714 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10715 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10716 -e 's:$: $lt_compiler_flag:'`
10717 (eval echo "\"\
$as_me:10717: $lt_compile\"" >&5)
10718 (eval "$lt_compile" 2>out/conftest.err)
10720 cat out/conftest.err >&5
10721 echo "$as_me:10721: \$?
= $ac_status" >&5
10722 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10724 # The compiler can only warn and ignore the option if not recognized
10725 # So say no if there are warnings
10726 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10727 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10728 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10729 lt_cv_prog_compiler_c_o=yes
10734 # SGI C++ compiler will create directory out/ii_files/ for
10735 # template instantiation
10736 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10737 $RM out/* && rmdir out
10743 { $as_echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
10744 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10749 hard_links="nottested
"
10750 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10751 # do not overwrite the value of need_locks provided by the user
10752 { $as_echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
10753 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
10756 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10758 ln conftest.a conftest.b 2>&5 || hard_links=no
10759 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10760 { $as_echo "$as_me:$LINENO: result
: $hard_links" >&5
10761 $as_echo "$hard_links" >&6; }
10762 if test "$hard_links" = no; then
10763 { $as_echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
10764 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
10776 { $as_echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
10777 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
10780 allow_undefined_flag=
10781 always_export_symbols=no
10783 archive_expsym_cmds=
10784 compiler_needs_object=no
10785 enable_shared_with_static_runtimes=no
10786 export_dynamic_flag_spec=
10787 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10788 hardcode_automatic=no
10790 hardcode_direct_absolute=no
10791 hardcode_libdir_flag_spec=
10792 hardcode_libdir_flag_spec_ld=
10793 hardcode_libdir_separator=
10794 hardcode_minus_L=no
10795 hardcode_shlibpath_var=unsupported
10797 link_all_deplibs=unknown
10799 module_expsym_cmds=
10800 old_archive_from_new_cmds=
10801 old_archive_from_expsyms_cmds=
10802 thread_safe_flag_spec=
10803 whole_archive_flag_spec=
10804 # include_expsyms should be a list of space-separated symbols to be *always*
10805 # included in the symbol list
10807 # exclude_expsyms can be an extended regexp of symbols to exclude
10808 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10809 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10810 # as well as any symbol that contains `d'.
10811 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10812 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10813 # platforms (ab)use it in PIC code, but their linkers get confused if
10814 # the symbol is explicitly referenced. Since portable code cannot
10815 # rely on this symbol name, it's probably fine to never include it in
10816 # preloaded symbol tables.
10817 # Exclude shared library initialization/finalization symbols.
10818 extract_expsyms_cmds=
10821 cygwin* | mingw* | pw32* | cegcc*)
10822 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10823 # When not using gcc, we currently assume that we are using
10824 # Microsoft Visual C++.
10825 if test "$GCC" != yes; then
10830 # we just hope/assume this is gcc and not c89 (= MSVC++)
10839 if test "$with_gnu_ld" = yes; then
10840 # If archive_cmds runs LD, not CC, wlarc should be empty
10843 # Set some defaults for GNU ld with shared library support. These
10844 # are reset later if shared libraries are not supported. Putting them
10845 # here allows them to be overridden if necessary.
10846 runpath_var=LD_RUN_PATH
10847 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10848 export_dynamic_flag_spec='${wl}--export-dynamic'
10849 # ancient GNU ld didn't support --whole-archive et. al.
10850 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10851 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10853 whole_archive_flag_spec=
10855 supports_anon_versioning=no
10856 case `$LD -v 2>&1` in
10857 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10858 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10859 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10860 *\ 2.11.*) ;; # other 2.11 versions
10861 *) supports_anon_versioning=yes ;;
10864 # See if GNU ld supports shared libraries.
10867 # On AIX/PPC, the GNU linker is very broken
10868 if test "$host_cpu" != ia64; then
10872 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
10873 *** to be unable to reliably create shared libraries on AIX.
10874 *** Therefore, libtool is disabling shared libraries support. If you
10875 *** really care for shared libraries, you may want to modify your PATH
10876 *** so that a non-GNU linker is found, and then restart.
10885 # see comment about AmigaOS4 .so support
10886 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10887 archive_expsym_cmds=''
10890 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)'
10891 hardcode_libdir_flag_spec
='-L$libdir'
10892 hardcode_minus_L
=yes
10898 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10899 allow_undefined_flag
=unsupported
10900 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10901 # support --undefined. This deserves some investigation. FIXME
10902 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10908 cygwin
* | mingw
* | pw32
* | cegcc
*)
10909 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10910 # as there is no search path for DLLs.
10911 hardcode_libdir_flag_spec
='-L$libdir'
10912 allow_undefined_flag
=unsupported
10913 always_export_symbols
=no
10914 enable_shared_with_static_runtimes
=yes
10915 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10917 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10918 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10919 # If the export-symbols file already is a .def file (1st line
10920 # is EXPORTS), use it as is; otherwise, prepend...
10921 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10922 cp $export_symbols $output_objdir/$soname.def;
10924 echo EXPORTS > $output_objdir/$soname.def;
10925 cat $export_symbols >> $output_objdir/$soname.def;
10927 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10935 hardcode_shlibpath_var
=no
10936 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10937 export_dynamic_flag_spec
='${wl}-E'
10938 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10939 # Instead, shared libraries are loaded at an image base (0x10000000 by
10940 # default) and relocated if they conflict, which is a slow very memory
10941 # consuming and fragmenting process. To avoid this, we pick a random,
10942 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10943 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10944 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10945 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'
10948 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
10950 if test "$host_os" = linux-dietlibc
; then
10951 case $cc_basename in
10952 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10955 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10956 && test "$tmp_diet" = no
10959 tmp_sharedflag
='-shared'
10960 case $cc_basename,$host_cpu in
10961 pgcc
*) # Portland Group C compiler
10962 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'
10963 tmp_addflag
=' $pic_flag'
10965 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
10966 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'
10967 tmp_addflag
=' $pic_flag -Mnomain' ;;
10968 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10969 tmp_addflag
=' -i_dynamic' ;;
10970 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10971 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10972 ifc
* | ifort
*) # Intel Fortran compiler
10973 tmp_addflag
=' -nofor_main' ;;
10974 lf95
*) # Lahey Fortran 8.1
10975 whole_archive_flag_spec
=
10976 tmp_sharedflag
='--shared' ;;
10977 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10978 tmp_sharedflag
='-qmkshrobj'
10981 case `$CC -V 2>&1 | sed 5q` in
10982 *Sun\ C
*) # Sun C 5.9
10983 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'
10984 compiler_needs_object
=yes
10985 tmp_sharedflag
='-G' ;;
10986 *Sun\ F
*) # Sun Fortran 8.3
10987 tmp_sharedflag
='-G' ;;
10989 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10991 if test "x$supports_anon_versioning" = xyes
; then
10992 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10993 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10994 echo "local: *; };" >> $output_objdir/$libname.ver~
10995 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10998 case $cc_basename in
11000 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11001 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
11002 hardcode_libdir_flag_spec
=
11003 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
11004 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
11005 if test "x$supports_anon_versioning" = xyes
; then
11006 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11007 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11008 echo "local: *; };" >> $output_objdir/$libname.ver~
11009 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11019 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11020 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11023 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11024 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11029 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11033 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11034 *** create shared libraries on Solaris systems. Therefore, libtool
11035 *** is disabling shared libraries support. We urge you to upgrade GNU
11036 *** binutils to release 2.9.1 or newer. Another option is to modify
11037 *** your PATH or compiler configuration so that the native linker is
11038 *** used, and then restart.
11041 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11042 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11043 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11049 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11050 case `$LD -v 2>&1` in
11051 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11055 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11056 *** reliably create shared libraries on SCO systems. Therefore, libtool
11057 *** is disabling shared libraries support. We urge you to upgrade GNU
11058 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11059 *** your PATH or compiler configuration so that the native linker is
11060 *** used, and then restart.
11065 # For security reasons, it is highly recommended that you always
11066 # use absolute paths for naming shared libraries, and exclude the
11067 # DT_RUNPATH tag from executables and libraries. But doing so
11068 # requires that you compile everything twice, which is a pain.
11069 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11070 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11071 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11072 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11081 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11083 hardcode_direct
=yes
11084 hardcode_shlibpath_var
=no
11088 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11089 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11090 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11097 if test "$ld_shlibs" = no
; then
11099 hardcode_libdir_flag_spec
=
11100 export_dynamic_flag_spec
=
11101 whole_archive_flag_spec
=
11104 # PORTME fill in a description of your system's linker (not GNU ld)
11107 allow_undefined_flag
=unsupported
11108 always_export_symbols
=yes
11109 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'
11110 # Note: this linker hardcodes the directories in LIBPATH if there
11111 # are no directories specified by -L.
11112 hardcode_minus_L
=yes
11113 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11114 # Neither direct hardcoding nor static linking is supported with a
11116 hardcode_direct
=unsupported
11121 if test "$host_cpu" = ia64
; then
11122 # On IA64, the linker does run time linking by default, so we don't
11123 # have to do anything special.
11124 aix_use_runtimelinking
=no
11125 exp_sym_flag
='-Bexport'
11128 # If we're using GNU nm, then we don't want the "-C" option.
11129 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11130 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11131 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'
11133 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'
11135 aix_use_runtimelinking
=no
11137 # Test if we are trying to use run time linking or normal
11138 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11139 # need to do runtime linking.
11140 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11141 for ld_flag
in $LDFLAGS; do
11142 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
11143 aix_use_runtimelinking
=yes
11150 exp_sym_flag
='-bexport'
11151 no_entry_flag
='-bnoentry'
11154 # When large executables or shared objects are built, AIX ld can
11155 # have problems creating the table of contents. If linking a library
11156 # or program results in "error TOC overflow" add -mminimal-toc to
11157 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11158 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11161 hardcode_direct
=yes
11162 hardcode_direct_absolute
=yes
11163 hardcode_libdir_separator
=':'
11164 link_all_deplibs
=yes
11165 file_list_spec
='${wl}-f,'
11167 if test "$GCC" = yes; then
11168 case $host_os in aix4.
[012]|aix4.
[012].
*)
11169 # We only want to do this on AIX 4.2 and lower, the check
11170 # below for broken collect2 doesn't work under 4.3+
11171 collect2name
=`${CC} -print-prog-name=collect2`
11172 if test -f "$collect2name" &&
11173 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11175 # We have reworked collect2
11178 # We have old collect2
11179 hardcode_direct
=unsupported
11180 # It fails to find uninstalled libraries when the uninstalled
11181 # path is not listed in the libpath. Setting hardcode_minus_L
11182 # to unsupported forces relinking
11183 hardcode_minus_L
=yes
11184 hardcode_libdir_flag_spec
='-L$libdir'
11185 hardcode_libdir_separator
=
11189 shared_flag
='-shared'
11190 if test "$aix_use_runtimelinking" = yes; then
11191 shared_flag
="$shared_flag "'${wl}-G'
11195 if test "$host_cpu" = ia64
; then
11196 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11197 # chokes on -Wl,-G. The following line is correct:
11200 if test "$aix_use_runtimelinking" = yes; then
11201 shared_flag
='${wl}-G'
11203 shared_flag
='${wl}-bM:SRE'
11208 export_dynamic_flag_spec
='${wl}-bexpall'
11209 # It seems that -bexpall does not export symbols beginning with
11210 # underscore (_), so it is better to generate a list of symbols to export.
11211 always_export_symbols
=yes
11212 if test "$aix_use_runtimelinking" = yes; then
11213 # Warning - without using the other runtime loading flags (-brtl),
11214 # -berok will link without error, but may produce a broken library.
11215 allow_undefined_flag
='-berok'
11216 # Determine the default libpath from the value encoded in an
11217 # empty executable.
11218 cat >conftest.
$ac_ext <<_ACEOF
11221 cat confdefs.h
>>conftest.
$ac_ext
11222 cat >>conftest.
$ac_ext <<_ACEOF
11223 /* end confdefs.h. */
11233 rm -f conftest.
$ac_objext conftest
$ac_exeext
11234 if { (ac_try
="$ac_link"
11235 case "(($ac_try" in
11236 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11237 *) ac_try_echo=$ac_try;;
11239 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11240 $as_echo "$ac_try_echo") >&5
11241 (eval "$ac_link") 2>conftest.er1
11243 grep -v '^ *+' conftest.er1 >conftest.err
11245 cat conftest.err >&5
11246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); } && {
11248 test -z "$ac_c_werror_flag" ||
11249 test ! -s conftest.err
11250 } && test -s conftest$ac_exeext && {
11251 test "$cross_compiling" = yes ||
11252 $as_test_x conftest$ac_exeext
11255 lt_aix_libpath_sed='
11256 /Import File Strings/,/^$/ {
11262 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11263 # Check for a 64-bit object if we didn't find anything.
11264 if test -z "$aix_libpath"; then
11265 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11268 $as_echo "$as_me: failed program was:" >&5
11269 sed 's/^/| /' conftest.$ac_ext >&5
11274 rm -rf conftest.dSYM
11275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11276 conftest$ac_exeext conftest.$ac_ext
11277 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11279 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11280 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"
11282 if test "$host_cpu" = ia64; then
11283 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11284 allow_undefined_flag="-z nodefs"
11285 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"
11287 # Determine the default libpath from the value encoded in an
11288 # empty executable.
11289 cat >conftest.$ac_ext <<_ACEOF
11292 cat confdefs.h >>conftest.$ac_ext
11293 cat >>conftest.$ac_ext <<_ACEOF
11294 /* end confdefs.h. */
11304 rm -f conftest.$ac_objext conftest$ac_exeext
11305 if { (ac_try="$ac_link"
11306 case "(($ac_try" in
11307 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11308 *) ac_try_echo
=$ac_try;;
11310 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11311 $as_echo "$ac_try_echo") >&5
11312 (eval "$ac_link") 2>conftest.er1
11314 grep -v '^ *+' conftest.er1
>conftest.err
11316 cat conftest.err
>&5
11317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11318 (exit $ac_status); } && {
11319 test -z "$ac_c_werror_flag" ||
11320 test ! -s conftest.err
11321 } && test -s conftest
$ac_exeext && {
11322 test "$cross_compiling" = yes ||
11323 $as_test_x conftest
$ac_exeext
11326 lt_aix_libpath_sed
='
11327 /Import File Strings/,/^$/ {
11333 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11334 # Check for a 64-bit object if we didn't find anything.
11335 if test -z "$aix_libpath"; then
11336 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11339 $as_echo "$as_me: failed program was:" >&5
11340 sed 's/^/| /' conftest.
$ac_ext >&5
11345 rm -rf conftest.dSYM
11346 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11347 conftest
$ac_exeext conftest.
$ac_ext
11348 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11350 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11351 # Warning - without using the other run time loading flags,
11352 # -berok will link without error, but may produce a broken library.
11353 no_undefined_flag
=' ${wl}-bernotok'
11354 allow_undefined_flag
=' ${wl}-berok'
11355 # Exported symbols can be pulled into shared objects from archives
11356 whole_archive_flag_spec
='$convenience'
11357 archive_cmds_need_lc
=yes
11358 # This is similar to how AIX traditionally builds its shared libraries.
11359 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'
11367 # see comment about AmigaOS4 .so support
11368 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11369 archive_expsym_cmds
=''
11372 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)'
11373 hardcode_libdir_flag_spec
='-L$libdir'
11374 hardcode_minus_L
=yes
11380 export_dynamic_flag_spec
=-rdynamic
11383 cygwin
* | mingw
* | pw32
* | cegcc
*)
11384 # When not using gcc, we currently assume that we are using
11385 # Microsoft Visual C++.
11386 # hardcode_libdir_flag_spec is actually meaningless, as there is
11387 # no search path for DLLs.
11388 hardcode_libdir_flag_spec
=' '
11389 allow_undefined_flag
=unsupported
11390 # Tell ltmain to make .lib files, not .a files.
11392 # Tell ltmain to make .dll files, not .so files.
11394 # FIXME: Setting linknames here is a bad hack.
11395 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11396 # The linker will automatically build a .lib file if we build a DLL.
11397 old_archive_from_new_cmds
='true'
11398 # FIXME: Should let the user specify the lib program.
11399 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11400 fix_srcfile_path
='`cygpath -w "$srcfile"`'
11401 enable_shared_with_static_runtimes
=yes
11404 darwin
* | rhapsody
*)
11407 archive_cmds_need_lc
=no
11409 hardcode_automatic
=yes
11410 hardcode_shlibpath_var
=unsupported
11411 whole_archive_flag_spec
=''
11412 link_all_deplibs
=yes
11413 allow_undefined_flag
="$_lt_dar_allow_undefined"
11414 case $cc_basename in
11415 ifort
*) _lt_dar_can_shared
=yes ;;
11416 *) _lt_dar_can_shared
=$GCC ;;
11418 if test "$_lt_dar_can_shared" = "yes"; then
11419 output_verbose_link_cmd
=echo
11420 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11421 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11422 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}"
11423 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}"
11432 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11433 hardcode_libdir_flag_spec
='-L$libdir'
11434 hardcode_shlibpath_var
=no
11441 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11442 # support. Future versions do this automatically, but an explicit c++rt0.o
11443 # does not break anything, and helps significantly (at the cost of a little
11446 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11447 hardcode_libdir_flag_spec
='-R$libdir'
11448 hardcode_direct
=yes
11449 hardcode_shlibpath_var
=no
11452 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11454 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11455 hardcode_direct
=yes
11456 hardcode_minus_L
=yes
11457 hardcode_shlibpath_var
=no
11460 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11461 freebsd
* | dragonfly
*)
11462 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11463 hardcode_libdir_flag_spec
='-R$libdir'
11464 hardcode_direct
=yes
11465 hardcode_shlibpath_var
=no
11469 if test "$GCC" = yes; then
11470 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'
11472 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'
11474 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11475 hardcode_libdir_separator
=:
11476 hardcode_direct
=yes
11478 # hardcode_minus_L: Not really in the search PATH,
11479 # but as the default location of the library.
11480 hardcode_minus_L
=yes
11481 export_dynamic_flag_spec
='${wl}-E'
11485 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11486 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11488 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11490 if test "$with_gnu_ld" = no
; then
11491 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11492 hardcode_libdir_flag_spec_ld
='+b $libdir'
11493 hardcode_libdir_separator
=:
11494 hardcode_direct
=yes
11495 hardcode_direct_absolute
=yes
11496 export_dynamic_flag_spec
='${wl}-E'
11497 # hardcode_minus_L: Not really in the search PATH,
11498 # but as the default location of the library.
11499 hardcode_minus_L
=yes
11504 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11507 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11510 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11513 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11519 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11522 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11525 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11529 if test "$with_gnu_ld" = no
; then
11530 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11531 hardcode_libdir_separator
=:
11536 hardcode_shlibpath_var
=no
11539 hardcode_direct
=yes
11540 hardcode_direct_absolute
=yes
11541 export_dynamic_flag_spec
='${wl}-E'
11543 # hardcode_minus_L: Not really in the search PATH,
11544 # but as the default location of the library.
11545 hardcode_minus_L
=yes
11551 irix5
* | irix6
* | nonstopux
*)
11552 if test "$GCC" = yes; then
11553 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'
11554 # Try to use the -exported_symbol ld option, if it does not
11555 # work, assume that -exports_file does not work either and
11556 # implicitly export all symbols.
11557 save_LDFLAGS
="$LDFLAGS"
11558 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11559 cat >conftest.
$ac_ext <<_ACEOF
11562 rm -f conftest.
$ac_objext conftest
$ac_exeext
11563 if { (ac_try
="$ac_link"
11564 case "(($ac_try" in
11565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11566 *) ac_try_echo=$ac_try;;
11568 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11569 $as_echo "$ac_try_echo") >&5
11570 (eval "$ac_link") 2>conftest.er1
11572 grep -v '^ *+' conftest.er1 >conftest.err
11574 cat conftest.err >&5
11575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); } && {
11577 test -z "$ac_c_werror_flag" ||
11578 test ! -s conftest.err
11579 } && test -s conftest$ac_exeext && {
11580 test "$cross_compiling" = yes ||
11581 $as_test_x conftest$ac_exeext
11583 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'
11586 $as_echo "$as_me: failed program was:" >&5
11587 sed 's/^/| /' conftest.$ac_ext >&5
11592 rm -rf conftest.dSYM
11593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11594 conftest$ac_exeext conftest.$ac_ext
11595 LDFLAGS="$save_LDFLAGS"
11597 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'
11598 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'
11600 archive_cmds_need_lc='no'
11601 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11602 hardcode_libdir_separator=:
11604 link_all_deplibs=yes
11608 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11609 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11611 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11613 hardcode_libdir_flag_spec='-R$libdir'
11614 hardcode_direct=yes
11615 hardcode_shlibpath_var=no
11619 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11620 hardcode_direct=yes
11621 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11622 hardcode_libdir_separator=:
11623 hardcode_shlibpath_var=no
11630 if test -f /usr/libexec/ld.so; then
11631 hardcode_direct=yes
11632 hardcode_shlibpath_var=no
11633 hardcode_direct_absolute=yes
11634 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11635 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11636 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11637 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11638 export_dynamic_flag_spec='${wl}-E'
11641 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11642 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11643 hardcode_libdir_flag_spec='-R$libdir'
11646 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11647 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11657 hardcode_libdir_flag_spec='-L$libdir'
11658 hardcode_minus_L=yes
11659 allow_undefined_flag=unsupported
11660 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'
11661 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11665 if test "$GCC" = yes; then
11666 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11667 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'
11669 allow_undefined_flag=' -expect_unresolved \*'
11670 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'
11672 archive_cmds_need_lc='no'
11673 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11674 hardcode_libdir_separator=:
11677 osf4* | osf5*) # as osf3* with the addition of -msym flag
11678 if test "$GCC" = yes; then
11679 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11680 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'
11681 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11683 allow_undefined_flag=' -expect_unresolved \*'
11684 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'
11685 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~
11686 $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'
11688 # Both c and cxx compiler support -rpath directly
11689 hardcode_libdir_flag_spec='-rpath $libdir'
11691 archive_cmds_need_lc='no'
11692 hardcode_libdir_separator=:
11696 no_undefined_flag=' -z defs'
11697 if test "$GCC" = yes; then
11699 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11700 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11701 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11703 case `$CC -V 2>&1` in
11706 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11707 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11708 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11712 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11713 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11714 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11718 hardcode_libdir_flag_spec='-R$libdir'
11719 hardcode_shlibpath_var=no
11721 solaris2.[0-5] | solaris2.[0-5].*) ;;
11723 # The compiler driver will combine and reorder linker options,
11724 # but understands `-z linker_flag
'. GCC discards it without `$wl',
11725 # but is careful enough not to reorder.
11726 # Supported since Solaris 2.6 (maybe 2.5.1?)
11727 if test "$GCC" = yes; then
11728 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11730 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11734 link_all_deplibs
=yes
11738 if test "x$host_vendor" = xsequent
; then
11739 # Use $CC to link under sequent, because it throws in some extra .o
11740 # files that make .init and .fini sections work.
11741 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11743 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11745 hardcode_libdir_flag_spec
='-L$libdir'
11746 hardcode_direct
=yes
11747 hardcode_minus_L
=yes
11748 hardcode_shlibpath_var
=no
11752 case $host_vendor in
11754 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11755 hardcode_direct
=yes # is this really true???
11758 ## LD is ld it makes a PLAMLIB
11759 ## CC just makes a GrossModule.
11760 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11761 reload_cmds
='$CC -r -o $output$reload_objs'
11765 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11766 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11769 runpath_var
='LD_RUN_PATH'
11770 hardcode_shlibpath_var
=no
11774 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11775 hardcode_shlibpath_var
=no
11776 export_dynamic_flag_spec
='-Bexport'
11780 if test -d /usr
/nec
; then
11781 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11782 hardcode_shlibpath_var
=no
11783 runpath_var
=LD_RUN_PATH
11784 hardcode_runpath_var
=yes
11789 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11790 no_undefined_flag
='${wl}-z,text'
11791 archive_cmds_need_lc
=no
11792 hardcode_shlibpath_var
=no
11793 runpath_var
='LD_RUN_PATH'
11795 if test "$GCC" = yes; then
11796 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11797 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11799 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11800 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11804 sysv5
* | sco3.2v5
* | sco5v6
*)
11805 # Note: We can NOT use -z defs as we might desire, because we do not
11806 # link with -lc, and that would cause any symbols used from libc to
11807 # always be unresolved, which means just about no library would
11808 # ever link correctly. If we're not using GNU ld we use -z text
11809 # though, which does catch some bad symbols but isn't as heavy-handed
11811 no_undefined_flag
='${wl}-z,text'
11812 allow_undefined_flag
='${wl}-z,nodefs'
11813 archive_cmds_need_lc
=no
11814 hardcode_shlibpath_var
=no
11815 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11816 hardcode_libdir_separator
=':'
11817 link_all_deplibs
=yes
11818 export_dynamic_flag_spec
='${wl}-Bexport'
11819 runpath_var
='LD_RUN_PATH'
11821 if test "$GCC" = yes; then
11822 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11823 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11825 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11826 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11831 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11832 hardcode_libdir_flag_spec
='-L$libdir'
11833 hardcode_shlibpath_var
=no
11841 if test x
$host_vendor = xsni
; then
11843 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11844 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11850 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11851 $as_echo "$ld_shlibs" >&6; }
11852 test "$ld_shlibs" = no
&& can_build_shared
=no
11854 with_gnu_ld
=$with_gnu_ld
11871 # Do we need to explicitly link libc?
11873 case "x$archive_cmds_need_lc" in
11875 # Assume -lc should be added
11876 archive_cmds_need_lc
=yes
11878 if test "$enable_shared" = yes && test "$GCC" = yes; then
11879 case $archive_cmds in
11881 # FIXME: we may have to deal with multi-command sequences.
11884 # Test whether the compiler implicitly links with -lc since on some
11885 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11886 # to ld, don't add -lc before -lgcc.
11887 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11888 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11890 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11893 (eval $ac_compile) 2>&5
11895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); } 2>conftest.err
; then
11899 libobjs
=conftest.
$ac_objext
11901 wl
=$lt_prog_compiler_wl
11902 pic_flag
=$lt_prog_compiler_pic
11908 lt_save_allow_undefined_flag
=$allow_undefined_flag
11909 allow_undefined_flag
=
11910 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
11911 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11914 (exit $ac_status); }
11916 archive_cmds_need_lc
=no
11918 archive_cmds_need_lc
=yes
11920 allow_undefined_flag
=$lt_save_allow_undefined_flag
11922 cat conftest.err
1>&5
11925 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11926 $as_echo "$archive_cmds_need_lc" >&6; }
12089 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12090 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12092 if test "$GCC" = yes; then
12094 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
12095 *) lt_awk_arg
="/^libraries:/" ;;
12097 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12098 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
12099 # if the path contains ";" then we assume it to be the separator
12100 # otherwise default to the standard path separator (i.e. ":") - it is
12101 # assumed that no part of a normal pathname contains ";" but that should
12102 # okay in the real world where ";" in dirpaths is itself problematic.
12103 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
12105 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12107 # Ok, now we have the path, separated by spaces, we can step through it
12108 # and add multilib dir if necessary.
12109 lt_tmp_lt_search_path_spec
=
12110 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12111 for lt_sys_path
in $lt_search_path_spec; do
12112 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12113 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12115 test -d "$lt_sys_path" && \
12116 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12119 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
12120 BEGIN {RS=" "; FS="/|\n";} {
12123 for (lt_i = NF; lt_i > 0; lt_i--) {
12124 if ($lt_i != "" && $lt_i != ".") {
12125 if ($lt_i == "..") {
12128 if (lt_count == 0) {
12129 lt_foo="/" $lt_i lt_foo;
12136 if (lt_foo != "") { lt_freq[lt_foo]++; }
12137 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12139 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
12141 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12143 library_names_spec
=
12144 libname_spec
='lib$name'
12148 postuninstall_cmds
=
12152 shlibpath_overrides_runpath
=unknown
12154 dynamic_linker
="$host_os ld.so"
12155 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12156 need_lib_prefix
=unknown
12157 hardcode_into_libs
=no
12159 # when you set need_version to no, make sure it does not cause -set_version
12160 # flags to be left without arguments
12161 need_version
=unknown
12166 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12167 shlibpath_var
=LIBPATH
12169 # AIX 3 has no versioning support, so we append a major version to the name.
12170 soname_spec
='${libname}${release}${shared_ext}$major'
12177 hardcode_into_libs
=yes
12178 if test "$host_cpu" = ia64
; then
12179 # AIX 5 supports IA64
12180 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12181 shlibpath_var
=LD_LIBRARY_PATH
12183 # With GCC up to 2.95.x, collect2 would create an import file
12184 # for dependence libraries. The import file would start with
12185 # the line `#! .'. This would cause the generated library to
12186 # depend on `.', always an invalid library. This was fixed in
12187 # development snapshots of GCC prior to 3.0.
12189 aix4 | aix4.
[01] | aix4.
[01].
*)
12190 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12192 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
12195 can_build_shared
=no
12199 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12200 # soname into executable. Probably we can add versioning support to
12201 # collect2, so additional links can be useful in future.
12202 if test "$aix_use_runtimelinking" = yes; then
12203 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12204 # instead of lib<name>.a to let people know that these are not
12205 # typical AIX shared libraries.
12206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12208 # We preserve .a as extension for shared libraries through AIX4.2
12209 # and later when we are not doing run time linking.
12210 library_names_spec
='${libname}${release}.a $libname.a'
12211 soname_spec
='${libname}${release}${shared_ext}$major'
12213 shlibpath_var
=LIBPATH
12220 # Since July 2007 AmigaOS4 officially supports .so libraries.
12221 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12225 library_names_spec
='$libname.ixlibrary $libname.a'
12226 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12227 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'
12233 library_names_spec
='${libname}${shared_ext}'
12234 dynamic_linker
="$host_os ld.so"
12235 shlibpath_var
=LIBRARY_PATH
12241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12242 soname_spec
='${libname}${release}${shared_ext}$major'
12243 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12244 shlibpath_var
=LD_LIBRARY_PATH
12245 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12246 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12247 # the default ld.so.conf also contains /usr/contrib/lib and
12248 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12249 # libtool to hard-code these into programs
12252 cygwin
* | mingw
* | pw32
* | cegcc
*)
12253 version_type
=windows
12258 case $GCC,$host_os in
12259 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
12260 library_names_spec
='$libname.dll.a'
12261 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12262 postinstall_cmds
='base_file=`basename \${file}`~
12263 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12264 dldir=$destdir/`dirname \$dlpath`~
12265 test -d \$dldir || mkdir -p \$dldir~
12266 $install_prog $dir/$dlname \$dldir/$dlname~
12267 chmod a+x \$dldir/$dlname~
12268 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12269 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12271 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12272 dlpath=$dir/\$dldll~
12274 shlibpath_overrides_runpath
=yes
12278 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12279 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12280 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12283 # MinGW DLLs use traditional 'lib' prefix
12284 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12285 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12286 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12287 # It is most probably a Windows format PATH printed by
12288 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12289 # path with ; separators, and with drive letters. We can handle the
12290 # drive letters (cygwin fileutils understands them), so leave them,
12291 # especially as we might pass files found there to a mingw objdump,
12292 # which wouldn't understand a cygwinified path. Ahh.
12293 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12295 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12299 # pw32 DLLs use 'pw' prefix rather than 'lib'
12300 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12306 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12309 dynamic_linker
='Win32 ld.exe'
12310 # FIXME: first we should search . and the directory the executable is in
12314 darwin
* | rhapsody
*)
12315 dynamic_linker
="$host_os dyld"
12316 version_type
=darwin
12319 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12320 soname_spec
='${libname}${release}${major}$shared_ext'
12321 shlibpath_overrides_runpath
=yes
12322 shlibpath_var
=DYLD_LIBRARY_PATH
12323 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12325 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12326 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12334 soname_spec
='${libname}${release}${shared_ext}$major'
12335 shlibpath_var
=LD_LIBRARY_PATH
12342 freebsd
* | dragonfly
*)
12343 # DragonFly does not have aout. When/if they implement a new
12344 # versioning mechanism, adjust this.
12345 if test -x /usr
/bin
/objformat
; then
12346 objformat
=`/usr/bin/objformat`
12349 freebsd
[123]*) objformat
=aout
;;
12350 *) objformat
=elf
;;
12353 version_type
=freebsd-
$objformat
12354 case $version_type in
12356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12361 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12365 shlibpath_var
=LD_LIBRARY_PATH
12368 shlibpath_overrides_runpath
=yes
12370 freebsd3.
[01]* | freebsdelf3.
[01]*)
12371 shlibpath_overrides_runpath
=yes
12372 hardcode_into_libs
=yes
12374 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12375 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12376 shlibpath_overrides_runpath
=no
12377 hardcode_into_libs
=yes
12379 *) # from 4.6 on, and DragonFly
12380 shlibpath_overrides_runpath
=yes
12381 hardcode_into_libs
=yes
12390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12391 soname_spec
='${libname}${release}${shared_ext}$major'
12392 shlibpath_var
=LD_LIBRARY_PATH
12393 hardcode_into_libs
=yes
12396 hpux9
* | hpux10
* | hpux11
*)
12397 # Give a soname corresponding to the major version so that dld.sl refuses to
12398 # link against other versions.
12405 hardcode_into_libs
=yes
12406 dynamic_linker
="$host_os dld.so"
12407 shlibpath_var
=LD_LIBRARY_PATH
12408 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12410 soname_spec
='${libname}${release}${shared_ext}$major'
12411 if test "X$HPUX_IA64_MODE" = X32
; then
12412 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12414 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12416 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12420 hardcode_into_libs
=yes
12421 dynamic_linker
="$host_os dld.sl"
12422 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12423 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12425 soname_spec
='${libname}${release}${shared_ext}$major'
12426 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12427 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12431 dynamic_linker
="$host_os dld.sl"
12432 shlibpath_var
=SHLIB_PATH
12433 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12435 soname_spec
='${libname}${release}${shared_ext}$major'
12438 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12439 postinstall_cmds
='chmod 555 $lib'
12446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12447 soname_spec
='${libname}${release}${shared_ext}$major'
12448 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12449 shlibpath_var
=LD_LIBRARY_PATH
12450 shlibpath_overrides_runpath
=no
12451 hardcode_into_libs
=yes
12454 irix5
* | irix6
* | nonstopux
*)
12456 nonstopux
*) version_type
=nonstopux
;;
12458 if test "$lt_cv_prog_gnu_ld" = yes; then
12466 soname_spec
='${libname}${release}${shared_ext}$major'
12467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12469 irix5
* | nonstopux
*)
12470 libsuff
= shlibsuff
=
12473 case $LD in # libtool.m4 will add one of these switches to LD
12474 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12475 libsuff
= shlibsuff
= libmagic
=32-bit;;
12476 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12477 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12478 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12479 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12480 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12484 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12485 shlibpath_overrides_runpath
=no
12486 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12487 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12488 hardcode_into_libs
=yes
12491 # No shared lib support for Linux oldld, aout, or coff.
12492 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12496 # This must be Linux ELF.
12497 linux
* | k
*bsd
*-gnu)
12501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12502 soname_spec
='${libname}${release}${shared_ext}$major'
12503 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12504 shlibpath_var
=LD_LIBRARY_PATH
12505 shlibpath_overrides_runpath
=no
12506 # Some binutils ld are patched to set DT_RUNPATH
12507 save_LDFLAGS
=$LDFLAGS
12508 save_libdir
=$libdir
12509 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12510 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12511 cat >conftest.
$ac_ext <<_ACEOF
12514 cat confdefs.h
>>conftest.
$ac_ext
12515 cat >>conftest.
$ac_ext <<_ACEOF
12516 /* end confdefs.h. */
12526 rm -f conftest.
$ac_objext conftest
$ac_exeext
12527 if { (ac_try
="$ac_link"
12528 case "(($ac_try" in
12529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12530 *) ac_try_echo=$ac_try;;
12532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12533 $as_echo "$ac_try_echo") >&5
12534 (eval "$ac_link") 2>conftest.er1
12536 grep -v '^ *+' conftest.er1 >conftest.err
12538 cat conftest.err >&5
12539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); } && {
12541 test -z "$ac_c_werror_flag" ||
12542 test ! -s conftest.err
12543 } && test -s conftest$ac_exeext && {
12544 test "$cross_compiling" = yes ||
12545 $as_test_x conftest$ac_exeext
12547 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
12548 shlibpath_overrides_runpath=yes
12552 $as_echo "$as_me: failed program was:" >&5
12553 sed 's/^/| /' conftest.$ac_ext >&5
12558 rm -rf conftest.dSYM
12559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12560 conftest$ac_exeext conftest.$ac_ext
12561 LDFLAGS=$save_LDFLAGS
12562 libdir=$save_libdir
12564 # This implies no fast_install, which is unacceptable.
12565 # Some rework will be needed to allow for fast_install
12566 # before this can be enabled.
12567 hardcode_into_libs=yes
12569 # Append ld.so.conf contents to the search path
12570 if test -f /etc/ld.so.conf; then
12571 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' ' '`
12572 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12575 # We used to test for /lib/ld.so.1 and disable shared libraries on
12576 # powerpc, because MkLinux only supported shared libraries with the
12577 # GNU dynamic linker. Since this was broken with cross compilers,
12578 # most powerpc-linux boxes support dynamic linking these days and
12579 # people can always --disable-shared, the test was removed, and we
12580 # assume the GNU/Linux dynamic linker is in use.
12581 dynamic_linker='GNU/Linux ld.so'
12588 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12590 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12591 dynamic_linker='NetBSD (a.out) ld.so'
12593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12594 soname_spec='${libname}${release}${shared_ext}$major'
12595 dynamic_linker='NetBSD ld.elf_so'
12597 shlibpath_var=LD_LIBRARY_PATH
12598 shlibpath_overrides_runpath=yes
12599 hardcode_into_libs=yes
12604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12605 shlibpath_var=LD_LIBRARY_PATH
12606 shlibpath_overrides_runpath=yes
12613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12614 soname_spec='${libname}${release}${shared_ext}$major'
12615 shlibpath_var=LD_LIBRARY_PATH
12616 shlibpath_overrides_runpath=no
12617 hardcode_into_libs=yes
12618 dynamic_linker='ldqnx.so'
12623 sys_lib_dlsearch_path_spec="/usr/lib"
12625 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12627 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12628 *) need_version=no ;;
12630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12631 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12632 shlibpath_var=LD_LIBRARY_PATH
12633 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12635 openbsd2.[89] | openbsd2.[89].*)
12636 shlibpath_overrides_runpath=no
12639 shlibpath_overrides_runpath=yes
12643 shlibpath_overrides_runpath=yes
12648 libname_spec='$name'
12651 library_names_spec='$libname${shared_ext} $libname.a'
12652 dynamic_linker='OS/2 ld.exe'
12653 shlibpath_var=LIBPATH
12656 osf3* | osf4* | osf5*)
12660 soname_spec='${libname}${release}${shared_ext}$major'
12661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12662 shlibpath_var=LD_LIBRARY_PATH
12663 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12664 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12676 soname_spec='${libname}${release}${shared_ext}$major'
12677 shlibpath_var=LD_LIBRARY_PATH
12678 shlibpath_overrides_runpath=yes
12679 hardcode_into_libs=yes
12680 # ldd complains unless libraries are executable
12681 postinstall_cmds='chmod +x $lib'
12686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12687 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12688 shlibpath_var=LD_LIBRARY_PATH
12689 shlibpath_overrides_runpath=yes
12690 if test "$with_gnu_ld" = yes; then
12698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12699 soname_spec='${libname}${release}${shared_ext}$major'
12700 shlibpath_var=LD_LIBRARY_PATH
12701 case $host_vendor in
12703 shlibpath_overrides_runpath=no
12705 runpath_var=LD_RUN_PATH
12713 shlibpath_overrides_runpath=no
12714 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12720 if test -d /usr/nec ;then
12722 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12723 soname_spec='$libname${shared_ext}.$major'
12724 shlibpath_var=LD_LIBRARY_PATH
12728 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12729 version_type=freebsd-elf
12732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12733 soname_spec='${libname}${release}${shared_ext}$major'
12734 shlibpath_var=LD_LIBRARY_PATH
12735 shlibpath_overrides_runpath=yes
12736 hardcode_into_libs=yes
12737 if test "$with_gnu_ld" = yes; then
12738 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12740 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12743 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12747 sys_lib_dlsearch_path_spec='/usr/lib'
12751 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12756 shlibpath_var=LD_LIBRARY_PATH
12757 shlibpath_overrides_runpath=no
12758 hardcode_into_libs=yes
12763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12764 soname_spec='${libname}${release}${shared_ext}$major'
12765 shlibpath_var=LD_LIBRARY_PATH
12772 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12773 $as_echo "$dynamic_linker" >&6; }
12774 test "$dynamic_linker" = no && can_build_shared=no
12776 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12777 if test "$GCC" = yes; then
12778 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12781 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12782 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12784 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12785 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12874 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12875 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12877 if test -n "$hardcode_libdir_flag_spec" ||
12878 test -n "$runpath_var" ||
12879 test "X$hardcode_automatic" = "Xyes" ; then
12881 # We can hardcode non-existent directories.
12882 if test "$hardcode_direct" != no &&
12883 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12884 # have to relink, otherwise we might link with an installed library
12885 # when we should be linking with a yet-to-be-installed one
12886 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12887 test "$hardcode_minus_L" != no; then
12888 # Linking always hardcodes the temporary library directory.
12889 hardcode_action=relink
12891 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12892 hardcode_action=immediate
12895 # We cannot hardcode anything, or else we can only hardcode existing
12897 hardcode_action=unsupported
12899 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
12900 $as_echo "$hardcode_action" >&6; }
12902 if test "$hardcode_action" = relink ||
12903 test "$inherit_rpath" = yes; then
12904 # Fast installation is not supported
12905 enable_fast_install=no
12906 elif test "$shlibpath_overrides_runpath" = yes ||
12907 test "$enable_shared" = no; then
12908 # Fast installation is not necessary
12909 enable_fast_install=needless
12917 if test "x$enable_dlopen" != xyes; then
12918 enable_dlopen=unknown
12919 enable_dlopen_self=unknown
12920 enable_dlopen_self_static=unknown
12927 lt_cv_dlopen="load_add_on"
12929 lt_cv_dlopen_self=yes
12932 mingw* | pw32* | cegcc*)
12933 lt_cv_dlopen="LoadLibrary"
12938 lt_cv_dlopen="dlopen"
12943 # if libdl is installed we need to link against it
12944 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12945 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12946 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12947 $as_echo_n "(cached) " >&6
12949 ac_check_lib_save_LIBS=$LIBS
12951 cat >conftest.$ac_ext <<_ACEOF
12954 cat confdefs.h >>conftest.$ac_ext
12955 cat >>conftest.$ac_ext <<_ACEOF
12956 /* end confdefs.h. */
12958 /* Override any GCC internal prototype to avoid an error.
12959 Use char because int might match the return type of a GCC
12960 builtin and then its argument prototype would still apply. */
12973 rm -f conftest.$ac_objext conftest$ac_exeext
12974 if { (ac_try="$ac_link"
12975 case "(($ac_try" in
12976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12977 *) ac_try_echo
=$ac_try;;
12979 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12980 $as_echo "$ac_try_echo") >&5
12981 (eval "$ac_link") 2>conftest.er1
12983 grep -v '^ *+' conftest.er1
>conftest.err
12985 cat conftest.err
>&5
12986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987 (exit $ac_status); } && {
12988 test -z "$ac_c_werror_flag" ||
12989 test ! -s conftest.err
12990 } && test -s conftest
$ac_exeext && {
12991 test "$cross_compiling" = yes ||
12992 $as_test_x conftest
$ac_exeext
12994 ac_cv_lib_dl_dlopen
=yes
12996 $as_echo "$as_me: failed program was:" >&5
12997 sed 's/^/| /' conftest.
$ac_ext >&5
12999 ac_cv_lib_dl_dlopen
=no
13002 rm -rf conftest.dSYM
13003 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13004 conftest
$ac_exeext conftest.
$ac_ext
13005 LIBS
=$ac_check_lib_save_LIBS
13007 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13008 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13009 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
13010 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13013 lt_cv_dlopen
="dyld"
13015 lt_cv_dlopen_self
=yes
13022 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
13023 $as_echo_n "checking for shl_load... " >&6; }
13024 if test "${ac_cv_func_shl_load+set}" = set; then
13025 $as_echo_n "(cached) " >&6
13027 cat >conftest.
$ac_ext <<_ACEOF
13030 cat confdefs.h
>>conftest.
$ac_ext
13031 cat >>conftest.
$ac_ext <<_ACEOF
13032 /* end confdefs.h. */
13033 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
13034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13035 #define shl_load innocuous_shl_load
13037 /* System header to define __stub macros and hopefully few prototypes,
13038 which can conflict with char shl_load (); below.
13039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13040 <limits.h> exists even on freestanding compilers. */
13043 # include <limits.h>
13045 # include <assert.h>
13050 /* Override any GCC internal prototype to avoid an error.
13051 Use char because int might match the return type of a GCC
13052 builtin and then its argument prototype would still apply. */
13057 /* The GNU C library defines this for functions which it implements
13058 to always fail with ENOSYS. Some functions are actually named
13059 something starting with __ and the normal name is an alias. */
13060 #if defined __stub_shl_load || defined __stub___shl_load
13067 return shl_load ();
13072 rm -f conftest.
$ac_objext conftest
$ac_exeext
13073 if { (ac_try
="$ac_link"
13074 case "(($ac_try" in
13075 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13076 *) ac_try_echo=$ac_try;;
13078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13079 $as_echo "$ac_try_echo") >&5
13080 (eval "$ac_link") 2>conftest.er1
13082 grep -v '^ *+' conftest.er1 >conftest.err
13084 cat conftest.err >&5
13085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); } && {
13087 test -z "$ac_c_werror_flag" ||
13088 test ! -s conftest.err
13089 } && test -s conftest$ac_exeext && {
13090 test "$cross_compiling" = yes ||
13091 $as_test_x conftest$ac_exeext
13093 ac_cv_func_shl_load=yes
13095 $as_echo "$as_me: failed program was:" >&5
13096 sed 's/^/| /' conftest.$ac_ext >&5
13098 ac_cv_func_shl_load=no
13101 rm -rf conftest.dSYM
13102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13103 conftest$ac_exeext conftest.$ac_ext
13105 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13106 $as_echo "$ac_cv_func_shl_load" >&6; }
13107 if test "x$ac_cv_func_shl_load" = x""yes; then
13108 lt_cv_dlopen="shl_load"
13110 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13111 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13112 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13113 $as_echo_n "(cached) " >&6
13115 ac_check_lib_save_LIBS=$LIBS
13117 cat >conftest.$ac_ext <<_ACEOF
13120 cat confdefs.h >>conftest.$ac_ext
13121 cat >>conftest.$ac_ext <<_ACEOF
13122 /* end confdefs.h. */
13124 /* Override any GCC internal prototype to avoid an error.
13125 Use char because int might match the return type of a GCC
13126 builtin and then its argument prototype would still apply. */
13134 return shl_load ();
13139 rm -f conftest.$ac_objext conftest$ac_exeext
13140 if { (ac_try="$ac_link"
13141 case "(($ac_try" in
13142 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13143 *) ac_try_echo
=$ac_try;;
13145 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13146 $as_echo "$ac_try_echo") >&5
13147 (eval "$ac_link") 2>conftest.er1
13149 grep -v '^ *+' conftest.er1
>conftest.err
13151 cat conftest.err
>&5
13152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13153 (exit $ac_status); } && {
13154 test -z "$ac_c_werror_flag" ||
13155 test ! -s conftest.err
13156 } && test -s conftest
$ac_exeext && {
13157 test "$cross_compiling" = yes ||
13158 $as_test_x conftest
$ac_exeext
13160 ac_cv_lib_dld_shl_load
=yes
13162 $as_echo "$as_me: failed program was:" >&5
13163 sed 's/^/| /' conftest.
$ac_ext >&5
13165 ac_cv_lib_dld_shl_load
=no
13168 rm -rf conftest.dSYM
13169 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13170 conftest
$ac_exeext conftest.
$ac_ext
13171 LIBS
=$ac_check_lib_save_LIBS
13173 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13174 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13175 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
13176 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
13178 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
13179 $as_echo_n "checking for dlopen... " >&6; }
13180 if test "${ac_cv_func_dlopen+set}" = set; then
13181 $as_echo_n "(cached) " >&6
13183 cat >conftest.
$ac_ext <<_ACEOF
13186 cat confdefs.h
>>conftest.
$ac_ext
13187 cat >>conftest.
$ac_ext <<_ACEOF
13188 /* end confdefs.h. */
13189 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13191 #define dlopen innocuous_dlopen
13193 /* System header to define __stub macros and hopefully few prototypes,
13194 which can conflict with char dlopen (); below.
13195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13196 <limits.h> exists even on freestanding compilers. */
13199 # include <limits.h>
13201 # include <assert.h>
13206 /* Override any GCC internal prototype to avoid an error.
13207 Use char because int might match the return type of a GCC
13208 builtin and then its argument prototype would still apply. */
13213 /* The GNU C library defines this for functions which it implements
13214 to always fail with ENOSYS. Some functions are actually named
13215 something starting with __ and the normal name is an alias. */
13216 #if defined __stub_dlopen || defined __stub___dlopen
13228 rm -f conftest.
$ac_objext conftest
$ac_exeext
13229 if { (ac_try
="$ac_link"
13230 case "(($ac_try" in
13231 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13232 *) ac_try_echo=$ac_try;;
13234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13235 $as_echo "$ac_try_echo") >&5
13236 (eval "$ac_link") 2>conftest.er1
13238 grep -v '^ *+' conftest.er1 >conftest.err
13240 cat conftest.err >&5
13241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); } && {
13243 test -z "$ac_c_werror_flag" ||
13244 test ! -s conftest.err
13245 } && test -s conftest$ac_exeext && {
13246 test "$cross_compiling" = yes ||
13247 $as_test_x conftest$ac_exeext
13249 ac_cv_func_dlopen=yes
13251 $as_echo "$as_me: failed program was:" >&5
13252 sed 's/^/| /' conftest.$ac_ext >&5
13254 ac_cv_func_dlopen=no
13257 rm -rf conftest.dSYM
13258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13259 conftest$ac_exeext conftest.$ac_ext
13261 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13262 $as_echo "$ac_cv_func_dlopen" >&6; }
13263 if test "x$ac_cv_func_dlopen" = x""yes; then
13264 lt_cv_dlopen="dlopen"
13266 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13267 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13268 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13269 $as_echo_n "(cached) " >&6
13271 ac_check_lib_save_LIBS=$LIBS
13273 cat >conftest.$ac_ext <<_ACEOF
13276 cat confdefs.h >>conftest.$ac_ext
13277 cat >>conftest.$ac_ext <<_ACEOF
13278 /* end confdefs.h. */
13280 /* Override any GCC internal prototype to avoid an error.
13281 Use char because int might match the return type of a GCC
13282 builtin and then its argument prototype would still apply. */
13295 rm -f conftest.$ac_objext conftest$ac_exeext
13296 if { (ac_try="$ac_link"
13297 case "(($ac_try" in
13298 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13299 *) ac_try_echo
=$ac_try;;
13301 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13302 $as_echo "$ac_try_echo") >&5
13303 (eval "$ac_link") 2>conftest.er1
13305 grep -v '^ *+' conftest.er1
>conftest.err
13307 cat conftest.err
>&5
13308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); } && {
13310 test -z "$ac_c_werror_flag" ||
13311 test ! -s conftest.err
13312 } && test -s conftest
$ac_exeext && {
13313 test "$cross_compiling" = yes ||
13314 $as_test_x conftest
$ac_exeext
13316 ac_cv_lib_dl_dlopen
=yes
13318 $as_echo "$as_me: failed program was:" >&5
13319 sed 's/^/| /' conftest.
$ac_ext >&5
13321 ac_cv_lib_dl_dlopen
=no
13324 rm -rf conftest.dSYM
13325 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13326 conftest
$ac_exeext conftest.
$ac_ext
13327 LIBS
=$ac_check_lib_save_LIBS
13329 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13330 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13331 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
13332 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13334 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13335 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13336 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13337 $as_echo_n "(cached) " >&6
13339 ac_check_lib_save_LIBS
=$LIBS
13340 LIBS
="-lsvld $LIBS"
13341 cat >conftest.
$ac_ext <<_ACEOF
13344 cat confdefs.h
>>conftest.
$ac_ext
13345 cat >>conftest.
$ac_ext <<_ACEOF
13346 /* end confdefs.h. */
13348 /* Override any GCC internal prototype to avoid an error.
13349 Use char because int might match the return type of a GCC
13350 builtin and then its argument prototype would still apply. */
13363 rm -f conftest.
$ac_objext conftest
$ac_exeext
13364 if { (ac_try
="$ac_link"
13365 case "(($ac_try" in
13366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13367 *) ac_try_echo=$ac_try;;
13369 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13370 $as_echo "$ac_try_echo") >&5
13371 (eval "$ac_link") 2>conftest.er1
13373 grep -v '^ *+' conftest.er1 >conftest.err
13375 cat conftest.err >&5
13376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); } && {
13378 test -z "$ac_c_werror_flag" ||
13379 test ! -s conftest.err
13380 } && test -s conftest$ac_exeext && {
13381 test "$cross_compiling" = yes ||
13382 $as_test_x conftest$ac_exeext
13384 ac_cv_lib_svld_dlopen=yes
13386 $as_echo "$as_me: failed program was:" >&5
13387 sed 's/^/| /' conftest.$ac_ext >&5
13389 ac_cv_lib_svld_dlopen=no
13392 rm -rf conftest.dSYM
13393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13394 conftest$ac_exeext conftest.$ac_ext
13395 LIBS=$ac_check_lib_save_LIBS
13397 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13398 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13399 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
13400 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13402 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13403 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13404 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13405 $as_echo_n "(cached) " >&6
13407 ac_check_lib_save_LIBS=$LIBS
13409 cat >conftest.$ac_ext <<_ACEOF
13412 cat confdefs.h >>conftest.$ac_ext
13413 cat >>conftest.$ac_ext <<_ACEOF
13414 /* end confdefs.h. */
13416 /* Override any GCC internal prototype to avoid an error.
13417 Use char because int might match the return type of a GCC
13418 builtin and then its argument prototype would still apply. */
13426 return dld_link ();
13431 rm -f conftest.$ac_objext conftest$ac_exeext
13432 if { (ac_try="$ac_link"
13433 case "(($ac_try" in
13434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13435 *) ac_try_echo
=$ac_try;;
13437 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13438 $as_echo "$ac_try_echo") >&5
13439 (eval "$ac_link") 2>conftest.er1
13441 grep -v '^ *+' conftest.er1
>conftest.err
13443 cat conftest.err
>&5
13444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); } && {
13446 test -z "$ac_c_werror_flag" ||
13447 test ! -s conftest.err
13448 } && test -s conftest
$ac_exeext && {
13449 test "$cross_compiling" = yes ||
13450 $as_test_x conftest
$ac_exeext
13452 ac_cv_lib_dld_dld_link
=yes
13454 $as_echo "$as_me: failed program was:" >&5
13455 sed 's/^/| /' conftest.
$ac_ext >&5
13457 ac_cv_lib_dld_dld_link
=no
13460 rm -rf conftest.dSYM
13461 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13462 conftest
$ac_exeext conftest.
$ac_ext
13463 LIBS
=$ac_check_lib_save_LIBS
13465 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13466 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13467 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
13468 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
13489 if test "x$lt_cv_dlopen" != xno
; then
13495 case $lt_cv_dlopen in
13497 save_CPPFLAGS
="$CPPFLAGS"
13498 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13500 save_LDFLAGS
="$LDFLAGS"
13501 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13504 LIBS
="$lt_cv_dlopen_libs $LIBS"
13506 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13507 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13508 if test "${lt_cv_dlopen_self+set}" = set; then
13509 $as_echo_n "(cached) " >&6
13511 if test "$cross_compiling" = yes; then :
13512 lt_cv_dlopen_self
=cross
13514 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13515 lt_status
=$lt_dlunknown
13516 cat > conftest.
$ac_ext <<_LT_EOF
13517 #line 13517 "configure"
13518 #include "confdefs.h"
13527 # define LT_DLGLOBAL RTLD_GLOBAL
13530 # define LT_DLGLOBAL DL_GLOBAL
13532 # define LT_DLGLOBAL 0
13536 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13537 find out it does not work in some platform. */
13538 #ifndef LT_DLLAZY_OR_NOW
13540 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13543 # define LT_DLLAZY_OR_NOW DL_LAZY
13546 # define LT_DLLAZY_OR_NOW RTLD_NOW
13549 # define LT_DLLAZY_OR_NOW DL_NOW
13551 # define LT_DLLAZY_OR_NOW 0
13558 void fnord() { int i=42;}
13561 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13562 int status = $lt_dlunknown;
13566 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13567 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13568 /* dlclose (self); */
13576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13577 (eval $ac_link) 2>&5
13579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13580 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13581 (.
/conftest
; exit; ) >&5 2>/dev
/null
13583 case x
$lt_status in
13584 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13585 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13586 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13589 # compilation failed
13590 lt_cv_dlopen_self
=no
13597 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13598 $as_echo "$lt_cv_dlopen_self" >&6; }
13600 if test "x$lt_cv_dlopen_self" = xyes
; then
13601 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13602 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13603 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13604 if test "${lt_cv_dlopen_self_static+set}" = set; then
13605 $as_echo_n "(cached) " >&6
13607 if test "$cross_compiling" = yes; then :
13608 lt_cv_dlopen_self_static
=cross
13610 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13611 lt_status
=$lt_dlunknown
13612 cat > conftest.
$ac_ext <<_LT_EOF
13613 #line 13613 "configure"
13614 #include "confdefs.h"
13623 # define LT_DLGLOBAL RTLD_GLOBAL
13626 # define LT_DLGLOBAL DL_GLOBAL
13628 # define LT_DLGLOBAL 0
13632 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13633 find out it does not work in some platform. */
13634 #ifndef LT_DLLAZY_OR_NOW
13636 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13639 # define LT_DLLAZY_OR_NOW DL_LAZY
13642 # define LT_DLLAZY_OR_NOW RTLD_NOW
13645 # define LT_DLLAZY_OR_NOW DL_NOW
13647 # define LT_DLLAZY_OR_NOW 0
13654 void fnord() { int i=42;}
13657 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13658 int status = $lt_dlunknown;
13662 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13663 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13664 /* dlclose (self); */
13672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13673 (eval $ac_link) 2>&5
13675 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13677 (.
/conftest
; exit; ) >&5 2>/dev
/null
13679 case x
$lt_status in
13680 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13681 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13682 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13685 # compilation failed
13686 lt_cv_dlopen_self_static
=no
13693 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13694 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13697 CPPFLAGS
="$save_CPPFLAGS"
13698 LDFLAGS
="$save_LDFLAGS"
13703 case $lt_cv_dlopen_self in
13704 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13705 *) enable_dlopen_self
=unknown
;;
13708 case $lt_cv_dlopen_self_static in
13709 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13710 *) enable_dlopen_self_static
=unknown
;;
13732 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13733 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13734 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13735 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13736 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13737 { $as_echo "$as_me:$LINENO: result: yes" >&5
13738 $as_echo "yes" >&6; }
13740 # FIXME - insert some real tests, host_os isn't really good enough
13743 if test -n "$STRIP" ; then
13744 striplib
="$STRIP -x"
13745 old_striplib
="$STRIP -S"
13746 { $as_echo "$as_me:$LINENO: result: yes" >&5
13747 $as_echo "yes" >&6; }
13749 { $as_echo "$as_me:$LINENO: result: no" >&5
13750 $as_echo "no" >&6; }
13754 { $as_echo "$as_me:$LINENO: result: no" >&5
13755 $as_echo "no" >&6; }
13771 # Report which library types will actually be built
13772 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13773 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13774 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
13775 $as_echo "$can_build_shared" >&6; }
13777 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13778 $as_echo_n "checking whether to build shared libraries... " >&6; }
13779 test "$can_build_shared" = "no" && enable_shared
=no
13781 # On AIX, shared libraries and static libraries use the same namespace, and
13782 # are all built from PIC.
13785 test "$enable_shared" = yes && enable_static
=no
13786 if test -n "$RANLIB"; then
13787 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13788 postinstall_cmds
='$RANLIB $lib'
13793 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13794 test "$enable_shared" = yes && enable_static
=no
13798 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
13799 $as_echo "$enable_shared" >&6; }
13801 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13802 $as_echo_n "checking whether to build static libraries... " >&6; }
13803 # Make sure either enable_shared or enable_static is yes.
13804 test "$enable_shared" = yes || enable_static
=yes
13805 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
13806 $as_echo "$enable_static" >&6; }
13813 ac_cpp
='$CPP $CPPFLAGS'
13814 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13815 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13816 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13832 ac_config_commands
="$ac_config_commands libtool"
13837 # Only expand once:
13846 # configuration file -- stay in 8.3 limit
13848 # since #undef doesn't survive in configuration header files we replace
13849 # `/undef' with `#undef' after creating the output file
13851 ac_config_headers
="$ac_config_headers ftconfig.h:ftconfig.in"
13854 # create the Unix-specific sub-Makefiles `builds/unix/unix-def.mk'
13855 # and `builds/unix/unix-cc.mk' that will be used by the build system
13857 ac_config_files
="$ac_config_files unix-cc.mk:unix-cc.in unix-def.mk:unix-def.in freetype-config freetype2.pc:freetype2.in"
13860 # re-generate the Jamfile to use libtool now
13862 # AC_CONFIG_FILES([../../Jamfile:../../Jamfile.in])
13864 cat >confcache
<<\_ACEOF
13865 # This file is a shell script that caches the results of configure
13866 # tests run on this system so they can be shared between configure
13867 # scripts and configure runs, see configure's option --config-cache.
13868 # It is not useful on other systems. If it contains results you don't
13869 # want to keep, you may remove or edit it.
13871 # config.status only pays attention to the cache file if you give it
13872 # the --recheck option to rerun configure.
13874 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13875 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13876 # following values.
13880 # The following way of writing the cache mishandles newlines in values,
13881 # but we know of no workaround that is simple, portable, and efficient.
13882 # So, we kill variables containing newlines.
13883 # Ultrix sh set writes to stderr and can't be redirected directly,
13884 # and sets the high bit in the cache file unless we assign to the vars.
13886 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13887 eval ac_val
=\$
$ac_var
13891 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13892 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13895 _ | IFS | as_nl
) ;; #(
13896 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13897 *) $as_unset $ac_var ;;
13903 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13904 *${as_nl}ac_space
=\
*)
13905 # `set' does not quote correctly, so add quotes (double-quote
13906 # substitution turns \\\\ into \\, and sed turns \\ into \).
13909 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13912 # `set' quotes correctly as required by POSIX, so do not add quotes.
13913 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13922 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13924 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13926 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13927 if test -w "$cache_file"; then
13928 test "x$cache_file" != "x/dev/null" &&
13929 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13930 $as_echo "$as_me: updating cache $cache_file" >&6;}
13931 cat confcache
>$cache_file
13933 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13934 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13939 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13940 # Let make expand exec_prefix.
13941 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13943 DEFS
=-DHAVE_CONFIG_H
13947 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13948 # 1. Remove the extension, and $U if already installed.
13949 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13950 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13951 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13952 # will be set to the directory where LIBOBJS objects are built.
13953 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13954 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13956 LIBOBJS
=$ac_libobjs
13958 LTLIBOBJS
=$ac_ltlibobjs
13962 : ${CONFIG_STATUS=./config.status}
13964 ac_clean_files_save
=$ac_clean_files
13965 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13966 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13967 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13968 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13970 # Generated by $as_me.
13971 # Run this file to recreate the current configuration.
13972 # Compiler output produced by configure, useful for debugging
13973 # configure, is in config.log if it exists.
13976 ac_cs_recheck=false
13978 SHELL=\${CONFIG_SHELL-$SHELL}
13981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13982 ## --------------------- ##
13983 ## M4sh Initialization. ##
13984 ## --------------------- ##
13986 # Be more Bourne compatible
13987 DUALCASE
=1; export DUALCASE
# for MKS sh
13988 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13991 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13992 # is contrary to our usage. Disable this feature.
13993 alias -g '${1+"$@"}'='"$@"'
13994 setopt NO_GLOB_SUBST
13996 case `(set -o) 2>/dev/null` in
13997 *posix
*) set -o posix
;;
14006 # Avoid depending upon Character Ranges.
14007 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14008 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14009 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14010 as_cr_digits
='0123456789'
14011 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14016 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14017 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14018 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14019 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14020 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14021 as_echo='printf %s
\n'
14022 as_echo_n='printf %s
'
14024 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14025 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14026 as_echo_n='/usr
/ucb
/echo -n'
14028 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14029 as_echo_n_body='eval
14033 expr "X$arg" : "X\\(.*\\)$as_nl";
14034 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14036 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14038 export as_echo_n_body
14039 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14041 export as_echo_body
14042 as_echo='sh
-c $as_echo_body as_echo
'
14045 # The user is always right.
14046 if test "${PATH_SEPARATOR+set}" != set; then
14048 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14049 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14054 # Support unset when possible.
14055 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14063 # We need space, tab and new line, in precisely that order. Quoting is
14064 # there to prevent editors from complaining about space-tab.
14065 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14066 # splitting by setting IFS to empty value.)
14069 # Find who we are. Look in the path if we contain no directory separator.
14071 *[\\/]* ) as_myself=$0 ;;
14072 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14073 for as_dir in $PATH
14076 test -z "$as_dir" && as_dir=.
14077 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14083 # We did not find ourselves, most probably we were run as `sh COMMAND'
14084 # in which case we are not to be found in the path.
14085 if test "x$as_myself" = x
; then
14088 if test ! -f "$as_myself"; then
14089 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14090 { (exit 1); exit 1; }
14093 # Work around bugs in pre-3.0 UWIN ksh.
14094 for as_var
in ENV MAIL MAILPATH
14095 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
14107 # Required to use basename.
14108 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14109 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14115 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14116 as_basename
=basename
14122 # Name of the executable.
14123 as_me
=`$as_basename -- "$0" ||
14124 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14125 X"$0" : 'X\(//\)$' \| \
14126 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14128 sed '/^.*\/\([^/][^/]*\)\/*$/{
14147 as_lineno_1
=$LINENO
14148 as_lineno_2
=$LINENO
14149 test "x$as_lineno_1" != "x$as_lineno_2" &&
14150 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
14152 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14153 # uniformly replaced by the line number. The first 'sed' inserts a
14154 # line-number line after each line using $LINENO; the second 'sed'
14155 # does the real work. The second script uses 'N' to pair each
14156 # line-number line with the line containing $LINENO, and appends
14157 # trailing '-' during substitution so that $LINENO is not a special
14158 # case at line end.
14159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14160 # scripts with optimization help from Paolo Bonzini. Blame Lee
14161 # E. McMahon (1931-1989) for sed's syntax. :-)
14173 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
14176 ' >$as_me.lineno
&&
14177 chmod +x
"$as_me.lineno" ||
14178 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
14179 { (exit 1); exit 1; }; }
14181 # Don't try to exec as it changes $[0], causing all sort of problems
14182 # (the dirname of $[0] is not the place where we might find the
14183 # original and so on. Autoconf is especially sensitive to this).
14184 .
"./$as_me.lineno"
14185 # Exit status is that of the last command.
14190 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14196 ECHO_C
= ECHO_N
= ECHO_T
=
14197 case `echo -n x` in
14199 case `echo 'x\c'` in
14200 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14206 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14207 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14213 rm -f conf$$ conf$$.exe conf$$.
file
14214 if test -d conf$$.dir
; then
14215 rm -f conf$$.dir
/conf$$.
file
14218 mkdir conf$$.dir
2>/dev
/null
14220 if (echo >conf$$.
file) 2>/dev
/null
; then
14221 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14223 # ... but there are two gotchas:
14224 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14225 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14226 # In both cases, we have to default to `cp -p'.
14227 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14229 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14237 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14238 rmdir conf$$.dir
2>/dev
/null
14240 if mkdir
-p .
2>/dev
/null
; then
14243 test -d .
/-p && rmdir .
/-p
14247 if test -x / >/dev
/null
2>&1; then
14248 as_test_x
='test -x'
14250 if ls -dL / >/dev
/null
2>&1; then
14257 if test -d "$1"; then
14263 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14264 ???[sx]*):;;*)false;;esac;fi
14268 as_executable_p
=$as_test_x
14270 # Sed expression to map a string onto a valid CPP name.
14271 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14273 # Sed expression to map a string onto a valid variable name.
14274 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14279 # Save the log message, to keep $[0] and so on meaningful, and to
14280 # report actual input values of CONFIG_FILES etc. instead of their
14281 # values after options handling.
14283 This file was extended by FreeType $as_me 2.3.12, which was
14284 generated by GNU Autoconf 2.63. Invocation command line was
14286 CONFIG_FILES = $CONFIG_FILES
14287 CONFIG_HEADERS = $CONFIG_HEADERS
14288 CONFIG_LINKS = $CONFIG_LINKS
14289 CONFIG_COMMANDS = $CONFIG_COMMANDS
14292 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14297 case $ac_config_files in *"
14298 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14301 case $ac_config_headers in *"
14302 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14307 # Files that config.status was made for.
14308 config_files="$ac_config_files"
14309 config_headers="$ac_config_headers"
14310 config_commands="$ac_config_commands"
14314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14316 \`$as_me' instantiates files from templates according to the
14317 current configuration.
14319 Usage: $0 [OPTION]... [FILE]...
14321 -h, --help print this help, then exit
14322 -V, --version print version number and configuration settings, then exit
14323 -q, --quiet, --silent
14324 do not print progress messages
14325 -d, --debug don't remove temporary files
14326 --recheck update $as_me by reconfiguring in the same conditions
14327 --file=FILE[:TEMPLATE]
14328 instantiate the configuration file FILE
14329 --header=FILE[:TEMPLATE]
14330 instantiate the configuration header FILE
14332 Configuration files:
14335 Configuration headers:
14338 Configuration commands:
14341 Report bugs to <bug-autoconf@gnu.org>."
14344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14346 FreeType config.status 2.3.12
14347 configured by $0, generated by GNU Autoconf 2.63,
14348 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14350 Copyright (C) 2008 Free Software Foundation, Inc.
14351 This config.status script is free software; the Free Software Foundation
14352 gives unlimited permission to copy, distribute and modify it."
14357 test -n "\$AWK" || AWK=awk
14360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14361 # The default lists apply if the user does not specify any file.
14367 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14368 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14379 # Handling of the options.
14380 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14382 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14383 $as_echo "$ac_cs_version"; exit ;;
14384 --debug |
--debu |
--deb |
--de |
--d |
-d )
14386 --file |
--fil |
--fi |
--f )
14389 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14391 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
14392 ac_need_defaults
=false
;;
14393 --header |
--heade |
--head |
--hea )
14396 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14398 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
14399 ac_need_defaults
=false
;;
14401 # Conflict between --help and --header
14402 { $as_echo "$as_me: error: ambiguous option: $1
14403 Try \`$0 --help' for more information." >&2
14404 { (exit 1); exit 1; }; };;
14405 --help |
--hel |
-h )
14406 $as_echo "$ac_cs_usage"; exit ;;
14407 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14408 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14411 # This is an error.
14412 -*) { $as_echo "$as_me: error: unrecognized option: $1
14413 Try \`$0 --help' for more information." >&2
14414 { (exit 1); exit 1; }; } ;;
14416 *) ac_config_targets
="$ac_config_targets $1"
14417 ac_need_defaults
=false
;;
14423 ac_configure_extra_args
=
14425 if $ac_cs_silent; then
14427 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14432 if \$ac_cs_recheck; then
14433 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14435 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14436 CONFIG_SHELL='$SHELL'
14437 export CONFIG_SHELL
14442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14446 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14447 ## Running $as_me. ##
14453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14459 # The HP-UX ksh and POSIX shell print the target directory to stdout
14460 # if CDPATH is set.
14461 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14463 sed_quote_subst='$sed_quote_subst'
14464 double_quote_subst='$double_quote_subst'
14465 delay_variable_subst='$delay_variable_subst'
14466 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14467 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14468 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
14469 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14470 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14471 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14472 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14473 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14474 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14475 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14476 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14477 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14478 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14479 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14480 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14481 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14482 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14483 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14484 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14485 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14486 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14487 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14488 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14489 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14490 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14491 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14492 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14493 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14494 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14495 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14496 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14497 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14498 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14499 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14500 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14501 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14502 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14503 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14504 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14505 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14506 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14507 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14508 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14509 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14510 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14511 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14512 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"`'
14513 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"`'
14514 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14515 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14516 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14517 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14518 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14519 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14520 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14521 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14522 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14523 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14524 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14525 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14526 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14527 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14528 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14529 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14530 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14531 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14532 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14533 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14534 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14535 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14536 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14537 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14538 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14539 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14540 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14541 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14542 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14543 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14544 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14545 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14546 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14547 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14548 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14549 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14550 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14551 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14552 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14553 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14554 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14555 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14556 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14557 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14558 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14559 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14560 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14561 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14562 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14563 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14564 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14565 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14566 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14567 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14568 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14569 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14570 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14571 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14572 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14573 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14574 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14575 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14576 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14577 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14578 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14579 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14580 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14581 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14582 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14583 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14584 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14585 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14588 LTCFLAGS='$LTCFLAGS'
14589 compiler='$compiler_DEFAULT'
14591 # Quote evaled strings.
14602 deplibs_check_method \
14611 lt_cv_sys_global_symbol_pipe \
14612 lt_cv_sys_global_symbol_to_cdecl \
14613 lt_cv_sys_global_symbol_to_c_name_address \
14614 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14617 lt_prog_compiler_no_builtin_flag \
14618 lt_prog_compiler_wl \
14619 lt_prog_compiler_pic \
14620 lt_prog_compiler_static \
14621 lt_cv_prog_compiler_c_o \
14629 export_dynamic_flag_spec \
14630 whole_archive_flag_spec \
14631 compiler_needs_object \
14633 allow_undefined_flag \
14634 no_undefined_flag \
14635 hardcode_libdir_flag_spec \
14636 hardcode_libdir_flag_spec_ld \
14637 hardcode_libdir_separator \
14642 variables_saved_for_relink \
14644 library_names_spec \
14649 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14650 *[\\\\\\\`\\"\\\$]*)
14651 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14654 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14659 # Double-quote double-evaled strings.
14660 for var in reload_cmds \
14661 old_postinstall_cmds \
14662 old_postuninstall_cmds \
14664 extract_expsyms_cmds \
14665 old_archive_from_new_cmds \
14666 old_archive_from_expsyms_cmds \
14668 archive_expsym_cmds \
14670 module_expsym_cmds \
14671 export_symbols_cmds \
14674 postuninstall_cmds \
14676 sys_lib_search_path_spec \
14677 sys_lib_dlsearch_path_spec; do
14678 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14679 *[\\\\\\\`\\"\\\$]*)
14680 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14683 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14688 # Fix-up fallback echo if it was mangled by the above quoting rules.
14690 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14694 ac_aux_dir='$ac_aux_dir'
14695 xsi_shell='$xsi_shell'
14696 lt_shell_append='$lt_shell_append'
14698 # See if we are running on zsh, and set the options which allow our
14699 # commands through without removal of \ escapes INIT.
14700 if test -n "\${ZSH_VERSION+set}" ; then
14701 setopt NO_GLOB_SUBST
14707 TIMESTAMP='$TIMESTAMP'
14716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14718 # Handling of arguments.
14719 for ac_config_target
in $ac_config_targets
14721 case $ac_config_target in
14722 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14723 "ftconfig.h") CONFIG_HEADERS
="$CONFIG_HEADERS ftconfig.h:ftconfig.in" ;;
14724 "unix-cc.mk") CONFIG_FILES
="$CONFIG_FILES unix-cc.mk:unix-cc.in" ;;
14725 "unix-def.mk") CONFIG_FILES
="$CONFIG_FILES unix-def.mk:unix-def.in" ;;
14726 "freetype-config") CONFIG_FILES
="$CONFIG_FILES freetype-config" ;;
14727 "freetype2.pc") CONFIG_FILES
="$CONFIG_FILES freetype2.pc:freetype2.in" ;;
14729 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14730 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14731 { (exit 1); exit 1; }; };;
14736 # If the user did not use the arguments to specify the items to instantiate,
14737 # then the envvar interface is used. Set only those that are not.
14738 # We use the long form for the default assignment because of an extremely
14739 # bizarre bug on SunOS 4.1.3.
14740 if $ac_need_defaults; then
14741 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14742 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14743 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14746 # Have a temporary directory for convenience. Make it in the build tree
14747 # simply because there is no reason against having it here, and in addition,
14748 # creating and moving files from /tmp can sometimes cause problems.
14749 # Hook for its removal unless debugging.
14750 # Note that there is a small window in which the directory will not be cleaned:
14751 # after its creation but before its name has been assigned to `$tmp'.
14755 trap 'exit_status=$?
14756 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14758 trap '{ (exit 1); exit 1; }' 1 2 13 15
14760 # Create a (secure) tmp directory for tmp files.
14763 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14764 test -n "$tmp" && test -d "$tmp"
14767 tmp
=.
/conf$$
-$RANDOM
14768 (umask 077 && mkdir
"$tmp")
14771 $as_echo "$as_me: cannot create a temporary directory in ." >&2
14772 { (exit 1); exit 1; }
14775 # Set up the scripts for CONFIG_FILES section.
14776 # No need to generate them if there are no CONFIG_FILES.
14777 # This happens for instance with `./config.status config.h'.
14778 if test -n "$CONFIG_FILES"; then
14782 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14783 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14786 ac_cs_awk_cr
=$ac_cr
14789 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14794 echo "cat >conf$$subs.awk <<_ACEOF" &&
14795 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14797 } >conf$$subs.sh ||
14798 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14799 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14800 { (exit 1); exit 1; }; }
14801 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14803 for ac_last_try in false false false false false :; do
14804 . ./conf$$subs.sh ||
14805 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14806 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14807 { (exit 1); exit 1; }; }
14809 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14810 if test $ac_delim_n = $ac_delim_num; then
14812 elif $ac_last_try; then
14813 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14814 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14815 { (exit 1); exit 1; }; }
14817 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14820 rm -f conf$$subs.sh
14822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14823 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14827 s/^/S["/; s
/!.
*/"]=/
14837 s/\(.\{148\}\).*/\1/
14839 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14844 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14851 s/\(.\{148\}\).*/\1/
14853 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14857 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14862 ' <conf$$subs.awk | sed '
14867 ' >>$CONFIG_STATUS || ac_write_fail=1
14868 rm -f conf$$subs.awk
14869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14871 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14872 for (key in S) S_is_set[key] = 1
14878 nfields = split(line, field, "@
")
14880 len = length(field[1])
14881 for (i = 2; i < nfields; i++) {
14883 keylen = length(key)
14884 if (S_is_set[key]) {
14886 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14887 len += length(value) + length(field[++i])
14898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14899 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14900 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14903 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14904 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
14905 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
14906 { (exit 1); exit 1; }; }
14909 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14910 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14911 # trailing colons and then remove the whole line if VPATH becomes empty
14912 # (actually we leave an empty line to preserve line numbers).
14913 if test "x
$srcdir" = x.; then
14914 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14915 s/:*\$(srcdir):*/:/
14916 s/:*\${srcdir}:*/:/
14918 s/^\([^=]*=[ ]*\):*/\1/
14924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14925 fi # test -n "$CONFIG_FILES"
14927 # Set up the scripts for CONFIG_HEADERS section.
14928 # No need to generate them if there are no CONFIG_HEADERS.
14929 # This happens for instance with `./config.status Makefile'.
14930 if test -n "$CONFIG_HEADERS"; then
14931 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14935 # Transform confdefs.h into an awk script `defines.awk', embedded as
14936 # here-document in config.status, that substitutes the proper values into
14937 # config.h.in to produce config.h.
14939 # Create a delimiter string that does not exist in confdefs.h, to ease
14940 # handling of long lines.
14942 for ac_last_try in false false :; do
14943 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14944 if test -z "$ac_t"; then
14946 elif $ac_last_try; then
14947 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
14948 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
14949 { (exit 1); exit 1; }; }
14951 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14955 # For the awk script, D is an array of macro values keyed by name,
14956 # likewise P contains macro parameters if any. Preserve backslash
14957 # newline sequences.
14959 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14961 s/.\{148\}/&'"$ac_delim"'/g
14964 s/^[ ]*#[ ]*define[ ][ ]*/ /
14971 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14973 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14977 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14978 D["\
1"]=" \
3\\\\\\n
"\\/p
14980 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14985 s/.\{148\}/&'"$ac_delim"'/g
14990 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14993 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14995 ' <confdefs.h | sed '
14996 s/'"$ac_delim"'/"\\\
14997 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15000 for (key in D) D_is_set[key] = 1
15003 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15005 split(line, arg, " ")
15006 if (arg[1] == "#") {
15010 defundef
= substr
(arg
[1], 2)
15013 split(mac1
, mac2
, "(") #)
15015 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15016 if (D_is_set
[macro
]) {
15017 # Preserve the white space surrounding the "#".
15018 print prefix
"define", macro P
[macro
] D
[macro
]
15021 # Replace #undef with comments. This is necessary, for example,
15022 # in the case of _POSIX_SOURCE, which is predefined and required
15023 # on some systems where configure will not decide to define it.
15024 if (defundef
== "undef") {
15025 print
"/*", prefix defundef
, macro
, "*/"
15033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15034 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
15035 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
15036 { (exit 1); exit 1; }; }
15037 fi # test -n "$CONFIG_HEADERS"
15040 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15045 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15047 case $ac_mode$ac_tag in
15049 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
15050 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
15051 { (exit 1); exit 1; }; };;
15052 :[FH
]-) ac_tag
=-:-;;
15053 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15070 -) ac_f
="$tmp/stdin";;
15071 *) # Look for the file first in the build tree, then in the source tree
15072 # (if the path is not absolute). The absolute path cannot be DOS-style,
15073 # because $ac_f cannot contain `:'.
15077 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15079 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
15080 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
15081 { (exit 1); exit 1; }; };;
15083 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15084 ac_file_inputs
="$ac_file_inputs '$ac_f'"
15087 # Let's still pretend it is `configure' which instantiates (i.e., don't
15088 # use $as_me), people would be surprised to read:
15089 # /* config.h. Generated by config.status. */
15090 configure_input
='Generated from '`
15091 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15093 if test x
"$ac_file" != x-
; then
15094 configure_input
="$ac_file. $configure_input"
15095 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
15096 $as_echo "$as_me: creating $ac_file" >&6;}
15098 # Neutralize special characters interpreted by sed in replacement strings.
15099 case $configure_input in #(
15100 *\
&* |
*\|
* |
*\\* )
15101 ac_sed_conf_input
=`$as_echo "$configure_input" |
15102 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15103 *) ac_sed_conf_input
=$configure_input;;
15107 *:-:* |
*:-) cat >"$tmp/stdin" \
15108 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15109 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15110 { (exit 1); exit 1; }; } ;;
15115 ac_dir
=`$as_dirname -- "$ac_file" ||
15116 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15117 X"$ac_file" : 'X\(//\)[^/]' \| \
15118 X"$ac_file" : 'X\(//\)$' \| \
15119 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15120 $as_echo X"$ac_file" |
15121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15125 /^X\(\/\/\)[^/].*/{
15140 -*) as_dir
=.
/$as_dir;;
15142 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
15146 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15147 *) as_qdir
=$as_dir;;
15149 as_dirs
="'$as_qdir' $as_dirs"
15150 as_dir
=`$as_dirname -- "$as_dir" ||
15151 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15152 X"$as_dir" : 'X\(//\)[^/]' \| \
15153 X"$as_dir" : 'X\(//\)$' \| \
15154 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15155 $as_echo X"$as_dir" |
15156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15160 /^X\(\/\/\)[^/].*/{
15173 test -d "$as_dir" && break
15175 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15176 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15177 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
15178 { (exit 1); exit 1; }; }; }
15182 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15184 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15185 # A ".." for each directory in $ac_dir_suffix.
15186 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15187 case $ac_top_builddir_sub in
15188 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15189 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15192 ac_abs_top_builddir
=$ac_pwd
15193 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15194 # for backward compatibility:
15195 ac_top_builddir
=$ac_top_build_prefix
15198 .
) # We are building in place.
15200 ac_top_srcdir
=$ac_top_builddir_sub
15201 ac_abs_top_srcdir
=$ac_pwd ;;
15202 [\\/]* | ?
:[\\/]* ) # Absolute name.
15203 ac_srcdir
=$srcdir$ac_dir_suffix;
15204 ac_top_srcdir
=$srcdir
15205 ac_abs_top_srcdir
=$srcdir ;;
15206 *) # Relative name.
15207 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15208 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15209 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15211 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15221 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15222 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15227 # If the template does not know about datarootdir, expand it.
15228 # FIXME: This hack should be removed a few years after 2.60.
15229 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15242 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15243 *datarootdir
*) ac_datarootdir_seen
=yes;;
15244 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15245 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15246 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15249 ac_datarootdir_hack='
15250 s&@datadir@&$datadir&g
15251 s&@docdir@&$docdir&g
15252 s&@infodir@&$infodir&g
15253 s&@localedir@&$localedir&g
15254 s&@mandir@&$mandir&g
15255 s&\\\${datarootdir}&$datarootdir&g' ;;
15259 # Neutralize VPATH when `$srcdir' = `.'.
15260 # Shell code in configure.ac might set extrasub.
15261 # FIXME: do we really want to maintain this feature?
15262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15263 ac_sed_extra="$ac_vpsub
15266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15268 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15269 s|@configure_input@|
$ac_sed_conf_input|
;t t
15270 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15271 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15272 s
&@srcdir@
&$ac_srcdir&;t t
15273 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15274 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15275 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15276 s
&@builddir@
&$ac_builddir&;t t
15277 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15278 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15279 s
&@INSTALL@
&$ac_INSTALL&;t t
15280 $ac_datarootdir_hack
15282 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15283 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
15284 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
15285 { (exit 1); exit 1; }; }
15287 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15288 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15289 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15290 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15291 which seems to be undefined. Please make sure it is defined." >&5
15292 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15293 which seems to be undefined. Please make sure it is defined." >&2;}
15297 -) cat "$tmp/out" && rm -f "$tmp/out";;
15298 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15300 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15301 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15302 { (exit 1); exit 1; }; }
15308 if test x"$ac_file" != x-; then
15310 $as_echo "/* $configure_input */" \
15311 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15312 } >"$tmp/config.h" \
15313 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15314 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15315 { (exit 1); exit 1; }; }
15316 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15317 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15318 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15321 mv "$tmp/config.h" "$ac_file" \
15322 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15323 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15324 { (exit 1); exit 1; }; }
15327 $as_echo "/* $configure_input */" \
15328 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15329 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
15330 $as_echo "$as_me: error: could not create -" >&2;}
15331 { (exit 1); exit 1; }; }
15335 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
15336 $as_echo "$as_me: executing $ac_file commands" >&6;}
15341 case $ac_file$ac_mode in
15344 # See if we are running on zsh, and set the options which allow our
15345 # commands through without removal of \ escapes.
15346 if test -n "${ZSH_VERSION+set}" ; then
15347 setopt NO_GLOB_SUBST
15350 cfgfile="${ofile}T"
15351 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15354 cat <<_LT_EOF >> "$cfgfile"
15357 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
15358 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15359 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15361 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15362 # 2006, 2007, 2008 Free Software Foundation, Inc.
15363 # Written by Gordon Matzigkeit, 1996
15365 # This file is part of GNU Libtool.
15367 # GNU Libtool is free software; you can redistribute it and/or
15368 # modify it under the terms of the GNU General Public License as
15369 # published by the Free Software Foundation; either version 2 of
15370 # the License, or (at your option) any later version.
15372 # As a special exception to the GNU General Public License,
15373 # if you distribute this file as part of a program or library that
15374 # is built using GNU Libtool, you may include this file under the
15375 # same distribution terms that you use for the rest of that program.
15377 # GNU Libtool is distributed in the hope that it will be useful,
15378 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15379 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15380 # GNU General Public License for more details.
15382 # You should have received a copy of the GNU General Public License
15383 # along with GNU Libtool; see the file COPYING. If not, a copy
15384 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15385 # obtained by writing to the Free Software Foundation, Inc.,
15386 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15389 # The names of the tagged configurations supported by this script.
15392 # ### BEGIN LIBTOOL CONFIG
15394 # Which release of libtool.m4 was used?
15395 macro_version=$macro_version
15396 macro_revision=$macro_revision
15398 # Assembler program.
15401 # DLL creation program.
15404 # Object dumper program.
15407 # Whether or not to build shared libraries.
15408 build_libtool_libs=$enable_shared
15410 # Whether or not to build static libraries.
15411 build_old_libs=$enable_static
15413 # What type of objects to build.
15416 # Whether or not to optimize for fast installation.
15417 fast_install=$enable_fast_install
15420 host_alias=$host_alias
15424 # The build system.
15425 build_alias=$build_alias
15429 # A sed program that does not truncate output.
15432 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15433 Xsed="\$SED -e 1s/^X//"
15435 # A grep program that handles long lines.
15441 # A literal string matcher.
15444 # A BSD- or MS-compatible name lister.
15447 # Whether we need soft or hard links.
15450 # What is the maximum length of a command?
15451 max_cmd_len=$max_cmd_len
15453 # Object file suffix (normally "o").
15456 # Executable file suffix (normally "").
15459 # whether the shell understands "unset".
15462 # turn spaces into newlines.
15465 # turn newlines into spaces.
15468 # How to create reloadable object files.
15469 reload_flag=$lt_reload_flag
15470 reload_cmds=$lt_reload_cmds
15472 # Method to check whether dependent libraries are shared objects.
15473 deplibs_check_method=$lt_deplibs_check_method
15475 # Command to use when deplibs_check_method == "file_magic".
15476 file_magic_cmd=$lt_file_magic_cmd
15480 AR_FLAGS=$lt_AR_FLAGS
15482 # A symbol stripping program.
15485 # Commands used to install an old-style archive.
15487 old_postinstall_cmds=$lt_old_postinstall_cmds
15488 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15493 # LTCC compiler flags.
15494 LTCFLAGS=$lt_CFLAGS
15496 # Take the output of nm and produce a listing of raw symbols and C names.
15497 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15499 # Transform the output of nm in a proper C declaration.
15500 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15502 # Transform the output of nm in a C name address pair.
15503 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15505 # Transform the output of nm in a C name address pair when lib prefix is needed.
15506 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15508 # The name of the directory that contains temporary libtool files.
15511 # Shell to use when invoking shell scripts.
15514 # An echo program that does not interpret backslashes.
15517 # Used to examine libraries when file_magic_cmd begins with "file".
15518 MAGIC_CMD=$MAGIC_CMD
15520 # Must we lock files when doing compilation?
15521 need_locks=$lt_need_locks
15523 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15524 DSYMUTIL=$lt_DSYMUTIL
15526 # Tool to change global to local symbols on Mac OS X.
15529 # Tool to manipulate fat objects and archives on Mac OS X.
15532 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15535 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15536 OTOOL64=$lt_OTOOL64
15538 # Old archive suffix (normally "a").
15541 # Shared library suffix (normally ".so").
15542 shrext_cmds=$lt_shrext_cmds
15544 # The commands to extract the exported symbol list from a shared archive.
15545 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15547 # Variables whose values should be saved in libtool wrapper scripts and
15548 # restored at link time.
15549 variables_saved_for_relink=$lt_variables_saved_for_relink
15551 # Do we need the "lib" prefix for modules?
15552 need_lib_prefix=$need_lib_prefix
15554 # Do we need a version for libraries?
15555 need_version=$need_version
15557 # Library versioning type.
15558 version_type=$version_type
15560 # Shared library runtime path variable.
15561 runpath_var=$runpath_var
15563 # Shared library path variable.
15564 shlibpath_var=$shlibpath_var
15566 # Is shlibpath searched before the hard-coded library search path?
15567 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15569 # Format of library name prefix.
15570 libname_spec=$lt_libname_spec
15572 # List of archive names. First name is the real one, the rest are links.
15573 # The last name is the one that the linker finds with -lNAME
15574 library_names_spec=$lt_library_names_spec
15576 # The coded name of the library, if different from the real name.
15577 soname_spec=$lt_soname_spec
15579 # Command to use after installation of a shared archive.
15580 postinstall_cmds=$lt_postinstall_cmds
15582 # Command to use after uninstallation of a shared archive.
15583 postuninstall_cmds=$lt_postuninstall_cmds
15585 # Commands used to finish a libtool library installation in a directory.
15586 finish_cmds=$lt_finish_cmds
15588 # As "finish_cmds", except a single script fragment to be evaled but
15590 finish_eval=$lt_finish_eval
15592 # Whether we should hardcode library paths into libraries.
15593 hardcode_into_libs=$hardcode_into_libs
15595 # Compile-time system search path for libraries.
15596 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15598 # Run-time system search path for libraries.
15599 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15601 # Whether dlopen is supported.
15602 dlopen_support=$enable_dlopen
15604 # Whether dlopen of programs is supported.
15605 dlopen_self=$enable_dlopen_self
15607 # Whether dlopen of statically linked programs is supported.
15608 dlopen_self_static=$enable_dlopen_self_static
15610 # Commands to strip libraries.
15611 old_striplib=$lt_old_striplib
15612 striplib=$lt_striplib
15615 # The linker used to build libraries.
15618 # Commands used to build an old-style archive.
15619 old_archive_cmds=$lt_old_archive_cmds
15621 # A language specific compiler.
15624 # Is the compiler the GNU compiler?
15627 # Compiler flag to turn off builtin functions.
15628 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15630 # How to pass a linker flag through the compiler.
15631 wl=$lt_lt_prog_compiler_wl
15633 # Additional compiler flags for building library objects.
15634 pic_flag=$lt_lt_prog_compiler_pic
15636 # Compiler flag to prevent dynamic linking.
15637 link_static_flag=$lt_lt_prog_compiler_static
15639 # Does compiler simultaneously support -c and -o options?
15640 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15642 # Whether or not to add -lc for building shared libraries.
15643 build_libtool_need_lc=$archive_cmds_need_lc
15645 # Whether or not to disallow shared libs when runtime libs are static.
15646 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15648 # Compiler flag to allow reflexive dlopens.
15649 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15651 # Compiler flag to generate shared objects directly from archives.
15652 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15654 # Whether the compiler copes with passing no objects directly.
15655 compiler_needs_object=$lt_compiler_needs_object
15657 # Create an old-style archive from a shared archive.
15658 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15660 # Create a temporary old-style archive to link instead of a shared archive.
15661 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15663 # Commands used to build a shared archive.
15664 archive_cmds=$lt_archive_cmds
15665 archive_expsym_cmds=$lt_archive_expsym_cmds
15667 # Commands used to build a loadable module if different from building
15668 # a shared archive.
15669 module_cmds=$lt_module_cmds
15670 module_expsym_cmds=$lt_module_expsym_cmds
15672 # Whether we are building with GNU ld or not.
15673 with_gnu_ld=$lt_with_gnu_ld
15675 # Flag that allows shared libraries with undefined symbols to be built.
15676 allow_undefined_flag=$lt_allow_undefined_flag
15678 # Flag that enforces no undefined symbols.
15679 no_undefined_flag=$lt_no_undefined_flag
15681 # Flag to hardcode \$libdir into a binary during linking.
15682 # This must work even if \$libdir does not exist
15683 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15685 # If ld is used when linking, flag to hardcode \$libdir into a binary
15686 # during linking. This must work even if \$libdir does not exist.
15687 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15689 # Whether we need a single "-rpath" flag with a separated argument.
15690 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15692 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15693 # DIR into the resulting binary.
15694 hardcode_direct=$hardcode_direct
15696 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15697 # DIR into the resulting binary and the resulting library dependency is
15698 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15699 # library is relocated.
15700 hardcode_direct_absolute=$hardcode_direct_absolute
15702 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15703 # into the resulting binary.
15704 hardcode_minus_L=$hardcode_minus_L
15706 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15707 # into the resulting binary.
15708 hardcode_shlibpath_var=$hardcode_shlibpath_var
15710 # Set to "yes" if building a shared library automatically hardcodes DIR
15711 # into the library and all subsequent libraries and executables linked
15713 hardcode_automatic=$hardcode_automatic
15715 # Set to yes if linker adds runtime paths of dependent libraries
15716 # to runtime path list.
15717 inherit_rpath=$inherit_rpath
15719 # Whether libtool must link a program against all its dependency libraries.
15720 link_all_deplibs=$link_all_deplibs
15722 # Fix the shell variable \$srcfile for the compiler.
15723 fix_srcfile_path=$lt_fix_srcfile_path
15725 # Set to "yes" if exported symbols are required.
15726 always_export_symbols=$always_export_symbols
15728 # The commands to list exported symbols.
15729 export_symbols_cmds=$lt_export_symbols_cmds
15731 # Symbols that should not be listed in the preloaded symbols.
15732 exclude_expsyms=$lt_exclude_expsyms
15734 # Symbols that must always be exported.
15735 include_expsyms=$lt_include_expsyms
15737 # Commands necessary for linking programs (against libraries) with templates.
15738 prelink_cmds=$lt_prelink_cmds
15740 # Specify filename containing input files.
15741 file_list_spec=$lt_file_list_spec
15743 # How to hardcode a shared library path into an executable.
15744 hardcode_action=$hardcode_action
15746 # ### END LIBTOOL CONFIG
15752 cat <<\_LT_EOF >> "$cfgfile"
15753 # AIX sometimes has problems with the GCC collect2 program. For some
15754 # reason, if we set the COLLECT_NAMES environment variable, the problems
15755 # vanish in a puff of smoke.
15756 if test "X${COLLECT_NAMES+set}" != Xset; then
15758 export COLLECT_NAMES
15765 ltmain="$ac_aux_dir/ltmain.sh"
15768 # We use sed instead of cat because bash on DJGPP gets confused if
15769 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15770 # text mode, it properly converts lines to CR/LF. This bash problem
15771 # is reportedly fixed, but why not run on old versions too?
15772 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15773 ||
(rm -f "$cfgfile"; exit 1)
15777 cat << \_LT_EOF
>> "$cfgfile"
15779 # func_dirname file append nondir_replacement
15780 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15781 # otherwise set result to NONDIR_REPLACEMENT.
15785 */*) func_dirname_result
="${1%/*}${2}" ;;
15786 * ) func_dirname_result
="${3}" ;;
15790 # func_basename file
15793 func_basename_result
="${1##*/}"
15796 # func_dirname_and_basename file append nondir_replacement
15797 # perform func_basename and func_dirname in a single function
15799 # dirname: Compute the dirname of FILE. If nonempty,
15800 # add APPEND to the result, otherwise set result
15801 # to NONDIR_REPLACEMENT.
15802 # value returned in "$func_dirname_result"
15803 # basename: Compute filename of FILE.
15804 # value retuned in "$func_basename_result"
15805 # Implementation must be kept synchronized with func_dirname
15806 # and func_basename. For efficiency, we do not delegate to
15807 # those functions but instead duplicate the functionality here.
15808 func_dirname_and_basename
()
15811 */*) func_dirname_result
="${1%/*}${2}" ;;
15812 * ) func_dirname_result
="${3}" ;;
15814 func_basename_result
="${1##*/}"
15817 # func_stripname prefix suffix name
15818 # strip PREFIX and SUFFIX off of NAME.
15819 # PREFIX and SUFFIX must not contain globbing or regex special
15820 # characters, hashes, percent signs, but SUFFIX may contain a leading
15821 # dot (in which case that matches only a dot).
15824 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15825 # positional parameters, so assign one to ordinary parameter first.
15826 func_stripname_result
=${3}
15827 func_stripname_result
=${func_stripname_result#"${1}"}
15828 func_stripname_result
=${func_stripname_result%"${2}"}
15834 func_opt_split_opt
=${1%%=*}
15835 func_opt_split_arg
=${1#*=}
15842 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15843 *) func_lo2o_result
=${1} ;;
15847 # func_xform libobj-or-source
15850 func_xform_result
=${1%.*}.lo
15853 # func_arith arithmetic-term...
15856 func_arith_result
=$
(( $
* ))
15860 # STRING may not start with a hyphen.
15863 func_len_result
=${#1}
15868 *) # Bourne compatible functions.
15869 cat << \_LT_EOF
>> "$cfgfile"
15871 # func_dirname file append nondir_replacement
15872 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15873 # otherwise set result to NONDIR_REPLACEMENT.
15876 # Extract subdirectory from the argument.
15877 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15878 if test "X$func_dirname_result" = "X${1}"; then
15879 func_dirname_result
="${3}"
15881 func_dirname_result
="$func_dirname_result${2}"
15885 # func_basename file
15888 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15892 # func_stripname prefix suffix name
15893 # strip PREFIX and SUFFIX off of NAME.
15894 # PREFIX and SUFFIX must not contain globbing or regex special
15895 # characters, hashes, percent signs, but SUFFIX may contain a leading
15896 # dot (in which case that matches only a dot).
15897 # func_strip_suffix prefix name
15901 .
*) func_stripname_result
=`$ECHO "X${3}" \
15902 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15903 *) func_stripname_result
=`$ECHO "X${3}" \
15904 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15909 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15910 my_sed_long_arg
='1s/^-[^=]*=//'
15915 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15916 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15922 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15925 # func_xform libobj-or-source
15928 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15931 # func_arith arithmetic-term...
15934 func_arith_result
=`expr "$@"`
15938 # STRING may not start with a hyphen.
15941 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15947 case $lt_shell_append in
15949 cat << \_LT_EOF
>> "$cfgfile"
15951 # func_append var value
15952 # Append VALUE to the end of shell variable VAR.
15960 cat << \_LT_EOF
>> "$cfgfile"
15962 # func_append var value
15963 # Append VALUE to the end of shell variable VAR.
15974 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15975 ||
(rm -f "$cfgfile"; exit 1)
15977 mv -f "$cfgfile" "$ofile" ||
15978 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15982 "ftconfig.h":H
) mv ftconfig.h ftconfig.tmp
15983 sed 's|/undef|#undef|' < ftconfig.tmp
> ftconfig.h
15990 { (exit 0); exit 0; }
15992 chmod +x
$CONFIG_STATUS
15993 ac_clean_files
=$ac_clean_files_save
15995 test $ac_write_fail = 0 ||
15996 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15997 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15998 { (exit 1); exit 1; }; }
16001 # configure is writing to config.log, and then calls config.status.
16002 # config.status does its own redirection, appending to config.log.
16003 # Unfortunately, on DOS this fails, as config.log is still kept open
16004 # by configure, so config.status won't be able to write to it; its
16005 # output is simply discarded. So we exec the FD to /dev/null,
16006 # effectively closing config.log, so it can be properly (re)opened and
16007 # appended to by config.status. When coming back to configure, we
16008 # need to make the FD available again.
16009 if test "$no_create" != yes; then
16011 ac_config_status_args
=
16012 test "$silent" = yes &&
16013 ac_config_status_args
="$ac_config_status_args --quiet"
16015 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16017 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16018 # would make configure fail if this is the last instruction.
16019 $ac_cs_success ||
{ (exit 1); exit 1; }
16021 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16022 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16023 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16027 # end of configure.raw