2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for pango 1.30.0.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pango>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 PATH=/empty FPATH=/empty; export PATH FPATH
184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=pango
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
271 # Portably unset VAR.
274 { eval $1=; unset $1;}
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298 # Create "$as_dir" as a directory, including parents if necessary.
303 -*) as_dir=./$as_dir;;
305 test -d "$as_dir" || eval $as_mkdir_p || {
309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312 as_dirs="'$as_qdir' $as_dirs"
313 as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 test -d "$as_dir" && break
338 test -z "$as_dirs" || eval "mkdir $as_dirs"
339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350 eval 'as_fn_append ()
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374 as_val=`expr "$@" || test $? -eq 1`
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
386 as_status=$1; test $as_status -eq 0 && as_status=1
388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit $as_status
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
441 as_lineno_1=$LINENO as_lineno_1a=$LINENO
442 as_lineno_2=$LINENO as_lineno_2a=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461 chmod +x "$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
468 # Exit status is that of the last command.
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
490 mkdir conf$$.dir 2>/dev/null
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
515 test -d ./-p && rmdir ./-p
519 if test -x / >/dev/null 2>&1; then
522 if ls -dL / >/dev/null 2>&1; then
529 if test -d "$1"; then
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
540 as_executable_p=$as_test_x
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548 SHELL=${CONFIG_SHELL-/bin/sh}
551 test -n "$DJDIR" || exec 7<&0 </dev/null
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
571 # Identity of this package.
573 PACKAGE_TARNAME='pango'
574 PACKAGE_VERSION='1.30.0'
575 PACKAGE_STRING='pango 1.30.0'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=pango'
579 ac_unique_file="pango.pc.in"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
616 ac_subst_vars='am__EXEEXT_FALSE
620 DISABLE_EXPLICIT_DEPS_FALSE
621 DISABLE_EXPLICIT_DEPS_TRUE
622 PKGCONFIG_CAIRO_REQUIRES
624 MODULE_LIBTOOL_OPTIONS
625 LIBRARY_LIBTOOL_OPTIONS
626 ENABLE_DOC_CROSS_REFERENCES_FALSE
627 ENABLE_DOC_CROSS_REFERENCES_TRUE
635 GTK_DOC_USE_REBASE_FALSE
636 GTK_DOC_USE_REBASE_TRUE
637 GTK_DOC_USE_LIBTOOL_FALSE
638 GTK_DOC_USE_LIBTOOL_TRUE
639 GTK_DOC_BUILD_PDF_FALSE
640 GTK_DOC_BUILD_PDF_TRUE
641 GTK_DOC_BUILD_HTML_FALSE
642 GTK_DOC_BUILD_HTML_TRUE
651 DYNAMIC_TIBETAN_FC_FALSE
652 DYNAMIC_TIBETAN_FC_TRUE
653 DYNAMIC_THAI_LANG_FALSE
654 DYNAMIC_THAI_LANG_TRUE
655 DYNAMIC_THAI_FC_FALSE
657 DYNAMIC_SYRIAC_FC_FALSE
658 DYNAMIC_SYRIAC_FC_TRUE
659 DYNAMIC_KHMER_FC_FALSE
660 DYNAMIC_KHMER_FC_TRUE
661 DYNAMIC_INDIC_LANG_FALSE
662 DYNAMIC_INDIC_LANG_TRUE
663 DYNAMIC_INDIC_FC_FALSE
664 DYNAMIC_INDIC_FC_TRUE
665 DYNAMIC_HEBREW_FC_FALSE
666 DYNAMIC_HEBREW_FC_TRUE
667 DYNAMIC_HANGUL_FC_FALSE
668 DYNAMIC_HANGUL_FC_TRUE
669 DYNAMIC_BASIC_CORE_TEXT_FALSE
670 DYNAMIC_BASIC_CORE_TEXT_TRUE
671 DYNAMIC_BASIC_ATSUI_FALSE
672 DYNAMIC_BASIC_ATSUI_TRUE
673 DYNAMIC_BASIC_X_FALSE
675 DYNAMIC_BASIC_WIN32_FALSE
676 DYNAMIC_BASIC_WIN32_TRUE
677 DYNAMIC_BASIC_FC_FALSE
678 DYNAMIC_BASIC_FC_TRUE
679 DYNAMIC_ARABIC_LANG_FALSE
680 DYNAMIC_ARABIC_LANG_TRUE
681 DYNAMIC_ARABIC_FC_FALSE
682 DYNAMIC_ARABIC_FC_TRUE
683 INCLUDE_TIBETAN_FC_FALSE
684 INCLUDE_TIBETAN_FC_TRUE
685 INCLUDE_THAI_LANG_FALSE
686 INCLUDE_THAI_LANG_TRUE
687 INCLUDE_THAI_FC_FALSE
689 INCLUDE_SYRIAC_FC_FALSE
690 INCLUDE_SYRIAC_FC_TRUE
691 INCLUDE_KHMER_FC_FALSE
692 INCLUDE_KHMER_FC_TRUE
693 INCLUDE_INDIC_LANG_FALSE
694 INCLUDE_INDIC_LANG_TRUE
695 INCLUDE_INDIC_FC_FALSE
696 INCLUDE_INDIC_FC_TRUE
697 INCLUDE_HEBREW_FC_FALSE
698 INCLUDE_HEBREW_FC_TRUE
699 INCLUDE_HANGUL_FC_FALSE
700 INCLUDE_HANGUL_FC_TRUE
701 INCLUDE_BASIC_CORE_TEXT_FALSE
702 INCLUDE_BASIC_CORE_TEXT_TRUE
703 INCLUDE_BASIC_ATSUI_FALSE
704 INCLUDE_BASIC_ATSUI_TRUE
705 INCLUDE_BASIC_X_FALSE
707 INCLUDE_BASIC_WIN32_FALSE
708 INCLUDE_BASIC_WIN32_TRUE
709 INCLUDE_BASIC_FC_FALSE
710 INCLUDE_BASIC_FC_TRUE
711 INCLUDE_ARABIC_LANG_FALSE
712 INCLUDE_ARABIC_LANG_TRUE
713 INCLUDE_ARABIC_FC_FALSE
714 INCLUDE_ARABIC_FC_TRUE
715 INCLUDED_LANG_MODULES
716 INCLUDED_CORE_TEXT_MODULES
717 INCLUDED_ATSUI_MODULES
718 INCLUDED_WIN32_MODULES
721 HAVE_DYNAMIC_MODULES_FALSE
722 HAVE_DYNAMIC_MODULES_TRUE
723 HAVE_INCLUDED_MODULES_FALSE
724 HAVE_INCLUDED_MODULES_TRUE
725 HAVE_INTROSPECTION_FALSE
726 HAVE_INTROSPECTION_TRUE
727 INTROSPECTION_MAKEFILE
730 INTROSPECTION_TYPELIBDIR
732 INTROSPECTION_GENERATE
733 INTROSPECTION_COMPILER
734 INTROSPECTION_SCANNER
740 HAVE_CAIRO_ATSUI_FALSE
741 HAVE_CAIRO_ATSUI_TRUE
742 HAVE_CAIRO_FREETYPE_FALSE
743 HAVE_CAIRO_FREETYPE_TRUE
744 HAVE_CAIRO_WIN32_FALSE
745 HAVE_CAIRO_WIN32_TRUE
746 HAVE_CAIRO_XLIB_FALSE
783 CROSS_COMPILING_FALSE
786 MS_LIB_AVAILABLE_FALSE
787 MS_LIB_AVAILABLE_TRUE
852 PANGO_CURRENT_MINUS_AGE
873 INSTALL_STRIP_PROGRAM
915 program_transform_name
928 enable_option_checking
930 enable_dependency_tracking
942 with_included_modules
950 enable_doc_cross_references
953 ac_precious_vars='build_alias
986 # Initialize some variables set by options.
988 ac_init_version=false
989 ac_unrecognized_opts=
991 # The variables have the same names as the options, with
992 # dashes changed to underlines.
1000 program_transform_name=s,x,x,
1008 # Installation directory options.
1009 # These are left unexpanded so users can "make install exec_prefix=/foo"
1010 # and all the variables that are supposed to be based on exec_prefix
1011 # by default will actually change.
1012 # Use braces instead of parens because sh, perl, etc. also accept them.
1013 # (The list follows the same order as the GNU Coding Standards.)
1014 bindir='${exec_prefix}/bin'
1015 sbindir='${exec_prefix}/sbin'
1016 libexecdir='${exec_prefix}/libexec'
1017 datarootdir='${prefix}/share'
1018 datadir='${datarootdir}'
1019 sysconfdir='${prefix}/etc'
1020 sharedstatedir='${prefix}/com'
1021 localstatedir='${prefix}/var'
1022 includedir='${prefix}/include'
1023 oldincludedir='/usr/include'
1024 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1025 infodir='${datarootdir}/info'
1030 libdir='${exec_prefix}/lib'
1031 localedir='${datarootdir}/locale'
1032 mandir='${datarootdir}/man'
1038 # If the previous option needs an argument, assign it.
1039 if test -n "$ac_prev"; then
1040 eval $ac_prev=\$ac_option
1046 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1051 # Accept the important Cygnus configure options, so we can diagnose typos.
1053 case $ac_dashdash$ac_option in
1057 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1059 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1060 bindir=$ac_optarg ;;
1062 -build | --build | --buil | --bui | --bu)
1063 ac_prev=build_alias ;;
1064 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1065 build_alias=$ac_optarg ;;
1067 -cache-file | --cache-file | --cache-fil | --cache-fi \
1068 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1069 ac_prev=cache_file ;;
1070 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1071 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1072 cache_file=$ac_optarg ;;
1074 --config-cache | -C)
1075 cache_file=config.cache ;;
1077 -datadir | --datadir | --datadi | --datad)
1079 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1080 datadir=$ac_optarg ;;
1082 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1083 | --dataroo | --dataro | --datar)
1084 ac_prev=datarootdir ;;
1085 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1086 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1087 datarootdir=$ac_optarg ;;
1089 -disable-* | --disable-*)
1090 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1091 # Reject names that are not valid shell variable names.
1092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093 as_fn_error $? "invalid feature name: $ac_useropt"
1094 ac_useropt_orig=$ac_useropt
1095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096 case $ac_user_opts in
1098 "enable_$ac_useropt"
1100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1101 ac_unrecognized_sep=', ';;
1103 eval enable_$ac_useropt=no ;;
1105 -docdir | --docdir | --docdi | --doc | --do)
1107 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1108 docdir=$ac_optarg ;;
1110 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1112 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1113 dvidir=$ac_optarg ;;
1115 -enable-* | --enable-*)
1116 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1119 as_fn_error $? "invalid feature name: $ac_useropt"
1120 ac_useropt_orig=$ac_useropt
1121 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in
1124 "enable_$ac_useropt"
1126 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1127 ac_unrecognized_sep=', ';;
1129 eval enable_$ac_useropt=\$ac_optarg ;;
1131 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1132 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1133 | --exec | --exe | --ex)
1134 ac_prev=exec_prefix ;;
1135 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1136 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1137 | --exec=* | --exe=* | --ex=*)
1138 exec_prefix=$ac_optarg ;;
1140 -gas | --gas | --ga | --g)
1141 # Obsolete; use --with-gas.
1144 -help | --help | --hel | --he | -h)
1145 ac_init_help=long ;;
1146 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1147 ac_init_help=recursive ;;
1148 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1149 ac_init_help=short ;;
1151 -host | --host | --hos | --ho)
1152 ac_prev=host_alias ;;
1153 -host=* | --host=* | --hos=* | --ho=*)
1154 host_alias=$ac_optarg ;;
1156 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1158 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1160 htmldir=$ac_optarg ;;
1162 -includedir | --includedir | --includedi | --included | --include \
1163 | --includ | --inclu | --incl | --inc)
1164 ac_prev=includedir ;;
1165 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1166 | --includ=* | --inclu=* | --incl=* | --inc=*)
1167 includedir=$ac_optarg ;;
1169 -infodir | --infodir | --infodi | --infod | --info | --inf)
1171 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1172 infodir=$ac_optarg ;;
1174 -libdir | --libdir | --libdi | --libd)
1176 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1177 libdir=$ac_optarg ;;
1179 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1180 | --libexe | --libex | --libe)
1181 ac_prev=libexecdir ;;
1182 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1183 | --libexe=* | --libex=* | --libe=*)
1184 libexecdir=$ac_optarg ;;
1186 -localedir | --localedir | --localedi | --localed | --locale)
1187 ac_prev=localedir ;;
1188 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1189 localedir=$ac_optarg ;;
1191 -localstatedir | --localstatedir | --localstatedi | --localstated \
1192 | --localstate | --localstat | --localsta | --localst | --locals)
1193 ac_prev=localstatedir ;;
1194 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1195 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1196 localstatedir=$ac_optarg ;;
1198 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1200 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1201 mandir=$ac_optarg ;;
1203 -nfp | --nfp | --nf)
1204 # Obsolete; use --without-fp.
1207 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1208 | --no-cr | --no-c | -n)
1211 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1212 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1215 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1216 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1217 | --oldin | --oldi | --old | --ol | --o)
1218 ac_prev=oldincludedir ;;
1219 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1220 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1221 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1222 oldincludedir=$ac_optarg ;;
1224 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1226 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1227 prefix=$ac_optarg ;;
1229 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1230 | --program-pre | --program-pr | --program-p)
1231 ac_prev=program_prefix ;;
1232 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1233 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1234 program_prefix=$ac_optarg ;;
1236 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1237 | --program-suf | --program-su | --program-s)
1238 ac_prev=program_suffix ;;
1239 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1240 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1241 program_suffix=$ac_optarg ;;
1243 -program-transform-name | --program-transform-name \
1244 | --program-transform-nam | --program-transform-na \
1245 | --program-transform-n | --program-transform- \
1246 | --program-transform | --program-transfor \
1247 | --program-transfo | --program-transf \
1248 | --program-trans | --program-tran \
1249 | --progr-tra | --program-tr | --program-t)
1250 ac_prev=program_transform_name ;;
1251 -program-transform-name=* | --program-transform-name=* \
1252 | --program-transform-nam=* | --program-transform-na=* \
1253 | --program-transform-n=* | --program-transform-=* \
1254 | --program-transform=* | --program-transfor=* \
1255 | --program-transfo=* | --program-transf=* \
1256 | --program-trans=* | --program-tran=* \
1257 | --progr-tra=* | --program-tr=* | --program-t=*)
1258 program_transform_name=$ac_optarg ;;
1260 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1262 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1263 pdfdir=$ac_optarg ;;
1265 -psdir | --psdir | --psdi | --psd | --ps)
1267 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1270 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1271 | -silent | --silent | --silen | --sile | --sil)
1274 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1276 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1278 sbindir=$ac_optarg ;;
1280 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1281 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1282 | --sharedst | --shareds | --shared | --share | --shar \
1284 ac_prev=sharedstatedir ;;
1285 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1286 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1287 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1289 sharedstatedir=$ac_optarg ;;
1291 -site | --site | --sit)
1293 -site=* | --site=* | --sit=*)
1296 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1298 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1299 srcdir=$ac_optarg ;;
1301 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1302 | --syscon | --sysco | --sysc | --sys | --sy)
1303 ac_prev=sysconfdir ;;
1304 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1305 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1306 sysconfdir=$ac_optarg ;;
1308 -target | --target | --targe | --targ | --tar | --ta | --t)
1309 ac_prev=target_alias ;;
1310 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1311 target_alias=$ac_optarg ;;
1313 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1316 -version | --version | --versio | --versi | --vers | -V)
1317 ac_init_version=: ;;
1320 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1321 # Reject names that are not valid shell variable names.
1322 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1323 as_fn_error $? "invalid package name: $ac_useropt"
1324 ac_useropt_orig=$ac_useropt
1325 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1326 case $ac_user_opts in
1330 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1331 ac_unrecognized_sep=', ';;
1333 eval with_$ac_useropt=\$ac_optarg ;;
1335 -without-* | --without-*)
1336 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1337 # Reject names that are not valid shell variable names.
1338 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1339 as_fn_error $? "invalid package name: $ac_useropt"
1340 ac_useropt_orig=$ac_useropt
1341 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1342 case $ac_user_opts in
1346 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1347 ac_unrecognized_sep=', ';;
1349 eval with_$ac_useropt=no ;;
1352 # Obsolete; use --with-x.
1355 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1356 | --x-incl | --x-inc | --x-in | --x-i)
1357 ac_prev=x_includes ;;
1358 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1359 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1360 x_includes=$ac_optarg ;;
1362 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1363 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1364 ac_prev=x_libraries ;;
1365 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1366 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1367 x_libraries=$ac_optarg ;;
1369 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1370 Try \`$0 --help' for more information"
1374 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1375 # Reject names that are not valid shell variable names.
1376 case $ac_envvar in #(
1377 '' | [0-9]* | *[!_$as_cr_alnum]* )
1378 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1380 eval $ac_envvar=\$ac_optarg
1381 export $ac_envvar ;;
1384 # FIXME: should be removed in autoconf 3.0.
1385 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1386 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1387 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1388 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1394 if test -n "$ac_prev"; then
1395 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1396 as_fn_error $? "missing argument to $ac_option"
1399 if test -n "$ac_unrecognized_opts"; then
1400 case $enable_option_checking in
1402 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1403 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1407 # Check all directory arguments for consistency.
1408 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1409 datadir sysconfdir sharedstatedir localstatedir includedir \
1410 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1411 libdir localedir mandir
1413 eval ac_val=\$$ac_var
1414 # Remove trailing slashes.
1417 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1418 eval $ac_var=\$ac_val;;
1420 # Be sure to have absolute directory names.
1422 [\\/$]* | ?:[\\/]* ) continue;;
1423 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1425 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1428 # There might be people who depend on the old broken behavior: `$host'
1429 # used to hold the argument of --host etc.
1430 # FIXME: To remove some day.
1433 target=$target_alias
1435 # FIXME: To remove some day.
1436 if test "x$host_alias" != x; then
1437 if test "x$build_alias" = x; then
1438 cross_compiling=maybe
1439 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1440 If a cross compiler is detected then cross compile mode will be used" >&2
1441 elif test "x$build_alias" != "x$host_alias"; then
1447 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1449 test "$silent" = yes && exec 6>/dev/null
1452 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1453 ac_ls_di=`ls -di .` &&
1454 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1455 as_fn_error $? "working directory cannot be determined"
1456 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1457 as_fn_error $? "pwd does not report name of working directory"
1460 # Find the source files, if location was not specified.
1461 if test -z "$srcdir"; then
1462 ac_srcdir_defaulted=yes
1463 # Try the directory containing this script, then the parent directory.
1464 ac_confdir=`$as_dirname -- "$as_myself" ||
1465 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1466 X"$as_myself" : 'X\(//\)[^/]' \| \
1467 X"$as_myself" : 'X\(//\)$' \| \
1468 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1469 $as_echo X"$as_myself" |
1470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1488 if test ! -r "$srcdir/$ac_unique_file"; then
1492 ac_srcdir_defaulted=no
1494 if test ! -r "$srcdir/$ac_unique_file"; then
1495 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1496 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1498 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1500 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1502 # When building in place, set srcdir=.
1503 if test "$ac_abs_confdir" = "$ac_pwd"; then
1506 # Remove unnecessary trailing slashes from srcdir.
1507 # Double slashes in file names in object file debugging info
1508 # mess up M-x gdb in Emacs.
1510 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1512 for ac_var in $ac_precious_vars; do
1513 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1514 eval ac_env_${ac_var}_value=\$${ac_var}
1515 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1516 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1520 # Report the --help message.
1522 if test "$ac_init_help" = "long"; then
1523 # Omit some internal or obsolete options to make the list less imposing.
1524 # This message is too long to be a string in the A/UX 3.1 sh.
1526 \`configure' configures pango 1.30.0 to adapt to many kinds of systems.
1528 Usage: $0 [OPTION]... [VAR=VALUE]...
1530 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1531 VAR=VALUE. See below for descriptions of some of the useful variables.
1533 Defaults for the options are specified in brackets.
1536 -h, --help display this help and exit
1537 --help=short display options specific to this package
1538 --help=recursive display the short help of all the included packages
1539 -V, --version display version information and exit
1540 -q, --quiet, --silent do not print \`checking ...' messages
1541 --cache-file=FILE cache test results in FILE [disabled]
1542 -C, --config-cache alias for \`--cache-file=config.cache'
1543 -n, --no-create do not create output files
1544 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1546 Installation directories:
1547 --prefix=PREFIX install architecture-independent files in PREFIX
1548 [$ac_default_prefix]
1549 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1552 By default, \`make install' will install all the files in
1553 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1554 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1555 for instance \`--prefix=\$HOME'.
1557 For better control, use the options below.
1559 Fine tuning of the installation directories:
1560 --bindir=DIR user executables [EPREFIX/bin]
1561 --sbindir=DIR system admin executables [EPREFIX/sbin]
1562 --libexecdir=DIR program executables [EPREFIX/libexec]
1563 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1564 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1565 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1566 --libdir=DIR object code libraries [EPREFIX/lib]
1567 --includedir=DIR C header files [PREFIX/include]
1568 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1569 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1570 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1571 --infodir=DIR info documentation [DATAROOTDIR/info]
1572 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1573 --mandir=DIR man documentation [DATAROOTDIR/man]
1574 --docdir=DIR documentation root [DATAROOTDIR/doc/pango]
1575 --htmldir=DIR html documentation [DOCDIR]
1576 --dvidir=DIR dvi documentation [DOCDIR]
1577 --pdfdir=DIR pdf documentation [DOCDIR]
1578 --psdir=DIR ps documentation [DOCDIR]
1584 --program-prefix=PREFIX prepend PREFIX to installed program names
1585 --program-suffix=SUFFIX append SUFFIX to installed program names
1586 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1589 --x-includes=DIR X include files are in DIR
1590 --x-libraries=DIR X library files are in DIR
1593 --build=BUILD configure for building on BUILD [guessed]
1594 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1598 if test -n "$ac_init_help"; then
1599 case $ac_init_help in
1600 short | recursive ) echo "Configuration of pango 1.30.0:";;
1605 --disable-option-checking ignore unrecognized --enable/--with options
1606 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1607 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1608 --enable-silent-rules less verbose build output (undo: `make V=1')
1609 --disable-silent-rules verbose build output (undo: `make V=0')
1610 --disable-dependency-tracking speeds up one-time build
1611 --enable-dependency-tracking do not reject slow dependency extractors
1612 --enable-static[=PKGS] build static libraries [default=no]
1613 --enable-shared[=PKGS] build shared libraries [default=yes]
1614 --enable-fast-install[=PKGS]
1615 optimize for fast installation [default=yes]
1616 --disable-libtool-lock avoid locking (might break parallel builds)
1617 --enable-debug=[no/minimum/yes]
1618 turn on debugging [default=minimum]
1619 --disable-rebuilds disable all source autogeneration rules
1620 --enable-introspection=[no/auto/yes]
1621 Enable introspection for this build
1622 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1623 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1624 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1625 --enable-man regenerate man pages from Docbook [default=no]
1626 --disable-doc-cross-references
1627 cross reference glib and cairo symbols [default=yes]
1628 --enable-explicit-deps=[no/auto/yes]
1629 use explicit dependencies in .pc files
1633 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1634 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1635 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1637 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1638 --with-sysroot=DIR Search for dependent libraries within DIR
1639 (or the compiler's sysroot if not specified).
1640 --with-x use the X Window System
1641 --with-included-modules=no/yes/MODULE1 MODULE2 ...
1642 build the given modules included [default=no]
1643 --with-dynamic-modules=no/yes/MODULE1 MODULE2 ...
1644 build the given dynamic modules [default=yes]
1645 --with-html-dir=PATH path to installed docs
1646 --with-xml-catalog=CATALOG
1647 path to xml catalog to use
1649 Some influential environment variables:
1650 CC C compiler command
1651 CFLAGS C compiler flags
1652 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1653 nonstandard directory <lib dir>
1654 LIBS libraries to pass to the linker, e.g. -l<library>
1655 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1656 you have headers in a nonstandard directory <include dir>
1657 CXX C++ compiler command
1658 CXXFLAGS C++ compiler flags
1660 CXXCPP C++ preprocessor
1661 XMKMF Path to xmkmf, Makefile generator for X Window System
1662 PKG_CONFIG path to pkg-config utility
1664 directories to add to pkg-config's search path
1666 path overriding pkg-config's built-in search path
1668 C compiler flags for FONTCONFIG, overriding pkg-config
1670 linker flags for FONTCONFIG, overriding pkg-config
1672 C compiler flags for FREETYPE, overriding pkg-config
1674 linker flags for FREETYPE, overriding pkg-config
1675 XFT_CFLAGS C compiler flags for XFT, overriding pkg-config
1676 XFT_LIBS linker flags for XFT, overriding pkg-config
1678 C compiler flags for CAIRO, overriding pkg-config
1679 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1680 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1681 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1683 C compiler flags for LIBTHAI, overriding pkg-config
1685 linker flags for LIBTHAI, overriding pkg-config
1687 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1689 linker flags for GTKDOC_DEPS, overriding pkg-config
1691 Use these variables to override the choices made by `configure' or to help
1692 it to find libraries and programs with nonstandard names/locations.
1694 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pango>.
1699 if test "$ac_init_help" = "recursive"; then
1700 # If there are subdirs, report their specific --help.
1701 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1702 test -d "$ac_dir" ||
1703 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1708 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1710 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1711 # A ".." for each directory in $ac_dir_suffix.
1712 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1713 case $ac_top_builddir_sub in
1714 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1715 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1718 ac_abs_top_builddir=$ac_pwd
1719 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1720 # for backward compatibility:
1721 ac_top_builddir=$ac_top_build_prefix
1724 .) # We are building in place.
1726 ac_top_srcdir=$ac_top_builddir_sub
1727 ac_abs_top_srcdir=$ac_pwd ;;
1728 [\\/]* | ?:[\\/]* ) # Absolute name.
1729 ac_srcdir=$srcdir$ac_dir_suffix;
1730 ac_top_srcdir=$srcdir
1731 ac_abs_top_srcdir=$srcdir ;;
1733 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1734 ac_top_srcdir=$ac_top_build_prefix$srcdir
1735 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1737 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1739 cd "$ac_dir" || { ac_status=$?; continue; }
1740 # Check for guested configure.
1741 if test -f "$ac_srcdir/configure.gnu"; then
1743 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1744 elif test -f "$ac_srcdir/configure"; then
1746 $SHELL "$ac_srcdir/configure" --help=recursive
1748 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1750 cd "$ac_pwd" || { ac_status=$?; break; }
1754 test -n "$ac_init_help" && exit $ac_status
1755 if $ac_init_version; then
1757 pango configure 1.30.0
1758 generated by GNU Autoconf 2.68
1760 Copyright (C) 2010 Free Software Foundation, Inc.
1761 This configure script is free software; the Free Software Foundation
1762 gives unlimited permission to copy, distribute and modify it.
1767 ## ------------------------ ##
1768 ## Autoconf initialization. ##
1769 ## ------------------------ ##
1771 # ac_fn_c_try_compile LINENO
1772 # --------------------------
1773 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1774 ac_fn_c_try_compile ()
1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777 rm -f conftest.$ac_objext
1778 if { { ac_try="$ac_compile"
1780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1781 *) ac_try_echo=$ac_try;;
1783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1784 $as_echo "$ac_try_echo"; } >&5
1785 (eval "$ac_compile") 2>conftest.err
1787 if test -s conftest.err; then
1788 grep -v '^ *+' conftest.err >conftest.er1
1789 cat conftest.er1 >&5
1790 mv -f conftest.er1 conftest.err
1792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1793 test $ac_status = 0; } && {
1794 test -z "$ac_c_werror_flag" ||
1795 test ! -s conftest.err
1796 } && test -s conftest.$ac_objext; then :
1799 $as_echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.$ac_ext >&5
1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 as_fn_set_status $ac_retval
1807 } # ac_fn_c_try_compile
1809 # ac_fn_cxx_try_compile LINENO
1810 # ----------------------------
1811 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1812 ac_fn_cxx_try_compile ()
1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815 rm -f conftest.$ac_objext
1816 if { { ac_try="$ac_compile"
1818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1819 *) ac_try_echo=$ac_try;;
1821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1822 $as_echo "$ac_try_echo"; } >&5
1823 (eval "$ac_compile") 2>conftest.err
1825 if test -s conftest.err; then
1826 grep -v '^ *+' conftest.err >conftest.er1
1827 cat conftest.er1 >&5
1828 mv -f conftest.er1 conftest.err
1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831 test $ac_status = 0; } && {
1832 test -z "$ac_cxx_werror_flag" ||
1833 test ! -s conftest.err
1834 } && test -s conftest.$ac_objext; then :
1837 $as_echo "$as_me: failed program was:" >&5
1838 sed 's/^/| /' conftest.$ac_ext >&5
1842 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843 as_fn_set_status $ac_retval
1845 } # ac_fn_cxx_try_compile
1847 # ac_fn_c_try_link LINENO
1848 # -----------------------
1849 # Try to link conftest.$ac_ext, and return whether this succeeded.
1852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 rm -f conftest.$ac_objext conftest$ac_exeext
1854 if { { ac_try="$ac_link"
1856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1857 *) ac_try_echo=$ac_try;;
1859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1860 $as_echo "$ac_try_echo"; } >&5
1861 (eval "$ac_link") 2>conftest.err
1863 if test -s conftest.err; then
1864 grep -v '^ *+' conftest.err >conftest.er1
1865 cat conftest.er1 >&5
1866 mv -f conftest.er1 conftest.err
1868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1869 test $ac_status = 0; } && {
1870 test -z "$ac_c_werror_flag" ||
1871 test ! -s conftest.err
1872 } && test -s conftest$ac_exeext && {
1873 test "$cross_compiling" = yes ||
1874 $as_test_x conftest$ac_exeext
1878 $as_echo "$as_me: failed program was:" >&5
1879 sed 's/^/| /' conftest.$ac_ext >&5
1883 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1884 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1885 # interfere with the next link command; also delete a directory that is
1886 # left behind by Apple's compiler. We do this before executing the actions.
1887 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889 as_fn_set_status $ac_retval
1891 } # ac_fn_c_try_link
1893 # ac_fn_c_check_func LINENO FUNC VAR
1894 # ----------------------------------
1895 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1896 ac_fn_c_check_func ()
1898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900 $as_echo_n "checking for $2... " >&6; }
1901 if eval \${$3+:} false; then :
1902 $as_echo_n "(cached) " >&6
1904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h. */
1906 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1908 #define $2 innocuous_$2
1910 /* System header to define __stub macros and hopefully few prototypes,
1911 which can conflict with char $2 (); below.
1912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1913 <limits.h> exists even on freestanding compilers. */
1916 # include <limits.h>
1918 # include <assert.h>
1923 /* Override any GCC internal prototype to avoid an error.
1924 Use char because int might match the return type of a GCC
1925 builtin and then its argument prototype would still apply. */
1930 /* The GNU C library defines this for functions which it implements
1931 to always fail with ENOSYS. Some functions are actually named
1932 something starting with __ and the normal name is an alias. */
1933 #if defined __stub_$2 || defined __stub___$2
1945 if ac_fn_c_try_link "$LINENO"; then :
1950 rm -f core conftest.err conftest.$ac_objext \
1951 conftest$ac_exeext conftest.$ac_ext
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1955 $as_echo "$ac_res" >&6; }
1956 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1958 } # ac_fn_c_check_func
1960 # ac_fn_c_try_cpp LINENO
1961 # ----------------------
1962 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1965 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1966 if { { ac_try="$ac_cpp conftest.$ac_ext"
1968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1969 *) ac_try_echo=$ac_try;;
1971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1972 $as_echo "$ac_try_echo"; } >&5
1973 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1975 if test -s conftest.err; then
1976 grep -v '^ *+' conftest.err >conftest.er1
1977 cat conftest.er1 >&5
1978 mv -f conftest.er1 conftest.err
1980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1981 test $ac_status = 0; } > conftest.i && {
1982 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1983 test ! -s conftest.err
1987 $as_echo "$as_me: failed program was:" >&5
1988 sed 's/^/| /' conftest.$ac_ext >&5
1992 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1993 as_fn_set_status $ac_retval
1997 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1998 # -------------------------------------------------------
1999 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2000 # the include files in INCLUDES and setting the cache variable VAR
2002 ac_fn_c_check_header_mongrel ()
2004 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2005 if eval \${$3+:} false; then :
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2007 $as_echo_n "checking for $2... " >&6; }
2008 if eval \${$3+:} false; then :
2009 $as_echo_n "(cached) " >&6
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013 $as_echo "$ac_res" >&6; }
2015 # Is the header compilable?
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2017 $as_echo_n "checking $2 usability... " >&6; }
2018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2019 /* end confdefs.h. */
2023 if ac_fn_c_try_compile "$LINENO"; then :
2024 ac_header_compiler=yes
2026 ac_header_compiler=no
2028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2030 $as_echo "$ac_header_compiler" >&6; }
2032 # Is the header present?
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2034 $as_echo_n "checking $2 presence... " >&6; }
2035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2039 if ac_fn_c_try_cpp "$LINENO"; then :
2040 ac_header_preproc=yes
2042 ac_header_preproc=no
2044 rm -f conftest.err conftest.i conftest.$ac_ext
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2046 $as_echo "$ac_header_preproc" >&6; }
2048 # So? What about this header?
2049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2052 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2054 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2058 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2060 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2062 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2064 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2066 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2067 ( $as_echo "## -------------------------------------------------------------------- ##
2068 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=pango ##
2069 ## -------------------------------------------------------------------- ##"
2070 ) | sed "s/^/$as_me: WARNING: /" >&2
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2074 $as_echo_n "checking for $2... " >&6; }
2075 if eval \${$3+:} false; then :
2076 $as_echo_n "(cached) " >&6
2078 eval "$3=\$ac_header_compiler"
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2082 $as_echo "$ac_res" >&6; }
2084 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2086 } # ac_fn_c_check_header_mongrel
2088 # ac_fn_c_try_run LINENO
2089 # ----------------------
2090 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2091 # that executables *can* be run.
2094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2095 if { { ac_try="$ac_link"
2097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2098 *) ac_try_echo=$ac_try;;
2100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2101 $as_echo "$ac_try_echo"; } >&5
2102 (eval "$ac_link") 2>&5
2104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2105 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2106 { { case "(($ac_try" in
2107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2108 *) ac_try_echo=$ac_try;;
2110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2111 $as_echo "$ac_try_echo"; } >&5
2112 (eval "$ac_try") 2>&5
2114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2115 test $ac_status = 0; }; }; then :
2118 $as_echo "$as_me: program exited with status $ac_status" >&5
2119 $as_echo "$as_me: failed program was:" >&5
2120 sed 's/^/| /' conftest.$ac_ext >&5
2122 ac_retval=$ac_status
2124 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2125 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2126 as_fn_set_status $ac_retval
2130 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2131 # -------------------------------------------------------
2132 # Tests whether HEADER exists and can be compiled using the include files in
2133 # INCLUDES, setting the cache variable VAR accordingly.
2134 ac_fn_c_check_header_compile ()
2136 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2138 $as_echo_n "checking for $2... " >&6; }
2139 if eval \${$3+:} false; then :
2140 $as_echo_n "(cached) " >&6
2142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2143 /* end confdefs.h. */
2147 if ac_fn_c_try_compile "$LINENO"; then :
2152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2156 $as_echo "$ac_res" >&6; }
2157 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2159 } # ac_fn_c_check_header_compile
2161 # ac_fn_cxx_try_cpp LINENO
2162 # ------------------------
2163 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2164 ac_fn_cxx_try_cpp ()
2166 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2167 if { { ac_try="$ac_cpp conftest.$ac_ext"
2169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2170 *) ac_try_echo=$ac_try;;
2172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2173 $as_echo "$ac_try_echo"; } >&5
2174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2176 if test -s conftest.err; then
2177 grep -v '^ *+' conftest.err >conftest.er1
2178 cat conftest.er1 >&5
2179 mv -f conftest.er1 conftest.err
2181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2182 test $ac_status = 0; } > conftest.i && {
2183 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2184 test ! -s conftest.err
2188 $as_echo "$as_me: failed program was:" >&5
2189 sed 's/^/| /' conftest.$ac_ext >&5
2193 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2194 as_fn_set_status $ac_retval
2196 } # ac_fn_cxx_try_cpp
2198 # ac_fn_cxx_try_link LINENO
2199 # -------------------------
2200 # Try to link conftest.$ac_ext, and return whether this succeeded.
2201 ac_fn_cxx_try_link ()
2203 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2204 rm -f conftest.$ac_objext conftest$ac_exeext
2205 if { { ac_try="$ac_link"
2207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2208 *) ac_try_echo=$ac_try;;
2210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2211 $as_echo "$ac_try_echo"; } >&5
2212 (eval "$ac_link") 2>conftest.err
2214 if test -s conftest.err; then
2215 grep -v '^ *+' conftest.err >conftest.er1
2216 cat conftest.er1 >&5
2217 mv -f conftest.er1 conftest.err
2219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2220 test $ac_status = 0; } && {
2221 test -z "$ac_cxx_werror_flag" ||
2222 test ! -s conftest.err
2223 } && test -s conftest$ac_exeext && {
2224 test "$cross_compiling" = yes ||
2225 $as_test_x conftest$ac_exeext
2229 $as_echo "$as_me: failed program was:" >&5
2230 sed 's/^/| /' conftest.$ac_ext >&5
2234 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2235 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2236 # interfere with the next link command; also delete a directory that is
2237 # left behind by Apple's compiler. We do this before executing the actions.
2238 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2239 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2240 as_fn_set_status $ac_retval
2242 } # ac_fn_cxx_try_link
2243 cat >config.log <<_ACEOF
2244 This file contains any messages produced by compilers while
2245 running configure, to aid debugging if configure makes a mistake.
2247 It was created by pango $as_me 1.30.0, which was
2248 generated by GNU Autoconf 2.68. Invocation command line was
2260 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2261 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2262 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2263 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2264 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2266 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2267 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2269 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2270 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2271 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2272 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2273 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2274 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2275 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2283 test -z "$as_dir" && as_dir=.
2284 $as_echo "PATH: $as_dir"
2300 # Keep a trace of the command line.
2301 # Strip out --no-create and --no-recursion so they do not pile up.
2302 # Strip out --silent because we don't want to record it for future runs.
2303 # Also quote any args containing shell meta-characters.
2304 # Make two passes to allow for proper duplicate-argument suppression.
2308 ac_must_keep_next=false
2314 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2315 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2316 | -silent | --silent | --silen | --sile | --sil)
2319 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2322 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2324 as_fn_append ac_configure_args1 " '$ac_arg'"
2325 if test $ac_must_keep_next = true; then
2326 ac_must_keep_next=false # Got value, back to normal.
2329 *=* | --config-cache | -C | -disable-* | --disable-* \
2330 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2331 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2332 | -with-* | --with-* | -without-* | --without-* | --x)
2333 case "$ac_configure_args0 " in
2334 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2337 -* ) ac_must_keep_next=true ;;
2340 as_fn_append ac_configure_args " '$ac_arg'"
2345 { ac_configure_args0=; unset ac_configure_args0;}
2346 { ac_configure_args1=; unset ac_configure_args1;}
2348 # When interrupted or exit'd, cleanup temporary files, and complete
2349 # config.log. We remove comments because anyway the quotes in there
2350 # would cause problems or look ugly.
2351 # WARNING: Use '\'' to represent an apostrophe within the trap.
2352 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2353 trap 'exit_status=$?
2354 # Save into config.log some information that might help in debugging.
2358 $as_echo "## ---------------- ##
2359 ## Cache variables. ##
2360 ## ---------------- ##"
2362 # The following way of writing the cache mishandles newlines in values,
2364 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2365 eval ac_val=\$$ac_var
2369 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2370 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2373 _ | IFS | as_nl) ;; #(
2374 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2375 *) { eval $ac_var=; unset $ac_var;} ;;
2380 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2381 *${as_nl}ac_space=\ *)
2383 "s/'\''/'\''\\\\'\'''\''/g;
2384 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2387 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2394 $as_echo "## ----------------- ##
2395 ## Output variables. ##
2396 ## ----------------- ##"
2398 for ac_var in $ac_subst_vars
2400 eval ac_val=\$$ac_var
2402 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2404 $as_echo "$ac_var='\''$ac_val'\''"
2408 if test -n "$ac_subst_files"; then
2409 $as_echo "## ------------------- ##
2410 ## File substitutions. ##
2411 ## ------------------- ##"
2413 for ac_var in $ac_subst_files
2415 eval ac_val=\$$ac_var
2417 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2419 $as_echo "$ac_var='\''$ac_val'\''"
2424 if test -s confdefs.h; then
2425 $as_echo "## ----------- ##
2432 test "$ac_signal" != 0 &&
2433 $as_echo "$as_me: caught signal $ac_signal"
2434 $as_echo "$as_me: exit $exit_status"
2436 rm -f core *.core core.conftest.* &&
2437 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2440 for ac_signal in 1 2 13 15; do
2441 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2445 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2446 rm -f -r conftest* confdefs.h
2448 $as_echo "/* confdefs.h */" > confdefs.h
2450 # Predefined preprocessor variables.
2452 cat >>confdefs.h <<_ACEOF
2453 #define PACKAGE_NAME "$PACKAGE_NAME"
2456 cat >>confdefs.h <<_ACEOF
2457 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2460 cat >>confdefs.h <<_ACEOF
2461 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2464 cat >>confdefs.h <<_ACEOF
2465 #define PACKAGE_STRING "$PACKAGE_STRING"
2468 cat >>confdefs.h <<_ACEOF
2469 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE_URL "$PACKAGE_URL"
2477 # Let the site file select an alternate cache file if it wants to.
2478 # Prefer an explicitly selected file to automatically selected ones.
2481 if test -n "$CONFIG_SITE"; then
2482 # We do not want a PATH search for config.site.
2483 case $CONFIG_SITE in #((
2484 -*) ac_site_file1=./$CONFIG_SITE;;
2485 */*) ac_site_file1=$CONFIG_SITE;;
2486 *) ac_site_file1=./$CONFIG_SITE;;
2488 elif test "x$prefix" != xNONE; then
2489 ac_site_file1=$prefix/share/config.site
2490 ac_site_file2=$prefix/etc/config.site
2492 ac_site_file1=$ac_default_prefix/share/config.site
2493 ac_site_file2=$ac_default_prefix/etc/config.site
2495 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2497 test "x$ac_site_file" = xNONE && continue
2498 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2500 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2501 sed 's/^/| /' "$ac_site_file" >&5
2503 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2505 as_fn_error $? "failed to load site script $ac_site_file
2506 See \`config.log' for more details" "$LINENO" 5; }
2510 if test -r "$cache_file"; then
2511 # Some versions of bash will fail to source /dev/null (special files
2512 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2513 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2515 $as_echo "$as_me: loading cache $cache_file" >&6;}
2517 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2518 *) . "./$cache_file";;
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2523 $as_echo "$as_me: creating cache $cache_file" >&6;}
2527 # Check that the precious variables saved in the cache have kept the same
2529 ac_cache_corrupted=false
2530 for ac_var in $ac_precious_vars; do
2531 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2532 eval ac_new_set=\$ac_env_${ac_var}_set
2533 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2534 eval ac_new_val=\$ac_env_${ac_var}_value
2535 case $ac_old_set,$ac_new_set in
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2538 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2539 ac_cache_corrupted=: ;;
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2542 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2543 ac_cache_corrupted=: ;;
2546 if test "x$ac_old_val" != "x$ac_new_val"; then
2547 # differences in whitespace do not lead to failure.
2548 ac_old_val_w=`echo x $ac_old_val`
2549 ac_new_val_w=`echo x $ac_new_val`
2550 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2552 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2553 ac_cache_corrupted=:
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2556 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2557 eval $ac_var=\$ac_old_val
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2560 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2562 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2565 # Pass precious variables to config.status.
2566 if test "$ac_new_set" = set; then
2568 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2569 *) ac_arg=$ac_var=$ac_new_val ;;
2571 case " $ac_configure_args " in
2572 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2573 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2577 if $ac_cache_corrupted; then
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2581 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2582 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2584 ## -------------------- ##
2585 ## Main body of script. ##
2586 ## -------------------- ##
2589 ac_cpp='$CPP $CPPFLAGS'
2590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2598 am__api_version='1.11'
2601 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2602 if test -f "$ac_dir/install-sh"; then
2604 ac_install_sh="$ac_aux_dir/install-sh -c"
2606 elif test -f "$ac_dir/install.sh"; then
2608 ac_install_sh="$ac_aux_dir/install.sh -c"
2610 elif test -f "$ac_dir/shtool"; then
2612 ac_install_sh="$ac_aux_dir/shtool install -c"
2616 if test -z "$ac_aux_dir"; then
2617 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2620 # These three variables are undocumented and unsupported,
2621 # and are intended to be withdrawn in a future Autoconf release.
2622 # They can cause serious problems if a builder's source tree is in a directory
2623 # whose full name contains unusual characters.
2624 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2625 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2626 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2629 # Find a good install program. We prefer a C program (faster),
2630 # so one script is as good as another. But avoid the broken or
2631 # incompatible versions:
2632 # SysV /etc/install, /usr/sbin/install
2633 # SunOS /usr/etc/install
2634 # IRIX /sbin/install
2636 # AmigaOS /C/install, which installs bootblocks on floppy discs
2637 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2638 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2639 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2640 # OS/2's system install, which has a completely different semantic
2641 # ./install, which can be erroneously created by make from ./install.sh.
2642 # Reject install programs that cannot install multiple files.
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2644 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2645 if test -z "$INSTALL"; then
2646 if ${ac_cv_path_install+:} false; then :
2647 $as_echo_n "(cached) " >&6
2649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653 test -z "$as_dir" && as_dir=.
2654 # Account for people who put trailing slashes in PATH elements.
2655 case $as_dir/ in #((
2656 ./ | .// | /[cC]/* | \
2657 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2658 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2661 # OSF1 and SCO ODT 3.0 have their own names for install.
2662 # Don't use installbsd from OSF since it installs stuff as root
2664 for ac_prog in ginstall scoinst install; do
2665 for ac_exec_ext in '' $ac_executable_extensions; do
2666 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2667 if test $ac_prog = install &&
2668 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2669 # AIX install. It has an incompatible calling convention.
2671 elif test $ac_prog = install &&
2672 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2673 # program-specific install script used by HP pwplus--don't use.
2676 rm -rf conftest.one conftest.two conftest.dir
2677 echo one > conftest.one
2678 echo two > conftest.two
2680 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2681 test -s conftest.one && test -s conftest.two &&
2682 test -s conftest.dir/conftest.one &&
2683 test -s conftest.dir/conftest.two
2685 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2698 rm -rf conftest.one conftest.two conftest.dir
2701 if test "${ac_cv_path_install+set}" = set; then
2702 INSTALL=$ac_cv_path_install
2704 # As a last resort, use the slow shell script. Don't cache a
2705 # value for INSTALL within a source directory, because that will
2706 # break other packages using the cache if that directory is
2707 # removed, or if the value is a relative name.
2708 INSTALL=$ac_install_sh
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2712 $as_echo "$INSTALL" >&6; }
2714 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2715 # It thinks the first close brace ends the variable substitution.
2716 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2718 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2720 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2723 $as_echo_n "checking whether build environment is sane... " >&6; }
2726 echo timestamp > conftest.file
2727 # Reject unsafe characters in $srcdir or the absolute working directory
2728 # name. Accept space and tab only in the latter.
2732 *[\\\"\#\$\&\'\`$am_lf]*)
2733 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2736 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2737 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2740 # Do `set' in a subshell so we don't clobber the current shell's
2741 # arguments. Must try -L first in case configure is actually a
2742 # symlink; some systems play weird games with the mod time of symlinks
2743 # (eg FreeBSD returns the mod time of the symlink's containing
2746 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2747 if test "$*" = "X"; then
2749 set X `ls -t "$srcdir/configure" conftest.file`
2752 if test "$*" != "X $srcdir/configure conftest.file" \
2753 && test "$*" != "X conftest.file $srcdir/configure"; then
2755 # If neither matched, then we have a broken ls. This can happen
2756 # if, for instance, CONFIG_SHELL is bash and it inherits a
2757 # broken ls alias from the environment. This has actually
2758 # happened. Such a system could not be considered "sane".
2759 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2760 alias in your environment" "$LINENO" 5
2763 test "$2" = conftest.file
2769 as_fn_error $? "newly created file is older than distributed files!
2770 Check your system clock" "$LINENO" 5
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2773 $as_echo "yes" >&6; }
2774 test "$program_prefix" != NONE &&
2775 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2776 # Use a double $ so make ignores it.
2777 test "$program_suffix" != NONE &&
2778 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2779 # Double any \ or $.
2780 # By default was `s,x,x', remove it if useless.
2781 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2782 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2784 # expand $ac_aux_dir to an absolute path
2785 am_aux_dir=`cd $ac_aux_dir && pwd`
2787 if test x"${MISSING+set}" != xset; then
2790 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2792 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2795 # Use eval to expand $SHELL
2796 if eval "$MISSING --run true"; then
2797 am_missing_run="$MISSING --run "
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2801 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2804 if test x"${install_sh}" != xset; then
2807 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2809 install_sh="\${SHELL} $am_aux_dir/install-sh"
2813 # Installed binaries are usually stripped using `strip' when the user
2814 # run `make install-strip'. However `strip' might not be the right
2815 # tool to use in cross-compilation environments, therefore Automake
2816 # will honor the `STRIP' environment variable to overrule this program.
2817 if test "$cross_compiling" != no; then
2818 if test -n "$ac_tool_prefix"; then
2819 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2820 set dummy ${ac_tool_prefix}strip; ac_word=$2
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2822 $as_echo_n "checking for $ac_word... " >&6; }
2823 if ${ac_cv_prog_STRIP+:} false; then :
2824 $as_echo_n "(cached) " >&6
2826 if test -n "$STRIP"; then
2827 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833 test -z "$as_dir" && as_dir=.
2834 for ac_exec_ext in '' $ac_executable_extensions; do
2835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2836 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2846 STRIP=$ac_cv_prog_STRIP
2847 if test -n "$STRIP"; then
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2849 $as_echo "$STRIP" >&6; }
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2852 $as_echo "no" >&6; }
2857 if test -z "$ac_cv_prog_STRIP"; then
2859 # Extract the first word of "strip", so it can be a program name with args.
2860 set dummy strip; ac_word=$2
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2862 $as_echo_n "checking for $ac_word... " >&6; }
2863 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2864 $as_echo_n "(cached) " >&6
2866 if test -n "$ac_ct_STRIP"; then
2867 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2873 test -z "$as_dir" && as_dir=.
2874 for ac_exec_ext in '' $ac_executable_extensions; do
2875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2876 ac_cv_prog_ac_ct_STRIP="strip"
2877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2886 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2887 if test -n "$ac_ct_STRIP"; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2889 $as_echo "$ac_ct_STRIP" >&6; }
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892 $as_echo "no" >&6; }
2895 if test "x$ac_ct_STRIP" = x; then
2898 case $cross_compiling:$ac_tool_warned in
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2902 ac_tool_warned=yes ;;
2907 STRIP="$ac_cv_prog_STRIP"
2911 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2914 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2915 if test -z "$MKDIR_P"; then
2916 if ${ac_cv_path_mkdir+:} false; then :
2917 $as_echo_n "(cached) " >&6
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2923 test -z "$as_dir" && as_dir=.
2924 for ac_prog in mkdir gmkdir; do
2925 for ac_exec_ext in '' $ac_executable_extensions; do
2926 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2927 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2928 'mkdir (GNU coreutils) '* | \
2929 'mkdir (coreutils) '* | \
2930 'mkdir (fileutils) '4.1*)
2931 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2941 test -d ./--version && rmdir ./--version
2942 if test "${ac_cv_path_mkdir+set}" = set; then
2943 MKDIR_P="$ac_cv_path_mkdir -p"
2945 # As a last resort, use the slow shell script. Don't cache a
2946 # value for MKDIR_P within a source directory, because that will
2947 # break other packages using the cache if that directory is
2948 # removed, or if the value is a relative name.
2949 MKDIR_P="$ac_install_sh -d"
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2953 $as_echo "$MKDIR_P" >&6; }
2957 [\\/$]* | ?:[\\/]*) ;;
2958 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2961 for ac_prog in gawk mawk nawk awk
2963 # Extract the first word of "$ac_prog", so it can be a program name with args.
2964 set dummy $ac_prog; ac_word=$2
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2966 $as_echo_n "checking for $ac_word... " >&6; }
2967 if ${ac_cv_prog_AWK+:} false; then :
2968 $as_echo_n "(cached) " >&6
2970 if test -n "$AWK"; then
2971 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2977 test -z "$as_dir" && as_dir=.
2978 for ac_exec_ext in '' $ac_executable_extensions; do
2979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2980 ac_cv_prog_AWK="$ac_prog"
2981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2991 if test -n "$AWK"; then
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2993 $as_echo "$AWK" >&6; }
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2996 $as_echo "no" >&6; }
3000 test -n "$AWK" && break
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3004 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3006 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3007 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3008 $as_echo_n "(cached) " >&6
3010 cat >conftest.make <<\_ACEOF
3013 @echo '@@@%%%=$(MAKE)=@@@%%%'
3015 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3016 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3018 eval ac_cv_prog_make_${ac_make}_set=yes;;
3020 eval ac_cv_prog_make_${ac_make}_set=no;;
3024 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3026 $as_echo "yes" >&6; }
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3030 $as_echo "no" >&6; }
3031 SET_MAKE="MAKE=${MAKE-make}"
3034 rm -rf .tst 2>/dev/null
3035 mkdir .tst 2>/dev/null
3036 if test -d .tst; then
3041 rmdir .tst 2>/dev/null
3043 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3044 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3045 # is not polluted with repeated "-I."
3046 am__isrc=' -I$(srcdir)'
3047 # test to see if srcdir already configured
3048 if test -f $srcdir/config.status; then
3049 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3053 # test whether we have cygpath
3054 if test -z "$CYGPATH_W"; then
3055 if (cygpath --version) >/dev/null 2>/dev/null; then
3056 CYGPATH_W='cygpath -w'
3063 # Define the identity of the package.
3068 cat >>confdefs.h <<_ACEOF
3069 #define PACKAGE "$PACKAGE"
3073 cat >>confdefs.h <<_ACEOF
3074 #define VERSION "$VERSION"
3077 # Some tools Automake needs.
3079 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3082 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3085 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3088 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3091 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3093 # We need awk for the "check" target. The system "awk" is bad on
3095 # Always define AMTAR for backward compatibility. Yes, it's still used
3096 # in the wild :-( We should find a proper way to deprecate it ...
3099 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3105 # Check whether --enable-silent-rules was given.
3106 if test "${enable_silent_rules+set}" = set; then :
3107 enableval=$enable_silent_rules;
3110 case $enable_silent_rules in
3111 yes) AM_DEFAULT_VERBOSITY=0;;
3112 no) AM_DEFAULT_VERBOSITY=1;;
3113 *) AM_DEFAULT_VERBOSITY=0;;
3115 am_make=${MAKE-make}
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3117 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3118 if ${am_cv_make_support_nested_variables+:} false; then :
3119 $as_echo_n "(cached) " >&6
3121 if $as_echo 'TRUE=$(BAR$(V))
3127 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3128 am_cv_make_support_nested_variables=yes
3130 am_cv_make_support_nested_variables=no
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3134 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3135 if test $am_cv_make_support_nested_variables = yes; then
3137 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3139 AM_V=$AM_DEFAULT_VERBOSITY
3140 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3144 ac_config_headers="$ac_config_headers config.h"
3148 PANGO_VERSION_MAJOR=1
3149 PANGO_VERSION_MINOR=30
3150 PANGO_VERSION_MICRO=0
3151 PANGO_VERSION=1.30.0
3152 PANGO_API_VERSION=1.0
3153 PANGO_INTERFACE_AGE=0
3154 PANGO_BINARY_AGE=3000
3155 PANGO_MODULE_VERSION=1.6.0
3167 $as_echo "#define MODULE_VERSION \"1.6.0\"" >>confdefs.h
3170 $as_echo "#define PANGO_BINARY_AGE 3000" >>confdefs.h
3173 $as_echo "#define PANGO_INTERFACE_AGE 0" >>confdefs.h
3176 $as_echo "#define PANGO_VERSION_MAJOR 1" >>confdefs.h
3179 $as_echo "#define PANGO_VERSION_MINOR 30" >>confdefs.h
3182 $as_echo "#define PANGO_VERSION_MICRO 0" >>confdefs.h
3188 VERSION_INFO="3000:0:3000"
3189 PANGO_CURRENT_MINUS_AGE=0
3194 # Make sure we can run config.sub.
3195 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3196 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3199 $as_echo_n "checking build system type... " >&6; }
3200 if ${ac_cv_build+:} false; then :
3201 $as_echo_n "(cached) " >&6
3203 ac_build_alias=$build_alias
3204 test "x$ac_build_alias" = x &&
3205 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3206 test "x$ac_build_alias" = x &&
3207 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3208 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3209 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3213 $as_echo "$ac_cv_build" >&6; }
3214 case $ac_cv_build in
3216 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3219 ac_save_IFS=$IFS; IFS='-'
3225 # Remember, the first character of IFS is used to create $*,
3226 # except with old shells:
3229 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3233 $as_echo_n "checking host system type... " >&6; }
3234 if ${ac_cv_host+:} false; then :
3235 $as_echo_n "(cached) " >&6
3237 if test "x$host_alias" = x; then
3238 ac_cv_host=$ac_cv_build
3240 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3241 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3246 $as_echo "$ac_cv_host" >&6; }
3249 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3252 ac_save_IFS=$IFS; IFS='-'
3258 # Remember, the first character of IFS is used to create $*,
3259 # except with old shells:
3262 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
3267 $as_echo_n "checking for native Win32... " >&6; }
3273 LIB_EXE_MACHINE_FLAG=X64
3276 LIB_EXE_MACHINE_FLAG=X86
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pango_os_win32" >&5
3285 $as_echo "$pango_os_win32" >&6; }
3289 if test "$pango_os_win32" = "yes"; then
3299 ac_cpp='$CPP $CPPFLAGS'
3300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3303 if test -n "$ac_tool_prefix"; then
3304 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3305 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3307 $as_echo_n "checking for $ac_word... " >&6; }
3308 if ${ac_cv_prog_CC+:} false; then :
3309 $as_echo_n "(cached) " >&6
3311 if test -n "$CC"; then
3312 ac_cv_prog_CC="$CC" # Let the user override the test.
3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3318 test -z "$as_dir" && as_dir=.
3319 for ac_exec_ext in '' $ac_executable_extensions; do
3320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3321 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 if test -n "$CC"; then
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3334 $as_echo "$CC" >&6; }
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337 $as_echo "no" >&6; }
3342 if test -z "$ac_cv_prog_CC"; then
3344 # Extract the first word of "gcc", so it can be a program name with args.
3345 set dummy gcc; ac_word=$2
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347 $as_echo_n "checking for $ac_word... " >&6; }
3348 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3349 $as_echo_n "(cached) " >&6
3351 if test -n "$ac_ct_CC"; then
3352 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_ac_ct_CC="gcc"
3362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3372 if test -n "$ac_ct_CC"; then
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3374 $as_echo "$ac_ct_CC" >&6; }
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377 $as_echo "no" >&6; }
3380 if test "x$ac_ct_CC" = x; then
3383 case $cross_compiling:$ac_tool_warned in
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3387 ac_tool_warned=yes ;;
3395 if test -z "$CC"; then
3396 if test -n "$ac_tool_prefix"; then
3397 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3398 set dummy ${ac_tool_prefix}cc; ac_word=$2
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3400 $as_echo_n "checking for $ac_word... " >&6; }
3401 if ${ac_cv_prog_CC+:} false; then :
3402 $as_echo_n "(cached) " >&6
3404 if test -n "$CC"; then
3405 ac_cv_prog_CC="$CC" # Let the user override the test.
3407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3411 test -z "$as_dir" && as_dir=.
3412 for ac_exec_ext in '' $ac_executable_extensions; do
3413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3414 ac_cv_prog_CC="${ac_tool_prefix}cc"
3415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3425 if test -n "$CC"; then
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3427 $as_echo "$CC" >&6; }
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 $as_echo "no" >&6; }
3436 if test -z "$CC"; then
3437 # Extract the first word of "cc", so it can be a program name with args.
3438 set dummy cc; ac_word=$2
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3440 $as_echo_n "checking for $ac_word... " >&6; }
3441 if ${ac_cv_prog_CC+:} false; then :
3442 $as_echo_n "(cached) " >&6
3444 if test -n "$CC"; then
3445 ac_cv_prog_CC="$CC" # Let the user override the test.
3448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3452 test -z "$as_dir" && as_dir=.
3453 for ac_exec_ext in '' $ac_executable_extensions; do
3454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3455 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3456 ac_prog_rejected=yes
3460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3467 if test $ac_prog_rejected = yes; then
3468 # We found a bogon in the path, so make sure we never use it.
3469 set dummy $ac_cv_prog_CC
3471 if test $# != 0; then
3472 # We chose a different compiler from the bogus one.
3473 # However, it has the same basename, so the bogon will be chosen
3474 # first if we set CC to just the basename; use the full file name.
3476 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3482 if test -n "$CC"; then
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3484 $as_echo "$CC" >&6; }
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3487 $as_echo "no" >&6; }
3492 if test -z "$CC"; then
3493 if test -n "$ac_tool_prefix"; then
3494 for ac_prog in cl.exe
3496 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3497 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3499 $as_echo_n "checking for $ac_word... " >&6; }
3500 if ${ac_cv_prog_CC+:} false; then :
3501 $as_echo_n "(cached) " >&6
3503 if test -n "$CC"; then
3504 ac_cv_prog_CC="$CC" # Let the user override the test.
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3513 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3524 if test -n "$CC"; then
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3526 $as_echo "$CC" >&6; }
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3529 $as_echo "no" >&6; }
3533 test -n "$CC" && break
3536 if test -z "$CC"; then
3538 for ac_prog in cl.exe
3540 # Extract the first word of "$ac_prog", so it can be a program name with args.
3541 set dummy $ac_prog; ac_word=$2
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3543 $as_echo_n "checking for $ac_word... " >&6; }
3544 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3545 $as_echo_n "(cached) " >&6
3547 if test -n "$ac_ct_CC"; then
3548 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 test -z "$as_dir" && as_dir=.
3555 for ac_exec_ext in '' $ac_executable_extensions; do
3556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3557 ac_cv_prog_ac_ct_CC="$ac_prog"
3558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3567 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3568 if test -n "$ac_ct_CC"; then
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3570 $as_echo "$ac_ct_CC" >&6; }
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3577 test -n "$ac_ct_CC" && break
3580 if test "x$ac_ct_CC" = x; then
3583 case $cross_compiling:$ac_tool_warned in
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3587 ac_tool_warned=yes ;;
3596 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3598 as_fn_error $? "no acceptable C compiler found in \$PATH
3599 See \`config.log' for more details" "$LINENO" 5; }
3601 # Provide some information about the compiler.
3602 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3605 for ac_option in --version -v -V -qversion; do
3606 { { ac_try="$ac_compiler $ac_option >&5"
3608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609 *) ac_try_echo=$ac_try;;
3611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3612 $as_echo "$ac_try_echo"; } >&5
3613 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3615 if test -s conftest.err; then
3617 ... rest of stderr output deleted ...
3618 10q' conftest.err >conftest.er1
3619 cat conftest.er1 >&5
3621 rm -f conftest.er1 conftest.err
3622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3623 test $ac_status = 0; }
3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h. */
3637 ac_clean_files_save=$ac_clean_files
3638 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3639 # Try to create an executable without -o first, disregard a.out.
3640 # It will help us diagnose broken compilers, and finding out an intuition
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3643 $as_echo_n "checking whether the C compiler works... " >&6; }
3644 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3646 # The possible output files:
3647 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3650 for ac_file in $ac_files
3653 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3654 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3659 if { { ac_try="$ac_link_default"
3661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3662 *) ac_try_echo=$ac_try;;
3664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3665 $as_echo "$ac_try_echo"; } >&5
3666 (eval "$ac_link_default") 2>&5
3668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3669 test $ac_status = 0; }; then :
3670 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3671 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3672 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3673 # so that the user can short-circuit this test for compilers unknown to
3675 for ac_file in $ac_files ''
3677 test -f "$ac_file" || continue
3679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3682 # We found the default executable, but exeext='' is most
3686 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3688 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3690 # We set ac_cv_exeext here because the later test for it is not
3691 # safe: cross compilers may not add the suffix if given an `-o'
3692 # argument, so we may need to know it at that point already.
3693 # Even if this section looks crufty: it has the advantage of
3700 test "$ac_cv_exeext" = no && ac_cv_exeext=
3705 if test -z "$ac_file"; then :
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
3708 $as_echo "$as_me: failed program was:" >&5
3709 sed 's/^/| /' conftest.$ac_ext >&5
3711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3713 as_fn_error 77 "C compiler cannot create executables
3714 See \`config.log' for more details" "$LINENO" 5; }
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3717 $as_echo "yes" >&6; }
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3720 $as_echo_n "checking for C compiler default output file name... " >&6; }
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3722 $as_echo "$ac_file" >&6; }
3723 ac_exeext=$ac_cv_exeext
3725 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3726 ac_clean_files=$ac_clean_files_save
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3728 $as_echo_n "checking for suffix of executables... " >&6; }
3729 if { { ac_try="$ac_link"
3731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732 *) ac_try_echo=$ac_try;;
3734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3735 $as_echo "$ac_try_echo"; } >&5
3736 (eval "$ac_link") 2>&5
3738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3739 test $ac_status = 0; }; then :
3740 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3741 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3742 # work properly (i.e., refer to `conftest.exe'), while it won't with
3744 for ac_file in conftest.exe conftest conftest.*; do
3745 test -f "$ac_file" || continue
3747 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3748 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3754 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3756 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3757 See \`config.log' for more details" "$LINENO" 5; }
3759 rm -f conftest conftest$ac_cv_exeext
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3761 $as_echo "$ac_cv_exeext" >&6; }
3763 rm -f conftest.$ac_ext
3764 EXEEXT=$ac_cv_exeext
3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3772 FILE *f = fopen ("conftest.out", "w");
3773 return ferror (f) || fclose (f) != 0;
3779 ac_clean_files="$ac_clean_files conftest.out"
3780 # Check that the compiler produces executables we can run. If not, either
3781 # the compiler is broken, or we cross compile.
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3783 $as_echo_n "checking whether we are cross compiling... " >&6; }
3784 if test "$cross_compiling" != yes; then
3785 { { ac_try="$ac_link"
3787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788 *) ac_try_echo=$ac_try;;
3790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3791 $as_echo "$ac_try_echo"; } >&5
3792 (eval "$ac_link") 2>&5
3794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3795 test $ac_status = 0; }
3796 if { ac_try='./conftest$ac_cv_exeext'
3797 { { case "(($ac_try" in
3798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3799 *) ac_try_echo=$ac_try;;
3801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3802 $as_echo "$ac_try_echo"; } >&5
3803 (eval "$ac_try") 2>&5
3805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3806 test $ac_status = 0; }; }; then
3809 if test "$cross_compiling" = maybe; then
3812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3814 as_fn_error $? "cannot run C compiled programs.
3815 If you meant to cross compile, use \`--host'.
3816 See \`config.log' for more details" "$LINENO" 5; }
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3821 $as_echo "$cross_compiling" >&6; }
3823 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3824 ac_clean_files=$ac_clean_files_save
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3826 $as_echo_n "checking for suffix of object files... " >&6; }
3827 if ${ac_cv_objext+:} false; then :
3828 $as_echo_n "(cached) " >&6
3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3831 /* end confdefs.h. */
3841 rm -f conftest.o conftest.obj
3842 if { { ac_try="$ac_compile"
3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849 (eval "$ac_compile") 2>&5
3851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3852 test $ac_status = 0; }; then :
3853 for ac_file in conftest.o conftest.obj conftest.*; do
3854 test -f "$ac_file" || continue;
3856 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3857 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3862 $as_echo "$as_me: failed program was:" >&5
3863 sed 's/^/| /' conftest.$ac_ext >&5
3865 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3867 as_fn_error $? "cannot compute suffix of object files: cannot compile
3868 See \`config.log' for more details" "$LINENO" 5; }
3870 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3873 $as_echo "$ac_cv_objext" >&6; }
3874 OBJEXT=$ac_cv_objext
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3877 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3878 if ${ac_cv_c_compiler_gnu+:} false; then :
3879 $as_echo_n "(cached) " >&6
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3895 if ac_fn_c_try_compile "$LINENO"; then :
3900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3901 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3905 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3906 if test $ac_compiler_gnu = yes; then
3911 ac_test_CFLAGS=${CFLAGS+set}
3912 ac_save_CFLAGS=$CFLAGS
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3914 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3915 if ${ac_cv_prog_cc_g+:} false; then :
3916 $as_echo_n "(cached) " >&6
3918 ac_save_c_werror_flag=$ac_c_werror_flag
3919 ac_c_werror_flag=yes
3922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3933 if ac_fn_c_try_compile "$LINENO"; then :
3937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h. */
3948 if ac_fn_c_try_compile "$LINENO"; then :
3951 ac_c_werror_flag=$ac_save_c_werror_flag
3953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3964 if ac_fn_c_try_compile "$LINENO"; then :
3967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3972 ac_c_werror_flag=$ac_save_c_werror_flag
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3975 $as_echo "$ac_cv_prog_cc_g" >&6; }
3976 if test "$ac_test_CFLAGS" = set; then
3977 CFLAGS=$ac_save_CFLAGS
3978 elif test $ac_cv_prog_cc_g = yes; then
3979 if test "$GCC" = yes; then
3985 if test "$GCC" = yes; then
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3992 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3993 if ${ac_cv_prog_cc_c89+:} false; then :
3994 $as_echo_n "(cached) " >&6
3996 ac_cv_prog_cc_c89=no
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4002 #include <sys/types.h>
4003 #include <sys/stat.h>
4004 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4005 struct buf { int x; };
4006 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4007 static char *e (p, i)
4013 static char *f (char * (*g) (char **, int), char **p, ...)
4018 s = g (p, va_arg (v,int));
4023 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4024 function prototypes and stuff, but not '\xHH' hex character constants.
4025 These don't provoke an error unfortunately, instead are silently treated
4026 as 'x'. The following induces an error, until -std is added to get
4027 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4028 array size at least. It's necessary to write '\x00'==0 to get something
4029 that's true only with -std. */
4030 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4032 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4033 inside strings and character constants. */
4035 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4037 int test (int i, double x);
4038 struct s1 {int (*f) (int a);};
4039 struct s2 {int (*f) (double a);};
4040 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4046 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4051 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4052 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4054 CC="$ac_save_CC $ac_arg"
4055 if ac_fn_c_try_compile "$LINENO"; then :
4056 ac_cv_prog_cc_c89=$ac_arg
4058 rm -f core conftest.err conftest.$ac_objext
4059 test "x$ac_cv_prog_cc_c89" != "xno" && break
4061 rm -f conftest.$ac_ext
4066 case "x$ac_cv_prog_cc_c89" in
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4069 $as_echo "none needed" >&6; } ;;
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4072 $as_echo "unsupported" >&6; } ;;
4074 CC="$CC $ac_cv_prog_cc_c89"
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4076 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4078 if test "x$ac_cv_prog_cc_c89" != xno; then :
4083 ac_cpp='$CPP $CPPFLAGS'
4084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4087 DEPDIR="${am__leading_dot}deps"
4089 ac_config_commands="$ac_config_commands depfiles"
4092 am_make=${MAKE-make}
4093 cat > confinc << 'END'
4095 @echo this is the am__doit target
4098 # If we don't find an include directive, just comment out the code.
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4100 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4104 # First try GNU make style include.
4105 echo "include confinc" > confmf
4106 # Ignore all kinds of additional output from `make'.
4107 case `$am_make -s -f confmf 2> /dev/null` in #(
4108 *the\ am__doit\ target*)
4114 # Now try BSD make style include.
4115 if test "$am__include" = "#"; then
4116 echo '.include "confinc"' > confmf
4117 case `$am_make -s -f confmf 2> /dev/null` in #(
4118 *the\ am__doit\ target*)
4119 am__include=.include
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4128 $as_echo "$_am_result" >&6; }
4129 rm -f confinc confmf
4131 # Check whether --enable-dependency-tracking was given.
4132 if test "${enable_dependency_tracking+set}" = set; then :
4133 enableval=$enable_dependency_tracking;
4136 if test "x$enable_dependency_tracking" != xno; then
4137 am_depcomp="$ac_aux_dir/depcomp"
4141 if test "x$enable_dependency_tracking" != xno; then
4151 depcc="$CC" am_compiler_list=
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4154 $as_echo_n "checking dependency style of $depcc... " >&6; }
4155 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4156 $as_echo_n "(cached) " >&6
4158 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4159 # We make a subdir and do the tests there. Otherwise we can end up
4160 # making bogus files that we don't know about and never remove. For
4161 # instance it was reported that on HP-UX the gcc test will end up
4162 # making a dummy file named `D' -- because `-MD' means `put the output
4166 # Copy depcomp to subdir because otherwise we won't find it if we're
4167 # using a relative directory.
4168 cp "$am_depcomp" conftest.dir
4170 # We will build objects and dependencies in a subdirectory because
4171 # it helps to detect inapplicable dependency modes. For instance
4172 # both Tru64's cc and ICC support -MD to output dependencies as a
4173 # side effect of compilation, but ICC will put the dependencies in
4174 # the current directory while Tru64 will put them in the object
4178 am_cv_CC_dependencies_compiler_type=none
4179 if test "$am_compiler_list" = ""; then
4180 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4183 case " $depcc " in #(
4184 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4187 for depmode in $am_compiler_list; do
4188 # Setup a source with many dependencies, because some compilers
4189 # like to wrap large dependency lists on column 80 (with \), and
4190 # we should not choose a depcomp mode which is confused by this.
4192 # We need to recreate these files for each test, as the compiler may
4193 # overwrite some of them when testing with obscure command lines.
4194 # This happens at least with the AIX C compiler.
4196 for i in 1 2 3 4 5 6; do
4197 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4198 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4199 # Solaris 8's {/usr,}/bin/sh.
4200 touch sub/conftst$i.h
4202 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4204 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4205 # mode. It turns out that the SunPro C++ compiler does not properly
4206 # handle `-M -o', and we need to detect this. Also, some Intel
4207 # versions had trouble with output in subdirs
4208 am__obj=sub/conftest.${OBJEXT-o}
4209 am__minus_obj="-o $am__obj"
4212 # This depmode causes a compiler race in universal mode.
4213 test "$am__universal" = false || continue
4216 # after this tag, mechanisms are not by side-effect, so they'll
4217 # only be used when explicitly requested
4218 if test "x$enable_dependency_tracking" = xyes; then
4224 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4225 # This compiler won't grok `-c -o', but also, the minuso test has
4226 # not run yet. These depmodes are late enough in the game, and
4227 # so weak that their functioning should not be impacted.
4228 am__obj=conftest.${OBJEXT-o}
4233 if depmode=$depmode \
4234 source=sub/conftest.c object=$am__obj \
4235 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4236 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4237 >/dev/null 2>conftest.err &&
4238 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4239 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4240 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4241 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4242 # icc doesn't choke on unknown options, it will just issue warnings
4243 # or remarks (even with -Werror). So we grep stderr for any message
4244 # that says an option was ignored or not supported.
4245 # When given -MP, icc 7.0 and 7.1 complain thusly:
4246 # icc: Command line warning: ignoring option '-M'; no argument required
4247 # The diagnosis changed in icc 8.0:
4248 # icc: Command line remark: option '-MP' not supported
4249 if (grep 'ignoring option' conftest.err ||
4250 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4251 am_cv_CC_dependencies_compiler_type=$depmode
4260 am_cv_CC_dependencies_compiler_type=none
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4265 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4266 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4269 test "x$enable_dependency_tracking" != xno \
4270 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4272 am__fastdepCC_FALSE='#'
4274 am__fastdepCC_TRUE='#'
4275 am__fastdepCC_FALSE=
4280 if test -n "$ac_tool_prefix"; then
4281 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
4283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4284 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4286 $as_echo_n "checking for $ac_word... " >&6; }
4287 if ${ac_cv_prog_CXX+:} false; then :
4288 $as_echo_n "(cached) " >&6
4290 if test -n "$CXX"; then
4291 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4297 test -z "$as_dir" && as_dir=.
4298 for ac_exec_ext in '' $ac_executable_extensions; do
4299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4300 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4311 if test -n "$CXX"; then
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4313 $as_echo "$CXX" >&6; }
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4316 $as_echo "no" >&6; }
4320 test -n "$CXX" && break
4323 if test -z "$CXX"; then
4325 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
4327 # Extract the first word of "$ac_prog", so it can be a program name with args.
4328 set dummy $ac_prog; ac_word=$2
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4330 $as_echo_n "checking for $ac_word... " >&6; }
4331 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4332 $as_echo_n "(cached) " >&6
4334 if test -n "$ac_ct_CXX"; then
4335 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4341 test -z "$as_dir" && as_dir=.
4342 for ac_exec_ext in '' $ac_executable_extensions; do
4343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4344 ac_cv_prog_ac_ct_CXX="$ac_prog"
4345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4354 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4355 if test -n "$ac_ct_CXX"; then
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4357 $as_echo "$ac_ct_CXX" >&6; }
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4360 $as_echo "no" >&6; }
4364 test -n "$ac_ct_CXX" && break
4367 if test "x$ac_ct_CXX" = x; then
4370 case $cross_compiling:$ac_tool_warned in
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4374 ac_tool_warned=yes ;;
4382 ac_cpp='$CXXCPP $CPPFLAGS'
4383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4388 ac_cpp='$CXXCPP $CPPFLAGS'
4389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4392 if test -z "$CXX"; then
4393 if test -n "$CCC"; then
4396 if test -n "$ac_tool_prefix"; then
4397 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4399 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4400 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if ${ac_cv_prog_CXX+:} false; then :
4404 $as_echo_n "(cached) " >&6
4406 if test -n "$CXX"; then
4407 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413 test -z "$as_dir" && as_dir=.
4414 for ac_exec_ext in '' $ac_executable_extensions; do
4415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4416 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 if test -n "$CXX"; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4429 $as_echo "$CXX" >&6; }
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4436 test -n "$CXX" && break
4439 if test -z "$CXX"; then
4441 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4443 # Extract the first word of "$ac_prog", so it can be a program name with args.
4444 set dummy $ac_prog; ac_word=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4448 $as_echo_n "(cached) " >&6
4450 if test -n "$ac_ct_CXX"; then
4451 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457 test -z "$as_dir" && as_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4460 ac_cv_prog_ac_ct_CXX="$ac_prog"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4470 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4471 if test -n "$ac_ct_CXX"; then
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4473 $as_echo "$ac_ct_CXX" >&6; }
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4480 test -n "$ac_ct_CXX" && break
4483 if test "x$ac_ct_CXX" = x; then
4486 case $cross_compiling:$ac_tool_warned in
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4490 ac_tool_warned=yes ;;
4498 # Provide some information about the compiler.
4499 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4502 for ac_option in --version -v -V -qversion; do
4503 { { ac_try="$ac_compiler $ac_option >&5"
4505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4506 *) ac_try_echo=$ac_try;;
4508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4509 $as_echo "$ac_try_echo"; } >&5
4510 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4512 if test -s conftest.err; then
4514 ... rest of stderr output deleted ...
4515 10q' conftest.err >conftest.er1
4516 cat conftest.er1 >&5
4518 rm -f conftest.er1 conftest.err
4519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4520 test $ac_status = 0; }
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4524 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4525 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4526 $as_echo_n "(cached) " >&6
4528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4542 if ac_fn_cxx_try_compile "$LINENO"; then :
4547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4548 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4552 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4553 if test $ac_compiler_gnu = yes; then
4558 ac_test_CXXFLAGS=${CXXFLAGS+set}
4559 ac_save_CXXFLAGS=$CXXFLAGS
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4561 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4562 if ${ac_cv_prog_cxx_g+:} false; then :
4563 $as_echo_n "(cached) " >&6
4565 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4566 ac_cxx_werror_flag=yes
4569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4570 /* end confdefs.h. */
4580 if ac_fn_cxx_try_compile "$LINENO"; then :
4581 ac_cv_prog_cxx_g=yes
4584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4595 if ac_fn_cxx_try_compile "$LINENO"; then :
4598 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4601 /* end confdefs.h. */
4611 if ac_fn_cxx_try_compile "$LINENO"; then :
4612 ac_cv_prog_cxx_g=yes
4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4619 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4622 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4623 if test "$ac_test_CXXFLAGS" = set; then
4624 CXXFLAGS=$ac_save_CXXFLAGS
4625 elif test $ac_cv_prog_cxx_g = yes; then
4626 if test "$GXX" = yes; then
4632 if test "$GXX" = yes; then
4639 ac_cpp='$CXXCPP $CPPFLAGS'
4640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4644 depcc="$CXX" am_compiler_list=
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4647 $as_echo_n "checking dependency style of $depcc... " >&6; }
4648 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4649 $as_echo_n "(cached) " >&6
4651 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4652 # We make a subdir and do the tests there. Otherwise we can end up
4653 # making bogus files that we don't know about and never remove. For
4654 # instance it was reported that on HP-UX the gcc test will end up
4655 # making a dummy file named `D' -- because `-MD' means `put the output
4659 # Copy depcomp to subdir because otherwise we won't find it if we're
4660 # using a relative directory.
4661 cp "$am_depcomp" conftest.dir
4663 # We will build objects and dependencies in a subdirectory because
4664 # it helps to detect inapplicable dependency modes. For instance
4665 # both Tru64's cc and ICC support -MD to output dependencies as a
4666 # side effect of compilation, but ICC will put the dependencies in
4667 # the current directory while Tru64 will put them in the object
4671 am_cv_CXX_dependencies_compiler_type=none
4672 if test "$am_compiler_list" = ""; then
4673 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4676 case " $depcc " in #(
4677 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4680 for depmode in $am_compiler_list; do
4681 # Setup a source with many dependencies, because some compilers
4682 # like to wrap large dependency lists on column 80 (with \), and
4683 # we should not choose a depcomp mode which is confused by this.
4685 # We need to recreate these files for each test, as the compiler may
4686 # overwrite some of them when testing with obscure command lines.
4687 # This happens at least with the AIX C compiler.
4689 for i in 1 2 3 4 5 6; do
4690 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4691 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4692 # Solaris 8's {/usr,}/bin/sh.
4693 touch sub/conftst$i.h
4695 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4697 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4698 # mode. It turns out that the SunPro C++ compiler does not properly
4699 # handle `-M -o', and we need to detect this. Also, some Intel
4700 # versions had trouble with output in subdirs
4701 am__obj=sub/conftest.${OBJEXT-o}
4702 am__minus_obj="-o $am__obj"
4705 # This depmode causes a compiler race in universal mode.
4706 test "$am__universal" = false || continue
4709 # after this tag, mechanisms are not by side-effect, so they'll
4710 # only be used when explicitly requested
4711 if test "x$enable_dependency_tracking" = xyes; then
4717 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4718 # This compiler won't grok `-c -o', but also, the minuso test has
4719 # not run yet. These depmodes are late enough in the game, and
4720 # so weak that their functioning should not be impacted.
4721 am__obj=conftest.${OBJEXT-o}
4726 if depmode=$depmode \
4727 source=sub/conftest.c object=$am__obj \
4728 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4729 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4730 >/dev/null 2>conftest.err &&
4731 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4732 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4733 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4734 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4735 # icc doesn't choke on unknown options, it will just issue warnings
4736 # or remarks (even with -Werror). So we grep stderr for any message
4737 # that says an option was ignored or not supported.
4738 # When given -MP, icc 7.0 and 7.1 complain thusly:
4739 # icc: Command line warning: ignoring option '-M'; no argument required
4740 # The diagnosis changed in icc 8.0:
4741 # icc: Command line remark: option '-MP' not supported
4742 if (grep 'ignoring option' conftest.err ||
4743 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4744 am_cv_CXX_dependencies_compiler_type=$depmode
4753 am_cv_CXX_dependencies_compiler_type=none
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4758 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4759 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4762 test "x$enable_dependency_tracking" != xno \
4763 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4764 am__fastdepCXX_TRUE=
4765 am__fastdepCXX_FALSE='#'
4767 am__fastdepCXX_TRUE='#'
4768 am__fastdepCXX_FALSE=
4773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4779 class a { int b; } c;
4784 if ac_fn_cxx_try_compile "$LINENO"; then :
4789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4790 if test "$CXX" != ""; then
4799 ac_cpp='$CPP $CPPFLAGS'
4800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4806 # Checks for HarfBuzz
4810 ac_cpp='$CXXCPP $CPPFLAGS'
4811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4814 if test -z "$CXX"; then
4815 if test -n "$CCC"; then
4818 if test -n "$ac_tool_prefix"; then
4819 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4821 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4822 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4824 $as_echo_n "checking for $ac_word... " >&6; }
4825 if ${ac_cv_prog_CXX+:} false; then :
4826 $as_echo_n "(cached) " >&6
4828 if test -n "$CXX"; then
4829 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 test -z "$as_dir" && as_dir=.
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4838 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 if test -n "$CXX"; then
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4851 $as_echo "$CXX" >&6; }
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854 $as_echo "no" >&6; }
4858 test -n "$CXX" && break
4861 if test -z "$CXX"; then
4863 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4865 # Extract the first word of "$ac_prog", so it can be a program name with args.
4866 set dummy $ac_prog; ac_word=$2
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 $as_echo_n "checking for $ac_word... " >&6; }
4869 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4870 $as_echo_n "(cached) " >&6
4872 if test -n "$ac_ct_CXX"; then
4873 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4879 test -z "$as_dir" && as_dir=.
4880 for ac_exec_ext in '' $ac_executable_extensions; do
4881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4882 ac_cv_prog_ac_ct_CXX="$ac_prog"
4883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4892 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4893 if test -n "$ac_ct_CXX"; then
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4895 $as_echo "$ac_ct_CXX" >&6; }
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 $as_echo "no" >&6; }
4902 test -n "$ac_ct_CXX" && break
4905 if test "x$ac_ct_CXX" = x; then
4908 case $cross_compiling:$ac_tool_warned in
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4912 ac_tool_warned=yes ;;
4920 # Provide some information about the compiler.
4921 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4924 for ac_option in --version -v -V -qversion; do
4925 { { ac_try="$ac_compiler $ac_option >&5"
4927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4928 *) ac_try_echo=$ac_try;;
4930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4931 $as_echo "$ac_try_echo"; } >&5
4932 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4934 if test -s conftest.err; then
4936 ... rest of stderr output deleted ...
4937 10q' conftest.err >conftest.er1
4938 cat conftest.er1 >&5
4940 rm -f conftest.er1 conftest.err
4941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4942 test $ac_status = 0; }
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4946 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4947 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4948 $as_echo_n "(cached) " >&6
4950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4951 /* end confdefs.h. */
4964 if ac_fn_cxx_try_compile "$LINENO"; then :
4969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4970 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4974 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4975 if test $ac_compiler_gnu = yes; then
4980 ac_test_CXXFLAGS=${CXXFLAGS+set}
4981 ac_save_CXXFLAGS=$CXXFLAGS
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4983 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4984 if ${ac_cv_prog_cxx_g+:} false; then :
4985 $as_echo_n "(cached) " >&6
4987 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4988 ac_cxx_werror_flag=yes
4991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
5002 if ac_fn_cxx_try_compile "$LINENO"; then :
5003 ac_cv_prog_cxx_g=yes
5006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5007 /* end confdefs.h. */
5017 if ac_fn_cxx_try_compile "$LINENO"; then :
5020 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5023 /* end confdefs.h. */
5033 if ac_fn_cxx_try_compile "$LINENO"; then :
5034 ac_cv_prog_cxx_g=yes
5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5041 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5044 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5045 if test "$ac_test_CXXFLAGS" = set; then
5046 CXXFLAGS=$ac_save_CXXFLAGS
5047 elif test $ac_cv_prog_cxx_g = yes; then
5048 if test "$GXX" = yes; then
5054 if test "$GXX" = yes; then
5061 ac_cpp='$CPP $CPPFLAGS'
5062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5066 depcc="$CXX" am_compiler_list=
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5069 $as_echo_n "checking dependency style of $depcc... " >&6; }
5070 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5071 $as_echo_n "(cached) " >&6
5073 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5074 # We make a subdir and do the tests there. Otherwise we can end up
5075 # making bogus files that we don't know about and never remove. For
5076 # instance it was reported that on HP-UX the gcc test will end up
5077 # making a dummy file named `D' -- because `-MD' means `put the output
5081 # Copy depcomp to subdir because otherwise we won't find it if we're
5082 # using a relative directory.
5083 cp "$am_depcomp" conftest.dir
5085 # We will build objects and dependencies in a subdirectory because
5086 # it helps to detect inapplicable dependency modes. For instance
5087 # both Tru64's cc and ICC support -MD to output dependencies as a
5088 # side effect of compilation, but ICC will put the dependencies in
5089 # the current directory while Tru64 will put them in the object
5093 am_cv_CXX_dependencies_compiler_type=none
5094 if test "$am_compiler_list" = ""; then
5095 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5098 case " $depcc " in #(
5099 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5102 for depmode in $am_compiler_list; do
5103 # Setup a source with many dependencies, because some compilers
5104 # like to wrap large dependency lists on column 80 (with \), and
5105 # we should not choose a depcomp mode which is confused by this.
5107 # We need to recreate these files for each test, as the compiler may
5108 # overwrite some of them when testing with obscure command lines.
5109 # This happens at least with the AIX C compiler.
5111 for i in 1 2 3 4 5 6; do
5112 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5113 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5114 # Solaris 8's {/usr,}/bin/sh.
5115 touch sub/conftst$i.h
5117 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5119 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5120 # mode. It turns out that the SunPro C++ compiler does not properly
5121 # handle `-M -o', and we need to detect this. Also, some Intel
5122 # versions had trouble with output in subdirs
5123 am__obj=sub/conftest.${OBJEXT-o}
5124 am__minus_obj="-o $am__obj"
5127 # This depmode causes a compiler race in universal mode.
5128 test "$am__universal" = false || continue
5131 # after this tag, mechanisms are not by side-effect, so they'll
5132 # only be used when explicitly requested
5133 if test "x$enable_dependency_tracking" = xyes; then
5139 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5140 # This compiler won't grok `-c -o', but also, the minuso test has
5141 # not run yet. These depmodes are late enough in the game, and
5142 # so weak that their functioning should not be impacted.
5143 am__obj=conftest.${OBJEXT-o}
5148 if depmode=$depmode \
5149 source=sub/conftest.c object=$am__obj \
5150 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5151 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5152 >/dev/null 2>conftest.err &&
5153 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5154 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5155 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5156 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5157 # icc doesn't choke on unknown options, it will just issue warnings
5158 # or remarks (even with -Werror). So we grep stderr for any message
5159 # that says an option was ignored or not supported.
5160 # When given -MP, icc 7.0 and 7.1 complain thusly:
5161 # icc: Command line warning: ignoring option '-M'; no argument required
5162 # The diagnosis changed in icc 8.0:
5163 # icc: Command line remark: option '-MP' not supported
5164 if (grep 'ignoring option' conftest.err ||
5165 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5166 am_cv_CXX_dependencies_compiler_type=$depmode
5175 am_cv_CXX_dependencies_compiler_type=none
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5180 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5181 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5184 test "x$enable_dependency_tracking" != xno \
5185 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5186 am__fastdepCXX_TRUE=
5187 am__fastdepCXX_FALSE='#'
5189 am__fastdepCXX_TRUE='#'
5190 am__fastdepCXX_FALSE=
5195 for ac_func in mprotect sysconf getpagesize
5197 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5198 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5199 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5200 cat >>confdefs.h <<_ACEOF
5201 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5208 ac_cpp='$CPP $CPPFLAGS'
5209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5213 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5214 # On Suns, sometimes $CPP names a directory.
5215 if test -n "$CPP" && test -d "$CPP"; then
5218 if test -z "$CPP"; then
5219 if ${ac_cv_prog_CPP+:} false; then :
5220 $as_echo_n "(cached) " >&6
5222 # Double quotes because CPP needs to be expanded
5223 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5226 for ac_c_preproc_warn_flag in '' yes
5228 # Use a header file that comes with gcc, so configuring glibc
5229 # with a fresh cross-compiler works.
5230 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5231 # <limits.h> exists even on freestanding compilers.
5232 # On the NeXT, cc -E runs the code through the compiler's parser,
5233 # not just through cpp. "Syntax error" is here to catch this case.
5234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5235 /* end confdefs.h. */
5237 # include <limits.h>
5239 # include <assert.h>
5243 if ac_fn_c_try_cpp "$LINENO"; then :
5246 # Broken: fails on valid input.
5249 rm -f conftest.err conftest.i conftest.$ac_ext
5251 # OK, works on sane cases. Now check whether nonexistent headers
5252 # can be detected and how.
5253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5254 /* end confdefs.h. */
5255 #include <ac_nonexistent.h>
5257 if ac_fn_c_try_cpp "$LINENO"; then :
5258 # Broken: success on invalid input.
5261 # Passes both tests.
5265 rm -f conftest.err conftest.i conftest.$ac_ext
5268 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5269 rm -f conftest.i conftest.err conftest.$ac_ext
5270 if $ac_preproc_ok; then :
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5283 $as_echo "$CPP" >&6; }
5285 for ac_c_preproc_warn_flag in '' yes
5287 # Use a header file that comes with gcc, so configuring glibc
5288 # with a fresh cross-compiler works.
5289 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5290 # <limits.h> exists even on freestanding compilers.
5291 # On the NeXT, cc -E runs the code through the compiler's parser,
5292 # not just through cpp. "Syntax error" is here to catch this case.
5293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5294 /* end confdefs.h. */
5296 # include <limits.h>
5298 # include <assert.h>
5302 if ac_fn_c_try_cpp "$LINENO"; then :
5305 # Broken: fails on valid input.
5308 rm -f conftest.err conftest.i conftest.$ac_ext
5310 # OK, works on sane cases. Now check whether nonexistent headers
5311 # can be detected and how.
5312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5313 /* end confdefs.h. */
5314 #include <ac_nonexistent.h>
5316 if ac_fn_c_try_cpp "$LINENO"; then :
5317 # Broken: success on invalid input.
5320 # Passes both tests.
5324 rm -f conftest.err conftest.i conftest.$ac_ext
5327 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5328 rm -f conftest.i conftest.err conftest.$ac_ext
5329 if $ac_preproc_ok; then :
5332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5334 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5335 See \`config.log' for more details" "$LINENO" 5; }
5339 ac_cpp='$CPP $CPPFLAGS'
5340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5346 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5347 if ${ac_cv_path_GREP+:} false; then :
5348 $as_echo_n "(cached) " >&6
5350 if test -z "$GREP"; then
5351 ac_path_GREP_found=false
5352 # Loop through the user's path and test for each of PROGNAME-LIST
5353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5354 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5357 test -z "$as_dir" && as_dir=.
5358 for ac_prog in grep ggrep; do
5359 for ac_exec_ext in '' $ac_executable_extensions; do
5360 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5361 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5362 # Check for GNU ac_path_GREP and select it if it is found.
5363 # Check for GNU $ac_path_GREP
5364 case `"$ac_path_GREP" --version 2>&1` in
5366 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5369 $as_echo_n 0123456789 >"conftest.in"
5372 cat "conftest.in" "conftest.in" >"conftest.tmp"
5373 mv "conftest.tmp" "conftest.in"
5374 cp "conftest.in" "conftest.nl"
5375 $as_echo 'GREP' >> "conftest.nl"
5376 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5377 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5378 as_fn_arith $ac_count + 1 && ac_count=$as_val
5379 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5380 # Best one so far, save it but keep looking for a better one
5381 ac_cv_path_GREP="$ac_path_GREP"
5382 ac_path_GREP_max=$ac_count
5384 # 10*(2^10) chars as input seems more than enough
5385 test $ac_count -gt 10 && break
5387 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5390 $ac_path_GREP_found && break 3
5395 if test -z "$ac_cv_path_GREP"; then
5396 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5399 ac_cv_path_GREP=$GREP
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5404 $as_echo "$ac_cv_path_GREP" >&6; }
5405 GREP="$ac_cv_path_GREP"
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5409 $as_echo_n "checking for egrep... " >&6; }
5410 if ${ac_cv_path_EGREP+:} false; then :
5411 $as_echo_n "(cached) " >&6
5413 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5414 then ac_cv_path_EGREP="$GREP -E"
5416 if test -z "$EGREP"; then
5417 ac_path_EGREP_found=false
5418 # Loop through the user's path and test for each of PROGNAME-LIST
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5420 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5423 test -z "$as_dir" && as_dir=.
5424 for ac_prog in egrep; do
5425 for ac_exec_ext in '' $ac_executable_extensions; do
5426 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5427 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5428 # Check for GNU ac_path_EGREP and select it if it is found.
5429 # Check for GNU $ac_path_EGREP
5430 case `"$ac_path_EGREP" --version 2>&1` in
5432 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5435 $as_echo_n 0123456789 >"conftest.in"
5438 cat "conftest.in" "conftest.in" >"conftest.tmp"
5439 mv "conftest.tmp" "conftest.in"
5440 cp "conftest.in" "conftest.nl"
5441 $as_echo 'EGREP' >> "conftest.nl"
5442 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5443 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5444 as_fn_arith $ac_count + 1 && ac_count=$as_val
5445 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5446 # Best one so far, save it but keep looking for a better one
5447 ac_cv_path_EGREP="$ac_path_EGREP"
5448 ac_path_EGREP_max=$ac_count
5450 # 10*(2^10) chars as input seems more than enough
5451 test $ac_count -gt 10 && break
5453 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5456 $ac_path_EGREP_found && break 3
5461 if test -z "$ac_cv_path_EGREP"; then
5462 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5465 ac_cv_path_EGREP=$EGREP
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5471 $as_echo "$ac_cv_path_EGREP" >&6; }
5472 EGREP="$ac_cv_path_EGREP"
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5476 $as_echo_n "checking for ANSI C header files... " >&6; }
5477 if ${ac_cv_header_stdc+:} false; then :
5478 $as_echo_n "(cached) " >&6
5480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5481 /* end confdefs.h. */
5495 if ac_fn_c_try_compile "$LINENO"; then :
5496 ac_cv_header_stdc=yes
5498 ac_cv_header_stdc=no
5500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5502 if test $ac_cv_header_stdc = yes; then
5503 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5505 /* end confdefs.h. */
5509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5510 $EGREP "memchr" >/dev/null 2>&1; then :
5513 ac_cv_header_stdc=no
5519 if test $ac_cv_header_stdc = yes; then
5520 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5522 /* end confdefs.h. */
5526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5527 $EGREP "free" >/dev/null 2>&1; then :
5530 ac_cv_header_stdc=no
5536 if test $ac_cv_header_stdc = yes; then
5537 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5538 if test "$cross_compiling" = yes; then :
5541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5542 /* end confdefs.h. */
5545 #if ((' ' & 0x0FF) == 0x020)
5546 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5547 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5549 # define ISLOWER(c) \
5550 (('a' <= (c) && (c) <= 'i') \
5551 || ('j' <= (c) && (c) <= 'r') \
5552 || ('s' <= (c) && (c) <= 'z'))
5553 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5556 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5561 for (i = 0; i < 256; i++)
5562 if (XOR (islower (i), ISLOWER (i))
5563 || toupper (i) != TOUPPER (i))
5568 if ac_fn_c_try_run "$LINENO"; then :
5571 ac_cv_header_stdc=no
5573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5574 conftest.$ac_objext conftest.beam conftest.$ac_ext
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5580 $as_echo "$ac_cv_header_stdc" >&6; }
5581 if test $ac_cv_header_stdc = yes; then
5583 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5587 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5588 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5589 inttypes.h stdint.h unistd.h
5591 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5592 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5594 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5595 cat >>confdefs.h <<_ACEOF
5596 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5604 for ac_header in unistd.h sys/mman.h
5606 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5607 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5608 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5609 cat >>confdefs.h <<_ACEOF
5610 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5618 # Make sure we don't link to libstdc++ (needs de-gcc-fication)
5619 CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
5626 enable_win32_dll=yes
5629 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
5630 if test -n "$ac_tool_prefix"; then
5631 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5632 set dummy ${ac_tool_prefix}as; ac_word=$2
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5634 $as_echo_n "checking for $ac_word... " >&6; }
5635 if ${ac_cv_prog_AS+:} false; then :
5636 $as_echo_n "(cached) " >&6
5638 if test -n "$AS"; then
5639 ac_cv_prog_AS="$AS" # Let the user override the test.
5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 test -z "$as_dir" && as_dir=.
5646 for ac_exec_ext in '' $ac_executable_extensions; do
5647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5648 ac_cv_prog_AS="${ac_tool_prefix}as"
5649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5659 if test -n "$AS"; then
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5661 $as_echo "$AS" >&6; }
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5664 $as_echo "no" >&6; }
5669 if test -z "$ac_cv_prog_AS"; then
5671 # Extract the first word of "as", so it can be a program name with args.
5672 set dummy as; ac_word=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5676 $as_echo_n "(cached) " >&6
5678 if test -n "$ac_ct_AS"; then
5679 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 test -z "$as_dir" && as_dir=.
5686 for ac_exec_ext in '' $ac_executable_extensions; do
5687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5688 ac_cv_prog_ac_ct_AS="as"
5689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5699 if test -n "$ac_ct_AS"; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5701 $as_echo "$ac_ct_AS" >&6; }
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5707 if test "x$ac_ct_AS" = x; then
5710 case $cross_compiling:$ac_tool_warned in
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5714 ac_tool_warned=yes ;;
5722 if test -n "$ac_tool_prefix"; then
5723 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5724 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5726 $as_echo_n "checking for $ac_word... " >&6; }
5727 if ${ac_cv_prog_DLLTOOL+:} false; then :
5728 $as_echo_n "(cached) " >&6
5730 if test -n "$DLLTOOL"; then
5731 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 test -z "$as_dir" && as_dir=.
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5740 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 DLLTOOL=$ac_cv_prog_DLLTOOL
5751 if test -n "$DLLTOOL"; then
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5753 $as_echo "$DLLTOOL" >&6; }
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5761 if test -z "$ac_cv_prog_DLLTOOL"; then
5762 ac_ct_DLLTOOL=$DLLTOOL
5763 # Extract the first word of "dlltool", so it can be a program name with args.
5764 set dummy dlltool; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5768 $as_echo_n "(cached) " >&6
5770 if test -n "$ac_ct_DLLTOOL"; then
5771 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5780 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5791 if test -n "$ac_ct_DLLTOOL"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5793 $as_echo "$ac_ct_DLLTOOL" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5799 if test "x$ac_ct_DLLTOOL" = x; then
5802 case $cross_compiling:$ac_tool_warned in
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5806 ac_tool_warned=yes ;;
5808 DLLTOOL=$ac_ct_DLLTOOL
5811 DLLTOOL="$ac_cv_prog_DLLTOOL"
5814 if test -n "$ac_tool_prefix"; then
5815 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5816 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5818 $as_echo_n "checking for $ac_word... " >&6; }
5819 if ${ac_cv_prog_OBJDUMP+:} false; then :
5820 $as_echo_n "(cached) " >&6
5822 if test -n "$OBJDUMP"; then
5823 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829 test -z "$as_dir" && as_dir=.
5830 for ac_exec_ext in '' $ac_executable_extensions; do
5831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5832 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5842 OBJDUMP=$ac_cv_prog_OBJDUMP
5843 if test -n "$OBJDUMP"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5845 $as_echo "$OBJDUMP" >&6; }
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5853 if test -z "$ac_cv_prog_OBJDUMP"; then
5854 ac_ct_OBJDUMP=$OBJDUMP
5855 # Extract the first word of "objdump", so it can be a program name with args.
5856 set dummy objdump; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5860 $as_echo_n "(cached) " >&6
5862 if test -n "$ac_ct_OBJDUMP"; then
5863 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5883 if test -n "$ac_ct_OBJDUMP"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5885 $as_echo "$ac_ct_OBJDUMP" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5891 if test "x$ac_ct_OBJDUMP" = x; then
5894 case $cross_compiling:$ac_tool_warned in
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5898 ac_tool_warned=yes ;;
5900 OBJDUMP=$ac_ct_OBJDUMP
5903 OBJDUMP="$ac_cv_prog_OBJDUMP"
5909 test -z "$AS" && AS=as
5915 test -z "$DLLTOOL" && DLLTOOL=dlltool
5921 test -z "$OBJDUMP" && OBJDUMP=objdump
5929 # Check whether --enable-static was given.
5930 if test "${enable_static+set}" = set; then :
5931 enableval=$enable_static; p=${PACKAGE-default}
5933 yes) enable_static=yes ;;
5934 no) enable_static=no ;;
5937 # Look at the argument we got. We use all the common list separators.
5938 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5939 for pkg in $enableval; do
5941 if test "X$pkg" = "X$p"; then
5961 if test "$pango_os_win32" = "yes"; then
5962 if test x$enable_static = xyes -o x$enable_static = x; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling static library build, must build as DLL on Windows." >&5
5964 $as_echo "$as_me: WARNING: Disabling static library build, must build as DLL on Windows." >&2;}
5967 if test x$enable_shared = xno; then
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling shared library build, must build as DLL on Windows." >&5
5969 $as_echo "$as_me: WARNING: Enabling shared library build, must build as DLL on Windows." >&2;}
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5977 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5982 macro_version='2.4.2'
5983 macro_revision='1.3337'
5997 ltmain="$ac_aux_dir/ltmain.sh"
5999 # Backslashify metacharacters that are still active within
6000 # double-quoted strings.
6001 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6003 # Same as above, but do not quote variable references.
6004 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6006 # Sed substitution to delay expansion of an escaped shell variable in a
6007 # double_quote_subst'ed string.
6008 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6010 # Sed substitution to delay expansion of an escaped single quote.
6011 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6013 # Sed substitution to avoid accidental globbing in evaled expressions
6014 no_glob_subst='s/\*/\\\*/g'
6016 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6017 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6018 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6021 $as_echo_n "checking how to print strings... " >&6; }
6022 # Test print first, because it will be a builtin if present.
6023 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6024 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6026 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6029 # Use this function as a fallback that always works.
6030 func_fallback_echo ()
6032 eval 'cat <<_LTECHO_EOF
6036 ECHO='func_fallback_echo'
6039 # func_echo_all arg...
6040 # Invoke $ECHO with all args, space-separated.
6047 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6048 $as_echo "printf" >&6; } ;;
6049 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6050 $as_echo "print -r" >&6; } ;;
6051 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6052 $as_echo "cat" >&6; } ;;
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6069 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6070 if ${ac_cv_path_SED+:} false; then :
6071 $as_echo_n "(cached) " >&6
6073 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6074 for ac_i in 1 2 3 4 5 6 7; do
6075 ac_script="$ac_script$as_nl$ac_script"
6077 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6078 { ac_script=; unset ac_script;}
6079 if test -z "$SED"; then
6080 ac_path_SED_found=false
6081 # Loop through the user's path and test for each of PROGNAME-LIST
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6086 test -z "$as_dir" && as_dir=.
6087 for ac_prog in sed gsed; do
6088 for ac_exec_ext in '' $ac_executable_extensions; do
6089 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6090 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6091 # Check for GNU ac_path_SED and select it if it is found.
6092 # Check for GNU $ac_path_SED
6093 case `"$ac_path_SED" --version 2>&1` in
6095 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6098 $as_echo_n 0123456789 >"conftest.in"
6101 cat "conftest.in" "conftest.in" >"conftest.tmp"
6102 mv "conftest.tmp" "conftest.in"
6103 cp "conftest.in" "conftest.nl"
6104 $as_echo '' >> "conftest.nl"
6105 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6106 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6107 as_fn_arith $ac_count + 1 && ac_count=$as_val
6108 if test $ac_count -gt ${ac_path_SED_max-0}; then
6109 # Best one so far, save it but keep looking for a better one
6110 ac_cv_path_SED="$ac_path_SED"
6111 ac_path_SED_max=$ac_count
6113 # 10*(2^10) chars as input seems more than enough
6114 test $ac_count -gt 10 && break
6116 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6119 $ac_path_SED_found && break 3
6124 if test -z "$ac_cv_path_SED"; then
6125 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6133 $as_echo "$ac_cv_path_SED" >&6; }
6134 SED="$ac_cv_path_SED"
6137 test -z "$SED" && SED=sed
6138 Xsed="$SED -e 1s/^X//"
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6151 $as_echo_n "checking for fgrep... " >&6; }
6152 if ${ac_cv_path_FGREP+:} false; then :
6153 $as_echo_n "(cached) " >&6
6155 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6156 then ac_cv_path_FGREP="$GREP -F"
6158 if test -z "$FGREP"; then
6159 ac_path_FGREP_found=false
6160 # Loop through the user's path and test for each of PROGNAME-LIST
6161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6162 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6165 test -z "$as_dir" && as_dir=.
6166 for ac_prog in fgrep; do
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6169 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6170 # Check for GNU ac_path_FGREP and select it if it is found.
6171 # Check for GNU $ac_path_FGREP
6172 case `"$ac_path_FGREP" --version 2>&1` in
6174 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6177 $as_echo_n 0123456789 >"conftest.in"
6180 cat "conftest.in" "conftest.in" >"conftest.tmp"
6181 mv "conftest.tmp" "conftest.in"
6182 cp "conftest.in" "conftest.nl"
6183 $as_echo 'FGREP' >> "conftest.nl"
6184 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6185 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6186 as_fn_arith $ac_count + 1 && ac_count=$as_val
6187 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6188 # Best one so far, save it but keep looking for a better one
6189 ac_cv_path_FGREP="$ac_path_FGREP"
6190 ac_path_FGREP_max=$ac_count
6192 # 10*(2^10) chars as input seems more than enough
6193 test $ac_count -gt 10 && break
6195 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6198 $ac_path_FGREP_found && break 3
6203 if test -z "$ac_cv_path_FGREP"; then
6204 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6207 ac_cv_path_FGREP=$FGREP
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6213 $as_echo "$ac_cv_path_FGREP" >&6; }
6214 FGREP="$ac_cv_path_FGREP"
6217 test -z "$GREP" && GREP=grep
6237 # Check whether --with-gnu-ld was given.
6238 if test "${with_gnu_ld+set}" = set; then :
6239 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6245 if test "$GCC" = yes; then
6246 # Check if gcc -print-prog-name=ld gives a path.
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6248 $as_echo_n "checking for ld used by $CC... " >&6; }
6251 # gcc leaves a trailing carriage return which upsets mingw
6252 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6254 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6257 # Accept absolute paths.
6259 re_direlt='/[^/][^/]*/\.\./'
6260 # Canonicalize the pathname of ld
6261 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6262 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6263 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6265 test -z "$LD" && LD="$ac_prog"
6268 # If it fails, then pretend we aren't using GCC.
6272 # If it is relative, then search for the first ld in PATH.
6276 elif test "$with_gnu_ld" = yes; then
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6278 $as_echo_n "checking for GNU ld... " >&6; }
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6281 $as_echo_n "checking for non-GNU ld... " >&6; }
6283 if ${lt_cv_path_LD+:} false; then :
6284 $as_echo_n "(cached) " >&6
6286 if test -z "$LD"; then
6287 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6288 for ac_dir in $PATH; do
6290 test -z "$ac_dir" && ac_dir=.
6291 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6292 lt_cv_path_LD="$ac_dir/$ac_prog"
6293 # Check to see if the program is GNU ld. I'd rather use --version,
6294 # but apparently some variants of GNU ld only accept -v.
6295 # Break only if it was the GNU/non-GNU ld that we prefer.
6296 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6297 *GNU* | *'with BFD'*)
6298 test "$with_gnu_ld" != no && break
6301 test "$with_gnu_ld" != yes && break
6308 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6313 if test -n "$LD"; then
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6315 $as_echo "$LD" >&6; }
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6318 $as_echo "no" >&6; }
6320 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6322 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6323 if ${lt_cv_prog_gnu_ld+:} false; then :
6324 $as_echo_n "(cached) " >&6
6326 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6327 case `$LD -v 2>&1 </dev/null` in
6328 *GNU* | *'with BFD'*)
6329 lt_cv_prog_gnu_ld=yes
6332 lt_cv_prog_gnu_ld=no
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6337 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6338 with_gnu_ld=$lt_cv_prog_gnu_ld
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6349 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6350 if ${lt_cv_path_NM+:} false; then :
6351 $as_echo_n "(cached) " >&6
6353 if test -n "$NM"; then
6354 # Let the user override the test.
6357 lt_nm_to_check="${ac_tool_prefix}nm"
6358 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6359 lt_nm_to_check="$lt_nm_to_check nm"
6361 for lt_tmp_nm in $lt_nm_to_check; do
6362 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6363 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6365 test -z "$ac_dir" && ac_dir=.
6366 tmp_nm="$ac_dir/$lt_tmp_nm"
6367 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6368 # Check to see if the nm accepts a BSD-compat flag.
6369 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6370 # nm: unknown option "B" ignored
6371 # Tru64's nm complains that /dev/null is an invalid object file
6372 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6373 */dev/null* | *'Invalid file or object type'*)
6374 lt_cv_path_NM="$tmp_nm -B"
6378 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6380 lt_cv_path_NM="$tmp_nm -p"
6384 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6385 continue # so that we can try to find one that supports BSD flags
6394 : ${lt_cv_path_NM=no}
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6398 $as_echo "$lt_cv_path_NM" >&6; }
6399 if test "$lt_cv_path_NM" != "no"; then
6402 # Didn't find any BSD compatible name lister, look for dumpbin.
6403 if test -n "$DUMPBIN"; then :
6404 # Let the user override the test.
6406 if test -n "$ac_tool_prefix"; then
6407 for ac_prog in dumpbin "link -dump"
6409 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6410 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6412 $as_echo_n "checking for $ac_word... " >&6; }
6413 if ${ac_cv_prog_DUMPBIN+:} false; then :
6414 $as_echo_n "(cached) " >&6
6416 if test -n "$DUMPBIN"; then
6417 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423 test -z "$as_dir" && as_dir=.
6424 for ac_exec_ext in '' $ac_executable_extensions; do
6425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6426 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6436 DUMPBIN=$ac_cv_prog_DUMPBIN
6437 if test -n "$DUMPBIN"; then
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6439 $as_echo "$DUMPBIN" >&6; }
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6442 $as_echo "no" >&6; }
6446 test -n "$DUMPBIN" && break
6449 if test -z "$DUMPBIN"; then
6450 ac_ct_DUMPBIN=$DUMPBIN
6451 for ac_prog in dumpbin "link -dump"
6453 # Extract the first word of "$ac_prog", so it can be a program name with args.
6454 set dummy $ac_prog; ac_word=$2
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6456 $as_echo_n "checking for $ac_word... " >&6; }
6457 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6458 $as_echo_n "(cached) " >&6
6460 if test -n "$ac_ct_DUMPBIN"; then
6461 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6467 test -z "$as_dir" && as_dir=.
6468 for ac_exec_ext in '' $ac_executable_extensions; do
6469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6470 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6480 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6481 if test -n "$ac_ct_DUMPBIN"; then
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6483 $as_echo "$ac_ct_DUMPBIN" >&6; }
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6486 $as_echo "no" >&6; }
6490 test -n "$ac_ct_DUMPBIN" && break
6493 if test "x$ac_ct_DUMPBIN" = x; then
6496 case $cross_compiling:$ac_tool_warned in
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6500 ac_tool_warned=yes ;;
6502 DUMPBIN=$ac_ct_DUMPBIN
6506 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6508 DUMPBIN="$DUMPBIN -symbols"
6516 if test "$DUMPBIN" != ":"; then
6520 test -z "$NM" && NM=nm
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6528 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6529 if ${lt_cv_nm_interface+:} false; then :
6530 $as_echo_n "(cached) " >&6
6532 lt_cv_nm_interface="BSD nm"
6533 echo "int some_variable = 0;" > conftest.$ac_ext
6534 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6535 (eval "$ac_compile" 2>conftest.err)
6536 cat conftest.err >&5
6537 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6538 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6539 cat conftest.err >&5
6540 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6541 cat conftest.out >&5
6542 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6543 lt_cv_nm_interface="MS dumpbin"
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6548 $as_echo "$lt_cv_nm_interface" >&6; }
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6551 $as_echo_n "checking whether ln -s works... " >&6; }
6553 if test "$LN_S" = "ln -s"; then
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6555 $as_echo "yes" >&6; }
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6558 $as_echo "no, using $LN_S" >&6; }
6561 # find the maximum length of command line arguments
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6563 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6564 if ${lt_cv_sys_max_cmd_len+:} false; then :
6565 $as_echo_n "(cached) " >&6
6572 # On DJGPP, this test can blow up pretty badly due to problems in libc
6573 # (any single argument exceeding 2000 bytes causes a buffer overrun
6574 # during glob expansion). Even if it were fixed, the result of this
6575 # check would be larger than it should be.
6576 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6580 # Under GNU Hurd, this test is not required because there is
6581 # no limit to the length of command line arguments.
6582 # Libtool will interpret -1 as no limit whatsoever
6583 lt_cv_sys_max_cmd_len=-1;
6586 cygwin* | mingw* | cegcc*)
6587 # On Win9x/ME, this test blows up -- it succeeds, but takes
6588 # about 5 minutes as the teststring grows exponentially.
6589 # Worse, since 9x/ME are not pre-emptively multitasking,
6590 # you end up with a "frozen" computer, even though with patience
6591 # the test eventually succeeds (with a max line length of 256k).
6592 # Instead, let's just punt: use the minimum linelength reported by
6593 # all of the supported platforms: 8192 (on NT/2K/XP).
6594 lt_cv_sys_max_cmd_len=8192;
6598 # On MiNT this can take a long time and run out of memory.
6599 lt_cv_sys_max_cmd_len=8192;
6603 # On AmigaOS with pdksh, this test takes hours, literally.
6604 # So we just punt and use a minimum line length of 8192.
6605 lt_cv_sys_max_cmd_len=8192;
6608 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6609 # This has been around since 386BSD, at least. Likely further.
6610 if test -x /sbin/sysctl; then
6611 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6612 elif test -x /usr/sbin/sysctl; then
6613 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6615 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6617 # And add a safety zone
6618 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6619 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6623 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6624 lt_cv_sys_max_cmd_len=196608
6628 # The test takes a long time on OS/2.
6629 lt_cv_sys_max_cmd_len=8192
6633 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6634 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6635 # nice to cause kernel panics so lets avoid the loop below.
6636 # First set a reasonable default.
6637 lt_cv_sys_max_cmd_len=16384
6639 if test -x /sbin/sysconfig; then
6640 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6641 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6646 lt_cv_sys_max_cmd_len=102400
6648 sysv5* | sco5v6* | sysv4.2uw2*)
6649 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6650 if test -n "$kargmax"; then
6651 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6653 lt_cv_sys_max_cmd_len=32768
6657 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6658 if test -n "$lt_cv_sys_max_cmd_len"; then
6659 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6660 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6662 # Make teststring a little bigger before we do anything with it.
6663 # a 1K string should be a reasonable start.
6664 for i in 1 2 3 4 5 6 7 8 ; do
6665 teststring=$teststring$teststring
6667 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6668 # If test is not a shell built-in, we'll probably end up computing a
6669 # maximum length that is only half of the actual maximum length, but
6671 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6672 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6673 test $i != 17 # 1/2 MB should be enough
6676 teststring=$teststring$teststring
6678 # Only check the string length outside the loop.
6679 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6681 # Add a significant safety factor because C++ compilers can tack on
6682 # massive amounts of additional arguments before passing them to the
6683 # linker. It appears as though 1/2 is a usable value.
6684 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6691 if test -n $lt_cv_sys_max_cmd_len ; then
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6693 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6696 $as_echo "none" >&6; }
6698 max_cmd_len=$lt_cv_sys_max_cmd_len
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6710 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6711 # Try some XSI features
6714 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6716 && eval 'test $(( 1 + 1 )) -eq 2 \
6717 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6720 $as_echo "$xsi_shell" >&6; }
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6724 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6726 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6728 && lt_shell_append=yes
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6730 $as_echo "$lt_shell_append" >&6; }
6733 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6743 # test EBCDIC or ASCII
6744 case `echo X|tr X '\101'` in
6745 A) # ASCII based system
6746 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6747 lt_SP2NL='tr \040 \012'
6748 lt_NL2SP='tr \015\012 \040\040'
6750 *) # EBCDIC based system
6751 lt_SP2NL='tr \100 \n'
6752 lt_NL2SP='tr \r\n \100\100'
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6765 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6766 if ${lt_cv_to_host_file_cmd+:} false; then :
6767 $as_echo_n "(cached) " >&6
6772 *-*-mingw* ) # actually msys
6773 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6776 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6778 * ) # otherwise, assume *nix
6779 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6785 *-*-mingw* ) # actually msys
6786 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6789 lt_cv_to_host_file_cmd=func_convert_file_noop
6791 * ) # otherwise, assume *nix
6792 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6796 * ) # unhandled hosts (and "normal" native builds)
6797 lt_cv_to_host_file_cmd=func_convert_file_noop
6803 to_host_file_cmd=$lt_cv_to_host_file_cmd
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6805 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6812 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6813 if ${lt_cv_to_tool_file_cmd+:} false; then :
6814 $as_echo_n "(cached) " >&6
6816 #assume ordinary cross tools, or native build.
6817 lt_cv_to_tool_file_cmd=func_convert_file_noop
6821 *-*-mingw* ) # actually msys
6822 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6830 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6832 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6839 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6840 if ${lt_cv_ld_reload_flag+:} false; then :
6841 $as_echo_n "(cached) " >&6
6843 lt_cv_ld_reload_flag='-r'
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6846 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6847 reload_flag=$lt_cv_ld_reload_flag
6848 case $reload_flag in
6850 *) reload_flag=" $reload_flag" ;;
6852 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6854 cygwin* | mingw* | pw32* | cegcc*)
6855 if test "$GCC" != yes; then
6860 if test "$GCC" = yes; then
6861 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6863 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6876 if test -n "$ac_tool_prefix"; then
6877 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6878 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6880 $as_echo_n "checking for $ac_word... " >&6; }
6881 if ${ac_cv_prog_OBJDUMP+:} false; then :
6882 $as_echo_n "(cached) " >&6
6884 if test -n "$OBJDUMP"; then
6885 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6891 test -z "$as_dir" && as_dir=.
6892 for ac_exec_ext in '' $ac_executable_extensions; do
6893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6894 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6904 OBJDUMP=$ac_cv_prog_OBJDUMP
6905 if test -n "$OBJDUMP"; then
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6907 $as_echo "$OBJDUMP" >&6; }
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6910 $as_echo "no" >&6; }
6915 if test -z "$ac_cv_prog_OBJDUMP"; then
6916 ac_ct_OBJDUMP=$OBJDUMP
6917 # Extract the first word of "objdump", so it can be a program name with args.
6918 set dummy objdump; ac_word=$2
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6920 $as_echo_n "checking for $ac_word... " >&6; }
6921 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6922 $as_echo_n "(cached) " >&6
6924 if test -n "$ac_ct_OBJDUMP"; then
6925 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6931 test -z "$as_dir" && as_dir=.
6932 for ac_exec_ext in '' $ac_executable_extensions; do
6933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6934 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6944 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6945 if test -n "$ac_ct_OBJDUMP"; then
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6947 $as_echo "$ac_ct_OBJDUMP" >&6; }
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6950 $as_echo "no" >&6; }
6953 if test "x$ac_ct_OBJDUMP" = x; then
6956 case $cross_compiling:$ac_tool_warned in
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6960 ac_tool_warned=yes ;;
6962 OBJDUMP=$ac_ct_OBJDUMP
6965 OBJDUMP="$ac_cv_prog_OBJDUMP"
6968 test -z "$OBJDUMP" && OBJDUMP=objdump
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6976 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6977 if ${lt_cv_deplibs_check_method+:} false; then :
6978 $as_echo_n "(cached) " >&6
6980 lt_cv_file_magic_cmd='$MAGIC_CMD'
6981 lt_cv_file_magic_test_file=
6982 lt_cv_deplibs_check_method='unknown'
6983 # Need to set the preceding variable on all platforms that support
6984 # interlibrary dependencies.
6985 # 'none' -- dependencies not supported.
6986 # `unknown' -- same as none, but documents that we really don't know.
6987 # 'pass_all' -- all dependencies passed with no checks.
6988 # 'test_compile' -- check by making test program.
6989 # 'file_magic [[regex]]' -- check by looking for files in library path
6990 # which responds to the $file_magic_cmd with a given extended regex.
6991 # If you have `file' or equivalent on your system and you're not sure
6992 # whether `pass_all' will *always* work, you probably want this one.
6996 lt_cv_deplibs_check_method=pass_all
7000 lt_cv_deplibs_check_method=pass_all
7004 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7005 lt_cv_file_magic_cmd='/usr/bin/file -L'
7006 lt_cv_file_magic_test_file=/shlib/libc.so
7010 # func_win32_libid is a shell function defined in ltmain.sh
7011 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7012 lt_cv_file_magic_cmd='func_win32_libid'
7016 # Base MSYS/MinGW do not provide the 'file' command needed by
7017 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7018 # unless we find 'file', for example because we are cross-compiling.
7019 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7020 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7021 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7022 lt_cv_file_magic_cmd='func_win32_libid'
7024 # Keep this pattern in sync with the one in func_win32_libid.
7025 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7026 lt_cv_file_magic_cmd='$OBJDUMP -f'
7031 # use the weaker test based on 'objdump'. See mingw*.
7032 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7033 lt_cv_file_magic_cmd='$OBJDUMP -f'
7036 darwin* | rhapsody*)
7037 lt_cv_deplibs_check_method=pass_all
7040 freebsd* | dragonfly*)
7041 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7044 # Not sure whether the presence of OpenBSD here was a mistake.
7045 # Let's accept both of them until this is cleared up.
7046 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7047 lt_cv_file_magic_cmd=/usr/bin/file
7048 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7052 lt_cv_deplibs_check_method=pass_all
7057 lt_cv_deplibs_check_method=pass_all
7061 lt_cv_deplibs_check_method=pass_all
7064 hpux10.20* | hpux11*)
7065 lt_cv_file_magic_cmd=/usr/bin/file
7068 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7069 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7072 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
7073 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7076 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7077 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7083 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7084 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7087 irix5* | irix6* | nonstopux*)
7089 *-32|*"-32 ") libmagic=32-bit;;
7090 *-n32|*"-n32 ") libmagic=N32;;
7091 *-64|*"-64 ") libmagic=64-bit;;
7092 *) libmagic=never-match;;
7094 lt_cv_deplibs_check_method=pass_all
7097 # This must be glibc/ELF.
7098 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7099 lt_cv_deplibs_check_method=pass_all
7103 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7104 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7106 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7111 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7112 lt_cv_file_magic_cmd=/usr/bin/file
7113 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7117 lt_cv_deplibs_check_method=pass_all
7121 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7122 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7124 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7128 osf3* | osf4* | osf5*)
7129 lt_cv_deplibs_check_method=pass_all
7133 lt_cv_deplibs_check_method=pass_all
7137 lt_cv_deplibs_check_method=pass_all
7140 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7141 lt_cv_deplibs_check_method=pass_all
7145 case $host_vendor in
7147 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]'
7148 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7151 lt_cv_deplibs_check_method=pass_all
7154 lt_cv_file_magic_cmd='/bin/file'
7155 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7158 lt_cv_file_magic_cmd='/bin/file'
7159 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7160 lt_cv_file_magic_test_file=/lib/libc.so
7163 lt_cv_deplibs_check_method=pass_all
7166 lt_cv_deplibs_check_method=pass_all
7172 lt_cv_deplibs_check_method=pass_all
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7178 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7182 if test "$build" = "$host"; then
7185 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7188 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7194 file_magic_cmd=$lt_cv_file_magic_cmd
7195 deplibs_check_method=$lt_cv_deplibs_check_method
7196 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7219 if test -n "$ac_tool_prefix"; then
7220 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7221 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223 $as_echo_n "checking for $ac_word... " >&6; }
7224 if ${ac_cv_prog_DLLTOOL+:} false; then :
7225 $as_echo_n "(cached) " >&6
7227 if test -n "$DLLTOOL"; then
7228 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 test -z "$as_dir" && as_dir=.
7235 for ac_exec_ext in '' $ac_executable_extensions; do
7236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7237 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7247 DLLTOOL=$ac_cv_prog_DLLTOOL
7248 if test -n "$DLLTOOL"; then
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7250 $as_echo "$DLLTOOL" >&6; }
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253 $as_echo "no" >&6; }
7258 if test -z "$ac_cv_prog_DLLTOOL"; then
7259 ac_ct_DLLTOOL=$DLLTOOL
7260 # Extract the first word of "dlltool", so it can be a program name with args.
7261 set dummy dlltool; ac_word=$2
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263 $as_echo_n "checking for $ac_word... " >&6; }
7264 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7265 $as_echo_n "(cached) " >&6
7267 if test -n "$ac_ct_DLLTOOL"; then
7268 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7274 test -z "$as_dir" && as_dir=.
7275 for ac_exec_ext in '' $ac_executable_extensions; do
7276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7277 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7288 if test -n "$ac_ct_DLLTOOL"; then
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7290 $as_echo "$ac_ct_DLLTOOL" >&6; }
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7293 $as_echo "no" >&6; }
7296 if test "x$ac_ct_DLLTOOL" = x; then
7299 case $cross_compiling:$ac_tool_warned in
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7303 ac_tool_warned=yes ;;
7305 DLLTOOL=$ac_ct_DLLTOOL
7308 DLLTOOL="$ac_cv_prog_DLLTOOL"
7311 test -z "$DLLTOOL" && DLLTOOL=dlltool
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7320 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7321 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7322 $as_echo_n "(cached) " >&6
7324 lt_cv_sharedlib_from_linklib_cmd='unknown'
7327 cygwin* | mingw* | pw32* | cegcc*)
7328 # two different shell functions defined in ltmain.sh
7329 # decide which to use based on capabilities of $DLLTOOL
7330 case `$DLLTOOL --help 2>&1` in
7331 *--identify-strict*)
7332 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7335 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7340 # fallback: assume linklib IS sharedlib
7341 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7347 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7348 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7349 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7357 if test -n "$ac_tool_prefix"; then
7360 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7361 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if ${ac_cv_prog_AR+:} false; then :
7365 $as_echo_n "(cached) " >&6
7367 if test -n "$AR"; then
7368 ac_cv_prog_AR="$AR" # Let the user override the test.
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 test -z "$as_dir" && as_dir=.
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388 if test -n "$AR"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7390 $as_echo "$AR" >&6; }
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7397 test -n "$AR" && break
7400 if test -z "$AR"; then
7404 # Extract the first word of "$ac_prog", so it can be a program name with args.
7405 set dummy $ac_prog; ac_word=$2
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7407 $as_echo_n "checking for $ac_word... " >&6; }
7408 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7409 $as_echo_n "(cached) " >&6
7411 if test -n "$ac_ct_AR"; then
7412 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7418 test -z "$as_dir" && as_dir=.
7419 for ac_exec_ext in '' $ac_executable_extensions; do
7420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7421 ac_cv_prog_ac_ct_AR="$ac_prog"
7422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7431 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7432 if test -n "$ac_ct_AR"; then
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7434 $as_echo "$ac_ct_AR" >&6; }
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7437 $as_echo "no" >&6; }
7441 test -n "$ac_ct_AR" && break
7444 if test "x$ac_ct_AR" = x; then
7447 case $cross_compiling:$ac_tool_warned in
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7451 ac_tool_warned=yes ;;
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7471 $as_echo_n "checking for archiver @FILE support... " >&6; }
7472 if ${lt_cv_ar_at_file+:} false; then :
7473 $as_echo_n "(cached) " >&6
7476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7477 /* end confdefs.h. */
7487 if ac_fn_c_try_compile "$LINENO"; then :
7488 echo conftest.$ac_objext > conftest.lst
7489 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7490 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7491 (eval $lt_ar_try) 2>&5
7493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7494 test $ac_status = 0; }
7495 if test "$ac_status" -eq 0; then
7496 # Ensure the archiver fails upon bogus file names.
7497 rm -f conftest.$ac_objext libconftest.a
7498 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7499 (eval $lt_ar_try) 2>&5
7501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7502 test $ac_status = 0; }
7503 if test "$ac_status" -ne 0; then
7507 rm -f conftest.* libconftest.a
7510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7514 $as_echo "$lt_cv_ar_at_file" >&6; }
7516 if test "x$lt_cv_ar_at_file" = xno; then
7519 archiver_list_spec=$lt_cv_ar_at_file
7528 if test -n "$ac_tool_prefix"; then
7529 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7530 set dummy ${ac_tool_prefix}strip; ac_word=$2
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532 $as_echo_n "checking for $ac_word... " >&6; }
7533 if ${ac_cv_prog_STRIP+:} false; then :
7534 $as_echo_n "(cached) " >&6
7536 if test -n "$STRIP"; then
7537 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7543 test -z "$as_dir" && as_dir=.
7544 for ac_exec_ext in '' $ac_executable_extensions; do
7545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7546 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7556 STRIP=$ac_cv_prog_STRIP
7557 if test -n "$STRIP"; then
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7559 $as_echo "$STRIP" >&6; }
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562 $as_echo "no" >&6; }
7567 if test -z "$ac_cv_prog_STRIP"; then
7569 # Extract the first word of "strip", so it can be a program name with args.
7570 set dummy strip; ac_word=$2
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7572 $as_echo_n "checking for $ac_word... " >&6; }
7573 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7574 $as_echo_n "(cached) " >&6
7576 if test -n "$ac_ct_STRIP"; then
7577 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7583 test -z "$as_dir" && as_dir=.
7584 for ac_exec_ext in '' $ac_executable_extensions; do
7585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7586 ac_cv_prog_ac_ct_STRIP="strip"
7587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7596 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7597 if test -n "$ac_ct_STRIP"; then
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7599 $as_echo "$ac_ct_STRIP" >&6; }
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7602 $as_echo "no" >&6; }
7605 if test "x$ac_ct_STRIP" = x; then
7608 case $cross_compiling:$ac_tool_warned in
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7612 ac_tool_warned=yes ;;
7617 STRIP="$ac_cv_prog_STRIP"
7620 test -z "$STRIP" && STRIP=:
7627 if test -n "$ac_tool_prefix"; then
7628 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7629 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7631 $as_echo_n "checking for $ac_word... " >&6; }
7632 if ${ac_cv_prog_RANLIB+:} false; then :
7633 $as_echo_n "(cached) " >&6
7635 if test -n "$RANLIB"; then
7636 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7642 test -z "$as_dir" && as_dir=.
7643 for ac_exec_ext in '' $ac_executable_extensions; do
7644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7645 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7655 RANLIB=$ac_cv_prog_RANLIB
7656 if test -n "$RANLIB"; then
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7658 $as_echo "$RANLIB" >&6; }
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7661 $as_echo "no" >&6; }
7666 if test -z "$ac_cv_prog_RANLIB"; then
7667 ac_ct_RANLIB=$RANLIB
7668 # Extract the first word of "ranlib", so it can be a program name with args.
7669 set dummy ranlib; ac_word=$2
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7671 $as_echo_n "checking for $ac_word... " >&6; }
7672 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7673 $as_echo_n "(cached) " >&6
7675 if test -n "$ac_ct_RANLIB"; then
7676 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7682 test -z "$as_dir" && as_dir=.
7683 for ac_exec_ext in '' $ac_executable_extensions; do
7684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7685 ac_cv_prog_ac_ct_RANLIB="ranlib"
7686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7695 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7696 if test -n "$ac_ct_RANLIB"; then
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7698 $as_echo "$ac_ct_RANLIB" >&6; }
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7701 $as_echo "no" >&6; }
7704 if test "x$ac_ct_RANLIB" = x; then
7707 case $cross_compiling:$ac_tool_warned in
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7711 ac_tool_warned=yes ;;
7713 RANLIB=$ac_ct_RANLIB
7716 RANLIB="$ac_cv_prog_RANLIB"
7719 test -z "$RANLIB" && RANLIB=:
7726 # Determine commands to create old-style static archives.
7727 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7728 old_postinstall_cmds='chmod 644 $oldlib'
7729 old_postuninstall_cmds=
7731 if test -n "$RANLIB"; then
7734 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7737 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7740 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7745 lock_old_archive_extraction=yes ;;
7747 lock_old_archive_extraction=no ;;
7788 # If no C compiler was specified, use CC.
7791 # If no C compiler flags were specified, use CFLAGS.
7792 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7794 # Allow CC to be a program name with arguments.
7798 # Check for command to grab the raw symbol name followed by C symbol from nm.
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7800 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7801 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7802 $as_echo_n "(cached) " >&6
7805 # These are sane defaults that work on at least a few old systems.
7806 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7808 # Character class describing NM global symbol codes.
7809 symcode='[BCDEGRST]'
7811 # Regexp to match symbols that can be accessed directly from C.
7812 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7814 # Define system-specific variables.
7819 cygwin* | mingw* | pw32* | cegcc*)
7820 symcode='[ABCDGISTW]'
7823 if test "$host_cpu" = ia64; then
7824 symcode='[ABCDEGRST]'
7828 symcode='[BCDEGRST]'
7831 symcode='[BCDEGQRST]'
7842 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7850 # If we're using GNU nm, then use its standard symbol codes.
7851 case `$NM -V 2>&1` in
7852 *GNU* | *'with BFD'*)
7853 symcode='[ABCDGIRSTW]' ;;
7856 # Transform an extracted symbol line into a proper C declaration.
7857 # Some systems (esp. on ia64) link data and code symbols differently,
7858 # so use this general approach.
7859 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7861 # Transform an extracted symbol line into symbol name and symbol address
7862 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7863 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'"
7865 # Handle CRLF in mingw tool chain
7869 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7873 # Try without a prefix underscore, then with it.
7874 for ac_symprfx in "" "_"; do
7876 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7877 symxfrm="\\1 $ac_symprfx\\2 \\2"
7879 # Write the raw and C identifiers.
7880 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7881 # Fake it for dumpbin and say T for any non-static function
7882 # and D for any global variable.
7883 # Also find C++ and __fastcall symbols from MSVC++,
7884 # which start with @ or ?.
7885 lt_cv_sys_global_symbol_pipe="$AWK '"\
7886 " {last_section=section; section=\$ 3};"\
7887 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7888 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7889 " \$ 0!~/External *\|/{next};"\
7890 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7891 " {if(hide[section]) next};"\
7892 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7893 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7894 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7895 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7896 " ' prfx=^$ac_symprfx"
7898 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7900 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7902 # Check to see that the pipe works correctly.
7906 cat > conftest.$ac_ext <<_LT_EOF
7911 void nm_test_func(void);
7912 void nm_test_func(void){}
7916 int main(){nm_test_var='a';nm_test_func();return(0);}
7919 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7920 (eval $ac_compile) 2>&5
7922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7923 test $ac_status = 0; }; then
7924 # Now try to grab the symbols.
7926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7927 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7930 test $ac_status = 0; } && test -s "$nlist"; then
7931 # Try sorting and uniquifying the output.
7932 if sort "$nlist" | uniq > "$nlist"T; then
7933 mv -f "$nlist"T "$nlist"
7938 # Make sure that we snagged all the symbols we need.
7939 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7940 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7941 cat <<_LT_EOF > conftest.$ac_ext
7942 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7943 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7944 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7945 relocations are performed -- see ld's documentation on pseudo-relocs. */
7946 # define LT_DLSYM_CONST
7947 #elif defined(__osf__)
7948 /* This system does not cope well with relocations in const data. */
7949 # define LT_DLSYM_CONST
7951 # define LT_DLSYM_CONST const
7959 # Now generate the symbol file.
7960 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7962 cat <<_LT_EOF >> conftest.$ac_ext
7964 /* The mapping between symbol names and symbols. */
7965 LT_DLSYM_CONST struct {
7969 lt__PROGRAM__LTX_preloaded_symbols[] =
7971 { "@PROGRAM@", (void *) 0 },
7973 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7974 cat <<\_LT_EOF >> conftest.$ac_ext
7978 /* This works around a problem in FreeBSD linker */
7979 #ifdef FREEBSD_WORKAROUND
7980 static const void *lt_preloaded_setup() {
7981 return lt__PROGRAM__LTX_preloaded_symbols;
7989 # Now try linking the two files.
7990 mv conftest.$ac_objext conftstm.$ac_objext
7991 lt_globsym_save_LIBS=$LIBS
7992 lt_globsym_save_CFLAGS=$CFLAGS
7993 LIBS="conftstm.$ac_objext"
7994 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7996 (eval $ac_link) 2>&5
7998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7999 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8002 LIBS=$lt_globsym_save_LIBS
8003 CFLAGS=$lt_globsym_save_CFLAGS
8005 echo "cannot find nm_test_func in $nlist" >&5
8008 echo "cannot find nm_test_var in $nlist" >&5
8011 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8014 echo "$progname: failed program was:" >&5
8015 cat conftest.$ac_ext >&5
8017 rm -rf conftest* conftst*
8019 # Do not use the global_symbol_pipe unless it works.
8020 if test "$pipe_works" = yes; then
8023 lt_cv_sys_global_symbol_pipe=
8029 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8030 lt_cv_sys_global_symbol_to_cdecl=
8032 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8034 $as_echo "failed" >&6; }
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8037 $as_echo "ok" >&6; }
8040 # Response file support.
8041 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8042 nm_file_list_spec='@'
8043 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8044 nm_file_list_spec='@'
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8074 $as_echo_n "checking for sysroot... " >&6; }
8076 # Check whether --with-sysroot was given.
8077 if test "${with_sysroot+set}" = set; then :
8078 withval=$with_sysroot;
8085 case ${with_sysroot} in #(
8087 if test "$GCC" = yes; then
8088 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8092 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8098 $as_echo "${with_sysroot}" >&6; }
8099 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8104 $as_echo "${lt_sysroot:-no}" >&6; }
8110 # Check whether --enable-libtool-lock was given.
8111 if test "${enable_libtool_lock+set}" = set; then :
8112 enableval=$enable_libtool_lock;
8115 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8117 # Some flags need to be propagated to the compiler or linker for good
8121 # Find out which ABI we are using.
8122 echo 'int i;' > conftest.$ac_ext
8123 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8124 (eval $ac_compile) 2>&5
8126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8127 test $ac_status = 0; }; then
8128 case `/usr/bin/file conftest.$ac_objext` in
8140 # Find out which ABI we are using.
8141 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8142 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8143 (eval $ac_compile) 2>&5
8145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8146 test $ac_status = 0; }; then
8147 if test "$lt_cv_prog_gnu_ld" = yes; then
8148 case `/usr/bin/file conftest.$ac_objext` in
8150 LD="${LD-ld} -melf32bsmip"
8153 LD="${LD-ld} -melf32bmipn32"
8156 LD="${LD-ld} -melf64bmip"
8160 case `/usr/bin/file conftest.$ac_objext` in
8176 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8177 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8178 # Find out which ABI we are using.
8179 echo 'int i;' > conftest.$ac_ext
8180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8181 (eval $ac_compile) 2>&5
8183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8184 test $ac_status = 0; }; then
8185 case `/usr/bin/file conftest.o` in
8188 x86_64-*kfreebsd*-gnu)
8189 LD="${LD-ld} -m elf_i386_fbsd"
8192 LD="${LD-ld} -m elf_i386"
8194 ppc64-*linux*|powerpc64-*linux*)
8195 LD="${LD-ld} -m elf32ppclinux"
8198 LD="${LD-ld} -m elf_s390"
8201 LD="${LD-ld} -m elf32_sparc"
8207 x86_64-*kfreebsd*-gnu)
8208 LD="${LD-ld} -m elf_x86_64_fbsd"
8211 LD="${LD-ld} -m elf_x86_64"
8213 ppc*-*linux*|powerpc*-*linux*)
8214 LD="${LD-ld} -m elf64ppc"
8216 s390*-*linux*|s390*-*tpf*)
8217 LD="${LD-ld} -m elf64_s390"
8220 LD="${LD-ld} -m elf64_sparc"
8230 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8231 SAVE_CFLAGS="$CFLAGS"
8232 CFLAGS="$CFLAGS -belf"
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8234 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8235 if ${lt_cv_cc_needs_belf+:} false; then :
8236 $as_echo_n "(cached) " >&6
8239 ac_cpp='$CPP $CPPFLAGS'
8240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8245 /* end confdefs.h. */
8255 if ac_fn_c_try_link "$LINENO"; then :
8256 lt_cv_cc_needs_belf=yes
8258 lt_cv_cc_needs_belf=no
8260 rm -f core conftest.err conftest.$ac_objext \
8261 conftest$ac_exeext conftest.$ac_ext
8263 ac_cpp='$CPP $CPPFLAGS'
8264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8270 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8271 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8272 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8273 CFLAGS="$SAVE_CFLAGS"
8277 # Find out which ABI we are using.
8278 echo 'int i;' > conftest.$ac_ext
8279 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8280 (eval $ac_compile) 2>&5
8282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8283 test $ac_status = 0; }; then
8284 case `/usr/bin/file conftest.o` in
8286 case $lt_cv_prog_gnu_ld in
8290 LD="${LD-ld} -m elf_x86_64"
8293 LD="${LD-ld} -m elf64_sparc"
8296 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8297 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8302 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8314 need_locks="$enable_libtool_lock"
8316 if test -n "$ac_tool_prefix"; then
8317 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8318 set dummy ${ac_tool_prefix}mt; ac_word=$2
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8320 $as_echo_n "checking for $ac_word... " >&6; }
8321 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8322 $as_echo_n "(cached) " >&6
8324 if test -n "$MANIFEST_TOOL"; then
8325 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8331 test -z "$as_dir" && as_dir=.
8332 for ac_exec_ext in '' $ac_executable_extensions; do
8333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8334 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8344 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8345 if test -n "$MANIFEST_TOOL"; then
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8347 $as_echo "$MANIFEST_TOOL" >&6; }
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8350 $as_echo "no" >&6; }
8355 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8356 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8357 # Extract the first word of "mt", so it can be a program name with args.
8358 set dummy mt; ac_word=$2
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8360 $as_echo_n "checking for $ac_word... " >&6; }
8361 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8362 $as_echo_n "(cached) " >&6
8364 if test -n "$ac_ct_MANIFEST_TOOL"; then
8365 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8371 test -z "$as_dir" && as_dir=.
8372 for ac_exec_ext in '' $ac_executable_extensions; do
8373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8374 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8384 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8385 if test -n "$ac_ct_MANIFEST_TOOL"; then
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8387 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8390 $as_echo "no" >&6; }
8393 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8396 case $cross_compiling:$ac_tool_warned in
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8400 ac_tool_warned=yes ;;
8402 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8405 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8408 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8410 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8411 if ${lt_cv_path_mainfest_tool+:} false; then :
8412 $as_echo_n "(cached) " >&6
8414 lt_cv_path_mainfest_tool=no
8415 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8416 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8417 cat conftest.err >&5
8418 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8419 lt_cv_path_mainfest_tool=yes
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8424 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8425 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8435 rhapsody* | darwin*)
8436 if test -n "$ac_tool_prefix"; then
8437 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8438 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8440 $as_echo_n "checking for $ac_word... " >&6; }
8441 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8442 $as_echo_n "(cached) " >&6
8444 if test -n "$DSYMUTIL"; then
8445 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8451 test -z "$as_dir" && as_dir=.
8452 for ac_exec_ext in '' $ac_executable_extensions; do
8453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8454 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8464 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8465 if test -n "$DSYMUTIL"; then
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8467 $as_echo "$DSYMUTIL" >&6; }
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470 $as_echo "no" >&6; }
8475 if test -z "$ac_cv_prog_DSYMUTIL"; then
8476 ac_ct_DSYMUTIL=$DSYMUTIL
8477 # Extract the first word of "dsymutil", so it can be a program name with args.
8478 set dummy dsymutil; ac_word=$2
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8480 $as_echo_n "checking for $ac_word... " >&6; }
8481 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8482 $as_echo_n "(cached) " >&6
8484 if test -n "$ac_ct_DSYMUTIL"; then
8485 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8491 test -z "$as_dir" && as_dir=.
8492 for ac_exec_ext in '' $ac_executable_extensions; do
8493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8494 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8504 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8505 if test -n "$ac_ct_DSYMUTIL"; then
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8507 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8510 $as_echo "no" >&6; }
8513 if test "x$ac_ct_DSYMUTIL" = x; then
8516 case $cross_compiling:$ac_tool_warned in
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8520 ac_tool_warned=yes ;;
8522 DSYMUTIL=$ac_ct_DSYMUTIL
8525 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8528 if test -n "$ac_tool_prefix"; then
8529 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8530 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8532 $as_echo_n "checking for $ac_word... " >&6; }
8533 if ${ac_cv_prog_NMEDIT+:} false; then :
8534 $as_echo_n "(cached) " >&6
8536 if test -n "$NMEDIT"; then
8537 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8543 test -z "$as_dir" && as_dir=.
8544 for ac_exec_ext in '' $ac_executable_extensions; do
8545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8546 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8556 NMEDIT=$ac_cv_prog_NMEDIT
8557 if test -n "$NMEDIT"; then
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8559 $as_echo "$NMEDIT" >&6; }
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8562 $as_echo "no" >&6; }
8567 if test -z "$ac_cv_prog_NMEDIT"; then
8568 ac_ct_NMEDIT=$NMEDIT
8569 # Extract the first word of "nmedit", so it can be a program name with args.
8570 set dummy nmedit; ac_word=$2
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8572 $as_echo_n "checking for $ac_word... " >&6; }
8573 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8574 $as_echo_n "(cached) " >&6
8576 if test -n "$ac_ct_NMEDIT"; then
8577 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8583 test -z "$as_dir" && as_dir=.
8584 for ac_exec_ext in '' $ac_executable_extensions; do
8585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8586 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8596 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8597 if test -n "$ac_ct_NMEDIT"; then
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8599 $as_echo "$ac_ct_NMEDIT" >&6; }
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8602 $as_echo "no" >&6; }
8605 if test "x$ac_ct_NMEDIT" = x; then
8608 case $cross_compiling:$ac_tool_warned in
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8612 ac_tool_warned=yes ;;
8614 NMEDIT=$ac_ct_NMEDIT
8617 NMEDIT="$ac_cv_prog_NMEDIT"
8620 if test -n "$ac_tool_prefix"; then
8621 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8622 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8624 $as_echo_n "checking for $ac_word... " >&6; }
8625 if ${ac_cv_prog_LIPO+:} false; then :
8626 $as_echo_n "(cached) " >&6
8628 if test -n "$LIPO"; then
8629 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8635 test -z "$as_dir" && as_dir=.
8636 for ac_exec_ext in '' $ac_executable_extensions; do
8637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8638 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8648 LIPO=$ac_cv_prog_LIPO
8649 if test -n "$LIPO"; then
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8651 $as_echo "$LIPO" >&6; }
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8654 $as_echo "no" >&6; }
8659 if test -z "$ac_cv_prog_LIPO"; then
8661 # Extract the first word of "lipo", so it can be a program name with args.
8662 set dummy lipo; ac_word=$2
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8664 $as_echo_n "checking for $ac_word... " >&6; }
8665 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8666 $as_echo_n "(cached) " >&6
8668 if test -n "$ac_ct_LIPO"; then
8669 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8675 test -z "$as_dir" && as_dir=.
8676 for ac_exec_ext in '' $ac_executable_extensions; do
8677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8678 ac_cv_prog_ac_ct_LIPO="lipo"
8679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8688 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8689 if test -n "$ac_ct_LIPO"; then
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8691 $as_echo "$ac_ct_LIPO" >&6; }
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8694 $as_echo "no" >&6; }
8697 if test "x$ac_ct_LIPO" = x; then
8700 case $cross_compiling:$ac_tool_warned in
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8704 ac_tool_warned=yes ;;
8709 LIPO="$ac_cv_prog_LIPO"
8712 if test -n "$ac_tool_prefix"; then
8713 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8714 set dummy ${ac_tool_prefix}otool; ac_word=$2
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8716 $as_echo_n "checking for $ac_word... " >&6; }
8717 if ${ac_cv_prog_OTOOL+:} false; then :
8718 $as_echo_n "(cached) " >&6
8720 if test -n "$OTOOL"; then
8721 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8727 test -z "$as_dir" && as_dir=.
8728 for ac_exec_ext in '' $ac_executable_extensions; do
8729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8730 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8740 OTOOL=$ac_cv_prog_OTOOL
8741 if test -n "$OTOOL"; then
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8743 $as_echo "$OTOOL" >&6; }
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8746 $as_echo "no" >&6; }
8751 if test -z "$ac_cv_prog_OTOOL"; then
8753 # Extract the first word of "otool", so it can be a program name with args.
8754 set dummy otool; ac_word=$2
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8756 $as_echo_n "checking for $ac_word... " >&6; }
8757 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8758 $as_echo_n "(cached) " >&6
8760 if test -n "$ac_ct_OTOOL"; then
8761 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8767 test -z "$as_dir" && as_dir=.
8768 for ac_exec_ext in '' $ac_executable_extensions; do
8769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8770 ac_cv_prog_ac_ct_OTOOL="otool"
8771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8780 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8781 if test -n "$ac_ct_OTOOL"; then
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8783 $as_echo "$ac_ct_OTOOL" >&6; }
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8786 $as_echo "no" >&6; }
8789 if test "x$ac_ct_OTOOL" = x; then
8792 case $cross_compiling:$ac_tool_warned in
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8796 ac_tool_warned=yes ;;
8801 OTOOL="$ac_cv_prog_OTOOL"
8804 if test -n "$ac_tool_prefix"; then
8805 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8806 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8808 $as_echo_n "checking for $ac_word... " >&6; }
8809 if ${ac_cv_prog_OTOOL64+:} false; then :
8810 $as_echo_n "(cached) " >&6
8812 if test -n "$OTOOL64"; then
8813 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8819 test -z "$as_dir" && as_dir=.
8820 for ac_exec_ext in '' $ac_executable_extensions; do
8821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8822 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8832 OTOOL64=$ac_cv_prog_OTOOL64
8833 if test -n "$OTOOL64"; then
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8835 $as_echo "$OTOOL64" >&6; }
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8838 $as_echo "no" >&6; }
8843 if test -z "$ac_cv_prog_OTOOL64"; then
8844 ac_ct_OTOOL64=$OTOOL64
8845 # Extract the first word of "otool64", so it can be a program name with args.
8846 set dummy otool64; ac_word=$2
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8848 $as_echo_n "checking for $ac_word... " >&6; }
8849 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8850 $as_echo_n "(cached) " >&6
8852 if test -n "$ac_ct_OTOOL64"; then
8853 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8859 test -z "$as_dir" && as_dir=.
8860 for ac_exec_ext in '' $ac_executable_extensions; do
8861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8862 ac_cv_prog_ac_ct_OTOOL64="otool64"
8863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8872 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8873 if test -n "$ac_ct_OTOOL64"; then
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8875 $as_echo "$ac_ct_OTOOL64" >&6; }
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8878 $as_echo "no" >&6; }
8881 if test "x$ac_ct_OTOOL64" = x; then
8884 case $cross_compiling:$ac_tool_warned in
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8888 ac_tool_warned=yes ;;
8890 OTOOL64=$ac_ct_OTOOL64
8893 OTOOL64="$ac_cv_prog_OTOOL64"
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8923 $as_echo_n "checking for -single_module linker flag... " >&6; }
8924 if ${lt_cv_apple_cc_single_mod+:} false; then :
8925 $as_echo_n "(cached) " >&6
8927 lt_cv_apple_cc_single_mod=no
8928 if test -z "${LT_MULTI_MODULE}"; then
8929 # By default we will add the -single_module flag. You can override
8930 # by either setting the environment variable LT_MULTI_MODULE
8931 # non-empty at configure time, or by adding -multi_module to the
8933 rm -rf libconftest.dylib*
8934 echo "int foo(void){return 1;}" > conftest.c
8935 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8936 -dynamiclib -Wl,-single_module conftest.c" >&5
8937 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8938 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8940 # If there is a non-empty error log, and "single_module"
8941 # appears in it, assume the flag caused a linker warning
8942 if test -s conftest.err && $GREP single_module conftest.err; then
8943 cat conftest.err >&5
8944 # Otherwise, if the output was created with a 0 exit code from
8945 # the compiler, it worked.
8946 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8947 lt_cv_apple_cc_single_mod=yes
8949 cat conftest.err >&5
8951 rm -rf libconftest.dylib*
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8956 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8959 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8960 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8961 $as_echo_n "(cached) " >&6
8963 lt_cv_ld_exported_symbols_list=no
8964 save_LDFLAGS=$LDFLAGS
8965 echo "_main" > conftest.sym
8966 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8968 /* end confdefs.h. */
8978 if ac_fn_c_try_link "$LINENO"; then :
8979 lt_cv_ld_exported_symbols_list=yes
8981 lt_cv_ld_exported_symbols_list=no
8983 rm -f core conftest.err conftest.$ac_objext \
8984 conftest$ac_exeext conftest.$ac_ext
8985 LDFLAGS="$save_LDFLAGS"
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8989 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8992 $as_echo_n "checking for -force_load linker flag... " >&6; }
8993 if ${lt_cv_ld_force_load+:} false; then :
8994 $as_echo_n "(cached) " >&6
8996 lt_cv_ld_force_load=no
8997 cat > conftest.c << _LT_EOF
8998 int forced_loaded() { return 2;}
9000 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9001 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9002 echo "$AR cru libconftest.a conftest.o" >&5
9003 $AR cru libconftest.a conftest.o 2>&5
9004 echo "$RANLIB libconftest.a" >&5
9005 $RANLIB libconftest.a 2>&5
9006 cat > conftest.c << _LT_EOF
9007 int main() { return 0;}
9009 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9010 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9012 if test -s conftest.err && $GREP force_load conftest.err; then
9013 cat conftest.err >&5
9014 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9015 lt_cv_ld_force_load=yes
9017 cat conftest.err >&5
9019 rm -f conftest.err libconftest.a conftest conftest.c
9020 rm -rf conftest.dSYM
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9024 $as_echo "$lt_cv_ld_force_load" >&6; }
9026 rhapsody* | darwin1.[012])
9027 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9029 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9030 darwin*) # darwin 5.x on
9031 # if running on 10.5 or later, the deployment target defaults
9032 # to the OS version, if on x86, and 10.4, the deployment
9033 # target defaults to 10.4. Don't you love it?
9034 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9035 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9036 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9038 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9040 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9044 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9045 _lt_dar_single_mod='$single_module'
9047 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9048 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9050 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9052 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9053 _lt_dsymutil='~$DSYMUTIL $lib || :'
9060 for ac_header in dlfcn.h
9062 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9064 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9065 cat >>confdefs.h <<_ACEOF
9066 #define HAVE_DLFCN_H 1
9075 func_stripname_cnf ()
9078 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
9079 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
9081 } # func_stripname_cnf
9095 # Check whether --enable-shared was given.
9096 if test "${enable_shared+set}" = set; then :
9097 enableval=$enable_shared; p=${PACKAGE-default}
9099 yes) enable_shared=yes ;;
9100 no) enable_shared=no ;;
9103 # Look at the argument we got. We use all the common list separators.
9104 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9105 for pkg in $enableval; do
9107 if test "X$pkg" = "X$p"; then
9128 # Check whether --with-pic was given.
9129 if test "${with_pic+set}" = set; then :
9130 withval=$with_pic; lt_p=${PACKAGE-default}
9132 yes|no) pic_mode=$withval ;;
9135 # Look at the argument we got. We use all the common list separators.
9136 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9137 for lt_pkg in $withval; do
9139 if test "X$lt_pkg" = "X$lt_p"; then
9151 test -z "$pic_mode" && pic_mode=default
9159 # Check whether --enable-fast-install was given.
9160 if test "${enable_fast_install+set}" = set; then :
9161 enableval=$enable_fast_install; p=${PACKAGE-default}
9163 yes) enable_fast_install=yes ;;
9164 no) enable_fast_install=no ;;
9166 enable_fast_install=no
9167 # Look at the argument we got. We use all the common list separators.
9168 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9169 for pkg in $enableval; do
9171 if test "X$pkg" = "X$p"; then
9172 enable_fast_install=yes
9179 enable_fast_install=yes
9192 # This can be used to rebuild libtool when needed
9193 LIBTOOL_DEPS="$ltmain"
9195 # Always use our own libtool.
9196 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9227 test -z "$LN_S" && LN_S="ln -s"
9242 if test -n "${ZSH_VERSION+set}" ; then
9243 setopt NO_GLOB_SUBST
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9247 $as_echo_n "checking for objdir... " >&6; }
9248 if ${lt_cv_objdir+:} false; then :
9249 $as_echo_n "(cached) " >&6
9251 rm -f .libs 2>/dev/null
9252 mkdir .libs 2>/dev/null
9253 if test -d .libs; then
9256 # MS-DOS does not allow filenames that begin with a dot.
9259 rmdir .libs 2>/dev/null
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9262 $as_echo "$lt_cv_objdir" >&6; }
9263 objdir=$lt_cv_objdir
9269 cat >>confdefs.h <<_ACEOF
9270 #define LT_OBJDIR "$lt_cv_objdir/"
9278 # AIX sometimes has problems with the GCC collect2 program. For some
9279 # reason, if we set the COLLECT_NAMES environment variable, the problems
9280 # vanish in a puff of smoke.
9281 if test "X${COLLECT_NAMES+set}" != Xset; then
9283 export COLLECT_NAMES
9290 can_build_shared=yes
9292 # All known linkers require a `.a' archive for static linking (except MSVC,
9293 # which needs '.lib').
9296 with_gnu_ld="$lt_cv_prog_gnu_ld"
9299 old_CFLAGS="$CFLAGS"
9301 # Set sane defaults for various variables
9302 test -z "$CC" && CC=cc
9303 test -z "$LTCC" && LTCC=$CC
9304 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9305 test -z "$LD" && LD=ld
9306 test -z "$ac_objext" && ac_objext=o
9308 for cc_temp in $compiler""; do
9310 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9311 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9316 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9319 # Only perform the check for file, if the check method requires it
9320 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9321 case $deplibs_check_method in
9323 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9325 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9326 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9327 $as_echo_n "(cached) " >&6
9331 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9334 lt_save_MAGIC_CMD="$MAGIC_CMD"
9335 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9336 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9337 for ac_dir in $ac_dummy; do
9339 test -z "$ac_dir" && ac_dir=.
9340 if test -f $ac_dir/${ac_tool_prefix}file; then
9341 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9342 if test -n "$file_magic_test_file"; then
9343 case $deplibs_check_method in
9345 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9346 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9347 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9348 $EGREP "$file_magic_regex" > /dev/null; then
9353 *** Warning: the command libtool uses to detect shared libraries,
9354 *** $file_magic_cmd, produces output that libtool cannot recognize.
9355 *** The result is that libtool may fail to recognize shared libraries
9356 *** as such. This will affect the creation of libtool libraries that
9357 *** depend on shared libraries, but programs linked with such libtool
9358 *** libraries will work regardless of this problem. Nevertheless, you
9359 *** may want to report the problem to your system manager and/or to
9360 *** bug-libtool@gnu.org
9370 MAGIC_CMD="$lt_save_MAGIC_CMD"
9375 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9376 if test -n "$MAGIC_CMD"; then
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9378 $as_echo "$MAGIC_CMD" >&6; }
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9381 $as_echo "no" >&6; }
9388 if test -z "$lt_cv_path_MAGIC_CMD"; then
9389 if test -n "$ac_tool_prefix"; then
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9391 $as_echo_n "checking for file... " >&6; }
9392 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9393 $as_echo_n "(cached) " >&6
9397 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9400 lt_save_MAGIC_CMD="$MAGIC_CMD"
9401 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9402 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9403 for ac_dir in $ac_dummy; do
9405 test -z "$ac_dir" && ac_dir=.
9406 if test -f $ac_dir/file; then
9407 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9408 if test -n "$file_magic_test_file"; then
9409 case $deplibs_check_method in
9411 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9412 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9413 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9414 $EGREP "$file_magic_regex" > /dev/null; then
9419 *** Warning: the command libtool uses to detect shared libraries,
9420 *** $file_magic_cmd, produces output that libtool cannot recognize.
9421 *** The result is that libtool may fail to recognize shared libraries
9422 *** as such. This will affect the creation of libtool libraries that
9423 *** depend on shared libraries, but programs linked with such libtool
9424 *** libraries will work regardless of this problem. Nevertheless, you
9425 *** may want to report the problem to your system manager and/or to
9426 *** bug-libtool@gnu.org
9436 MAGIC_CMD="$lt_save_MAGIC_CMD"
9441 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9442 if test -n "$MAGIC_CMD"; then
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9444 $as_echo "$MAGIC_CMD" >&6; }
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9447 $as_echo "no" >&6; }
9460 # Use C for the default configuration in the libtool script
9464 ac_cpp='$CPP $CPPFLAGS'
9465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9470 # Source file extension for C test sources.
9473 # Object file extension for compiled C test sources.
9477 # Code to be used in simple compile tests
9478 lt_simple_compile_test_code="int some_variable = 0;"
9480 # Code to be used in simple link tests
9481 lt_simple_link_test_code='int main(){return(0);}'
9489 # If no C compiler was specified, use CC.
9492 # If no C compiler flags were specified, use CFLAGS.
9493 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9495 # Allow CC to be a program name with arguments.
9498 # Save the default compiler, since it gets overwritten when the other
9499 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9500 compiler_DEFAULT=$CC
9502 # save warnings/boilerplate of simple test code
9503 ac_outfile=conftest.$ac_objext
9504 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9505 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9506 _lt_compiler_boilerplate=`cat conftest.err`
9509 ac_outfile=conftest.$ac_objext
9510 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9511 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9512 _lt_linker_boilerplate=`cat conftest.err`
9516 if test -n "$compiler"; then
9518 lt_prog_compiler_no_builtin_flag=
9520 if test "$GCC" = yes; then
9521 case $cc_basename in
9523 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9525 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9529 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9530 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9531 $as_echo_n "(cached) " >&6
9533 lt_cv_prog_compiler_rtti_exceptions=no
9534 ac_outfile=conftest.$ac_objext
9535 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9536 lt_compiler_flag="-fno-rtti -fno-exceptions"
9537 # Insert the option either (1) after the last *FLAGS variable, or
9538 # (2) before a word containing "conftest.", or (3) at the end.
9539 # Note that $ac_compile itself does not contain backslashes and begins
9540 # with a dollar sign (not a hyphen), so the echo should work correctly.
9541 # The option is referenced via a variable to avoid confusing sed.
9542 lt_compile=`echo "$ac_compile" | $SED \
9543 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9544 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9545 -e 's:$: $lt_compiler_flag:'`
9546 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9547 (eval "$lt_compile" 2>conftest.err)
9549 cat conftest.err >&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 if (exit $ac_status) && test -s "$ac_outfile"; then
9552 # The compiler can only warn and ignore the option if not recognized
9553 # So say no if there are warnings other than the usual output.
9554 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9555 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9556 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9557 lt_cv_prog_compiler_rtti_exceptions=yes
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9564 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9566 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9567 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9579 lt_prog_compiler_wl=
9580 lt_prog_compiler_pic=
9581 lt_prog_compiler_static=
9584 if test "$GCC" = yes; then
9585 lt_prog_compiler_wl='-Wl,'
9586 lt_prog_compiler_static='-static'
9590 # All AIX code is PIC.
9591 if test "$host_cpu" = ia64; then
9592 # AIX 5 now supports IA64 processor
9593 lt_prog_compiler_static='-Bstatic'
9600 # see comment about AmigaOS4 .so support
9601 lt_prog_compiler_pic='-fPIC'
9604 # FIXME: we need at least 68020 code to build shared libraries, but
9605 # adding the `-m68020' flag to GCC prevents building anything better,
9607 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9612 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9613 # PIC is the default for these OSes.
9616 mingw* | cygwin* | pw32* | os2* | cegcc*)
9617 # This hack is so that the source file can tell whether it is being
9618 # built for inclusion in a dll (and should export symbols for example).
9619 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9620 # (--disable-auto-import) libraries
9621 lt_prog_compiler_pic='-DDLL_EXPORT'
9624 darwin* | rhapsody*)
9625 # PIC is the default on this platform
9626 # Common symbols not allowed in MH_DYLIB files
9627 lt_prog_compiler_pic='-fno-common'
9631 # PIC is the default for Haiku.
9632 # The "-static" flag exists, but is broken.
9633 lt_prog_compiler_static=
9637 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9638 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9639 # sets the default TLS model and affects inlining.
9645 lt_prog_compiler_pic='-fPIC'
9651 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9652 # Instead, we relocate shared libraries at runtime.
9656 # Just because we use GCC doesn't mean we suddenly get shared libraries
9657 # on systems that don't support them.
9658 lt_prog_compiler_can_build_shared=no
9663 # QNX uses GNU C++, but need to define -shared option too, otherwise
9665 lt_prog_compiler_pic='-fPIC -shared'
9669 if test -d /usr/nec; then
9670 lt_prog_compiler_pic=-Kconform_pic
9675 lt_prog_compiler_pic='-fPIC'
9679 case $cc_basename in
9680 nvcc*) # Cuda Compiler Driver 2.2
9681 lt_prog_compiler_wl='-Xlinker '
9682 if test -n "$lt_prog_compiler_pic"; then
9683 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9688 # PORTME Check for flag to pass linker flags through the system compiler.
9691 lt_prog_compiler_wl='-Wl,'
9692 if test "$host_cpu" = ia64; then
9693 # AIX 5 now supports IA64 processor
9694 lt_prog_compiler_static='-Bstatic'
9696 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9700 mingw* | cygwin* | pw32* | os2* | cegcc*)
9701 # This hack is so that the source file can tell whether it is being
9702 # built for inclusion in a dll (and should export symbols for example).
9703 lt_prog_compiler_pic='-DDLL_EXPORT'
9706 hpux9* | hpux10* | hpux11*)
9707 lt_prog_compiler_wl='-Wl,'
9708 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9715 lt_prog_compiler_pic='+Z'
9718 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9719 lt_prog_compiler_static='${wl}-a ${wl}archive'
9722 irix5* | irix6* | nonstopux*)
9723 lt_prog_compiler_wl='-Wl,'
9724 # PIC (with -KPIC) is the default.
9725 lt_prog_compiler_static='-non_shared'
9728 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9729 case $cc_basename in
9730 # old Intel for x86_64 which still supported -KPIC.
9732 lt_prog_compiler_wl='-Wl,'
9733 lt_prog_compiler_pic='-KPIC'
9734 lt_prog_compiler_static='-static'
9736 # icc used to be incompatible with GCC.
9737 # ICC 10 doesn't accept -KPIC any more.
9739 lt_prog_compiler_wl='-Wl,'
9740 lt_prog_compiler_pic='-fPIC'
9741 lt_prog_compiler_static='-static'
9743 # Lahey Fortran 8.1.
9745 lt_prog_compiler_wl='-Wl,'
9746 lt_prog_compiler_pic='--shared'
9747 lt_prog_compiler_static='--static'
9750 # NAG Fortran compiler
9751 lt_prog_compiler_wl='-Wl,-Wl,,'
9752 lt_prog_compiler_pic='-PIC'
9753 lt_prog_compiler_static='-Bstatic'
9755 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9756 # Portland Group compilers (*not* the Pentium gcc compiler,
9757 # which looks to be a dead project)
9758 lt_prog_compiler_wl='-Wl,'
9759 lt_prog_compiler_pic='-fpic'
9760 lt_prog_compiler_static='-Bstatic'
9763 lt_prog_compiler_wl='-Wl,'
9764 # All Alpha code is PIC.
9765 lt_prog_compiler_static='-non_shared'
9767 xl* | bgxl* | bgf* | mpixl*)
9768 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9769 lt_prog_compiler_wl='-Wl,'
9770 lt_prog_compiler_pic='-qpic'
9771 lt_prog_compiler_static='-qstaticlink'
9774 case `$CC -V 2>&1 | sed 5q` in
9775 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9776 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9777 lt_prog_compiler_pic='-KPIC'
9778 lt_prog_compiler_static='-Bstatic'
9779 lt_prog_compiler_wl=''
9781 *Sun\ F* | *Sun*Fortran*)
9782 lt_prog_compiler_pic='-KPIC'
9783 lt_prog_compiler_static='-Bstatic'
9784 lt_prog_compiler_wl='-Qoption ld '
9788 lt_prog_compiler_pic='-KPIC'
9789 lt_prog_compiler_static='-Bstatic'
9790 lt_prog_compiler_wl='-Wl,'
9792 *Intel*\ [CF]*Compiler*)
9793 lt_prog_compiler_wl='-Wl,'
9794 lt_prog_compiler_pic='-fPIC'
9795 lt_prog_compiler_static='-static'
9798 lt_prog_compiler_wl='-Wl,'
9799 lt_prog_compiler_pic='-fpic'
9800 lt_prog_compiler_static='-Bstatic'
9808 lt_prog_compiler_pic='-KPIC'
9809 lt_prog_compiler_static='-Bstatic'
9813 # QNX uses GNU C++, but need to define -shared option too, otherwise
9815 lt_prog_compiler_pic='-fPIC -shared'
9818 osf3* | osf4* | osf5*)
9819 lt_prog_compiler_wl='-Wl,'
9820 # All OSF/1 code is PIC.
9821 lt_prog_compiler_static='-non_shared'
9825 lt_prog_compiler_static='-non_shared'
9829 lt_prog_compiler_pic='-KPIC'
9830 lt_prog_compiler_static='-Bstatic'
9831 case $cc_basename in
9832 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9833 lt_prog_compiler_wl='-Qoption ld ';;
9835 lt_prog_compiler_wl='-Wl,';;
9840 lt_prog_compiler_wl='-Qoption ld '
9841 lt_prog_compiler_pic='-PIC'
9842 lt_prog_compiler_static='-Bstatic'
9845 sysv4 | sysv4.2uw2* | sysv4.3*)
9846 lt_prog_compiler_wl='-Wl,'
9847 lt_prog_compiler_pic='-KPIC'
9848 lt_prog_compiler_static='-Bstatic'
9852 if test -d /usr/nec ;then
9853 lt_prog_compiler_pic='-Kconform_pic'
9854 lt_prog_compiler_static='-Bstatic'
9858 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9859 lt_prog_compiler_wl='-Wl,'
9860 lt_prog_compiler_pic='-KPIC'
9861 lt_prog_compiler_static='-Bstatic'
9865 lt_prog_compiler_wl='-Wl,'
9866 lt_prog_compiler_can_build_shared=no
9870 lt_prog_compiler_pic='-pic'
9871 lt_prog_compiler_static='-Bstatic'
9875 lt_prog_compiler_can_build_shared=no
9881 # For platforms which do not support PIC, -DPIC is meaningless:
9883 lt_prog_compiler_pic=
9886 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9891 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9892 if ${lt_cv_prog_compiler_pic+:} false; then :
9893 $as_echo_n "(cached) " >&6
9895 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9898 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9899 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9902 # Check to make sure the PIC flag actually works.
9904 if test -n "$lt_prog_compiler_pic"; then
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9906 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9907 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9908 $as_echo_n "(cached) " >&6
9910 lt_cv_prog_compiler_pic_works=no
9911 ac_outfile=conftest.$ac_objext
9912 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9913 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9914 # Insert the option either (1) after the last *FLAGS variable, or
9915 # (2) before a word containing "conftest.", or (3) at the end.
9916 # Note that $ac_compile itself does not contain backslashes and begins
9917 # with a dollar sign (not a hyphen), so the echo should work correctly.
9918 # The option is referenced via a variable to avoid confusing sed.
9919 lt_compile=`echo "$ac_compile" | $SED \
9920 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9921 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9922 -e 's:$: $lt_compiler_flag:'`
9923 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9924 (eval "$lt_compile" 2>conftest.err)
9926 cat conftest.err >&5
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 if (exit $ac_status) && test -s "$ac_outfile"; then
9929 # The compiler can only warn and ignore the option if not recognized
9930 # So say no if there are warnings other than the usual output.
9931 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9932 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9933 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9934 lt_cv_prog_compiler_pic_works=yes
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9941 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9943 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9944 case $lt_prog_compiler_pic in
9946 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9949 lt_prog_compiler_pic=
9950 lt_prog_compiler_can_build_shared=no
9966 # Check to make sure the static flag actually works.
9968 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9970 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9971 if ${lt_cv_prog_compiler_static_works+:} false; then :
9972 $as_echo_n "(cached) " >&6
9974 lt_cv_prog_compiler_static_works=no
9975 save_LDFLAGS="$LDFLAGS"
9976 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9977 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9978 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9979 # The linker can only warn and ignore the option if not recognized
9980 # So say no if there are warnings
9981 if test -s conftest.err; then
9982 # Append any errors to the config.log.
9983 cat conftest.err 1>&5
9984 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9985 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9986 if diff conftest.exp conftest.er2 >/dev/null; then
9987 lt_cv_prog_compiler_static_works=yes
9990 lt_cv_prog_compiler_static_works=yes
9994 LDFLAGS="$save_LDFLAGS"
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9998 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10000 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10003 lt_prog_compiler_static=
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10013 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10014 if ${lt_cv_prog_compiler_c_o+:} false; then :
10015 $as_echo_n "(cached) " >&6
10017 lt_cv_prog_compiler_c_o=no
10018 $RM -r conftest 2>/dev/null
10022 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10024 lt_compiler_flag="-o out/conftest2.$ac_objext"
10025 # Insert the option either (1) after the last *FLAGS variable, or
10026 # (2) before a word containing "conftest.", or (3) at the end.
10027 # Note that $ac_compile itself does not contain backslashes and begins
10028 # with a dollar sign (not a hyphen), so the echo should work correctly.
10029 lt_compile=`echo "$ac_compile" | $SED \
10030 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10031 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10032 -e 's:$: $lt_compiler_flag:'`
10033 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10034 (eval "$lt_compile" 2>out/conftest.err)
10036 cat out/conftest.err >&5
10037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10038 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10040 # The compiler can only warn and ignore the option if not recognized
10041 # So say no if there are warnings
10042 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10043 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10044 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10045 lt_cv_prog_compiler_c_o=yes
10050 # SGI C++ compiler will create directory out/ii_files/ for
10051 # template instantiation
10052 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10053 $RM out/* && rmdir out
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10060 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10068 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10069 if ${lt_cv_prog_compiler_c_o+:} false; then :
10070 $as_echo_n "(cached) " >&6
10072 lt_cv_prog_compiler_c_o=no
10073 $RM -r conftest 2>/dev/null
10077 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10079 lt_compiler_flag="-o out/conftest2.$ac_objext"
10080 # Insert the option either (1) after the last *FLAGS variable, or
10081 # (2) before a word containing "conftest.", or (3) at the end.
10082 # Note that $ac_compile itself does not contain backslashes and begins
10083 # with a dollar sign (not a hyphen), so the echo should work correctly.
10084 lt_compile=`echo "$ac_compile" | $SED \
10085 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10086 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10087 -e 's:$: $lt_compiler_flag:'`
10088 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10089 (eval "$lt_compile" 2>out/conftest.err)
10091 cat out/conftest.err >&5
10092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10095 # The compiler can only warn and ignore the option if not recognized
10096 # So say no if there are warnings
10097 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10098 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10099 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10100 lt_cv_prog_compiler_c_o=yes
10105 # SGI C++ compiler will create directory out/ii_files/ for
10106 # template instantiation
10107 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10108 $RM out/* && rmdir out
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10115 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10120 hard_links="nottested"
10121 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10122 # do not overwrite the value of need_locks provided by the user
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10124 $as_echo_n "checking if we can lock with hard links... " >&6; }
10127 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10129 ln conftest.a conftest.b 2>&5 || hard_links=no
10130 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10132 $as_echo "$hard_links" >&6; }
10133 if test "$hard_links" = no; then
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10135 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10148 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10151 allow_undefined_flag=
10152 always_export_symbols=no
10154 archive_expsym_cmds=
10155 compiler_needs_object=no
10156 enable_shared_with_static_runtimes=no
10157 export_dynamic_flag_spec=
10158 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10159 hardcode_automatic=no
10161 hardcode_direct_absolute=no
10162 hardcode_libdir_flag_spec=
10163 hardcode_libdir_separator=
10164 hardcode_minus_L=no
10165 hardcode_shlibpath_var=unsupported
10167 link_all_deplibs=unknown
10169 module_expsym_cmds=
10170 old_archive_from_new_cmds=
10171 old_archive_from_expsyms_cmds=
10172 thread_safe_flag_spec=
10173 whole_archive_flag_spec=
10174 # include_expsyms should be a list of space-separated symbols to be *always*
10175 # included in the symbol list
10177 # exclude_expsyms can be an extended regexp of symbols to exclude
10178 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10179 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10180 # as well as any symbol that contains `d'.
10181 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10182 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10183 # platforms (ab)use it in PIC code, but their linkers get confused if
10184 # the symbol is explicitly referenced. Since portable code cannot
10185 # rely on this symbol name, it's probably fine to never include it in
10186 # preloaded symbol tables.
10187 # Exclude shared library initialization/finalization symbols.
10188 extract_expsyms_cmds=
10191 cygwin* | mingw* | pw32* | cegcc*)
10192 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10193 # When not using gcc, we currently assume that we are using
10194 # Microsoft Visual C++.
10195 if test "$GCC" != yes; then
10200 # we just hope/assume this is gcc and not c89 (= MSVC++)
10210 # On some targets, GNU ld is compatible enough with the native linker
10211 # that we're better off using the native interface for both.
10212 lt_use_gnu_ld_interface=no
10213 if test "$with_gnu_ld" = yes; then
10216 # The AIX port of GNU ld has always aspired to compatibility
10217 # with the native linker. However, as the warning in the GNU ld
10218 # block says, versions before 2.19.5* couldn't really create working
10219 # shared libraries, regardless of the interface used.
10220 case `$LD -v 2>&1` in
10221 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10222 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10223 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10225 lt_use_gnu_ld_interface=yes
10230 lt_use_gnu_ld_interface=yes
10235 if test "$lt_use_gnu_ld_interface" = yes; then
10236 # If archive_cmds runs LD, not CC, wlarc should be empty
10239 # Set some defaults for GNU ld with shared library support. These
10240 # are reset later if shared libraries are not supported. Putting them
10241 # here allows them to be overridden if necessary.
10242 runpath_var=LD_RUN_PATH
10243 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10244 export_dynamic_flag_spec='${wl}--export-dynamic'
10245 # ancient GNU ld didn't support --whole-archive et. al.
10246 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10247 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10249 whole_archive_flag_spec=
10251 supports_anon_versioning=no
10252 case `$LD -v 2>&1` in
10253 *GNU\ gold*) supports_anon_versioning=yes ;;
10254 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10255 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10256 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10257 *\ 2.11.*) ;; # other 2.11 versions
10258 *) supports_anon_versioning=yes ;;
10261 # See if GNU ld supports shared libraries.
10264 # On AIX/PPC, the GNU linker is very broken
10265 if test "$host_cpu" != ia64; then
10269 *** Warning: the GNU linker, at least up to release 2.19, is reported
10270 *** to be unable to reliably create shared libraries on AIX.
10271 *** Therefore, libtool is disabling shared libraries support. If you
10272 *** really care for shared libraries, you may want to install binutils
10273 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10274 *** You will then need to restart the configuration process.
10283 # see comment about AmigaOS4 .so support
10284 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10285 archive_expsym_cmds=''
10288 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)'
10289 hardcode_libdir_flag_spec='-L$libdir'
10290 hardcode_minus_L=yes
10296 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10297 allow_undefined_flag=unsupported
10298 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10299 # support --undefined. This deserves some investigation. FIXME
10300 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10306 cygwin* | mingw* | pw32* | cegcc*)
10307 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10308 # as there is no search path for DLLs.
10309 hardcode_libdir_flag_spec='-L$libdir'
10310 export_dynamic_flag_spec='${wl}--export-all-symbols'
10311 allow_undefined_flag=unsupported
10312 always_export_symbols=no
10313 enable_shared_with_static_runtimes=yes
10314 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10315 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10317 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10318 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10319 # If the export-symbols file already is a .def file (1st line
10320 # is EXPORTS), use it as is; otherwise, prepend...
10321 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10322 cp $export_symbols $output_objdir/$soname.def;
10324 echo EXPORTS > $output_objdir/$soname.def;
10325 cat $export_symbols >> $output_objdir/$soname.def;
10327 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10334 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10335 link_all_deplibs=yes
10340 hardcode_shlibpath_var=no
10341 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10342 export_dynamic_flag_spec='${wl}-E'
10343 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10344 # Instead, shared libraries are loaded at an image base (0x10000000 by
10345 # default) and relocated if they conflict, which is a slow very memory
10346 # consuming and fragmenting process. To avoid this, we pick a random,
10347 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10348 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10349 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10350 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'
10353 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10355 if test "$host_os" = linux-dietlibc; then
10356 case $cc_basename in
10357 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10360 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10361 && test "$tmp_diet" = no
10363 tmp_addflag=' $pic_flag'
10364 tmp_sharedflag='-shared'
10365 case $cc_basename,$host_cpu in
10366 pgcc*) # Portland Group C compiler
10367 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10368 tmp_addflag=' $pic_flag'
10370 pgf77* | pgf90* | pgf95* | pgfortran*)
10371 # Portland Group f77 and f90 compilers
10372 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10373 tmp_addflag=' $pic_flag -Mnomain' ;;
10374 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10375 tmp_addflag=' -i_dynamic' ;;
10376 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10377 tmp_addflag=' -i_dynamic -nofor_main' ;;
10378 ifc* | ifort*) # Intel Fortran compiler
10379 tmp_addflag=' -nofor_main' ;;
10380 lf95*) # Lahey Fortran 8.1
10381 whole_archive_flag_spec=
10382 tmp_sharedflag='--shared' ;;
10383 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10384 tmp_sharedflag='-qmkshrobj'
10386 nvcc*) # Cuda Compiler Driver 2.2
10387 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10388 compiler_needs_object=yes
10391 case `$CC -V 2>&1 | sed 5q` in
10392 *Sun\ C*) # Sun C 5.9
10393 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10394 compiler_needs_object=yes
10395 tmp_sharedflag='-G' ;;
10396 *Sun\ F*) # Sun Fortran 8.3
10397 tmp_sharedflag='-G' ;;
10399 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10401 if test "x$supports_anon_versioning" = xyes; then
10402 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10403 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10404 echo "local: *; };" >> $output_objdir/$libname.ver~
10405 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10408 case $cc_basename in
10409 xlf* | bgf* | bgxlf* | mpixlf*)
10410 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10411 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10412 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10413 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10414 if test "x$supports_anon_versioning" = xyes; then
10415 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10416 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10417 echo "local: *; };" >> $output_objdir/$libname.ver~
10418 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10428 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10429 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10432 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10433 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10438 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10442 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10443 *** create shared libraries on Solaris systems. Therefore, libtool
10444 *** is disabling shared libraries support. We urge you to upgrade GNU
10445 *** binutils to release 2.9.1 or newer. Another option is to modify
10446 *** your PATH or compiler configuration so that the native linker is
10447 *** used, and then restart.
10450 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10451 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10452 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10458 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10459 case `$LD -v 2>&1` in
10460 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10464 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10465 *** reliably create shared libraries on SCO systems. Therefore, libtool
10466 *** is disabling shared libraries support. We urge you to upgrade GNU
10467 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10468 *** your PATH or compiler configuration so that the native linker is
10469 *** used, and then restart.
10474 # For security reasons, it is highly recommended that you always
10475 # use absolute paths for naming shared libraries, and exclude the
10476 # DT_RUNPATH tag from executables and libraries. But doing so
10477 # requires that you compile everything twice, which is a pain.
10478 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10479 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10480 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10481 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10490 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10492 hardcode_direct=yes
10493 hardcode_shlibpath_var=no
10497 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10498 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10499 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10506 if test "$ld_shlibs" = no; then
10508 hardcode_libdir_flag_spec=
10509 export_dynamic_flag_spec=
10510 whole_archive_flag_spec=
10513 # PORTME fill in a description of your system's linker (not GNU ld)
10516 allow_undefined_flag=unsupported
10517 always_export_symbols=yes
10518 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'
10519 # Note: this linker hardcodes the directories in LIBPATH if there
10520 # are no directories specified by -L.
10521 hardcode_minus_L=yes
10522 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10523 # Neither direct hardcoding nor static linking is supported with a
10525 hardcode_direct=unsupported
10530 if test "$host_cpu" = ia64; then
10531 # On IA64, the linker does run time linking by default, so we don't
10532 # have to do anything special.
10533 aix_use_runtimelinking=no
10534 exp_sym_flag='-Bexport'
10537 # If we're using GNU nm, then we don't want the "-C" option.
10538 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10539 # Also, AIX nm treats weak defined symbols like other global
10540 # defined symbols, whereas GNU nm marks them as "W".
10541 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10542 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10544 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'
10546 aix_use_runtimelinking=no
10548 # Test if we are trying to use run time linking or normal
10549 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10550 # need to do runtime linking.
10551 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10552 for ld_flag in $LDFLAGS; do
10553 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10554 aix_use_runtimelinking=yes
10561 exp_sym_flag='-bexport'
10562 no_entry_flag='-bnoentry'
10565 # When large executables or shared objects are built, AIX ld can
10566 # have problems creating the table of contents. If linking a library
10567 # or program results in "error TOC overflow" add -mminimal-toc to
10568 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10569 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10572 hardcode_direct=yes
10573 hardcode_direct_absolute=yes
10574 hardcode_libdir_separator=':'
10575 link_all_deplibs=yes
10576 file_list_spec='${wl}-f,'
10578 if test "$GCC" = yes; then
10579 case $host_os in aix4.[012]|aix4.[012].*)
10580 # We only want to do this on AIX 4.2 and lower, the check
10581 # below for broken collect2 doesn't work under 4.3+
10582 collect2name=`${CC} -print-prog-name=collect2`
10583 if test -f "$collect2name" &&
10584 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10586 # We have reworked collect2
10589 # We have old collect2
10590 hardcode_direct=unsupported
10591 # It fails to find uninstalled libraries when the uninstalled
10592 # path is not listed in the libpath. Setting hardcode_minus_L
10593 # to unsupported forces relinking
10594 hardcode_minus_L=yes
10595 hardcode_libdir_flag_spec='-L$libdir'
10596 hardcode_libdir_separator=
10600 shared_flag='-shared'
10601 if test "$aix_use_runtimelinking" = yes; then
10602 shared_flag="$shared_flag "'${wl}-G'
10606 if test "$host_cpu" = ia64; then
10607 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10608 # chokes on -Wl,-G. The following line is correct:
10611 if test "$aix_use_runtimelinking" = yes; then
10612 shared_flag='${wl}-G'
10614 shared_flag='${wl}-bM:SRE'
10619 export_dynamic_flag_spec='${wl}-bexpall'
10620 # It seems that -bexpall does not export symbols beginning with
10621 # underscore (_), so it is better to generate a list of symbols to export.
10622 always_export_symbols=yes
10623 if test "$aix_use_runtimelinking" = yes; then
10624 # Warning - without using the other runtime loading flags (-brtl),
10625 # -berok will link without error, but may produce a broken library.
10626 allow_undefined_flag='-berok'
10627 # Determine the default libpath from the value encoded in an
10628 # empty executable.
10629 if test "${lt_cv_aix_libpath+set}" = set; then
10630 aix_libpath=$lt_cv_aix_libpath
10632 if ${lt_cv_aix_libpath_+:} false; then :
10633 $as_echo_n "(cached) " >&6
10635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10636 /* end confdefs.h. */
10646 if ac_fn_c_try_link "$LINENO"; then :
10648 lt_aix_libpath_sed='
10649 /Import File Strings/,/^$/ {
10651 s/^0 *\([^ ]*\) *$/\1/
10655 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10656 # Check for a 64-bit object if we didn't find anything.
10657 if test -z "$lt_cv_aix_libpath_"; then
10658 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10661 rm -f core conftest.err conftest.$ac_objext \
10662 conftest$ac_exeext conftest.$ac_ext
10663 if test -z "$lt_cv_aix_libpath_"; then
10664 lt_cv_aix_libpath_="/usr/lib:/lib"
10669 aix_libpath=$lt_cv_aix_libpath_
10672 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10673 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10675 if test "$host_cpu" = ia64; then
10676 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10677 allow_undefined_flag="-z nodefs"
10678 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"
10680 # Determine the default libpath from the value encoded in an
10681 # empty executable.
10682 if test "${lt_cv_aix_libpath+set}" = set; then
10683 aix_libpath=$lt_cv_aix_libpath
10685 if ${lt_cv_aix_libpath_+:} false; then :
10686 $as_echo_n "(cached) " >&6
10688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10689 /* end confdefs.h. */
10699 if ac_fn_c_try_link "$LINENO"; then :
10701 lt_aix_libpath_sed='
10702 /Import File Strings/,/^$/ {
10704 s/^0 *\([^ ]*\) *$/\1/
10708 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10709 # Check for a 64-bit object if we didn't find anything.
10710 if test -z "$lt_cv_aix_libpath_"; then
10711 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10714 rm -f core conftest.err conftest.$ac_objext \
10715 conftest$ac_exeext conftest.$ac_ext
10716 if test -z "$lt_cv_aix_libpath_"; then
10717 lt_cv_aix_libpath_="/usr/lib:/lib"
10722 aix_libpath=$lt_cv_aix_libpath_
10725 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10726 # Warning - without using the other run time loading flags,
10727 # -berok will link without error, but may produce a broken library.
10728 no_undefined_flag=' ${wl}-bernotok'
10729 allow_undefined_flag=' ${wl}-berok'
10730 if test "$with_gnu_ld" = yes; then
10731 # We only use this code for GNU lds that support --whole-archive.
10732 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10734 # Exported symbols can be pulled into shared objects from archives
10735 whole_archive_flag_spec='$convenience'
10737 archive_cmds_need_lc=yes
10738 # This is similar to how AIX traditionally builds its shared libraries.
10739 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'
10747 # see comment about AmigaOS4 .so support
10748 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10749 archive_expsym_cmds=''
10752 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)'
10753 hardcode_libdir_flag_spec='-L$libdir'
10754 hardcode_minus_L=yes
10760 export_dynamic_flag_spec=-rdynamic
10763 cygwin* | mingw* | pw32* | cegcc*)
10764 # When not using gcc, we currently assume that we are using
10765 # Microsoft Visual C++.
10766 # hardcode_libdir_flag_spec is actually meaningless, as there is
10767 # no search path for DLLs.
10768 case $cc_basename in
10771 hardcode_libdir_flag_spec=' '
10772 allow_undefined_flag=unsupported
10773 always_export_symbols=yes
10775 # Tell ltmain to make .lib files, not .a files.
10777 # Tell ltmain to make .dll files, not .so files.
10779 # FIXME: Setting linknames here is a bad hack.
10780 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10781 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10782 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10784 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10786 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10788 # The linker will not automatically build a static lib if we build a DLL.
10789 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10790 enable_shared_with_static_runtimes=yes
10791 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10792 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10794 old_postinstall_cmds='chmod 644 $oldlib'
10795 postlink_cmds='lt_outputfile="@OUTPUT@"~
10796 lt_tool_outputfile="@TOOL_OUTPUT@"~
10797 case $lt_outputfile in
10800 lt_outputfile="$lt_outputfile.exe"
10801 lt_tool_outputfile="$lt_tool_outputfile.exe"
10804 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10805 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10806 $RM "$lt_outputfile.manifest";
10810 # Assume MSVC wrapper
10811 hardcode_libdir_flag_spec=' '
10812 allow_undefined_flag=unsupported
10813 # Tell ltmain to make .lib files, not .a files.
10815 # Tell ltmain to make .dll files, not .so files.
10817 # FIXME: Setting linknames here is a bad hack.
10818 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10819 # The linker will automatically build a .lib file if we build a DLL.
10820 old_archive_from_new_cmds='true'
10821 # FIXME: Should let the user specify the lib program.
10822 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10823 enable_shared_with_static_runtimes=yes
10828 darwin* | rhapsody*)
10831 archive_cmds_need_lc=no
10833 hardcode_automatic=yes
10834 hardcode_shlibpath_var=unsupported
10835 if test "$lt_cv_ld_force_load" = "yes"; then
10836 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10839 whole_archive_flag_spec=''
10841 link_all_deplibs=yes
10842 allow_undefined_flag="$_lt_dar_allow_undefined"
10843 case $cc_basename in
10844 ifort*) _lt_dar_can_shared=yes ;;
10845 *) _lt_dar_can_shared=$GCC ;;
10847 if test "$_lt_dar_can_shared" = "yes"; then
10848 output_verbose_link_cmd=func_echo_all
10849 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10850 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10851 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}"
10852 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}"
10861 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10862 hardcode_libdir_flag_spec='-L$libdir'
10863 hardcode_shlibpath_var=no
10866 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10867 # support. Future versions do this automatically, but an explicit c++rt0.o
10868 # does not break anything, and helps significantly (at the cost of a little
10871 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10872 hardcode_libdir_flag_spec='-R$libdir'
10873 hardcode_direct=yes
10874 hardcode_shlibpath_var=no
10877 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10879 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10880 hardcode_direct=yes
10881 hardcode_minus_L=yes
10882 hardcode_shlibpath_var=no
10885 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10886 freebsd* | dragonfly*)
10887 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10888 hardcode_libdir_flag_spec='-R$libdir'
10889 hardcode_direct=yes
10890 hardcode_shlibpath_var=no
10894 if test "$GCC" = yes; then
10895 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10897 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'
10899 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10900 hardcode_libdir_separator=:
10901 hardcode_direct=yes
10903 # hardcode_minus_L: Not really in the search PATH,
10904 # but as the default location of the library.
10905 hardcode_minus_L=yes
10906 export_dynamic_flag_spec='${wl}-E'
10910 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10911 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10913 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10915 if test "$with_gnu_ld" = no; then
10916 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10917 hardcode_libdir_separator=:
10918 hardcode_direct=yes
10919 hardcode_direct_absolute=yes
10920 export_dynamic_flag_spec='${wl}-E'
10921 # hardcode_minus_L: Not really in the search PATH,
10922 # but as the default location of the library.
10923 hardcode_minus_L=yes
10928 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10931 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10934 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10937 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10943 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10946 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10950 # Older versions of the 11.00 compiler do not understand -b yet
10951 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10953 $as_echo_n "checking if $CC understands -b... " >&6; }
10954 if ${lt_cv_prog_compiler__b+:} false; then :
10955 $as_echo_n "(cached) " >&6
10957 lt_cv_prog_compiler__b=no
10958 save_LDFLAGS="$LDFLAGS"
10959 LDFLAGS="$LDFLAGS -b"
10960 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10961 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10962 # The linker can only warn and ignore the option if not recognized
10963 # So say no if there are warnings
10964 if test -s conftest.err; then
10965 # Append any errors to the config.log.
10966 cat conftest.err 1>&5
10967 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10968 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10969 if diff conftest.exp conftest.er2 >/dev/null; then
10970 lt_cv_prog_compiler__b=yes
10973 lt_cv_prog_compiler__b=yes
10977 LDFLAGS="$save_LDFLAGS"
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10981 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10983 if test x"$lt_cv_prog_compiler__b" = xyes; then
10984 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10986 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10992 if test "$with_gnu_ld" = no; then
10993 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10994 hardcode_libdir_separator=:
10999 hardcode_shlibpath_var=no
11002 hardcode_direct=yes
11003 hardcode_direct_absolute=yes
11004 export_dynamic_flag_spec='${wl}-E'
11006 # hardcode_minus_L: Not really in the search PATH,
11007 # but as the default location of the library.
11008 hardcode_minus_L=yes
11014 irix5* | irix6* | nonstopux*)
11015 if test "$GCC" = yes; then
11016 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11017 # Try to use the -exported_symbol ld option, if it does not
11018 # work, assume that -exports_file does not work either and
11019 # implicitly export all symbols.
11020 # This should be the same for all languages, so no per-tag cache variable.
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11022 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11023 if ${lt_cv_irix_exported_symbol+:} false; then :
11024 $as_echo_n "(cached) " >&6
11026 save_LDFLAGS="$LDFLAGS"
11027 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h. */
11030 int foo (void) { return 0; }
11032 if ac_fn_c_try_link "$LINENO"; then :
11033 lt_cv_irix_exported_symbol=yes
11035 lt_cv_irix_exported_symbol=no
11037 rm -f core conftest.err conftest.$ac_objext \
11038 conftest$ac_exeext conftest.$ac_ext
11039 LDFLAGS="$save_LDFLAGS"
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11042 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11043 if test "$lt_cv_irix_exported_symbol" = yes; then
11044 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11047 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11048 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
11050 archive_cmds_need_lc='no'
11051 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11052 hardcode_libdir_separator=:
11054 link_all_deplibs=yes
11058 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11059 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11061 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11063 hardcode_libdir_flag_spec='-R$libdir'
11064 hardcode_direct=yes
11065 hardcode_shlibpath_var=no
11069 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11070 hardcode_direct=yes
11071 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11072 hardcode_libdir_separator=:
11073 hardcode_shlibpath_var=no
11080 if test -f /usr/libexec/ld.so; then
11081 hardcode_direct=yes
11082 hardcode_shlibpath_var=no
11083 hardcode_direct_absolute=yes
11084 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11085 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11086 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11087 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11088 export_dynamic_flag_spec='${wl}-E'
11091 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11092 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11093 hardcode_libdir_flag_spec='-R$libdir'
11096 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11097 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11107 hardcode_libdir_flag_spec='-L$libdir'
11108 hardcode_minus_L=yes
11109 allow_undefined_flag=unsupported
11110 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'
11111 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11115 if test "$GCC" = yes; then
11116 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11117 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11119 allow_undefined_flag=' -expect_unresolved \*'
11120 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11122 archive_cmds_need_lc='no'
11123 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11124 hardcode_libdir_separator=:
11127 osf4* | osf5*) # as osf3* with the addition of -msym flag
11128 if test "$GCC" = yes; then
11129 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11130 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11131 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11133 allow_undefined_flag=' -expect_unresolved \*'
11134 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11135 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~
11136 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11138 # Both c and cxx compiler support -rpath directly
11139 hardcode_libdir_flag_spec='-rpath $libdir'
11141 archive_cmds_need_lc='no'
11142 hardcode_libdir_separator=:
11146 no_undefined_flag=' -z defs'
11147 if test "$GCC" = yes; then
11149 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11150 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11151 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11153 case `$CC -V 2>&1` in
11156 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11157 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11158 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11162 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11163 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11164 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11168 hardcode_libdir_flag_spec='-R$libdir'
11169 hardcode_shlibpath_var=no
11171 solaris2.[0-5] | solaris2.[0-5].*) ;;
11173 # The compiler driver will combine and reorder linker options,
11174 # but understands `-z linker_flag'. GCC discards it without `$wl',
11175 # but is careful enough not to reorder.
11176 # Supported since Solaris 2.6 (maybe 2.5.1?)
11177 if test "$GCC" = yes; then
11178 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11180 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11184 link_all_deplibs=yes
11188 if test "x$host_vendor" = xsequent; then
11189 # Use $CC to link under sequent, because it throws in some extra .o
11190 # files that make .init and .fini sections work.
11191 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11193 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11195 hardcode_libdir_flag_spec='-L$libdir'
11196 hardcode_direct=yes
11197 hardcode_minus_L=yes
11198 hardcode_shlibpath_var=no
11202 case $host_vendor in
11204 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11205 hardcode_direct=yes # is this really true???
11208 ## LD is ld it makes a PLAMLIB
11209 ## CC just makes a GrossModule.
11210 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11211 reload_cmds='$CC -r -o $output$reload_objs'
11215 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11216 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11219 runpath_var='LD_RUN_PATH'
11220 hardcode_shlibpath_var=no
11224 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11225 hardcode_shlibpath_var=no
11226 export_dynamic_flag_spec='-Bexport'
11230 if test -d /usr/nec; then
11231 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11232 hardcode_shlibpath_var=no
11233 runpath_var=LD_RUN_PATH
11234 hardcode_runpath_var=yes
11239 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11240 no_undefined_flag='${wl}-z,text'
11241 archive_cmds_need_lc=no
11242 hardcode_shlibpath_var=no
11243 runpath_var='LD_RUN_PATH'
11245 if test "$GCC" = yes; then
11246 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11247 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11249 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11250 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11254 sysv5* | sco3.2v5* | sco5v6*)
11255 # Note: We can NOT use -z defs as we might desire, because we do not
11256 # link with -lc, and that would cause any symbols used from libc to
11257 # always be unresolved, which means just about no library would
11258 # ever link correctly. If we're not using GNU ld we use -z text
11259 # though, which does catch some bad symbols but isn't as heavy-handed
11261 no_undefined_flag='${wl}-z,text'
11262 allow_undefined_flag='${wl}-z,nodefs'
11263 archive_cmds_need_lc=no
11264 hardcode_shlibpath_var=no
11265 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11266 hardcode_libdir_separator=':'
11267 link_all_deplibs=yes
11268 export_dynamic_flag_spec='${wl}-Bexport'
11269 runpath_var='LD_RUN_PATH'
11271 if test "$GCC" = yes; then
11272 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11273 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11275 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11276 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11281 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11282 hardcode_libdir_flag_spec='-L$libdir'
11283 hardcode_shlibpath_var=no
11291 if test x$host_vendor = xsni; then
11293 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11294 export_dynamic_flag_spec='${wl}-Blargedynsym'
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11301 $as_echo "$ld_shlibs" >&6; }
11302 test "$ld_shlibs" = no && can_build_shared=no
11304 with_gnu_ld=$with_gnu_ld
11321 # Do we need to explicitly link libc?
11323 case "x$archive_cmds_need_lc" in
11325 # Assume -lc should be added
11326 archive_cmds_need_lc=yes
11328 if test "$enable_shared" = yes && test "$GCC" = yes; then
11329 case $archive_cmds in
11331 # FIXME: we may have to deal with multi-command sequences.
11334 # Test whether the compiler implicitly links with -lc since on some
11335 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11336 # to ld, don't add -lc before -lgcc.
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11338 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11339 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11340 $as_echo_n "(cached) " >&6
11343 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11345 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11346 (eval $ac_compile) 2>&5
11348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11349 test $ac_status = 0; } 2>conftest.err; then
11352 libobjs=conftest.$ac_objext
11354 wl=$lt_prog_compiler_wl
11355 pic_flag=$lt_prog_compiler_pic
11361 lt_save_allow_undefined_flag=$allow_undefined_flag
11362 allow_undefined_flag=
11363 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11364 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11367 test $ac_status = 0; }
11369 lt_cv_archive_cmds_need_lc=no
11371 lt_cv_archive_cmds_need_lc=yes
11373 allow_undefined_flag=$lt_save_allow_undefined_flag
11375 cat conftest.err 1>&5
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11381 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11382 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11541 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11543 if test "$GCC" = yes; then
11545 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11546 *) lt_awk_arg="/^libraries:/" ;;
11549 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11550 *) lt_sed_strip_eq="s,=/,/,g" ;;
11552 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11553 case $lt_search_path_spec in
11555 # if the path contains ";" then we assume it to be the separator
11556 # otherwise default to the standard path separator (i.e. ":") - it is
11557 # assumed that no part of a normal pathname contains ";" but that should
11558 # okay in the real world where ";" in dirpaths is itself problematic.
11559 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11562 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11565 # Ok, now we have the path, separated by spaces, we can step through it
11566 # and add multilib dir if necessary.
11567 lt_tmp_lt_search_path_spec=
11568 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11569 for lt_sys_path in $lt_search_path_spec; do
11570 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11571 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11573 test -d "$lt_sys_path" && \
11574 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11577 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11578 BEGIN {RS=" "; FS="/|\n";} {
11581 for (lt_i = NF; lt_i > 0; lt_i--) {
11582 if ($lt_i != "" && $lt_i != ".") {
11583 if ($lt_i == "..") {
11586 if (lt_count == 0) {
11587 lt_foo="/" $lt_i lt_foo;
11594 if (lt_foo != "") { lt_freq[lt_foo]++; }
11595 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11597 # AWK program above erroneously prepends '/' to C:/dos/paths
11600 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11601 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11603 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11605 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11607 library_names_spec=
11608 libname_spec='lib$name'
11612 postuninstall_cmds=
11616 shlibpath_overrides_runpath=unknown
11618 dynamic_linker="$host_os ld.so"
11619 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11620 need_lib_prefix=unknown
11621 hardcode_into_libs=no
11623 # when you set need_version to no, make sure it does not cause -set_version
11624 # flags to be left without arguments
11625 need_version=unknown
11629 version_type=linux # correct to gnu/linux during the next big refactor
11630 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11631 shlibpath_var=LIBPATH
11633 # AIX 3 has no versioning support, so we append a major version to the name.
11634 soname_spec='${libname}${release}${shared_ext}$major'
11638 version_type=linux # correct to gnu/linux during the next big refactor
11641 hardcode_into_libs=yes
11642 if test "$host_cpu" = ia64; then
11643 # AIX 5 supports IA64
11644 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11645 shlibpath_var=LD_LIBRARY_PATH
11647 # With GCC up to 2.95.x, collect2 would create an import file
11648 # for dependence libraries. The import file would start with
11649 # the line `#! .'. This would cause the generated library to
11650 # depend on `.', always an invalid library. This was fixed in
11651 # development snapshots of GCC prior to 3.0.
11653 aix4 | aix4.[01] | aix4.[01].*)
11654 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11656 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11659 can_build_shared=no
11663 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11664 # soname into executable. Probably we can add versioning support to
11665 # collect2, so additional links can be useful in future.
11666 if test "$aix_use_runtimelinking" = yes; then
11667 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11668 # instead of lib<name>.a to let people know that these are not
11669 # typical AIX shared libraries.
11670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11672 # We preserve .a as extension for shared libraries through AIX4.2
11673 # and later when we are not doing run time linking.
11674 library_names_spec='${libname}${release}.a $libname.a'
11675 soname_spec='${libname}${release}${shared_ext}$major'
11677 shlibpath_var=LIBPATH
11684 # Since July 2007 AmigaOS4 officially supports .so libraries.
11685 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11689 library_names_spec='$libname.ixlibrary $libname.a'
11690 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11691 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
11697 library_names_spec='${libname}${shared_ext}'
11698 dynamic_linker="$host_os ld.so"
11699 shlibpath_var=LIBRARY_PATH
11703 version_type=linux # correct to gnu/linux during the next big refactor
11705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11706 soname_spec='${libname}${release}${shared_ext}$major'
11707 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11708 shlibpath_var=LD_LIBRARY_PATH
11709 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11710 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11711 # the default ld.so.conf also contains /usr/contrib/lib and
11712 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11713 # libtool to hard-code these into programs
11716 cygwin* | mingw* | pw32* | cegcc*)
11717 version_type=windows
11722 case $GCC,$cc_basename in
11725 library_names_spec='$libname.dll.a'
11726 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11727 postinstall_cmds='base_file=`basename \${file}`~
11728 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11729 dldir=$destdir/`dirname \$dlpath`~
11730 test -d \$dldir || mkdir -p \$dldir~
11731 $install_prog $dir/$dlname \$dldir/$dlname~
11732 chmod a+x \$dldir/$dlname~
11733 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11734 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11736 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11737 dlpath=$dir/\$dldll~
11739 shlibpath_overrides_runpath=yes
11743 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11744 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11746 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11749 # MinGW DLLs use traditional 'lib' prefix
11750 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11753 # pw32 DLLs use 'pw' prefix rather than 'lib'
11754 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11757 dynamic_linker='Win32 ld.exe'
11762 libname_spec='$name'
11763 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11764 library_names_spec='${libname}.dll.lib'
11768 sys_lib_search_path_spec=
11771 for lt_path in $LIB
11774 # Let DOS variable expansion print the short 8.3 style file name.
11775 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11776 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11779 # Convert to MSYS style.
11780 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11783 # Convert to unix form, then to dos form, then back to unix form
11784 # but this time dos style (no spaces!) so that the unix form looks
11785 # like /cygdrive/c/PROGRA~1:/cygdr...
11786 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11787 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11788 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11791 sys_lib_search_path_spec="$LIB"
11792 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11793 # It is most probably a Windows format PATH.
11794 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11796 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11798 # FIXME: find the short name or the path components, as spaces are
11799 # common. (e.g. "Program Files" -> "PROGRA~1")
11803 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11804 postinstall_cmds='base_file=`basename \${file}`~
11805 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11806 dldir=$destdir/`dirname \$dlpath`~
11807 test -d \$dldir || mkdir -p \$dldir~
11808 $install_prog $dir/$dlname \$dldir/$dlname'
11809 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11810 dlpath=$dir/\$dldll~
11812 shlibpath_overrides_runpath=yes
11813 dynamic_linker='Win32 link.exe'
11817 # Assume MSVC wrapper
11818 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11819 dynamic_linker='Win32 ld.exe'
11822 # FIXME: first we should search . and the directory the executable is in
11826 darwin* | rhapsody*)
11827 dynamic_linker="$host_os dyld"
11828 version_type=darwin
11831 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11832 soname_spec='${libname}${release}${major}$shared_ext'
11833 shlibpath_overrides_runpath=yes
11834 shlibpath_var=DYLD_LIBRARY_PATH
11835 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11837 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11838 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11842 version_type=linux # correct to gnu/linux during the next big refactor
11845 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11846 soname_spec='${libname}${release}${shared_ext}$major'
11847 shlibpath_var=LD_LIBRARY_PATH
11850 freebsd* | dragonfly*)
11851 # DragonFly does not have aout. When/if they implement a new
11852 # versioning mechanism, adjust this.
11853 if test -x /usr/bin/objformat; then
11854 objformat=`/usr/bin/objformat`
11857 freebsd[23].*) objformat=aout ;;
11858 *) objformat=elf ;;
11861 version_type=freebsd-$objformat
11862 case $version_type in
11864 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11869 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11873 shlibpath_var=LD_LIBRARY_PATH
11876 shlibpath_overrides_runpath=yes
11878 freebsd3.[01]* | freebsdelf3.[01]*)
11879 shlibpath_overrides_runpath=yes
11880 hardcode_into_libs=yes
11882 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11883 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11884 shlibpath_overrides_runpath=no
11885 hardcode_into_libs=yes
11887 *) # from 4.6 on, and DragonFly
11888 shlibpath_overrides_runpath=yes
11889 hardcode_into_libs=yes
11895 version_type=linux # correct to gnu/linux during the next big refactor
11898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11899 soname_spec='${libname}${release}${shared_ext}$major'
11900 shlibpath_var=LD_LIBRARY_PATH
11901 shlibpath_overrides_runpath=no
11902 hardcode_into_libs=yes
11906 version_type=linux # correct to gnu/linux during the next big refactor
11909 dynamic_linker="$host_os runtime_loader"
11910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11911 soname_spec='${libname}${release}${shared_ext}$major'
11912 shlibpath_var=LIBRARY_PATH
11913 shlibpath_overrides_runpath=yes
11914 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11915 hardcode_into_libs=yes
11918 hpux9* | hpux10* | hpux11*)
11919 # Give a soname corresponding to the major version so that dld.sl refuses to
11920 # link against other versions.
11927 hardcode_into_libs=yes
11928 dynamic_linker="$host_os dld.so"
11929 shlibpath_var=LD_LIBRARY_PATH
11930 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11932 soname_spec='${libname}${release}${shared_ext}$major'
11933 if test "X$HPUX_IA64_MODE" = X32; then
11934 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11936 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11938 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11942 hardcode_into_libs=yes
11943 dynamic_linker="$host_os dld.sl"
11944 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11945 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11947 soname_spec='${libname}${release}${shared_ext}$major'
11948 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11949 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11953 dynamic_linker="$host_os dld.sl"
11954 shlibpath_var=SHLIB_PATH
11955 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11956 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11957 soname_spec='${libname}${release}${shared_ext}$major'
11960 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11961 postinstall_cmds='chmod 555 $lib'
11962 # or fails outright, so override atomically:
11963 install_override_mode=555
11967 version_type=linux # correct to gnu/linux during the next big refactor
11970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11971 soname_spec='${libname}${release}${shared_ext}$major'
11972 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11973 shlibpath_var=LD_LIBRARY_PATH
11974 shlibpath_overrides_runpath=no
11975 hardcode_into_libs=yes
11978 irix5* | irix6* | nonstopux*)
11980 nonstopux*) version_type=nonstopux ;;
11982 if test "$lt_cv_prog_gnu_ld" = yes; then
11983 version_type=linux # correct to gnu/linux during the next big refactor
11990 soname_spec='${libname}${release}${shared_ext}$major'
11991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11993 irix5* | nonstopux*)
11994 libsuff= shlibsuff=
11997 case $LD in # libtool.m4 will add one of these switches to LD
11998 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11999 libsuff= shlibsuff= libmagic=32-bit;;
12000 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12001 libsuff=32 shlibsuff=N32 libmagic=N32;;
12002 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12003 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12004 *) libsuff= shlibsuff= libmagic=never-match;;
12008 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12009 shlibpath_overrides_runpath=no
12010 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12011 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12012 hardcode_into_libs=yes
12015 # No shared lib support for Linux oldld, aout, or coff.
12016 linux*oldld* | linux*aout* | linux*coff*)
12020 # This must be glibc/ELF.
12021 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12022 version_type=linux # correct to gnu/linux during the next big refactor
12025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12026 soname_spec='${libname}${release}${shared_ext}$major'
12027 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12028 shlibpath_var=LD_LIBRARY_PATH
12029 shlibpath_overrides_runpath=no
12031 # Some binutils ld are patched to set DT_RUNPATH
12032 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12033 $as_echo_n "(cached) " >&6
12035 lt_cv_shlibpath_overrides_runpath=no
12036 save_LDFLAGS=$LDFLAGS
12037 save_libdir=$libdir
12038 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12039 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12041 /* end confdefs.h. */
12051 if ac_fn_c_try_link "$LINENO"; then :
12052 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12053 lt_cv_shlibpath_overrides_runpath=yes
12056 rm -f core conftest.err conftest.$ac_objext \
12057 conftest$ac_exeext conftest.$ac_ext
12058 LDFLAGS=$save_LDFLAGS
12059 libdir=$save_libdir
12063 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12065 # This implies no fast_install, which is unacceptable.
12066 # Some rework will be needed to allow for fast_install
12067 # before this can be enabled.
12068 hardcode_into_libs=yes
12070 # Add ABI-specific directories to the system library path.
12071 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12073 # Append ld.so.conf contents to the search path
12074 if test -f /etc/ld.so.conf; then
12075 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;s/"//g;/^$/d' | tr '\n' ' '`
12076 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12080 # We used to test for /lib/ld.so.1 and disable shared libraries on
12081 # powerpc, because MkLinux only supported shared libraries with the
12082 # GNU dynamic linker. Since this was broken with cross compilers,
12083 # most powerpc-linux boxes support dynamic linking these days and
12084 # people can always --disable-shared, the test was removed, and we
12085 # assume the GNU/Linux dynamic linker is in use.
12086 dynamic_linker='GNU/Linux ld.so'
12093 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12095 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12096 dynamic_linker='NetBSD (a.out) ld.so'
12098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12099 soname_spec='${libname}${release}${shared_ext}$major'
12100 dynamic_linker='NetBSD ld.elf_so'
12102 shlibpath_var=LD_LIBRARY_PATH
12103 shlibpath_overrides_runpath=yes
12104 hardcode_into_libs=yes
12108 version_type=linux # correct to gnu/linux during the next big refactor
12109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12110 shlibpath_var=LD_LIBRARY_PATH
12111 shlibpath_overrides_runpath=yes
12118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12119 soname_spec='${libname}${release}${shared_ext}$major'
12120 shlibpath_var=LD_LIBRARY_PATH
12121 shlibpath_overrides_runpath=no
12122 hardcode_into_libs=yes
12123 dynamic_linker='ldqnx.so'
12128 sys_lib_dlsearch_path_spec="/usr/lib"
12130 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12132 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12133 *) need_version=no ;;
12135 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12136 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12137 shlibpath_var=LD_LIBRARY_PATH
12138 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12140 openbsd2.[89] | openbsd2.[89].*)
12141 shlibpath_overrides_runpath=no
12144 shlibpath_overrides_runpath=yes
12148 shlibpath_overrides_runpath=yes
12153 libname_spec='$name'
12156 library_names_spec='$libname${shared_ext} $libname.a'
12157 dynamic_linker='OS/2 ld.exe'
12158 shlibpath_var=LIBPATH
12161 osf3* | osf4* | osf5*)
12165 soname_spec='${libname}${release}${shared_ext}$major'
12166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12167 shlibpath_var=LD_LIBRARY_PATH
12168 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12169 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12177 version_type=linux # correct to gnu/linux during the next big refactor
12180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12181 soname_spec='${libname}${release}${shared_ext}$major'
12182 shlibpath_var=LD_LIBRARY_PATH
12183 shlibpath_overrides_runpath=yes
12184 hardcode_into_libs=yes
12185 # ldd complains unless libraries are executable
12186 postinstall_cmds='chmod +x $lib'
12191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12192 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12193 shlibpath_var=LD_LIBRARY_PATH
12194 shlibpath_overrides_runpath=yes
12195 if test "$with_gnu_ld" = yes; then
12202 version_type=linux # correct to gnu/linux during the next big refactor
12203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12204 soname_spec='${libname}${release}${shared_ext}$major'
12205 shlibpath_var=LD_LIBRARY_PATH
12206 case $host_vendor in
12208 shlibpath_overrides_runpath=no
12210 runpath_var=LD_RUN_PATH
12218 shlibpath_overrides_runpath=no
12219 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12225 if test -d /usr/nec ;then
12226 version_type=linux # correct to gnu/linux during the next big refactor
12227 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12228 soname_spec='$libname${shared_ext}.$major'
12229 shlibpath_var=LD_LIBRARY_PATH
12233 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12234 version_type=freebsd-elf
12237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12238 soname_spec='${libname}${release}${shared_ext}$major'
12239 shlibpath_var=LD_LIBRARY_PATH
12240 shlibpath_overrides_runpath=yes
12241 hardcode_into_libs=yes
12242 if test "$with_gnu_ld" = yes; then
12243 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12245 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12248 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12252 sys_lib_dlsearch_path_spec='/usr/lib'
12256 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12257 version_type=linux # correct to gnu/linux during the next big refactor
12260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12261 shlibpath_var=LD_LIBRARY_PATH
12262 shlibpath_overrides_runpath=no
12263 hardcode_into_libs=yes
12267 version_type=linux # correct to gnu/linux during the next big refactor
12268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12269 soname_spec='${libname}${release}${shared_ext}$major'
12270 shlibpath_var=LD_LIBRARY_PATH
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12278 $as_echo "$dynamic_linker" >&6; }
12279 test "$dynamic_linker" = no && can_build_shared=no
12281 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12282 if test "$GCC" = yes; then
12283 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12286 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12287 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12289 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12290 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12385 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12387 if test -n "$hardcode_libdir_flag_spec" ||
12388 test -n "$runpath_var" ||
12389 test "X$hardcode_automatic" = "Xyes" ; then
12391 # We can hardcode non-existent directories.
12392 if test "$hardcode_direct" != no &&
12393 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12394 # have to relink, otherwise we might link with an installed library
12395 # when we should be linking with a yet-to-be-installed one
12396 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12397 test "$hardcode_minus_L" != no; then
12398 # Linking always hardcodes the temporary library directory.
12399 hardcode_action=relink
12401 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12402 hardcode_action=immediate
12405 # We cannot hardcode anything, or else we can only hardcode existing
12407 hardcode_action=unsupported
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12410 $as_echo "$hardcode_action" >&6; }
12412 if test "$hardcode_action" = relink ||
12413 test "$inherit_rpath" = yes; then
12414 # Fast installation is not supported
12415 enable_fast_install=no
12416 elif test "$shlibpath_overrides_runpath" = yes ||
12417 test "$enable_shared" = no; then
12418 # Fast installation is not necessary
12419 enable_fast_install=needless
12427 if test "x$enable_dlopen" != xyes; then
12428 enable_dlopen=unknown
12429 enable_dlopen_self=unknown
12430 enable_dlopen_self_static=unknown
12437 lt_cv_dlopen="load_add_on"
12439 lt_cv_dlopen_self=yes
12442 mingw* | pw32* | cegcc*)
12443 lt_cv_dlopen="LoadLibrary"
12448 lt_cv_dlopen="dlopen"
12453 # if libdl is installed we need to link against it
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12455 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12456 if ${ac_cv_lib_dl_dlopen+:} false; then :
12457 $as_echo_n "(cached) " >&6
12459 ac_check_lib_save_LIBS=$LIBS
12461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12462 /* end confdefs.h. */
12464 /* Override any GCC internal prototype to avoid an error.
12465 Use char because int might match the return type of a GCC
12466 builtin and then its argument prototype would still apply. */
12479 if ac_fn_c_try_link "$LINENO"; then :
12480 ac_cv_lib_dl_dlopen=yes
12482 ac_cv_lib_dl_dlopen=no
12484 rm -f core conftest.err conftest.$ac_objext \
12485 conftest$ac_exeext conftest.$ac_ext
12486 LIBS=$ac_check_lib_save_LIBS
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12489 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12490 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12491 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12494 lt_cv_dlopen="dyld"
12496 lt_cv_dlopen_self=yes
12503 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12504 if test "x$ac_cv_func_shl_load" = xyes; then :
12505 lt_cv_dlopen="shl_load"
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12508 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12509 if ${ac_cv_lib_dld_shl_load+:} false; then :
12510 $as_echo_n "(cached) " >&6
12512 ac_check_lib_save_LIBS=$LIBS
12514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12515 /* end confdefs.h. */
12517 /* Override any GCC internal prototype to avoid an error.
12518 Use char because int might match the return type of a GCC
12519 builtin and then its argument prototype would still apply. */
12527 return shl_load ();
12532 if ac_fn_c_try_link "$LINENO"; then :
12533 ac_cv_lib_dld_shl_load=yes
12535 ac_cv_lib_dld_shl_load=no
12537 rm -f core conftest.err conftest.$ac_objext \
12538 conftest$ac_exeext conftest.$ac_ext
12539 LIBS=$ac_check_lib_save_LIBS
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12542 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12543 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12544 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12546 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12547 if test "x$ac_cv_func_dlopen" = xyes; then :
12548 lt_cv_dlopen="dlopen"
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12551 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12552 if ${ac_cv_lib_dl_dlopen+:} false; then :
12553 $as_echo_n "(cached) " >&6
12555 ac_check_lib_save_LIBS=$LIBS
12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12560 /* Override any GCC internal prototype to avoid an error.
12561 Use char because int might match the return type of a GCC
12562 builtin and then its argument prototype would still apply. */
12575 if ac_fn_c_try_link "$LINENO"; then :
12576 ac_cv_lib_dl_dlopen=yes
12578 ac_cv_lib_dl_dlopen=no
12580 rm -f core conftest.err conftest.$ac_objext \
12581 conftest$ac_exeext conftest.$ac_ext
12582 LIBS=$ac_check_lib_save_LIBS
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12585 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12586 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12587 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12590 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12591 if ${ac_cv_lib_svld_dlopen+:} false; then :
12592 $as_echo_n "(cached) " >&6
12594 ac_check_lib_save_LIBS=$LIBS
12595 LIBS="-lsvld $LIBS"
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12599 /* Override any GCC internal prototype to avoid an error.
12600 Use char because int might match the return type of a GCC
12601 builtin and then its argument prototype would still apply. */
12614 if ac_fn_c_try_link "$LINENO"; then :
12615 ac_cv_lib_svld_dlopen=yes
12617 ac_cv_lib_svld_dlopen=no
12619 rm -f core conftest.err conftest.$ac_objext \
12620 conftest$ac_exeext conftest.$ac_ext
12621 LIBS=$ac_check_lib_save_LIBS
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12624 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12625 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12626 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12629 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12630 if ${ac_cv_lib_dld_dld_link+:} false; then :
12631 $as_echo_n "(cached) " >&6
12633 ac_check_lib_save_LIBS=$LIBS
12635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12636 /* end confdefs.h. */
12638 /* Override any GCC internal prototype to avoid an error.
12639 Use char because int might match the return type of a GCC
12640 builtin and then its argument prototype would still apply. */
12648 return dld_link ();
12653 if ac_fn_c_try_link "$LINENO"; then :
12654 ac_cv_lib_dld_dld_link=yes
12656 ac_cv_lib_dld_dld_link=no
12658 rm -f core conftest.err conftest.$ac_objext \
12659 conftest$ac_exeext conftest.$ac_ext
12660 LIBS=$ac_check_lib_save_LIBS
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12663 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12664 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12665 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12686 if test "x$lt_cv_dlopen" != xno; then
12692 case $lt_cv_dlopen in
12694 save_CPPFLAGS="$CPPFLAGS"
12695 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12697 save_LDFLAGS="$LDFLAGS"
12698 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12701 LIBS="$lt_cv_dlopen_libs $LIBS"
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12704 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12705 if ${lt_cv_dlopen_self+:} false; then :
12706 $as_echo_n "(cached) " >&6
12708 if test "$cross_compiling" = yes; then :
12709 lt_cv_dlopen_self=cross
12711 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12712 lt_status=$lt_dlunknown
12713 cat > conftest.$ac_ext <<_LT_EOF
12714 #line $LINENO "configure"
12715 #include "confdefs.h"
12724 # define LT_DLGLOBAL RTLD_GLOBAL
12727 # define LT_DLGLOBAL DL_GLOBAL
12729 # define LT_DLGLOBAL 0
12733 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12734 find out it does not work in some platform. */
12735 #ifndef LT_DLLAZY_OR_NOW
12737 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12740 # define LT_DLLAZY_OR_NOW DL_LAZY
12743 # define LT_DLLAZY_OR_NOW RTLD_NOW
12746 # define LT_DLLAZY_OR_NOW DL_NOW
12748 # define LT_DLLAZY_OR_NOW 0
12755 /* When -fvisbility=hidden is used, assume the code has been annotated
12756 correspondingly for the symbols needed. */
12757 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12758 int fnord () __attribute__((visibility("default")));
12761 int fnord () { return 42; }
12764 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12765 int status = $lt_dlunknown;
12769 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12772 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12773 else puts (dlerror ());
12775 /* dlclose (self); */
12783 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12784 (eval $ac_link) 2>&5
12786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12787 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12788 (./conftest; exit; ) >&5 2>/dev/null
12790 case x$lt_status in
12791 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12792 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12793 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12796 # compilation failed
12797 lt_cv_dlopen_self=no
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12805 $as_echo "$lt_cv_dlopen_self" >&6; }
12807 if test "x$lt_cv_dlopen_self" = xyes; then
12808 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12810 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12811 if ${lt_cv_dlopen_self_static+:} false; then :
12812 $as_echo_n "(cached) " >&6
12814 if test "$cross_compiling" = yes; then :
12815 lt_cv_dlopen_self_static=cross
12817 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12818 lt_status=$lt_dlunknown
12819 cat > conftest.$ac_ext <<_LT_EOF
12820 #line $LINENO "configure"
12821 #include "confdefs.h"
12830 # define LT_DLGLOBAL RTLD_GLOBAL
12833 # define LT_DLGLOBAL DL_GLOBAL
12835 # define LT_DLGLOBAL 0
12839 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12840 find out it does not work in some platform. */
12841 #ifndef LT_DLLAZY_OR_NOW
12843 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12846 # define LT_DLLAZY_OR_NOW DL_LAZY
12849 # define LT_DLLAZY_OR_NOW RTLD_NOW
12852 # define LT_DLLAZY_OR_NOW DL_NOW
12854 # define LT_DLLAZY_OR_NOW 0
12861 /* When -fvisbility=hidden is used, assume the code has been annotated
12862 correspondingly for the symbols needed. */
12863 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12864 int fnord () __attribute__((visibility("default")));
12867 int fnord () { return 42; }
12870 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12871 int status = $lt_dlunknown;
12875 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12878 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12879 else puts (dlerror ());
12881 /* dlclose (self); */
12889 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12890 (eval $ac_link) 2>&5
12892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12893 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12894 (./conftest; exit; ) >&5 2>/dev/null
12896 case x$lt_status in
12897 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12898 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12899 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12902 # compilation failed
12903 lt_cv_dlopen_self_static=no
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12911 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12914 CPPFLAGS="$save_CPPFLAGS"
12915 LDFLAGS="$save_LDFLAGS"
12920 case $lt_cv_dlopen_self in
12921 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12922 *) enable_dlopen_self=unknown ;;
12925 case $lt_cv_dlopen_self_static in
12926 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12927 *) enable_dlopen_self_static=unknown ;;
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12950 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12951 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12952 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12953 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12955 $as_echo "yes" >&6; }
12957 # FIXME - insert some real tests, host_os isn't really good enough
12960 if test -n "$STRIP" ; then
12961 striplib="$STRIP -x"
12962 old_striplib="$STRIP -S"
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12964 $as_echo "yes" >&6; }
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12967 $as_echo "no" >&6; }
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12972 $as_echo "no" >&6; }
12988 # Report which library types will actually be built
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12990 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12992 $as_echo "$can_build_shared" >&6; }
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12995 $as_echo_n "checking whether to build shared libraries... " >&6; }
12996 test "$can_build_shared" = "no" && enable_shared=no
12998 # On AIX, shared libraries and static libraries use the same namespace, and
12999 # are all built from PIC.
13002 test "$enable_shared" = yes && enable_static=no
13003 if test -n "$RANLIB"; then
13004 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13005 postinstall_cmds='$RANLIB $lib'
13010 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13011 test "$enable_shared" = yes && enable_static=no
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13016 $as_echo "$enable_shared" >&6; }
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13019 $as_echo_n "checking whether to build static libraries... " >&6; }
13020 # Make sure either enable_shared or enable_static is yes.
13021 test "$enable_shared" = yes || enable_static=yes
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13023 $as_echo "$enable_static" >&6; }
13030 ac_cpp='$CPP $CPPFLAGS'
13031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13037 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13038 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13039 (test "X$CXX" != "Xg++"))) ; then
13041 ac_cpp='$CXXCPP $CPPFLAGS'
13042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13046 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13047 if test -z "$CXXCPP"; then
13048 if ${ac_cv_prog_CXXCPP+:} false; then :
13049 $as_echo_n "(cached) " >&6
13051 # Double quotes because CXXCPP needs to be expanded
13052 for CXXCPP in "$CXX -E" "/lib/cpp"
13054 ac_preproc_ok=false
13055 for ac_cxx_preproc_warn_flag in '' yes
13057 # Use a header file that comes with gcc, so configuring glibc
13058 # with a fresh cross-compiler works.
13059 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13060 # <limits.h> exists even on freestanding compilers.
13061 # On the NeXT, cc -E runs the code through the compiler's parser,
13062 # not just through cpp. "Syntax error" is here to catch this case.
13063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13064 /* end confdefs.h. */
13066 # include <limits.h>
13068 # include <assert.h>
13072 if ac_fn_cxx_try_cpp "$LINENO"; then :
13075 # Broken: fails on valid input.
13078 rm -f conftest.err conftest.i conftest.$ac_ext
13080 # OK, works on sane cases. Now check whether nonexistent headers
13081 # can be detected and how.
13082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13084 #include <ac_nonexistent.h>
13086 if ac_fn_cxx_try_cpp "$LINENO"; then :
13087 # Broken: success on invalid input.
13090 # Passes both tests.
13094 rm -f conftest.err conftest.i conftest.$ac_ext
13097 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13098 rm -f conftest.i conftest.err conftest.$ac_ext
13099 if $ac_preproc_ok; then :
13104 ac_cv_prog_CXXCPP=$CXXCPP
13107 CXXCPP=$ac_cv_prog_CXXCPP
13109 ac_cv_prog_CXXCPP=$CXXCPP
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13112 $as_echo "$CXXCPP" >&6; }
13113 ac_preproc_ok=false
13114 for ac_cxx_preproc_warn_flag in '' yes
13116 # Use a header file that comes with gcc, so configuring glibc
13117 # with a fresh cross-compiler works.
13118 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13119 # <limits.h> exists even on freestanding compilers.
13120 # On the NeXT, cc -E runs the code through the compiler's parser,
13121 # not just through cpp. "Syntax error" is here to catch this case.
13122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13123 /* end confdefs.h. */
13125 # include <limits.h>
13127 # include <assert.h>
13131 if ac_fn_cxx_try_cpp "$LINENO"; then :
13134 # Broken: fails on valid input.
13137 rm -f conftest.err conftest.i conftest.$ac_ext
13139 # OK, works on sane cases. Now check whether nonexistent headers
13140 # can be detected and how.
13141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13142 /* end confdefs.h. */
13143 #include <ac_nonexistent.h>
13145 if ac_fn_cxx_try_cpp "$LINENO"; then :
13146 # Broken: success on invalid input.
13149 # Passes both tests.
13153 rm -f conftest.err conftest.i conftest.$ac_ext
13156 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13157 rm -f conftest.i conftest.err conftest.$ac_ext
13158 if $ac_preproc_ok; then :
13161 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13163 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13164 See \`config.log' for more details" "$LINENO" 5; }
13168 ac_cpp='$CPP $CPPFLAGS'
13169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13174 _lt_caught_CXX_error=yes
13178 ac_cpp='$CXXCPP $CPPFLAGS'
13179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13183 archive_cmds_need_lc_CXX=no
13184 allow_undefined_flag_CXX=
13185 always_export_symbols_CXX=no
13186 archive_expsym_cmds_CXX=
13187 compiler_needs_object_CXX=no
13188 export_dynamic_flag_spec_CXX=
13189 hardcode_direct_CXX=no
13190 hardcode_direct_absolute_CXX=no
13191 hardcode_libdir_flag_spec_CXX=
13192 hardcode_libdir_separator_CXX=
13193 hardcode_minus_L_CXX=no
13194 hardcode_shlibpath_var_CXX=unsupported
13195 hardcode_automatic_CXX=no
13196 inherit_rpath_CXX=no
13198 module_expsym_cmds_CXX=
13199 link_all_deplibs_CXX=unknown
13200 old_archive_cmds_CXX=$old_archive_cmds
13201 reload_flag_CXX=$reload_flag
13202 reload_cmds_CXX=$reload_cmds
13203 no_undefined_flag_CXX=
13204 whole_archive_flag_spec_CXX=
13205 enable_shared_with_static_runtimes_CXX=no
13207 # Source file extension for C++ test sources.
13210 # Object file extension for compiled C++ test sources.
13214 # No sense in running all these tests if we already determined that
13215 # the CXX compiler isn't working. Some variables (like enable_shared)
13216 # are currently assumed to apply to all compilers on this platform,
13217 # and will be corrupted by setting them based on a non-working compiler.
13218 if test "$_lt_caught_CXX_error" != yes; then
13219 # Code to be used in simple compile tests
13220 lt_simple_compile_test_code="int some_variable = 0;"
13222 # Code to be used in simple link tests
13223 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13225 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13232 # If no C compiler was specified, use CC.
13235 # If no C compiler flags were specified, use CFLAGS.
13236 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13238 # Allow CC to be a program name with arguments.
13242 # save warnings/boilerplate of simple test code
13243 ac_outfile=conftest.$ac_objext
13244 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13245 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13246 _lt_compiler_boilerplate=`cat conftest.err`
13249 ac_outfile=conftest.$ac_objext
13250 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13251 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13252 _lt_linker_boilerplate=`cat conftest.err`
13256 # Allow CC to be a program name with arguments.
13258 lt_save_CFLAGS=$CFLAGS
13262 lt_save_with_gnu_ld=$with_gnu_ld
13263 lt_save_path_LD=$lt_cv_path_LD
13264 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13265 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13267 $as_unset lt_cv_prog_gnu_ld
13269 if test -n "${lt_cv_path_LDCXX+set}"; then
13270 lt_cv_path_LD=$lt_cv_path_LDCXX
13272 $as_unset lt_cv_path_LD
13274 test -z "${LDCXX+set}" || LD=$LDCXX
13279 for cc_temp in $compiler""; do
13281 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13282 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13287 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13290 if test -n "$compiler"; then
13291 # We don't want -fno-exception when compiling C++ code, so set the
13292 # no_builtin_flag separately
13293 if test "$GXX" = yes; then
13294 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13296 lt_prog_compiler_no_builtin_flag_CXX=
13299 if test "$GXX" = yes; then
13300 # Set up default GNU C++ configuration
13304 # Check whether --with-gnu-ld was given.
13305 if test "${with_gnu_ld+set}" = set; then :
13306 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13312 if test "$GCC" = yes; then
13313 # Check if gcc -print-prog-name=ld gives a path.
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13315 $as_echo_n "checking for ld used by $CC... " >&6; }
13318 # gcc leaves a trailing carriage return which upsets mingw
13319 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13321 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13324 # Accept absolute paths.
13326 re_direlt='/[^/][^/]*/\.\./'
13327 # Canonicalize the pathname of ld
13328 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13329 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13330 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13332 test -z "$LD" && LD="$ac_prog"
13335 # If it fails, then pretend we aren't using GCC.
13339 # If it is relative, then search for the first ld in PATH.
13340 with_gnu_ld=unknown
13343 elif test "$with_gnu_ld" = yes; then
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13345 $as_echo_n "checking for GNU ld... " >&6; }
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13348 $as_echo_n "checking for non-GNU ld... " >&6; }
13350 if ${lt_cv_path_LD+:} false; then :
13351 $as_echo_n "(cached) " >&6
13353 if test -z "$LD"; then
13354 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13355 for ac_dir in $PATH; do
13357 test -z "$ac_dir" && ac_dir=.
13358 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13359 lt_cv_path_LD="$ac_dir/$ac_prog"
13360 # Check to see if the program is GNU ld. I'd rather use --version,
13361 # but apparently some variants of GNU ld only accept -v.
13362 # Break only if it was the GNU/non-GNU ld that we prefer.
13363 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13364 *GNU* | *'with BFD'*)
13365 test "$with_gnu_ld" != no && break
13368 test "$with_gnu_ld" != yes && break
13375 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13379 LD="$lt_cv_path_LD"
13380 if test -n "$LD"; then
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13382 $as_echo "$LD" >&6; }
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13385 $as_echo "no" >&6; }
13387 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13389 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13390 if ${lt_cv_prog_gnu_ld+:} false; then :
13391 $as_echo_n "(cached) " >&6
13393 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13394 case `$LD -v 2>&1 </dev/null` in
13395 *GNU* | *'with BFD'*)
13396 lt_cv_prog_gnu_ld=yes
13399 lt_cv_prog_gnu_ld=no
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13404 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13405 with_gnu_ld=$lt_cv_prog_gnu_ld
13413 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13414 # archiving commands below assume that GNU ld is being used.
13415 if test "$with_gnu_ld" = yes; then
13416 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13417 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13419 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13420 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13422 # If archive_cmds runs LD, not CC, wlarc should be empty
13423 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13424 # investigate it a little bit more. (MM)
13427 # ancient GNU ld didn't support --whole-archive et. al.
13428 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13429 $GREP 'no-whole-archive' > /dev/null; then
13430 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13432 whole_archive_flag_spec_CXX=
13438 # A generic and very simple default shared library creation
13439 # command for GNU C++ for the case where it uses the native
13440 # linker, instead of GNU ld. If possible, this setting should
13441 # overridden to take advantage of the native linker features on
13442 # the platform it is being used on.
13443 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13446 # Commands to make compiler produce verbose output that lists
13447 # what "hidden" libraries, object files and flags are used when
13448 # linking a shared library.
13449 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13457 # PORTME: fill in a description of your system's C++ link characteristics
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13459 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13463 # FIXME: insert proper C++ library support
13467 if test "$host_cpu" = ia64; then
13468 # On IA64, the linker does run time linking by default, so we don't
13469 # have to do anything special.
13470 aix_use_runtimelinking=no
13471 exp_sym_flag='-Bexport'
13474 aix_use_runtimelinking=no
13476 # Test if we are trying to use run time linking or normal
13477 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13478 # need to do runtime linking.
13479 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13480 for ld_flag in $LDFLAGS; do
13483 aix_use_runtimelinking=yes
13491 exp_sym_flag='-bexport'
13492 no_entry_flag='-bnoentry'
13495 # When large executables or shared objects are built, AIX ld can
13496 # have problems creating the table of contents. If linking a library
13497 # or program results in "error TOC overflow" add -mminimal-toc to
13498 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13499 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13501 archive_cmds_CXX=''
13502 hardcode_direct_CXX=yes
13503 hardcode_direct_absolute_CXX=yes
13504 hardcode_libdir_separator_CXX=':'
13505 link_all_deplibs_CXX=yes
13506 file_list_spec_CXX='${wl}-f,'
13508 if test "$GXX" = yes; then
13509 case $host_os in aix4.[012]|aix4.[012].*)
13510 # We only want to do this on AIX 4.2 and lower, the check
13511 # below for broken collect2 doesn't work under 4.3+
13512 collect2name=`${CC} -print-prog-name=collect2`
13513 if test -f "$collect2name" &&
13514 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13516 # We have reworked collect2
13519 # We have old collect2
13520 hardcode_direct_CXX=unsupported
13521 # It fails to find uninstalled libraries when the uninstalled
13522 # path is not listed in the libpath. Setting hardcode_minus_L
13523 # to unsupported forces relinking
13524 hardcode_minus_L_CXX=yes
13525 hardcode_libdir_flag_spec_CXX='-L$libdir'
13526 hardcode_libdir_separator_CXX=
13529 shared_flag='-shared'
13530 if test "$aix_use_runtimelinking" = yes; then
13531 shared_flag="$shared_flag "'${wl}-G'
13535 if test "$host_cpu" = ia64; then
13536 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13537 # chokes on -Wl,-G. The following line is correct:
13540 if test "$aix_use_runtimelinking" = yes; then
13541 shared_flag='${wl}-G'
13543 shared_flag='${wl}-bM:SRE'
13548 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13549 # It seems that -bexpall does not export symbols beginning with
13550 # underscore (_), so it is better to generate a list of symbols to
13552 always_export_symbols_CXX=yes
13553 if test "$aix_use_runtimelinking" = yes; then
13554 # Warning - without using the other runtime loading flags (-brtl),
13555 # -berok will link without error, but may produce a broken library.
13556 allow_undefined_flag_CXX='-berok'
13557 # Determine the default libpath from the value encoded in an empty
13559 if test "${lt_cv_aix_libpath+set}" = set; then
13560 aix_libpath=$lt_cv_aix_libpath
13562 if ${lt_cv_aix_libpath__CXX+:} false; then :
13563 $as_echo_n "(cached) " >&6
13565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13576 if ac_fn_cxx_try_link "$LINENO"; then :
13578 lt_aix_libpath_sed='
13579 /Import File Strings/,/^$/ {
13581 s/^0 *\([^ ]*\) *$/\1/
13585 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13586 # Check for a 64-bit object if we didn't find anything.
13587 if test -z "$lt_cv_aix_libpath__CXX"; then
13588 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13591 rm -f core conftest.err conftest.$ac_objext \
13592 conftest$ac_exeext conftest.$ac_ext
13593 if test -z "$lt_cv_aix_libpath__CXX"; then
13594 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13599 aix_libpath=$lt_cv_aix_libpath__CXX
13602 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13604 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13606 if test "$host_cpu" = ia64; then
13607 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13608 allow_undefined_flag_CXX="-z nodefs"
13609 archive_expsym_cmds_CXX="\$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"
13611 # Determine the default libpath from the value encoded in an
13612 # empty executable.
13613 if test "${lt_cv_aix_libpath+set}" = set; then
13614 aix_libpath=$lt_cv_aix_libpath
13616 if ${lt_cv_aix_libpath__CXX+:} false; then :
13617 $as_echo_n "(cached) " >&6
13619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13630 if ac_fn_cxx_try_link "$LINENO"; then :
13632 lt_aix_libpath_sed='
13633 /Import File Strings/,/^$/ {
13635 s/^0 *\([^ ]*\) *$/\1/
13639 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13640 # Check for a 64-bit object if we didn't find anything.
13641 if test -z "$lt_cv_aix_libpath__CXX"; then
13642 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13645 rm -f core conftest.err conftest.$ac_objext \
13646 conftest$ac_exeext conftest.$ac_ext
13647 if test -z "$lt_cv_aix_libpath__CXX"; then
13648 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13653 aix_libpath=$lt_cv_aix_libpath__CXX
13656 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13657 # Warning - without using the other run time loading flags,
13658 # -berok will link without error, but may produce a broken library.
13659 no_undefined_flag_CXX=' ${wl}-bernotok'
13660 allow_undefined_flag_CXX=' ${wl}-berok'
13661 if test "$with_gnu_ld" = yes; then
13662 # We only use this code for GNU lds that support --whole-archive.
13663 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13665 # Exported symbols can be pulled into shared objects from archives
13666 whole_archive_flag_spec_CXX='$convenience'
13668 archive_cmds_need_lc_CXX=yes
13669 # This is similar to how AIX traditionally builds its shared
13671 archive_expsym_cmds_CXX="\$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'
13677 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13678 allow_undefined_flag_CXX=unsupported
13679 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13680 # support --undefined. This deserves some investigation. FIXME
13681 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13688 case $cc_basename in
13690 # FIXME: insert proper C++ library support
13696 cygwin* | mingw* | pw32* | cegcc*)
13697 case $GXX,$cc_basename in
13700 # hardcode_libdir_flag_spec is actually meaningless, as there is
13701 # no search path for DLLs.
13702 hardcode_libdir_flag_spec_CXX=' '
13703 allow_undefined_flag_CXX=unsupported
13704 always_export_symbols_CXX=yes
13705 file_list_spec_CXX='@'
13706 # Tell ltmain to make .lib files, not .a files.
13708 # Tell ltmain to make .dll files, not .so files.
13710 # FIXME: Setting linknames here is a bad hack.
13711 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13712 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13713 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13715 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13717 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13719 # The linker will not automatically build a static lib if we build a DLL.
13720 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13721 enable_shared_with_static_runtimes_CXX=yes
13723 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13724 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13725 lt_tool_outputfile="@TOOL_OUTPUT@"~
13726 case $lt_outputfile in
13729 lt_outputfile="$lt_outputfile.exe"
13730 lt_tool_outputfile="$lt_tool_outputfile.exe"
13733 func_to_tool_file "$lt_outputfile"~
13734 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13735 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13736 $RM "$lt_outputfile.manifest";
13741 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13742 # as there is no search path for DLLs.
13743 hardcode_libdir_flag_spec_CXX='-L$libdir'
13744 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13745 allow_undefined_flag_CXX=unsupported
13746 always_export_symbols_CXX=no
13747 enable_shared_with_static_runtimes_CXX=yes
13749 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13750 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13751 # If the export-symbols file already is a .def file (1st line
13752 # is EXPORTS), use it as is; otherwise, prepend...
13753 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13754 cp $export_symbols $output_objdir/$soname.def;
13756 echo EXPORTS > $output_objdir/$soname.def;
13757 cat $export_symbols >> $output_objdir/$soname.def;
13759 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13766 darwin* | rhapsody*)
13769 archive_cmds_need_lc_CXX=no
13770 hardcode_direct_CXX=no
13771 hardcode_automatic_CXX=yes
13772 hardcode_shlibpath_var_CXX=unsupported
13773 if test "$lt_cv_ld_force_load" = "yes"; then
13774 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13777 whole_archive_flag_spec_CXX=''
13779 link_all_deplibs_CXX=yes
13780 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13781 case $cc_basename in
13782 ifort*) _lt_dar_can_shared=yes ;;
13783 *) _lt_dar_can_shared=$GCC ;;
13785 if test "$_lt_dar_can_shared" = "yes"; then
13786 output_verbose_link_cmd=func_echo_all
13787 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13788 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13789 archive_expsym_cmds_CXX="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}"
13790 module_expsym_cmds_CXX="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}"
13791 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13792 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13793 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13803 case $cc_basename in
13805 # FIXME: insert proper C++ library support
13809 # Green Hills C++ Compiler
13810 # FIXME: insert proper C++ library support
13814 # FIXME: insert proper C++ library support
13821 # C++ shared libraries reported to be fairly broken before
13827 archive_cmds_need_lc_CXX=no
13830 freebsd* | dragonfly*)
13831 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13840 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13841 link_all_deplibs_CXX=yes
13845 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13846 hardcode_libdir_separator_CXX=:
13847 export_dynamic_flag_spec_CXX='${wl}-E'
13848 hardcode_direct_CXX=yes
13849 hardcode_minus_L_CXX=yes # Not in the search PATH,
13850 # but as the default
13851 # location of the library.
13853 case $cc_basename in
13855 # FIXME: insert proper C++ library support
13859 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13860 # Commands to make compiler produce verbose output that lists
13861 # what "hidden" libraries, object files and flags are used when
13862 # linking a shared library.
13864 # There doesn't appear to be a way to prevent this compiler from
13865 # explicitly linking system object files so we need to strip them
13866 # from the output so that they don't get included in the library
13868 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13871 if test "$GXX" = yes; then
13872 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13874 # FIXME: insert proper C++ library support
13882 if test $with_gnu_ld = no; then
13883 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13884 hardcode_libdir_separator_CXX=:
13890 export_dynamic_flag_spec_CXX='${wl}-E'
13896 hardcode_direct_CXX=no
13897 hardcode_shlibpath_var_CXX=no
13900 hardcode_direct_CXX=yes
13901 hardcode_direct_absolute_CXX=yes
13902 hardcode_minus_L_CXX=yes # Not in the search PATH,
13903 # but as the default
13904 # location of the library.
13908 case $cc_basename in
13910 # FIXME: insert proper C++ library support
13916 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13919 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13922 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13925 # Commands to make compiler produce verbose output that lists
13926 # what "hidden" libraries, object files and flags are used when
13927 # linking a shared library.
13929 # There doesn't appear to be a way to prevent this compiler from
13930 # explicitly linking system object files so we need to strip them
13931 # from the output so that they don't get included in the library
13933 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13936 if test "$GXX" = yes; then
13937 if test $with_gnu_ld = no; then
13940 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13943 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13946 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13951 # FIXME: insert proper C++ library support
13959 hardcode_direct_CXX=no
13960 hardcode_shlibpath_var_CXX=no
13961 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13962 export_dynamic_flag_spec_CXX='${wl}-E'
13963 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13964 # Instead, shared libraries are loaded at an image base (0x10000000 by
13965 # default) and relocated if they conflict, which is a slow very memory
13966 # consuming and fragmenting process. To avoid this, we pick a random,
13967 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13968 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13969 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13970 archive_expsym_cmds_CXX='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'
13973 case $cc_basename in
13976 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13978 # Archives containing C++ object files must be created using
13979 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13980 # necessary to make sure instantiated templates are included
13982 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13985 if test "$GXX" = yes; then
13986 if test "$with_gnu_ld" = no; then
13987 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13989 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13992 link_all_deplibs_CXX=yes
13995 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13996 hardcode_libdir_separator_CXX=:
13997 inherit_rpath_CXX=yes
14000 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14001 case $cc_basename in
14003 # Kuck and Associates, Inc. (KAI) C++ Compiler
14005 # KCC will only create a shared library if the output file
14006 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14007 # to its proper name (with version) after linking.
14008 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14009 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
14010 # Commands to make compiler produce verbose output that lists
14011 # what "hidden" libraries, object files and flags are used when
14012 # linking a shared library.
14014 # There doesn't appear to be a way to prevent this compiler from
14015 # explicitly linking system object files so we need to strip them
14016 # from the output so that they don't get included in the library
14018 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14020 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14021 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14023 # Archives containing C++ object files must be created using
14024 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14025 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14030 # version 8.0 and above of icpc choke on multiply defined symbols
14031 # if we add $predep_objects and $postdep_objects, however 7.1 and
14032 # earlier do not add the objects themselves.
14033 case `$CC -V 2>&1` in
14035 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14036 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14038 *) # Version 8.0 or newer
14041 ia64*) tmp_idyn=' -i_dynamic';;
14043 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14044 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14047 archive_cmds_need_lc_CXX=no
14048 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14049 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14050 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14053 # Portland Group C++ compiler
14055 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14056 prelink_cmds_CXX='tpldir=Template.dir~
14058 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14059 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14060 old_archive_cmds_CXX='tpldir=Template.dir~
14062 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14063 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14065 archive_cmds_CXX='tpldir=Template.dir~
14067 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14068 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14069 archive_expsym_cmds_CXX='tpldir=Template.dir~
14071 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14072 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14074 *) # Version 6 and above use weak symbols
14075 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14076 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14080 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14081 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14082 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14086 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14087 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
14089 runpath_var=LD_RUN_PATH
14090 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14091 hardcode_libdir_separator_CXX=:
14093 # Commands to make compiler produce verbose output that lists
14094 # what "hidden" libraries, object files and flags are used when
14095 # linking a shared library.
14097 # There doesn't appear to be a way to prevent this compiler from
14098 # explicitly linking system object files so we need to strip them
14099 # from the output so that they don't get included in the library
14101 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
14103 xl* | mpixl* | bgxl*)
14104 # IBM XL 8.0 on PPC, with GNU ld
14105 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14106 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14107 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14108 if test "x$supports_anon_versioning" = xyes; then
14109 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14110 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14111 echo "local: *; };" >> $output_objdir/$libname.ver~
14112 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14116 case `$CC -V 2>&1 | sed 5q` in
14119 no_undefined_flag_CXX=' -zdefs'
14120 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14121 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
14122 hardcode_libdir_flag_spec_CXX='-R$libdir'
14123 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14124 compiler_needs_object_CXX=yes
14126 # Not sure whether something based on
14127 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14129 output_verbose_link_cmd='func_echo_all'
14131 # Archives containing C++ object files must be created using
14132 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14133 # necessary to make sure instantiated templates are included
14135 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14143 # FIXME: insert proper C++ library support
14148 # FIXME: insert proper C++ library support
14153 case $cc_basename in
14155 # FIXME: insert proper C++ library support
14159 # FIXME: insert proper C++ library support
14166 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14167 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14169 hardcode_libdir_flag_spec_CXX='-R$libdir'
14170 hardcode_direct_CXX=yes
14171 hardcode_shlibpath_var_CXX=no
14173 # Workaround some broken pre-1.5 toolchains
14174 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14182 # C++ shared libraries are fairly broken
14187 if test -f /usr/libexec/ld.so; then
14188 hardcode_direct_CXX=yes
14189 hardcode_shlibpath_var_CXX=no
14190 hardcode_direct_absolute_CXX=yes
14191 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14192 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14193 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14194 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14195 export_dynamic_flag_spec_CXX='${wl}-E'
14196 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14198 output_verbose_link_cmd=func_echo_all
14204 osf3* | osf4* | osf5*)
14205 case $cc_basename in
14207 # Kuck and Associates, Inc. (KAI) C++ Compiler
14209 # KCC will only create a shared library if the output file
14210 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14211 # to its proper name (with version) after linking.
14212 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14214 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14215 hardcode_libdir_separator_CXX=:
14217 # Archives containing C++ object files must be created using
14218 # the KAI C++ compiler.
14220 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14221 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14225 # Rational C++ 2.4.1
14226 # FIXME: insert proper C++ library support
14232 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14233 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14234 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14237 allow_undefined_flag_CXX=' -expect_unresolved \*'
14238 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14239 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14240 echo "-hidden">> $lib.exp~
14241 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
14243 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14247 hardcode_libdir_separator_CXX=:
14249 # Commands to make compiler produce verbose output that lists
14250 # what "hidden" libraries, object files and flags are used when
14251 # linking a shared library.
14253 # There doesn't appear to be a way to prevent this compiler from
14254 # explicitly linking system object files so we need to strip them
14255 # from the output so that they don't get included in the library
14257 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14260 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14261 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14264 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14267 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14271 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14272 hardcode_libdir_separator_CXX=:
14274 # Commands to make compiler produce verbose output that lists
14275 # what "hidden" libraries, object files and flags are used when
14276 # linking a shared library.
14277 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14280 # FIXME: insert proper C++ library support
14288 # FIXME: insert proper C++ library support
14293 case $cc_basename in
14296 # FIXME: insert proper C++ library support
14301 # FIXME: insert proper C++ library support
14305 # FIXME: insert proper C++ library support
14312 case $cc_basename in
14314 # Sun C++ 4.2, 5.x and Centerline C++
14315 archive_cmds_need_lc_CXX=yes
14316 no_undefined_flag_CXX=' -zdefs'
14317 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14318 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14319 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14321 hardcode_libdir_flag_spec_CXX='-R$libdir'
14322 hardcode_shlibpath_var_CXX=no
14324 solaris2.[0-5] | solaris2.[0-5].*) ;;
14326 # The compiler driver will combine and reorder linker options,
14327 # but understands `-z linker_flag'.
14328 # Supported since Solaris 2.6 (maybe 2.5.1?)
14329 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14332 link_all_deplibs_CXX=yes
14334 output_verbose_link_cmd='func_echo_all'
14336 # Archives containing C++ object files must be created using
14337 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14338 # necessary to make sure instantiated templates are included
14340 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14343 # Green Hills C++ Compiler
14344 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14346 # The C++ compiler must be used to create the archive.
14347 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14350 # GNU C++ compiler with Solaris linker
14351 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14352 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14353 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14354 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14355 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14356 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14358 # Commands to make compiler produce verbose output that lists
14359 # what "hidden" libraries, object files and flags are used when
14360 # linking a shared library.
14361 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14363 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14365 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14366 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14367 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14369 # Commands to make compiler produce verbose output that lists
14370 # what "hidden" libraries, object files and flags are used when
14371 # linking a shared library.
14372 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14375 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14377 solaris2.[0-5] | solaris2.[0-5].*) ;;
14379 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14387 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14388 no_undefined_flag_CXX='${wl}-z,text'
14389 archive_cmds_need_lc_CXX=no
14390 hardcode_shlibpath_var_CXX=no
14391 runpath_var='LD_RUN_PATH'
14393 case $cc_basename in
14395 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14396 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14399 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14400 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14405 sysv5* | sco3.2v5* | sco5v6*)
14406 # Note: We can NOT use -z defs as we might desire, because we do not
14407 # link with -lc, and that would cause any symbols used from libc to
14408 # always be unresolved, which means just about no library would
14409 # ever link correctly. If we're not using GNU ld we use -z text
14410 # though, which does catch some bad symbols but isn't as heavy-handed
14412 no_undefined_flag_CXX='${wl}-z,text'
14413 allow_undefined_flag_CXX='${wl}-z,nodefs'
14414 archive_cmds_need_lc_CXX=no
14415 hardcode_shlibpath_var_CXX=no
14416 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14417 hardcode_libdir_separator_CXX=':'
14418 link_all_deplibs_CXX=yes
14419 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14420 runpath_var='LD_RUN_PATH'
14422 case $cc_basename in
14424 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14425 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14426 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14427 '"$old_archive_cmds_CXX"
14428 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14429 '"$reload_cmds_CXX"
14432 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14433 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14439 case $cc_basename in
14441 # NonStop-UX NCC 3.20
14442 # FIXME: insert proper C++ library support
14446 # FIXME: insert proper C++ library support
14453 # FIXME: insert proper C++ library support
14458 # FIXME: insert proper C++ library support
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14464 $as_echo "$ld_shlibs_CXX" >&6; }
14465 test "$ld_shlibs_CXX" = no && can_build_shared=no
14471 ## There is no encapsulation within the following macros, do not change
14472 ## the running order or otherwise move them around unless you know exactly
14473 ## what you are doing...
14474 # Dependencies to place before and after the object being linked:
14475 predep_objects_CXX=
14476 postdep_objects_CXX=
14479 compiler_lib_search_path_CXX=
14481 cat > conftest.$ac_ext <<_LT_EOF
14485 Foo (void) { a = 0; }
14492 _lt_libdeps_save_CFLAGS=$CFLAGS
14493 case "$CC $CFLAGS " in #(
14494 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14495 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14496 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14499 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14500 (eval $ac_compile) 2>&5
14502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14503 test $ac_status = 0; }; then
14504 # Parse the compiler output and extract the necessary
14505 # objects, libraries and library flags.
14507 # Sentinel used to keep track of whether or not we are before
14508 # the conftest object file.
14509 pre_test_object_deps_done=no
14511 for p in `eval "$output_verbose_link_cmd"`; do
14512 case ${prev}${p} in
14515 # Some compilers place space between "-{L,R}" and the path.
14516 # Remove the space.
14517 if test $p = "-L" ||
14518 test $p = "-R"; then
14523 # Expand the sysroot to ease extracting the directories later.
14524 if test -z "$prev"; then
14526 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14527 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14528 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14532 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14534 if test "$pre_test_object_deps_done" = no; then
14537 # Internal compiler library paths should come after those
14538 # provided the user. The postdeps already come after the
14539 # user supplied libs so there is no need to process them.
14540 if test -z "$compiler_lib_search_path_CXX"; then
14541 compiler_lib_search_path_CXX="${prev}${p}"
14543 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14546 # The "-l" case would never come before the object being
14547 # linked, so don't bother handling this case.
14550 if test -z "$postdeps_CXX"; then
14551 postdeps_CXX="${prev}${p}"
14553 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14559 *.lto.$objext) ;; # Ignore GCC LTO objects
14561 # This assumes that the test object file only shows up
14562 # once in the compiler output.
14563 if test "$p" = "conftest.$objext"; then
14564 pre_test_object_deps_done=yes
14568 if test "$pre_test_object_deps_done" = no; then
14569 if test -z "$predep_objects_CXX"; then
14570 predep_objects_CXX="$p"
14572 predep_objects_CXX="$predep_objects_CXX $p"
14575 if test -z "$postdep_objects_CXX"; then
14576 postdep_objects_CXX="$p"
14578 postdep_objects_CXX="$postdep_objects_CXX $p"
14583 *) ;; # Ignore the rest.
14591 echo "libtool.m4: error: problem compiling CXX test program"
14594 $RM -f confest.$objext
14595 CFLAGS=$_lt_libdeps_save_CFLAGS
14597 # PORTME: override above test on systems where it is broken
14600 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14601 # hack all around it, let's just trust "g++" to DTRT.
14602 predep_objects_CXX=
14603 postdep_objects_CXX=
14608 case `$CC -V 2>&1 | sed 5q` in
14612 # The more standards-conforming stlport4 library is
14613 # incompatible with the Cstd library. Avoid specifying
14614 # it if it's in CXXFLAGS. Ignore libCrun as
14615 # -library=stlport4 depends on it.
14616 case " $CXX $CXXFLAGS " in
14617 *" -library=stlport4 "*)
14618 solaris_use_stlport4=yes
14622 if test "$solaris_use_stlport4" != yes; then
14623 postdeps_CXX='-library=Cstd -library=Crun'
14630 case $cc_basename in
14632 # The more standards-conforming stlport4 library is
14633 # incompatible with the Cstd library. Avoid specifying
14634 # it if it's in CXXFLAGS. Ignore libCrun as
14635 # -library=stlport4 depends on it.
14636 case " $CXX $CXXFLAGS " in
14637 *" -library=stlport4 "*)
14638 solaris_use_stlport4=yes
14642 # Adding this requires a known-good setup of shared libraries for
14643 # Sun compiler versions before 5.6, else PIC objects from an old
14644 # archive will be linked into the output, leading to subtle bugs.
14645 if test "$solaris_use_stlport4" != yes; then
14646 postdeps_CXX='-library=Cstd -library=Crun'
14654 case " $postdeps_CXX " in
14655 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14657 compiler_lib_search_dirs_CXX=
14658 if test -n "${compiler_lib_search_path_CXX}"; then
14659 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14692 lt_prog_compiler_wl_CXX=
14693 lt_prog_compiler_pic_CXX=
14694 lt_prog_compiler_static_CXX=
14697 # C++ specific cases for pic, static, wl, etc.
14698 if test "$GXX" = yes; then
14699 lt_prog_compiler_wl_CXX='-Wl,'
14700 lt_prog_compiler_static_CXX='-static'
14704 # All AIX code is PIC.
14705 if test "$host_cpu" = ia64; then
14706 # AIX 5 now supports IA64 processor
14707 lt_prog_compiler_static_CXX='-Bstatic'
14714 # see comment about AmigaOS4 .so support
14715 lt_prog_compiler_pic_CXX='-fPIC'
14718 # FIXME: we need at least 68020 code to build shared libraries, but
14719 # adding the `-m68020' flag to GCC prevents building anything better,
14721 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14726 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14727 # PIC is the default for these OSes.
14729 mingw* | cygwin* | os2* | pw32* | cegcc*)
14730 # This hack is so that the source file can tell whether it is being
14731 # built for inclusion in a dll (and should export symbols for example).
14732 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14733 # (--disable-auto-import) libraries
14734 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14736 darwin* | rhapsody*)
14737 # PIC is the default on this platform
14738 # Common symbols not allowed in MH_DYLIB files
14739 lt_prog_compiler_pic_CXX='-fno-common'
14742 # DJGPP does not support shared libraries at all
14743 lt_prog_compiler_pic_CXX=
14746 # PIC is the default for Haiku.
14747 # The "-static" flag exists, but is broken.
14748 lt_prog_compiler_static_CXX=
14751 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14752 # Instead, we relocate shared libraries at runtime.
14755 if test -d /usr/nec; then
14756 lt_prog_compiler_pic_CXX=-Kconform_pic
14760 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14761 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14762 # sets the default TLS model and affects inlining.
14767 lt_prog_compiler_pic_CXX='-fPIC'
14772 # QNX uses GNU C++, but need to define -shared option too, otherwise
14773 # it will coredump.
14774 lt_prog_compiler_pic_CXX='-fPIC -shared'
14777 lt_prog_compiler_pic_CXX='-fPIC'
14783 # All AIX code is PIC.
14784 if test "$host_cpu" = ia64; then
14785 # AIX 5 now supports IA64 processor
14786 lt_prog_compiler_static_CXX='-Bstatic'
14788 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14792 case $cc_basename in
14794 # Green Hills C++ Compiler
14795 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14799 mingw* | cygwin* | os2* | pw32* | cegcc*)
14800 # This hack is so that the source file can tell whether it is being
14801 # built for inclusion in a dll (and should export symbols for example).
14802 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14805 case $cc_basename in
14807 lt_prog_compiler_pic_CXX='-KPIC'
14810 # Green Hills C++ Compiler
14811 lt_prog_compiler_pic_CXX='-pic'
14817 freebsd* | dragonfly*)
14818 # FreeBSD uses GNU C++
14820 hpux9* | hpux10* | hpux11*)
14821 case $cc_basename in
14823 lt_prog_compiler_wl_CXX='-Wl,'
14824 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14825 if test "$host_cpu" != ia64; then
14826 lt_prog_compiler_pic_CXX='+Z'
14830 lt_prog_compiler_wl_CXX='-Wl,'
14831 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14837 lt_prog_compiler_pic_CXX='+Z'
14846 # This is c89, which is MS Visual C++ (no shared libs)
14847 # Anyone wants to do a port?
14849 irix5* | irix6* | nonstopux*)
14850 case $cc_basename in
14852 lt_prog_compiler_wl_CXX='-Wl,'
14853 lt_prog_compiler_static_CXX='-non_shared'
14854 # CC pic flag -KPIC is the default.
14860 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14861 case $cc_basename in
14864 lt_prog_compiler_wl_CXX='--backend -Wl,'
14865 lt_prog_compiler_pic_CXX='-fPIC'
14868 # old Intel C++ for x86_64 which still supported -KPIC.
14869 lt_prog_compiler_wl_CXX='-Wl,'
14870 lt_prog_compiler_pic_CXX='-KPIC'
14871 lt_prog_compiler_static_CXX='-static'
14874 # Intel C++, used to be incompatible with GCC.
14875 # ICC 10 doesn't accept -KPIC any more.
14876 lt_prog_compiler_wl_CXX='-Wl,'
14877 lt_prog_compiler_pic_CXX='-fPIC'
14878 lt_prog_compiler_static_CXX='-static'
14881 # Portland Group C++ compiler
14882 lt_prog_compiler_wl_CXX='-Wl,'
14883 lt_prog_compiler_pic_CXX='-fpic'
14884 lt_prog_compiler_static_CXX='-Bstatic'
14888 # Make sure the PIC flag is empty. It appears that all Alpha
14889 # Linux and Compaq Tru64 Unix objects are PIC.
14890 lt_prog_compiler_pic_CXX=
14891 lt_prog_compiler_static_CXX='-non_shared'
14893 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14894 # IBM XL 8.0, 9.0 on PPC and BlueGene
14895 lt_prog_compiler_wl_CXX='-Wl,'
14896 lt_prog_compiler_pic_CXX='-qpic'
14897 lt_prog_compiler_static_CXX='-qstaticlink'
14900 case `$CC -V 2>&1 | sed 5q` in
14903 lt_prog_compiler_pic_CXX='-KPIC'
14904 lt_prog_compiler_static_CXX='-Bstatic'
14905 lt_prog_compiler_wl_CXX='-Qoption ld '
14916 case $cc_basename in
14918 lt_prog_compiler_pic_CXX='-W c,exportall'
14927 # QNX uses GNU C++, but need to define -shared option too, otherwise
14928 # it will coredump.
14929 lt_prog_compiler_pic_CXX='-fPIC -shared'
14931 osf3* | osf4* | osf5*)
14932 case $cc_basename in
14934 lt_prog_compiler_wl_CXX='--backend -Wl,'
14937 # Rational C++ 2.4.1
14938 lt_prog_compiler_pic_CXX='-pic'
14941 # Digital/Compaq C++
14942 lt_prog_compiler_wl_CXX='-Wl,'
14943 # Make sure the PIC flag is empty. It appears that all Alpha
14944 # Linux and Compaq Tru64 Unix objects are PIC.
14945 lt_prog_compiler_pic_CXX=
14946 lt_prog_compiler_static_CXX='-non_shared'
14955 case $cc_basename in
14957 # Sun C++ 4.2, 5.x and Centerline C++
14958 lt_prog_compiler_pic_CXX='-KPIC'
14959 lt_prog_compiler_static_CXX='-Bstatic'
14960 lt_prog_compiler_wl_CXX='-Qoption ld '
14963 # Green Hills C++ Compiler
14964 lt_prog_compiler_pic_CXX='-PIC'
14971 case $cc_basename in
14974 lt_prog_compiler_pic_CXX='-pic'
14975 lt_prog_compiler_static_CXX='-Bstatic'
14979 lt_prog_compiler_pic_CXX='-pic'
14985 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14986 case $cc_basename in
14988 lt_prog_compiler_wl_CXX='-Wl,'
14989 lt_prog_compiler_pic_CXX='-KPIC'
14990 lt_prog_compiler_static_CXX='-Bstatic'
14995 case $cc_basename in
14997 # NonStop-UX NCC 3.20
14998 lt_prog_compiler_pic_CXX='-KPIC'
15007 lt_prog_compiler_can_build_shared_CXX=no
15013 # For platforms which do not support PIC, -DPIC is meaningless:
15015 lt_prog_compiler_pic_CXX=
15018 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15023 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15024 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15025 $as_echo_n "(cached) " >&6
15027 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15030 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15031 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15034 # Check to make sure the PIC flag actually works.
15036 if test -n "$lt_prog_compiler_pic_CXX"; then
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15038 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15039 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15040 $as_echo_n "(cached) " >&6
15042 lt_cv_prog_compiler_pic_works_CXX=no
15043 ac_outfile=conftest.$ac_objext
15044 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15045 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15046 # Insert the option either (1) after the last *FLAGS variable, or
15047 # (2) before a word containing "conftest.", or (3) at the end.
15048 # Note that $ac_compile itself does not contain backslashes and begins
15049 # with a dollar sign (not a hyphen), so the echo should work correctly.
15050 # The option is referenced via a variable to avoid confusing sed.
15051 lt_compile=`echo "$ac_compile" | $SED \
15052 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15053 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15054 -e 's:$: $lt_compiler_flag:'`
15055 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15056 (eval "$lt_compile" 2>conftest.err)
15058 cat conftest.err >&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 if (exit $ac_status) && test -s "$ac_outfile"; then
15061 # The compiler can only warn and ignore the option if not recognized
15062 # So say no if there are warnings other than the usual output.
15063 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15064 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15065 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15066 lt_cv_prog_compiler_pic_works_CXX=yes
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15073 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15075 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15076 case $lt_prog_compiler_pic_CXX in
15078 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15081 lt_prog_compiler_pic_CXX=
15082 lt_prog_compiler_can_build_shared_CXX=no
15092 # Check to make sure the static flag actually works.
15094 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15096 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15097 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15098 $as_echo_n "(cached) " >&6
15100 lt_cv_prog_compiler_static_works_CXX=no
15101 save_LDFLAGS="$LDFLAGS"
15102 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15103 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15104 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15105 # The linker can only warn and ignore the option if not recognized
15106 # So say no if there are warnings
15107 if test -s conftest.err; then
15108 # Append any errors to the config.log.
15109 cat conftest.err 1>&5
15110 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15111 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15112 if diff conftest.exp conftest.er2 >/dev/null; then
15113 lt_cv_prog_compiler_static_works_CXX=yes
15116 lt_cv_prog_compiler_static_works_CXX=yes
15120 LDFLAGS="$save_LDFLAGS"
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15124 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15126 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15129 lt_prog_compiler_static_CXX=
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15136 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15137 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15138 $as_echo_n "(cached) " >&6
15140 lt_cv_prog_compiler_c_o_CXX=no
15141 $RM -r conftest 2>/dev/null
15145 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15147 lt_compiler_flag="-o out/conftest2.$ac_objext"
15148 # Insert the option either (1) after the last *FLAGS variable, or
15149 # (2) before a word containing "conftest.", or (3) at the end.
15150 # Note that $ac_compile itself does not contain backslashes and begins
15151 # with a dollar sign (not a hyphen), so the echo should work correctly.
15152 lt_compile=`echo "$ac_compile" | $SED \
15153 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15154 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15155 -e 's:$: $lt_compiler_flag:'`
15156 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15157 (eval "$lt_compile" 2>out/conftest.err)
15159 cat out/conftest.err >&5
15160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15163 # The compiler can only warn and ignore the option if not recognized
15164 # So say no if there are warnings
15165 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15166 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15167 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15168 lt_cv_prog_compiler_c_o_CXX=yes
15173 # SGI C++ compiler will create directory out/ii_files/ for
15174 # template instantiation
15175 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15176 $RM out/* && rmdir out
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15183 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15188 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15189 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15190 $as_echo_n "(cached) " >&6
15192 lt_cv_prog_compiler_c_o_CXX=no
15193 $RM -r conftest 2>/dev/null
15197 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15199 lt_compiler_flag="-o out/conftest2.$ac_objext"
15200 # Insert the option either (1) after the last *FLAGS variable, or
15201 # (2) before a word containing "conftest.", or (3) at the end.
15202 # Note that $ac_compile itself does not contain backslashes and begins
15203 # with a dollar sign (not a hyphen), so the echo should work correctly.
15204 lt_compile=`echo "$ac_compile" | $SED \
15205 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15206 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15207 -e 's:$: $lt_compiler_flag:'`
15208 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15209 (eval "$lt_compile" 2>out/conftest.err)
15211 cat out/conftest.err >&5
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15215 # The compiler can only warn and ignore the option if not recognized
15216 # So say no if there are warnings
15217 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15218 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15219 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15220 lt_cv_prog_compiler_c_o_CXX=yes
15225 # SGI C++ compiler will create directory out/ii_files/ for
15226 # template instantiation
15227 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15228 $RM out/* && rmdir out
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15235 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15240 hard_links="nottested"
15241 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15242 # do not overwrite the value of need_locks provided by the user
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15244 $as_echo_n "checking if we can lock with hard links... " >&6; }
15247 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15249 ln conftest.a conftest.b 2>&5 || hard_links=no
15250 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15252 $as_echo "$hard_links" >&6; }
15253 if test "$hard_links" = no; then
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15255 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15265 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15267 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15268 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15271 # If we're using GNU nm, then we don't want the "-C" option.
15272 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15273 # Also, AIX nm treats weak defined symbols like other global defined
15274 # symbols, whereas GNU nm marks them as "W".
15275 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15276 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15278 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15282 export_symbols_cmds_CXX="$ltdll_cmds"
15284 cygwin* | mingw* | cegcc*)
15285 case $cc_basename in
15287 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15290 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15291 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15296 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15301 $as_echo "$ld_shlibs_CXX" >&6; }
15302 test "$ld_shlibs_CXX" = no && can_build_shared=no
15304 with_gnu_ld_CXX=$with_gnu_ld
15312 # Do we need to explicitly link libc?
15314 case "x$archive_cmds_need_lc_CXX" in
15316 # Assume -lc should be added
15317 archive_cmds_need_lc_CXX=yes
15319 if test "$enable_shared" = yes && test "$GCC" = yes; then
15320 case $archive_cmds_CXX in
15322 # FIXME: we may have to deal with multi-command sequences.
15325 # Test whether the compiler implicitly links with -lc since on some
15326 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15327 # to ld, don't add -lc before -lgcc.
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15329 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15330 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15331 $as_echo_n "(cached) " >&6
15334 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15336 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15337 (eval $ac_compile) 2>&5
15339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15340 test $ac_status = 0; } 2>conftest.err; then
15343 libobjs=conftest.$ac_objext
15345 wl=$lt_prog_compiler_wl_CXX
15346 pic_flag=$lt_prog_compiler_pic_CXX
15352 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15353 allow_undefined_flag_CXX=
15354 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15355 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15358 test $ac_status = 0; }
15360 lt_cv_archive_cmds_need_lc_CXX=no
15362 lt_cv_archive_cmds_need_lc_CXX=yes
15364 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15366 cat conftest.err 1>&5
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15372 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15373 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15442 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15444 library_names_spec=
15445 libname_spec='lib$name'
15449 postuninstall_cmds=
15453 shlibpath_overrides_runpath=unknown
15455 dynamic_linker="$host_os ld.so"
15456 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15457 need_lib_prefix=unknown
15458 hardcode_into_libs=no
15460 # when you set need_version to no, make sure it does not cause -set_version
15461 # flags to be left without arguments
15462 need_version=unknown
15466 version_type=linux # correct to gnu/linux during the next big refactor
15467 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15468 shlibpath_var=LIBPATH
15470 # AIX 3 has no versioning support, so we append a major version to the name.
15471 soname_spec='${libname}${release}${shared_ext}$major'
15475 version_type=linux # correct to gnu/linux during the next big refactor
15478 hardcode_into_libs=yes
15479 if test "$host_cpu" = ia64; then
15480 # AIX 5 supports IA64
15481 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15482 shlibpath_var=LD_LIBRARY_PATH
15484 # With GCC up to 2.95.x, collect2 would create an import file
15485 # for dependence libraries. The import file would start with
15486 # the line `#! .'. This would cause the generated library to
15487 # depend on `.', always an invalid library. This was fixed in
15488 # development snapshots of GCC prior to 3.0.
15490 aix4 | aix4.[01] | aix4.[01].*)
15491 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15493 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15496 can_build_shared=no
15500 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15501 # soname into executable. Probably we can add versioning support to
15502 # collect2, so additional links can be useful in future.
15503 if test "$aix_use_runtimelinking" = yes; then
15504 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15505 # instead of lib<name>.a to let people know that these are not
15506 # typical AIX shared libraries.
15507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15509 # We preserve .a as extension for shared libraries through AIX4.2
15510 # and later when we are not doing run time linking.
15511 library_names_spec='${libname}${release}.a $libname.a'
15512 soname_spec='${libname}${release}${shared_ext}$major'
15514 shlibpath_var=LIBPATH
15521 # Since July 2007 AmigaOS4 officially supports .so libraries.
15522 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15526 library_names_spec='$libname.ixlibrary $libname.a'
15527 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15528 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
15534 library_names_spec='${libname}${shared_ext}'
15535 dynamic_linker="$host_os ld.so"
15536 shlibpath_var=LIBRARY_PATH
15540 version_type=linux # correct to gnu/linux during the next big refactor
15542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15543 soname_spec='${libname}${release}${shared_ext}$major'
15544 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15545 shlibpath_var=LD_LIBRARY_PATH
15546 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15547 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15548 # the default ld.so.conf also contains /usr/contrib/lib and
15549 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15550 # libtool to hard-code these into programs
15553 cygwin* | mingw* | pw32* | cegcc*)
15554 version_type=windows
15559 case $GCC,$cc_basename in
15562 library_names_spec='$libname.dll.a'
15563 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15564 postinstall_cmds='base_file=`basename \${file}`~
15565 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15566 dldir=$destdir/`dirname \$dlpath`~
15567 test -d \$dldir || mkdir -p \$dldir~
15568 $install_prog $dir/$dlname \$dldir/$dlname~
15569 chmod a+x \$dldir/$dlname~
15570 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15571 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15573 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15574 dlpath=$dir/\$dldll~
15576 shlibpath_overrides_runpath=yes
15580 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15581 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15585 # MinGW DLLs use traditional 'lib' prefix
15586 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15589 # pw32 DLLs use 'pw' prefix rather than 'lib'
15590 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15593 dynamic_linker='Win32 ld.exe'
15598 libname_spec='$name'
15599 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15600 library_names_spec='${libname}.dll.lib'
15604 sys_lib_search_path_spec=
15607 for lt_path in $LIB
15610 # Let DOS variable expansion print the short 8.3 style file name.
15611 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15612 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15615 # Convert to MSYS style.
15616 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15619 # Convert to unix form, then to dos form, then back to unix form
15620 # but this time dos style (no spaces!) so that the unix form looks
15621 # like /cygdrive/c/PROGRA~1:/cygdr...
15622 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15623 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15624 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15627 sys_lib_search_path_spec="$LIB"
15628 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15629 # It is most probably a Windows format PATH.
15630 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15632 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15634 # FIXME: find the short name or the path components, as spaces are
15635 # common. (e.g. "Program Files" -> "PROGRA~1")
15639 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15640 postinstall_cmds='base_file=`basename \${file}`~
15641 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15642 dldir=$destdir/`dirname \$dlpath`~
15643 test -d \$dldir || mkdir -p \$dldir~
15644 $install_prog $dir/$dlname \$dldir/$dlname'
15645 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15646 dlpath=$dir/\$dldll~
15648 shlibpath_overrides_runpath=yes
15649 dynamic_linker='Win32 link.exe'
15653 # Assume MSVC wrapper
15654 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15655 dynamic_linker='Win32 ld.exe'
15658 # FIXME: first we should search . and the directory the executable is in
15662 darwin* | rhapsody*)
15663 dynamic_linker="$host_os dyld"
15664 version_type=darwin
15667 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15668 soname_spec='${libname}${release}${major}$shared_ext'
15669 shlibpath_overrides_runpath=yes
15670 shlibpath_var=DYLD_LIBRARY_PATH
15671 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15673 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15677 version_type=linux # correct to gnu/linux during the next big refactor
15680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15681 soname_spec='${libname}${release}${shared_ext}$major'
15682 shlibpath_var=LD_LIBRARY_PATH
15685 freebsd* | dragonfly*)
15686 # DragonFly does not have aout. When/if they implement a new
15687 # versioning mechanism, adjust this.
15688 if test -x /usr/bin/objformat; then
15689 objformat=`/usr/bin/objformat`
15692 freebsd[23].*) objformat=aout ;;
15693 *) objformat=elf ;;
15696 version_type=freebsd-$objformat
15697 case $version_type in
15699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15704 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15708 shlibpath_var=LD_LIBRARY_PATH
15711 shlibpath_overrides_runpath=yes
15713 freebsd3.[01]* | freebsdelf3.[01]*)
15714 shlibpath_overrides_runpath=yes
15715 hardcode_into_libs=yes
15717 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15718 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15719 shlibpath_overrides_runpath=no
15720 hardcode_into_libs=yes
15722 *) # from 4.6 on, and DragonFly
15723 shlibpath_overrides_runpath=yes
15724 hardcode_into_libs=yes
15730 version_type=linux # correct to gnu/linux during the next big refactor
15733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15734 soname_spec='${libname}${release}${shared_ext}$major'
15735 shlibpath_var=LD_LIBRARY_PATH
15736 shlibpath_overrides_runpath=no
15737 hardcode_into_libs=yes
15741 version_type=linux # correct to gnu/linux during the next big refactor
15744 dynamic_linker="$host_os runtime_loader"
15745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15746 soname_spec='${libname}${release}${shared_ext}$major'
15747 shlibpath_var=LIBRARY_PATH
15748 shlibpath_overrides_runpath=yes
15749 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15750 hardcode_into_libs=yes
15753 hpux9* | hpux10* | hpux11*)
15754 # Give a soname corresponding to the major version so that dld.sl refuses to
15755 # link against other versions.
15762 hardcode_into_libs=yes
15763 dynamic_linker="$host_os dld.so"
15764 shlibpath_var=LD_LIBRARY_PATH
15765 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15767 soname_spec='${libname}${release}${shared_ext}$major'
15768 if test "X$HPUX_IA64_MODE" = X32; then
15769 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15771 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15773 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15777 hardcode_into_libs=yes
15778 dynamic_linker="$host_os dld.sl"
15779 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15780 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15782 soname_spec='${libname}${release}${shared_ext}$major'
15783 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15784 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15788 dynamic_linker="$host_os dld.sl"
15789 shlibpath_var=SHLIB_PATH
15790 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15792 soname_spec='${libname}${release}${shared_ext}$major'
15795 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15796 postinstall_cmds='chmod 555 $lib'
15797 # or fails outright, so override atomically:
15798 install_override_mode=555
15802 version_type=linux # correct to gnu/linux during the next big refactor
15805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15806 soname_spec='${libname}${release}${shared_ext}$major'
15807 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15808 shlibpath_var=LD_LIBRARY_PATH
15809 shlibpath_overrides_runpath=no
15810 hardcode_into_libs=yes
15813 irix5* | irix6* | nonstopux*)
15815 nonstopux*) version_type=nonstopux ;;
15817 if test "$lt_cv_prog_gnu_ld" = yes; then
15818 version_type=linux # correct to gnu/linux during the next big refactor
15825 soname_spec='${libname}${release}${shared_ext}$major'
15826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15828 irix5* | nonstopux*)
15829 libsuff= shlibsuff=
15832 case $LD in # libtool.m4 will add one of these switches to LD
15833 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15834 libsuff= shlibsuff= libmagic=32-bit;;
15835 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15836 libsuff=32 shlibsuff=N32 libmagic=N32;;
15837 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15838 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15839 *) libsuff= shlibsuff= libmagic=never-match;;
15843 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15844 shlibpath_overrides_runpath=no
15845 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15846 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15847 hardcode_into_libs=yes
15850 # No shared lib support for Linux oldld, aout, or coff.
15851 linux*oldld* | linux*aout* | linux*coff*)
15855 # This must be glibc/ELF.
15856 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15857 version_type=linux # correct to gnu/linux during the next big refactor
15860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15861 soname_spec='${libname}${release}${shared_ext}$major'
15862 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15863 shlibpath_var=LD_LIBRARY_PATH
15864 shlibpath_overrides_runpath=no
15866 # Some binutils ld are patched to set DT_RUNPATH
15867 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15868 $as_echo_n "(cached) " >&6
15870 lt_cv_shlibpath_overrides_runpath=no
15871 save_LDFLAGS=$LDFLAGS
15872 save_libdir=$libdir
15873 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15874 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h. */
15886 if ac_fn_cxx_try_link "$LINENO"; then :
15887 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15888 lt_cv_shlibpath_overrides_runpath=yes
15891 rm -f core conftest.err conftest.$ac_objext \
15892 conftest$ac_exeext conftest.$ac_ext
15893 LDFLAGS=$save_LDFLAGS
15894 libdir=$save_libdir
15898 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15900 # This implies no fast_install, which is unacceptable.
15901 # Some rework will be needed to allow for fast_install
15902 # before this can be enabled.
15903 hardcode_into_libs=yes
15905 # Add ABI-specific directories to the system library path.
15906 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
15908 # Append ld.so.conf contents to the search path
15909 if test -f /etc/ld.so.conf; then
15910 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;s/"//g;/^$/d' | tr '\n' ' '`
15911 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15915 # We used to test for /lib/ld.so.1 and disable shared libraries on
15916 # powerpc, because MkLinux only supported shared libraries with the
15917 # GNU dynamic linker. Since this was broken with cross compilers,
15918 # most powerpc-linux boxes support dynamic linking these days and
15919 # people can always --disable-shared, the test was removed, and we
15920 # assume the GNU/Linux dynamic linker is in use.
15921 dynamic_linker='GNU/Linux ld.so'
15928 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15930 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15931 dynamic_linker='NetBSD (a.out) ld.so'
15933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15934 soname_spec='${libname}${release}${shared_ext}$major'
15935 dynamic_linker='NetBSD ld.elf_so'
15937 shlibpath_var=LD_LIBRARY_PATH
15938 shlibpath_overrides_runpath=yes
15939 hardcode_into_libs=yes
15943 version_type=linux # correct to gnu/linux during the next big refactor
15944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15945 shlibpath_var=LD_LIBRARY_PATH
15946 shlibpath_overrides_runpath=yes
15953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15954 soname_spec='${libname}${release}${shared_ext}$major'
15955 shlibpath_var=LD_LIBRARY_PATH
15956 shlibpath_overrides_runpath=no
15957 hardcode_into_libs=yes
15958 dynamic_linker='ldqnx.so'
15963 sys_lib_dlsearch_path_spec="/usr/lib"
15965 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15967 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15968 *) need_version=no ;;
15970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15971 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15972 shlibpath_var=LD_LIBRARY_PATH
15973 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15975 openbsd2.[89] | openbsd2.[89].*)
15976 shlibpath_overrides_runpath=no
15979 shlibpath_overrides_runpath=yes
15983 shlibpath_overrides_runpath=yes
15988 libname_spec='$name'
15991 library_names_spec='$libname${shared_ext} $libname.a'
15992 dynamic_linker='OS/2 ld.exe'
15993 shlibpath_var=LIBPATH
15996 osf3* | osf4* | osf5*)
16000 soname_spec='${libname}${release}${shared_ext}$major'
16001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16002 shlibpath_var=LD_LIBRARY_PATH
16003 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16004 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16012 version_type=linux # correct to gnu/linux during the next big refactor
16015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16016 soname_spec='${libname}${release}${shared_ext}$major'
16017 shlibpath_var=LD_LIBRARY_PATH
16018 shlibpath_overrides_runpath=yes
16019 hardcode_into_libs=yes
16020 # ldd complains unless libraries are executable
16021 postinstall_cmds='chmod +x $lib'
16026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16027 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16028 shlibpath_var=LD_LIBRARY_PATH
16029 shlibpath_overrides_runpath=yes
16030 if test "$with_gnu_ld" = yes; then
16037 version_type=linux # correct to gnu/linux during the next big refactor
16038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16039 soname_spec='${libname}${release}${shared_ext}$major'
16040 shlibpath_var=LD_LIBRARY_PATH
16041 case $host_vendor in
16043 shlibpath_overrides_runpath=no
16045 runpath_var=LD_RUN_PATH
16053 shlibpath_overrides_runpath=no
16054 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16060 if test -d /usr/nec ;then
16061 version_type=linux # correct to gnu/linux during the next big refactor
16062 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16063 soname_spec='$libname${shared_ext}.$major'
16064 shlibpath_var=LD_LIBRARY_PATH
16068 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16069 version_type=freebsd-elf
16072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16073 soname_spec='${libname}${release}${shared_ext}$major'
16074 shlibpath_var=LD_LIBRARY_PATH
16075 shlibpath_overrides_runpath=yes
16076 hardcode_into_libs=yes
16077 if test "$with_gnu_ld" = yes; then
16078 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16080 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16083 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16087 sys_lib_dlsearch_path_spec='/usr/lib'
16091 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16092 version_type=linux # correct to gnu/linux during the next big refactor
16095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16096 shlibpath_var=LD_LIBRARY_PATH
16097 shlibpath_overrides_runpath=no
16098 hardcode_into_libs=yes
16102 version_type=linux # correct to gnu/linux during the next big refactor
16103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16104 soname_spec='${libname}${release}${shared_ext}$major'
16105 shlibpath_var=LD_LIBRARY_PATH
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16113 $as_echo "$dynamic_linker" >&6; }
16114 test "$dynamic_linker" = no && can_build_shared=no
16116 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16117 if test "$GCC" = yes; then
16118 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16121 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16122 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16124 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16125 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16166 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16167 hardcode_action_CXX=
16168 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16169 test -n "$runpath_var_CXX" ||
16170 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16172 # We can hardcode non-existent directories.
16173 if test "$hardcode_direct_CXX" != no &&
16174 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16175 # have to relink, otherwise we might link with an installed library
16176 # when we should be linking with a yet-to-be-installed one
16177 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16178 test "$hardcode_minus_L_CXX" != no; then
16179 # Linking always hardcodes the temporary library directory.
16180 hardcode_action_CXX=relink
16182 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16183 hardcode_action_CXX=immediate
16186 # We cannot hardcode anything, or else we can only hardcode existing
16188 hardcode_action_CXX=unsupported
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16191 $as_echo "$hardcode_action_CXX" >&6; }
16193 if test "$hardcode_action_CXX" = relink ||
16194 test "$inherit_rpath_CXX" = yes; then
16195 # Fast installation is not supported
16196 enable_fast_install=no
16197 elif test "$shlibpath_overrides_runpath" = yes ||
16198 test "$enable_shared" = no; then
16199 # Fast installation is not necessary
16200 enable_fast_install=needless
16209 fi # test -n "$compiler"
16212 CFLAGS=$lt_save_CFLAGS
16216 with_gnu_ld=$lt_save_with_gnu_ld
16217 lt_cv_path_LDCXX=$lt_cv_path_LD
16218 lt_cv_path_LD=$lt_save_path_LD
16219 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16220 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16221 fi # test "$_lt_caught_CXX_error" != yes
16224 ac_cpp='$CPP $CPPFLAGS'
16225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16243 ac_config_commands="$ac_config_commands libtool"
16248 # Only expand once:
16251 : ${CONFIG_LT=./config.lt}
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
16253 $as_echo "$as_me: creating $CONFIG_LT" >&6;}
16255 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
16257 # Generated by $as_me.
16258 # Run this file to recreate a libtool stub with the current configuration.
16259 SHELL=\${CONFIG_SHELL-$SHELL}
16262 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
16263 ## -------------------- ##
16264 ## M4sh Initialization. ##
16265 ## -------------------- ##
16267 # Be more Bourne compatible
16268 DUALCASE=1; export DUALCASE # for MKS sh
16269 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16272 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16273 # is contrary to our usage. Disable this feature.
16274 alias -g '${1+"$@"}'='"$@"'
16275 setopt NO_GLOB_SUBST
16277 case `(set -o) 2>/dev/null` in #(
16289 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16290 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16291 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16292 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16293 # Prefer a ksh shell builtin over an external printf program on Solaris,
16294 # but without wasting forks for bash or zsh.
16295 if test -z "$BASH_VERSION$ZSH_VERSION" \
16296 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16297 as_echo='print -r --'
16298 as_echo_n='print -rn --'
16299 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16300 as_echo='printf %s\n'
16301 as_echo_n='printf %s'
16303 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16304 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16305 as_echo_n='/usr/ucb/echo -n'
16307 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16308 as_echo_n_body='eval
16312 expr "X$arg" : "X\\(.*\\)$as_nl";
16313 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16315 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16317 export as_echo_n_body
16318 as_echo_n='sh -c $as_echo_n_body as_echo'
16320 export as_echo_body
16321 as_echo='sh -c $as_echo_body as_echo'
16324 # The user is always right.
16325 if test "${PATH_SEPARATOR+set}" != set; then
16327 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16328 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16335 # We need space, tab and new line, in precisely that order. Quoting is
16336 # there to prevent editors from complaining about space-tab.
16337 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16338 # splitting by setting IFS to empty value.)
16341 # Find who we are. Look in the path if we contain no directory separator.
16344 *[\\/]* ) as_myself=$0 ;;
16345 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16346 for as_dir in $PATH
16349 test -z "$as_dir" && as_dir=.
16350 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16356 # We did not find ourselves, most probably we were run as `sh COMMAND'
16357 # in which case we are not to be found in the path.
16358 if test "x$as_myself" = x; then
16361 if test ! -f "$as_myself"; then
16362 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16366 # Unset variables that we do not need and which cause bugs (e.g. in
16367 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16368 # suppresses any "Segmentation fault" message there. '((' could
16369 # trigger a bug in pdksh 5.2.14.
16370 for as_var in BASH_ENV ENV MAIL MAILPATH
16371 do eval test x\${$as_var+set} = xset \
16372 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16385 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16388 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16389 # ----------------------------------------
16390 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16391 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16392 # script with STATUS, using 1 if that was 0.
16395 as_status=$1; test $as_status -eq 0 && as_status=1
16397 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16398 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16400 $as_echo "$as_me: error: $2" >&2
16401 as_fn_exit $as_status
16405 # as_fn_set_status STATUS
16406 # -----------------------
16407 # Set $? to STATUS, without forking.
16408 as_fn_set_status ()
16411 } # as_fn_set_status
16413 # as_fn_exit STATUS
16414 # -----------------
16415 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16419 as_fn_set_status $1
16425 # Portably unset VAR.
16428 { eval $1=; unset $1;}
16430 as_unset=as_fn_unset
16431 # as_fn_append VAR VALUE
16432 # ----------------------
16433 # Append the text in VALUE to the end of the definition contained in VAR. Take
16434 # advantage of any shell optimizations that allow amortized linear growth over
16435 # repeated appends, instead of the typical quadratic growth present in naive
16437 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16438 eval 'as_fn_append ()
16449 # as_fn_arith ARG...
16450 # ------------------
16451 # Perform arithmetic evaluation on the ARGs, and store the result in the
16452 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16453 # must be portable across $(()) and expr.
16454 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16455 eval 'as_fn_arith ()
16462 as_val=`expr "$@" || test $? -eq 1`
16467 if expr a : '\(a\)' >/dev/null 2>&1 &&
16468 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16474 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16475 as_basename=basename
16480 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16486 as_me=`$as_basename -- "$0" ||
16487 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16488 X"$0" : 'X\(//\)$' \| \
16489 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16491 sed '/^.*\/\([^/][^/]*\)\/*$/{
16505 # Avoid depending upon Character Ranges.
16506 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16507 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16508 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16509 as_cr_digits='0123456789'
16510 as_cr_alnum=$as_cr_Letters$as_cr_digits
16512 ECHO_C= ECHO_N= ECHO_T=
16513 case `echo -n x` in #(((((
16515 case `echo 'xy\c'` in
16516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16525 rm -f conf$$ conf$$.exe conf$$.file
16526 if test -d conf$$.dir; then
16527 rm -f conf$$.dir/conf$$.file
16530 mkdir conf$$.dir 2>/dev/null
16532 if (echo >conf$$.file) 2>/dev/null; then
16533 if ln -s conf$$.file conf$$ 2>/dev/null; then
16535 # ... but there are two gotchas:
16536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16538 # In both cases, we have to default to `cp -p'.
16539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16541 elif ln conf$$.file conf$$ 2>/dev/null; then
16549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16550 rmdir conf$$.dir 2>/dev/null
16555 # Create "$as_dir" as a directory, including parents if necessary.
16560 -*) as_dir=./$as_dir;;
16562 test -d "$as_dir" || eval $as_mkdir_p || {
16566 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16567 *) as_qdir=$as_dir;;
16569 as_dirs="'$as_qdir' $as_dirs"
16570 as_dir=`$as_dirname -- "$as_dir" ||
16571 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16572 X"$as_dir" : 'X\(//\)[^/]' \| \
16573 X"$as_dir" : 'X\(//\)$' \| \
16574 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16575 $as_echo X"$as_dir" |
16576 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16580 /^X\(\/\/\)[^/].*/{
16593 test -d "$as_dir" && break
16595 test -z "$as_dirs" || eval "mkdir $as_dirs"
16596 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16600 if mkdir -p . 2>/dev/null; then
16601 as_mkdir_p='mkdir -p "$as_dir"'
16603 test -d ./-p && rmdir ./-p
16607 if test -x / >/dev/null 2>&1; then
16608 as_test_x='test -x'
16610 if ls -dL / >/dev/null 2>&1; then
16617 if test -d "$1"; then
16623 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16624 ???[sx]*):;;*)false;;esac;fi
16628 as_executable_p=$as_test_x
16630 # Sed expression to map a string onto a valid CPP name.
16631 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16633 # Sed expression to map a string onto a valid variable name.
16634 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16638 ## --------------------------------- ##
16639 ## Main body of "$CONFIG_LT" script. ##
16640 ## --------------------------------- ##
16642 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
16644 cat >>"$CONFIG_LT" <<\_LTEOF
16649 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16650 ## Running $as_me. ##
16655 \`$as_me' creates a local libtool stub from the current configuration,
16656 for use in further configure time tests before the real libtool is
16659 Usage: $0 [OPTIONS]
16661 -h, --help print this help, then exit
16662 -V, --version print version number, then exit
16663 -q, --quiet do not print progress messages
16664 -d, --debug don't remove temporary files
16666 Report bugs to <bug-libtool@gnu.org>."
16669 pango config.lt 1.30.0
16670 configured by $0, generated by GNU Autoconf 2.68.
16672 Copyright (C) 2011 Free Software Foundation, Inc.
16673 This config.lt script is free software; the Free Software Foundation
16674 gives unlimited permision to copy, distribute and modify it."
16679 --version | --v* | -V )
16680 echo "$lt_cl_version"; exit 0 ;;
16681 --help | --h* | -h )
16682 echo "$lt_cl_help"; exit 0 ;;
16683 --debug | --d* | -d )
16685 --quiet | --q* | --silent | --s* | -q )
16688 -*) as_fn_error $? "unrecognized option: $1
16689 Try \`$0 --help' for more information." "$LINENO" 5 ;;
16691 *) as_fn_error $? "unrecognized argument: $1
16692 Try \`$0 --help' for more information." "$LINENO" 5 ;;
16697 if $lt_cl_silent; then
16702 cat >>"$CONFIG_LT" <<_LTEOF
16705 # The HP-UX ksh and POSIX shell print the target directory to stdout
16706 # if CDPATH is set.
16707 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16709 sed_quote_subst='$sed_quote_subst'
16710 double_quote_subst='$double_quote_subst'
16711 delay_variable_subst='$delay_variable_subst'
16712 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16713 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16714 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16715 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16716 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16717 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16718 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16719 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16720 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16721 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16722 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16723 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16724 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16725 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16726 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16727 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16728 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16729 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16730 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16731 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16732 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16733 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16734 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16735 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16736 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16737 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16738 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16739 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16740 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16741 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16742 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16743 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16744 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16745 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16746 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16747 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16748 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16749 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16750 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16751 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16752 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16753 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16754 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16755 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16756 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16757 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16758 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16759 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16760 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16761 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16762 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16763 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16764 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16765 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16766 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16767 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16768 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16769 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
16770 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16771 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16772 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16773 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16774 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16775 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16776 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16777 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16778 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16779 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16780 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16781 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16782 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16783 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16784 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16785 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16786 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16787 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16788 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16789 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16790 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16791 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16792 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16793 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16794 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16795 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16796 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16797 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16798 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16799 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16800 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16801 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16802 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16803 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16804 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16805 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16806 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16807 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16808 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16809 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16810 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16811 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16812 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16813 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16814 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16815 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16816 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16817 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16818 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16819 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16820 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16821 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16822 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16823 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16824 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16825 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16826 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16827 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16828 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16829 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16830 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16831 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16832 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16833 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16834 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16835 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16836 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16837 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16838 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16839 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16840 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16841 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16842 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16843 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16844 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16845 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16846 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16847 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16848 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16849 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16850 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16851 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16852 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16853 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16854 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16855 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16856 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16857 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16858 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16859 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16860 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16861 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16862 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16863 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16864 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16865 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16866 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16867 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16868 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16869 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16870 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16871 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16872 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16873 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16874 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16875 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16876 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16877 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16878 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16879 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16880 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16881 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16882 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16883 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16884 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16885 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16886 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16887 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16888 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16889 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16890 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16891 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16892 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16893 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16894 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16895 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16896 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16899 LTCFLAGS='$LTCFLAGS'
16900 compiler='$compiler_DEFAULT'
16902 # A function that is used when there is no print builtin or printf.
16903 func_fallback_echo ()
16905 eval 'cat <<_LTECHO_EOF
16910 # Quote evaled strings.
16927 deplibs_check_method \
16931 sharedlib_from_linklib_cmd \
16934 archiver_list_spec \
16940 lt_cv_sys_global_symbol_pipe \
16941 lt_cv_sys_global_symbol_to_cdecl \
16942 lt_cv_sys_global_symbol_to_c_name_address \
16943 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16944 nm_file_list_spec \
16945 lt_prog_compiler_no_builtin_flag \
16946 lt_prog_compiler_pic \
16947 lt_prog_compiler_wl \
16948 lt_prog_compiler_static \
16949 lt_cv_prog_compiler_c_o \
16958 export_dynamic_flag_spec \
16959 whole_archive_flag_spec \
16960 compiler_needs_object \
16962 allow_undefined_flag \
16963 no_undefined_flag \
16964 hardcode_libdir_flag_spec \
16965 hardcode_libdir_separator \
16969 variables_saved_for_relink \
16971 library_names_spec \
16973 install_override_mode \
16977 compiler_lib_search_dirs \
16982 compiler_lib_search_path \
16986 lt_prog_compiler_no_builtin_flag_CXX \
16987 lt_prog_compiler_pic_CXX \
16988 lt_prog_compiler_wl_CXX \
16989 lt_prog_compiler_static_CXX \
16990 lt_cv_prog_compiler_c_o_CXX \
16991 export_dynamic_flag_spec_CXX \
16992 whole_archive_flag_spec_CXX \
16993 compiler_needs_object_CXX \
16995 allow_undefined_flag_CXX \
16996 no_undefined_flag_CXX \
16997 hardcode_libdir_flag_spec_CXX \
16998 hardcode_libdir_separator_CXX \
16999 exclude_expsyms_CXX \
17000 include_expsyms_CXX \
17001 file_list_spec_CXX \
17002 compiler_lib_search_dirs_CXX \
17003 predep_objects_CXX \
17004 postdep_objects_CXX \
17007 compiler_lib_search_path_CXX; do
17008 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17009 *[\\\\\\\`\\"\\\$]*)
17010 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17013 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17018 # Double-quote double-evaled strings.
17019 for var in reload_cmds \
17020 old_postinstall_cmds \
17021 old_postuninstall_cmds \
17023 extract_expsyms_cmds \
17024 old_archive_from_new_cmds \
17025 old_archive_from_expsyms_cmds \
17027 archive_expsym_cmds \
17029 module_expsym_cmds \
17030 export_symbols_cmds \
17034 postuninstall_cmds \
17036 sys_lib_search_path_spec \
17037 sys_lib_dlsearch_path_spec \
17039 old_archive_cmds_CXX \
17040 old_archive_from_new_cmds_CXX \
17041 old_archive_from_expsyms_cmds_CXX \
17043 archive_expsym_cmds_CXX \
17045 module_expsym_cmds_CXX \
17046 export_symbols_cmds_CXX \
17048 postlink_cmds_CXX; do
17049 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17050 *[\\\\\\\`\\"\\\$]*)
17051 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17054 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17059 ac_aux_dir='$ac_aux_dir'
17060 xsi_shell='$xsi_shell'
17061 lt_shell_append='$lt_shell_append'
17063 # See if we are running on zsh, and set the options which allow our
17064 # commands through without removal of \ escapes INIT.
17065 if test -n "\${ZSH_VERSION+set}" ; then
17066 setopt NO_GLOB_SUBST
17072 TIMESTAMP='$TIMESTAMP'
17082 cat >>"$CONFIG_LT" <<\_LTEOF
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
17084 $as_echo "$as_me: creating $ofile" >&6;}
17087 # See if we are running on zsh, and set the options which allow our
17088 # commands through without removal of \ escapes.
17089 if test -n "${ZSH_VERSION+set}" ; then
17090 setopt NO_GLOB_SUBST
17093 cfgfile="${ofile}T"
17094 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17097 cat <<_LT_EOF >> "$cfgfile"
17100 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17101 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17102 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17103 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17105 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17106 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17108 # Written by Gordon Matzigkeit, 1996
17110 # This file is part of GNU Libtool.
17112 # GNU Libtool is free software; you can redistribute it and/or
17113 # modify it under the terms of the GNU General Public License as
17114 # published by the Free Software Foundation; either version 2 of
17115 # the License, or (at your option) any later version.
17117 # As a special exception to the GNU General Public License,
17118 # if you distribute this file as part of a program or library that
17119 # is built using GNU Libtool, you may include this file under the
17120 # same distribution terms that you use for the rest of that program.
17122 # GNU Libtool is distributed in the hope that it will be useful,
17123 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17124 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17125 # GNU General Public License for more details.
17127 # You should have received a copy of the GNU General Public License
17128 # along with GNU Libtool; see the file COPYING. If not, a copy
17129 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17130 # obtained by writing to the Free Software Foundation, Inc.,
17131 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17134 # The names of the tagged configurations supported by this script.
17135 available_tags="CXX "
17137 # ### BEGIN LIBTOOL CONFIG
17139 # Assembler program.
17142 # DLL creation program.
17143 DLLTOOL=$lt_DLLTOOL
17145 # Object dumper program.
17146 OBJDUMP=$lt_OBJDUMP
17148 # Whether or not to build static libraries.
17149 build_old_libs=$enable_static
17151 # Which release of libtool.m4 was used?
17152 macro_version=$macro_version
17153 macro_revision=$macro_revision
17155 # Whether or not to build shared libraries.
17156 build_libtool_libs=$enable_shared
17158 # What type of objects to build.
17161 # Whether or not to optimize for fast installation.
17162 fast_install=$enable_fast_install
17164 # Shell to use when invoking shell scripts.
17167 # An echo program that protects backslashes.
17170 # The PATH separator for the build system.
17171 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17174 host_alias=$host_alias
17178 # The build system.
17179 build_alias=$build_alias
17183 # A sed program that does not truncate output.
17186 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17187 Xsed="\$SED -e 1s/^X//"
17189 # A grep program that handles long lines.
17195 # A literal string matcher.
17198 # A BSD- or MS-compatible name lister.
17201 # Whether we need soft or hard links.
17204 # What is the maximum length of a command?
17205 max_cmd_len=$max_cmd_len
17207 # Object file suffix (normally "o").
17210 # Executable file suffix (normally "").
17213 # whether the shell understands "unset".
17216 # turn spaces into newlines.
17219 # turn newlines into spaces.
17222 # convert \$build file names to \$host format.
17223 to_host_file_cmd=$lt_cv_to_host_file_cmd
17225 # convert \$build files to toolchain format.
17226 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17228 # Method to check whether dependent libraries are shared objects.
17229 deplibs_check_method=$lt_deplibs_check_method
17231 # Command to use when deplibs_check_method = "file_magic".
17232 file_magic_cmd=$lt_file_magic_cmd
17234 # How to find potential files when deplibs_check_method = "file_magic".
17235 file_magic_glob=$lt_file_magic_glob
17237 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17238 want_nocaseglob=$lt_want_nocaseglob
17240 # Command to associate shared and link libraries.
17241 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17246 # Flags to create an archive.
17247 AR_FLAGS=$lt_AR_FLAGS
17249 # How to feed a file listing to the archiver.
17250 archiver_list_spec=$lt_archiver_list_spec
17252 # A symbol stripping program.
17255 # Commands used to install an old-style archive.
17257 old_postinstall_cmds=$lt_old_postinstall_cmds
17258 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17260 # Whether to use a lock for old archive extraction.
17261 lock_old_archive_extraction=$lock_old_archive_extraction
17266 # LTCC compiler flags.
17267 LTCFLAGS=$lt_CFLAGS
17269 # Take the output of nm and produce a listing of raw symbols and C names.
17270 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17272 # Transform the output of nm in a proper C declaration.
17273 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17275 # Transform the output of nm in a C name address pair.
17276 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17278 # Transform the output of nm in a C name address pair when lib prefix is needed.
17279 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17281 # Specify filename containing input files for \$NM.
17282 nm_file_list_spec=$lt_nm_file_list_spec
17284 # The root where to search for dependent libraries,and in which our libraries should be installed.
17285 lt_sysroot=$lt_sysroot
17287 # The name of the directory that contains temporary libtool files.
17290 # Used to examine libraries when file_magic_cmd begins with "file".
17291 MAGIC_CMD=$MAGIC_CMD
17293 # Must we lock files when doing compilation?
17294 need_locks=$lt_need_locks
17297 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17299 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17300 DSYMUTIL=$lt_DSYMUTIL
17302 # Tool to change global to local symbols on Mac OS X.
17305 # Tool to manipulate fat objects and archives on Mac OS X.
17308 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17311 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17312 OTOOL64=$lt_OTOOL64
17314 # Old archive suffix (normally "a").
17317 # Shared library suffix (normally ".so").
17318 shrext_cmds=$lt_shrext_cmds
17320 # The commands to extract the exported symbol list from a shared archive.
17321 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17323 # Variables whose values should be saved in libtool wrapper scripts and
17324 # restored at link time.
17325 variables_saved_for_relink=$lt_variables_saved_for_relink
17327 # Do we need the "lib" prefix for modules?
17328 need_lib_prefix=$need_lib_prefix
17330 # Do we need a version for libraries?
17331 need_version=$need_version
17333 # Library versioning type.
17334 version_type=$version_type
17336 # Shared library runtime path variable.
17337 runpath_var=$runpath_var
17339 # Shared library path variable.
17340 shlibpath_var=$shlibpath_var
17342 # Is shlibpath searched before the hard-coded library search path?
17343 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17345 # Format of library name prefix.
17346 libname_spec=$lt_libname_spec
17348 # List of archive names. First name is the real one, the rest are links.
17349 # The last name is the one that the linker finds with -lNAME
17350 library_names_spec=$lt_library_names_spec
17352 # The coded name of the library, if different from the real name.
17353 soname_spec=$lt_soname_spec
17355 # Permission mode override for installation of shared libraries.
17356 install_override_mode=$lt_install_override_mode
17358 # Command to use after installation of a shared archive.
17359 postinstall_cmds=$lt_postinstall_cmds
17361 # Command to use after uninstallation of a shared archive.
17362 postuninstall_cmds=$lt_postuninstall_cmds
17364 # Commands used to finish a libtool library installation in a directory.
17365 finish_cmds=$lt_finish_cmds
17367 # As "finish_cmds", except a single script fragment to be evaled but
17369 finish_eval=$lt_finish_eval
17371 # Whether we should hardcode library paths into libraries.
17372 hardcode_into_libs=$hardcode_into_libs
17374 # Compile-time system search path for libraries.
17375 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17377 # Run-time system search path for libraries.
17378 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17380 # Whether dlopen is supported.
17381 dlopen_support=$enable_dlopen
17383 # Whether dlopen of programs is supported.
17384 dlopen_self=$enable_dlopen_self
17386 # Whether dlopen of statically linked programs is supported.
17387 dlopen_self_static=$enable_dlopen_self_static
17389 # Commands to strip libraries.
17390 old_striplib=$lt_old_striplib
17391 striplib=$lt_striplib
17394 # The linker used to build libraries.
17397 # How to create reloadable object files.
17398 reload_flag=$lt_reload_flag
17399 reload_cmds=$lt_reload_cmds
17401 # Commands used to build an old-style archive.
17402 old_archive_cmds=$lt_old_archive_cmds
17404 # A language specific compiler.
17407 # Is the compiler the GNU compiler?
17410 # Compiler flag to turn off builtin functions.
17411 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17413 # Additional compiler flags for building library objects.
17414 pic_flag=$lt_lt_prog_compiler_pic
17416 # How to pass a linker flag through the compiler.
17417 wl=$lt_lt_prog_compiler_wl
17419 # Compiler flag to prevent dynamic linking.
17420 link_static_flag=$lt_lt_prog_compiler_static
17422 # Does compiler simultaneously support -c and -o options?
17423 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17425 # Whether or not to add -lc for building shared libraries.
17426 build_libtool_need_lc=$archive_cmds_need_lc
17428 # Whether or not to disallow shared libs when runtime libs are static.
17429 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17431 # Compiler flag to allow reflexive dlopens.
17432 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17434 # Compiler flag to generate shared objects directly from archives.
17435 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17437 # Whether the compiler copes with passing no objects directly.
17438 compiler_needs_object=$lt_compiler_needs_object
17440 # Create an old-style archive from a shared archive.
17441 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17443 # Create a temporary old-style archive to link instead of a shared archive.
17444 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17446 # Commands used to build a shared archive.
17447 archive_cmds=$lt_archive_cmds
17448 archive_expsym_cmds=$lt_archive_expsym_cmds
17450 # Commands used to build a loadable module if different from building
17451 # a shared archive.
17452 module_cmds=$lt_module_cmds
17453 module_expsym_cmds=$lt_module_expsym_cmds
17455 # Whether we are building with GNU ld or not.
17456 with_gnu_ld=$lt_with_gnu_ld
17458 # Flag that allows shared libraries with undefined symbols to be built.
17459 allow_undefined_flag=$lt_allow_undefined_flag
17461 # Flag that enforces no undefined symbols.
17462 no_undefined_flag=$lt_no_undefined_flag
17464 # Flag to hardcode \$libdir into a binary during linking.
17465 # This must work even if \$libdir does not exist
17466 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17468 # Whether we need a single "-rpath" flag with a separated argument.
17469 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17471 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17472 # DIR into the resulting binary.
17473 hardcode_direct=$hardcode_direct
17475 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17476 # DIR into the resulting binary and the resulting library dependency is
17477 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17478 # library is relocated.
17479 hardcode_direct_absolute=$hardcode_direct_absolute
17481 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17482 # into the resulting binary.
17483 hardcode_minus_L=$hardcode_minus_L
17485 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17486 # into the resulting binary.
17487 hardcode_shlibpath_var=$hardcode_shlibpath_var
17489 # Set to "yes" if building a shared library automatically hardcodes DIR
17490 # into the library and all subsequent libraries and executables linked
17492 hardcode_automatic=$hardcode_automatic
17494 # Set to yes if linker adds runtime paths of dependent libraries
17495 # to runtime path list.
17496 inherit_rpath=$inherit_rpath
17498 # Whether libtool must link a program against all its dependency libraries.
17499 link_all_deplibs=$link_all_deplibs
17501 # Set to "yes" if exported symbols are required.
17502 always_export_symbols=$always_export_symbols
17504 # The commands to list exported symbols.
17505 export_symbols_cmds=$lt_export_symbols_cmds
17507 # Symbols that should not be listed in the preloaded symbols.
17508 exclude_expsyms=$lt_exclude_expsyms
17510 # Symbols that must always be exported.
17511 include_expsyms=$lt_include_expsyms
17513 # Commands necessary for linking programs (against libraries) with templates.
17514 prelink_cmds=$lt_prelink_cmds
17516 # Commands necessary for finishing linking programs.
17517 postlink_cmds=$lt_postlink_cmds
17519 # Specify filename containing input files.
17520 file_list_spec=$lt_file_list_spec
17522 # How to hardcode a shared library path into an executable.
17523 hardcode_action=$hardcode_action
17525 # The directories searched by this compiler when creating a shared library.
17526 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17528 # Dependencies to place before and after the objects being linked to
17529 # create a shared library.
17530 predep_objects=$lt_predep_objects
17531 postdep_objects=$lt_postdep_objects
17532 predeps=$lt_predeps
17533 postdeps=$lt_postdeps
17535 # The library search path used internally by the compiler when linking
17536 # a shared library.
17537 compiler_lib_search_path=$lt_compiler_lib_search_path
17539 # ### END LIBTOOL CONFIG
17545 cat <<\_LT_EOF >> "$cfgfile"
17546 # AIX sometimes has problems with the GCC collect2 program. For some
17547 # reason, if we set the COLLECT_NAMES environment variable, the problems
17548 # vanish in a puff of smoke.
17549 if test "X${COLLECT_NAMES+set}" != Xset; then
17551 export COLLECT_NAMES
17558 ltmain="$ac_aux_dir/ltmain.sh"
17561 # We use sed instead of cat because bash on DJGPP gets confused if
17562 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17563 # text mode, it properly converts lines to CR/LF. This bash problem
17564 # is reportedly fixed, but why not run on old versions too?
17565 sed '$q' "$ltmain" >> "$cfgfile" \
17566 || (rm -f "$cfgfile"; exit 1)
17568 if test x"$xsi_shell" = xyes; then
17569 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17573 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17574 \ * ) func_dirname_result="${3}" ;;\
17576 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17577 && mv -f "$cfgfile.tmp" "$cfgfile" \
17578 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17579 test 0 -eq $? || _lt_function_replace_fail=:
17582 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17585 \ func_basename_result="${1##*/}"\
17586 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17587 && mv -f "$cfgfile.tmp" "$cfgfile" \
17588 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17589 test 0 -eq $? || _lt_function_replace_fail=:
17592 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17593 func_dirname_and_basename ()\
17596 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17597 \ * ) func_dirname_result="${3}" ;;\
17599 \ func_basename_result="${1##*/}"\
17600 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17601 && mv -f "$cfgfile.tmp" "$cfgfile" \
17602 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17603 test 0 -eq $? || _lt_function_replace_fail=:
17606 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17609 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17610 \ # positional parameters, so assign one to ordinary parameter first.\
17611 \ func_stripname_result=${3}\
17612 \ func_stripname_result=${func_stripname_result#"${1}"}\
17613 \ func_stripname_result=${func_stripname_result%"${2}"}\
17614 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17615 && mv -f "$cfgfile.tmp" "$cfgfile" \
17616 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17617 test 0 -eq $? || _lt_function_replace_fail=:
17620 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17621 func_split_long_opt ()\
17623 \ func_split_long_opt_name=${1%%=*}\
17624 \ func_split_long_opt_arg=${1#*=}\
17625 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17626 && mv -f "$cfgfile.tmp" "$cfgfile" \
17627 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17628 test 0 -eq $? || _lt_function_replace_fail=:
17631 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17632 func_split_short_opt ()\
17634 \ func_split_short_opt_arg=${1#??}\
17635 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17636 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17637 && mv -f "$cfgfile.tmp" "$cfgfile" \
17638 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17639 test 0 -eq $? || _lt_function_replace_fail=:
17642 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17646 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17647 \ *) func_lo2o_result=${1} ;;\
17649 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17650 && mv -f "$cfgfile.tmp" "$cfgfile" \
17651 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17652 test 0 -eq $? || _lt_function_replace_fail=:
17655 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17658 func_xform_result=${1%.*}.lo\
17659 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17660 && mv -f "$cfgfile.tmp" "$cfgfile" \
17661 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17662 test 0 -eq $? || _lt_function_replace_fail=:
17665 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17668 func_arith_result=$(( $* ))\
17669 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17670 && mv -f "$cfgfile.tmp" "$cfgfile" \
17671 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17672 test 0 -eq $? || _lt_function_replace_fail=:
17675 sed -e '/^func_len ()$/,/^} # func_len /c\
17678 func_len_result=${#1}\
17679 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17680 && mv -f "$cfgfile.tmp" "$cfgfile" \
17681 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17682 test 0 -eq $? || _lt_function_replace_fail=:
17686 if test x"$lt_shell_append" = xyes; then
17687 sed -e '/^func_append ()$/,/^} # func_append /c\
17690 eval "${1}+=\\${2}"\
17691 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17692 && mv -f "$cfgfile.tmp" "$cfgfile" \
17693 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17694 test 0 -eq $? || _lt_function_replace_fail=:
17697 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17698 func_append_quoted ()\
17700 \ func_quote_for_eval "${2}"\
17701 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17702 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17703 && mv -f "$cfgfile.tmp" "$cfgfile" \
17704 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17705 test 0 -eq $? || _lt_function_replace_fail=:
17708 # Save a `func_append' function call where possible by direct use of '+='
17709 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17710 && mv -f "$cfgfile.tmp" "$cfgfile" \
17711 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17712 test 0 -eq $? || _lt_function_replace_fail=:
17714 # Save a `func_append' function call even when '+=' is not available
17715 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17716 && mv -f "$cfgfile.tmp" "$cfgfile" \
17717 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17718 test 0 -eq $? || _lt_function_replace_fail=:
17721 if test x"$_lt_function_replace_fail" = x":"; then
17722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17723 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17727 mv -f "$cfgfile" "$ofile" ||
17728 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17732 cat <<_LT_EOF >> "$ofile"
17734 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17736 # The linker used to build libraries.
17739 # How to create reloadable object files.
17740 reload_flag=$lt_reload_flag_CXX
17741 reload_cmds=$lt_reload_cmds_CXX
17743 # Commands used to build an old-style archive.
17744 old_archive_cmds=$lt_old_archive_cmds_CXX
17746 # A language specific compiler.
17747 CC=$lt_compiler_CXX
17749 # Is the compiler the GNU compiler?
17752 # Compiler flag to turn off builtin functions.
17753 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17755 # Additional compiler flags for building library objects.
17756 pic_flag=$lt_lt_prog_compiler_pic_CXX
17758 # How to pass a linker flag through the compiler.
17759 wl=$lt_lt_prog_compiler_wl_CXX
17761 # Compiler flag to prevent dynamic linking.
17762 link_static_flag=$lt_lt_prog_compiler_static_CXX
17764 # Does compiler simultaneously support -c and -o options?
17765 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17767 # Whether or not to add -lc for building shared libraries.
17768 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17770 # Whether or not to disallow shared libs when runtime libs are static.
17771 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17773 # Compiler flag to allow reflexive dlopens.
17774 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17776 # Compiler flag to generate shared objects directly from archives.
17777 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17779 # Whether the compiler copes with passing no objects directly.
17780 compiler_needs_object=$lt_compiler_needs_object_CXX
17782 # Create an old-style archive from a shared archive.
17783 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17785 # Create a temporary old-style archive to link instead of a shared archive.
17786 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17788 # Commands used to build a shared archive.
17789 archive_cmds=$lt_archive_cmds_CXX
17790 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17792 # Commands used to build a loadable module if different from building
17793 # a shared archive.
17794 module_cmds=$lt_module_cmds_CXX
17795 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17797 # Whether we are building with GNU ld or not.
17798 with_gnu_ld=$lt_with_gnu_ld_CXX
17800 # Flag that allows shared libraries with undefined symbols to be built.
17801 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17803 # Flag that enforces no undefined symbols.
17804 no_undefined_flag=$lt_no_undefined_flag_CXX
17806 # Flag to hardcode \$libdir into a binary during linking.
17807 # This must work even if \$libdir does not exist
17808 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17810 # Whether we need a single "-rpath" flag with a separated argument.
17811 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17813 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17814 # DIR into the resulting binary.
17815 hardcode_direct=$hardcode_direct_CXX
17817 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17818 # DIR into the resulting binary and the resulting library dependency is
17819 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17820 # library is relocated.
17821 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17823 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17824 # into the resulting binary.
17825 hardcode_minus_L=$hardcode_minus_L_CXX
17827 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17828 # into the resulting binary.
17829 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17831 # Set to "yes" if building a shared library automatically hardcodes DIR
17832 # into the library and all subsequent libraries and executables linked
17834 hardcode_automatic=$hardcode_automatic_CXX
17836 # Set to yes if linker adds runtime paths of dependent libraries
17837 # to runtime path list.
17838 inherit_rpath=$inherit_rpath_CXX
17840 # Whether libtool must link a program against all its dependency libraries.
17841 link_all_deplibs=$link_all_deplibs_CXX
17843 # Set to "yes" if exported symbols are required.
17844 always_export_symbols=$always_export_symbols_CXX
17846 # The commands to list exported symbols.
17847 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17849 # Symbols that should not be listed in the preloaded symbols.
17850 exclude_expsyms=$lt_exclude_expsyms_CXX
17852 # Symbols that must always be exported.
17853 include_expsyms=$lt_include_expsyms_CXX
17855 # Commands necessary for linking programs (against libraries) with templates.
17856 prelink_cmds=$lt_prelink_cmds_CXX
17858 # Commands necessary for finishing linking programs.
17859 postlink_cmds=$lt_postlink_cmds_CXX
17861 # Specify filename containing input files.
17862 file_list_spec=$lt_file_list_spec_CXX
17864 # How to hardcode a shared library path into an executable.
17865 hardcode_action=$hardcode_action_CXX
17867 # The directories searched by this compiler when creating a shared library.
17868 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17870 # Dependencies to place before and after the objects being linked to
17871 # create a shared library.
17872 predep_objects=$lt_predep_objects_CXX
17873 postdep_objects=$lt_postdep_objects_CXX
17874 predeps=$lt_predeps_CXX
17875 postdeps=$lt_postdeps_CXX
17877 # The library search path used internally by the compiler when linking
17878 # a shared library.
17879 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17881 # ### END LIBTOOL TAG CONFIG: CXX
17887 chmod +x "$CONFIG_LT"
17889 # configure is writing to config.log, but config.lt does its own redirection,
17890 # appending to config.log, which fails on DOS, as config.log is still kept
17891 # open by configure. Here we exec the FD to /dev/null, effectively closing
17892 # config.log, so it can be properly (re)opened and appended to by config.lt.
17894 test "$silent" = yes &&
17895 lt_config_lt_args="$lt_config_lt_args --quiet"
17897 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
17899 $lt_cl_success || as_fn_exit 1
17902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
17903 $as_echo_n "checking for some Win32 platform... " >&6; }
17905 *-*-mingw*|*-*-cygwin*)
17906 pango_platform_win32=yes
17909 pango_platform_win32=no
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pango_platform_win32" >&5
17913 $as_echo "$pango_platform_win32" >&6; }
17914 if test "$pango_platform_win32" = "yes"; then
17915 PLATFORM_WIN32_TRUE=
17916 PLATFORM_WIN32_FALSE='#'
17918 PLATFORM_WIN32_TRUE='#'
17919 PLATFORM_WIN32_FALSE=
17923 if test "$pango_platform_win32" = "yes"; then
17924 if test -n "$ac_tool_prefix"; then
17925 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
17926 set dummy ${ac_tool_prefix}windres; ac_word=$2
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17928 $as_echo_n "checking for $ac_word... " >&6; }
17929 if ${ac_cv_prog_WINDRES+:} false; then :
17930 $as_echo_n "(cached) " >&6
17932 if test -n "$WINDRES"; then
17933 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
17935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17936 for as_dir in $PATH
17939 test -z "$as_dir" && as_dir=.
17940 for ac_exec_ext in '' $ac_executable_extensions; do
17941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17942 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
17943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17952 WINDRES=$ac_cv_prog_WINDRES
17953 if test -n "$WINDRES"; then
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
17955 $as_echo "$WINDRES" >&6; }
17957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17958 $as_echo "no" >&6; }
17963 if test -z "$ac_cv_prog_WINDRES"; then
17964 ac_ct_WINDRES=$WINDRES
17965 # Extract the first word of "windres", so it can be a program name with args.
17966 set dummy windres; ac_word=$2
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17968 $as_echo_n "checking for $ac_word... " >&6; }
17969 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
17970 $as_echo_n "(cached) " >&6
17972 if test -n "$ac_ct_WINDRES"; then
17973 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17976 for as_dir in $PATH
17979 test -z "$as_dir" && as_dir=.
17980 for ac_exec_ext in '' $ac_executable_extensions; do
17981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17982 ac_cv_prog_ac_ct_WINDRES="windres"
17983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17992 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17993 if test -n "$ac_ct_WINDRES"; then
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
17995 $as_echo "$ac_ct_WINDRES" >&6; }
17997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17998 $as_echo "no" >&6; }
18001 if test "x$ac_ct_WINDRES" = x; then
18004 case $cross_compiling:$ac_tool_warned in
18006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18008 ac_tool_warned=yes ;;
18010 WINDRES=$ac_ct_WINDRES
18013 WINDRES="$ac_cv_prog_WINDRES"
18016 if test "$WINDRES" = no; then
18017 as_fn_error $? "*** Could not find an implementation of windres in your PATH." "$LINENO" 5
18019 # Extract the first word of "lib.exe", so it can be a program name with args.
18020 set dummy lib.exe; ac_word=$2
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18022 $as_echo_n "checking for $ac_word... " >&6; }
18023 if ${ac_cv_prog_ms_librarian+:} false; then :
18024 $as_echo_n "(cached) " >&6
18026 if test -n "$ms_librarian"; then
18027 ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
18029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18030 for as_dir in $PATH
18033 test -z "$as_dir" && as_dir=.
18034 for ac_exec_ext in '' $ac_executable_extensions; do
18035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18036 ac_cv_prog_ms_librarian="yes"
18037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18044 test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
18047 ms_librarian=$ac_cv_prog_ms_librarian
18048 if test -n "$ms_librarian"; then
18049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
18050 $as_echo "$ms_librarian" >&6; }
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18053 $as_echo "no" >&6; }
18058 if test x$ms_librarian = xyes; then
18059 MS_LIB_AVAILABLE_TRUE=
18060 MS_LIB_AVAILABLE_FALSE='#'
18062 MS_LIB_AVAILABLE_TRUE='#'
18063 MS_LIB_AVAILABLE_FALSE=
18067 if test "x$GCC" = "xyes"; then
18068 case " $CFLAGS " in
18069 *[\ \ ]-Wall[\ \ ]*) ;;
18070 *) CFLAGS="$CFLAGS -Wall" ;;
18077 # Check whether --enable-debug was given.
18078 if test "${enable_debug+set}" = set; then :
18079 enableval=$enable_debug;
18081 enable_debug=minimum
18085 if test "x$enable_debug" = "xyes"; then
18086 PANGO_DEBUG_FLAGS="-DPANGO_ENABLE_DEBUG"
18088 PANGO_DEBUG_FLAGS="-DG_DISABLE_CAST_CHECKS"
18090 if test "x$enable_debug" = "xno"; then
18091 PANGO_DEBUG_FLAGS="$GLIB_DEBUG_FLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS $PANGO_DEBUG_FLAGS"
18097 # Check whether --enable-rebuilds was given.
18098 if test "${enable_rebuilds+set}" = set; then :
18099 enableval=$enable_rebuilds;
18101 enable_rebuilds=yes
18105 if test $cross_compiling = yes; then
18106 CROSS_COMPILING_TRUE=
18107 CROSS_COMPILING_FALSE='#'
18109 CROSS_COMPILING_TRUE='#'
18110 CROSS_COMPILING_FALSE=
18115 if test "x$pango_os_win32" != xyes; then
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
18117 $as_echo_n "checking for X... " >&6; }
18120 # Check whether --with-x was given.
18121 if test "${with_x+set}" = set; then :
18125 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
18126 if test "x$with_x" = xno; then
18127 # The user explicitly disabled X.
18130 case $x_includes,$x_libraries in #(
18131 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
18132 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
18133 $as_echo_n "(cached) " >&6
18135 # One or both of the vars are not set, and there is no cached value.
18136 ac_x_includes=no ac_x_libraries=no
18137 rm -f -r conftest.dir
18138 if mkdir conftest.dir; then
18140 cat >Imakefile <<'_ACEOF'
18142 @echo incroot='${INCROOT}'
18144 @echo usrlibdir='${USRLIBDIR}'
18146 @echo libdir='${LIBDIR}'
18148 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
18149 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
18150 for ac_var in incroot usrlibdir libdir; do
18151 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
18153 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
18154 for ac_extension in a so sl dylib la dll; do
18155 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
18156 test -f "$ac_im_libdir/libX11.$ac_extension"; then
18157 ac_im_usrlibdir=$ac_im_libdir; break
18160 # Screen out bogus values from the imake configuration. They are
18161 # bogus both because they are the default anyway, and because
18162 # using them would break gcc on systems where it needs fixed includes.
18163 case $ac_im_incroot in
18164 /usr/include) ac_x_includes= ;;
18165 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
18167 case $ac_im_usrlibdir in
18168 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
18169 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
18173 rm -f -r conftest.dir
18176 # Standard set of common directories for X headers.
18177 # Check X11 before X11Rn because it is often a symlink to the current release.
18191 /usr/local/X11/include
18192 /usr/local/X11R7/include
18193 /usr/local/X11R6/include
18194 /usr/local/X11R5/include
18195 /usr/local/X11R4/include
18197 /usr/local/include/X11
18198 /usr/local/include/X11R7
18199 /usr/local/include/X11R6
18200 /usr/local/include/X11R5
18201 /usr/local/include/X11R4
18205 /usr/XFree86/include/X11
18209 /usr/unsupported/include
18210 /usr/athena/include
18211 /usr/local/x11r5/include
18212 /usr/lpp/Xamples/include
18214 /usr/openwin/include
18215 /usr/openwin/share/include'
18217 if test "$ac_x_includes" = no; then
18218 # Guess where to find include files, by looking for Xlib.h.
18219 # First, try using that file with no special directory specified.
18220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18221 /* end confdefs.h. */
18222 #include <X11/Xlib.h>
18224 if ac_fn_c_try_cpp "$LINENO"; then :
18225 # We can compile using X headers with no special include directory.
18228 for ac_dir in $ac_x_header_dirs; do
18229 if test -r "$ac_dir/X11/Xlib.h"; then
18230 ac_x_includes=$ac_dir
18235 rm -f conftest.err conftest.i conftest.$ac_ext
18236 fi # $ac_x_includes = no
18238 if test "$ac_x_libraries" = no; then
18239 # Check for the libraries.
18240 # See if we find them without any special options.
18241 # Don't add to $LIBS permanently.
18244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18245 /* end confdefs.h. */
18246 #include <X11/Xlib.h>
18255 if ac_fn_c_try_link "$LINENO"; then :
18257 # We can link X programs with no special library path.
18261 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
18263 # Don't even attempt the hair of trying to link an X program!
18264 for ac_extension in a so sl dylib la dll; do
18265 if test -r "$ac_dir/libX11.$ac_extension"; then
18266 ac_x_libraries=$ac_dir
18272 rm -f core conftest.err conftest.$ac_objext \
18273 conftest$ac_exeext conftest.$ac_ext
18274 fi # $ac_x_libraries = no
18276 case $ac_x_includes,$ac_x_libraries in #(
18277 no,* | *,no | *\'*)
18278 # Didn't find X, or a directory has "'" in its name.
18279 ac_cv_have_x="have_x=no";; #(
18281 # Record where we found X for the cache.
18282 ac_cv_have_x="have_x=yes\
18283 ac_x_includes='$ac_x_includes'\
18284 ac_x_libraries='$ac_x_libraries'"
18290 eval "$ac_cv_have_x"
18293 if test "$have_x" != yes; then
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
18295 $as_echo "$have_x" >&6; }
18298 # If each of the values was on the command line, it overrides each guess.
18299 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
18300 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
18301 # Update the cache value to reflect the command line values.
18302 ac_cv_have_x="have_x=yes\
18303 ac_x_includes='$x_includes'\
18304 ac_x_libraries='$x_libraries'"
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
18306 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
18309 if test "$no_x" = yes; then
18310 # Not all programs may use this symbol, but it does not hurt to define it.
18312 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
18314 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
18316 if test -n "$x_includes"; then
18317 X_CFLAGS="$X_CFLAGS -I$x_includes"
18320 # It would also be nice to do this for all -L options, not just this one.
18321 if test -n "$x_libraries"; then
18322 X_LIBS="$X_LIBS -L$x_libraries"
18323 # For Solaris; some versions of Sun CC require a space after -R and
18324 # others require no space. Words are not sufficient . . . .
18325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
18326 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
18327 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
18328 ac_xsave_c_werror_flag=$ac_c_werror_flag
18329 ac_c_werror_flag=yes
18330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h. */
18341 if ac_fn_c_try_link "$LINENO"; then :
18342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18343 $as_echo "no" >&6; }
18344 X_LIBS="$X_LIBS -R$x_libraries"
18346 LIBS="$ac_xsave_LIBS -R $x_libraries"
18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18358 if ac_fn_c_try_link "$LINENO"; then :
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18360 $as_echo "yes" >&6; }
18361 X_LIBS="$X_LIBS -R $x_libraries"
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
18364 $as_echo "neither works" >&6; }
18366 rm -f core conftest.err conftest.$ac_objext \
18367 conftest$ac_exeext conftest.$ac_ext
18369 rm -f core conftest.err conftest.$ac_objext \
18370 conftest$ac_exeext conftest.$ac_ext
18371 ac_c_werror_flag=$ac_xsave_c_werror_flag
18372 LIBS=$ac_xsave_LIBS
18375 # Check for system-dependent libraries X programs must link with.
18376 # Do this before checking for the system-independent R6 libraries
18377 # (-lICE), since we may need -lsocket or whatever for X linking.
18379 if test "$ISC" = yes; then
18380 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
18382 # Martyn Johnson says this is needed for Ultrix, if the X
18383 # libraries were built with DECnet support. And Karl Berry says
18384 # the Alpha needs dnet_stub (dnet does not exist).
18385 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
18386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18387 /* end confdefs.h. */
18389 /* Override any GCC internal prototype to avoid an error.
18390 Use char because int might match the return type of a GCC
18391 builtin and then its argument prototype would still apply. */
18395 char XOpenDisplay ();
18399 return XOpenDisplay ();
18404 if ac_fn_c_try_link "$LINENO"; then :
18407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
18408 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
18409 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
18410 $as_echo_n "(cached) " >&6
18412 ac_check_lib_save_LIBS=$LIBS
18413 LIBS="-ldnet $LIBS"
18414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18415 /* end confdefs.h. */
18417 /* Override any GCC internal prototype to avoid an error.
18418 Use char because int might match the return type of a GCC
18419 builtin and then its argument prototype would still apply. */
18427 return dnet_ntoa ();
18432 if ac_fn_c_try_link "$LINENO"; then :
18433 ac_cv_lib_dnet_dnet_ntoa=yes
18435 ac_cv_lib_dnet_dnet_ntoa=no
18437 rm -f core conftest.err conftest.$ac_objext \
18438 conftest$ac_exeext conftest.$ac_ext
18439 LIBS=$ac_check_lib_save_LIBS
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
18442 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
18443 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
18444 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
18447 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
18449 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
18450 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
18451 $as_echo_n "(cached) " >&6
18453 ac_check_lib_save_LIBS=$LIBS
18454 LIBS="-ldnet_stub $LIBS"
18455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h. */
18458 /* Override any GCC internal prototype to avoid an error.
18459 Use char because int might match the return type of a GCC
18460 builtin and then its argument prototype would still apply. */
18468 return dnet_ntoa ();
18473 if ac_fn_c_try_link "$LINENO"; then :
18474 ac_cv_lib_dnet_stub_dnet_ntoa=yes
18476 ac_cv_lib_dnet_stub_dnet_ntoa=no
18478 rm -f core conftest.err conftest.$ac_objext \
18479 conftest$ac_exeext conftest.$ac_ext
18480 LIBS=$ac_check_lib_save_LIBS
18482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
18483 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
18484 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
18485 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
18490 rm -f core conftest.err conftest.$ac_objext \
18491 conftest$ac_exeext conftest.$ac_ext
18492 LIBS="$ac_xsave_LIBS"
18494 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
18495 # to get the SysV transport functions.
18496 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
18498 # The nsl library prevents programs from opening the X display
18499 # on Irix 5.2, according to T.E. Dickey.
18500 # The functions gethostbyname, getservbyname, and inet_addr are
18501 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
18502 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
18503 if test "x$ac_cv_func_gethostbyname" = xyes; then :
18507 if test $ac_cv_func_gethostbyname = no; then
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
18509 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
18510 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
18511 $as_echo_n "(cached) " >&6
18513 ac_check_lib_save_LIBS=$LIBS
18515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18516 /* end confdefs.h. */
18518 /* Override any GCC internal prototype to avoid an error.
18519 Use char because int might match the return type of a GCC
18520 builtin and then its argument prototype would still apply. */
18524 char gethostbyname ();
18528 return gethostbyname ();
18533 if ac_fn_c_try_link "$LINENO"; then :
18534 ac_cv_lib_nsl_gethostbyname=yes
18536 ac_cv_lib_nsl_gethostbyname=no
18538 rm -f core conftest.err conftest.$ac_objext \
18539 conftest$ac_exeext conftest.$ac_ext
18540 LIBS=$ac_check_lib_save_LIBS
18542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
18543 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
18544 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
18545 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
18548 if test $ac_cv_lib_nsl_gethostbyname = no; then
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
18550 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
18551 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
18552 $as_echo_n "(cached) " >&6
18554 ac_check_lib_save_LIBS=$LIBS
18556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18557 /* end confdefs.h. */
18559 /* Override any GCC internal prototype to avoid an error.
18560 Use char because int might match the return type of a GCC
18561 builtin and then its argument prototype would still apply. */
18565 char gethostbyname ();
18569 return gethostbyname ();
18574 if ac_fn_c_try_link "$LINENO"; then :
18575 ac_cv_lib_bsd_gethostbyname=yes
18577 ac_cv_lib_bsd_gethostbyname=no
18579 rm -f core conftest.err conftest.$ac_objext \
18580 conftest$ac_exeext conftest.$ac_ext
18581 LIBS=$ac_check_lib_save_LIBS
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
18584 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
18585 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
18586 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
18592 # lieder@skyler.mavd.honeywell.com says without -lsocket,
18593 # socket/setsockopt and other routines are undefined under SCO ODT
18594 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
18595 # on later versions), says Simon Leinen: it contains gethostby*
18596 # variants that don't use the name server (or something). -lsocket
18597 # must be given before -lnsl if both are needed. We assume that
18598 # if connect needs -lnsl, so does gethostbyname.
18599 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
18600 if test "x$ac_cv_func_connect" = xyes; then :
18604 if test $ac_cv_func_connect = no; then
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
18606 $as_echo_n "checking for connect in -lsocket... " >&6; }
18607 if ${ac_cv_lib_socket_connect+:} false; then :
18608 $as_echo_n "(cached) " >&6
18610 ac_check_lib_save_LIBS=$LIBS
18611 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
18612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18613 /* end confdefs.h. */
18615 /* Override any GCC internal prototype to avoid an error.
18616 Use char because int might match the return type of a GCC
18617 builtin and then its argument prototype would still apply. */
18630 if ac_fn_c_try_link "$LINENO"; then :
18631 ac_cv_lib_socket_connect=yes
18633 ac_cv_lib_socket_connect=no
18635 rm -f core conftest.err conftest.$ac_objext \
18636 conftest$ac_exeext conftest.$ac_ext
18637 LIBS=$ac_check_lib_save_LIBS
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
18640 $as_echo "$ac_cv_lib_socket_connect" >&6; }
18641 if test "x$ac_cv_lib_socket_connect" = xyes; then :
18642 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
18647 # Guillermo Gomez says -lposix is necessary on A/UX.
18648 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
18649 if test "x$ac_cv_func_remove" = xyes; then :
18653 if test $ac_cv_func_remove = no; then
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
18655 $as_echo_n "checking for remove in -lposix... " >&6; }
18656 if ${ac_cv_lib_posix_remove+:} false; then :
18657 $as_echo_n "(cached) " >&6
18659 ac_check_lib_save_LIBS=$LIBS
18660 LIBS="-lposix $LIBS"
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18664 /* Override any GCC internal prototype to avoid an error.
18665 Use char because int might match the return type of a GCC
18666 builtin and then its argument prototype would still apply. */
18679 if ac_fn_c_try_link "$LINENO"; then :
18680 ac_cv_lib_posix_remove=yes
18682 ac_cv_lib_posix_remove=no
18684 rm -f core conftest.err conftest.$ac_objext \
18685 conftest$ac_exeext conftest.$ac_ext
18686 LIBS=$ac_check_lib_save_LIBS
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
18689 $as_echo "$ac_cv_lib_posix_remove" >&6; }
18690 if test "x$ac_cv_lib_posix_remove" = xyes; then :
18691 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
18696 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
18697 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
18698 if test "x$ac_cv_func_shmat" = xyes; then :
18702 if test $ac_cv_func_shmat = no; then
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
18704 $as_echo_n "checking for shmat in -lipc... " >&6; }
18705 if ${ac_cv_lib_ipc_shmat+:} false; then :
18706 $as_echo_n "(cached) " >&6
18708 ac_check_lib_save_LIBS=$LIBS
18710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18711 /* end confdefs.h. */
18713 /* Override any GCC internal prototype to avoid an error.
18714 Use char because int might match the return type of a GCC
18715 builtin and then its argument prototype would still apply. */
18728 if ac_fn_c_try_link "$LINENO"; then :
18729 ac_cv_lib_ipc_shmat=yes
18731 ac_cv_lib_ipc_shmat=no
18733 rm -f core conftest.err conftest.$ac_objext \
18734 conftest$ac_exeext conftest.$ac_ext
18735 LIBS=$ac_check_lib_save_LIBS
18737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
18738 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
18739 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
18740 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
18746 # Check for libraries that X11R6 Xt/Xaw programs need.
18747 ac_save_LDFLAGS=$LDFLAGS
18748 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
18749 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
18750 # check for ICE first), but we must link in the order -lSM -lICE or
18751 # we get undefined symbols. So assume we have SM if we have ICE.
18752 # These have to be linked with before -lX11, unlike the other
18753 # libraries we check for below, so use a different variable.
18754 # John Interrante, Karl Berry
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
18756 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
18757 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
18758 $as_echo_n "(cached) " >&6
18760 ac_check_lib_save_LIBS=$LIBS
18761 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
18762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18763 /* end confdefs.h. */
18765 /* Override any GCC internal prototype to avoid an error.
18766 Use char because int might match the return type of a GCC
18767 builtin and then its argument prototype would still apply. */
18771 char IceConnectionNumber ();
18775 return IceConnectionNumber ();
18780 if ac_fn_c_try_link "$LINENO"; then :
18781 ac_cv_lib_ICE_IceConnectionNumber=yes
18783 ac_cv_lib_ICE_IceConnectionNumber=no
18785 rm -f core conftest.err conftest.$ac_objext \
18786 conftest$ac_exeext conftest.$ac_ext
18787 LIBS=$ac_check_lib_save_LIBS
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
18790 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
18791 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
18792 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
18795 LDFLAGS=$ac_save_LDFLAGS
18800 if test x$no_x = xyes ; then
18801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: X development libraries not found" >&5
18802 $as_echo "$as_me: WARNING: X development libraries not found" >&2;}
18805 X_LIBS="$X_LIBS -lX11"
18808 $as_echo "#define HAVE_X 1" >>confdefs.h
18821 have_fontconfig=false
18822 have_freetype=false
18826 # Check for fontconfig
18834 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18835 if test -n "$ac_tool_prefix"; then
18836 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18837 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18839 $as_echo_n "checking for $ac_word... " >&6; }
18840 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18841 $as_echo_n "(cached) " >&6
18843 case $PKG_CONFIG in
18845 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18849 for as_dir in $PATH
18852 test -z "$as_dir" && as_dir=.
18853 for ac_exec_ext in '' $ac_executable_extensions; do
18854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18855 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18866 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18867 if test -n "$PKG_CONFIG"; then
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18869 $as_echo "$PKG_CONFIG" >&6; }
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18872 $as_echo "no" >&6; }
18877 if test -z "$ac_cv_path_PKG_CONFIG"; then
18878 ac_pt_PKG_CONFIG=$PKG_CONFIG
18879 # Extract the first word of "pkg-config", so it can be a program name with args.
18880 set dummy pkg-config; ac_word=$2
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18882 $as_echo_n "checking for $ac_word... " >&6; }
18883 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18884 $as_echo_n "(cached) " >&6
18886 case $ac_pt_PKG_CONFIG in
18888 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18892 for as_dir in $PATH
18895 test -z "$as_dir" && as_dir=.
18896 for ac_exec_ext in '' $ac_executable_extensions; do
18897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18898 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18909 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18910 if test -n "$ac_pt_PKG_CONFIG"; then
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18912 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18915 $as_echo "no" >&6; }
18918 if test "x$ac_pt_PKG_CONFIG" = x; then
18921 case $cross_compiling:$ac_tool_warned in
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18925 ac_tool_warned=yes ;;
18927 PKG_CONFIG=$ac_pt_PKG_CONFIG
18930 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18934 if test -n "$PKG_CONFIG"; then
18935 _pkg_min_version=0.9.0
18936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18937 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18938 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18940 $as_echo "yes" >&6; }
18942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18943 $as_echo "no" >&6; }
18949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
18950 $as_echo_n "checking for FONTCONFIG... " >&6; }
18952 if test -n "$FONTCONFIG_CFLAGS"; then
18953 pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
18954 elif test -n "$PKG_CONFIG"; then
18955 if test -n "$PKG_CONFIG" && \
18956 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
18957 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
18959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18960 test $ac_status = 0; }; then
18961 pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.5.0" 2>/dev/null`
18968 if test -n "$FONTCONFIG_LIBS"; then
18969 pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
18970 elif test -n "$PKG_CONFIG"; then
18971 if test -n "$PKG_CONFIG" && \
18972 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
18973 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
18975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18976 test $ac_status = 0; }; then
18977 pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.5.0" 2>/dev/null`
18987 if test $pkg_failed = yes; then
18988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18989 $as_echo "no" >&6; }
18991 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18992 _pkg_short_errors_supported=yes
18994 _pkg_short_errors_supported=no
18996 if test $_pkg_short_errors_supported = yes; then
18997 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig >= 2.5.0" 2>&1`
18999 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig >= 2.5.0" 2>&1`
19001 # Put the nasty error message in config.log where it belongs
19002 echo "$FONTCONFIG_PKG_ERRORS" >&5
19004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19005 $as_echo "no" >&6; }
19006 elif test $pkg_failed = untried; then
19007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19008 $as_echo "no" >&6; }
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19010 $as_echo "no" >&6; }
19012 FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
19013 FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
19014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19015 $as_echo "yes" >&6; }
19016 have_fontconfig=true
19020 # Checks for FreeType
19022 if $have_fontconfig ; then
19023 # The first version of freetype with a .pc file is 2.1.5. That's recent
19024 # enough for all the functions we use I guess. No version check needed.
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
19028 $as_echo_n "checking for FREETYPE... " >&6; }
19030 if test -n "$FREETYPE_CFLAGS"; then
19031 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
19032 elif test -n "$PKG_CONFIG"; then
19033 if test -n "$PKG_CONFIG" && \
19034 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
19035 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
19037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19038 test $ac_status = 0; }; then
19039 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
19046 if test -n "$FREETYPE_LIBS"; then
19047 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
19048 elif test -n "$PKG_CONFIG"; then
19049 if test -n "$PKG_CONFIG" && \
19050 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
19051 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
19053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19054 test $ac_status = 0; }; then
19055 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
19065 if test $pkg_failed = yes; then
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19067 $as_echo "no" >&6; }
19069 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19070 _pkg_short_errors_supported=yes
19072 _pkg_short_errors_supported=no
19074 if test $_pkg_short_errors_supported = yes; then
19075 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2" 2>&1`
19077 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2" 2>&1`
19079 # Put the nasty error message in config.log where it belongs
19080 echo "$FREETYPE_PKG_ERRORS" >&5
19082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19083 $as_echo "no" >&6; }
19084 elif test $pkg_failed = untried; then
19085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19086 $as_echo "no" >&6; }
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19088 $as_echo "no" >&6; }
19090 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
19091 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
19092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19093 $as_echo "yes" >&6; }
19097 if $have_freetype ; then
19099 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
19101 # By freetype, we really always mean freetype+fontconfig
19102 FREETYPE_CFLAGS="$FREETYPE_CFLAGS $FONTCONFIG_CFLAGS"
19103 FREETYPE_LIBS="$FREETYPE_LIBS $FONTCONFIG_LIBS"
19105 if $have_freetype; then
19106 HAVE_FREETYPE_TRUE=
19107 HAVE_FREETYPE_FALSE='#'
19109 HAVE_FREETYPE_TRUE='#'
19110 HAVE_FREETYPE_FALSE=
19115 # Checks for Xft/XRender
19117 if $have_x && $have_freetype ; then
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFT" >&5
19121 $as_echo_n "checking for XFT... " >&6; }
19123 if test -n "$XFT_CFLAGS"; then
19124 pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
19125 elif test -n "$PKG_CONFIG"; then
19126 if test -n "$PKG_CONFIG" && \
19127 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xft >= 2.0.0 xrender\""; } >&5
19128 ($PKG_CONFIG --exists --print-errors "xft >= 2.0.0 xrender") 2>&5
19130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19131 test $ac_status = 0; }; then
19132 pkg_cv_XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 2.0.0 xrender" 2>/dev/null`
19139 if test -n "$XFT_LIBS"; then
19140 pkg_cv_XFT_LIBS="$XFT_LIBS"
19141 elif test -n "$PKG_CONFIG"; then
19142 if test -n "$PKG_CONFIG" && \
19143 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xft >= 2.0.0 xrender\""; } >&5
19144 ($PKG_CONFIG --exists --print-errors "xft >= 2.0.0 xrender") 2>&5
19146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19147 test $ac_status = 0; }; then
19148 pkg_cv_XFT_LIBS=`$PKG_CONFIG --libs "xft >= 2.0.0 xrender" 2>/dev/null`
19158 if test $pkg_failed = yes; then
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19160 $as_echo "no" >&6; }
19162 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19163 _pkg_short_errors_supported=yes
19165 _pkg_short_errors_supported=no
19167 if test $_pkg_short_errors_supported = yes; then
19168 XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xft >= 2.0.0 xrender" 2>&1`
19170 XFT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xft >= 2.0.0 xrender" 2>&1`
19172 # Put the nasty error message in config.log where it belongs
19173 echo "$XFT_PKG_ERRORS" >&5
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19176 $as_echo "no" >&6; }
19177 elif test $pkg_failed = untried; then
19178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19179 $as_echo "no" >&6; }
19180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19181 $as_echo "no" >&6; }
19183 XFT_CFLAGS=$pkg_cv_XFT_CFLAGS
19184 XFT_LIBS=$pkg_cv_XFT_LIBS
19185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19186 $as_echo "yes" >&6; }
19190 if $have_xft ; then
19192 $as_echo "#define HAVE_XFT 1" >>confdefs.h
19205 # Checks for Win32 GDI
19210 # The following doesn't work with autoconf-2.13, so we check $host instead
19211 # AC_CHECK_LIB(gdi32, GetTextMetricsA@8, have_win32=true, : )
19213 *-*-mingw*|*-*-cygwin*) have_win32=true ;;
19217 if test $have_win32 = true; then
19218 WIN32_LIBS="-lgdi32"
19222 if $have_win32; then
19224 HAVE_WIN32_FALSE='#'
19226 HAVE_WIN32_TRUE='#'
19231 # Ensure MSVC-compatible struct packing convention is used when
19232 # compiling for Win32 with gcc.
19233 # What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
19234 # gcc2 uses "-fnative-struct".
19235 if test "$pango_os_win32" = "yes"; then
19236 if test x"$GCC" = xyes; then
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get MSVC-compatible struct packing" >&5
19239 $as_echo_n "checking how to get MSVC-compatible struct packing... " >&6; }
19240 if test -z "$ac_cv_prog_CC"; then
19243 our_gcc="$ac_cv_prog_CC"
19245 case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
19247 if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
19248 msnative_struct='-fnative-struct'
19252 if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
19253 msnative_struct='-mms-bitfields'
19257 if test x"$msnative_struct" = x ; then
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no way" >&5
19259 $as_echo "no way" >&6; }
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&5
19261 $as_echo "$as_me: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&2;}
19263 CFLAGS="$CFLAGS $msnative_struct"
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${msnative_struct}" >&5
19265 $as_echo "${msnative_struct}" >&6; }
19273 ac_fn_c_check_header_mongrel "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
19274 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes; then :
19283 # Checks for CoreText
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreText availability" >&5
19287 $as_echo_n "checking for CoreText availability... " >&6; }
19288 pango_save_libs=$LIBS
19289 LIBS="$LIBS -framework ApplicationServices"
19290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h. */
19292 #include <Carbon/Carbon.h>
19296 CTGetCoreTextVersion ();
19301 if ac_fn_c_try_link "$LINENO"; then :
19306 rm -f core conftest.err conftest.$ac_objext \
19307 conftest$ac_exeext conftest.$ac_ext
19308 LIBS=$pango_save_libs
19310 if test "$have_core_text" = "yes"; then
19312 $as_echo "#define HAVE_CORE_TEXT 1" >>confdefs.h
19316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_core_text" >&5
19317 $as_echo "$have_core_text" >&6; }
19319 if test "$have_core_text" = "yes"; then
19320 HAVE_CORE_TEXT_TRUE=
19321 HAVE_CORE_TEXT_FALSE='#'
19323 HAVE_CORE_TEXT_TRUE='#'
19324 HAVE_CORE_TEXT_FALSE=
19332 have_cairo_png=false
19333 have_cairo_ps=false
19334 have_cairo_pdf=false
19335 have_cairo_xlib=false
19336 have_cairo_freetype=false
19337 have_cairo_win32=false
19338 have_cairo_atsui=false
19339 cairo_required=1.7.6
19343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
19344 $as_echo_n "checking for CAIRO... " >&6; }
19346 if test -n "$CAIRO_CFLAGS"; then
19347 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
19348 elif test -n "$PKG_CONFIG"; then
19349 if test -n "$PKG_CONFIG" && \
19350 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$cairo_required\""; } >&5
19351 ($PKG_CONFIG --exists --print-errors "cairo >= $cairo_required") 2>&5
19353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19354 test $ac_status = 0; }; then
19355 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= $cairo_required" 2>/dev/null`
19362 if test -n "$CAIRO_LIBS"; then
19363 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
19364 elif test -n "$PKG_CONFIG"; then
19365 if test -n "$PKG_CONFIG" && \
19366 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$cairo_required\""; } >&5
19367 ($PKG_CONFIG --exists --print-errors "cairo >= $cairo_required") 2>&5
19369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19370 test $ac_status = 0; }; then
19371 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= $cairo_required" 2>/dev/null`
19381 if test $pkg_failed = yes; then
19382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19383 $as_echo "no" >&6; }
19385 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19386 _pkg_short_errors_supported=yes
19388 _pkg_short_errors_supported=no
19390 if test $_pkg_short_errors_supported = yes; then
19391 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo >= $cairo_required" 2>&1`
19393 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo >= $cairo_required" 2>&1`
19395 # Put the nasty error message in config.log where it belongs
19396 echo "$CAIRO_PKG_ERRORS" >&5
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19399 $as_echo "no" >&6; }
19400 elif test $pkg_failed = untried; then
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19402 $as_echo "no" >&6; }
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19404 $as_echo "no" >&6; }
19406 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
19407 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19409 $as_echo "yes" >&6; }
19413 if $have_cairo ; then
19414 pango_save_libs=$LIBS
19415 LIBS="$LIBS $CAIRO_LIBS"
19416 pango_save_ldflags=$LDFLAGS
19417 LDFLAGS="$LDFLAGS $CAIRO_LIBS"
19420 cairo_font_backends=""
19422 if $have_freetype; then
19423 if test -n "$PKG_CONFIG" && \
19424 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft >= \$cairo_required\""; } >&5
19425 ($PKG_CONFIG --exists --print-errors "cairo-ft >= $cairo_required") 2>&5
19427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19428 test $ac_status = 0; }; then
19429 have_cairo_freetype=true
19434 if $have_cairo_freetype; then
19436 $as_echo "#define HAVE_CAIRO_FREETYPE 1" >>confdefs.h
19438 cairo_font_backends="freetype $cairo_font_backends"
19442 if $have_win32; then
19443 if test -n "$PKG_CONFIG" && \
19444 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-win32 >= \$cairo_required\""; } >&5
19445 ($PKG_CONFIG --exists --print-errors "cairo-win32 >= $cairo_required") 2>&5
19447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19448 test $ac_status = 0; }; then
19449 have_cairo_win32=true
19454 if $have_cairo_win32; then
19456 $as_echo "#define HAVE_CAIRO_WIN32 1" >>confdefs.h
19458 cairo_font_backends="win32 $cairo_font_backends"
19462 if test $have_atsui -o $have_core_text; then
19463 if test -n "$PKG_CONFIG" && \
19464 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-quartz-font >= \$cairo_required\""; } >&5
19465 ($PKG_CONFIG --exists --print-errors "cairo-quartz-font >= $cairo_required") 2>&5
19467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19468 test $ac_status = 0; }; then
19469 have_cairo_atsui=true
19474 if $have_cairo_atsui; then
19476 $as_echo "#define HAVE_CAIRO_ATSUI 1" >>confdefs.h
19478 cairo_font_backends="quartz $cairo_font_backends"
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which cairo font backends could be used" >&5
19483 $as_echo_n "checking which cairo font backends could be used... " >&6; }
19484 if $have_cairo ; then
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_font_backends" >&5
19486 $as_echo "$cairo_font_backends" >&6; }
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
19489 $as_echo "none" >&6; }
19490 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling cairo support" >&5
19491 $as_echo "$as_me: Disabling cairo support" >&6;}
19494 if $have_cairo ; then
19496 $as_echo "#define HAVE_CAIRO 1" >>confdefs.h
19499 if test -n "$PKG_CONFIG" && \
19500 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-png >= \$cairo_required\""; } >&5
19501 ($PKG_CONFIG --exists --print-errors "cairo-png >= $cairo_required") 2>&5
19503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19504 test $ac_status = 0; }; then
19505 have_cairo_png=true
19509 if $have_cairo_png; then
19511 $as_echo "#define HAVE_CAIRO_PNG 1" >>confdefs.h
19515 if test -n "$PKG_CONFIG" && \
19516 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ps >= \$cairo_required\""; } >&5
19517 ($PKG_CONFIG --exists --print-errors "cairo-ps >= $cairo_required") 2>&5
19519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19520 test $ac_status = 0; }; then
19525 if $have_cairo_ps; then
19527 $as_echo "#define HAVE_CAIRO_PS 1" >>confdefs.h
19531 if test -n "$PKG_CONFIG" && \
19532 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-pdf >= \$cairo_required\""; } >&5
19533 ($PKG_CONFIG --exists --print-errors "cairo-pdf >= $cairo_required") 2>&5
19535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19536 test $ac_status = 0; }; then
19537 have_cairo_pdf=true
19541 if $have_cairo_pdf; then
19543 $as_echo "#define HAVE_CAIRO_PDF 1" >>confdefs.h
19547 if test -n "$PKG_CONFIG" && \
19548 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-xlib >= \$cairo_required\""; } >&5
19549 ($PKG_CONFIG --exists --print-errors "cairo-xlib >= $cairo_required") 2>&5
19551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19552 test $ac_status = 0; }; then
19553 have_cairo_xlib=true
19557 if $have_cairo_xlib; then
19559 $as_echo "#define HAVE_CAIRO_XLIB 1" >>confdefs.h
19564 LIBS=$pango_save_libs
19565 LDFLAGS=$pango_save_ldflags
19568 if $have_cairo; then
19570 HAVE_CAIRO_FALSE='#'
19572 HAVE_CAIRO_TRUE='#'
19576 if $have_cairo_png; then
19577 HAVE_CAIRO_PNG_TRUE=
19578 HAVE_CAIRO_PNG_FALSE='#'
19580 HAVE_CAIRO_PNG_TRUE='#'
19581 HAVE_CAIRO_PNG_FALSE=
19584 if $have_cairo_ps; then
19585 HAVE_CAIRO_PS_TRUE=
19586 HAVE_CAIRO_PS_FALSE='#'
19588 HAVE_CAIRO_PS_TRUE='#'
19589 HAVE_CAIRO_PS_FALSE=
19592 if $have_cairo_pdf; then
19593 HAVE_CAIRO_PDF_TRUE=
19594 HAVE_CAIRO_PDF_FALSE='#'
19596 HAVE_CAIRO_PDF_TRUE='#'
19597 HAVE_CAIRO_PDF_FALSE=
19600 if $have_cairo_xlib; then
19601 HAVE_CAIRO_XLIB_TRUE=
19602 HAVE_CAIRO_XLIB_FALSE='#'
19604 HAVE_CAIRO_XLIB_TRUE='#'
19605 HAVE_CAIRO_XLIB_FALSE=
19608 if $have_cairo_win32; then
19609 HAVE_CAIRO_WIN32_TRUE=
19610 HAVE_CAIRO_WIN32_FALSE='#'
19612 HAVE_CAIRO_WIN32_TRUE='#'
19613 HAVE_CAIRO_WIN32_FALSE=
19616 if $have_cairo_freetype; then
19617 HAVE_CAIRO_FREETYPE_TRUE=
19618 HAVE_CAIRO_FREETYPE_FALSE='#'
19620 HAVE_CAIRO_FREETYPE_TRUE='#'
19621 HAVE_CAIRO_FREETYPE_FALSE=
19624 if $have_cairo_atsui; then
19625 HAVE_CAIRO_ATSUI_TRUE=
19626 HAVE_CAIRO_ATSUI_FALSE='#'
19628 HAVE_CAIRO_ATSUI_TRUE='#'
19629 HAVE_CAIRO_ATSUI_FALSE=
19634 # We must have some backend defined, in order for the pango-querymodules
19635 # rule in pango/Makefile.am to work correctly. If you are up to writing
19636 # a new Pango backend outside of Pango, you are up to sending the necessary
19637 # patch to fix that rule. :-)
19639 if $have_freetype || $have_x || $have_xft || $have_cairo || $have_win32 ; then : ; else
19640 as_fn_error $? "*** Could not enable any of FreeType, X11, Cairo, or Win32 backends.
19641 *** Must have at least one backend to build Pango." "$LINENO" 5
19647 GLIB_REQUIRED_VERSION=2.31.0
19648 GLIB_MODULES="glib-2.0 >= $GLIB_REQUIRED_VERSION gobject-2.0 gmodule-no-export-2.0"
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
19653 $as_echo_n "checking for GLIB... " >&6; }
19655 if test -n "$GLIB_CFLAGS"; then
19656 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
19657 elif test -n "$PKG_CONFIG"; then
19658 if test -n "$PKG_CONFIG" && \
19659 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_MODULES\""; } >&5
19660 ($PKG_CONFIG --exists --print-errors "$GLIB_MODULES") 2>&5
19662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19663 test $ac_status = 0; }; then
19664 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$GLIB_MODULES" 2>/dev/null`
19671 if test -n "$GLIB_LIBS"; then
19672 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
19673 elif test -n "$PKG_CONFIG"; then
19674 if test -n "$PKG_CONFIG" && \
19675 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_MODULES\""; } >&5
19676 ($PKG_CONFIG --exists --print-errors "$GLIB_MODULES") 2>&5
19678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19679 test $ac_status = 0; }; then
19680 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$GLIB_MODULES" 2>/dev/null`
19690 if test $pkg_failed = yes; then
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19692 $as_echo "no" >&6; }
19694 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19695 _pkg_short_errors_supported=yes
19697 _pkg_short_errors_supported=no
19699 if test $_pkg_short_errors_supported = yes; then
19700 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$GLIB_MODULES" 2>&1`
19702 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "$GLIB_MODULES" 2>&1`
19704 # Put the nasty error message in config.log where it belongs
19705 echo "$GLIB_PKG_ERRORS" >&5
19708 *** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of
19709 *** Glib is always available from ftp://ftp.gtk.org/." "$LINENO" 5
19710 elif test $pkg_failed = untried; then
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19712 $as_echo "no" >&6; }
19714 *** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of
19715 *** Glib is always available from ftp://ftp.gtk.org/." "$LINENO" 5
19717 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
19718 GLIB_LIBS=$pkg_cv_GLIB_LIBS
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19720 $as_echo "yes" >&6; }
19724 # Setup GLIB_MKENUMS to use glib-mkenums even if GLib is uninstalled.
19725 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
19729 # Add in gthread-2.0 to CFLAGS but not to LIBS so we get any
19730 # necesary defines for thread-safety.
19731 GLIB_CFLAGS=`$PKG_CONFIG --cflags $GLIB_MODULES gthread-2.0`
19734 # Checks for LibThai
19737 LIBTHAI_REQUIRED_VERSION=0.1.9
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTHAI" >&5
19741 $as_echo_n "checking for LIBTHAI... " >&6; }
19743 if test -n "$LIBTHAI_CFLAGS"; then
19744 pkg_cv_LIBTHAI_CFLAGS="$LIBTHAI_CFLAGS"
19745 elif test -n "$PKG_CONFIG"; then
19746 if test -n "$PKG_CONFIG" && \
19747 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libthai >= \$LIBTHAI_REQUIRED_VERSION\""; } >&5
19748 ($PKG_CONFIG --exists --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION") 2>&5
19750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19751 test $ac_status = 0; }; then
19752 pkg_cv_LIBTHAI_CFLAGS=`$PKG_CONFIG --cflags "libthai >= $LIBTHAI_REQUIRED_VERSION" 2>/dev/null`
19759 if test -n "$LIBTHAI_LIBS"; then
19760 pkg_cv_LIBTHAI_LIBS="$LIBTHAI_LIBS"
19761 elif test -n "$PKG_CONFIG"; then
19762 if test -n "$PKG_CONFIG" && \
19763 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libthai >= \$LIBTHAI_REQUIRED_VERSION\""; } >&5
19764 ($PKG_CONFIG --exists --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION") 2>&5
19766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19767 test $ac_status = 0; }; then
19768 pkg_cv_LIBTHAI_LIBS=`$PKG_CONFIG --libs "libthai >= $LIBTHAI_REQUIRED_VERSION" 2>/dev/null`
19778 if test $pkg_failed = yes; then
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19780 $as_echo "no" >&6; }
19782 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19783 _pkg_short_errors_supported=yes
19785 _pkg_short_errors_supported=no
19787 if test $_pkg_short_errors_supported = yes; then
19788 LIBTHAI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION" 2>&1`
19790 LIBTHAI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION" 2>&1`
19792 # Put the nasty error message in config.log where it belongs
19793 echo "$LIBTHAI_PKG_ERRORS" >&5
19796 elif test $pkg_failed = untried; then
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19798 $as_echo "no" >&6; }
19801 LIBTHAI_CFLAGS=$pkg_cv_LIBTHAI_CFLAGS
19802 LIBTHAI_LIBS=$pkg_cv_LIBTHAI_LIBS
19803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19804 $as_echo "yes" >&6; }
19809 # Checks for GObject Introspection
19815 # Check whether --enable-introspection was given.
19816 if test "${enable_introspection+set}" = set; then :
19817 enableval=$enable_introspection;
19819 enable_introspection=auto
19823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
19824 $as_echo_n "checking for gobject-introspection... " >&6; }
19826 case $enable_introspection in #(
19828 found_introspection="no (disabled, use --enable-introspection to enable)"
19831 if test -n "$PKG_CONFIG" && \
19832 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
19833 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
19835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19836 test $ac_status = 0; }; then
19839 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
19841 if test -n "$PKG_CONFIG" && \
19842 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
19843 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
19845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19846 test $ac_status = 0; }; then
19847 found_introspection=yes
19849 as_fn_error $? "You need to have gobject-introspection >= 0.9.5 installed to build pango" "$LINENO" 5
19853 if test -n "$PKG_CONFIG" && \
19854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
19855 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
19857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19858 test $ac_status = 0; }; then
19859 found_introspection=yes
19861 found_introspection=no
19865 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
19868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
19869 $as_echo "$found_introspection" >&6; }
19871 INTROSPECTION_SCANNER=
19872 INTROSPECTION_COMPILER=
19873 INTROSPECTION_GENERATE=
19874 INTROSPECTION_GIRDIR=
19875 INTROSPECTION_TYPELIBDIR=
19876 if test "x$found_introspection" = "xyes"; then
19877 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
19878 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
19879 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
19880 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
19881 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
19882 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
19883 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
19884 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
19895 if test "x$found_introspection" = "xyes"; then
19896 HAVE_INTROSPECTION_TRUE=
19897 HAVE_INTROSPECTION_FALSE='#'
19899 HAVE_INTROSPECTION_TRUE='#'
19900 HAVE_INTROSPECTION_FALSE=
19909 arabic_modules="arabic-fc,arabic-lang"
19910 basic_modules="basic-fc,basic-win32,basic-x,basic-atsui,basic-coretext"
19911 hangul_modules="hangul-fc"
19912 hebrew_modules="hebrew-fc"
19913 indic_modules="indic-fc,indic-lang"
19914 khmer_modules="khmer-fc"
19915 syriac_modules="syriac-fc"
19916 thai_modules="thai-fc"
19917 tibetan_modules="tibetan-fc"
19919 if $have_libthai ; then
19920 thai_modules="$thai_modules,thai-lang"
19923 all_modules="$arabic_modules,$basic_modules,$hangul_modules,$hebrew_modules,$indic_modules,$khmer_modules,$syriac_modules,$thai_modules,$tibetan_modules"
19926 # Allow building some or all modules included
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking modules to link statically" >&5
19929 $as_echo_n "checking modules to link statically... " >&6; }
19932 # Check whether --with-included_modules was given.
19933 if test "${with_included_modules+set}" = set; then :
19934 withval=$with_included_modules;
19938 included_modules=""
19939 case x$with_included_modules in
19940 xyes) included_modules=$all_modules ;;
19941 xno|x) included_modules="" ;;
19942 *) included_modules=$with_included_modules ;;
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $included_modules" >&5
19945 $as_echo "$included_modules" >&6; }
19946 if test "x$included_modules" != x; then
19947 HAVE_INCLUDED_MODULES_TRUE=
19948 HAVE_INCLUDED_MODULES_FALSE='#'
19950 HAVE_INCLUDED_MODULES_TRUE='#'
19951 HAVE_INCLUDED_MODULES_FALSE=
19956 # Allow building only some or none of modules dynamic
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic modules to build" >&5
19959 $as_echo_n "checking dynamic modules to build... " >&6; }
19962 # Check whether --with-dynamic_modules was given.
19963 if test "${with_dynamic_modules+set}" = set; then :
19964 withval=$with_dynamic_modules;
19969 case x$with_dynamic_modules in
19970 xyes|x) dynamic_modules=$all_modules ;;
19971 xno) dynamic_modules="" ;;
19972 *) dynamic_modules=$with_dynamic_modules ;;
19974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_modules (those built into Pango will be excluded)" >&5
19975 $as_echo "$dynamic_modules (those built into Pango will be excluded)" >&6; }
19976 if test "x$dynamic_modules" != x; then
19977 HAVE_DYNAMIC_MODULES_TRUE=
19978 HAVE_DYNAMIC_MODULES_FALSE='#'
19980 HAVE_DYNAMIC_MODULES_TRUE='#'
19981 HAVE_DYNAMIC_MODULES_FALSE=
19986 INCLUDED_X_MODULES=
19987 INCLUDED_FC_MODULES=
19988 INCLUDED_WIN32_MODULES=
19989 INCLUDED_ATSUI_MODULES=
19990 INCLUDED_CORE_TEXT_MODULES=
19991 INCLUDED_LANG_MODULES=
20000 IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=", "
20001 for module in $included_modules; do
20002 case $indic_modules in
20003 *$module*) dir=indic ;;
20004 *) dir=`echo $module | sed "s/-.*//"` ;;
20006 included_path="\$(top_builddir)/modules/$dir/libpango-$module.la"
20009 *-x) INCLUDED_X_MODULES="$INCLUDED_X_MODULES $included_path" ;;
20010 *-fc) INCLUDED_FC_MODULES="$INCLUDED_FC_MODULES $included_path" ;;
20011 *-win32) INCLUDED_WIN32_MODULES="$INCLUDED_WIN32_MODULES $included_path" ;;
20012 *-atsui) INCLUDED_ATSUI_MODULES="$INCLUDED_ATSUI_MODULES $included_path" ;;
20013 *-coretext) INCLUDED_CORE_TEXT_MODULES="$INCLUDED_CORE_TEXT_MODULES $included_path" ;;
20014 *-lang) INCLUDED_LANG_MODULES="$INCLUDED_LANG_MODULES $included_path" ;;
20015 *) IFS="$pango_save_ifs"; as_fn_error $? "specified module $module not recognized" "$LINENO" 5 ;;
20018 IFS="$pango_save_ifs"
20020 if echo $included_modules | egrep '(^|,)arabic-fc($|,)' > /dev/null; then
20021 INCLUDE_ARABIC_FC_TRUE=
20022 INCLUDE_ARABIC_FC_FALSE='#'
20024 INCLUDE_ARABIC_FC_TRUE='#'
20025 INCLUDE_ARABIC_FC_FALSE=
20028 if echo $included_modules | egrep '(^|,)arabic-lang($|,)' > /dev/null; then
20029 INCLUDE_ARABIC_LANG_TRUE=
20030 INCLUDE_ARABIC_LANG_FALSE='#'
20032 INCLUDE_ARABIC_LANG_TRUE='#'
20033 INCLUDE_ARABIC_LANG_FALSE=
20036 if echo $included_modules | egrep '(^|,)basic-fc($|,)' > /dev/null; then
20037 INCLUDE_BASIC_FC_TRUE=
20038 INCLUDE_BASIC_FC_FALSE='#'
20040 INCLUDE_BASIC_FC_TRUE='#'
20041 INCLUDE_BASIC_FC_FALSE=
20044 if echo $included_modules | egrep '(^|,)basic-win32($|,)' > /dev/null; then
20045 INCLUDE_BASIC_WIN32_TRUE=
20046 INCLUDE_BASIC_WIN32_FALSE='#'
20048 INCLUDE_BASIC_WIN32_TRUE='#'
20049 INCLUDE_BASIC_WIN32_FALSE=
20052 if echo $included_modules | egrep '(^|,)basic-x($|,)' > /dev/null; then
20053 INCLUDE_BASIC_X_TRUE=
20054 INCLUDE_BASIC_X_FALSE='#'
20056 INCLUDE_BASIC_X_TRUE='#'
20057 INCLUDE_BASIC_X_FALSE=
20060 if echo $included_modules | egrep '(^|,)basic-atsui($|,)' > /dev/null; then
20061 INCLUDE_BASIC_ATSUI_TRUE=
20062 INCLUDE_BASIC_ATSUI_FALSE='#'
20064 INCLUDE_BASIC_ATSUI_TRUE='#'
20065 INCLUDE_BASIC_ATSUI_FALSE=
20068 if echo $included_modules | egrep '(^|,)basic-coretext($|,)' > /dev/null; then
20069 INCLUDE_BASIC_CORE_TEXT_TRUE=
20070 INCLUDE_BASIC_CORE_TEXT_FALSE='#'
20072 INCLUDE_BASIC_CORE_TEXT_TRUE='#'
20073 INCLUDE_BASIC_CORE_TEXT_FALSE=
20076 if echo $included_modules | egrep '(^|,)hangul-fc($|,)' > /dev/null; then
20077 INCLUDE_HANGUL_FC_TRUE=
20078 INCLUDE_HANGUL_FC_FALSE='#'
20080 INCLUDE_HANGUL_FC_TRUE='#'
20081 INCLUDE_HANGUL_FC_FALSE=
20084 if echo $included_modules | egrep '(^|,)hebrew-fc($|,)' > /dev/null; then
20085 INCLUDE_HEBREW_FC_TRUE=
20086 INCLUDE_HEBREW_FC_FALSE='#'
20088 INCLUDE_HEBREW_FC_TRUE='#'
20089 INCLUDE_HEBREW_FC_FALSE=
20092 if echo $included_modules | egrep '(^|,)indic-fc($|,)' > /dev/null; then
20093 INCLUDE_INDIC_FC_TRUE=
20094 INCLUDE_INDIC_FC_FALSE='#'
20096 INCLUDE_INDIC_FC_TRUE='#'
20097 INCLUDE_INDIC_FC_FALSE=
20100 if echo $included_modules | egrep '(^|,)indic-lang($|,)' > /dev/null; then
20101 INCLUDE_INDIC_LANG_TRUE=
20102 INCLUDE_INDIC_LANG_FALSE='#'
20104 INCLUDE_INDIC_LANG_TRUE='#'
20105 INCLUDE_INDIC_LANG_FALSE=
20108 if echo $included_modules | egrep '(^|,)khmer-fc($|,)' > /dev/null; then
20109 INCLUDE_KHMER_FC_TRUE=
20110 INCLUDE_KHMER_FC_FALSE='#'
20112 INCLUDE_KHMER_FC_TRUE='#'
20113 INCLUDE_KHMER_FC_FALSE=
20116 if echo $included_modules | egrep '(^|,)syriac-fc($|,)' > /dev/null; then
20117 INCLUDE_SYRIAC_FC_TRUE=
20118 INCLUDE_SYRIAC_FC_FALSE='#'
20120 INCLUDE_SYRIAC_FC_TRUE='#'
20121 INCLUDE_SYRIAC_FC_FALSE=
20124 if echo $included_modules | egrep '(^|,)thai-fc($|,)' > /dev/null; then
20125 INCLUDE_THAI_FC_TRUE=
20126 INCLUDE_THAI_FC_FALSE='#'
20128 INCLUDE_THAI_FC_TRUE='#'
20129 INCLUDE_THAI_FC_FALSE=
20132 if echo $included_modules | egrep '(^|,)thai-lang($|,)' > /dev/null; then
20133 INCLUDE_THAI_LANG_TRUE=
20134 INCLUDE_THAI_LANG_FALSE='#'
20136 INCLUDE_THAI_LANG_TRUE='#'
20137 INCLUDE_THAI_LANG_FALSE=
20140 if echo $included_modules | egrep '(^|,)tibetan-fc($|,)' > /dev/null; then
20141 INCLUDE_TIBETAN_FC_TRUE=
20142 INCLUDE_TIBETAN_FC_FALSE='#'
20144 INCLUDE_TIBETAN_FC_TRUE='#'
20145 INCLUDE_TIBETAN_FC_FALSE=
20149 if echo $dynamic_modules | egrep '(^|,)arabic-fc($|,)' > /dev/null; then
20150 DYNAMIC_ARABIC_FC_TRUE=
20151 DYNAMIC_ARABIC_FC_FALSE='#'
20153 DYNAMIC_ARABIC_FC_TRUE='#'
20154 DYNAMIC_ARABIC_FC_FALSE=
20157 if echo $dynamic_modules | egrep '(^|,)arabic-lang($|,)' > /dev/null; then
20158 DYNAMIC_ARABIC_LANG_TRUE=
20159 DYNAMIC_ARABIC_LANG_FALSE='#'
20161 DYNAMIC_ARABIC_LANG_TRUE='#'
20162 DYNAMIC_ARABIC_LANG_FALSE=
20165 if echo $dynamic_modules | egrep '(^|,)basic-fc($|,)' > /dev/null; then
20166 DYNAMIC_BASIC_FC_TRUE=
20167 DYNAMIC_BASIC_FC_FALSE='#'
20169 DYNAMIC_BASIC_FC_TRUE='#'
20170 DYNAMIC_BASIC_FC_FALSE=
20173 if echo $dynamic_modules | egrep '(^|,)basic-win32($|,)' > /dev/null; then
20174 DYNAMIC_BASIC_WIN32_TRUE=
20175 DYNAMIC_BASIC_WIN32_FALSE='#'
20177 DYNAMIC_BASIC_WIN32_TRUE='#'
20178 DYNAMIC_BASIC_WIN32_FALSE=
20181 if echo $dynamic_modules | egrep '(^|,)basic-x($|,)' > /dev/null; then
20182 DYNAMIC_BASIC_X_TRUE=
20183 DYNAMIC_BASIC_X_FALSE='#'
20185 DYNAMIC_BASIC_X_TRUE='#'
20186 DYNAMIC_BASIC_X_FALSE=
20189 if echo $dynamic_modules | egrep '(^|,)basic-atsui($|,)' > /dev/null; then
20190 DYNAMIC_BASIC_ATSUI_TRUE=
20191 DYNAMIC_BASIC_ATSUI_FALSE='#'
20193 DYNAMIC_BASIC_ATSUI_TRUE='#'
20194 DYNAMIC_BASIC_ATSUI_FALSE=
20197 if echo $dynamic_modules | egrep '(^|,)basic-coretext($|,)' > /dev/null; then
20198 DYNAMIC_BASIC_CORE_TEXT_TRUE=
20199 DYNAMIC_BASIC_CORE_TEXT_FALSE='#'
20201 DYNAMIC_BASIC_CORE_TEXT_TRUE='#'
20202 DYNAMIC_BASIC_CORE_TEXT_FALSE=
20205 if echo $dynamic_modules | egrep '(^|,)hangul-fc($|,)' > /dev/null; then
20206 DYNAMIC_HANGUL_FC_TRUE=
20207 DYNAMIC_HANGUL_FC_FALSE='#'
20209 DYNAMIC_HANGUL_FC_TRUE='#'
20210 DYNAMIC_HANGUL_FC_FALSE=
20213 if echo $dynamic_modules | egrep '(^|,)hebrew-fc($|,)' > /dev/null; then
20214 DYNAMIC_HEBREW_FC_TRUE=
20215 DYNAMIC_HEBREW_FC_FALSE='#'
20217 DYNAMIC_HEBREW_FC_TRUE='#'
20218 DYNAMIC_HEBREW_FC_FALSE=
20221 if echo $dynamic_modules | egrep '(^|,)indic-fc($|,)' > /dev/null; then
20222 DYNAMIC_INDIC_FC_TRUE=
20223 DYNAMIC_INDIC_FC_FALSE='#'
20225 DYNAMIC_INDIC_FC_TRUE='#'
20226 DYNAMIC_INDIC_FC_FALSE=
20229 if echo $dynamic_modules | egrep '(^|,)indic-lang($|,)' > /dev/null; then
20230 DYNAMIC_INDIC_LANG_TRUE=
20231 DYNAMIC_INDIC_LANG_FALSE='#'
20233 DYNAMIC_INDIC_LANG_TRUE='#'
20234 DYNAMIC_INDIC_LANG_FALSE=
20237 if echo $dynamic_modules | egrep '(^|,)khmer-fc($|,)' > /dev/null; then
20238 DYNAMIC_KHMER_FC_TRUE=
20239 DYNAMIC_KHMER_FC_FALSE='#'
20241 DYNAMIC_KHMER_FC_TRUE='#'
20242 DYNAMIC_KHMER_FC_FALSE=
20245 if echo $dynamic_modules | egrep '(^|,)syriac-fc($|,)' > /dev/null; then
20246 DYNAMIC_SYRIAC_FC_TRUE=
20247 DYNAMIC_SYRIAC_FC_FALSE='#'
20249 DYNAMIC_SYRIAC_FC_TRUE='#'
20250 DYNAMIC_SYRIAC_FC_FALSE=
20253 if echo $dynamic_modules | egrep '(^|,)thai-fc($|,)' > /dev/null; then
20254 DYNAMIC_THAI_FC_TRUE=
20255 DYNAMIC_THAI_FC_FALSE='#'
20257 DYNAMIC_THAI_FC_TRUE='#'
20258 DYNAMIC_THAI_FC_FALSE=
20261 if echo $dynamic_modules | egrep '(^|,)thai-lang($|,)' > /dev/null; then
20262 DYNAMIC_THAI_LANG_TRUE=
20263 DYNAMIC_THAI_LANG_FALSE='#'
20265 DYNAMIC_THAI_LANG_TRUE='#'
20266 DYNAMIC_THAI_LANG_FALSE=
20269 if echo $dynamic_modules | egrep '(^|,)tibetan-fc($|,)' > /dev/null; then
20270 DYNAMIC_TIBETAN_FC_TRUE=
20271 DYNAMIC_TIBETAN_FC_FALSE='#'
20273 DYNAMIC_TIBETAN_FC_TRUE='#'
20274 DYNAMIC_TIBETAN_FC_FALSE=
20279 # We use flockfile to implement pango_getline() - should be moved to GLib
20280 # strtok_r isn't present on some systems
20282 for ac_func in flockfile strtok_r
20284 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20285 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20286 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20287 cat >>confdefs.h <<_ACEOF
20288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20296 if $have_cairo ; then : ; else
20297 if test x$enable_gtk_doc = xyes ; then
20298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo not present, disabling doc building" >&5
20299 $as_echo "$as_me: WARNING: Cairo not present, disabling doc building" >&2;}
20307 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
20308 set dummy gtkdoc-check; ac_word=$2
20309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20310 $as_echo_n "checking for $ac_word... " >&6; }
20311 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
20312 $as_echo_n "(cached) " >&6
20314 case $GTKDOC_CHECK in
20316 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
20319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20320 for as_dir in $PATH
20323 test -z "$as_dir" && as_dir=.
20324 for ac_exec_ext in '' $ac_executable_extensions; do
20325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20326 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
20327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20337 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
20338 if test -n "$GTKDOC_CHECK"; then
20339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
20340 $as_echo "$GTKDOC_CHECK" >&6; }
20342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20343 $as_echo "no" >&6; }
20347 for ac_prog in gtkdoc-rebase
20349 # Extract the first word of "$ac_prog", so it can be a program name with args.
20350 set dummy $ac_prog; ac_word=$2
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20352 $as_echo_n "checking for $ac_word... " >&6; }
20353 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
20354 $as_echo_n "(cached) " >&6
20356 case $GTKDOC_REBASE in
20358 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
20361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20362 for as_dir in $PATH
20365 test -z "$as_dir" && as_dir=.
20366 for ac_exec_ext in '' $ac_executable_extensions; do
20367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20368 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
20369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20379 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
20380 if test -n "$GTKDOC_REBASE"; then
20381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
20382 $as_echo "$GTKDOC_REBASE" >&6; }
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20385 $as_echo "no" >&6; }
20389 test -n "$GTKDOC_REBASE" && break
20391 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
20393 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
20394 set dummy gtkdoc-mkpdf; ac_word=$2
20395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20396 $as_echo_n "checking for $ac_word... " >&6; }
20397 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
20398 $as_echo_n "(cached) " >&6
20400 case $GTKDOC_MKPDF in
20402 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
20405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20406 for as_dir in $PATH
20409 test -z "$as_dir" && as_dir=.
20410 for ac_exec_ext in '' $ac_executable_extensions; do
20411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20412 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
20413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20423 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
20424 if test -n "$GTKDOC_MKPDF"; then
20425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
20426 $as_echo "$GTKDOC_MKPDF" >&6; }
20428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20429 $as_echo "no" >&6; }
20435 # Check whether --with-html-dir was given.
20436 if test "${with_html_dir+set}" = set; then :
20437 withval=$with_html_dir;
20439 with_html_dir='${datadir}/gtk-doc/html'
20442 HTML_DIR="$with_html_dir"
20445 # Check whether --enable-gtk-doc was given.
20446 if test "${enable_gtk_doc+set}" = set; then :
20447 enableval=$enable_gtk_doc;
20453 if test x$enable_gtk_doc = xyes; then
20454 if test -n "$PKG_CONFIG" && \
20455 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
20456 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
20458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20459 test $ac_status = 0; }; then
20462 as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
20464 if test "x$PACKAGE_NAME" != "xglib"; then
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
20468 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
20470 if test -n "$GTKDOC_DEPS_CFLAGS"; then
20471 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
20472 elif test -n "$PKG_CONFIG"; then
20473 if test -n "$PKG_CONFIG" && \
20474 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
20475 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
20477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20478 test $ac_status = 0; }; then
20479 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
20486 if test -n "$GTKDOC_DEPS_LIBS"; then
20487 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
20488 elif test -n "$PKG_CONFIG"; then
20489 if test -n "$PKG_CONFIG" && \
20490 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
20491 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
20493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20494 test $ac_status = 0; }; then
20495 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
20505 if test $pkg_failed = yes; then
20506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20507 $as_echo "no" >&6; }
20509 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20510 _pkg_short_errors_supported=yes
20512 _pkg_short_errors_supported=no
20514 if test $_pkg_short_errors_supported = yes; then
20515 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
20517 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
20519 # Put the nasty error message in config.log where it belongs
20520 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
20522 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
20524 $GTKDOC_DEPS_PKG_ERRORS
20526 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20527 installed software in a non-standard prefix.
20529 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
20530 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
20531 See the pkg-config man page for more details." "$LINENO" 5
20533 elif test $pkg_failed = untried; then
20534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20535 $as_echo "no" >&6; }
20536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20538 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20539 is in your PATH or set the PKG_CONFIG environment variable to the full
20540 path to pkg-config.
20542 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
20543 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
20544 See the pkg-config man page for more details.
20546 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20547 See \`config.log' for more details" "$LINENO" 5; }
20550 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
20551 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
20552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20553 $as_echo "yes" >&6; }
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
20560 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
20561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
20562 $as_echo "$enable_gtk_doc" >&6; }
20564 # Check whether --enable-gtk-doc-html was given.
20565 if test "${enable_gtk_doc_html+set}" = set; then :
20566 enableval=$enable_gtk_doc_html;
20568 enable_gtk_doc_html=yes
20571 # Check whether --enable-gtk-doc-pdf was given.
20572 if test "${enable_gtk_doc_pdf+set}" = set; then :
20573 enableval=$enable_gtk_doc_pdf;
20575 enable_gtk_doc_pdf=no
20579 if test -z "$GTKDOC_MKPDF"; then
20580 enable_gtk_doc_pdf=no
20584 if test x$enable_gtk_doc = xyes; then
20585 ENABLE_GTK_DOC_TRUE=
20586 ENABLE_GTK_DOC_FALSE='#'
20588 ENABLE_GTK_DOC_TRUE='#'
20589 ENABLE_GTK_DOC_FALSE=
20592 if test x$enable_gtk_doc_html = xyes; then
20593 GTK_DOC_BUILD_HTML_TRUE=
20594 GTK_DOC_BUILD_HTML_FALSE='#'
20596 GTK_DOC_BUILD_HTML_TRUE='#'
20597 GTK_DOC_BUILD_HTML_FALSE=
20600 if test x$enable_gtk_doc_pdf = xyes; then
20601 GTK_DOC_BUILD_PDF_TRUE=
20602 GTK_DOC_BUILD_PDF_FALSE='#'
20604 GTK_DOC_BUILD_PDF_TRUE='#'
20605 GTK_DOC_BUILD_PDF_FALSE=
20608 if test -n "$LIBTOOL"; then
20609 GTK_DOC_USE_LIBTOOL_TRUE=
20610 GTK_DOC_USE_LIBTOOL_FALSE='#'
20612 GTK_DOC_USE_LIBTOOL_TRUE='#'
20613 GTK_DOC_USE_LIBTOOL_FALSE=
20616 if test -n "$GTKDOC_REBASE"; then
20617 GTK_DOC_USE_REBASE_TRUE=
20618 GTK_DOC_USE_REBASE_FALSE='#'
20620 GTK_DOC_USE_REBASE_TRUE='#'
20621 GTK_DOC_USE_REBASE_FALSE=
20626 # Check whether --enable-man was given.
20627 if test "${enable_man+set}" = set; then :
20628 enableval=$enable_man; enable_man=yes
20634 if test "x$enable_man" != xno ; then
20635 # Extract the first word of "xsltproc", so it can be a program name with args.
20636 set dummy xsltproc; ac_word=$2
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20638 $as_echo_n "checking for $ac_word... " >&6; }
20639 if ${ac_cv_path_XSLTPROC+:} false; then :
20640 $as_echo_n "(cached) " >&6
20644 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
20647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20648 for as_dir in $PATH
20651 test -z "$as_dir" && as_dir=.
20652 for ac_exec_ext in '' $ac_executable_extensions; do
20653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20654 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
20655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20665 XSLTPROC=$ac_cv_path_XSLTPROC
20666 if test -n "$XSLTPROC"; then
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
20668 $as_echo "$XSLTPROC" >&6; }
20670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20671 $as_echo "no" >&6; }
20675 if test -z "$XSLTPROC"; then
20680 if test "x$enable_man" != xno ; then
20682 # check for the presence of the XML catalog
20684 # Check whether --with-xml-catalog was given.
20685 if test "${with_xml_catalog+set}" = set; then :
20686 withval=$with_xml_catalog;
20688 with_xml_catalog=/etc/xml/catalog
20691 jh_found_xmlcatalog=true
20692 XML_CATALOG_FILE="$with_xml_catalog"
20694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML catalog ($XML_CATALOG_FILE)" >&5
20695 $as_echo_n "checking for XML catalog ($XML_CATALOG_FILE)... " >&6; }
20696 if test -f "$XML_CATALOG_FILE"; then
20697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
20698 $as_echo "found" >&6; }
20700 jh_found_xmlcatalog=false
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
20702 $as_echo "not found" >&6; }
20705 # check for the xmlcatalog program
20706 # Extract the first word of "xmlcatalog", so it can be a program name with args.
20707 set dummy xmlcatalog; ac_word=$2
20708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20709 $as_echo_n "checking for $ac_word... " >&6; }
20710 if ${ac_cv_path_XMLCATALOG+:} false; then :
20711 $as_echo_n "(cached) " >&6
20713 case $XMLCATALOG in
20715 ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path.
20718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20719 for as_dir in $PATH
20722 test -z "$as_dir" && as_dir=.
20723 for ac_exec_ext in '' $ac_executable_extensions; do
20724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20725 ac_cv_path_XMLCATALOG="$as_dir/$ac_word$ac_exec_ext"
20726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20733 test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="no"
20737 XMLCATALOG=$ac_cv_path_XMLCATALOG
20738 if test -n "$XMLCATALOG"; then
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
20740 $as_echo "$XMLCATALOG" >&6; }
20742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20743 $as_echo "no" >&6; }
20747 if test "x$XMLCATALOG" = xno; then
20748 jh_found_xmlcatalog=false
20751 if $jh_found_xmlcatalog; then
20758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook XML DTD V4.1.2 in XML catalog" >&5
20759 $as_echo_n "checking for DocBook XML DTD V4.1.2 in XML catalog... " >&6; }
20760 if $jh_found_xmlcatalog && \
20761 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"-//OASIS//DTD DocBook XML V4.1.2//EN\" >&2"; } >&5
20762 ($XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.1.2//EN" >&2) 2>&5
20764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20765 test $ac_status = 0; }; then
20766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
20767 $as_echo "found" >&6; }
20769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
20770 $as_echo "not found" >&6; }
20775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook XSL Stylesheets in XML catalog" >&5
20776 $as_echo_n "checking for DocBook XSL Stylesheets in XML catalog... " >&6; }
20777 if $jh_found_xmlcatalog && \
20778 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl\" >&2"; } >&5
20779 ($XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" >&2) 2>&5
20781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20782 test $ac_status = 0; }; then
20783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
20784 $as_echo "found" >&6; }
20786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
20787 $as_echo "not found" >&6; }
20793 if test x$enable_man != xno; then
20795 ENABLE_MAN_FALSE='#'
20797 ENABLE_MAN_TRUE='#'
20802 # Check whether --enable-doc-cross-references was given.
20803 if test "${enable_doc_cross_references+set}" = set; then :
20804 enableval=$enable_doc_cross_references; enable_doc_cross_references=$enableval
20806 enable_doc_cross_references=yes
20810 if test "x$enable_doc_cross_references" != xno ; then
20811 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
20812 CAIRO_PREFIX="`pkg-config --variable=prefix cairo`"
20816 if test x$enable_doc_cross_references != xno; then
20817 ENABLE_DOC_CROSS_REFERENCES_TRUE=
20818 ENABLE_DOC_CROSS_REFERENCES_FALSE='#'
20820 ENABLE_DOC_CROSS_REFERENCES_TRUE='#'
20821 ENABLE_DOC_CROSS_REFERENCES_FALSE=
20826 # Note that -module isn't included here since automake needs to see it to know
20827 # that something like pango-arabic-fc.la is a valid libtool archive
20829 LIBRARY_LIBTOOL_OPTIONS="-version-info $VERSION_INFO"
20830 MODULE_LIBTOOL_OPTIONS="-export-dynamic -avoid-version"
20831 if test "$pango_platform_win32" = yes; then
20832 # We currently use .def files on Windows
20834 LIBRARY_LIBTOOL_OPTIONS="$LIBRARY_LIBTOOL_OPTIONS -no-undefined"
20835 MODULE_LIBTOOL_OPTIONS="$MODULE_LIBTOOL_OPTIONS -no-undefined"
20837 # libtool option to control which symbols are exported
20838 # right now, symbols starting with '_' are not exported
20839 LIBRARY_LIBTOOL_OPTIONS="$LIBRARY_LIBTOOL_OPTIONS "'-export-symbols-regex "^pango_.*"'
20840 MODULE_LIBTOOL_OPTIONS="$MODULE_LIBTOOL_OPTIONS "'-export-symbols-regex "^script_engine_.*"'
20846 use_la_modules=false
20848 # is there any platform that we have to use .la files?
20850 if $use_la_modules ; then
20852 $as_echo "#define USE_LA_MODULES 1" >>confdefs.h
20857 # Check whether --enable-explicit-deps was given.
20858 if test "${enable_explicit_deps+set}" = set; then :
20859 enableval=$enable_explicit_deps; enable_explicit_deps="$enableval"
20861 enable_explicit_deps=auto
20865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to write dependencies into .pc files" >&5
20866 $as_echo_n "checking Whether to write dependencies into .pc files... " >&6; }
20867 case $enable_explicit_deps in
20870 deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
20871 if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then
20872 enable_explicit_deps=yes
20874 enable_explicit_deps=no
20879 *) as_fn_error $? "Value given to --enable-explicit-deps must be one of yes, no or auto" "$LINENO" 5
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_explicit_deps" >&5
20883 $as_echo "$enable_explicit_deps" >&6; }
20885 PKGCONFIG_MATH_LIBS=
20886 PKGCONFIG_CAIRO_REQUIRES=
20888 if test $enable_explicit_deps = yes ; then
20889 PKGCONFIG_MATH_LIBS=-lm
20891 X_LIBS="$X_LIBS $X_EXTRA_LIBS"
20893 if $have_cairo_freetype; then
20894 PKGCONFIG_CAIRO_REQUIRES="$PKGCONFIG_CAIRO_REQUIRES pangoft2"
20896 if $have_cairo_win32; then
20897 PKGCONFIG_CAIRO_REQUIRES="$PKGCONFIG_CAIRO_REQUIRES pangowin32"
20903 if test $enable_explicit_deps = no; then
20904 DISABLE_EXPLICIT_DEPS_TRUE=
20905 DISABLE_EXPLICIT_DEPS_FALSE='#'
20907 DISABLE_EXPLICIT_DEPS_TRUE='#'
20908 DISABLE_EXPLICIT_DEPS_FALSE=
20912 ac_config_commands="$ac_config_commands pango/module-defs.h"
20915 ac_config_commands="$ac_config_commands pango/module-defs-x.c"
20918 ac_config_commands="$ac_config_commands pango/module-defs-fc.c"
20921 ac_config_commands="$ac_config_commands pango/module-defs-win32.c"
20924 ac_config_commands="$ac_config_commands pango/module-defs-atsui.c"
20927 ac_config_commands="$ac_config_commands pango/module-defs-coretext.c"
20930 ac_config_commands="$ac_config_commands pango/module-defs-lang.c"
20934 ac_header_dirent=no
20935 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
20936 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
20937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
20938 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
20939 if eval \${$as_ac_Header+:} false; then :
20940 $as_echo_n "(cached) " >&6
20942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20943 /* end confdefs.h. */
20944 #include <sys/types.h>
20956 if ac_fn_c_try_compile "$LINENO"; then :
20957 eval "$as_ac_Header=yes"
20959 eval "$as_ac_Header=no"
20961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20963 eval ac_res=\$$as_ac_Header
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20965 $as_echo "$ac_res" >&6; }
20966 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20967 cat >>confdefs.h <<_ACEOF
20968 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
20971 ac_header_dirent=$ac_hdr; break
20975 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20976 if test $ac_header_dirent = dirent.h; then
20977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
20978 $as_echo_n "checking for library containing opendir... " >&6; }
20979 if ${ac_cv_search_opendir+:} false; then :
20980 $as_echo_n "(cached) " >&6
20982 ac_func_search_save_LIBS=$LIBS
20983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20984 /* end confdefs.h. */
20986 /* Override any GCC internal prototype to avoid an error.
20987 Use char because int might match the return type of a GCC
20988 builtin and then its argument prototype would still apply. */
21001 for ac_lib in '' dir; do
21002 if test -z "$ac_lib"; then
21003 ac_res="none required"
21006 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21008 if ac_fn_c_try_link "$LINENO"; then :
21009 ac_cv_search_opendir=$ac_res
21011 rm -f core conftest.err conftest.$ac_objext \
21013 if ${ac_cv_search_opendir+:} false; then :
21017 if ${ac_cv_search_opendir+:} false; then :
21020 ac_cv_search_opendir=no
21022 rm conftest.$ac_ext
21023 LIBS=$ac_func_search_save_LIBS
21025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
21026 $as_echo "$ac_cv_search_opendir" >&6; }
21027 ac_res=$ac_cv_search_opendir
21028 if test "$ac_res" != no; then :
21029 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
21035 $as_echo_n "checking for library containing opendir... " >&6; }
21036 if ${ac_cv_search_opendir+:} false; then :
21037 $as_echo_n "(cached) " >&6
21039 ac_func_search_save_LIBS=$LIBS
21040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21041 /* end confdefs.h. */
21043 /* Override any GCC internal prototype to avoid an error.
21044 Use char because int might match the return type of a GCC
21045 builtin and then its argument prototype would still apply. */
21058 for ac_lib in '' x; do
21059 if test -z "$ac_lib"; then
21060 ac_res="none required"
21063 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21065 if ac_fn_c_try_link "$LINENO"; then :
21066 ac_cv_search_opendir=$ac_res
21068 rm -f core conftest.err conftest.$ac_objext \
21070 if ${ac_cv_search_opendir+:} false; then :
21074 if ${ac_cv_search_opendir+:} false; then :
21077 ac_cv_search_opendir=no
21079 rm conftest.$ac_ext
21080 LIBS=$ac_func_search_save_LIBS
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
21083 $as_echo "$ac_cv_search_opendir" >&6; }
21084 ac_res=$ac_cv_search_opendir
21085 if test "$ac_res" != no; then :
21086 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21092 for ac_header in unistd.h
21094 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21095 if test "x$ac_cv_header_unistd_h" = xyes; then :
21096 cat >>confdefs.h <<_ACEOF
21097 #define HAVE_UNISTD_H 1
21105 # Honor aclocal flags
21106 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
21107 ac_config_commands="$ac_config_commands pango/pango-features.h"
21110 ac_config_files="$ac_config_files Makefile pango/Makefile pango/mini-fribidi/Makefile pango/opentype/Makefile pango/pango.rc pango/pangoft2.rc pango/pangowin32.rc pango/pangocairo.rc pango/pangox.rc pango/pangoxft.rc pango-view/Makefile modules/Makefile modules/arabic/Makefile modules/basic/Makefile modules/hangul/Makefile modules/hebrew/Makefile modules/indic/Makefile modules/khmer/Makefile modules/syriac/Makefile modules/thai/Makefile modules/tibetan/Makefile examples/Makefile docs/Makefile docs/version.xml tools/Makefile tests/Makefile build/Makefile build/win32/Makefile build/win32/vs9/Makefile build/win32/vs10/Makefile pango.pc pangox.pc pangowin32.pc pangoft2.pc pangoxft.pc pangocairo.pc pango-uninstalled.pc pangox-uninstalled.pc pangowin32-uninstalled.pc pangoft2-uninstalled.pc pangoxft-uninstalled.pc pangocairo-uninstalled.pc pango-zip.sh config.h.win32"
21113 ac_config_files="$ac_config_files tests/runtests.sh"
21116 cat >confcache <<\_ACEOF
21117 # This file is a shell script that caches the results of configure
21118 # tests run on this system so they can be shared between configure
21119 # scripts and configure runs, see configure's option --config-cache.
21120 # It is not useful on other systems. If it contains results you don't
21121 # want to keep, you may remove or edit it.
21123 # config.status only pays attention to the cache file if you give it
21124 # the --recheck option to rerun configure.
21126 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21127 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21128 # following values.
21132 # The following way of writing the cache mishandles newlines in values,
21133 # but we know of no workaround that is simple, portable, and efficient.
21134 # So, we kill variables containing newlines.
21135 # Ultrix sh set writes to stderr and can't be redirected directly,
21136 # and sets the high bit in the cache file unless we assign to the vars.
21138 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21139 eval ac_val=\$$ac_var
21143 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21144 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21147 _ | IFS | as_nl) ;; #(
21148 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21149 *) { eval $ac_var=; unset $ac_var;} ;;
21155 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21156 *${as_nl}ac_space=\ *)
21157 # `set' does not quote correctly, so add quotes: double-quote
21158 # substitution turns \\\\ into \\, and sed turns \\ into \.
21161 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21164 # `set' quotes correctly as required by POSIX, so do not add quotes.
21165 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21174 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21176 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21178 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21179 if test -w "$cache_file"; then
21180 if test "x$cache_file" != "x/dev/null"; then
21181 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21182 $as_echo "$as_me: updating cache $cache_file" >&6;}
21183 if test ! -f "$cache_file" || test -h "$cache_file"; then
21184 cat confcache >"$cache_file"
21186 case $cache_file in #(
21188 mv -f confcache "$cache_file"$$ &&
21189 mv -f "$cache_file"$$ "$cache_file" ;; #(
21191 mv -f confcache "$cache_file" ;;
21196 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21197 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21202 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21203 # Let make expand exec_prefix.
21204 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21206 DEFS=-DHAVE_CONFIG_H
21211 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21212 # 1. Remove the extension, and $U if already installed.
21213 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21214 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21215 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21216 # will be set to the directory where LIBOBJS objects are built.
21217 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21218 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21220 LIBOBJS=$ac_libobjs
21222 LTLIBOBJS=$ac_ltlibobjs
21225 if test -n "$EXEEXT"; then
21227 am__EXEEXT_FALSE='#'
21229 am__EXEEXT_TRUE='#'
21233 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
21234 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
21235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21237 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21238 as_fn_error $? "conditional \"AMDEP\" was never defined.
21239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21241 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21242 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
21243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21245 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21246 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
21247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21249 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then
21250 as_fn_error $? "conditional \"HAVE_CXX\" was never defined.
21251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21253 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21254 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
21255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21257 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
21258 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
21259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21261 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
21262 as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
21263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21265 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
21266 as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
21267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21269 if test -z "${HAVE_X_TRUE}" && test -z "${HAVE_X_FALSE}"; then
21270 as_fn_error $? "conditional \"HAVE_X\" was never defined.
21271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21273 if test -z "${HAVE_FREETYPE_TRUE}" && test -z "${HAVE_FREETYPE_FALSE}"; then
21274 as_fn_error $? "conditional \"HAVE_FREETYPE\" was never defined.
21275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21277 if test -z "${HAVE_XFT_TRUE}" && test -z "${HAVE_XFT_FALSE}"; then
21278 as_fn_error $? "conditional \"HAVE_XFT\" was never defined.
21279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21281 if test -z "${HAVE_WIN32_TRUE}" && test -z "${HAVE_WIN32_FALSE}"; then
21282 as_fn_error $? "conditional \"HAVE_WIN32\" was never defined.
21283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21285 if test -z "${HAVE_CORE_TEXT_TRUE}" && test -z "${HAVE_CORE_TEXT_FALSE}"; then
21286 as_fn_error $? "conditional \"HAVE_CORE_TEXT\" was never defined.
21287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21289 if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then
21290 as_fn_error $? "conditional \"HAVE_CAIRO\" was never defined.
21291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21293 if test -z "${HAVE_CAIRO_PNG_TRUE}" && test -z "${HAVE_CAIRO_PNG_FALSE}"; then
21294 as_fn_error $? "conditional \"HAVE_CAIRO_PNG\" was never defined.
21295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21297 if test -z "${HAVE_CAIRO_PS_TRUE}" && test -z "${HAVE_CAIRO_PS_FALSE}"; then
21298 as_fn_error $? "conditional \"HAVE_CAIRO_PS\" was never defined.
21299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21301 if test -z "${HAVE_CAIRO_PDF_TRUE}" && test -z "${HAVE_CAIRO_PDF_FALSE}"; then
21302 as_fn_error $? "conditional \"HAVE_CAIRO_PDF\" was never defined.
21303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21305 if test -z "${HAVE_CAIRO_XLIB_TRUE}" && test -z "${HAVE_CAIRO_XLIB_FALSE}"; then
21306 as_fn_error $? "conditional \"HAVE_CAIRO_XLIB\" was never defined.
21307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21309 if test -z "${HAVE_CAIRO_WIN32_TRUE}" && test -z "${HAVE_CAIRO_WIN32_FALSE}"; then
21310 as_fn_error $? "conditional \"HAVE_CAIRO_WIN32\" was never defined.
21311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21313 if test -z "${HAVE_CAIRO_FREETYPE_TRUE}" && test -z "${HAVE_CAIRO_FREETYPE_FALSE}"; then
21314 as_fn_error $? "conditional \"HAVE_CAIRO_FREETYPE\" was never defined.
21315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21317 if test -z "${HAVE_CAIRO_ATSUI_TRUE}" && test -z "${HAVE_CAIRO_ATSUI_FALSE}"; then
21318 as_fn_error $? "conditional \"HAVE_CAIRO_ATSUI\" was never defined.
21319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21321 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
21322 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
21323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21325 if test -z "${HAVE_INCLUDED_MODULES_TRUE}" && test -z "${HAVE_INCLUDED_MODULES_FALSE}"; then
21326 as_fn_error $? "conditional \"HAVE_INCLUDED_MODULES\" was never defined.
21327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21329 if test -z "${HAVE_DYNAMIC_MODULES_TRUE}" && test -z "${HAVE_DYNAMIC_MODULES_FALSE}"; then
21330 as_fn_error $? "conditional \"HAVE_DYNAMIC_MODULES\" was never defined.
21331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21333 if test -z "${INCLUDE_ARABIC_FC_TRUE}" && test -z "${INCLUDE_ARABIC_FC_FALSE}"; then
21334 as_fn_error $? "conditional \"INCLUDE_ARABIC_FC\" was never defined.
21335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21337 if test -z "${INCLUDE_ARABIC_LANG_TRUE}" && test -z "${INCLUDE_ARABIC_LANG_FALSE}"; then
21338 as_fn_error $? "conditional \"INCLUDE_ARABIC_LANG\" was never defined.
21339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21341 if test -z "${INCLUDE_BASIC_FC_TRUE}" && test -z "${INCLUDE_BASIC_FC_FALSE}"; then
21342 as_fn_error $? "conditional \"INCLUDE_BASIC_FC\" was never defined.
21343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21345 if test -z "${INCLUDE_BASIC_WIN32_TRUE}" && test -z "${INCLUDE_BASIC_WIN32_FALSE}"; then
21346 as_fn_error $? "conditional \"INCLUDE_BASIC_WIN32\" was never defined.
21347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21349 if test -z "${INCLUDE_BASIC_X_TRUE}" && test -z "${INCLUDE_BASIC_X_FALSE}"; then
21350 as_fn_error $? "conditional \"INCLUDE_BASIC_X\" was never defined.
21351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21353 if test -z "${INCLUDE_BASIC_ATSUI_TRUE}" && test -z "${INCLUDE_BASIC_ATSUI_FALSE}"; then
21354 as_fn_error $? "conditional \"INCLUDE_BASIC_ATSUI\" was never defined.
21355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21357 if test -z "${INCLUDE_BASIC_CORE_TEXT_TRUE}" && test -z "${INCLUDE_BASIC_CORE_TEXT_FALSE}"; then
21358 as_fn_error $? "conditional \"INCLUDE_BASIC_CORE_TEXT\" was never defined.
21359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21361 if test -z "${INCLUDE_HANGUL_FC_TRUE}" && test -z "${INCLUDE_HANGUL_FC_FALSE}"; then
21362 as_fn_error $? "conditional \"INCLUDE_HANGUL_FC\" was never defined.
21363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21365 if test -z "${INCLUDE_HEBREW_FC_TRUE}" && test -z "${INCLUDE_HEBREW_FC_FALSE}"; then
21366 as_fn_error $? "conditional \"INCLUDE_HEBREW_FC\" was never defined.
21367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21369 if test -z "${INCLUDE_INDIC_FC_TRUE}" && test -z "${INCLUDE_INDIC_FC_FALSE}"; then
21370 as_fn_error $? "conditional \"INCLUDE_INDIC_FC\" was never defined.
21371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21373 if test -z "${INCLUDE_INDIC_LANG_TRUE}" && test -z "${INCLUDE_INDIC_LANG_FALSE}"; then
21374 as_fn_error $? "conditional \"INCLUDE_INDIC_LANG\" was never defined.
21375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21377 if test -z "${INCLUDE_KHMER_FC_TRUE}" && test -z "${INCLUDE_KHMER_FC_FALSE}"; then
21378 as_fn_error $? "conditional \"INCLUDE_KHMER_FC\" was never defined.
21379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21381 if test -z "${INCLUDE_SYRIAC_FC_TRUE}" && test -z "${INCLUDE_SYRIAC_FC_FALSE}"; then
21382 as_fn_error $? "conditional \"INCLUDE_SYRIAC_FC\" was never defined.
21383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21385 if test -z "${INCLUDE_THAI_FC_TRUE}" && test -z "${INCLUDE_THAI_FC_FALSE}"; then
21386 as_fn_error $? "conditional \"INCLUDE_THAI_FC\" was never defined.
21387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21389 if test -z "${INCLUDE_THAI_LANG_TRUE}" && test -z "${INCLUDE_THAI_LANG_FALSE}"; then
21390 as_fn_error $? "conditional \"INCLUDE_THAI_LANG\" was never defined.
21391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21393 if test -z "${INCLUDE_TIBETAN_FC_TRUE}" && test -z "${INCLUDE_TIBETAN_FC_FALSE}"; then
21394 as_fn_error $? "conditional \"INCLUDE_TIBETAN_FC\" was never defined.
21395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21397 if test -z "${DYNAMIC_ARABIC_FC_TRUE}" && test -z "${DYNAMIC_ARABIC_FC_FALSE}"; then
21398 as_fn_error $? "conditional \"DYNAMIC_ARABIC_FC\" was never defined.
21399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21401 if test -z "${DYNAMIC_ARABIC_LANG_TRUE}" && test -z "${DYNAMIC_ARABIC_LANG_FALSE}"; then
21402 as_fn_error $? "conditional \"DYNAMIC_ARABIC_LANG\" was never defined.
21403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21405 if test -z "${DYNAMIC_BASIC_FC_TRUE}" && test -z "${DYNAMIC_BASIC_FC_FALSE}"; then
21406 as_fn_error $? "conditional \"DYNAMIC_BASIC_FC\" was never defined.
21407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21409 if test -z "${DYNAMIC_BASIC_WIN32_TRUE}" && test -z "${DYNAMIC_BASIC_WIN32_FALSE}"; then
21410 as_fn_error $? "conditional \"DYNAMIC_BASIC_WIN32\" was never defined.
21411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21413 if test -z "${DYNAMIC_BASIC_X_TRUE}" && test -z "${DYNAMIC_BASIC_X_FALSE}"; then
21414 as_fn_error $? "conditional \"DYNAMIC_BASIC_X\" was never defined.
21415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21417 if test -z "${DYNAMIC_BASIC_ATSUI_TRUE}" && test -z "${DYNAMIC_BASIC_ATSUI_FALSE}"; then
21418 as_fn_error $? "conditional \"DYNAMIC_BASIC_ATSUI\" was never defined.
21419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21421 if test -z "${DYNAMIC_BASIC_CORE_TEXT_TRUE}" && test -z "${DYNAMIC_BASIC_CORE_TEXT_FALSE}"; then
21422 as_fn_error $? "conditional \"DYNAMIC_BASIC_CORE_TEXT\" was never defined.
21423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21425 if test -z "${DYNAMIC_HANGUL_FC_TRUE}" && test -z "${DYNAMIC_HANGUL_FC_FALSE}"; then
21426 as_fn_error $? "conditional \"DYNAMIC_HANGUL_FC\" was never defined.
21427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21429 if test -z "${DYNAMIC_HEBREW_FC_TRUE}" && test -z "${DYNAMIC_HEBREW_FC_FALSE}"; then
21430 as_fn_error $? "conditional \"DYNAMIC_HEBREW_FC\" was never defined.
21431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21433 if test -z "${DYNAMIC_INDIC_FC_TRUE}" && test -z "${DYNAMIC_INDIC_FC_FALSE}"; then
21434 as_fn_error $? "conditional \"DYNAMIC_INDIC_FC\" was never defined.
21435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21437 if test -z "${DYNAMIC_INDIC_LANG_TRUE}" && test -z "${DYNAMIC_INDIC_LANG_FALSE}"; then
21438 as_fn_error $? "conditional \"DYNAMIC_INDIC_LANG\" was never defined.
21439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21441 if test -z "${DYNAMIC_KHMER_FC_TRUE}" && test -z "${DYNAMIC_KHMER_FC_FALSE}"; then
21442 as_fn_error $? "conditional \"DYNAMIC_KHMER_FC\" was never defined.
21443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21445 if test -z "${DYNAMIC_SYRIAC_FC_TRUE}" && test -z "${DYNAMIC_SYRIAC_FC_FALSE}"; then
21446 as_fn_error $? "conditional \"DYNAMIC_SYRIAC_FC\" was never defined.
21447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21449 if test -z "${DYNAMIC_THAI_FC_TRUE}" && test -z "${DYNAMIC_THAI_FC_FALSE}"; then
21450 as_fn_error $? "conditional \"DYNAMIC_THAI_FC\" was never defined.
21451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21453 if test -z "${DYNAMIC_THAI_LANG_TRUE}" && test -z "${DYNAMIC_THAI_LANG_FALSE}"; then
21454 as_fn_error $? "conditional \"DYNAMIC_THAI_LANG\" was never defined.
21455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21457 if test -z "${DYNAMIC_TIBETAN_FC_TRUE}" && test -z "${DYNAMIC_TIBETAN_FC_FALSE}"; then
21458 as_fn_error $? "conditional \"DYNAMIC_TIBETAN_FC\" was never defined.
21459 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21461 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
21462 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
21463 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21465 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
21466 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
21467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21469 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
21470 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
21471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21473 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
21474 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
21475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21477 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
21478 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
21479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21481 if test -z "${ENABLE_MAN_TRUE}" && test -z "${ENABLE_MAN_FALSE}"; then
21482 as_fn_error $? "conditional \"ENABLE_MAN\" was never defined.
21483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21485 if test -z "${ENABLE_DOC_CROSS_REFERENCES_TRUE}" && test -z "${ENABLE_DOC_CROSS_REFERENCES_FALSE}"; then
21486 as_fn_error $? "conditional \"ENABLE_DOC_CROSS_REFERENCES\" was never defined.
21487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21489 if test -z "${DISABLE_EXPLICIT_DEPS_TRUE}" && test -z "${DISABLE_EXPLICIT_DEPS_FALSE}"; then
21490 as_fn_error $? "conditional \"DISABLE_EXPLICIT_DEPS\" was never defined.
21491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21494 : "${CONFIG_STATUS=./config.status}"
21496 ac_clean_files_save=$ac_clean_files
21497 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21499 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21501 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21503 # Generated by $as_me.
21504 # Run this file to recreate the current configuration.
21505 # Compiler output produced by configure, useful for debugging
21506 # configure, is in config.log if it exists.
21509 ac_cs_recheck=false
21512 SHELL=\${CONFIG_SHELL-$SHELL}
21515 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21516 ## -------------------- ##
21517 ## M4sh Initialization. ##
21518 ## -------------------- ##
21520 # Be more Bourne compatible
21521 DUALCASE=1; export DUALCASE # for MKS sh
21522 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21525 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21526 # is contrary to our usage. Disable this feature.
21527 alias -g '${1+"$@"}'='"$@"'
21528 setopt NO_GLOB_SUBST
21530 case `(set -o) 2>/dev/null` in #(
21542 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21543 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21544 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21545 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21546 # Prefer a ksh shell builtin over an external printf program on Solaris,
21547 # but without wasting forks for bash or zsh.
21548 if test -z "$BASH_VERSION$ZSH_VERSION" \
21549 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21550 as_echo='print -r --'
21551 as_echo_n='print -rn --'
21552 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21553 as_echo='printf %s\n'
21554 as_echo_n='printf %s'
21556 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21557 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21558 as_echo_n='/usr/ucb/echo -n'
21560 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21561 as_echo_n_body='eval
21565 expr "X$arg" : "X\\(.*\\)$as_nl";
21566 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21568 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21570 export as_echo_n_body
21571 as_echo_n='sh -c $as_echo_n_body as_echo'
21573 export as_echo_body
21574 as_echo='sh -c $as_echo_body as_echo'
21577 # The user is always right.
21578 if test "${PATH_SEPARATOR+set}" != set; then
21580 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21581 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21588 # We need space, tab and new line, in precisely that order. Quoting is
21589 # there to prevent editors from complaining about space-tab.
21590 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21591 # splitting by setting IFS to empty value.)
21594 # Find who we are. Look in the path if we contain no directory separator.
21597 *[\\/]* ) as_myself=$0 ;;
21598 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21599 for as_dir in $PATH
21602 test -z "$as_dir" && as_dir=.
21603 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21609 # We did not find ourselves, most probably we were run as `sh COMMAND'
21610 # in which case we are not to be found in the path.
21611 if test "x$as_myself" = x; then
21614 if test ! -f "$as_myself"; then
21615 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21619 # Unset variables that we do not need and which cause bugs (e.g. in
21620 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21621 # suppresses any "Segmentation fault" message there. '((' could
21622 # trigger a bug in pdksh 5.2.14.
21623 for as_var in BASH_ENV ENV MAIL MAILPATH
21624 do eval test x\${$as_var+set} = xset \
21625 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21638 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21641 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21642 # ----------------------------------------
21643 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21644 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21645 # script with STATUS, using 1 if that was 0.
21648 as_status=$1; test $as_status -eq 0 && as_status=1
21650 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21651 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21653 $as_echo "$as_me: error: $2" >&2
21654 as_fn_exit $as_status
21658 # as_fn_set_status STATUS
21659 # -----------------------
21660 # Set $? to STATUS, without forking.
21661 as_fn_set_status ()
21664 } # as_fn_set_status
21666 # as_fn_exit STATUS
21667 # -----------------
21668 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21672 as_fn_set_status $1
21678 # Portably unset VAR.
21681 { eval $1=; unset $1;}
21683 as_unset=as_fn_unset
21684 # as_fn_append VAR VALUE
21685 # ----------------------
21686 # Append the text in VALUE to the end of the definition contained in VAR. Take
21687 # advantage of any shell optimizations that allow amortized linear growth over
21688 # repeated appends, instead of the typical quadratic growth present in naive
21690 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21691 eval 'as_fn_append ()
21702 # as_fn_arith ARG...
21703 # ------------------
21704 # Perform arithmetic evaluation on the ARGs, and store the result in the
21705 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21706 # must be portable across $(()) and expr.
21707 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21708 eval 'as_fn_arith ()
21715 as_val=`expr "$@" || test $? -eq 1`
21720 if expr a : '\(a\)' >/dev/null 2>&1 &&
21721 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21727 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21728 as_basename=basename
21733 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21739 as_me=`$as_basename -- "$0" ||
21740 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21741 X"$0" : 'X\(//\)$' \| \
21742 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21744 sed '/^.*\/\([^/][^/]*\)\/*$/{
21758 # Avoid depending upon Character Ranges.
21759 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21760 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21761 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21762 as_cr_digits='0123456789'
21763 as_cr_alnum=$as_cr_Letters$as_cr_digits
21765 ECHO_C= ECHO_N= ECHO_T=
21766 case `echo -n x` in #(((((
21768 case `echo 'xy\c'` in
21769 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21771 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21778 rm -f conf$$ conf$$.exe conf$$.file
21779 if test -d conf$$.dir; then
21780 rm -f conf$$.dir/conf$$.file
21783 mkdir conf$$.dir 2>/dev/null
21785 if (echo >conf$$.file) 2>/dev/null; then
21786 if ln -s conf$$.file conf$$ 2>/dev/null; then
21788 # ... but there are two gotchas:
21789 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21790 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21791 # In both cases, we have to default to `cp -p'.
21792 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21794 elif ln conf$$.file conf$$ 2>/dev/null; then
21802 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21803 rmdir conf$$.dir 2>/dev/null
21808 # Create "$as_dir" as a directory, including parents if necessary.
21813 -*) as_dir=./$as_dir;;
21815 test -d "$as_dir" || eval $as_mkdir_p || {
21819 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21820 *) as_qdir=$as_dir;;
21822 as_dirs="'$as_qdir' $as_dirs"
21823 as_dir=`$as_dirname -- "$as_dir" ||
21824 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21825 X"$as_dir" : 'X\(//\)[^/]' \| \
21826 X"$as_dir" : 'X\(//\)$' \| \
21827 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21828 $as_echo X"$as_dir" |
21829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21833 /^X\(\/\/\)[^/].*/{
21846 test -d "$as_dir" && break
21848 test -z "$as_dirs" || eval "mkdir $as_dirs"
21849 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21853 if mkdir -p . 2>/dev/null; then
21854 as_mkdir_p='mkdir -p "$as_dir"'
21856 test -d ./-p && rmdir ./-p
21860 if test -x / >/dev/null 2>&1; then
21861 as_test_x='test -x'
21863 if ls -dL / >/dev/null 2>&1; then
21870 if test -d "$1"; then
21876 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
21877 ???[sx]*):;;*)false;;esac;fi
21881 as_executable_p=$as_test_x
21883 # Sed expression to map a string onto a valid CPP name.
21884 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21886 # Sed expression to map a string onto a valid variable name.
21887 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21891 ## ----------------------------------- ##
21892 ## Main body of $CONFIG_STATUS script. ##
21893 ## ----------------------------------- ##
21895 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21898 # Save the log message, to keep $0 and so on meaningful, and to
21899 # report actual input values of CONFIG_FILES etc. instead of their
21900 # values after options handling.
21902 This file was extended by pango $as_me 1.30.0, which was
21903 generated by GNU Autoconf 2.68. Invocation command line was
21905 CONFIG_FILES = $CONFIG_FILES
21906 CONFIG_HEADERS = $CONFIG_HEADERS
21907 CONFIG_LINKS = $CONFIG_LINKS
21908 CONFIG_COMMANDS = $CONFIG_COMMANDS
21911 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21916 case $ac_config_files in *"
21917 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21920 case $ac_config_headers in *"
21921 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21926 # Files that config.status was made for.
21927 config_files="$ac_config_files"
21928 config_headers="$ac_config_headers"
21929 config_commands="$ac_config_commands"
21933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21935 \`$as_me' instantiates files and other configuration actions
21936 from templates according to the current configuration. Unless the files
21937 and actions are specified as TAGs, all are instantiated by default.
21939 Usage: $0 [OPTION]... [TAG]...
21941 -h, --help print this help, then exit
21942 -V, --version print version number and configuration settings, then exit
21943 --config print configuration, then exit
21944 -q, --quiet, --silent
21945 do not print progress messages
21946 -d, --debug don't remove temporary files
21947 --recheck update $as_me by reconfiguring in the same conditions
21948 --file=FILE[:TEMPLATE]
21949 instantiate the configuration file FILE
21950 --header=FILE[:TEMPLATE]
21951 instantiate the configuration header FILE
21953 Configuration files:
21956 Configuration headers:
21959 Configuration commands:
21962 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pango>."
21965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21966 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21968 pango config.status 1.30.0
21969 configured by $0, generated by GNU Autoconf 2.68,
21970 with options \\"\$ac_cs_config\\"
21972 Copyright (C) 2010 Free Software Foundation, Inc.
21973 This config.status script is free software; the Free Software Foundation
21974 gives unlimited permission to copy, distribute and modify it."
21981 test -n "\$AWK" || AWK=awk
21984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21985 # The default lists apply if the user does not specify any file.
21991 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21992 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21996 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22008 # Handling of the options.
22009 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22011 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22012 $as_echo "$ac_cs_version"; exit ;;
22013 --config | --confi | --conf | --con | --co | --c )
22014 $as_echo "$ac_cs_config"; exit ;;
22015 --debug | --debu | --deb | --de | --d | -d )
22017 --file | --fil | --fi | --f )
22020 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22021 '') as_fn_error $? "missing file argument" ;;
22023 as_fn_append CONFIG_FILES " '$ac_optarg'"
22024 ac_need_defaults=false;;
22025 --header | --heade | --head | --hea )
22028 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22030 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22031 ac_need_defaults=false;;
22033 # Conflict between --help and --header
22034 as_fn_error $? "ambiguous option: \`$1'
22035 Try \`$0 --help' for more information.";;
22036 --help | --hel | -h )
22037 $as_echo "$ac_cs_usage"; exit ;;
22038 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22039 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22042 # This is an error.
22043 -*) as_fn_error $? "unrecognized option: \`$1'
22044 Try \`$0 --help' for more information." ;;
22046 *) as_fn_append ac_config_targets " $1"
22047 ac_need_defaults=false ;;
22053 ac_configure_extra_args=
22055 if $ac_cs_silent; then
22057 ac_configure_extra_args="$ac_configure_extra_args --silent"
22061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22062 if \$ac_cs_recheck; then
22063 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22065 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22066 CONFIG_SHELL='$SHELL'
22067 export CONFIG_SHELL
22072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22076 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22077 ## Running $as_me. ##
22083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22087 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22090 # The HP-UX ksh and POSIX shell print the target directory to stdout
22091 # if CDPATH is set.
22092 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22094 sed_quote_subst='$sed_quote_subst'
22095 double_quote_subst='$double_quote_subst'
22096 delay_variable_subst='$delay_variable_subst'
22097 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
22098 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22099 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22100 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22101 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22102 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22103 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22104 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22105 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22106 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22107 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22108 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22109 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22110 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22111 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22112 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22113 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22114 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22115 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22116 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22117 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22118 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22119 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22120 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22121 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22122 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22123 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22124 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22125 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22126 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22127 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22128 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22129 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22130 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22131 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22132 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22133 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22134 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22135 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22136 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22137 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22138 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22139 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22140 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22141 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22142 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22143 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22144 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22145 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22146 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22147 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22148 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22149 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22150 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22151 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22152 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22153 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22154 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
22155 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22156 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22157 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22158 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22159 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22160 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22161 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22162 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22163 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22164 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22165 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22166 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22167 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22168 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22169 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22170 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22171 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22172 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22173 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22174 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22175 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22176 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22177 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22178 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22179 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22180 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22181 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22182 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22183 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22184 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22185 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22186 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22187 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22188 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22189 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22190 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22191 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22192 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22193 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22194 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22195 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22196 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22197 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22198 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22199 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22200 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22201 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22202 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22203 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22204 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22205 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22206 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22207 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22208 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22209 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22210 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22211 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22212 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22213 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22214 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22215 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22216 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22217 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22218 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22219 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22220 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22221 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
22222 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22223 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22224 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22225 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22226 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22227 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22228 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22229 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22230 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22231 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22232 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22233 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22234 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22235 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22236 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22237 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22238 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22239 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22240 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22241 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22242 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22243 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22244 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22245 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22246 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22247 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22248 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22249 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22250 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22251 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22252 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22253 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22254 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22255 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22256 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22257 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22258 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22259 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22260 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22261 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22262 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22263 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22264 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22265 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22266 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22267 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22268 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22269 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22270 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22271 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22272 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22273 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22274 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22275 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22276 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22277 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22278 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22279 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22280 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22281 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22284 LTCFLAGS='$LTCFLAGS'
22285 compiler='$compiler_DEFAULT'
22287 # A function that is used when there is no print builtin or printf.
22288 func_fallback_echo ()
22290 eval 'cat <<_LTECHO_EOF
22295 # Quote evaled strings.
22312 deplibs_check_method \
22316 sharedlib_from_linklib_cmd \
22319 archiver_list_spec \
22325 lt_cv_sys_global_symbol_pipe \
22326 lt_cv_sys_global_symbol_to_cdecl \
22327 lt_cv_sys_global_symbol_to_c_name_address \
22328 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22329 nm_file_list_spec \
22330 lt_prog_compiler_no_builtin_flag \
22331 lt_prog_compiler_pic \
22332 lt_prog_compiler_wl \
22333 lt_prog_compiler_static \
22334 lt_cv_prog_compiler_c_o \
22343 export_dynamic_flag_spec \
22344 whole_archive_flag_spec \
22345 compiler_needs_object \
22347 allow_undefined_flag \
22348 no_undefined_flag \
22349 hardcode_libdir_flag_spec \
22350 hardcode_libdir_separator \
22354 variables_saved_for_relink \
22356 library_names_spec \
22358 install_override_mode \
22362 compiler_lib_search_dirs \
22367 compiler_lib_search_path \
22371 lt_prog_compiler_no_builtin_flag_CXX \
22372 lt_prog_compiler_pic_CXX \
22373 lt_prog_compiler_wl_CXX \
22374 lt_prog_compiler_static_CXX \
22375 lt_cv_prog_compiler_c_o_CXX \
22376 export_dynamic_flag_spec_CXX \
22377 whole_archive_flag_spec_CXX \
22378 compiler_needs_object_CXX \
22380 allow_undefined_flag_CXX \
22381 no_undefined_flag_CXX \
22382 hardcode_libdir_flag_spec_CXX \
22383 hardcode_libdir_separator_CXX \
22384 exclude_expsyms_CXX \
22385 include_expsyms_CXX \
22386 file_list_spec_CXX \
22387 compiler_lib_search_dirs_CXX \
22388 predep_objects_CXX \
22389 postdep_objects_CXX \
22392 compiler_lib_search_path_CXX; do
22393 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22394 *[\\\\\\\`\\"\\\$]*)
22395 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22398 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22403 # Double-quote double-evaled strings.
22404 for var in reload_cmds \
22405 old_postinstall_cmds \
22406 old_postuninstall_cmds \
22408 extract_expsyms_cmds \
22409 old_archive_from_new_cmds \
22410 old_archive_from_expsyms_cmds \
22412 archive_expsym_cmds \
22414 module_expsym_cmds \
22415 export_symbols_cmds \
22419 postuninstall_cmds \
22421 sys_lib_search_path_spec \
22422 sys_lib_dlsearch_path_spec \
22424 old_archive_cmds_CXX \
22425 old_archive_from_new_cmds_CXX \
22426 old_archive_from_expsyms_cmds_CXX \
22428 archive_expsym_cmds_CXX \
22430 module_expsym_cmds_CXX \
22431 export_symbols_cmds_CXX \
22433 postlink_cmds_CXX; do
22434 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22435 *[\\\\\\\`\\"\\\$]*)
22436 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22439 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22444 ac_aux_dir='$ac_aux_dir'
22445 xsi_shell='$xsi_shell'
22446 lt_shell_append='$lt_shell_append'
22448 # See if we are running on zsh, and set the options which allow our
22449 # commands through without removal of \ escapes INIT.
22450 if test -n "\${ZSH_VERSION+set}" ; then
22451 setopt NO_GLOB_SUBST
22457 TIMESTAMP='$TIMESTAMP'
22463 ac_aux_dir='$ac_aux_dir'
22467 included_modules=$included_modules
22470 PANGO_VERSION_MAJOR=$PANGO_VERSION_MAJOR
22471 PANGO_VERSION_MINOR=$PANGO_VERSION_MINOR
22472 PANGO_VERSION_MICRO=$PANGO_VERSION_MICRO
22477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22479 # Handling of arguments.
22480 for ac_config_target in $ac_config_targets
22482 case $ac_config_target in
22483 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
22484 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22485 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
22486 "pango/module-defs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs.h" ;;
22487 "pango/module-defs-x.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-x.c" ;;
22488 "pango/module-defs-fc.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-fc.c" ;;
22489 "pango/module-defs-win32.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-win32.c" ;;
22490 "pango/module-defs-atsui.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-atsui.c" ;;
22491 "pango/module-defs-coretext.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-coretext.c" ;;
22492 "pango/module-defs-lang.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-lang.c" ;;
22493 "pango/pango-features.h") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/pango-features.h" ;;
22494 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22495 "pango/Makefile") CONFIG_FILES="$CONFIG_FILES pango/Makefile" ;;
22496 "pango/mini-fribidi/Makefile") CONFIG_FILES="$CONFIG_FILES pango/mini-fribidi/Makefile" ;;
22497 "pango/opentype/Makefile") CONFIG_FILES="$CONFIG_FILES pango/opentype/Makefile" ;;
22498 "pango/pango.rc") CONFIG_FILES="$CONFIG_FILES pango/pango.rc" ;;
22499 "pango/pangoft2.rc") CONFIG_FILES="$CONFIG_FILES pango/pangoft2.rc" ;;
22500 "pango/pangowin32.rc") CONFIG_FILES="$CONFIG_FILES pango/pangowin32.rc" ;;
22501 "pango/pangocairo.rc") CONFIG_FILES="$CONFIG_FILES pango/pangocairo.rc" ;;
22502 "pango/pangox.rc") CONFIG_FILES="$CONFIG_FILES pango/pangox.rc" ;;
22503 "pango/pangoxft.rc") CONFIG_FILES="$CONFIG_FILES pango/pangoxft.rc" ;;
22504 "pango-view/Makefile") CONFIG_FILES="$CONFIG_FILES pango-view/Makefile" ;;
22505 "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
22506 "modules/arabic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/arabic/Makefile" ;;
22507 "modules/basic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/basic/Makefile" ;;
22508 "modules/hangul/Makefile") CONFIG_FILES="$CONFIG_FILES modules/hangul/Makefile" ;;
22509 "modules/hebrew/Makefile") CONFIG_FILES="$CONFIG_FILES modules/hebrew/Makefile" ;;
22510 "modules/indic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/indic/Makefile" ;;
22511 "modules/khmer/Makefile") CONFIG_FILES="$CONFIG_FILES modules/khmer/Makefile" ;;
22512 "modules/syriac/Makefile") CONFIG_FILES="$CONFIG_FILES modules/syriac/Makefile" ;;
22513 "modules/thai/Makefile") CONFIG_FILES="$CONFIG_FILES modules/thai/Makefile" ;;
22514 "modules/tibetan/Makefile") CONFIG_FILES="$CONFIG_FILES modules/tibetan/Makefile" ;;
22515 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
22516 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
22517 "docs/version.xml") CONFIG_FILES="$CONFIG_FILES docs/version.xml" ;;
22518 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22519 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
22520 "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
22521 "build/win32/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;;
22522 "build/win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/Makefile" ;;
22523 "build/win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/Makefile" ;;
22524 "pango.pc") CONFIG_FILES="$CONFIG_FILES pango.pc" ;;
22525 "pangox.pc") CONFIG_FILES="$CONFIG_FILES pangox.pc" ;;
22526 "pangowin32.pc") CONFIG_FILES="$CONFIG_FILES pangowin32.pc" ;;
22527 "pangoft2.pc") CONFIG_FILES="$CONFIG_FILES pangoft2.pc" ;;
22528 "pangoxft.pc") CONFIG_FILES="$CONFIG_FILES pangoxft.pc" ;;
22529 "pangocairo.pc") CONFIG_FILES="$CONFIG_FILES pangocairo.pc" ;;
22530 "pango-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pango-uninstalled.pc" ;;
22531 "pangox-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangox-uninstalled.pc" ;;
22532 "pangowin32-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangowin32-uninstalled.pc" ;;
22533 "pangoft2-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangoft2-uninstalled.pc" ;;
22534 "pangoxft-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangoxft-uninstalled.pc" ;;
22535 "pangocairo-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangocairo-uninstalled.pc" ;;
22536 "pango-zip.sh") CONFIG_FILES="$CONFIG_FILES pango-zip.sh" ;;
22537 "config.h.win32") CONFIG_FILES="$CONFIG_FILES config.h.win32" ;;
22538 "tests/runtests.sh") CONFIG_FILES="$CONFIG_FILES tests/runtests.sh" ;;
22540 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22545 # If the user did not use the arguments to specify the items to instantiate,
22546 # then the envvar interface is used. Set only those that are not.
22547 # We use the long form for the default assignment because of an extremely
22548 # bizarre bug on SunOS 4.1.3.
22549 if $ac_need_defaults; then
22550 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22551 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22552 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22555 # Have a temporary directory for convenience. Make it in the build tree
22556 # simply because there is no reason against having it here, and in addition,
22557 # creating and moving files from /tmp can sometimes cause problems.
22558 # Hook for its removal unless debugging.
22559 # Note that there is a small window in which the directory will not be cleaned:
22560 # after its creation but before its name has been assigned to `$tmp'.
22564 trap 'exit_status=$?
22565 : "${ac_tmp:=$tmp}"
22566 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22568 trap 'as_fn_exit 1' 1 2 13 15
22570 # Create a (secure) tmp directory for tmp files.
22573 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22577 tmp=./conf$$-$RANDOM
22578 (umask 077 && mkdir "$tmp")
22579 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22582 # Set up the scripts for CONFIG_FILES section.
22583 # No need to generate them if there are no CONFIG_FILES.
22584 # This happens for instance with `./config.status config.h'.
22585 if test -n "$CONFIG_FILES"; then
22588 ac_cr=`echo X | tr X '\015'`
22589 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22590 # But we know of no other shell where ac_cr would be empty at this
22591 # point, so we can use a bashism as a fallback.
22592 if test "x$ac_cr" = x; then
22593 eval ac_cr=\$\'\\r\'
22595 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22596 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22599 ac_cs_awk_cr=$ac_cr
22602 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22607 echo "cat >conf$$subs.awk <<_ACEOF" &&
22608 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22610 } >conf$$subs.sh ||
22611 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22612 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22614 for ac_last_try in false false false false false :; do
22615 . ./conf$$subs.sh ||
22616 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22618 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22619 if test $ac_delim_n = $ac_delim_num; then
22621 elif $ac_last_try; then
22622 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22624 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22627 rm -f conf$$subs.sh
22629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22630 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22634 s/^/S["/; s/!.*/"]=/
22644 s/\(.\{148\}\)..*/\1/
22646 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22651 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22658 s/\(.\{148\}\)..*/\1/
22660 s/["\\]/\\&/g; s/^/"/; s/$/"/
22664 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22669 ' <conf$$subs.awk | sed '
22674 ' >>$CONFIG_STATUS || ac_write_fail=1
22675 rm -f conf$$subs.awk
22676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22678 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22679 for (key in S) S_is_set[key] = 1
22685 nfields = split(line, field, "@")
22687 len = length(field[1])
22688 for (i = 2; i < nfields; i++) {
22690 keylen = length(key)
22691 if (S_is_set[key]) {
22693 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22694 len += length(value) + length(field[++i])
22705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22706 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22707 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22710 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22711 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22714 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22715 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22716 # trailing colons and then remove the whole line if VPATH becomes empty
22717 # (actually we leave an empty line to preserve line numbers).
22718 if test "x$srcdir" = x.; then
22719 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22738 fi # test -n "$CONFIG_FILES"
22740 # Set up the scripts for CONFIG_HEADERS section.
22741 # No need to generate them if there are no CONFIG_HEADERS.
22742 # This happens for instance with `./config.status Makefile'.
22743 if test -n "$CONFIG_HEADERS"; then
22744 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22748 # Transform confdefs.h into an awk script `defines.awk', embedded as
22749 # here-document in config.status, that substitutes the proper values into
22750 # config.h.in to produce config.h.
22752 # Create a delimiter string that does not exist in confdefs.h, to ease
22753 # handling of long lines.
22755 for ac_last_try in false false :; do
22756 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22757 if test -z "$ac_tt"; then
22759 elif $ac_last_try; then
22760 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22762 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22766 # For the awk script, D is an array of macro values keyed by name,
22767 # likewise P contains macro parameters if any. Preserve backslash
22768 # newline sequences.
22770 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22772 s/.\{148\}/&'"$ac_delim"'/g
22775 s/^[ ]*#[ ]*define[ ][ ]*/ /
22782 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22784 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22788 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22789 D["\1"]=" \3\\\\\\n"\\/p
22791 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22796 s/.\{148\}/&'"$ac_delim"'/g
22801 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22804 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22806 ' <confdefs.h | sed '
22807 s/'"$ac_delim"'/"\\\
22808 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22811 for (key in D) D_is_set[key] = 1
22814 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22816 split(line, arg, " ")
22817 if (arg[1] == "#") {
22821 defundef = substr(arg[1], 2)
22824 split(mac1, mac2, "(") #)
22826 prefix = substr(line, 1, index(line, defundef) - 1)
22827 if (D_is_set[macro]) {
22828 # Preserve the white space surrounding the "#".
22829 print prefix "define", macro P[macro] D[macro]
22832 # Replace #undef with comments. This is necessary, for example,
22833 # in the case of _POSIX_SOURCE, which is predefined and required
22834 # on some systems where configure will not decide to define it.
22835 if (defundef == "undef") {
22836 print "/*", prefix defundef, macro, "*/"
22844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22845 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22846 fi # test -n "$CONFIG_HEADERS"
22849 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22854 :[FHLC]) ac_mode=$ac_tag; continue;;
22856 case $ac_mode$ac_tag in
22858 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22859 :[FH]-) ac_tag=-:-;;
22860 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22877 -) ac_f="$ac_tmp/stdin";;
22878 *) # Look for the file first in the build tree, then in the source tree
22879 # (if the path is not absolute). The absolute path cannot be DOS-style,
22880 # because $ac_f cannot contain `:'.
22884 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22886 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22888 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22889 as_fn_append ac_file_inputs " '$ac_f'"
22892 # Let's still pretend it is `configure' which instantiates (i.e., don't
22893 # use $as_me), people would be surprised to read:
22894 # /* config.h. Generated by config.status. */
22895 configure_input='Generated from '`
22896 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22898 if test x"$ac_file" != x-; then
22899 configure_input="$ac_file. $configure_input"
22900 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22901 $as_echo "$as_me: creating $ac_file" >&6;}
22903 # Neutralize special characters interpreted by sed in replacement strings.
22904 case $configure_input in #(
22905 *\&* | *\|* | *\\* )
22906 ac_sed_conf_input=`$as_echo "$configure_input" |
22907 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22908 *) ac_sed_conf_input=$configure_input;;
22912 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22913 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22918 ac_dir=`$as_dirname -- "$ac_file" ||
22919 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22920 X"$ac_file" : 'X\(//\)[^/]' \| \
22921 X"$ac_file" : 'X\(//\)$' \| \
22922 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22923 $as_echo X"$ac_file" |
22924 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22928 /^X\(\/\/\)[^/].*/{
22941 as_dir="$ac_dir"; as_fn_mkdir_p
22945 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22947 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22948 # A ".." for each directory in $ac_dir_suffix.
22949 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22950 case $ac_top_builddir_sub in
22951 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22952 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22955 ac_abs_top_builddir=$ac_pwd
22956 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22957 # for backward compatibility:
22958 ac_top_builddir=$ac_top_build_prefix
22961 .) # We are building in place.
22963 ac_top_srcdir=$ac_top_builddir_sub
22964 ac_abs_top_srcdir=$ac_pwd ;;
22965 [\\/]* | ?:[\\/]* ) # Absolute name.
22966 ac_srcdir=$srcdir$ac_dir_suffix;
22967 ac_top_srcdir=$srcdir
22968 ac_abs_top_srcdir=$srcdir ;;
22969 *) # Relative name.
22970 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22971 ac_top_srcdir=$ac_top_build_prefix$srcdir
22972 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22974 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22984 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22985 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22987 ac_MKDIR_P=$MKDIR_P
22989 [\\/$]* | ?:[\\/]* ) ;;
22990 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
22994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22995 # If the template does not know about datarootdir, expand it.
22996 # FIXME: This hack should be removed a few years after 2.60.
22997 ac_datarootdir_hack=; ac_datarootdir_seen=
23008 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23009 *datarootdir*) ac_datarootdir_seen=yes;;
23010 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23012 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23015 ac_datarootdir_hack='
23016 s&@datadir@&$datadir&g
23017 s&@docdir@&$docdir&g
23018 s&@infodir@&$infodir&g
23019 s&@localedir@&$localedir&g
23020 s&@mandir@&$mandir&g
23021 s&\\\${datarootdir}&$datarootdir&g' ;;
23025 # Neutralize VPATH when `$srcdir' = `.'.
23026 # Shell code in configure.ac might set extrasub.
23027 # FIXME: do we really want to maintain this feature?
23028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23029 ac_sed_extra="$ac_vpsub
23032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23034 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23035 s|@configure_input@|$ac_sed_conf_input|;t t
23036 s&@top_builddir@&$ac_top_builddir_sub&;t t
23037 s&@top_build_prefix@&$ac_top_build_prefix&;t t
23038 s&@srcdir@&$ac_srcdir&;t t
23039 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23040 s&@top_srcdir@&$ac_top_srcdir&;t t
23041 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23042 s&@builddir@&$ac_builddir&;t t
23043 s&@abs_builddir@&$ac_abs_builddir&;t t
23044 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23045 s&@INSTALL@&$ac_INSTALL&;t t
23046 s&@MKDIR_P@&$ac_MKDIR_P&;t t
23047 $ac_datarootdir_hack
23049 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
23050 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23052 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23053 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
23054 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23055 "$ac_tmp/out"`; test -z "$ac_out"; } &&
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23057 which seems to be undefined. Please make sure it is defined" >&5
23058 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23059 which seems to be undefined. Please make sure it is defined" >&2;}
23061 rm -f "$ac_tmp/stdin"
23063 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23064 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23066 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23072 if test x"$ac_file" != x-; then
23074 $as_echo "/* $configure_input */" \
23075 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23076 } >"$ac_tmp/config.h" \
23077 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23078 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23079 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23080 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23083 mv "$ac_tmp/config.h" "$ac_file" \
23084 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23087 $as_echo "/* $configure_input */" \
23088 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23089 || as_fn_error $? "could not create -" "$LINENO" 5
23091 # Compute "$ac_file"'s index in $config_headers.
23094 for _am_header in $config_headers :; do
23095 case $_am_header in
23096 $_am_arg | $_am_arg:* )
23099 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
23102 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23103 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23104 X"$_am_arg" : 'X\(//\)[^/]' \| \
23105 X"$_am_arg" : 'X\(//\)$' \| \
23106 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23107 $as_echo X"$_am_arg" |
23108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23112 /^X\(\/\/\)[^/].*/{
23124 s/.*/./; q'`/stamp-h$_am_stamp_count
23127 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23128 $as_echo "$as_me: executing $ac_file commands" >&6;}
23133 case $ac_file$ac_mode in
23134 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
23135 # Autoconf 2.62 quotes --file arguments for eval, but not when files
23136 # are listed without --file. Let's play safe and only enable the eval
23137 # if we detect the quoting.
23138 case $CONFIG_FILES in
23139 *\'*) eval set x "$CONFIG_FILES" ;;
23140 *) set x $CONFIG_FILES ;;
23145 # Strip MF so we end up with the name of the file.
23146 mf=`echo "$mf" | sed -e 's/:.*$//'`
23147 # Check whether this is an Automake generated Makefile or not.
23148 # We used to match only the files named `Makefile.in', but
23149 # some people rename them; so instead we look at the file content.
23150 # Grep'ing the first line is not enough: some people post-process
23151 # each Makefile.in and add a new line on top of each file to say so.
23152 # Grep'ing the whole file is not good either: AIX grep has a line
23153 # limit of 2048, but all sed's we know have understand at least 4000.
23154 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
23155 dirpart=`$as_dirname -- "$mf" ||
23156 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23157 X"$mf" : 'X\(//\)[^/]' \| \
23158 X"$mf" : 'X\(//\)$' \| \
23159 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23165 /^X\(\/\/\)[^/].*/{
23181 # Extract the definition of DEPDIR, am__include, and am__quote
23182 # from the Makefile without running `make'.
23183 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23184 test -z "$DEPDIR" && continue
23185 am__include=`sed -n 's/^am__include = //p' < "$mf"`
23186 test -z "am__include" && continue
23187 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23188 # When using ansi2knr, U may be empty or an underscore; expand it
23189 U=`sed -n 's/^U = //p' < "$mf"`
23190 # Find all dependency output files, they are included files with
23191 # $(DEPDIR) in their names. We invoke sed twice because it is the
23192 # simplest approach to changing $(DEPDIR) to its actual value in the
23194 for file in `sed -n "
23195 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23196 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23197 # Make sure the directory exists.
23198 test -f "$dirpart/$file" && continue
23199 fdir=`$as_dirname -- "$file" ||
23200 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23201 X"$file" : 'X\(//\)[^/]' \| \
23202 X"$file" : 'X\(//\)$' \| \
23203 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23204 $as_echo X"$file" |
23205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23209 /^X\(\/\/\)[^/].*/{
23222 as_dir=$dirpart/$fdir; as_fn_mkdir_p
23223 # echo "creating $dirpart/$file"
23224 echo '# dummy' > "$dirpart/$file"
23231 # See if we are running on zsh, and set the options which allow our
23232 # commands through without removal of \ escapes.
23233 if test -n "${ZSH_VERSION+set}" ; then
23234 setopt NO_GLOB_SUBST
23237 cfgfile="${ofile}T"
23238 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23241 cat <<_LT_EOF >> "$cfgfile"
23244 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23245 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23246 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23247 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23249 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23250 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
23252 # Written by Gordon Matzigkeit, 1996
23254 # This file is part of GNU Libtool.
23256 # GNU Libtool is free software; you can redistribute it and/or
23257 # modify it under the terms of the GNU General Public License as
23258 # published by the Free Software Foundation; either version 2 of
23259 # the License, or (at your option) any later version.
23261 # As a special exception to the GNU General Public License,
23262 # if you distribute this file as part of a program or library that
23263 # is built using GNU Libtool, you may include this file under the
23264 # same distribution terms that you use for the rest of that program.
23266 # GNU Libtool is distributed in the hope that it will be useful,
23267 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23268 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23269 # GNU General Public License for more details.
23271 # You should have received a copy of the GNU General Public License
23272 # along with GNU Libtool; see the file COPYING. If not, a copy
23273 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23274 # obtained by writing to the Free Software Foundation, Inc.,
23275 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23278 # The names of the tagged configurations supported by this script.
23279 available_tags="CXX "
23281 # ### BEGIN LIBTOOL CONFIG
23283 # Assembler program.
23286 # DLL creation program.
23287 DLLTOOL=$lt_DLLTOOL
23289 # Object dumper program.
23290 OBJDUMP=$lt_OBJDUMP
23292 # Whether or not to build static libraries.
23293 build_old_libs=$enable_static
23295 # Which release of libtool.m4 was used?
23296 macro_version=$macro_version
23297 macro_revision=$macro_revision
23299 # Whether or not to build shared libraries.
23300 build_libtool_libs=$enable_shared
23302 # What type of objects to build.
23305 # Whether or not to optimize for fast installation.
23306 fast_install=$enable_fast_install
23308 # Shell to use when invoking shell scripts.
23311 # An echo program that protects backslashes.
23314 # The PATH separator for the build system.
23315 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23318 host_alias=$host_alias
23322 # The build system.
23323 build_alias=$build_alias
23327 # A sed program that does not truncate output.
23330 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23331 Xsed="\$SED -e 1s/^X//"
23333 # A grep program that handles long lines.
23339 # A literal string matcher.
23342 # A BSD- or MS-compatible name lister.
23345 # Whether we need soft or hard links.
23348 # What is the maximum length of a command?
23349 max_cmd_len=$max_cmd_len
23351 # Object file suffix (normally "o").
23354 # Executable file suffix (normally "").
23357 # whether the shell understands "unset".
23360 # turn spaces into newlines.
23363 # turn newlines into spaces.
23366 # convert \$build file names to \$host format.
23367 to_host_file_cmd=$lt_cv_to_host_file_cmd
23369 # convert \$build files to toolchain format.
23370 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23372 # Method to check whether dependent libraries are shared objects.
23373 deplibs_check_method=$lt_deplibs_check_method
23375 # Command to use when deplibs_check_method = "file_magic".
23376 file_magic_cmd=$lt_file_magic_cmd
23378 # How to find potential files when deplibs_check_method = "file_magic".
23379 file_magic_glob=$lt_file_magic_glob
23381 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23382 want_nocaseglob=$lt_want_nocaseglob
23384 # Command to associate shared and link libraries.
23385 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23390 # Flags to create an archive.
23391 AR_FLAGS=$lt_AR_FLAGS
23393 # How to feed a file listing to the archiver.
23394 archiver_list_spec=$lt_archiver_list_spec
23396 # A symbol stripping program.
23399 # Commands used to install an old-style archive.
23401 old_postinstall_cmds=$lt_old_postinstall_cmds
23402 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23404 # Whether to use a lock for old archive extraction.
23405 lock_old_archive_extraction=$lock_old_archive_extraction
23410 # LTCC compiler flags.
23411 LTCFLAGS=$lt_CFLAGS
23413 # Take the output of nm and produce a listing of raw symbols and C names.
23414 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23416 # Transform the output of nm in a proper C declaration.
23417 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23419 # Transform the output of nm in a C name address pair.
23420 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23422 # Transform the output of nm in a C name address pair when lib prefix is needed.
23423 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23425 # Specify filename containing input files for \$NM.
23426 nm_file_list_spec=$lt_nm_file_list_spec
23428 # The root where to search for dependent libraries,and in which our libraries should be installed.
23429 lt_sysroot=$lt_sysroot
23431 # The name of the directory that contains temporary libtool files.
23434 # Used to examine libraries when file_magic_cmd begins with "file".
23435 MAGIC_CMD=$MAGIC_CMD
23437 # Must we lock files when doing compilation?
23438 need_locks=$lt_need_locks
23441 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23443 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23444 DSYMUTIL=$lt_DSYMUTIL
23446 # Tool to change global to local symbols on Mac OS X.
23449 # Tool to manipulate fat objects and archives on Mac OS X.
23452 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23455 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23456 OTOOL64=$lt_OTOOL64
23458 # Old archive suffix (normally "a").
23461 # Shared library suffix (normally ".so").
23462 shrext_cmds=$lt_shrext_cmds
23464 # The commands to extract the exported symbol list from a shared archive.
23465 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23467 # Variables whose values should be saved in libtool wrapper scripts and
23468 # restored at link time.
23469 variables_saved_for_relink=$lt_variables_saved_for_relink
23471 # Do we need the "lib" prefix for modules?
23472 need_lib_prefix=$need_lib_prefix
23474 # Do we need a version for libraries?
23475 need_version=$need_version
23477 # Library versioning type.
23478 version_type=$version_type
23480 # Shared library runtime path variable.
23481 runpath_var=$runpath_var
23483 # Shared library path variable.
23484 shlibpath_var=$shlibpath_var
23486 # Is shlibpath searched before the hard-coded library search path?
23487 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23489 # Format of library name prefix.
23490 libname_spec=$lt_libname_spec
23492 # List of archive names. First name is the real one, the rest are links.
23493 # The last name is the one that the linker finds with -lNAME
23494 library_names_spec=$lt_library_names_spec
23496 # The coded name of the library, if different from the real name.
23497 soname_spec=$lt_soname_spec
23499 # Permission mode override for installation of shared libraries.
23500 install_override_mode=$lt_install_override_mode
23502 # Command to use after installation of a shared archive.
23503 postinstall_cmds=$lt_postinstall_cmds
23505 # Command to use after uninstallation of a shared archive.
23506 postuninstall_cmds=$lt_postuninstall_cmds
23508 # Commands used to finish a libtool library installation in a directory.
23509 finish_cmds=$lt_finish_cmds
23511 # As "finish_cmds", except a single script fragment to be evaled but
23513 finish_eval=$lt_finish_eval
23515 # Whether we should hardcode library paths into libraries.
23516 hardcode_into_libs=$hardcode_into_libs
23518 # Compile-time system search path for libraries.
23519 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23521 # Run-time system search path for libraries.
23522 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23524 # Whether dlopen is supported.
23525 dlopen_support=$enable_dlopen
23527 # Whether dlopen of programs is supported.
23528 dlopen_self=$enable_dlopen_self
23530 # Whether dlopen of statically linked programs is supported.
23531 dlopen_self_static=$enable_dlopen_self_static
23533 # Commands to strip libraries.
23534 old_striplib=$lt_old_striplib
23535 striplib=$lt_striplib
23538 # The linker used to build libraries.
23541 # How to create reloadable object files.
23542 reload_flag=$lt_reload_flag
23543 reload_cmds=$lt_reload_cmds
23545 # Commands used to build an old-style archive.
23546 old_archive_cmds=$lt_old_archive_cmds
23548 # A language specific compiler.
23551 # Is the compiler the GNU compiler?
23554 # Compiler flag to turn off builtin functions.
23555 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23557 # Additional compiler flags for building library objects.
23558 pic_flag=$lt_lt_prog_compiler_pic
23560 # How to pass a linker flag through the compiler.
23561 wl=$lt_lt_prog_compiler_wl
23563 # Compiler flag to prevent dynamic linking.
23564 link_static_flag=$lt_lt_prog_compiler_static
23566 # Does compiler simultaneously support -c and -o options?
23567 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23569 # Whether or not to add -lc for building shared libraries.
23570 build_libtool_need_lc=$archive_cmds_need_lc
23572 # Whether or not to disallow shared libs when runtime libs are static.
23573 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23575 # Compiler flag to allow reflexive dlopens.
23576 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23578 # Compiler flag to generate shared objects directly from archives.
23579 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23581 # Whether the compiler copes with passing no objects directly.
23582 compiler_needs_object=$lt_compiler_needs_object
23584 # Create an old-style archive from a shared archive.
23585 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23587 # Create a temporary old-style archive to link instead of a shared archive.
23588 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23590 # Commands used to build a shared archive.
23591 archive_cmds=$lt_archive_cmds
23592 archive_expsym_cmds=$lt_archive_expsym_cmds
23594 # Commands used to build a loadable module if different from building
23595 # a shared archive.
23596 module_cmds=$lt_module_cmds
23597 module_expsym_cmds=$lt_module_expsym_cmds
23599 # Whether we are building with GNU ld or not.
23600 with_gnu_ld=$lt_with_gnu_ld
23602 # Flag that allows shared libraries with undefined symbols to be built.
23603 allow_undefined_flag=$lt_allow_undefined_flag
23605 # Flag that enforces no undefined symbols.
23606 no_undefined_flag=$lt_no_undefined_flag
23608 # Flag to hardcode \$libdir into a binary during linking.
23609 # This must work even if \$libdir does not exist
23610 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23612 # Whether we need a single "-rpath" flag with a separated argument.
23613 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23615 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23616 # DIR into the resulting binary.
23617 hardcode_direct=$hardcode_direct
23619 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23620 # DIR into the resulting binary and the resulting library dependency is
23621 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23622 # library is relocated.
23623 hardcode_direct_absolute=$hardcode_direct_absolute
23625 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23626 # into the resulting binary.
23627 hardcode_minus_L=$hardcode_minus_L
23629 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23630 # into the resulting binary.
23631 hardcode_shlibpath_var=$hardcode_shlibpath_var
23633 # Set to "yes" if building a shared library automatically hardcodes DIR
23634 # into the library and all subsequent libraries and executables linked
23636 hardcode_automatic=$hardcode_automatic
23638 # Set to yes if linker adds runtime paths of dependent libraries
23639 # to runtime path list.
23640 inherit_rpath=$inherit_rpath
23642 # Whether libtool must link a program against all its dependency libraries.
23643 link_all_deplibs=$link_all_deplibs
23645 # Set to "yes" if exported symbols are required.
23646 always_export_symbols=$always_export_symbols
23648 # The commands to list exported symbols.
23649 export_symbols_cmds=$lt_export_symbols_cmds
23651 # Symbols that should not be listed in the preloaded symbols.
23652 exclude_expsyms=$lt_exclude_expsyms
23654 # Symbols that must always be exported.
23655 include_expsyms=$lt_include_expsyms
23657 # Commands necessary for linking programs (against libraries) with templates.
23658 prelink_cmds=$lt_prelink_cmds
23660 # Commands necessary for finishing linking programs.
23661 postlink_cmds=$lt_postlink_cmds
23663 # Specify filename containing input files.
23664 file_list_spec=$lt_file_list_spec
23666 # How to hardcode a shared library path into an executable.
23667 hardcode_action=$hardcode_action
23669 # The directories searched by this compiler when creating a shared library.
23670 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23672 # Dependencies to place before and after the objects being linked to
23673 # create a shared library.
23674 predep_objects=$lt_predep_objects
23675 postdep_objects=$lt_postdep_objects
23676 predeps=$lt_predeps
23677 postdeps=$lt_postdeps
23679 # The library search path used internally by the compiler when linking
23680 # a shared library.
23681 compiler_lib_search_path=$lt_compiler_lib_search_path
23683 # ### END LIBTOOL CONFIG
23689 cat <<\_LT_EOF >> "$cfgfile"
23690 # AIX sometimes has problems with the GCC collect2 program. For some
23691 # reason, if we set the COLLECT_NAMES environment variable, the problems
23692 # vanish in a puff of smoke.
23693 if test "X${COLLECT_NAMES+set}" != Xset; then
23695 export COLLECT_NAMES
23702 ltmain="$ac_aux_dir/ltmain.sh"
23705 # We use sed instead of cat because bash on DJGPP gets confused if
23706 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23707 # text mode, it properly converts lines to CR/LF. This bash problem
23708 # is reportedly fixed, but why not run on old versions too?
23709 sed '$q' "$ltmain" >> "$cfgfile" \
23710 || (rm -f "$cfgfile"; exit 1)
23712 if test x"$xsi_shell" = xyes; then
23713 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
23717 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23718 \ * ) func_dirname_result="${3}" ;;\
23720 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
23721 && mv -f "$cfgfile.tmp" "$cfgfile" \
23722 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23723 test 0 -eq $? || _lt_function_replace_fail=:
23726 sed -e '/^func_basename ()$/,/^} # func_basename /c\
23729 \ func_basename_result="${1##*/}"\
23730 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
23731 && mv -f "$cfgfile.tmp" "$cfgfile" \
23732 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23733 test 0 -eq $? || _lt_function_replace_fail=:
23736 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
23737 func_dirname_and_basename ()\
23740 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23741 \ * ) func_dirname_result="${3}" ;;\
23743 \ func_basename_result="${1##*/}"\
23744 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
23745 && mv -f "$cfgfile.tmp" "$cfgfile" \
23746 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23747 test 0 -eq $? || _lt_function_replace_fail=:
23750 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
23753 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
23754 \ # positional parameters, so assign one to ordinary parameter first.\
23755 \ func_stripname_result=${3}\
23756 \ func_stripname_result=${func_stripname_result#"${1}"}\
23757 \ func_stripname_result=${func_stripname_result%"${2}"}\
23758 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
23759 && mv -f "$cfgfile.tmp" "$cfgfile" \
23760 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23761 test 0 -eq $? || _lt_function_replace_fail=:
23764 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
23765 func_split_long_opt ()\
23767 \ func_split_long_opt_name=${1%%=*}\
23768 \ func_split_long_opt_arg=${1#*=}\
23769 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
23770 && mv -f "$cfgfile.tmp" "$cfgfile" \
23771 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23772 test 0 -eq $? || _lt_function_replace_fail=:
23775 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
23776 func_split_short_opt ()\
23778 \ func_split_short_opt_arg=${1#??}\
23779 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
23780 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
23781 && mv -f "$cfgfile.tmp" "$cfgfile" \
23782 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23783 test 0 -eq $? || _lt_function_replace_fail=:
23786 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
23790 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
23791 \ *) func_lo2o_result=${1} ;;\
23793 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
23794 && mv -f "$cfgfile.tmp" "$cfgfile" \
23795 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23796 test 0 -eq $? || _lt_function_replace_fail=:
23799 sed -e '/^func_xform ()$/,/^} # func_xform /c\
23802 func_xform_result=${1%.*}.lo\
23803 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
23804 && mv -f "$cfgfile.tmp" "$cfgfile" \
23805 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23806 test 0 -eq $? || _lt_function_replace_fail=:
23809 sed -e '/^func_arith ()$/,/^} # func_arith /c\
23812 func_arith_result=$(( $* ))\
23813 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
23814 && mv -f "$cfgfile.tmp" "$cfgfile" \
23815 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23816 test 0 -eq $? || _lt_function_replace_fail=:
23819 sed -e '/^func_len ()$/,/^} # func_len /c\
23822 func_len_result=${#1}\
23823 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
23824 && mv -f "$cfgfile.tmp" "$cfgfile" \
23825 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23826 test 0 -eq $? || _lt_function_replace_fail=:
23830 if test x"$lt_shell_append" = xyes; then
23831 sed -e '/^func_append ()$/,/^} # func_append /c\
23834 eval "${1}+=\\${2}"\
23835 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
23836 && mv -f "$cfgfile.tmp" "$cfgfile" \
23837 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23838 test 0 -eq $? || _lt_function_replace_fail=:
23841 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
23842 func_append_quoted ()\
23844 \ func_quote_for_eval "${2}"\
23845 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
23846 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
23847 && mv -f "$cfgfile.tmp" "$cfgfile" \
23848 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23849 test 0 -eq $? || _lt_function_replace_fail=:
23852 # Save a `func_append' function call where possible by direct use of '+='
23853 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
23854 && mv -f "$cfgfile.tmp" "$cfgfile" \
23855 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23856 test 0 -eq $? || _lt_function_replace_fail=:
23858 # Save a `func_append' function call even when '+=' is not available
23859 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
23860 && mv -f "$cfgfile.tmp" "$cfgfile" \
23861 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23862 test 0 -eq $? || _lt_function_replace_fail=:
23865 if test x"$_lt_function_replace_fail" = x":"; then
23866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
23867 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
23871 mv -f "$cfgfile" "$ofile" ||
23872 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23876 cat <<_LT_EOF >> "$ofile"
23878 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23880 # The linker used to build libraries.
23883 # How to create reloadable object files.
23884 reload_flag=$lt_reload_flag_CXX
23885 reload_cmds=$lt_reload_cmds_CXX
23887 # Commands used to build an old-style archive.
23888 old_archive_cmds=$lt_old_archive_cmds_CXX
23890 # A language specific compiler.
23891 CC=$lt_compiler_CXX
23893 # Is the compiler the GNU compiler?
23896 # Compiler flag to turn off builtin functions.
23897 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23899 # Additional compiler flags for building library objects.
23900 pic_flag=$lt_lt_prog_compiler_pic_CXX
23902 # How to pass a linker flag through the compiler.
23903 wl=$lt_lt_prog_compiler_wl_CXX
23905 # Compiler flag to prevent dynamic linking.
23906 link_static_flag=$lt_lt_prog_compiler_static_CXX
23908 # Does compiler simultaneously support -c and -o options?
23909 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23911 # Whether or not to add -lc for building shared libraries.
23912 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23914 # Whether or not to disallow shared libs when runtime libs are static.
23915 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23917 # Compiler flag to allow reflexive dlopens.
23918 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23920 # Compiler flag to generate shared objects directly from archives.
23921 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23923 # Whether the compiler copes with passing no objects directly.
23924 compiler_needs_object=$lt_compiler_needs_object_CXX
23926 # Create an old-style archive from a shared archive.
23927 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23929 # Create a temporary old-style archive to link instead of a shared archive.
23930 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23932 # Commands used to build a shared archive.
23933 archive_cmds=$lt_archive_cmds_CXX
23934 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23936 # Commands used to build a loadable module if different from building
23937 # a shared archive.
23938 module_cmds=$lt_module_cmds_CXX
23939 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23941 # Whether we are building with GNU ld or not.
23942 with_gnu_ld=$lt_with_gnu_ld_CXX
23944 # Flag that allows shared libraries with undefined symbols to be built.
23945 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23947 # Flag that enforces no undefined symbols.
23948 no_undefined_flag=$lt_no_undefined_flag_CXX
23950 # Flag to hardcode \$libdir into a binary during linking.
23951 # This must work even if \$libdir does not exist
23952 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23954 # Whether we need a single "-rpath" flag with a separated argument.
23955 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23957 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23958 # DIR into the resulting binary.
23959 hardcode_direct=$hardcode_direct_CXX
23961 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23962 # DIR into the resulting binary and the resulting library dependency is
23963 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23964 # library is relocated.
23965 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23967 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23968 # into the resulting binary.
23969 hardcode_minus_L=$hardcode_minus_L_CXX
23971 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23972 # into the resulting binary.
23973 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23975 # Set to "yes" if building a shared library automatically hardcodes DIR
23976 # into the library and all subsequent libraries and executables linked
23978 hardcode_automatic=$hardcode_automatic_CXX
23980 # Set to yes if linker adds runtime paths of dependent libraries
23981 # to runtime path list.
23982 inherit_rpath=$inherit_rpath_CXX
23984 # Whether libtool must link a program against all its dependency libraries.
23985 link_all_deplibs=$link_all_deplibs_CXX
23987 # Set to "yes" if exported symbols are required.
23988 always_export_symbols=$always_export_symbols_CXX
23990 # The commands to list exported symbols.
23991 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23993 # Symbols that should not be listed in the preloaded symbols.
23994 exclude_expsyms=$lt_exclude_expsyms_CXX
23996 # Symbols that must always be exported.
23997 include_expsyms=$lt_include_expsyms_CXX
23999 # Commands necessary for linking programs (against libraries) with templates.
24000 prelink_cmds=$lt_prelink_cmds_CXX
24002 # Commands necessary for finishing linking programs.
24003 postlink_cmds=$lt_postlink_cmds_CXX
24005 # Specify filename containing input files.
24006 file_list_spec=$lt_file_list_spec_CXX
24008 # How to hardcode a shared library path into an executable.
24009 hardcode_action=$hardcode_action_CXX
24011 # The directories searched by this compiler when creating a shared library.
24012 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
24014 # Dependencies to place before and after the objects being linked to
24015 # create a shared library.
24016 predep_objects=$lt_predep_objects_CXX
24017 postdep_objects=$lt_postdep_objects_CXX
24018 predeps=$lt_predeps_CXX
24019 postdeps=$lt_postdeps_CXX
24021 # The library search path used internally by the compiler when linking
24022 # a shared library.
24023 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
24025 # ### END LIBTOOL TAG CONFIG: CXX
24029 "pango/module-defs.h":C)
24030 cat > pango/module-defs.h <<EOTEXT
24031 /* Autogenerated by configure. Do not edit */
24033 #include "modules.h"
24037 IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
24038 for module in $included_modules; do
24039 module_c=`echo $module | sed s/-/_/`
24040 cat >> pango/module-defs.h <<EOTEXT
24041 extern void _pango_${module_c}_script_engine_list (PangoEngineInfo **engines, int *n_engines);
24042 extern void _pango_${module_c}_script_engine_init (GTypeModule *module);
24043 extern void _pango_${module_c}_script_engine_exit (void);
24044 extern PangoEngine *_pango_${module_c}_script_engine_create (const char *id);
24049 IFS="$pango_save_ifs"
24051 "pango/module-defs-x.c":C)
24053 cat > pango/module-defs-x.c <<EOTEXT
24054 /* Autogenerated by configure. Do not edit */
24056 #include "module-defs.h"
24058 PangoIncludedModule _pango_included_x_modules[] = {
24061 IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
24062 for module in $included_modules; do
24063 if echo $module | egrep -- "-x($|,)" > /dev/null; then
24064 module_c=`echo $module | sed s/-/_/`
24065 cat >> pango/module-defs-x.c <<EOTEXT
24066 { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
24071 IFS="$pango_save_ifs"
24073 cat >> pango/module-defs-x.c <<EOTEXT
24074 { NULL, NULL, NULL, NULL },
24078 "pango/module-defs-fc.c":C)
24080 cat > pango/module-defs-fc.c <<EOTEXT
24081 /* Autogenerated by configure. Do not edit */
24083 #include "module-defs.h"
24085 PangoIncludedModule _pango_included_fc_modules[] = {
24088 IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
24089 for module in $included_modules; do
24090 if echo $module | egrep -- "-fc($|,)" > /dev/null; then
24091 module_c=`echo $module | sed s/-/_/`
24092 cat >> pango/module-defs-fc.c <<EOTEXT
24093 { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
24098 IFS="$pango_save_ifs"
24100 cat >> pango/module-defs-fc.c <<EOTEXT
24101 { NULL, NULL, NULL, NULL },
24105 "pango/module-defs-win32.c":C)
24107 cat > pango/module-defs-win32.c <<EOTEXT
24108 /* Autogenerated by configure. Do not edit */
24110 #include "module-defs.h"
24112 PangoIncludedModule _pango_included_win32_modules[] = {
24115 IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
24116 for module in $included_modules; do
24117 if echo $module | egrep -- "-win32($|,)" > /dev/null; then
24118 module_c=`echo $module | sed s/-/_/`
24119 cat >> pango/module-defs-win32.c <<EOTEXT
24120 { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
24125 IFS="$pango_save_ifs"
24127 cat >> pango/module-defs-win32.c <<EOTEXT
24128 { NULL, NULL, NULL, NULL },
24132 "pango/module-defs-atsui.c":C)
24134 cat > pango/module-defs-atsui.c <<EOTEXT
24135 /* Autogenerated by configure. Do not edit */
24137 #include "module-defs.h"
24139 PangoIncludedModule _pango_included_atsui_modules[] = {
24142 IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
24143 for module in $included_modules; do
24144 if echo $module | egrep -- "-atsui($|,)" > /dev/null; then
24145 module_c=`echo $module | sed s/-/_/`
24146 cat >> pango/module-defs-atsui.c <<EOTEXT
24147 { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
24152 IFS="$pango_save_ifs"
24154 cat >> pango/module-defs-atsui.c <<EOTEXT
24155 { NULL, NULL, NULL, NULL },
24159 "pango/module-defs-coretext.c":C)
24160 ### CoreText modules
24161 cat > pango/module-defs-coretext.c <<EOTEXT
24162 /* Autogenerated by configure. Do not edit */
24164 #include "module-defs.h"
24166 PangoIncludedModule _pango_included_core_text_modules[] = {
24169 IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
24170 for module in $included_modules; do
24171 if echo $module | egrep -- "-coretext($|,)" > /dev/null; then
24172 module_c=`echo $module | sed s/-/_/`
24173 cat >> pango/module-defs-coretext.c <<EOTEXT
24174 { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
24179 IFS="$pango_save_ifs"
24181 cat >> pango/module-defs-coretext.c <<EOTEXT
24182 { NULL, NULL, NULL, NULL },
24186 "pango/module-defs-lang.c":C)
24188 cat > pango/module-defs-lang.c <<EOTEXT
24189 /* Autogenerated by configure. Do not edit */
24191 #include "module-defs.h"
24193 PangoIncludedModule _pango_included_lang_modules[] = {
24196 IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
24197 for module in $included_modules; do
24198 if echo $module | egrep -- "-lang($|,)" > /dev/null; then
24199 module_c=`echo $module | sed s/-/_/`
24200 cat >> pango/module-defs-lang.c <<EOTEXT
24201 { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
24206 IFS="$pango_save_ifs"
24208 cat >> pango/module-defs-lang.c <<EOTEXT
24209 { NULL, NULL, NULL, NULL },
24213 "pango/pango-features.h":C) featuresfile=pango/pango-features.h
24214 outfile=$featuresfile.tmp
24215 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $featuresfile" >&5
24216 $as_echo "$as_me: creating $featuresfile" >&6;}
24217 cat >$outfile <<_EOF
24218 /* Generated by configure. Do not edit */
24219 #ifndef PANGO_FEATURES_H
24220 #define PANGO_FEATURES_H
24222 #define PANGO_VERSION_MAJOR $PANGO_VERSION_MAJOR
24223 #define PANGO_VERSION_MINOR $PANGO_VERSION_MINOR
24224 #define PANGO_VERSION_MICRO $PANGO_VERSION_MICRO
24226 #define PANGO_VERSION_STRING "$PANGO_VERSION_MAJOR.$PANGO_VERSION_MINOR.$PANGO_VERSION_MICRO"
24229 # TODO: define macros for enabled features/backends here
24232 echo '#endif' >>$outfile
24234 if cmp -s $outfile $featuresfile; then
24235 { $as_echo "$as_me:${as_lineno-$LINENO}: $featuresfile is unchanged" >&5
24236 $as_echo "$as_me: $featuresfile is unchanged" >&6;}
24239 mv $outfile $featuresfile
24242 "tests/runtests.sh":F) chmod +x tests/runtests.sh ;;
24250 ac_clean_files=$ac_clean_files_save
24252 test $ac_write_fail = 0 ||
24253 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24256 # configure is writing to config.log, and then calls config.status.
24257 # config.status does its own redirection, appending to config.log.
24258 # Unfortunately, on DOS this fails, as config.log is still kept open
24259 # by configure, so config.status won't be able to write to it; its
24260 # output is simply discarded. So we exec the FD to /dev/null,
24261 # effectively closing config.log, so it can be properly (re)opened and
24262 # appended to by config.status. When coming back to configure, we
24263 # need to make the FD available again.
24264 if test "$no_create" != yes; then
24266 ac_config_status_args=
24267 test "$silent" = yes &&
24268 ac_config_status_args="$ac_config_status_args --quiet"
24270 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24272 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24273 # would make configure fail if this is the last instruction.
24274 $ac_cs_success || as_fn_exit 1
24276 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24278 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24283 if $have_cairo ; then backends="$backends Cairo"; fi
24284 if $have_win32 ; then backends="$backends Win32"; fi
24285 if $have_xft ; then backends="$backends Xft"; fi
24286 if $have_freetype && $have_fontconfig ; then backends="$backends FreeType"; fi
24287 if $have_x ; then backends="$backends X"; fi
24289 echo "configuration:
24290 backends:$backends"