2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for pango 1.26.1.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pango>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo; then
570 # Avoid inline document here, it may be left over
572 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $ECHO works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
593 if test -z "$lt_ECHO"; then
594 if test "X${echo_test_string+set}" != Xset; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
599 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
606 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
607 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
608 test "X$echo_testing_string" = "X$echo_test_string"; then
611 # The Solaris, AIX, and Digital Unix default echo programs unquote
612 # backslashes. This makes it impossible to quote backslashes using
613 # echo "$something" | sed 's/\\/\\\\/g'
615 # So, first we look for a working echo in the user's PATH.
617 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
618 for dir in $PATH /usr/ucb; do
620 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
621 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
622 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
630 if test "X$ECHO" = Xecho; then
631 # We didn't find a better echo, so look for alternatives.
632 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
633 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 # This shell has a builtin print -r that does the trick.
637 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
638 test "X$CONFIG_SHELL" != X/bin/ksh; then
639 # If we have ksh, try running configure again with it.
640 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
641 export ORIGINAL_CONFIG_SHELL
642 CONFIG_SHELL=/bin/ksh
644 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
648 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
649 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
650 test "X$echo_testing_string" = "X$echo_test_string"; then
653 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
654 test "X$echo_testing_string" = 'X\t' &&
655 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
657 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
659 SHELL="$CONFIG_SHELL"
661 ECHO="$CONFIG_SHELL $0 --fallback-echo"
662 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
663 test "X$echo_testing_string" = 'X\t' &&
664 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
665 test "X$echo_testing_string" = "X$echo_test_string"; then
666 ECHO="$CONFIG_SHELL $0 --fallback-echo"
668 # maybe with a smaller string...
671 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
672 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
679 if test "$prev" != 'sed 50q "$0"'; then
680 echo_test_string=`eval $prev`
681 export echo_test_string
682 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684 # Oops. We lost completely, so just stick with echo.
693 # Copy echo and quote the copy suitably for passing to libtool from
694 # the Makefile, instead of quoting the original, which is used later.
696 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
697 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
703 exec 7<&0 </dev/null 6>&1
706 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
707 # so uname gets run too.
708 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
713 ac_default_prefix=/usr/local
715 ac_config_libobj_dir=.
721 SHELL=${CONFIG_SHELL-/bin/sh}
723 # Identity of this package.
725 PACKAGE_TARNAME='pango'
726 PACKAGE_VERSION='1.26.1'
727 PACKAGE_STRING='pango 1.26.1'
728 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=pango'
730 ac_unique_file="pango.pc.in"
731 # Factoring default headers for most tests.
732 ac_includes_default="\
734 #ifdef HAVE_SYS_TYPES_H
735 # include <sys/types.h>
737 #ifdef HAVE_SYS_STAT_H
738 # include <sys/stat.h>
744 # ifdef HAVE_STDLIB_H
749 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
754 #ifdef HAVE_STRINGS_H
755 # include <strings.h>
757 #ifdef HAVE_INTTYPES_H
758 # include <inttypes.h>
776 program_transform_name
817 INSTALL_STRIP_PROGRAM
833 PANGO_CURRENT_MINUS_AGE
896 MS_LIB_AVAILABLE_TRUE
897 MS_LIB_AVAILABLE_FALSE
900 CROSS_COMPILING_FALSE
933 HAVE_CAIRO_XLIB_FALSE
934 HAVE_CAIRO_WIN32_TRUE
935 HAVE_CAIRO_WIN32_FALSE
936 HAVE_CAIRO_FREETYPE_TRUE
937 HAVE_CAIRO_FREETYPE_FALSE
938 HAVE_CAIRO_ATSUI_TRUE
939 HAVE_CAIRO_ATSUI_FALSE
947 HAVE_INTROSPECTION_TRUE
948 HAVE_INTROSPECTION_FALSE
954 HAVE_INCLUDED_MODULES_TRUE
955 HAVE_INCLUDED_MODULES_FALSE
956 HAVE_DYNAMIC_MODULES_TRUE
957 HAVE_DYNAMIC_MODULES_FALSE
960 INCLUDED_WIN32_MODULES
961 INCLUDED_ATSUI_MODULES
962 INCLUDED_LANG_MODULES
963 INCLUDE_ARABIC_FC_TRUE
964 INCLUDE_ARABIC_FC_FALSE
965 INCLUDE_ARABIC_LANG_TRUE
966 INCLUDE_ARABIC_LANG_FALSE
967 INCLUDE_BASIC_FC_TRUE
968 INCLUDE_BASIC_FC_FALSE
969 INCLUDE_BASIC_WIN32_TRUE
970 INCLUDE_BASIC_WIN32_FALSE
972 INCLUDE_BASIC_X_FALSE
973 INCLUDE_BASIC_ATSUI_TRUE
974 INCLUDE_BASIC_ATSUI_FALSE
975 INCLUDE_HANGUL_FC_TRUE
976 INCLUDE_HANGUL_FC_FALSE
977 INCLUDE_HEBREW_FC_TRUE
978 INCLUDE_HEBREW_FC_FALSE
979 INCLUDE_INDIC_FC_TRUE
980 INCLUDE_INDIC_FC_FALSE
981 INCLUDE_INDIC_LANG_TRUE
982 INCLUDE_INDIC_LANG_FALSE
983 INCLUDE_KHMER_FC_TRUE
984 INCLUDE_KHMER_FC_FALSE
985 INCLUDE_SYRIAC_FC_TRUE
986 INCLUDE_SYRIAC_FC_FALSE
988 INCLUDE_THAI_FC_FALSE
989 INCLUDE_THAI_LANG_TRUE
990 INCLUDE_THAI_LANG_FALSE
991 INCLUDE_TIBETAN_FC_TRUE
992 INCLUDE_TIBETAN_FC_FALSE
993 DYNAMIC_ARABIC_FC_TRUE
994 DYNAMIC_ARABIC_FC_FALSE
995 DYNAMIC_ARABIC_LANG_TRUE
996 DYNAMIC_ARABIC_LANG_FALSE
997 DYNAMIC_BASIC_FC_TRUE
998 DYNAMIC_BASIC_FC_FALSE
999 DYNAMIC_BASIC_WIN32_TRUE
1000 DYNAMIC_BASIC_WIN32_FALSE
1001 DYNAMIC_BASIC_X_TRUE
1002 DYNAMIC_BASIC_X_FALSE
1003 DYNAMIC_BASIC_ATSUI_TRUE
1004 DYNAMIC_BASIC_ATSUI_FALSE
1005 DYNAMIC_HANGUL_FC_TRUE
1006 DYNAMIC_HANGUL_FC_FALSE
1007 DYNAMIC_HEBREW_FC_TRUE
1008 DYNAMIC_HEBREW_FC_FALSE
1009 DYNAMIC_INDIC_FC_TRUE
1010 DYNAMIC_INDIC_FC_FALSE
1011 DYNAMIC_INDIC_LANG_TRUE
1012 DYNAMIC_INDIC_LANG_FALSE
1013 DYNAMIC_KHMER_FC_TRUE
1014 DYNAMIC_KHMER_FC_FALSE
1015 DYNAMIC_SYRIAC_FC_TRUE
1016 DYNAMIC_SYRIAC_FC_FALSE
1017 DYNAMIC_THAI_FC_TRUE
1018 DYNAMIC_THAI_FC_FALSE
1019 DYNAMIC_THAI_LANG_TRUE
1020 DYNAMIC_THAI_LANG_FALSE
1021 DYNAMIC_TIBETAN_FC_TRUE
1022 DYNAMIC_TIBETAN_FC_FALSE
1025 ENABLE_GTK_DOC_FALSE
1026 GTK_DOC_USE_LIBTOOL_TRUE
1027 GTK_DOC_USE_LIBTOOL_FALSE
1035 ENABLE_DOC_CROSS_REFERENCES_TRUE
1036 ENABLE_DOC_CROSS_REFERENCES_FALSE
1037 LIBRARY_LIBTOOL_OPTIONS
1038 MODULE_LIBTOOL_OPTIONS
1040 PKGCONFIG_CAIRO_REQUIRES
1041 DISABLE_EXPLICIT_DEPS_TRUE
1042 DISABLE_EXPLICIT_DEPS_FALSE
1046 ac_precious_vars='build_alias
1073 INTROSPECTION_CFLAGS
1077 # Initialize some variables set by options.
1079 ac_init_version=false
1080 # The variables have the same names as the options, with
1081 # dashes changed to underlines.
1082 cache_file=/dev/null
1089 program_transform_name=s,x,x,
1097 # Installation directory options.
1098 # These are left unexpanded so users can "make install exec_prefix=/foo"
1099 # and all the variables that are supposed to be based on exec_prefix
1100 # by default will actually change.
1101 # Use braces instead of parens because sh, perl, etc. also accept them.
1102 # (The list follows the same order as the GNU Coding Standards.)
1103 bindir='${exec_prefix}/bin'
1104 sbindir='${exec_prefix}/sbin'
1105 libexecdir='${exec_prefix}/libexec'
1106 datarootdir='${prefix}/share'
1107 datadir='${datarootdir}'
1108 sysconfdir='${prefix}/etc'
1109 sharedstatedir='${prefix}/com'
1110 localstatedir='${prefix}/var'
1111 includedir='${prefix}/include'
1112 oldincludedir='/usr/include'
1113 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1114 infodir='${datarootdir}/info'
1119 libdir='${exec_prefix}/lib'
1120 localedir='${datarootdir}/locale'
1121 mandir='${datarootdir}/man'
1127 # If the previous option needs an argument, assign it.
1128 if test -n "$ac_prev"; then
1129 eval $ac_prev=\$ac_option
1135 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1139 # Accept the important Cygnus configure options, so we can diagnose typos.
1141 case $ac_dashdash$ac_option in
1145 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1147 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1148 bindir=$ac_optarg ;;
1150 -build | --build | --buil | --bui | --bu)
1151 ac_prev=build_alias ;;
1152 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1153 build_alias=$ac_optarg ;;
1155 -cache-file | --cache-file | --cache-fil | --cache-fi \
1156 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1157 ac_prev=cache_file ;;
1158 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1159 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1160 cache_file=$ac_optarg ;;
1162 --config-cache | -C)
1163 cache_file=config.cache ;;
1165 -datadir | --datadir | --datadi | --datad)
1167 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1168 datadir=$ac_optarg ;;
1170 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1171 | --dataroo | --dataro | --datar)
1172 ac_prev=datarootdir ;;
1173 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1174 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1175 datarootdir=$ac_optarg ;;
1177 -disable-* | --disable-*)
1178 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1181 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1182 { (exit 1); exit 1; }; }
1183 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1184 eval enable_$ac_feature=no ;;
1186 -docdir | --docdir | --docdi | --doc | --do)
1188 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1189 docdir=$ac_optarg ;;
1191 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1193 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1194 dvidir=$ac_optarg ;;
1196 -enable-* | --enable-*)
1197 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1198 # Reject names that are not valid shell variable names.
1199 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1200 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1201 { (exit 1); exit 1; }; }
1202 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1203 eval enable_$ac_feature=\$ac_optarg ;;
1205 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1206 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1207 | --exec | --exe | --ex)
1208 ac_prev=exec_prefix ;;
1209 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1210 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1211 | --exec=* | --exe=* | --ex=*)
1212 exec_prefix=$ac_optarg ;;
1214 -gas | --gas | --ga | --g)
1215 # Obsolete; use --with-gas.
1218 -help | --help | --hel | --he | -h)
1219 ac_init_help=long ;;
1220 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1221 ac_init_help=recursive ;;
1222 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1223 ac_init_help=short ;;
1225 -host | --host | --hos | --ho)
1226 ac_prev=host_alias ;;
1227 -host=* | --host=* | --hos=* | --ho=*)
1228 host_alias=$ac_optarg ;;
1230 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1232 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1234 htmldir=$ac_optarg ;;
1236 -includedir | --includedir | --includedi | --included | --include \
1237 | --includ | --inclu | --incl | --inc)
1238 ac_prev=includedir ;;
1239 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1240 | --includ=* | --inclu=* | --incl=* | --inc=*)
1241 includedir=$ac_optarg ;;
1243 -infodir | --infodir | --infodi | --infod | --info | --inf)
1245 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1246 infodir=$ac_optarg ;;
1248 -libdir | --libdir | --libdi | --libd)
1250 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1251 libdir=$ac_optarg ;;
1253 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1254 | --libexe | --libex | --libe)
1255 ac_prev=libexecdir ;;
1256 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1257 | --libexe=* | --libex=* | --libe=*)
1258 libexecdir=$ac_optarg ;;
1260 -localedir | --localedir | --localedi | --localed | --locale)
1261 ac_prev=localedir ;;
1262 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1263 localedir=$ac_optarg ;;
1265 -localstatedir | --localstatedir | --localstatedi | --localstated \
1266 | --localstate | --localstat | --localsta | --localst | --locals)
1267 ac_prev=localstatedir ;;
1268 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1269 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1270 localstatedir=$ac_optarg ;;
1272 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1274 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1275 mandir=$ac_optarg ;;
1277 -nfp | --nfp | --nf)
1278 # Obsolete; use --without-fp.
1281 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1282 | --no-cr | --no-c | -n)
1285 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1286 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1289 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1290 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1291 | --oldin | --oldi | --old | --ol | --o)
1292 ac_prev=oldincludedir ;;
1293 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1294 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1295 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1296 oldincludedir=$ac_optarg ;;
1298 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1300 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1301 prefix=$ac_optarg ;;
1303 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1304 | --program-pre | --program-pr | --program-p)
1305 ac_prev=program_prefix ;;
1306 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1307 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1308 program_prefix=$ac_optarg ;;
1310 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1311 | --program-suf | --program-su | --program-s)
1312 ac_prev=program_suffix ;;
1313 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1314 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1315 program_suffix=$ac_optarg ;;
1317 -program-transform-name | --program-transform-name \
1318 | --program-transform-nam | --program-transform-na \
1319 | --program-transform-n | --program-transform- \
1320 | --program-transform | --program-transfor \
1321 | --program-transfo | --program-transf \
1322 | --program-trans | --program-tran \
1323 | --progr-tra | --program-tr | --program-t)
1324 ac_prev=program_transform_name ;;
1325 -program-transform-name=* | --program-transform-name=* \
1326 | --program-transform-nam=* | --program-transform-na=* \
1327 | --program-transform-n=* | --program-transform-=* \
1328 | --program-transform=* | --program-transfor=* \
1329 | --program-transfo=* | --program-transf=* \
1330 | --program-trans=* | --program-tran=* \
1331 | --progr-tra=* | --program-tr=* | --program-t=*)
1332 program_transform_name=$ac_optarg ;;
1334 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1336 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1337 pdfdir=$ac_optarg ;;
1339 -psdir | --psdir | --psdi | --psd | --ps)
1341 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1344 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1345 | -silent | --silent | --silen | --sile | --sil)
1348 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1350 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1352 sbindir=$ac_optarg ;;
1354 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1355 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1356 | --sharedst | --shareds | --shared | --share | --shar \
1358 ac_prev=sharedstatedir ;;
1359 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1360 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1361 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1363 sharedstatedir=$ac_optarg ;;
1365 -site | --site | --sit)
1367 -site=* | --site=* | --sit=*)
1370 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1372 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1373 srcdir=$ac_optarg ;;
1375 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1376 | --syscon | --sysco | --sysc | --sys | --sy)
1377 ac_prev=sysconfdir ;;
1378 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1379 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1380 sysconfdir=$ac_optarg ;;
1382 -target | --target | --targe | --targ | --tar | --ta | --t)
1383 ac_prev=target_alias ;;
1384 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1385 target_alias=$ac_optarg ;;
1387 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1390 -version | --version | --versio | --versi | --vers | -V)
1391 ac_init_version=: ;;
1394 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1395 # Reject names that are not valid shell variable names.
1396 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1397 { echo "$as_me: error: invalid package name: $ac_package" >&2
1398 { (exit 1); exit 1; }; }
1399 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1400 eval with_$ac_package=\$ac_optarg ;;
1402 -without-* | --without-*)
1403 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1404 # Reject names that are not valid shell variable names.
1405 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1406 { echo "$as_me: error: invalid package name: $ac_package" >&2
1407 { (exit 1); exit 1; }; }
1408 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1409 eval with_$ac_package=no ;;
1412 # Obsolete; use --with-x.
1415 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1416 | --x-incl | --x-inc | --x-in | --x-i)
1417 ac_prev=x_includes ;;
1418 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1419 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1420 x_includes=$ac_optarg ;;
1422 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1423 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1424 ac_prev=x_libraries ;;
1425 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1426 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1427 x_libraries=$ac_optarg ;;
1429 -*) { echo "$as_me: error: unrecognized option: $ac_option
1430 Try \`$0 --help' for more information." >&2
1431 { (exit 1); exit 1; }; }
1435 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1436 # Reject names that are not valid shell variable names.
1437 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1438 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1439 { (exit 1); exit 1; }; }
1440 eval $ac_envvar=\$ac_optarg
1441 export $ac_envvar ;;
1444 # FIXME: should be removed in autoconf 3.0.
1445 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1446 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1447 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1448 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1454 if test -n "$ac_prev"; then
1455 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1456 { echo "$as_me: error: missing argument to $ac_option" >&2
1457 { (exit 1); exit 1; }; }
1460 # Be sure to have absolute directory names.
1461 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1462 datadir sysconfdir sharedstatedir localstatedir includedir \
1463 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1464 libdir localedir mandir
1466 eval ac_val=\$$ac_var
1468 [\\/$]* | ?:[\\/]* ) continue;;
1469 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1471 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1472 { (exit 1); exit 1; }; }
1475 # There might be people who depend on the old broken behavior: `$host'
1476 # used to hold the argument of --host etc.
1477 # FIXME: To remove some day.
1480 target=$target_alias
1482 # FIXME: To remove some day.
1483 if test "x$host_alias" != x; then
1484 if test "x$build_alias" = x; then
1485 cross_compiling=maybe
1486 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1487 If a cross compiler is detected then cross compile mode will be used." >&2
1488 elif test "x$build_alias" != "x$host_alias"; then
1494 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1496 test "$silent" = yes && exec 6>/dev/null
1499 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1500 ac_ls_di=`ls -di .` &&
1501 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1502 { echo "$as_me: error: Working directory cannot be determined" >&2
1503 { (exit 1); exit 1; }; }
1504 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1505 { echo "$as_me: error: pwd does not report name of working directory" >&2
1506 { (exit 1); exit 1; }; }
1509 # Find the source files, if location was not specified.
1510 if test -z "$srcdir"; then
1511 ac_srcdir_defaulted=yes
1512 # Try the directory containing this script, then the parent directory.
1513 ac_confdir=`$as_dirname -- "$0" ||
1514 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1515 X"$0" : 'X\(//\)[^/]' \| \
1516 X"$0" : 'X\(//\)$' \| \
1517 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1537 if test ! -r "$srcdir/$ac_unique_file"; then
1541 ac_srcdir_defaulted=no
1543 if test ! -r "$srcdir/$ac_unique_file"; then
1544 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1545 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1546 { (exit 1); exit 1; }; }
1548 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1550 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1551 { (exit 1); exit 1; }; }
1553 # When building in place, set srcdir=.
1554 if test "$ac_abs_confdir" = "$ac_pwd"; then
1557 # Remove unnecessary trailing slashes from srcdir.
1558 # Double slashes in file names in object file debugging info
1559 # mess up M-x gdb in Emacs.
1561 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1563 for ac_var in $ac_precious_vars; do
1564 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1565 eval ac_env_${ac_var}_value=\$${ac_var}
1566 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1567 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1571 # Report the --help message.
1573 if test "$ac_init_help" = "long"; then
1574 # Omit some internal or obsolete options to make the list less imposing.
1575 # This message is too long to be a string in the A/UX 3.1 sh.
1577 \`configure' configures pango 1.26.1 to adapt to many kinds of systems.
1579 Usage: $0 [OPTION]... [VAR=VALUE]...
1581 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1582 VAR=VALUE. See below for descriptions of some of the useful variables.
1584 Defaults for the options are specified in brackets.
1587 -h, --help display this help and exit
1588 --help=short display options specific to this package
1589 --help=recursive display the short help of all the included packages
1590 -V, --version display version information and exit
1591 -q, --quiet, --silent do not print \`checking...' messages
1592 --cache-file=FILE cache test results in FILE [disabled]
1593 -C, --config-cache alias for \`--cache-file=config.cache'
1594 -n, --no-create do not create output files
1595 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1597 Installation directories:
1598 --prefix=PREFIX install architecture-independent files in PREFIX
1599 [$ac_default_prefix]
1600 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1603 By default, \`make install' will install all the files in
1604 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1605 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1606 for instance \`--prefix=\$HOME'.
1608 For better control, use the options below.
1610 Fine tuning of the installation directories:
1611 --bindir=DIR user executables [EPREFIX/bin]
1612 --sbindir=DIR system admin executables [EPREFIX/sbin]
1613 --libexecdir=DIR program executables [EPREFIX/libexec]
1614 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1615 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1616 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1617 --libdir=DIR object code libraries [EPREFIX/lib]
1618 --includedir=DIR C header files [PREFIX/include]
1619 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1620 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1621 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1622 --infodir=DIR info documentation [DATAROOTDIR/info]
1623 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1624 --mandir=DIR man documentation [DATAROOTDIR/man]
1625 --docdir=DIR documentation root [DATAROOTDIR/doc/pango]
1626 --htmldir=DIR html documentation [DOCDIR]
1627 --dvidir=DIR dvi documentation [DOCDIR]
1628 --pdfdir=DIR pdf documentation [DOCDIR]
1629 --psdir=DIR ps documentation [DOCDIR]
1635 --program-prefix=PREFIX prepend PREFIX to installed program names
1636 --program-suffix=SUFFIX append SUFFIX to installed program names
1637 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1640 --x-includes=DIR X include files are in DIR
1641 --x-libraries=DIR X library files are in DIR
1644 --build=BUILD configure for building on BUILD [guessed]
1645 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1649 if test -n "$ac_init_help"; then
1650 case $ac_init_help in
1651 short | recursive ) echo "Configuration of pango 1.26.1:";;
1656 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1657 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1658 --disable-dependency-tracking speeds up one-time build
1659 --enable-dependency-tracking do not reject slow dependency extractors
1660 --enable-static[=PKGS] build static libraries [default=no]
1661 --enable-shared[=PKGS] build shared libraries [default=yes]
1662 --enable-fast-install[=PKGS]
1663 optimize for fast installation [default=yes]
1664 --disable-libtool-lock avoid locking (might break parallel builds)
1665 --enable-debug=[no/minimum/yes]
1666 turn on debugging [default=minimum]
1667 --disable-rebuilds disable all source autogeneration rules
1668 --enable-gtk-doc use gtk-doc to build documentation default=no
1669 --enable-man regenerate man pages from Docbook [default=no]
1670 --disable-doc-cross-references
1671 cross reference glib and cairo symbols [default=yes]
1672 --enable-explicit-deps=[no/auto/yes]
1673 use explicit dependencies in .pc files
1677 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1678 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1679 --with-pic try to use only PIC/non-PIC objects [default=use
1681 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1682 --with-x use the X Window System
1683 --with-included-modules=no/yes/MODULE1 MODULE2 ...
1684 build the given modules included [default=no]
1685 --with-dynamic-modules=no/yes/MODULE1 MODULE2 ...
1686 build the given dynamic modules [default=yes]
1687 --with-html-dir=PATH path to installed docs
1688 --with-xml-catalog=CATALOG
1689 path to xml catalog to use
1691 Some influential environment variables:
1692 CC C compiler command
1693 CFLAGS C compiler flags
1694 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1695 nonstandard directory <lib dir>
1696 LIBS libraries to pass to the linker, e.g. -l<library>
1697 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1698 you have headers in a nonstandard directory <include dir>
1699 CXX C++ compiler command
1700 CXXFLAGS C++ compiler flags
1702 CXXCPP C++ preprocessor
1703 XMKMF Path to xmkmf, Makefile generator for X Window System
1704 PKG_CONFIG path to pkg-config utility
1706 C compiler flags for FONTCONFIG, overriding pkg-config
1708 linker flags for FONTCONFIG, overriding pkg-config
1710 C compiler flags for FREETYPE, overriding pkg-config
1712 linker flags for FREETYPE, overriding pkg-config
1713 XFT_CFLAGS C compiler flags for XFT, overriding pkg-config
1714 XFT_LIBS linker flags for XFT, overriding pkg-config
1716 C compiler flags for CAIRO, overriding pkg-config
1717 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1718 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1719 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1721 C compiler flags for LIBTHAI, overriding pkg-config
1723 linker flags for LIBTHAI, overriding pkg-config
1724 INTROSPECTION_CFLAGS
1725 C compiler flags for INTROSPECTION, overriding pkg-config
1727 linker flags for INTROSPECTION, overriding pkg-config
1729 Use these variables to override the choices made by `configure' or to help
1730 it to find libraries and programs with nonstandard names/locations.
1732 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pango>.
1737 if test "$ac_init_help" = "recursive"; then
1738 # If there are subdirs, report their specific --help.
1739 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1740 test -d "$ac_dir" || continue
1744 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1746 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1747 # A ".." for each directory in $ac_dir_suffix.
1748 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1749 case $ac_top_builddir_sub in
1750 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1751 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1754 ac_abs_top_builddir=$ac_pwd
1755 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1756 # for backward compatibility:
1757 ac_top_builddir=$ac_top_build_prefix
1760 .) # We are building in place.
1762 ac_top_srcdir=$ac_top_builddir_sub
1763 ac_abs_top_srcdir=$ac_pwd ;;
1764 [\\/]* | ?:[\\/]* ) # Absolute name.
1765 ac_srcdir=$srcdir$ac_dir_suffix;
1766 ac_top_srcdir=$srcdir
1767 ac_abs_top_srcdir=$srcdir ;;
1769 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1770 ac_top_srcdir=$ac_top_build_prefix$srcdir
1771 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1773 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1775 cd "$ac_dir" || { ac_status=$?; continue; }
1776 # Check for guested configure.
1777 if test -f "$ac_srcdir/configure.gnu"; then
1779 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1780 elif test -f "$ac_srcdir/configure"; then
1782 $SHELL "$ac_srcdir/configure" --help=recursive
1784 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1786 cd "$ac_pwd" || { ac_status=$?; break; }
1790 test -n "$ac_init_help" && exit $ac_status
1791 if $ac_init_version; then
1793 pango configure 1.26.1
1794 generated by GNU Autoconf 2.61
1796 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1797 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1798 This configure script is free software; the Free Software Foundation
1799 gives unlimited permission to copy, distribute and modify it.
1803 cat >config.log <<_ACEOF
1804 This file contains any messages produced by compilers while
1805 running configure, to aid debugging if configure makes a mistake.
1807 It was created by pango $as_me 1.26.1, which was
1808 generated by GNU Autoconf 2.61. Invocation command line was
1820 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1821 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1822 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1823 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1824 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1826 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1827 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1829 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1830 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1831 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1832 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1833 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1834 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1835 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1843 test -z "$as_dir" && as_dir=.
1844 echo "PATH: $as_dir"
1860 # Keep a trace of the command line.
1861 # Strip out --no-create and --no-recursion so they do not pile up.
1862 # Strip out --silent because we don't want to record it for future runs.
1863 # Also quote any args containing shell meta-characters.
1864 # Make two passes to allow for proper duplicate-argument suppression.
1868 ac_must_keep_next=false
1874 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1875 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1876 | -silent | --silent | --silen | --sile | --sil)
1879 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1882 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1884 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1885 if test $ac_must_keep_next = true; then
1886 ac_must_keep_next=false # Got value, back to normal.
1889 *=* | --config-cache | -C | -disable-* | --disable-* \
1890 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1891 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1892 | -with-* | --with-* | -without-* | --without-* | --x)
1893 case "$ac_configure_args0 " in
1894 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1897 -* ) ac_must_keep_next=true ;;
1900 ac_configure_args="$ac_configure_args '$ac_arg'"
1905 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1906 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1908 # When interrupted or exit'd, cleanup temporary files, and complete
1909 # config.log. We remove comments because anyway the quotes in there
1910 # would cause problems or look ugly.
1911 # WARNING: Use '\'' to represent an apostrophe within the trap.
1912 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1913 trap 'exit_status=$?
1914 # Save into config.log some information that might help in debugging.
1919 ## ---------------- ##
1920 ## Cache variables. ##
1921 ## ---------------- ##
1924 # The following way of writing the cache mishandles newlines in values,
1926 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1927 eval ac_val=\$$ac_var
1931 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1932 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1935 _ | IFS | as_nl) ;; #(
1936 *) $as_unset $ac_var ;;
1941 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1942 *${as_nl}ac_space=\ *)
1944 "s/'\''/'\''\\\\'\'''\''/g;
1945 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1948 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1956 ## ----------------- ##
1957 ## Output variables. ##
1958 ## ----------------- ##
1961 for ac_var in $ac_subst_vars
1963 eval ac_val=\$$ac_var
1965 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1967 echo "$ac_var='\''$ac_val'\''"
1971 if test -n "$ac_subst_files"; then
1973 ## ------------------- ##
1974 ## File substitutions. ##
1975 ## ------------------- ##
1978 for ac_var in $ac_subst_files
1980 eval ac_val=\$$ac_var
1982 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1984 echo "$ac_var='\''$ac_val'\''"
1989 if test -s confdefs.h; then
1999 test "$ac_signal" != 0 &&
2000 echo "$as_me: caught signal $ac_signal"
2001 echo "$as_me: exit $exit_status"
2003 rm -f core *.core core.conftest.* &&
2004 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2007 for ac_signal in 1 2 13 15; do
2008 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2012 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2013 rm -f -r conftest* confdefs.h
2015 # Predefined preprocessor variables.
2017 cat >>confdefs.h <<_ACEOF
2018 #define PACKAGE_NAME "$PACKAGE_NAME"
2022 cat >>confdefs.h <<_ACEOF
2023 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2027 cat >>confdefs.h <<_ACEOF
2028 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2032 cat >>confdefs.h <<_ACEOF
2033 #define PACKAGE_STRING "$PACKAGE_STRING"
2037 cat >>confdefs.h <<_ACEOF
2038 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2042 # Let the site file select an alternate cache file if it wants to.
2043 # Prefer explicitly selected file to automatically selected ones.
2044 if test -n "$CONFIG_SITE"; then
2045 set x "$CONFIG_SITE"
2046 elif test "x$prefix" != xNONE; then
2047 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2049 set x "$ac_default_prefix/share/config.site" \
2050 "$ac_default_prefix/etc/config.site"
2055 if test -r "$ac_site_file"; then
2056 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2057 echo "$as_me: loading site script $ac_site_file" >&6;}
2058 sed 's/^/| /' "$ac_site_file" >&5
2063 if test -r "$cache_file"; then
2064 # Some versions of bash will fail to source /dev/null (special
2065 # files actually), so we avoid doing that.
2066 if test -f "$cache_file"; then
2067 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2068 echo "$as_me: loading cache $cache_file" >&6;}
2070 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2071 *) . "./$cache_file";;
2075 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2076 echo "$as_me: creating cache $cache_file" >&6;}
2080 # Check that the precious variables saved in the cache have kept the same
2082 ac_cache_corrupted=false
2083 for ac_var in $ac_precious_vars; do
2084 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2085 eval ac_new_set=\$ac_env_${ac_var}_set
2086 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2087 eval ac_new_val=\$ac_env_${ac_var}_value
2088 case $ac_old_set,$ac_new_set in
2090 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2091 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2092 ac_cache_corrupted=: ;;
2094 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2095 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2096 ac_cache_corrupted=: ;;
2099 if test "x$ac_old_val" != "x$ac_new_val"; then
2100 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2101 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2102 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2103 echo "$as_me: former value: $ac_old_val" >&2;}
2104 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2105 echo "$as_me: current value: $ac_new_val" >&2;}
2106 ac_cache_corrupted=:
2109 # Pass precious variables to config.status.
2110 if test "$ac_new_set" = set; then
2112 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2113 *) ac_arg=$ac_var=$ac_new_val ;;
2115 case " $ac_configure_args " in
2116 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2117 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2121 if $ac_cache_corrupted; then
2122 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2123 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2124 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2125 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2126 { (exit 1); exit 1; }; }
2154 ac_cpp='$CPP $CPPFLAGS'
2155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2163 am__api_version="1.9"
2165 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2166 if test -f "$ac_dir/install-sh"; then
2168 ac_install_sh="$ac_aux_dir/install-sh -c"
2170 elif test -f "$ac_dir/install.sh"; then
2172 ac_install_sh="$ac_aux_dir/install.sh -c"
2174 elif test -f "$ac_dir/shtool"; then
2176 ac_install_sh="$ac_aux_dir/shtool install -c"
2180 if test -z "$ac_aux_dir"; then
2181 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2182 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2183 { (exit 1); exit 1; }; }
2186 # These three variables are undocumented and unsupported,
2187 # and are intended to be withdrawn in a future Autoconf release.
2188 # They can cause serious problems if a builder's source tree is in a directory
2189 # whose full name contains unusual characters.
2190 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2191 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2192 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2195 # Find a good install program. We prefer a C program (faster),
2196 # so one script is as good as another. But avoid the broken or
2197 # incompatible versions:
2198 # SysV /etc/install, /usr/sbin/install
2199 # SunOS /usr/etc/install
2200 # IRIX /sbin/install
2202 # AmigaOS /C/install, which installs bootblocks on floppy discs
2203 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2204 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2205 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2206 # OS/2's system install, which has a completely different semantic
2207 # ./install, which can be erroneously created by make from ./install.sh.
2208 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2209 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2210 if test -z "$INSTALL"; then
2211 if test "${ac_cv_path_install+set}" = set; then
2212 echo $ECHO_N "(cached) $ECHO_C" >&6
2214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218 test -z "$as_dir" && as_dir=.
2219 # Account for people who put trailing slashes in PATH elements.
2221 ./ | .// | /cC/* | \
2222 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2223 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2226 # OSF1 and SCO ODT 3.0 have their own names for install.
2227 # Don't use installbsd from OSF since it installs stuff as root
2229 for ac_prog in ginstall scoinst install; do
2230 for ac_exec_ext in '' $ac_executable_extensions; do
2231 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2232 if test $ac_prog = install &&
2233 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2234 # AIX install. It has an incompatible calling convention.
2236 elif test $ac_prog = install &&
2237 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2238 # program-specific install script used by HP pwplus--don't use.
2241 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2254 if test "${ac_cv_path_install+set}" = set; then
2255 INSTALL=$ac_cv_path_install
2257 # As a last resort, use the slow shell script. Don't cache a
2258 # value for INSTALL within a source directory, because that will
2259 # break other packages using the cache if that directory is
2260 # removed, or if the value is a relative name.
2261 INSTALL=$ac_install_sh
2264 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2265 echo "${ECHO_T}$INSTALL" >&6; }
2267 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2268 # It thinks the first close brace ends the variable substitution.
2269 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2271 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2273 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2275 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2276 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2279 echo timestamp > conftest.file
2280 # Do `set' in a subshell so we don't clobber the current shell's
2281 # arguments. Must try -L first in case configure is actually a
2282 # symlink; some systems play weird games with the mod time of symlinks
2283 # (eg FreeBSD returns the mod time of the symlink's containing
2286 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2287 if test "$*" = "X"; then
2289 set X `ls -t $srcdir/configure conftest.file`
2292 if test "$*" != "X $srcdir/configure conftest.file" \
2293 && test "$*" != "X conftest.file $srcdir/configure"; then
2295 # If neither matched, then we have a broken ls. This can happen
2296 # if, for instance, CONFIG_SHELL is bash and it inherits a
2297 # broken ls alias from the environment. This has actually
2298 # happened. Such a system could not be considered "sane".
2299 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2300 alias in your environment" >&5
2301 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2302 alias in your environment" >&2;}
2303 { (exit 1); exit 1; }; }
2306 test "$2" = conftest.file
2312 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2313 Check your system clock" >&5
2314 echo "$as_me: error: newly created file is older than distributed files!
2315 Check your system clock" >&2;}
2316 { (exit 1); exit 1; }; }
2318 { echo "$as_me:$LINENO: result: yes" >&5
2319 echo "${ECHO_T}yes" >&6; }
2320 test "$program_prefix" != NONE &&
2321 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2322 # Use a double $ so make ignores it.
2323 test "$program_suffix" != NONE &&
2324 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2325 # Double any \ or $. echo might interpret backslashes.
2326 # By default was `s,x,x', remove it if useless.
2327 cat <<\_ACEOF >conftest.sed
2328 s/[\\$]/&&/g;s/;s,x,x,$//
2330 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2333 # expand $ac_aux_dir to an absolute path
2334 am_aux_dir=`cd $ac_aux_dir && pwd`
2336 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2337 # Use eval to expand $SHELL
2338 if eval "$MISSING --run true"; then
2339 am_missing_run="$MISSING --run "
2342 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2343 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2346 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2347 # We used to keeping the `.' as first argument, in order to
2348 # allow $(mkdir_p) to be used without argument. As in
2349 # $(mkdir_p) $(somedir)
2350 # where $(somedir) is conditionally defined. However this is wrong
2352 # 1. if the package is installed by a user who cannot write `.'
2353 # make install will fail,
2354 # 2. the above comment should most certainly read
2355 # $(mkdir_p) $(DESTDIR)$(somedir)
2356 # so it does not work when $(somedir) is undefined and
2357 # $(DESTDIR) is not.
2358 # To support the latter case, we have to write
2359 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2360 # so the `.' trick is pointless.
2361 mkdir_p='mkdir -p --'
2363 # On NextStep and OpenStep, the `mkdir' command does not
2364 # recognize any option. It will interpret all options as
2365 # directories to create, and then abort because `.' already
2367 for d in ./-p ./--version;
2369 test -d $d && rmdir $d
2371 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2372 if test -f "$ac_aux_dir/mkinstalldirs"; then
2373 mkdir_p='$(mkinstalldirs)'
2375 mkdir_p='$(install_sh) -d'
2379 for ac_prog in gawk mawk nawk awk
2381 # Extract the first word of "$ac_prog", so it can be a program name with args.
2382 set dummy $ac_prog; ac_word=$2
2383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2385 if test "${ac_cv_prog_AWK+set}" = set; then
2386 echo $ECHO_N "(cached) $ECHO_C" >&6
2388 if test -n "$AWK"; then
2389 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2395 test -z "$as_dir" && as_dir=.
2396 for ac_exec_ext in '' $ac_executable_extensions; do
2397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2398 ac_cv_prog_AWK="$ac_prog"
2399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 if test -n "$AWK"; then
2410 { echo "$as_me:$LINENO: result: $AWK" >&5
2411 echo "${ECHO_T}$AWK" >&6; }
2413 { echo "$as_me:$LINENO: result: no" >&5
2414 echo "${ECHO_T}no" >&6; }
2418 test -n "$AWK" && break
2421 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2422 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2423 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2424 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 cat >conftest.make <<\_ACEOF
2430 @echo '@@@%%%=$(MAKE)=@@@%%%'
2432 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2433 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2435 eval ac_cv_prog_make_${ac_make}_set=yes;;
2437 eval ac_cv_prog_make_${ac_make}_set=no;;
2441 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2442 { echo "$as_me:$LINENO: result: yes" >&5
2443 echo "${ECHO_T}yes" >&6; }
2446 { echo "$as_me:$LINENO: result: no" >&5
2447 echo "${ECHO_T}no" >&6; }
2448 SET_MAKE="MAKE=${MAKE-make}"
2451 rm -rf .tst 2>/dev/null
2452 mkdir .tst 2>/dev/null
2453 if test -d .tst; then
2458 rmdir .tst 2>/dev/null
2460 # test to see if srcdir already configured
2461 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2462 test -f $srcdir/config.status; then
2463 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2464 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2465 { (exit 1); exit 1; }; }
2468 # test whether we have cygpath
2469 if test -z "$CYGPATH_W"; then
2470 if (cygpath --version) >/dev/null 2>/dev/null; then
2471 CYGPATH_W='cygpath -w'
2478 # Define the identity of the package.
2483 cat >>confdefs.h <<_ACEOF
2484 #define PACKAGE "$PACKAGE"
2488 cat >>confdefs.h <<_ACEOF
2489 #define VERSION "$VERSION"
2492 # Some tools Automake needs.
2494 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2497 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2500 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2503 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2506 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2508 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2510 # Installed binaries are usually stripped using `strip' when the user
2511 # run `make install-strip'. However `strip' might not be the right
2512 # tool to use in cross-compilation environments, therefore Automake
2513 # will honor the `STRIP' environment variable to overrule this program.
2514 if test "$cross_compiling" != no; then
2515 if test -n "$ac_tool_prefix"; then
2516 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2517 set dummy ${ac_tool_prefix}strip; ac_word=$2
2518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2520 if test "${ac_cv_prog_STRIP+set}" = set; then
2521 echo $ECHO_N "(cached) $ECHO_C" >&6
2523 if test -n "$STRIP"; then
2524 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 test -z "$as_dir" && as_dir=.
2531 for ac_exec_ext in '' $ac_executable_extensions; do
2532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2533 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2543 STRIP=$ac_cv_prog_STRIP
2544 if test -n "$STRIP"; then
2545 { echo "$as_me:$LINENO: result: $STRIP" >&5
2546 echo "${ECHO_T}$STRIP" >&6; }
2548 { echo "$as_me:$LINENO: result: no" >&5
2549 echo "${ECHO_T}no" >&6; }
2554 if test -z "$ac_cv_prog_STRIP"; then
2556 # Extract the first word of "strip", so it can be a program name with args.
2557 set dummy strip; ac_word=$2
2558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2560 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2561 echo $ECHO_N "(cached) $ECHO_C" >&6
2563 if test -n "$ac_ct_STRIP"; then
2564 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2570 test -z "$as_dir" && as_dir=.
2571 for ac_exec_ext in '' $ac_executable_extensions; do
2572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2573 ac_cv_prog_ac_ct_STRIP="strip"
2574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2583 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2584 if test -n "$ac_ct_STRIP"; then
2585 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2586 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2588 { echo "$as_me:$LINENO: result: no" >&5
2589 echo "${ECHO_T}no" >&6; }
2592 if test "x$ac_ct_STRIP" = x; then
2595 case $cross_compiling:$ac_tool_warned in
2597 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2598 whose name does not start with the host triplet. If you think this
2599 configuration is useful to you, please write to autoconf@gnu.org." >&5
2600 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2601 whose name does not start with the host triplet. If you think this
2602 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2603 ac_tool_warned=yes ;;
2608 STRIP="$ac_cv_prog_STRIP"
2612 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2614 # We need awk for the "check" target. The system "awk" is bad on
2616 # Always define AMTAR for backward compatibility.
2618 AMTAR=${AMTAR-"${am_missing_run}tar"}
2620 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2627 ac_config_headers="$ac_config_headers config.h"
2631 PANGO_VERSION_MAJOR=1
2632 PANGO_VERSION_MINOR=26
2633 PANGO_VERSION_MICRO=1
2634 PANGO_VERSION=1.26.1
2635 PANGO_API_VERSION=1.0
2636 PANGO_INTERFACE_AGE=1
2637 PANGO_BINARY_AGE=2601
2638 PANGO_MODULE_VERSION=1.6.0
2650 cat >>confdefs.h <<\_ACEOF
2651 #define MODULE_VERSION "1.6.0"
2655 cat >>confdefs.h <<\_ACEOF
2656 #define PANGO_BINARY_AGE 2601
2660 cat >>confdefs.h <<\_ACEOF
2661 #define PANGO_INTERFACE_AGE 1
2665 cat >>confdefs.h <<\_ACEOF
2666 #define PANGO_VERSION_MAJOR 1
2670 cat >>confdefs.h <<\_ACEOF
2671 #define PANGO_VERSION_MINOR 26
2675 cat >>confdefs.h <<\_ACEOF
2676 #define PANGO_VERSION_MICRO 1
2683 VERSION_INFO="2600:1:2600"
2684 PANGO_CURRENT_MINUS_AGE=0
2689 # Make sure we can run config.sub.
2690 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2691 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2692 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2693 { (exit 1); exit 1; }; }
2695 { echo "$as_me:$LINENO: checking build system type" >&5
2696 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2697 if test "${ac_cv_build+set}" = set; then
2698 echo $ECHO_N "(cached) $ECHO_C" >&6
2700 ac_build_alias=$build_alias
2701 test "x$ac_build_alias" = x &&
2702 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2703 test "x$ac_build_alias" = x &&
2704 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2705 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2706 { (exit 1); exit 1; }; }
2707 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2708 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2709 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2710 { (exit 1); exit 1; }; }
2713 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2714 echo "${ECHO_T}$ac_cv_build" >&6; }
2715 case $ac_cv_build in
2717 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2718 echo "$as_me: error: invalid value of canonical build" >&2;}
2719 { (exit 1); exit 1; }; };;
2722 ac_save_IFS=$IFS; IFS='-'
2728 # Remember, the first character of IFS is used to create $*,
2729 # except with old shells:
2732 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2735 { echo "$as_me:$LINENO: checking host system type" >&5
2736 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2737 if test "${ac_cv_host+set}" = set; then
2738 echo $ECHO_N "(cached) $ECHO_C" >&6
2740 if test "x$host_alias" = x; then
2741 ac_cv_host=$ac_cv_build
2743 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2744 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2745 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2746 { (exit 1); exit 1; }; }
2750 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2751 echo "${ECHO_T}$ac_cv_host" >&6; }
2754 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2755 echo "$as_me: error: invalid value of canonical host" >&2;}
2756 { (exit 1); exit 1; }; };;
2759 ac_save_IFS=$IFS; IFS='-'
2765 # Remember, the first character of IFS is used to create $*,
2766 # except with old shells:
2769 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2773 { echo "$as_me:$LINENO: checking for native Win32" >&5
2774 echo $ECHO_N "checking for native Win32... $ECHO_C" >&6; }
2780 LIB_EXE_MACHINE_FLAG=X64
2783 LIB_EXE_MACHINE_FLAG=X86
2791 { echo "$as_me:$LINENO: result: $pango_os_win32" >&5
2792 echo "${ECHO_T}$pango_os_win32" >&6; }
2798 if test "$pango_os_win32" = "yes"; then
2808 ac_cpp='$CPP $CPPFLAGS'
2809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2812 if test -n "$ac_tool_prefix"; then
2813 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2814 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2817 if test "${ac_cv_prog_CC+set}" = set; then
2818 echo $ECHO_N "(cached) $ECHO_C" >&6
2820 if test -n "$CC"; then
2821 ac_cv_prog_CC="$CC" # Let the user override the test.
2823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 test -z "$as_dir" && as_dir=.
2828 for ac_exec_ext in '' $ac_executable_extensions; do
2829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2830 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2841 if test -n "$CC"; then
2842 { echo "$as_me:$LINENO: result: $CC" >&5
2843 echo "${ECHO_T}$CC" >&6; }
2845 { echo "$as_me:$LINENO: result: no" >&5
2846 echo "${ECHO_T}no" >&6; }
2851 if test -z "$ac_cv_prog_CC"; then
2853 # Extract the first word of "gcc", so it can be a program name with args.
2854 set dummy gcc; ac_word=$2
2855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2857 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2858 echo $ECHO_N "(cached) $ECHO_C" >&6
2860 if test -n "$ac_ct_CC"; then
2861 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867 test -z "$as_dir" && as_dir=.
2868 for ac_exec_ext in '' $ac_executable_extensions; do
2869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2870 ac_cv_prog_ac_ct_CC="gcc"
2871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2880 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2881 if test -n "$ac_ct_CC"; then
2882 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2883 echo "${ECHO_T}$ac_ct_CC" >&6; }
2885 { echo "$as_me:$LINENO: result: no" >&5
2886 echo "${ECHO_T}no" >&6; }
2889 if test "x$ac_ct_CC" = x; then
2892 case $cross_compiling:$ac_tool_warned in
2894 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2895 whose name does not start with the host triplet. If you think this
2896 configuration is useful to you, please write to autoconf@gnu.org." >&5
2897 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2898 whose name does not start with the host triplet. If you think this
2899 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2900 ac_tool_warned=yes ;;
2908 if test -z "$CC"; then
2909 if test -n "$ac_tool_prefix"; then
2910 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2911 set dummy ${ac_tool_prefix}cc; ac_word=$2
2912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2914 if test "${ac_cv_prog_CC+set}" = set; then
2915 echo $ECHO_N "(cached) $ECHO_C" >&6
2917 if test -n "$CC"; then
2918 ac_cv_prog_CC="$CC" # Let the user override the test.
2920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2924 test -z "$as_dir" && as_dir=.
2925 for ac_exec_ext in '' $ac_executable_extensions; do
2926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2927 ac_cv_prog_CC="${ac_tool_prefix}cc"
2928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2938 if test -n "$CC"; then
2939 { echo "$as_me:$LINENO: result: $CC" >&5
2940 echo "${ECHO_T}$CC" >&6; }
2942 { echo "$as_me:$LINENO: result: no" >&5
2943 echo "${ECHO_T}no" >&6; }
2949 if test -z "$CC"; then
2950 # Extract the first word of "cc", so it can be a program name with args.
2951 set dummy cc; ac_word=$2
2952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2954 if test "${ac_cv_prog_CC+set}" = set; then
2955 echo $ECHO_N "(cached) $ECHO_C" >&6
2957 if test -n "$CC"; then
2958 ac_cv_prog_CC="$CC" # Let the user override the test.
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965 test -z "$as_dir" && as_dir=.
2966 for ac_exec_ext in '' $ac_executable_extensions; do
2967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2968 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2969 ac_prog_rejected=yes
2973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2980 if test $ac_prog_rejected = yes; then
2981 # We found a bogon in the path, so make sure we never use it.
2982 set dummy $ac_cv_prog_CC
2984 if test $# != 0; then
2985 # We chose a different compiler from the bogus one.
2986 # However, it has the same basename, so the bogon will be chosen
2987 # first if we set CC to just the basename; use the full file name.
2989 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2995 if test -n "$CC"; then
2996 { echo "$as_me:$LINENO: result: $CC" >&5
2997 echo "${ECHO_T}$CC" >&6; }
2999 { echo "$as_me:$LINENO: result: no" >&5
3000 echo "${ECHO_T}no" >&6; }
3005 if test -z "$CC"; then
3006 if test -n "$ac_tool_prefix"; then
3007 for ac_prog in cl.exe
3009 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3010 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3013 if test "${ac_cv_prog_CC+set}" = set; then
3014 echo $ECHO_N "(cached) $ECHO_C" >&6
3016 if test -n "$CC"; then
3017 ac_cv_prog_CC="$CC" # Let the user override the test.
3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 test -z "$as_dir" && as_dir=.
3024 for ac_exec_ext in '' $ac_executable_extensions; do
3025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3026 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 if test -n "$CC"; then
3038 { echo "$as_me:$LINENO: result: $CC" >&5
3039 echo "${ECHO_T}$CC" >&6; }
3041 { echo "$as_me:$LINENO: result: no" >&5
3042 echo "${ECHO_T}no" >&6; }
3046 test -n "$CC" && break
3049 if test -z "$CC"; then
3051 for ac_prog in cl.exe
3053 # Extract the first word of "$ac_prog", so it can be a program name with args.
3054 set dummy $ac_prog; ac_word=$2
3055 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3057 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3058 echo $ECHO_N "(cached) $ECHO_C" >&6
3060 if test -n "$ac_ct_CC"; then
3061 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067 test -z "$as_dir" && as_dir=.
3068 for ac_exec_ext in '' $ac_executable_extensions; do
3069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3070 ac_cv_prog_ac_ct_CC="$ac_prog"
3071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3080 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3081 if test -n "$ac_ct_CC"; then
3082 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3083 echo "${ECHO_T}$ac_ct_CC" >&6; }
3085 { echo "$as_me:$LINENO: result: no" >&5
3086 echo "${ECHO_T}no" >&6; }
3090 test -n "$ac_ct_CC" && break
3093 if test "x$ac_ct_CC" = x; then
3096 case $cross_compiling:$ac_tool_warned in
3098 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3099 whose name does not start with the host triplet. If you think this
3100 configuration is useful to you, please write to autoconf@gnu.org." >&5
3101 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3102 whose name does not start with the host triplet. If you think this
3103 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3104 ac_tool_warned=yes ;;
3113 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3114 See \`config.log' for more details." >&5
3115 echo "$as_me: error: no acceptable C compiler found in \$PATH
3116 See \`config.log' for more details." >&2;}
3117 { (exit 1); exit 1; }; }
3119 # Provide some information about the compiler.
3120 echo "$as_me:$LINENO: checking for C compiler version" >&5
3121 ac_compiler=`set X $ac_compile; echo $2`
3122 { (ac_try="$ac_compiler --version >&5"
3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3125 *) ac_try_echo=$ac_try;;
3127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3128 (eval "$ac_compiler --version >&5") 2>&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); }
3132 { (ac_try="$ac_compiler -v >&5"
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3138 (eval "$ac_compiler -v >&5") 2>&5
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); }
3142 { (ac_try="$ac_compiler -V >&5"
3144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3145 *) ac_try_echo=$ac_try;;
3147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3148 (eval "$ac_compiler -V >&5") 2>&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); }
3153 cat >conftest.$ac_ext <<_ACEOF
3156 cat confdefs.h >>conftest.$ac_ext
3157 cat >>conftest.$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3168 ac_clean_files_save=$ac_clean_files
3169 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3170 # Try to create an executable without -o first, disregard a.out.
3171 # It will help us diagnose broken compilers, and finding out an intuition
3173 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3174 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3175 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3177 # List of possible output files, starting from the most likely.
3178 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3179 # only as a last resort. b.out is created by i960 compilers.
3180 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3182 # The IRIX 6 linker writes into existing files which may not be
3183 # executable, retaining their permissions. Remove them first so a
3184 # subsequent execution test works.
3186 for ac_file in $ac_files
3189 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3190 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3195 if { (ac_try="$ac_link_default"
3197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3201 (eval "$ac_link_default") 2>&5
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); }; then
3205 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3206 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3207 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3208 # so that the user can short-circuit this test for compilers unknown to
3210 for ac_file in $ac_files ''
3212 test -f "$ac_file" || continue
3214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3217 # We found the default executable, but exeext='' is most
3221 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3223 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3225 # We set ac_cv_exeext here because the later test for it is not
3226 # safe: cross compilers may not add the suffix if given an `-o'
3227 # argument, so we may need to know it at that point already.
3228 # Even if this section looks crufty: it has the advantage of
3235 test "$ac_cv_exeext" = no && ac_cv_exeext=
3241 { echo "$as_me:$LINENO: result: $ac_file" >&5
3242 echo "${ECHO_T}$ac_file" >&6; }
3243 if test -z "$ac_file"; then
3244 echo "$as_me: failed program was:" >&5
3245 sed 's/^/| /' conftest.$ac_ext >&5
3247 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3248 See \`config.log' for more details." >&5
3249 echo "$as_me: error: C compiler cannot create executables
3250 See \`config.log' for more details." >&2;}
3251 { (exit 77); exit 77; }; }
3254 ac_exeext=$ac_cv_exeext
3256 # Check that the compiler produces executables we can run. If not, either
3257 # the compiler is broken, or we cross compile.
3258 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3259 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3260 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3261 # If not cross compiling, check that we can run a simple program.
3262 if test "$cross_compiling" != yes; then
3263 if { ac_try='./$ac_file'
3264 { (case "(($ac_try" in
3265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3266 *) ac_try_echo=$ac_try;;
3268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3269 (eval "$ac_try") 2>&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); }; }; then
3275 if test "$cross_compiling" = maybe; then
3278 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3279 If you meant to cross compile, use \`--host'.
3280 See \`config.log' for more details." >&5
3281 echo "$as_me: error: cannot run C compiled programs.
3282 If you meant to cross compile, use \`--host'.
3283 See \`config.log' for more details." >&2;}
3284 { (exit 1); exit 1; }; }
3288 { echo "$as_me:$LINENO: result: yes" >&5
3289 echo "${ECHO_T}yes" >&6; }
3291 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3292 ac_clean_files=$ac_clean_files_save
3293 # Check that the compiler produces executables we can run. If not, either
3294 # the compiler is broken, or we cross compile.
3295 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3296 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3297 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3298 echo "${ECHO_T}$cross_compiling" >&6; }
3300 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3301 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3302 if { (ac_try="$ac_link"
3304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305 *) ac_try_echo=$ac_try;;
3307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3308 (eval "$ac_link") 2>&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); }; then
3312 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3313 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3314 # work properly (i.e., refer to `conftest.exe'), while it won't with
3316 for ac_file in conftest.exe conftest conftest.*; do
3317 test -f "$ac_file" || continue
3319 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3320 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3326 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3327 See \`config.log' for more details." >&5
3328 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3329 See \`config.log' for more details." >&2;}
3330 { (exit 1); exit 1; }; }
3333 rm -f conftest$ac_cv_exeext
3334 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3335 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3337 rm -f conftest.$ac_ext
3338 EXEEXT=$ac_cv_exeext
3340 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3341 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3342 if test "${ac_cv_objext+set}" = set; then
3343 echo $ECHO_N "(cached) $ECHO_C" >&6
3345 cat >conftest.$ac_ext <<_ACEOF
3348 cat confdefs.h >>conftest.$ac_ext
3349 cat >>conftest.$ac_ext <<_ACEOF
3350 /* end confdefs.h. */
3360 rm -f conftest.o conftest.obj
3361 if { (ac_try="$ac_compile"
3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3367 (eval "$ac_compile") 2>&5
3369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); }; then
3371 for ac_file in conftest.o conftest.obj conftest.*; do
3372 test -f "$ac_file" || continue;
3374 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3375 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3380 echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.$ac_ext >&5
3383 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3384 See \`config.log' for more details." >&5
3385 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3386 See \`config.log' for more details." >&2;}
3387 { (exit 1); exit 1; }; }
3390 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3392 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3393 echo "${ECHO_T}$ac_cv_objext" >&6; }
3394 OBJEXT=$ac_cv_objext
3396 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3397 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3398 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3399 echo $ECHO_N "(cached) $ECHO_C" >&6
3401 cat >conftest.$ac_ext <<_ACEOF
3404 cat confdefs.h >>conftest.$ac_ext
3405 cat >>conftest.$ac_ext <<_ACEOF
3406 /* end confdefs.h. */
3419 rm -f conftest.$ac_objext
3420 if { (ac_try="$ac_compile"
3422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3423 *) ac_try_echo=$ac_try;;
3425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3426 (eval "$ac_compile") 2>conftest.er1
3428 grep -v '^ *+' conftest.er1 >conftest.err
3430 cat conftest.err >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } && {
3433 test -z "$ac_c_werror_flag" ||
3434 test ! -s conftest.err
3435 } && test -s conftest.$ac_objext; then
3438 echo "$as_me: failed program was:" >&5
3439 sed 's/^/| /' conftest.$ac_ext >&5
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3445 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3448 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3449 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3450 GCC=`test $ac_compiler_gnu = yes && echo yes`
3451 ac_test_CFLAGS=${CFLAGS+set}
3452 ac_save_CFLAGS=$CFLAGS
3453 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3454 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3455 if test "${ac_cv_prog_cc_g+set}" = set; then
3456 echo $ECHO_N "(cached) $ECHO_C" >&6
3458 ac_save_c_werror_flag=$ac_c_werror_flag
3459 ac_c_werror_flag=yes
3462 cat >conftest.$ac_ext <<_ACEOF
3465 cat confdefs.h >>conftest.$ac_ext
3466 cat >>conftest.$ac_ext <<_ACEOF
3467 /* end confdefs.h. */
3477 rm -f conftest.$ac_objext
3478 if { (ac_try="$ac_compile"
3480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3481 *) ac_try_echo=$ac_try;;
3483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3484 (eval "$ac_compile") 2>conftest.er1
3486 grep -v '^ *+' conftest.er1 >conftest.err
3488 cat conftest.err >&5
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); } && {
3491 test -z "$ac_c_werror_flag" ||
3492 test ! -s conftest.err
3493 } && test -s conftest.$ac_objext; then
3496 echo "$as_me: failed program was:" >&5
3497 sed 's/^/| /' conftest.$ac_ext >&5
3500 cat >conftest.$ac_ext <<_ACEOF
3503 cat confdefs.h >>conftest.$ac_ext
3504 cat >>conftest.$ac_ext <<_ACEOF
3505 /* end confdefs.h. */
3515 rm -f conftest.$ac_objext
3516 if { (ac_try="$ac_compile"
3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519 *) ac_try_echo=$ac_try;;
3521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3522 (eval "$ac_compile") 2>conftest.er1
3524 grep -v '^ *+' conftest.er1 >conftest.err
3526 cat conftest.err >&5
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); } && {
3529 test -z "$ac_c_werror_flag" ||
3530 test ! -s conftest.err
3531 } && test -s conftest.$ac_objext; then
3534 echo "$as_me: failed program was:" >&5
3535 sed 's/^/| /' conftest.$ac_ext >&5
3537 ac_c_werror_flag=$ac_save_c_werror_flag
3539 cat >conftest.$ac_ext <<_ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3554 rm -f conftest.$ac_objext
3555 if { (ac_try="$ac_compile"
3557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3558 *) ac_try_echo=$ac_try;;
3560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3561 (eval "$ac_compile") 2>conftest.er1
3563 grep -v '^ *+' conftest.er1 >conftest.err
3565 cat conftest.err >&5
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); } && {
3568 test -z "$ac_c_werror_flag" ||
3569 test ! -s conftest.err
3570 } && test -s conftest.$ac_objext; then
3573 echo "$as_me: failed program was:" >&5
3574 sed 's/^/| /' conftest.$ac_ext >&5
3579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3586 ac_c_werror_flag=$ac_save_c_werror_flag
3588 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3589 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3590 if test "$ac_test_CFLAGS" = set; then
3591 CFLAGS=$ac_save_CFLAGS
3592 elif test $ac_cv_prog_cc_g = yes; then
3593 if test "$GCC" = yes; then
3599 if test "$GCC" = yes; then
3605 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3606 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3607 if test "${ac_cv_prog_cc_c89+set}" = set; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3610 ac_cv_prog_cc_c89=no
3612 cat >conftest.$ac_ext <<_ACEOF
3615 cat confdefs.h >>conftest.$ac_ext
3616 cat >>conftest.$ac_ext <<_ACEOF
3617 /* end confdefs.h. */
3620 #include <sys/types.h>
3621 #include <sys/stat.h>
3622 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3623 struct buf { int x; };
3624 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3625 static char *e (p, i)
3631 static char *f (char * (*g) (char **, int), char **p, ...)
3636 s = g (p, va_arg (v,int));
3641 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3642 function prototypes and stuff, but not '\xHH' hex character constants.
3643 These don't provoke an error unfortunately, instead are silently treated
3644 as 'x'. The following induces an error, until -std is added to get
3645 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3646 array size at least. It's necessary to write '\x00'==0 to get something
3647 that's true only with -std. */
3648 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3650 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3651 inside strings and character constants. */
3653 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3655 int test (int i, double x);
3656 struct s1 {int (*f) (int a);};
3657 struct s2 {int (*f) (double a);};
3658 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3664 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3669 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3670 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3672 CC="$ac_save_CC $ac_arg"
3673 rm -f conftest.$ac_objext
3674 if { (ac_try="$ac_compile"
3676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3677 *) ac_try_echo=$ac_try;;
3679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3680 (eval "$ac_compile") 2>conftest.er1
3682 grep -v '^ *+' conftest.er1 >conftest.err
3684 cat conftest.err >&5
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); } && {
3687 test -z "$ac_c_werror_flag" ||
3688 test ! -s conftest.err
3689 } && test -s conftest.$ac_objext; then
3690 ac_cv_prog_cc_c89=$ac_arg
3692 echo "$as_me: failed program was:" >&5
3693 sed 's/^/| /' conftest.$ac_ext >&5
3698 rm -f core conftest.err conftest.$ac_objext
3699 test "x$ac_cv_prog_cc_c89" != "xno" && break
3701 rm -f conftest.$ac_ext
3706 case "x$ac_cv_prog_cc_c89" in
3708 { echo "$as_me:$LINENO: result: none needed" >&5
3709 echo "${ECHO_T}none needed" >&6; } ;;
3711 { echo "$as_me:$LINENO: result: unsupported" >&5
3712 echo "${ECHO_T}unsupported" >&6; } ;;
3714 CC="$CC $ac_cv_prog_cc_c89"
3715 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3716 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3721 ac_cpp='$CPP $CPPFLAGS'
3722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3725 DEPDIR="${am__leading_dot}deps"
3727 ac_config_commands="$ac_config_commands depfiles"
3730 am_make=${MAKE-make}
3731 cat > confinc << 'END'
3736 # If we don't find an include directive, just comment out the code.
3737 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3738 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3742 # First try GNU make style include.
3743 echo "include confinc" > confmf
3744 # We grep out `Entering directory' and `Leaving directory'
3745 # messages which can occur if `w' ends up in MAKEFLAGS.
3746 # In particular we don't look at `^make:' because GNU make might
3747 # be invoked under some other name (usually "gmake"), in which
3748 # case it prints its new name instead of `make'.
3749 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3754 # Now try BSD make style include.
3755 if test "$am__include" = "#"; then
3756 echo '.include "confinc"' > confmf
3757 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3758 am__include=.include
3765 { echo "$as_me:$LINENO: result: $_am_result" >&5
3766 echo "${ECHO_T}$_am_result" >&6; }
3767 rm -f confinc confmf
3769 # Check whether --enable-dependency-tracking was given.
3770 if test "${enable_dependency_tracking+set}" = set; then
3771 enableval=$enable_dependency_tracking;
3774 if test "x$enable_dependency_tracking" != xno; then
3775 am_depcomp="$ac_aux_dir/depcomp"
3780 if test "x$enable_dependency_tracking" != xno; then
3791 depcc="$CC" am_compiler_list=
3793 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3794 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3795 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3796 echo $ECHO_N "(cached) $ECHO_C" >&6
3798 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3799 # We make a subdir and do the tests there. Otherwise we can end up
3800 # making bogus files that we don't know about and never remove. For
3801 # instance it was reported that on HP-UX the gcc test will end up
3802 # making a dummy file named `D' -- because `-MD' means `put the output
3805 # Copy depcomp to subdir because otherwise we won't find it if we're
3806 # using a relative directory.
3807 cp "$am_depcomp" conftest.dir
3809 # We will build objects and dependencies in a subdirectory because
3810 # it helps to detect inapplicable dependency modes. For instance
3811 # both Tru64's cc and ICC support -MD to output dependencies as a
3812 # side effect of compilation, but ICC will put the dependencies in
3813 # the current directory while Tru64 will put them in the object
3817 am_cv_CC_dependencies_compiler_type=none
3818 if test "$am_compiler_list" = ""; then
3819 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3821 for depmode in $am_compiler_list; do
3822 # Setup a source with many dependencies, because some compilers
3823 # like to wrap large dependency lists on column 80 (with \), and
3824 # we should not choose a depcomp mode which is confused by this.
3826 # We need to recreate these files for each test, as the compiler may
3827 # overwrite some of them when testing with obscure command lines.
3828 # This happens at least with the AIX C compiler.
3830 for i in 1 2 3 4 5 6; do
3831 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3832 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3833 # Solaris 8's {/usr,}/bin/sh.
3834 touch sub/conftst$i.h
3836 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3840 # after this tag, mechanisms are not by side-effect, so they'll
3841 # only be used when explicitly requested
3842 if test "x$enable_dependency_tracking" = xyes; then
3850 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3851 # mode. It turns out that the SunPro C++ compiler does not properly
3852 # handle `-M -o', and we need to detect this.
3853 if depmode=$depmode \
3854 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3855 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3856 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3857 >/dev/null 2>conftest.err &&
3858 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3859 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3860 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3861 # icc doesn't choke on unknown options, it will just issue warnings
3862 # or remarks (even with -Werror). So we grep stderr for any message
3863 # that says an option was ignored or not supported.
3864 # When given -MP, icc 7.0 and 7.1 complain thusly:
3865 # icc: Command line warning: ignoring option '-M'; no argument required
3866 # The diagnosis changed in icc 8.0:
3867 # icc: Command line remark: option '-MP' not supported
3868 if (grep 'ignoring option' conftest.err ||
3869 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3870 am_cv_CC_dependencies_compiler_type=$depmode
3879 am_cv_CC_dependencies_compiler_type=none
3883 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3884 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3885 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3890 test "x$enable_dependency_tracking" != xno \
3891 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3893 am__fastdepCC_FALSE='#'
3895 am__fastdepCC_TRUE='#'
3896 am__fastdepCC_FALSE=
3901 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
3903 # Extract the first word of "$ac_prog", so it can be a program name with args.
3904 set dummy $ac_prog; ac_word=$2
3905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3907 if test "${ac_cv_prog_CXX+set}" = set; then
3908 echo $ECHO_N "(cached) $ECHO_C" >&6
3910 if test -n "$CXX"; then
3911 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917 test -z "$as_dir" && as_dir=.
3918 for ac_exec_ext in '' $ac_executable_extensions; do
3919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3920 ac_cv_prog_CXX="$ac_prog"
3921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3931 if test -n "$CXX"; then
3932 { echo "$as_me:$LINENO: result: $CXX" >&5
3933 echo "${ECHO_T}$CXX" >&6; }
3935 { echo "$as_me:$LINENO: result: no" >&5
3936 echo "${ECHO_T}no" >&6; }
3940 test -n "$CXX" && break
3942 test -n "$CXX" || CXX="gcc"
3946 ac_cpp='$CXXCPP $CPPFLAGS'
3947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3952 ac_cpp='$CXXCPP $CPPFLAGS'
3953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3956 if test -z "$CXX"; then
3957 if test -n "$CCC"; then
3960 if test -n "$ac_tool_prefix"; then
3961 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3963 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3964 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3967 if test "${ac_cv_prog_CXX+set}" = set; then
3968 echo $ECHO_N "(cached) $ECHO_C" >&6
3970 if test -n "$CXX"; then
3971 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977 test -z "$as_dir" && as_dir=.
3978 for ac_exec_ext in '' $ac_executable_extensions; do
3979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3980 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3991 if test -n "$CXX"; then
3992 { echo "$as_me:$LINENO: result: $CXX" >&5
3993 echo "${ECHO_T}$CXX" >&6; }
3995 { echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6; }
4000 test -n "$CXX" && break
4003 if test -z "$CXX"; then
4005 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4007 # Extract the first word of "$ac_prog", so it can be a program name with args.
4008 set dummy $ac_prog; ac_word=$2
4009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4011 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4012 echo $ECHO_N "(cached) $ECHO_C" >&6
4014 if test -n "$ac_ct_CXX"; then
4015 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4021 test -z "$as_dir" && as_dir=.
4022 for ac_exec_ext in '' $ac_executable_extensions; do
4023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4024 ac_cv_prog_ac_ct_CXX="$ac_prog"
4025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4034 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4035 if test -n "$ac_ct_CXX"; then
4036 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4037 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4039 { echo "$as_me:$LINENO: result: no" >&5
4040 echo "${ECHO_T}no" >&6; }
4044 test -n "$ac_ct_CXX" && break
4047 if test "x$ac_ct_CXX" = x; then
4050 case $cross_compiling:$ac_tool_warned in
4052 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4053 whose name does not start with the host triplet. If you think this
4054 configuration is useful to you, please write to autoconf@gnu.org." >&5
4055 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4056 whose name does not start with the host triplet. If you think this
4057 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4058 ac_tool_warned=yes ;;
4066 # Provide some information about the compiler.
4067 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4068 ac_compiler=`set X $ac_compile; echo $2`
4069 { (ac_try="$ac_compiler --version >&5"
4071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4072 *) ac_try_echo=$ac_try;;
4074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4075 (eval "$ac_compiler --version >&5") 2>&5
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); }
4079 { (ac_try="$ac_compiler -v >&5"
4081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4082 *) ac_try_echo=$ac_try;;
4084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4085 (eval "$ac_compiler -v >&5") 2>&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); }
4089 { (ac_try="$ac_compiler -V >&5"
4091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4095 (eval "$ac_compiler -V >&5") 2>&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); }
4100 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4101 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4102 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4103 echo $ECHO_N "(cached) $ECHO_C" >&6
4105 cat >conftest.$ac_ext <<_ACEOF
4108 cat confdefs.h >>conftest.$ac_ext
4109 cat >>conftest.$ac_ext <<_ACEOF
4110 /* end confdefs.h. */
4123 rm -f conftest.$ac_objext
4124 if { (ac_try="$ac_compile"
4126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4127 *) ac_try_echo=$ac_try;;
4129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4130 (eval "$ac_compile") 2>conftest.er1
4132 grep -v '^ *+' conftest.er1 >conftest.err
4134 cat conftest.err >&5
4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 (exit $ac_status); } && {
4137 test -z "$ac_cxx_werror_flag" ||
4138 test ! -s conftest.err
4139 } && test -s conftest.$ac_objext; then
4142 echo "$as_me: failed program was:" >&5
4143 sed 's/^/| /' conftest.$ac_ext >&5
4148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4149 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4152 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4153 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4154 GXX=`test $ac_compiler_gnu = yes && echo yes`
4155 ac_test_CXXFLAGS=${CXXFLAGS+set}
4156 ac_save_CXXFLAGS=$CXXFLAGS
4157 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4158 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4159 if test "${ac_cv_prog_cxx_g+set}" = set; then
4160 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4163 ac_cxx_werror_flag=yes
4166 cat >conftest.$ac_ext <<_ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4181 rm -f conftest.$ac_objext
4182 if { (ac_try="$ac_compile"
4184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4185 *) ac_try_echo=$ac_try;;
4187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4188 (eval "$ac_compile") 2>conftest.er1
4190 grep -v '^ *+' conftest.er1 >conftest.err
4192 cat conftest.err >&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } && {
4195 test -z "$ac_cxx_werror_flag" ||
4196 test ! -s conftest.err
4197 } && test -s conftest.$ac_objext; then
4198 ac_cv_prog_cxx_g=yes
4200 echo "$as_me: failed program was:" >&5
4201 sed 's/^/| /' conftest.$ac_ext >&5
4204 cat >conftest.$ac_ext <<_ACEOF
4207 cat confdefs.h >>conftest.$ac_ext
4208 cat >>conftest.$ac_ext <<_ACEOF
4209 /* end confdefs.h. */
4219 rm -f conftest.$ac_objext
4220 if { (ac_try="$ac_compile"
4222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4223 *) ac_try_echo=$ac_try;;
4225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4226 (eval "$ac_compile") 2>conftest.er1
4228 grep -v '^ *+' conftest.er1 >conftest.err
4230 cat conftest.err >&5
4231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4232 (exit $ac_status); } && {
4233 test -z "$ac_cxx_werror_flag" ||
4234 test ! -s conftest.err
4235 } && test -s conftest.$ac_objext; then
4238 echo "$as_me: failed program was:" >&5
4239 sed 's/^/| /' conftest.$ac_ext >&5
4241 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4243 cat >conftest.$ac_ext <<_ACEOF
4246 cat confdefs.h >>conftest.$ac_ext
4247 cat >>conftest.$ac_ext <<_ACEOF
4248 /* end confdefs.h. */
4258 rm -f conftest.$ac_objext
4259 if { (ac_try="$ac_compile"
4261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4262 *) ac_try_echo=$ac_try;;
4264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4265 (eval "$ac_compile") 2>conftest.er1
4267 grep -v '^ *+' conftest.er1 >conftest.err
4269 cat conftest.err >&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); } && {
4272 test -z "$ac_cxx_werror_flag" ||
4273 test ! -s conftest.err
4274 } && test -s conftest.$ac_objext; then
4275 ac_cv_prog_cxx_g=yes
4277 echo "$as_me: failed program was:" >&5
4278 sed 's/^/| /' conftest.$ac_ext >&5
4283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4290 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4292 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4293 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4294 if test "$ac_test_CXXFLAGS" = set; then
4295 CXXFLAGS=$ac_save_CXXFLAGS
4296 elif test $ac_cv_prog_cxx_g = yes; then
4297 if test "$GXX" = yes; then
4303 if test "$GXX" = yes; then
4310 ac_cpp='$CXXCPP $CPPFLAGS'
4311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4315 depcc="$CXX" am_compiler_list=
4317 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4318 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4319 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4320 echo $ECHO_N "(cached) $ECHO_C" >&6
4322 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4323 # We make a subdir and do the tests there. Otherwise we can end up
4324 # making bogus files that we don't know about and never remove. For
4325 # instance it was reported that on HP-UX the gcc test will end up
4326 # making a dummy file named `D' -- because `-MD' means `put the output
4329 # Copy depcomp to subdir because otherwise we won't find it if we're
4330 # using a relative directory.
4331 cp "$am_depcomp" conftest.dir
4333 # We will build objects and dependencies in a subdirectory because
4334 # it helps to detect inapplicable dependency modes. For instance
4335 # both Tru64's cc and ICC support -MD to output dependencies as a
4336 # side effect of compilation, but ICC will put the dependencies in
4337 # the current directory while Tru64 will put them in the object
4341 am_cv_CXX_dependencies_compiler_type=none
4342 if test "$am_compiler_list" = ""; then
4343 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4345 for depmode in $am_compiler_list; do
4346 # Setup a source with many dependencies, because some compilers
4347 # like to wrap large dependency lists on column 80 (with \), and
4348 # we should not choose a depcomp mode which is confused by this.
4350 # We need to recreate these files for each test, as the compiler may
4351 # overwrite some of them when testing with obscure command lines.
4352 # This happens at least with the AIX C compiler.
4354 for i in 1 2 3 4 5 6; do
4355 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4356 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4357 # Solaris 8's {/usr,}/bin/sh.
4358 touch sub/conftst$i.h
4360 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4364 # after this tag, mechanisms are not by side-effect, so they'll
4365 # only be used when explicitly requested
4366 if test "x$enable_dependency_tracking" = xyes; then
4374 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4375 # mode. It turns out that the SunPro C++ compiler does not properly
4376 # handle `-M -o', and we need to detect this.
4377 if depmode=$depmode \
4378 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4379 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4380 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4381 >/dev/null 2>conftest.err &&
4382 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4383 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4384 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4385 # icc doesn't choke on unknown options, it will just issue warnings
4386 # or remarks (even with -Werror). So we grep stderr for any message
4387 # that says an option was ignored or not supported.
4388 # When given -MP, icc 7.0 and 7.1 complain thusly:
4389 # icc: Command line warning: ignoring option '-M'; no argument required
4390 # The diagnosis changed in icc 8.0:
4391 # icc: Command line remark: option '-MP' not supported
4392 if (grep 'ignoring option' conftest.err ||
4393 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4394 am_cv_CXX_dependencies_compiler_type=$depmode
4403 am_cv_CXX_dependencies_compiler_type=none
4407 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4408 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4409 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4414 test "x$enable_dependency_tracking" != xno \
4415 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4416 am__fastdepCXX_TRUE=
4417 am__fastdepCXX_FALSE='#'
4419 am__fastdepCXX_TRUE='#'
4420 am__fastdepCXX_FALSE=
4425 cat >conftest.$ac_ext <<_ACEOF
4428 cat confdefs.h >>conftest.$ac_ext
4429 cat >>conftest.$ac_ext <<_ACEOF
4430 /* end confdefs.h. */
4435 class a { int b; } c;
4440 rm -f conftest.$ac_objext
4441 if { (ac_try="$ac_compile"
4443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4444 *) ac_try_echo=$ac_try;;
4446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4447 (eval "$ac_compile") 2>conftest.er1
4449 grep -v '^ *+' conftest.er1 >conftest.err
4451 cat conftest.err >&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); } && {
4454 test -z "$ac_cxx_werror_flag" ||
4455 test ! -s conftest.err
4456 } && test -s conftest.$ac_objext; then
4459 echo "$as_me: failed program was:" >&5
4460 sed 's/^/| /' conftest.$ac_ext >&5
4465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4468 if test "$CXX" != ""; then
4477 ac_cpp='$CPP $CPPFLAGS'
4478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4484 # Checks for HarfBuzz
4488 ac_cpp='$CXXCPP $CPPFLAGS'
4489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4492 if test -z "$CXX"; then
4493 if test -n "$CCC"; then
4496 if test -n "$ac_tool_prefix"; then
4497 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4499 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4500 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4503 if test "${ac_cv_prog_CXX+set}" = set; then
4504 echo $ECHO_N "(cached) $ECHO_C" >&6
4506 if test -n "$CXX"; then
4507 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513 test -z "$as_dir" && as_dir=.
4514 for ac_exec_ext in '' $ac_executable_extensions; do
4515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4516 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4527 if test -n "$CXX"; then
4528 { echo "$as_me:$LINENO: result: $CXX" >&5
4529 echo "${ECHO_T}$CXX" >&6; }
4531 { echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6; }
4536 test -n "$CXX" && break
4539 if test -z "$CXX"; then
4541 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4543 # Extract the first word of "$ac_prog", so it can be a program name with args.
4544 set dummy $ac_prog; ac_word=$2
4545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4547 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4550 if test -n "$ac_ct_CXX"; then
4551 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557 test -z "$as_dir" && as_dir=.
4558 for ac_exec_ext in '' $ac_executable_extensions; do
4559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4560 ac_cv_prog_ac_ct_CXX="$ac_prog"
4561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4570 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4571 if test -n "$ac_ct_CXX"; then
4572 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4573 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4575 { echo "$as_me:$LINENO: result: no" >&5
4576 echo "${ECHO_T}no" >&6; }
4580 test -n "$ac_ct_CXX" && break
4583 if test "x$ac_ct_CXX" = x; then
4586 case $cross_compiling:$ac_tool_warned in
4588 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4589 whose name does not start with the host triplet. If you think this
4590 configuration is useful to you, please write to autoconf@gnu.org." >&5
4591 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4592 whose name does not start with the host triplet. If you think this
4593 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4594 ac_tool_warned=yes ;;
4602 # Provide some information about the compiler.
4603 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4604 ac_compiler=`set X $ac_compile; echo $2`
4605 { (ac_try="$ac_compiler --version >&5"
4607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4608 *) ac_try_echo=$ac_try;;
4610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4611 (eval "$ac_compiler --version >&5") 2>&5
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); }
4615 { (ac_try="$ac_compiler -v >&5"
4617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4618 *) ac_try_echo=$ac_try;;
4620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4621 (eval "$ac_compiler -v >&5") 2>&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); }
4625 { (ac_try="$ac_compiler -V >&5"
4627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4628 *) ac_try_echo=$ac_try;;
4630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4631 (eval "$ac_compiler -V >&5") 2>&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); }
4636 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4637 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4638 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4641 cat >conftest.$ac_ext <<_ACEOF
4644 cat confdefs.h >>conftest.$ac_ext
4645 cat >>conftest.$ac_ext <<_ACEOF
4646 /* end confdefs.h. */
4659 rm -f conftest.$ac_objext
4660 if { (ac_try="$ac_compile"
4662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663 *) ac_try_echo=$ac_try;;
4665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4666 (eval "$ac_compile") 2>conftest.er1
4668 grep -v '^ *+' conftest.er1 >conftest.err
4670 cat conftest.err >&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); } && {
4673 test -z "$ac_cxx_werror_flag" ||
4674 test ! -s conftest.err
4675 } && test -s conftest.$ac_objext; then
4678 echo "$as_me: failed program was:" >&5
4679 sed 's/^/| /' conftest.$ac_ext >&5
4684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4685 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4688 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4689 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4690 GXX=`test $ac_compiler_gnu = yes && echo yes`
4691 ac_test_CXXFLAGS=${CXXFLAGS+set}
4692 ac_save_CXXFLAGS=$CXXFLAGS
4693 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4694 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4695 if test "${ac_cv_prog_cxx_g+set}" = set; then
4696 echo $ECHO_N "(cached) $ECHO_C" >&6
4698 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4699 ac_cxx_werror_flag=yes
4702 cat >conftest.$ac_ext <<_ACEOF
4705 cat confdefs.h >>conftest.$ac_ext
4706 cat >>conftest.$ac_ext <<_ACEOF
4707 /* end confdefs.h. */
4717 rm -f conftest.$ac_objext
4718 if { (ac_try="$ac_compile"
4720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4721 *) ac_try_echo=$ac_try;;
4723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4724 (eval "$ac_compile") 2>conftest.er1
4726 grep -v '^ *+' conftest.er1 >conftest.err
4728 cat conftest.err >&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); } && {
4731 test -z "$ac_cxx_werror_flag" ||
4732 test ! -s conftest.err
4733 } && test -s conftest.$ac_objext; then
4734 ac_cv_prog_cxx_g=yes
4736 echo "$as_me: failed program was:" >&5
4737 sed 's/^/| /' conftest.$ac_ext >&5
4740 cat >conftest.$ac_ext <<_ACEOF
4743 cat confdefs.h >>conftest.$ac_ext
4744 cat >>conftest.$ac_ext <<_ACEOF
4745 /* end confdefs.h. */
4755 rm -f conftest.$ac_objext
4756 if { (ac_try="$ac_compile"
4758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759 *) ac_try_echo=$ac_try;;
4761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4762 (eval "$ac_compile") 2>conftest.er1
4764 grep -v '^ *+' conftest.er1 >conftest.err
4766 cat conftest.err >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } && {
4769 test -z "$ac_cxx_werror_flag" ||
4770 test ! -s conftest.err
4771 } && test -s conftest.$ac_objext; then
4774 echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.$ac_ext >&5
4777 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4779 cat >conftest.$ac_ext <<_ACEOF
4782 cat confdefs.h >>conftest.$ac_ext
4783 cat >>conftest.$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4794 rm -f conftest.$ac_objext
4795 if { (ac_try="$ac_compile"
4797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4798 *) ac_try_echo=$ac_try;;
4800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4801 (eval "$ac_compile") 2>conftest.er1
4803 grep -v '^ *+' conftest.er1 >conftest.err
4805 cat conftest.err >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); } && {
4808 test -z "$ac_cxx_werror_flag" ||
4809 test ! -s conftest.err
4810 } && test -s conftest.$ac_objext; then
4811 ac_cv_prog_cxx_g=yes
4813 echo "$as_me: failed program was:" >&5
4814 sed 's/^/| /' conftest.$ac_ext >&5
4819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4826 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4828 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4829 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4830 if test "$ac_test_CXXFLAGS" = set; then
4831 CXXFLAGS=$ac_save_CXXFLAGS
4832 elif test $ac_cv_prog_cxx_g = yes; then
4833 if test "$GXX" = yes; then
4839 if test "$GXX" = yes; then
4846 ac_cpp='$CPP $CPPFLAGS'
4847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4851 depcc="$CXX" am_compiler_list=
4853 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4854 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4855 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4856 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4859 # We make a subdir and do the tests there. Otherwise we can end up
4860 # making bogus files that we don't know about and never remove. For
4861 # instance it was reported that on HP-UX the gcc test will end up
4862 # making a dummy file named `D' -- because `-MD' means `put the output
4865 # Copy depcomp to subdir because otherwise we won't find it if we're
4866 # using a relative directory.
4867 cp "$am_depcomp" conftest.dir
4869 # We will build objects and dependencies in a subdirectory because
4870 # it helps to detect inapplicable dependency modes. For instance
4871 # both Tru64's cc and ICC support -MD to output dependencies as a
4872 # side effect of compilation, but ICC will put the dependencies in
4873 # the current directory while Tru64 will put them in the object
4877 am_cv_CXX_dependencies_compiler_type=none
4878 if test "$am_compiler_list" = ""; then
4879 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4881 for depmode in $am_compiler_list; do
4882 # Setup a source with many dependencies, because some compilers
4883 # like to wrap large dependency lists on column 80 (with \), and
4884 # we should not choose a depcomp mode which is confused by this.
4886 # We need to recreate these files for each test, as the compiler may
4887 # overwrite some of them when testing with obscure command lines.
4888 # This happens at least with the AIX C compiler.
4890 for i in 1 2 3 4 5 6; do
4891 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4892 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4893 # Solaris 8's {/usr,}/bin/sh.
4894 touch sub/conftst$i.h
4896 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4900 # after this tag, mechanisms are not by side-effect, so they'll
4901 # only be used when explicitly requested
4902 if test "x$enable_dependency_tracking" = xyes; then
4910 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4911 # mode. It turns out that the SunPro C++ compiler does not properly
4912 # handle `-M -o', and we need to detect this.
4913 if depmode=$depmode \
4914 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4915 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4916 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4917 >/dev/null 2>conftest.err &&
4918 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4919 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4920 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4921 # icc doesn't choke on unknown options, it will just issue warnings
4922 # or remarks (even with -Werror). So we grep stderr for any message
4923 # that says an option was ignored or not supported.
4924 # When given -MP, icc 7.0 and 7.1 complain thusly:
4925 # icc: Command line warning: ignoring option '-M'; no argument required
4926 # The diagnosis changed in icc 8.0:
4927 # icc: Command line remark: option '-MP' not supported
4928 if (grep 'ignoring option' conftest.err ||
4929 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4930 am_cv_CXX_dependencies_compiler_type=$depmode
4939 am_cv_CXX_dependencies_compiler_type=none
4943 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4944 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4945 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4950 test "x$enable_dependency_tracking" != xno \
4951 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4952 am__fastdepCXX_TRUE=
4953 am__fastdepCXX_FALSE='#'
4955 am__fastdepCXX_TRUE='#'
4956 am__fastdepCXX_FALSE=
4964 for ac_func in mprotect sysconf getpagesize
4966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4967 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4969 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4970 echo $ECHO_N "(cached) $ECHO_C" >&6
4972 cat >conftest.$ac_ext <<_ACEOF
4975 cat confdefs.h >>conftest.$ac_ext
4976 cat >>conftest.$ac_ext <<_ACEOF
4977 /* end confdefs.h. */
4978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4980 #define $ac_func innocuous_$ac_func
4982 /* System header to define __stub macros and hopefully few prototypes,
4983 which can conflict with char $ac_func (); below.
4984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4985 <limits.h> exists even on freestanding compilers. */
4988 # include <limits.h>
4990 # include <assert.h>
4995 /* Override any GCC internal prototype to avoid an error.
4996 Use char because int might match the return type of a GCC
4997 builtin and then its argument prototype would still apply. */
5002 /* The GNU C library defines this for functions which it implements
5003 to always fail with ENOSYS. Some functions are actually named
5004 something starting with __ and the normal name is an alias. */
5005 #if defined __stub_$ac_func || defined __stub___$ac_func
5017 rm -f conftest.$ac_objext conftest$ac_exeext
5018 if { (ac_try="$ac_link"
5020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5021 *) ac_try_echo=$ac_try;;
5023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5024 (eval "$ac_link") 2>conftest.er1
5026 grep -v '^ *+' conftest.er1 >conftest.err
5028 cat conftest.err >&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); } && {
5031 test -z "$ac_c_werror_flag" ||
5032 test ! -s conftest.err
5033 } && test -s conftest$ac_exeext &&
5034 $as_test_x conftest$ac_exeext; then
5035 eval "$as_ac_var=yes"
5037 echo "$as_me: failed program was:" >&5
5038 sed 's/^/| /' conftest.$ac_ext >&5
5040 eval "$as_ac_var=no"
5043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5044 conftest$ac_exeext conftest.$ac_ext
5046 ac_res=`eval echo '${'$as_ac_var'}'`
5047 { echo "$as_me:$LINENO: result: $ac_res" >&5
5048 echo "${ECHO_T}$ac_res" >&6; }
5049 if test `eval echo '${'$as_ac_var'}'` = yes; then
5050 cat >>confdefs.h <<_ACEOF
5051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5058 ac_cpp='$CPP $CPPFLAGS'
5059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5062 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5063 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5064 # On Suns, sometimes $CPP names a directory.
5065 if test -n "$CPP" && test -d "$CPP"; then
5068 if test -z "$CPP"; then
5069 if test "${ac_cv_prog_CPP+set}" = set; then
5070 echo $ECHO_N "(cached) $ECHO_C" >&6
5072 # Double quotes because CPP needs to be expanded
5073 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5076 for ac_c_preproc_warn_flag in '' yes
5078 # Use a header file that comes with gcc, so configuring glibc
5079 # with a fresh cross-compiler works.
5080 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5081 # <limits.h> exists even on freestanding compilers.
5082 # On the NeXT, cc -E runs the code through the compiler's parser,
5083 # not just through cpp. "Syntax error" is here to catch this case.
5084 cat >conftest.$ac_ext <<_ACEOF
5087 cat confdefs.h >>conftest.$ac_ext
5088 cat >>conftest.$ac_ext <<_ACEOF
5089 /* end confdefs.h. */
5091 # include <limits.h>
5093 # include <assert.h>
5097 if { (ac_try="$ac_cpp conftest.$ac_ext"
5099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5100 *) ac_try_echo=$ac_try;;
5102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5103 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5105 grep -v '^ *+' conftest.er1 >conftest.err
5107 cat conftest.err >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); } >/dev/null && {
5110 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5111 test ! -s conftest.err
5115 echo "$as_me: failed program was:" >&5
5116 sed 's/^/| /' conftest.$ac_ext >&5
5118 # Broken: fails on valid input.
5122 rm -f conftest.err conftest.$ac_ext
5124 # OK, works on sane cases. Now check whether nonexistent headers
5125 # can be detected and how.
5126 cat >conftest.$ac_ext <<_ACEOF
5129 cat confdefs.h >>conftest.$ac_ext
5130 cat >>conftest.$ac_ext <<_ACEOF
5131 /* end confdefs.h. */
5132 #include <ac_nonexistent.h>
5134 if { (ac_try="$ac_cpp conftest.$ac_ext"
5136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5137 *) ac_try_echo=$ac_try;;
5139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5140 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5142 grep -v '^ *+' conftest.er1 >conftest.err
5144 cat conftest.err >&5
5145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5146 (exit $ac_status); } >/dev/null && {
5147 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5148 test ! -s conftest.err
5150 # Broken: success on invalid input.
5153 echo "$as_me: failed program was:" >&5
5154 sed 's/^/| /' conftest.$ac_ext >&5
5156 # Passes both tests.
5161 rm -f conftest.err conftest.$ac_ext
5164 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5165 rm -f conftest.err conftest.$ac_ext
5166 if $ac_preproc_ok; then
5178 { echo "$as_me:$LINENO: result: $CPP" >&5
5179 echo "${ECHO_T}$CPP" >&6; }
5181 for ac_c_preproc_warn_flag in '' yes
5183 # Use a header file that comes with gcc, so configuring glibc
5184 # with a fresh cross-compiler works.
5185 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5186 # <limits.h> exists even on freestanding compilers.
5187 # On the NeXT, cc -E runs the code through the compiler's parser,
5188 # not just through cpp. "Syntax error" is here to catch this case.
5189 cat >conftest.$ac_ext <<_ACEOF
5192 cat confdefs.h >>conftest.$ac_ext
5193 cat >>conftest.$ac_ext <<_ACEOF
5194 /* end confdefs.h. */
5196 # include <limits.h>
5198 # include <assert.h>
5202 if { (ac_try="$ac_cpp conftest.$ac_ext"
5204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5205 *) ac_try_echo=$ac_try;;
5207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5208 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5210 grep -v '^ *+' conftest.er1 >conftest.err
5212 cat conftest.err >&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); } >/dev/null && {
5215 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5216 test ! -s conftest.err
5220 echo "$as_me: failed program was:" >&5
5221 sed 's/^/| /' conftest.$ac_ext >&5
5223 # Broken: fails on valid input.
5227 rm -f conftest.err conftest.$ac_ext
5229 # OK, works on sane cases. Now check whether nonexistent headers
5230 # can be detected and how.
5231 cat >conftest.$ac_ext <<_ACEOF
5234 cat confdefs.h >>conftest.$ac_ext
5235 cat >>conftest.$ac_ext <<_ACEOF
5236 /* end confdefs.h. */
5237 #include <ac_nonexistent.h>
5239 if { (ac_try="$ac_cpp conftest.$ac_ext"
5241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5242 *) ac_try_echo=$ac_try;;
5244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5247 grep -v '^ *+' conftest.er1 >conftest.err
5249 cat conftest.err >&5
5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); } >/dev/null && {
5252 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5253 test ! -s conftest.err
5255 # Broken: success on invalid input.
5258 echo "$as_me: failed program was:" >&5
5259 sed 's/^/| /' conftest.$ac_ext >&5
5261 # Passes both tests.
5266 rm -f conftest.err conftest.$ac_ext
5269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5270 rm -f conftest.err conftest.$ac_ext
5271 if $ac_preproc_ok; then
5274 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5275 See \`config.log' for more details." >&5
5276 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5277 See \`config.log' for more details." >&2;}
5278 { (exit 1); exit 1; }; }
5282 ac_cpp='$CPP $CPPFLAGS'
5283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5288 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5289 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5290 if test "${ac_cv_path_GREP+set}" = set; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 # Extract the first word of "grep ggrep" to use in msg output
5294 if test -z "$GREP"; then
5295 set dummy grep ggrep; ac_prog_name=$2
5296 if test "${ac_cv_path_GREP+set}" = set; then
5297 echo $ECHO_N "(cached) $ECHO_C" >&6
5299 ac_path_GREP_found=false
5300 # Loop through the user's path and test for each of PROGNAME-LIST
5301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5302 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5305 test -z "$as_dir" && as_dir=.
5306 for ac_prog in grep ggrep; do
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5309 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5310 # Check for GNU ac_path_GREP and select it if it is found.
5311 # Check for GNU $ac_path_GREP
5312 case `"$ac_path_GREP" --version 2>&1` in
5314 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5317 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5320 cat "conftest.in" "conftest.in" >"conftest.tmp"
5321 mv "conftest.tmp" "conftest.in"
5322 cp "conftest.in" "conftest.nl"
5323 echo 'GREP' >> "conftest.nl"
5324 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5325 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5326 ac_count=`expr $ac_count + 1`
5327 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5328 # Best one so far, save it but keep looking for a better one
5329 ac_cv_path_GREP="$ac_path_GREP"
5330 ac_path_GREP_max=$ac_count
5332 # 10*(2^10) chars as input seems more than enough
5333 test $ac_count -gt 10 && break
5335 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5339 $ac_path_GREP_found && break 3
5349 GREP="$ac_cv_path_GREP"
5350 if test -z "$GREP"; then
5351 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5352 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5353 { (exit 1); exit 1; }; }
5357 ac_cv_path_GREP=$GREP
5362 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5363 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5364 GREP="$ac_cv_path_GREP"
5367 { echo "$as_me:$LINENO: checking for egrep" >&5
5368 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5369 if test "${ac_cv_path_EGREP+set}" = set; then
5370 echo $ECHO_N "(cached) $ECHO_C" >&6
5372 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5373 then ac_cv_path_EGREP="$GREP -E"
5375 # Extract the first word of "egrep" to use in msg output
5376 if test -z "$EGREP"; then
5377 set dummy egrep; ac_prog_name=$2
5378 if test "${ac_cv_path_EGREP+set}" = set; then
5379 echo $ECHO_N "(cached) $ECHO_C" >&6
5381 ac_path_EGREP_found=false
5382 # Loop through the user's path and test for each of PROGNAME-LIST
5383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5387 test -z "$as_dir" && as_dir=.
5388 for ac_prog in egrep; do
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5391 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5392 # Check for GNU ac_path_EGREP and select it if it is found.
5393 # Check for GNU $ac_path_EGREP
5394 case `"$ac_path_EGREP" --version 2>&1` in
5396 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5399 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5402 cat "conftest.in" "conftest.in" >"conftest.tmp"
5403 mv "conftest.tmp" "conftest.in"
5404 cp "conftest.in" "conftest.nl"
5405 echo 'EGREP' >> "conftest.nl"
5406 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5407 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5408 ac_count=`expr $ac_count + 1`
5409 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5410 # Best one so far, save it but keep looking for a better one
5411 ac_cv_path_EGREP="$ac_path_EGREP"
5412 ac_path_EGREP_max=$ac_count
5414 # 10*(2^10) chars as input seems more than enough
5415 test $ac_count -gt 10 && break
5417 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5421 $ac_path_EGREP_found && break 3
5431 EGREP="$ac_cv_path_EGREP"
5432 if test -z "$EGREP"; then
5433 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5434 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5435 { (exit 1); exit 1; }; }
5439 ac_cv_path_EGREP=$EGREP
5445 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5446 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5447 EGREP="$ac_cv_path_EGREP"
5450 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5451 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5452 if test "${ac_cv_header_stdc+set}" = set; then
5453 echo $ECHO_N "(cached) $ECHO_C" >&6
5455 cat >conftest.$ac_ext <<_ACEOF
5458 cat confdefs.h >>conftest.$ac_ext
5459 cat >>conftest.$ac_ext <<_ACEOF
5460 /* end confdefs.h. */
5474 rm -f conftest.$ac_objext
5475 if { (ac_try="$ac_compile"
5477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5478 *) ac_try_echo=$ac_try;;
5480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5481 (eval "$ac_compile") 2>conftest.er1
5483 grep -v '^ *+' conftest.er1 >conftest.err
5485 cat conftest.err >&5
5486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5487 (exit $ac_status); } && {
5488 test -z "$ac_c_werror_flag" ||
5489 test ! -s conftest.err
5490 } && test -s conftest.$ac_objext; then
5491 ac_cv_header_stdc=yes
5493 echo "$as_me: failed program was:" >&5
5494 sed 's/^/| /' conftest.$ac_ext >&5
5496 ac_cv_header_stdc=no
5499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5501 if test $ac_cv_header_stdc = yes; then
5502 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5503 cat >conftest.$ac_ext <<_ACEOF
5506 cat confdefs.h >>conftest.$ac_ext
5507 cat >>conftest.$ac_ext <<_ACEOF
5508 /* end confdefs.h. */
5512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5513 $EGREP "memchr" >/dev/null 2>&1; then
5516 ac_cv_header_stdc=no
5522 if test $ac_cv_header_stdc = yes; then
5523 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5524 cat >conftest.$ac_ext <<_ACEOF
5527 cat confdefs.h >>conftest.$ac_ext
5528 cat >>conftest.$ac_ext <<_ACEOF
5529 /* end confdefs.h. */
5533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5534 $EGREP "free" >/dev/null 2>&1; then
5537 ac_cv_header_stdc=no
5543 if test $ac_cv_header_stdc = yes; then
5544 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5545 if test "$cross_compiling" = yes; then
5548 cat >conftest.$ac_ext <<_ACEOF
5551 cat confdefs.h >>conftest.$ac_ext
5552 cat >>conftest.$ac_ext <<_ACEOF
5553 /* end confdefs.h. */
5556 #if ((' ' & 0x0FF) == 0x020)
5557 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5558 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5560 # define ISLOWER(c) \
5561 (('a' <= (c) && (c) <= 'i') \
5562 || ('j' <= (c) && (c) <= 'r') \
5563 || ('s' <= (c) && (c) <= 'z'))
5564 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5567 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5572 for (i = 0; i < 256; i++)
5573 if (XOR (islower (i), ISLOWER (i))
5574 || toupper (i) != TOUPPER (i))
5579 rm -f conftest$ac_exeext
5580 if { (ac_try="$ac_link"
5582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5583 *) ac_try_echo=$ac_try;;
5585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5586 (eval "$ac_link") 2>&5
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5590 { (case "(($ac_try" in
5591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5592 *) ac_try_echo=$ac_try;;
5594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5595 (eval "$ac_try") 2>&5
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); }; }; then
5601 echo "$as_me: program exited with status $ac_status" >&5
5602 echo "$as_me: failed program was:" >&5
5603 sed 's/^/| /' conftest.$ac_ext >&5
5606 ac_cv_header_stdc=no
5608 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5614 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5615 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5616 if test $ac_cv_header_stdc = yes; then
5618 cat >>confdefs.h <<\_ACEOF
5619 #define STDC_HEADERS 1
5624 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5634 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5635 inttypes.h stdint.h unistd.h
5637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5638 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5640 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5641 echo $ECHO_N "(cached) $ECHO_C" >&6
5643 cat >conftest.$ac_ext <<_ACEOF
5646 cat confdefs.h >>conftest.$ac_ext
5647 cat >>conftest.$ac_ext <<_ACEOF
5648 /* end confdefs.h. */
5649 $ac_includes_default
5651 #include <$ac_header>
5653 rm -f conftest.$ac_objext
5654 if { (ac_try="$ac_compile"
5656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5657 *) ac_try_echo=$ac_try;;
5659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5660 (eval "$ac_compile") 2>conftest.er1
5662 grep -v '^ *+' conftest.er1 >conftest.err
5664 cat conftest.err >&5
5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666 (exit $ac_status); } && {
5667 test -z "$ac_c_werror_flag" ||
5668 test ! -s conftest.err
5669 } && test -s conftest.$ac_objext; then
5670 eval "$as_ac_Header=yes"
5672 echo "$as_me: failed program was:" >&5
5673 sed 's/^/| /' conftest.$ac_ext >&5
5675 eval "$as_ac_Header=no"
5678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5680 ac_res=`eval echo '${'$as_ac_Header'}'`
5681 { echo "$as_me:$LINENO: result: $ac_res" >&5
5682 echo "${ECHO_T}$ac_res" >&6; }
5683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5684 cat >>confdefs.h <<_ACEOF
5685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5695 for ac_header in unistd.h sys/mman.h
5697 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5698 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5699 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5701 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5702 echo $ECHO_N "(cached) $ECHO_C" >&6
5704 ac_res=`eval echo '${'$as_ac_Header'}'`
5705 { echo "$as_me:$LINENO: result: $ac_res" >&5
5706 echo "${ECHO_T}$ac_res" >&6; }
5708 # Is the header compilable?
5709 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5710 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5711 cat >conftest.$ac_ext <<_ACEOF
5714 cat confdefs.h >>conftest.$ac_ext
5715 cat >>conftest.$ac_ext <<_ACEOF
5716 /* end confdefs.h. */
5717 $ac_includes_default
5718 #include <$ac_header>
5720 rm -f conftest.$ac_objext
5721 if { (ac_try="$ac_compile"
5723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5724 *) ac_try_echo=$ac_try;;
5726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5727 (eval "$ac_compile") 2>conftest.er1
5729 grep -v '^ *+' conftest.er1 >conftest.err
5731 cat conftest.err >&5
5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733 (exit $ac_status); } && {
5734 test -z "$ac_c_werror_flag" ||
5735 test ! -s conftest.err
5736 } && test -s conftest.$ac_objext; then
5737 ac_header_compiler=yes
5739 echo "$as_me: failed program was:" >&5
5740 sed 's/^/| /' conftest.$ac_ext >&5
5742 ac_header_compiler=no
5745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5746 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5747 echo "${ECHO_T}$ac_header_compiler" >&6; }
5749 # Is the header present?
5750 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5751 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5752 cat >conftest.$ac_ext <<_ACEOF
5755 cat confdefs.h >>conftest.$ac_ext
5756 cat >>conftest.$ac_ext <<_ACEOF
5757 /* end confdefs.h. */
5758 #include <$ac_header>
5760 if { (ac_try="$ac_cpp conftest.$ac_ext"
5762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5763 *) ac_try_echo=$ac_try;;
5765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5768 grep -v '^ *+' conftest.er1 >conftest.err
5770 cat conftest.err >&5
5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772 (exit $ac_status); } >/dev/null && {
5773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5774 test ! -s conftest.err
5776 ac_header_preproc=yes
5778 echo "$as_me: failed program was:" >&5
5779 sed 's/^/| /' conftest.$ac_ext >&5
5781 ac_header_preproc=no
5784 rm -f conftest.err conftest.$ac_ext
5785 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5786 echo "${ECHO_T}$ac_header_preproc" >&6; }
5788 # So? What about this header?
5789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5791 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5794 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5795 ac_header_preproc=yes
5798 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5799 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5800 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5801 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5802 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5803 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5804 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5805 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5808 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5809 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5811 ## -------------------------------------------------------------------- ##
5812 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=pango ##
5813 ## -------------------------------------------------------------------- ##
5815 ) | sed "s/^/$as_me: WARNING: /" >&2
5818 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5820 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5821 echo $ECHO_N "(cached) $ECHO_C" >&6
5823 eval "$as_ac_Header=\$ac_header_preproc"
5825 ac_res=`eval echo '${'$as_ac_Header'}'`
5826 { echo "$as_me:$LINENO: result: $ac_res" >&5
5827 echo "${ECHO_T}$ac_res" >&6; }
5830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5831 cat >>confdefs.h <<_ACEOF
5832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5840 # Make sure we don't link to libstdc++ (needs de-gcc-fication)
5841 CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
5848 enable_win32_dll=yes
5851 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
5852 if test -n "$ac_tool_prefix"; then
5853 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5854 set dummy ${ac_tool_prefix}as; ac_word=$2
5855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5857 if test "${ac_cv_prog_AS+set}" = set; then
5858 echo $ECHO_N "(cached) $ECHO_C" >&6
5860 if test -n "$AS"; then
5861 ac_cv_prog_AS="$AS" # Let the user override the test.
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5870 ac_cv_prog_AS="${ac_tool_prefix}as"
5871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 if test -n "$AS"; then
5882 { echo "$as_me:$LINENO: result: $AS" >&5
5883 echo "${ECHO_T}$AS" >&6; }
5885 { echo "$as_me:$LINENO: result: no" >&5
5886 echo "${ECHO_T}no" >&6; }
5891 if test -z "$ac_cv_prog_AS"; then
5893 # Extract the first word of "as", so it can be a program name with args.
5894 set dummy as; ac_word=$2
5895 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5897 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5898 echo $ECHO_N "(cached) $ECHO_C" >&6
5900 if test -n "$ac_ct_AS"; then
5901 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5907 test -z "$as_dir" && as_dir=.
5908 for ac_exec_ext in '' $ac_executable_extensions; do
5909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5910 ac_cv_prog_ac_ct_AS="as"
5911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5920 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5921 if test -n "$ac_ct_AS"; then
5922 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5923 echo "${ECHO_T}$ac_ct_AS" >&6; }
5925 { echo "$as_me:$LINENO: result: no" >&5
5926 echo "${ECHO_T}no" >&6; }
5929 if test "x$ac_ct_AS" = x; then
5932 case $cross_compiling:$ac_tool_warned in
5934 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5935 whose name does not start with the host triplet. If you think this
5936 configuration is useful to you, please write to autoconf@gnu.org." >&5
5937 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5938 whose name does not start with the host triplet. If you think this
5939 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5940 ac_tool_warned=yes ;;
5948 if test -n "$ac_tool_prefix"; then
5949 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5950 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5953 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5954 echo $ECHO_N "(cached) $ECHO_C" >&6
5956 if test -n "$DLLTOOL"; then
5957 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 test -z "$as_dir" && as_dir=.
5964 for ac_exec_ext in '' $ac_executable_extensions; do
5965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5966 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 DLLTOOL=$ac_cv_prog_DLLTOOL
5977 if test -n "$DLLTOOL"; then
5978 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5979 echo "${ECHO_T}$DLLTOOL" >&6; }
5981 { echo "$as_me:$LINENO: result: no" >&5
5982 echo "${ECHO_T}no" >&6; }
5987 if test -z "$ac_cv_prog_DLLTOOL"; then
5988 ac_ct_DLLTOOL=$DLLTOOL
5989 # Extract the first word of "dlltool", so it can be a program name with args.
5990 set dummy dlltool; ac_word=$2
5991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5993 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 if test -n "$ac_ct_DLLTOOL"; then
5997 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003 test -z "$as_dir" && as_dir=.
6004 for ac_exec_ext in '' $ac_executable_extensions; do
6005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6006 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6016 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6017 if test -n "$ac_ct_DLLTOOL"; then
6018 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
6019 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
6021 { echo "$as_me:$LINENO: result: no" >&5
6022 echo "${ECHO_T}no" >&6; }
6025 if test "x$ac_ct_DLLTOOL" = x; then
6028 case $cross_compiling:$ac_tool_warned in
6030 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6031 whose name does not start with the host triplet. If you think this
6032 configuration is useful to you, please write to autoconf@gnu.org." >&5
6033 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6034 whose name does not start with the host triplet. If you think this
6035 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6036 ac_tool_warned=yes ;;
6038 DLLTOOL=$ac_ct_DLLTOOL
6041 DLLTOOL="$ac_cv_prog_DLLTOOL"
6044 if test -n "$ac_tool_prefix"; then
6045 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6046 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 if test -n "$OBJDUMP"; then
6053 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6072 OBJDUMP=$ac_cv_prog_OBJDUMP
6073 if test -n "$OBJDUMP"; then
6074 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6075 echo "${ECHO_T}$OBJDUMP" >&6; }
6077 { echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6; }
6083 if test -z "$ac_cv_prog_OBJDUMP"; then
6084 ac_ct_OBJDUMP=$OBJDUMP
6085 # Extract the first word of "objdump", so it can be a program name with args.
6086 set dummy objdump; ac_word=$2
6087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6089 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 if test -n "$ac_ct_OBJDUMP"; then
6093 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6102 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6112 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6113 if test -n "$ac_ct_OBJDUMP"; then
6114 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
6115 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
6117 { echo "$as_me:$LINENO: result: no" >&5
6118 echo "${ECHO_T}no" >&6; }
6121 if test "x$ac_ct_OBJDUMP" = x; then
6124 case $cross_compiling:$ac_tool_warned in
6126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6127 whose name does not start with the host triplet. If you think this
6128 configuration is useful to you, please write to autoconf@gnu.org." >&5
6129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6130 whose name does not start with the host triplet. If you think this
6131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6132 ac_tool_warned=yes ;;
6134 OBJDUMP=$ac_ct_OBJDUMP
6137 OBJDUMP="$ac_cv_prog_OBJDUMP"
6143 test -z "$AS" && AS=as
6149 test -z "$DLLTOOL" && DLLTOOL=dlltool
6155 test -z "$OBJDUMP" && OBJDUMP=objdump
6163 # Check whether --enable-static was given.
6164 if test "${enable_static+set}" = set; then
6165 enableval=$enable_static; p=${PACKAGE-default}
6167 yes) enable_static=yes ;;
6168 no) enable_static=no ;;
6171 # Look at the argument we got. We use all the common list separators.
6172 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6173 for pkg in $enableval; do
6175 if test "X$pkg" = "X$p"; then
6195 if test "$pango_os_win32" = "yes"; then
6196 if test x$enable_static = xyes -o x$enable_static = x; then
6197 { echo "$as_me:$LINENO: WARNING: Disabling static library build, must build as DLL on Windows." >&5
6198 echo "$as_me: WARNING: Disabling static library build, must build as DLL on Windows." >&2;}
6201 if test x$enable_shared = xno; then
6202 { echo "$as_me:$LINENO: WARNING: Enabling shared library build, must build as DLL on Windows." >&5
6203 echo "$as_me: WARNING: Enabling shared library build, must build as DLL on Windows." >&2;}
6210 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6211 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6216 macro_version='2.2.4'
6217 macro_revision='1.2976'
6231 ltmain="$ac_aux_dir/ltmain.sh"
6233 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6234 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
6235 if test "${ac_cv_path_SED+set}" = set; then
6236 echo $ECHO_N "(cached) $ECHO_C" >&6
6238 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6239 for ac_i in 1 2 3 4 5 6 7; do
6240 ac_script="$ac_script$as_nl$ac_script"
6242 echo "$ac_script" | sed 99q >conftest.sed
6243 $as_unset ac_script || ac_script=
6244 # Extract the first word of "sed gsed" to use in msg output
6245 if test -z "$SED"; then
6246 set dummy sed gsed; ac_prog_name=$2
6247 if test "${ac_cv_path_SED+set}" = set; then
6248 echo $ECHO_N "(cached) $ECHO_C" >&6
6250 ac_path_SED_found=false
6251 # Loop through the user's path and test for each of PROGNAME-LIST
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256 test -z "$as_dir" && as_dir=.
6257 for ac_prog in sed gsed; do
6258 for ac_exec_ext in '' $ac_executable_extensions; do
6259 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6260 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6261 # Check for GNU ac_path_SED and select it if it is found.
6262 # Check for GNU $ac_path_SED
6263 case `"$ac_path_SED" --version 2>&1` in
6265 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6268 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6271 cat "conftest.in" "conftest.in" >"conftest.tmp"
6272 mv "conftest.tmp" "conftest.in"
6273 cp "conftest.in" "conftest.nl"
6274 echo '' >> "conftest.nl"
6275 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6276 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6277 ac_count=`expr $ac_count + 1`
6278 if test $ac_count -gt ${ac_path_SED_max-0}; then
6279 # Best one so far, save it but keep looking for a better one
6280 ac_cv_path_SED="$ac_path_SED"
6281 ac_path_SED_max=$ac_count
6283 # 10*(2^10) chars as input seems more than enough
6284 test $ac_count -gt 10 && break
6286 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6290 $ac_path_SED_found && break 3
6300 SED="$ac_cv_path_SED"
6301 if test -z "$SED"; then
6302 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
6303 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
6304 { (exit 1); exit 1; }; }
6312 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
6313 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
6314 SED="$ac_cv_path_SED"
6317 test -z "$SED" && SED=sed
6318 Xsed="$SED -e 1s/^X//"
6330 { echo "$as_me:$LINENO: checking for fgrep" >&5
6331 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
6332 if test "${ac_cv_path_FGREP+set}" = set; then
6333 echo $ECHO_N "(cached) $ECHO_C" >&6
6335 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6336 then ac_cv_path_FGREP="$GREP -F"
6338 # Extract the first word of "fgrep" to use in msg output
6339 if test -z "$FGREP"; then
6340 set dummy fgrep; ac_prog_name=$2
6341 if test "${ac_cv_path_FGREP+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6344 ac_path_FGREP_found=false
6345 # Loop through the user's path and test for each of PROGNAME-LIST
6346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6347 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6350 test -z "$as_dir" && as_dir=.
6351 for ac_prog in fgrep; do
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6354 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6355 # Check for GNU ac_path_FGREP and select it if it is found.
6356 # Check for GNU $ac_path_FGREP
6357 case `"$ac_path_FGREP" --version 2>&1` in
6359 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6362 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6365 cat "conftest.in" "conftest.in" >"conftest.tmp"
6366 mv "conftest.tmp" "conftest.in"
6367 cp "conftest.in" "conftest.nl"
6368 echo 'FGREP' >> "conftest.nl"
6369 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6370 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6371 ac_count=`expr $ac_count + 1`
6372 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6373 # Best one so far, save it but keep looking for a better one
6374 ac_cv_path_FGREP="$ac_path_FGREP"
6375 ac_path_FGREP_max=$ac_count
6377 # 10*(2^10) chars as input seems more than enough
6378 test $ac_count -gt 10 && break
6380 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6384 $ac_path_FGREP_found && break 3
6394 FGREP="$ac_cv_path_FGREP"
6395 if test -z "$FGREP"; then
6396 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6397 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6398 { (exit 1); exit 1; }; }
6402 ac_cv_path_FGREP=$FGREP
6408 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
6409 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
6410 FGREP="$ac_cv_path_FGREP"
6413 test -z "$GREP" && GREP=grep
6433 # Check whether --with-gnu-ld was given.
6434 if test "${with_gnu_ld+set}" = set; then
6435 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6441 if test "$GCC" = yes; then
6442 # Check if gcc -print-prog-name=ld gives a path.
6443 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6444 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6447 # gcc leaves a trailing carriage return which upsets mingw
6448 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6450 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6453 # Accept absolute paths.
6455 re_direlt='/[^/][^/]*/\.\./'
6456 # Canonicalize the pathname of ld
6457 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6458 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6459 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6461 test -z "$LD" && LD="$ac_prog"
6464 # If it fails, then pretend we aren't using GCC.
6468 # If it is relative, then search for the first ld in PATH.
6472 elif test "$with_gnu_ld" = yes; then
6473 { echo "$as_me:$LINENO: checking for GNU ld" >&5
6474 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6476 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6477 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6479 if test "${lt_cv_path_LD+set}" = set; then
6480 echo $ECHO_N "(cached) $ECHO_C" >&6
6482 if test -z "$LD"; then
6483 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6484 for ac_dir in $PATH; do
6486 test -z "$ac_dir" && ac_dir=.
6487 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6488 lt_cv_path_LD="$ac_dir/$ac_prog"
6489 # Check to see if the program is GNU ld. I'd rather use --version,
6490 # but apparently some variants of GNU ld only accept -v.
6491 # Break only if it was the GNU/non-GNU ld that we prefer.
6492 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6493 *GNU* | *'with BFD'*)
6494 test "$with_gnu_ld" != no && break
6497 test "$with_gnu_ld" != yes && break
6504 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6509 if test -n "$LD"; then
6510 { echo "$as_me:$LINENO: result: $LD" >&5
6511 echo "${ECHO_T}$LD" >&6; }
6513 { echo "$as_me:$LINENO: result: no" >&5
6514 echo "${ECHO_T}no" >&6; }
6516 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6517 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6518 { (exit 1); exit 1; }; }
6519 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6520 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6521 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6522 echo $ECHO_N "(cached) $ECHO_C" >&6
6524 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6525 case `$LD -v 2>&1 </dev/null` in
6526 *GNU* | *'with BFD'*)
6527 lt_cv_prog_gnu_ld=yes
6530 lt_cv_prog_gnu_ld=no
6534 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6535 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6536 with_gnu_ld=$lt_cv_prog_gnu_ld
6546 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
6547 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
6548 if test "${lt_cv_path_NM+set}" = set; then
6549 echo $ECHO_N "(cached) $ECHO_C" >&6
6551 if test -n "$NM"; then
6552 # Let the user override the test.
6555 lt_nm_to_check="${ac_tool_prefix}nm"
6556 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6557 lt_nm_to_check="$lt_nm_to_check nm"
6559 for lt_tmp_nm in $lt_nm_to_check; do
6560 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6561 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6563 test -z "$ac_dir" && ac_dir=.
6564 tmp_nm="$ac_dir/$lt_tmp_nm"
6565 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6566 # Check to see if the nm accepts a BSD-compat flag.
6567 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6568 # nm: unknown option "B" ignored
6569 # Tru64's nm complains that /dev/null is an invalid object file
6570 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6571 */dev/null* | *'Invalid file or object type'*)
6572 lt_cv_path_NM="$tmp_nm -B"
6576 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6578 lt_cv_path_NM="$tmp_nm -p"
6582 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6583 continue # so that we can try to find one that supports BSD flags
6592 : ${lt_cv_path_NM=no}
6595 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6596 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6597 if test "$lt_cv_path_NM" != "no"; then
6600 # Didn't find any BSD compatible name lister, look for dumpbin.
6601 if test -n "$ac_tool_prefix"; then
6602 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6604 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6605 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6608 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
6609 echo $ECHO_N "(cached) $ECHO_C" >&6
6611 if test -n "$DUMPBIN"; then
6612 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 test -z "$as_dir" && as_dir=.
6619 for ac_exec_ext in '' $ac_executable_extensions; do
6620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6621 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6631 DUMPBIN=$ac_cv_prog_DUMPBIN
6632 if test -n "$DUMPBIN"; then
6633 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
6634 echo "${ECHO_T}$DUMPBIN" >&6; }
6636 { echo "$as_me:$LINENO: result: no" >&5
6637 echo "${ECHO_T}no" >&6; }
6641 test -n "$DUMPBIN" && break
6644 if test -z "$DUMPBIN"; then
6645 ac_ct_DUMPBIN=$DUMPBIN
6646 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6648 # Extract the first word of "$ac_prog", so it can be a program name with args.
6649 set dummy $ac_prog; ac_word=$2
6650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6652 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
6653 echo $ECHO_N "(cached) $ECHO_C" >&6
6655 if test -n "$ac_ct_DUMPBIN"; then
6656 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6662 test -z "$as_dir" && as_dir=.
6663 for ac_exec_ext in '' $ac_executable_extensions; do
6664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6665 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6675 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6676 if test -n "$ac_ct_DUMPBIN"; then
6677 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
6678 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
6680 { echo "$as_me:$LINENO: result: no" >&5
6681 echo "${ECHO_T}no" >&6; }
6685 test -n "$ac_ct_DUMPBIN" && break
6688 if test "x$ac_ct_DUMPBIN" = x; then
6691 case $cross_compiling:$ac_tool_warned in
6693 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6694 whose name does not start with the host triplet. If you think this
6695 configuration is useful to you, please write to autoconf@gnu.org." >&5
6696 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6697 whose name does not start with the host triplet. If you think this
6698 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6699 ac_tool_warned=yes ;;
6701 DUMPBIN=$ac_ct_DUMPBIN
6706 if test "$DUMPBIN" != ":"; then
6710 test -z "$NM" && NM=nm
6717 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
6718 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
6719 if test "${lt_cv_nm_interface+set}" = set; then
6720 echo $ECHO_N "(cached) $ECHO_C" >&6
6722 lt_cv_nm_interface="BSD nm"
6723 echo "int some_variable = 0;" > conftest.$ac_ext
6724 (eval echo "\"\$as_me:6724: $ac_compile\"" >&5)
6725 (eval "$ac_compile" 2>conftest.err)
6726 cat conftest.err >&5
6727 (eval echo "\"\$as_me:6727: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6728 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6729 cat conftest.err >&5
6730 (eval echo "\"\$as_me:6730: output\"" >&5)
6731 cat conftest.out >&5
6732 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6733 lt_cv_nm_interface="MS dumpbin"
6737 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6738 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
6740 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6741 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6743 if test "$LN_S" = "ln -s"; then
6744 { echo "$as_me:$LINENO: result: yes" >&5
6745 echo "${ECHO_T}yes" >&6; }
6747 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6748 echo "${ECHO_T}no, using $LN_S" >&6; }
6751 # find the maximum length of command line arguments
6752 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6753 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6754 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6755 echo $ECHO_N "(cached) $ECHO_C" >&6
6762 # On DJGPP, this test can blow up pretty badly due to problems in libc
6763 # (any single argument exceeding 2000 bytes causes a buffer overrun
6764 # during glob expansion). Even if it were fixed, the result of this
6765 # check would be larger than it should be.
6766 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6770 # Under GNU Hurd, this test is not required because there is
6771 # no limit to the length of command line arguments.
6772 # Libtool will interpret -1 as no limit whatsoever
6773 lt_cv_sys_max_cmd_len=-1;
6777 # On Win9x/ME, this test blows up -- it succeeds, but takes
6778 # about 5 minutes as the teststring grows exponentially.
6779 # Worse, since 9x/ME are not pre-emptively multitasking,
6780 # you end up with a "frozen" computer, even though with patience
6781 # the test eventually succeeds (with a max line length of 256k).
6782 # Instead, let's just punt: use the minimum linelength reported by
6783 # all of the supported platforms: 8192 (on NT/2K/XP).
6784 lt_cv_sys_max_cmd_len=8192;
6788 # On AmigaOS with pdksh, this test takes hours, literally.
6789 # So we just punt and use a minimum line length of 8192.
6790 lt_cv_sys_max_cmd_len=8192;
6793 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6794 # This has been around since 386BSD, at least. Likely further.
6795 if test -x /sbin/sysctl; then
6796 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6797 elif test -x /usr/sbin/sysctl; then
6798 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6800 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6802 # And add a safety zone
6803 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6804 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6808 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6809 lt_cv_sys_max_cmd_len=196608
6813 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6814 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6815 # nice to cause kernel panics so lets avoid the loop below.
6816 # First set a reasonable default.
6817 lt_cv_sys_max_cmd_len=16384
6819 if test -x /sbin/sysconfig; then
6820 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6821 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6826 lt_cv_sys_max_cmd_len=102400
6828 sysv5* | sco5v6* | sysv4.2uw2*)
6829 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6830 if test -n "$kargmax"; then
6831 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6833 lt_cv_sys_max_cmd_len=32768
6837 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6838 if test -n "$lt_cv_sys_max_cmd_len"; then
6839 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6840 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6842 # Make teststring a little bigger before we do anything with it.
6843 # a 1K string should be a reasonable start.
6844 for i in 1 2 3 4 5 6 7 8 ; do
6845 teststring=$teststring$teststring
6847 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6848 # If test is not a shell built-in, we'll probably end up computing a
6849 # maximum length that is only half of the actual maximum length, but
6851 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6852 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6853 test $i != 17 # 1/2 MB should be enough
6856 teststring=$teststring$teststring
6858 # Only check the string length outside the loop.
6859 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6861 # Add a significant safety factor because C++ compilers can tack on
6862 # massive amounts of additional arguments before passing them to the
6863 # linker. It appears as though 1/2 is a usable value.
6864 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6871 if test -n $lt_cv_sys_max_cmd_len ; then
6872 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6873 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6875 { echo "$as_me:$LINENO: result: none" >&5
6876 echo "${ECHO_T}none" >&6; }
6878 max_cmd_len=$lt_cv_sys_max_cmd_len
6889 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6890 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
6891 # Try some XSI features
6894 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6896 && eval 'test $(( 1 + 1 )) -eq 2 \
6897 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6899 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
6900 echo "${ECHO_T}$xsi_shell" >&6; }
6903 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
6904 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
6906 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6908 && lt_shell_append=yes
6909 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
6910 echo "${ECHO_T}$lt_shell_append" >&6; }
6913 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6923 # test EBCDIC or ASCII
6924 case `echo X|tr X '\101'` in
6925 A) # ASCII based system
6926 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6927 lt_SP2NL='tr \040 \012'
6928 lt_NL2SP='tr \015\012 \040\040'
6930 *) # EBCDIC based system
6931 lt_SP2NL='tr \100 \n'
6932 lt_NL2SP='tr \r\n \100\100'
6944 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6945 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6946 if test "${lt_cv_ld_reload_flag+set}" = set; then
6947 echo $ECHO_N "(cached) $ECHO_C" >&6
6949 lt_cv_ld_reload_flag='-r'
6951 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6952 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6953 reload_flag=$lt_cv_ld_reload_flag
6954 case $reload_flag in
6956 *) reload_flag=" $reload_flag" ;;
6958 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6961 if test "$GCC" = yes; then
6962 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6964 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6978 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6979 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
6980 if test "${lt_cv_deplibs_check_method+set}" = set; then
6981 echo $ECHO_N "(cached) $ECHO_C" >&6
6983 lt_cv_file_magic_cmd='$MAGIC_CMD'
6984 lt_cv_file_magic_test_file=
6985 lt_cv_deplibs_check_method='unknown'
6986 # Need to set the preceding variable on all platforms that support
6987 # interlibrary dependencies.
6988 # 'none' -- dependencies not supported.
6989 # `unknown' -- same as none, but documents that we really don't know.
6990 # 'pass_all' -- all dependencies passed with no checks.
6991 # 'test_compile' -- check by making test program.
6992 # 'file_magic [[regex]]' -- check by looking for files in library path
6993 # which responds to the $file_magic_cmd with a given extended regex.
6994 # If you have `file' or equivalent on your system and you're not sure
6995 # whether `pass_all' will *always* work, you probably want this one.
6999 lt_cv_deplibs_check_method=pass_all
7003 lt_cv_deplibs_check_method=pass_all
7007 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7008 lt_cv_file_magic_cmd='/usr/bin/file -L'
7009 lt_cv_file_magic_test_file=/shlib/libc.so
7013 # func_win32_libid is a shell function defined in ltmain.sh
7014 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7015 lt_cv_file_magic_cmd='func_win32_libid'
7019 # Base MSYS/MinGW do not provide the 'file' command needed by
7020 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7021 # unless we find 'file', for example because we are cross-compiling.
7022 if ( file / ) >/dev/null 2>&1; then
7023 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7024 lt_cv_file_magic_cmd='func_win32_libid'
7026 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7027 lt_cv_file_magic_cmd='$OBJDUMP -f'
7031 darwin* | rhapsody*)
7032 lt_cv_deplibs_check_method=pass_all
7035 freebsd* | dragonfly*)
7036 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7039 # Not sure whether the presence of OpenBSD here was a mistake.
7040 # Let's accept both of them until this is cleared up.
7041 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7042 lt_cv_file_magic_cmd=/usr/bin/file
7043 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7047 lt_cv_deplibs_check_method=pass_all
7052 lt_cv_deplibs_check_method=pass_all
7055 hpux10.20* | hpux11*)
7056 lt_cv_file_magic_cmd=/usr/bin/file
7059 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7060 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7063 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
7064 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7067 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7068 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7074 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7075 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7078 irix5* | irix6* | nonstopux*)
7080 *-32|*"-32 ") libmagic=32-bit;;
7081 *-n32|*"-n32 ") libmagic=N32;;
7082 *-64|*"-64 ") libmagic=64-bit;;
7083 *) libmagic=never-match;;
7085 lt_cv_deplibs_check_method=pass_all
7088 # This must be Linux ELF.
7089 linux* | k*bsd*-gnu)
7090 lt_cv_deplibs_check_method=pass_all
7094 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7095 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7097 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7102 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7103 lt_cv_file_magic_cmd=/usr/bin/file
7104 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7108 lt_cv_deplibs_check_method=pass_all
7112 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7113 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7115 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7119 osf3* | osf4* | osf5*)
7120 lt_cv_deplibs_check_method=pass_all
7124 lt_cv_deplibs_check_method=pass_all
7128 lt_cv_deplibs_check_method=pass_all
7131 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7132 lt_cv_deplibs_check_method=pass_all
7136 case $host_vendor in
7138 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]'
7139 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7142 lt_cv_deplibs_check_method=pass_all
7145 lt_cv_file_magic_cmd='/bin/file'
7146 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7149 lt_cv_file_magic_cmd='/bin/file'
7150 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7151 lt_cv_file_magic_test_file=/lib/libc.so
7154 lt_cv_deplibs_check_method=pass_all
7157 lt_cv_deplibs_check_method=pass_all
7163 lt_cv_deplibs_check_method=pass_all
7168 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7169 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
7170 file_magic_cmd=$lt_cv_file_magic_cmd
7171 deplibs_check_method=$lt_cv_deplibs_check_method
7172 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7185 if test -n "$ac_tool_prefix"; then
7186 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7187 set dummy ${ac_tool_prefix}ar; ac_word=$2
7188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7190 if test "${ac_cv_prog_AR+set}" = set; then
7191 echo $ECHO_N "(cached) $ECHO_C" >&6
7193 if test -n "$AR"; then
7194 ac_cv_prog_AR="$AR" # Let the user override the test.
7196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7200 test -z "$as_dir" && as_dir=.
7201 for ac_exec_ext in '' $ac_executable_extensions; do
7202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7203 ac_cv_prog_AR="${ac_tool_prefix}ar"
7204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7214 if test -n "$AR"; then
7215 { echo "$as_me:$LINENO: result: $AR" >&5
7216 echo "${ECHO_T}$AR" >&6; }
7218 { echo "$as_me:$LINENO: result: no" >&5
7219 echo "${ECHO_T}no" >&6; }
7224 if test -z "$ac_cv_prog_AR"; then
7226 # Extract the first word of "ar", so it can be a program name with args.
7227 set dummy ar; ac_word=$2
7228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7230 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7231 echo $ECHO_N "(cached) $ECHO_C" >&6
7233 if test -n "$ac_ct_AR"; then
7234 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7240 test -z "$as_dir" && as_dir=.
7241 for ac_exec_ext in '' $ac_executable_extensions; do
7242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7243 ac_cv_prog_ac_ct_AR="ar"
7244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7253 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7254 if test -n "$ac_ct_AR"; then
7255 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7256 echo "${ECHO_T}$ac_ct_AR" >&6; }
7258 { echo "$as_me:$LINENO: result: no" >&5
7259 echo "${ECHO_T}no" >&6; }
7262 if test "x$ac_ct_AR" = x; then
7265 case $cross_compiling:$ac_tool_warned in
7267 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7268 whose name does not start with the host triplet. If you think this
7269 configuration is useful to you, please write to autoconf@gnu.org." >&5
7270 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7271 whose name does not start with the host triplet. If you think this
7272 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7273 ac_tool_warned=yes ;;
7281 test -z "$AR" && AR=ar
7282 test -z "$AR_FLAGS" && AR_FLAGS=cru
7294 if test -n "$ac_tool_prefix"; then
7295 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7296 set dummy ${ac_tool_prefix}strip; ac_word=$2
7297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7299 if test "${ac_cv_prog_STRIP+set}" = set; then
7300 echo $ECHO_N "(cached) $ECHO_C" >&6
7302 if test -n "$STRIP"; then
7303 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7309 test -z "$as_dir" && as_dir=.
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7322 STRIP=$ac_cv_prog_STRIP
7323 if test -n "$STRIP"; then
7324 { echo "$as_me:$LINENO: result: $STRIP" >&5
7325 echo "${ECHO_T}$STRIP" >&6; }
7327 { echo "$as_me:$LINENO: result: no" >&5
7328 echo "${ECHO_T}no" >&6; }
7333 if test -z "$ac_cv_prog_STRIP"; then
7335 # Extract the first word of "strip", so it can be a program name with args.
7336 set dummy strip; ac_word=$2
7337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7339 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7340 echo $ECHO_N "(cached) $ECHO_C" >&6
7342 if test -n "$ac_ct_STRIP"; then
7343 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 test -z "$as_dir" && as_dir=.
7350 for ac_exec_ext in '' $ac_executable_extensions; do
7351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7352 ac_cv_prog_ac_ct_STRIP="strip"
7353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7362 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7363 if test -n "$ac_ct_STRIP"; then
7364 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7365 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7367 { echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6; }
7371 if test "x$ac_ct_STRIP" = x; then
7374 case $cross_compiling:$ac_tool_warned in
7376 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7377 whose name does not start with the host triplet. If you think this
7378 configuration is useful to you, please write to autoconf@gnu.org." >&5
7379 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7380 whose name does not start with the host triplet. If you think this
7381 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7382 ac_tool_warned=yes ;;
7387 STRIP="$ac_cv_prog_STRIP"
7390 test -z "$STRIP" && STRIP=:
7397 if test -n "$ac_tool_prefix"; then
7398 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7399 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7402 if test "${ac_cv_prog_RANLIB+set}" = set; then
7403 echo $ECHO_N "(cached) $ECHO_C" >&6
7405 if test -n "$RANLIB"; then
7406 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7412 test -z "$as_dir" && as_dir=.
7413 for ac_exec_ext in '' $ac_executable_extensions; do
7414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7415 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7425 RANLIB=$ac_cv_prog_RANLIB
7426 if test -n "$RANLIB"; then
7427 { echo "$as_me:$LINENO: result: $RANLIB" >&5
7428 echo "${ECHO_T}$RANLIB" >&6; }
7430 { echo "$as_me:$LINENO: result: no" >&5
7431 echo "${ECHO_T}no" >&6; }
7436 if test -z "$ac_cv_prog_RANLIB"; then
7437 ac_ct_RANLIB=$RANLIB
7438 # Extract the first word of "ranlib", so it can be a program name with args.
7439 set dummy ranlib; ac_word=$2
7440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7442 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7443 echo $ECHO_N "(cached) $ECHO_C" >&6
7445 if test -n "$ac_ct_RANLIB"; then
7446 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7452 test -z "$as_dir" && as_dir=.
7453 for ac_exec_ext in '' $ac_executable_extensions; do
7454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7455 ac_cv_prog_ac_ct_RANLIB="ranlib"
7456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7465 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7466 if test -n "$ac_ct_RANLIB"; then
7467 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7468 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7470 { echo "$as_me:$LINENO: result: no" >&5
7471 echo "${ECHO_T}no" >&6; }
7474 if test "x$ac_ct_RANLIB" = x; then
7477 case $cross_compiling:$ac_tool_warned in
7479 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7480 whose name does not start with the host triplet. If you think this
7481 configuration is useful to you, please write to autoconf@gnu.org." >&5
7482 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7483 whose name does not start with the host triplet. If you think this
7484 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7485 ac_tool_warned=yes ;;
7487 RANLIB=$ac_ct_RANLIB
7490 RANLIB="$ac_cv_prog_RANLIB"
7493 test -z "$RANLIB" && RANLIB=:
7500 # Determine commands to create old-style static archives.
7501 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7502 old_postinstall_cmds='chmod 644 $oldlib'
7503 old_postuninstall_cmds=
7505 if test -n "$RANLIB"; then
7508 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7511 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7514 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7550 # If no C compiler was specified, use CC.
7553 # If no C compiler flags were specified, use CFLAGS.
7554 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7556 # Allow CC to be a program name with arguments.
7560 # Check for command to grab the raw symbol name followed by C symbol from nm.
7561 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7562 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7563 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7564 echo $ECHO_N "(cached) $ECHO_C" >&6
7567 # These are sane defaults that work on at least a few old systems.
7568 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7570 # Character class describing NM global symbol codes.
7571 symcode='[BCDEGRST]'
7573 # Regexp to match symbols that can be accessed directly from C.
7574 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7576 # Define system-specific variables.
7581 cygwin* | mingw* | pw32*)
7582 symcode='[ABCDGISTW]'
7585 if test "$host_cpu" = ia64; then
7586 symcode='[ABCDEGRST]'
7590 symcode='[BCDEGRST]'
7593 symcode='[BCDEGQRST]'
7604 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7612 # If we're using GNU nm, then use its standard symbol codes.
7613 case `$NM -V 2>&1` in
7614 *GNU* | *'with BFD'*)
7615 symcode='[ABCDGIRSTW]' ;;
7618 # Transform an extracted symbol line into a proper C declaration.
7619 # Some systems (esp. on ia64) link data and code symbols differently,
7620 # so use this general approach.
7621 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7623 # Transform an extracted symbol line into symbol name and symbol address
7624 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7625 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'"
7627 # Handle CRLF in mingw tool chain
7631 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7635 # Try without a prefix underscore, then with it.
7636 for ac_symprfx in "" "_"; do
7638 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7639 symxfrm="\\1 $ac_symprfx\\2 \\2"
7641 # Write the raw and C identifiers.
7642 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7643 # Fake it for dumpbin and say T for any non-static function
7644 # and D for any global variable.
7645 # Also find C++ and __fastcall symbols from MSVC++,
7646 # which start with @ or ?.
7647 lt_cv_sys_global_symbol_pipe="$AWK '"\
7648 " {last_section=section; section=\$ 3};"\
7649 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7650 " \$ 0!~/External *\|/{next};"\
7651 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7652 " {if(hide[section]) next};"\
7653 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7654 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7655 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7656 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7657 " ' prfx=^$ac_symprfx"
7659 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7662 # Check to see that the pipe works correctly.
7666 cat > conftest.$ac_ext <<_LT_EOF
7671 void nm_test_func(void);
7672 void nm_test_func(void){}
7676 int main(){nm_test_var='a';nm_test_func();return(0);}
7679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7680 (eval $ac_compile) 2>&5
7682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683 (exit $ac_status); }; then
7684 # Now try to grab the symbols.
7686 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7687 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7690 (exit $ac_status); } && test -s "$nlist"; then
7691 # Try sorting and uniquifying the output.
7692 if sort "$nlist" | uniq > "$nlist"T; then
7693 mv -f "$nlist"T "$nlist"
7698 # Make sure that we snagged all the symbols we need.
7699 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7700 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7701 cat <<_LT_EOF > conftest.$ac_ext
7707 # Now generate the symbol file.
7708 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7710 cat <<_LT_EOF >> conftest.$ac_ext
7712 /* The mapping between symbol names and symbols. */
7717 lt__PROGRAM__LTX_preloaded_symbols[] =
7719 { "@PROGRAM@", (void *) 0 },
7721 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7722 cat <<\_LT_EOF >> conftest.$ac_ext
7726 /* This works around a problem in FreeBSD linker */
7727 #ifdef FREEBSD_WORKAROUND
7728 static const void *lt_preloaded_setup() {
7729 return lt__PROGRAM__LTX_preloaded_symbols;
7737 # Now try linking the two files.
7738 mv conftest.$ac_objext conftstm.$ac_objext
7739 lt_save_LIBS="$LIBS"
7740 lt_save_CFLAGS="$CFLAGS"
7741 LIBS="conftstm.$ac_objext"
7742 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7744 (eval $ac_link) 2>&5
7746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747 (exit $ac_status); } && test -s conftest${ac_exeext}; then
7750 LIBS="$lt_save_LIBS"
7751 CFLAGS="$lt_save_CFLAGS"
7753 echo "cannot find nm_test_func in $nlist" >&5
7756 echo "cannot find nm_test_var in $nlist" >&5
7759 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7762 echo "$progname: failed program was:" >&5
7763 cat conftest.$ac_ext >&5
7765 rm -rf conftest* conftst*
7767 # Do not use the global_symbol_pipe unless it works.
7768 if test "$pipe_works" = yes; then
7771 lt_cv_sys_global_symbol_pipe=
7777 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7778 lt_cv_sys_global_symbol_to_cdecl=
7780 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7781 { echo "$as_me:$LINENO: result: failed" >&5
7782 echo "${ECHO_T}failed" >&6; }
7784 { echo "$as_me:$LINENO: result: ok" >&5
7785 echo "${ECHO_T}ok" >&6; }
7809 # Check whether --enable-libtool-lock was given.
7810 if test "${enable_libtool_lock+set}" = set; then
7811 enableval=$enable_libtool_lock;
7814 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7816 # Some flags need to be propagated to the compiler or linker for good
7820 # Find out which ABI we are using.
7821 echo 'int i;' > conftest.$ac_ext
7822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7823 (eval $ac_compile) 2>&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); }; then
7827 case `/usr/bin/file conftest.$ac_objext` in
7839 # Find out which ABI we are using.
7840 echo '#line 7840 "configure"' > conftest.$ac_ext
7841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7842 (eval $ac_compile) 2>&5
7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7845 (exit $ac_status); }; then
7846 if test "$lt_cv_prog_gnu_ld" = yes; then
7847 case `/usr/bin/file conftest.$ac_objext` in
7849 LD="${LD-ld} -melf32bsmip"
7852 LD="${LD-ld} -melf32bmipn32"
7855 LD="${LD-ld} -melf64bmip"
7859 case `/usr/bin/file conftest.$ac_objext` in
7875 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7876 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7877 # Find out which ABI we are using.
7878 echo 'int i;' > conftest.$ac_ext
7879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7880 (eval $ac_compile) 2>&5
7882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883 (exit $ac_status); }; then
7884 case `/usr/bin/file conftest.o` in
7887 x86_64-*kfreebsd*-gnu)
7888 LD="${LD-ld} -m elf_i386_fbsd"
7891 LD="${LD-ld} -m elf_i386"
7893 ppc64-*linux*|powerpc64-*linux*)
7894 LD="${LD-ld} -m elf32ppclinux"
7897 LD="${LD-ld} -m elf_s390"
7900 LD="${LD-ld} -m elf32_sparc"
7906 x86_64-*kfreebsd*-gnu)
7907 LD="${LD-ld} -m elf_x86_64_fbsd"
7910 LD="${LD-ld} -m elf_x86_64"
7912 ppc*-*linux*|powerpc*-*linux*)
7913 LD="${LD-ld} -m elf64ppc"
7915 s390*-*linux*|s390*-*tpf*)
7916 LD="${LD-ld} -m elf64_s390"
7919 LD="${LD-ld} -m elf64_sparc"
7929 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7930 SAVE_CFLAGS="$CFLAGS"
7931 CFLAGS="$CFLAGS -belf"
7932 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7933 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
7934 if test "${lt_cv_cc_needs_belf+set}" = set; then
7935 echo $ECHO_N "(cached) $ECHO_C" >&6
7938 ac_cpp='$CPP $CPPFLAGS'
7939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7943 cat >conftest.$ac_ext <<_ACEOF
7946 cat confdefs.h >>conftest.$ac_ext
7947 cat >>conftest.$ac_ext <<_ACEOF
7948 /* end confdefs.h. */
7958 rm -f conftest.$ac_objext conftest$ac_exeext
7959 if { (ac_try="$ac_link"
7961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7962 *) ac_try_echo=$ac_try;;
7964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7965 (eval "$ac_link") 2>conftest.er1
7967 grep -v '^ *+' conftest.er1 >conftest.err
7969 cat conftest.err >&5
7970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7971 (exit $ac_status); } && {
7972 test -z "$ac_c_werror_flag" ||
7973 test ! -s conftest.err
7974 } && test -s conftest$ac_exeext &&
7975 $as_test_x conftest$ac_exeext; then
7976 lt_cv_cc_needs_belf=yes
7978 echo "$as_me: failed program was:" >&5
7979 sed 's/^/| /' conftest.$ac_ext >&5
7981 lt_cv_cc_needs_belf=no
7984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7985 conftest$ac_exeext conftest.$ac_ext
7987 ac_cpp='$CPP $CPPFLAGS'
7988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7993 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7994 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
7995 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7996 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7997 CFLAGS="$SAVE_CFLAGS"
8001 # Find out which ABI we are using.
8002 echo 'int i;' > conftest.$ac_ext
8003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8004 (eval $ac_compile) 2>&5
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); }; then
8008 case `/usr/bin/file conftest.o` in
8010 case $lt_cv_prog_gnu_ld in
8011 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8013 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8025 need_locks="$enable_libtool_lock"
8029 rhapsody* | darwin*)
8030 if test -n "$ac_tool_prefix"; then
8031 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8032 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8035 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8036 echo $ECHO_N "(cached) $ECHO_C" >&6
8038 if test -n "$DSYMUTIL"; then
8039 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8045 test -z "$as_dir" && as_dir=.
8046 for ac_exec_ext in '' $ac_executable_extensions; do
8047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8048 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8058 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8059 if test -n "$DSYMUTIL"; then
8060 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8061 echo "${ECHO_T}$DSYMUTIL" >&6; }
8063 { echo "$as_me:$LINENO: result: no" >&5
8064 echo "${ECHO_T}no" >&6; }
8069 if test -z "$ac_cv_prog_DSYMUTIL"; then
8070 ac_ct_DSYMUTIL=$DSYMUTIL
8071 # Extract the first word of "dsymutil", so it can be a program name with args.
8072 set dummy dsymutil; ac_word=$2
8073 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8075 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8076 echo $ECHO_N "(cached) $ECHO_C" >&6
8078 if test -n "$ac_ct_DSYMUTIL"; then
8079 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8085 test -z "$as_dir" && as_dir=.
8086 for ac_exec_ext in '' $ac_executable_extensions; do
8087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8088 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8098 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8099 if test -n "$ac_ct_DSYMUTIL"; then
8100 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
8101 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
8103 { echo "$as_me:$LINENO: result: no" >&5
8104 echo "${ECHO_T}no" >&6; }
8107 if test "x$ac_ct_DSYMUTIL" = x; then
8110 case $cross_compiling:$ac_tool_warned in
8112 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8113 whose name does not start with the host triplet. If you think this
8114 configuration is useful to you, please write to autoconf@gnu.org." >&5
8115 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8116 whose name does not start with the host triplet. If you think this
8117 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8118 ac_tool_warned=yes ;;
8120 DSYMUTIL=$ac_ct_DSYMUTIL
8123 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8126 if test -n "$ac_tool_prefix"; then
8127 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8128 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8131 if test "${ac_cv_prog_NMEDIT+set}" = set; then
8132 echo $ECHO_N "(cached) $ECHO_C" >&6
8134 if test -n "$NMEDIT"; then
8135 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8141 test -z "$as_dir" && as_dir=.
8142 for ac_exec_ext in '' $ac_executable_extensions; do
8143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8144 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8154 NMEDIT=$ac_cv_prog_NMEDIT
8155 if test -n "$NMEDIT"; then
8156 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
8157 echo "${ECHO_T}$NMEDIT" >&6; }
8159 { echo "$as_me:$LINENO: result: no" >&5
8160 echo "${ECHO_T}no" >&6; }
8165 if test -z "$ac_cv_prog_NMEDIT"; then
8166 ac_ct_NMEDIT=$NMEDIT
8167 # Extract the first word of "nmedit", so it can be a program name with args.
8168 set dummy nmedit; ac_word=$2
8169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8171 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8172 echo $ECHO_N "(cached) $ECHO_C" >&6
8174 if test -n "$ac_ct_NMEDIT"; then
8175 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8181 test -z "$as_dir" && as_dir=.
8182 for ac_exec_ext in '' $ac_executable_extensions; do
8183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8184 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8194 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8195 if test -n "$ac_ct_NMEDIT"; then
8196 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
8197 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
8199 { echo "$as_me:$LINENO: result: no" >&5
8200 echo "${ECHO_T}no" >&6; }
8203 if test "x$ac_ct_NMEDIT" = x; then
8206 case $cross_compiling:$ac_tool_warned in
8208 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8209 whose name does not start with the host triplet. If you think this
8210 configuration is useful to you, please write to autoconf@gnu.org." >&5
8211 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8212 whose name does not start with the host triplet. If you think this
8213 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8214 ac_tool_warned=yes ;;
8216 NMEDIT=$ac_ct_NMEDIT
8219 NMEDIT="$ac_cv_prog_NMEDIT"
8222 if test -n "$ac_tool_prefix"; then
8223 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8224 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8227 if test "${ac_cv_prog_LIPO+set}" = set; then
8228 echo $ECHO_N "(cached) $ECHO_C" >&6
8230 if test -n "$LIPO"; then
8231 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8237 test -z "$as_dir" && as_dir=.
8238 for ac_exec_ext in '' $ac_executable_extensions; do
8239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8240 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8250 LIPO=$ac_cv_prog_LIPO
8251 if test -n "$LIPO"; then
8252 { echo "$as_me:$LINENO: result: $LIPO" >&5
8253 echo "${ECHO_T}$LIPO" >&6; }
8255 { echo "$as_me:$LINENO: result: no" >&5
8256 echo "${ECHO_T}no" >&6; }
8261 if test -z "$ac_cv_prog_LIPO"; then
8263 # Extract the first word of "lipo", so it can be a program name with args.
8264 set dummy lipo; ac_word=$2
8265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8267 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
8268 echo $ECHO_N "(cached) $ECHO_C" >&6
8270 if test -n "$ac_ct_LIPO"; then
8271 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8277 test -z "$as_dir" && as_dir=.
8278 for ac_exec_ext in '' $ac_executable_extensions; do
8279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8280 ac_cv_prog_ac_ct_LIPO="lipo"
8281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8290 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8291 if test -n "$ac_ct_LIPO"; then
8292 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
8293 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
8295 { echo "$as_me:$LINENO: result: no" >&5
8296 echo "${ECHO_T}no" >&6; }
8299 if test "x$ac_ct_LIPO" = x; then
8302 case $cross_compiling:$ac_tool_warned in
8304 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8305 whose name does not start with the host triplet. If you think this
8306 configuration is useful to you, please write to autoconf@gnu.org." >&5
8307 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8308 whose name does not start with the host triplet. If you think this
8309 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8310 ac_tool_warned=yes ;;
8315 LIPO="$ac_cv_prog_LIPO"
8318 if test -n "$ac_tool_prefix"; then
8319 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8320 set dummy ${ac_tool_prefix}otool; ac_word=$2
8321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8323 if test "${ac_cv_prog_OTOOL+set}" = set; then
8324 echo $ECHO_N "(cached) $ECHO_C" >&6
8326 if test -n "$OTOOL"; then
8327 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8333 test -z "$as_dir" && as_dir=.
8334 for ac_exec_ext in '' $ac_executable_extensions; do
8335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8336 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8346 OTOOL=$ac_cv_prog_OTOOL
8347 if test -n "$OTOOL"; then
8348 { echo "$as_me:$LINENO: result: $OTOOL" >&5
8349 echo "${ECHO_T}$OTOOL" >&6; }
8351 { echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6; }
8357 if test -z "$ac_cv_prog_OTOOL"; then
8359 # Extract the first word of "otool", so it can be a program name with args.
8360 set dummy otool; ac_word=$2
8361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8363 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
8364 echo $ECHO_N "(cached) $ECHO_C" >&6
8366 if test -n "$ac_ct_OTOOL"; then
8367 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8373 test -z "$as_dir" && as_dir=.
8374 for ac_exec_ext in '' $ac_executable_extensions; do
8375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8376 ac_cv_prog_ac_ct_OTOOL="otool"
8377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8386 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8387 if test -n "$ac_ct_OTOOL"; then
8388 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
8389 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
8391 { echo "$as_me:$LINENO: result: no" >&5
8392 echo "${ECHO_T}no" >&6; }
8395 if test "x$ac_ct_OTOOL" = x; then
8398 case $cross_compiling:$ac_tool_warned in
8400 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8401 whose name does not start with the host triplet. If you think this
8402 configuration is useful to you, please write to autoconf@gnu.org." >&5
8403 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8404 whose name does not start with the host triplet. If you think this
8405 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8406 ac_tool_warned=yes ;;
8411 OTOOL="$ac_cv_prog_OTOOL"
8414 if test -n "$ac_tool_prefix"; then
8415 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8416 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8419 if test "${ac_cv_prog_OTOOL64+set}" = set; then
8420 echo $ECHO_N "(cached) $ECHO_C" >&6
8422 if test -n "$OTOOL64"; then
8423 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8429 test -z "$as_dir" && as_dir=.
8430 for ac_exec_ext in '' $ac_executable_extensions; do
8431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8432 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8442 OTOOL64=$ac_cv_prog_OTOOL64
8443 if test -n "$OTOOL64"; then
8444 { echo "$as_me:$LINENO: result: $OTOOL64" >&5
8445 echo "${ECHO_T}$OTOOL64" >&6; }
8447 { echo "$as_me:$LINENO: result: no" >&5
8448 echo "${ECHO_T}no" >&6; }
8453 if test -z "$ac_cv_prog_OTOOL64"; then
8454 ac_ct_OTOOL64=$OTOOL64
8455 # Extract the first word of "otool64", so it can be a program name with args.
8456 set dummy otool64; ac_word=$2
8457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8459 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
8460 echo $ECHO_N "(cached) $ECHO_C" >&6
8462 if test -n "$ac_ct_OTOOL64"; then
8463 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8469 test -z "$as_dir" && as_dir=.
8470 for ac_exec_ext in '' $ac_executable_extensions; do
8471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8472 ac_cv_prog_ac_ct_OTOOL64="otool64"
8473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8482 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8483 if test -n "$ac_ct_OTOOL64"; then
8484 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
8485 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
8487 { echo "$as_me:$LINENO: result: no" >&5
8488 echo "${ECHO_T}no" >&6; }
8491 if test "x$ac_ct_OTOOL64" = x; then
8494 case $cross_compiling:$ac_tool_warned in
8496 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8497 whose name does not start with the host triplet. If you think this
8498 configuration is useful to you, please write to autoconf@gnu.org." >&5
8499 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8500 whose name does not start with the host triplet. If you think this
8501 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8502 ac_tool_warned=yes ;;
8504 OTOOL64=$ac_ct_OTOOL64
8507 OTOOL64="$ac_cv_prog_OTOOL64"
8536 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8537 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
8538 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8539 echo $ECHO_N "(cached) $ECHO_C" >&6
8541 lt_cv_apple_cc_single_mod=no
8542 if test -z "${LT_MULTI_MODULE}"; then
8543 # By default we will add the -single_module flag. You can override
8544 # by either setting the environment variable LT_MULTI_MODULE
8545 # non-empty at configure time, or by adding -multi_module to the
8547 rm -rf libconftest.dylib*
8548 echo "int foo(void){return 1;}" > conftest.c
8549 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8550 -dynamiclib -Wl,-single_module conftest.c" >&5
8551 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8552 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8554 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8555 lt_cv_apple_cc_single_mod=yes
8557 cat conftest.err >&5
8559 rm -rf libconftest.dylib*
8563 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8564 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
8565 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
8566 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
8567 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8568 echo $ECHO_N "(cached) $ECHO_C" >&6
8570 lt_cv_ld_exported_symbols_list=no
8571 save_LDFLAGS=$LDFLAGS
8572 echo "_main" > conftest.sym
8573 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8574 cat >conftest.$ac_ext <<_ACEOF
8577 cat confdefs.h >>conftest.$ac_ext
8578 cat >>conftest.$ac_ext <<_ACEOF
8579 /* end confdefs.h. */
8589 rm -f conftest.$ac_objext conftest$ac_exeext
8590 if { (ac_try="$ac_link"
8592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8593 *) ac_try_echo=$ac_try;;
8595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8596 (eval "$ac_link") 2>conftest.er1
8598 grep -v '^ *+' conftest.er1 >conftest.err
8600 cat conftest.err >&5
8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); } && {
8603 test -z "$ac_c_werror_flag" ||
8604 test ! -s conftest.err
8605 } && test -s conftest$ac_exeext &&
8606 $as_test_x conftest$ac_exeext; then
8607 lt_cv_ld_exported_symbols_list=yes
8609 echo "$as_me: failed program was:" >&5
8610 sed 's/^/| /' conftest.$ac_ext >&5
8612 lt_cv_ld_exported_symbols_list=no
8615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8616 conftest$ac_exeext conftest.$ac_ext
8617 LDFLAGS="$save_LDFLAGS"
8620 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8621 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
8623 rhapsody* | darwin1.[012])
8624 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8626 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8627 darwin*) # darwin 5.x on
8628 # if running on 10.5 or later, the deployment target defaults
8629 # to the OS version, if on x86, and 10.4, the deployment
8630 # target defaults to 10.4. Don't you love it?
8631 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8632 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8633 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8635 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8637 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8641 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8642 _lt_dar_single_mod='$single_module'
8644 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8645 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8647 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8649 if test "$DSYMUTIL" != ":"; then
8650 _lt_dsymutil='~$DSYMUTIL $lib || :'
8658 for ac_header in dlfcn.h
8660 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8661 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8664 echo $ECHO_N "(cached) $ECHO_C" >&6
8666 cat >conftest.$ac_ext <<_ACEOF
8669 cat confdefs.h >>conftest.$ac_ext
8670 cat >>conftest.$ac_ext <<_ACEOF
8671 /* end confdefs.h. */
8672 $ac_includes_default
8674 #include <$ac_header>
8676 rm -f conftest.$ac_objext
8677 if { (ac_try="$ac_compile"
8679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8680 *) ac_try_echo=$ac_try;;
8682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8683 (eval "$ac_compile") 2>conftest.er1
8685 grep -v '^ *+' conftest.er1 >conftest.err
8687 cat conftest.err >&5
8688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689 (exit $ac_status); } && {
8690 test -z "$ac_c_werror_flag" ||
8691 test ! -s conftest.err
8692 } && test -s conftest.$ac_objext; then
8693 eval "$as_ac_Header=yes"
8695 echo "$as_me: failed program was:" >&5
8696 sed 's/^/| /' conftest.$ac_ext >&5
8698 eval "$as_ac_Header=no"
8701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8703 ac_res=`eval echo '${'$as_ac_Header'}'`
8704 { echo "$as_me:$LINENO: result: $ac_res" >&5
8705 echo "${ECHO_T}$ac_res" >&6; }
8706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8707 cat >>confdefs.h <<_ACEOF
8708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8718 ac_cpp='$CXXCPP $CPPFLAGS'
8719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8722 if test -z "$CXX"; then
8723 if test -n "$CCC"; then
8726 if test -n "$ac_tool_prefix"; then
8727 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8729 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8730 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8731 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8733 if test "${ac_cv_prog_CXX+set}" = set; then
8734 echo $ECHO_N "(cached) $ECHO_C" >&6
8736 if test -n "$CXX"; then
8737 ac_cv_prog_CXX="$CXX" # Let the user override the test.
8739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8743 test -z "$as_dir" && as_dir=.
8744 for ac_exec_ext in '' $ac_executable_extensions; do
8745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8746 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8757 if test -n "$CXX"; then
8758 { echo "$as_me:$LINENO: result: $CXX" >&5
8759 echo "${ECHO_T}$CXX" >&6; }
8761 { echo "$as_me:$LINENO: result: no" >&5
8762 echo "${ECHO_T}no" >&6; }
8766 test -n "$CXX" && break
8769 if test -z "$CXX"; then
8771 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8773 # Extract the first word of "$ac_prog", so it can be a program name with args.
8774 set dummy $ac_prog; ac_word=$2
8775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8777 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
8778 echo $ECHO_N "(cached) $ECHO_C" >&6
8780 if test -n "$ac_ct_CXX"; then
8781 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
8783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8787 test -z "$as_dir" && as_dir=.
8788 for ac_exec_ext in '' $ac_executable_extensions; do
8789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8790 ac_cv_prog_ac_ct_CXX="$ac_prog"
8791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8800 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8801 if test -n "$ac_ct_CXX"; then
8802 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
8803 echo "${ECHO_T}$ac_ct_CXX" >&6; }
8805 { echo "$as_me:$LINENO: result: no" >&5
8806 echo "${ECHO_T}no" >&6; }
8810 test -n "$ac_ct_CXX" && break
8813 if test "x$ac_ct_CXX" = x; then
8816 case $cross_compiling:$ac_tool_warned in
8818 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8819 whose name does not start with the host triplet. If you think this
8820 configuration is useful to you, please write to autoconf@gnu.org." >&5
8821 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8822 whose name does not start with the host triplet. If you think this
8823 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8824 ac_tool_warned=yes ;;
8832 # Provide some information about the compiler.
8833 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
8834 ac_compiler=`set X $ac_compile; echo $2`
8835 { (ac_try="$ac_compiler --version >&5"
8837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8838 *) ac_try_echo=$ac_try;;
8840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8841 (eval "$ac_compiler --version >&5") 2>&5
8843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844 (exit $ac_status); }
8845 { (ac_try="$ac_compiler -v >&5"
8847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8848 *) ac_try_echo=$ac_try;;
8850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8851 (eval "$ac_compiler -v >&5") 2>&5
8853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854 (exit $ac_status); }
8855 { (ac_try="$ac_compiler -V >&5"
8857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8858 *) ac_try_echo=$ac_try;;
8860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8861 (eval "$ac_compiler -V >&5") 2>&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); }
8866 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
8867 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
8868 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
8869 echo $ECHO_N "(cached) $ECHO_C" >&6
8871 cat >conftest.$ac_ext <<_ACEOF
8874 cat confdefs.h >>conftest.$ac_ext
8875 cat >>conftest.$ac_ext <<_ACEOF
8876 /* end confdefs.h. */
8889 rm -f conftest.$ac_objext
8890 if { (ac_try="$ac_compile"
8892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8893 *) ac_try_echo=$ac_try;;
8895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8896 (eval "$ac_compile") 2>conftest.er1
8898 grep -v '^ *+' conftest.er1 >conftest.err
8900 cat conftest.err >&5
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 (exit $ac_status); } && {
8903 test -z "$ac_cxx_werror_flag" ||
8904 test ! -s conftest.err
8905 } && test -s conftest.$ac_objext; then
8908 echo "$as_me: failed program was:" >&5
8909 sed 's/^/| /' conftest.$ac_ext >&5
8914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8915 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8918 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
8919 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
8920 GXX=`test $ac_compiler_gnu = yes && echo yes`
8921 ac_test_CXXFLAGS=${CXXFLAGS+set}
8922 ac_save_CXXFLAGS=$CXXFLAGS
8923 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
8924 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
8925 if test "${ac_cv_prog_cxx_g+set}" = set; then
8926 echo $ECHO_N "(cached) $ECHO_C" >&6
8928 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8929 ac_cxx_werror_flag=yes
8932 cat >conftest.$ac_ext <<_ACEOF
8935 cat confdefs.h >>conftest.$ac_ext
8936 cat >>conftest.$ac_ext <<_ACEOF
8937 /* end confdefs.h. */
8947 rm -f conftest.$ac_objext
8948 if { (ac_try="$ac_compile"
8950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8951 *) ac_try_echo=$ac_try;;
8953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8954 (eval "$ac_compile") 2>conftest.er1
8956 grep -v '^ *+' conftest.er1 >conftest.err
8958 cat conftest.err >&5
8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960 (exit $ac_status); } && {
8961 test -z "$ac_cxx_werror_flag" ||
8962 test ! -s conftest.err
8963 } && test -s conftest.$ac_objext; then
8964 ac_cv_prog_cxx_g=yes
8966 echo "$as_me: failed program was:" >&5
8967 sed 's/^/| /' conftest.$ac_ext >&5
8970 cat >conftest.$ac_ext <<_ACEOF
8973 cat confdefs.h >>conftest.$ac_ext
8974 cat >>conftest.$ac_ext <<_ACEOF
8975 /* end confdefs.h. */
8985 rm -f conftest.$ac_objext
8986 if { (ac_try="$ac_compile"
8988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8989 *) ac_try_echo=$ac_try;;
8991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8992 (eval "$ac_compile") 2>conftest.er1
8994 grep -v '^ *+' conftest.er1 >conftest.err
8996 cat conftest.err >&5
8997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8998 (exit $ac_status); } && {
8999 test -z "$ac_cxx_werror_flag" ||
9000 test ! -s conftest.err
9001 } && test -s conftest.$ac_objext; then
9004 echo "$as_me: failed program was:" >&5
9005 sed 's/^/| /' conftest.$ac_ext >&5
9007 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9009 cat >conftest.$ac_ext <<_ACEOF
9012 cat confdefs.h >>conftest.$ac_ext
9013 cat >>conftest.$ac_ext <<_ACEOF
9014 /* end confdefs.h. */
9024 rm -f conftest.$ac_objext
9025 if { (ac_try="$ac_compile"
9027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9028 *) ac_try_echo=$ac_try;;
9030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9031 (eval "$ac_compile") 2>conftest.er1
9033 grep -v '^ *+' conftest.er1 >conftest.err
9035 cat conftest.err >&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 (exit $ac_status); } && {
9038 test -z "$ac_cxx_werror_flag" ||
9039 test ! -s conftest.err
9040 } && test -s conftest.$ac_objext; then
9041 ac_cv_prog_cxx_g=yes
9043 echo "$as_me: failed program was:" >&5
9044 sed 's/^/| /' conftest.$ac_ext >&5
9049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9056 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9058 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
9059 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
9060 if test "$ac_test_CXXFLAGS" = set; then
9061 CXXFLAGS=$ac_save_CXXFLAGS
9062 elif test $ac_cv_prog_cxx_g = yes; then
9063 if test "$GXX" = yes; then
9069 if test "$GXX" = yes; then
9076 ac_cpp='$CPP $CPPFLAGS'
9077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9081 depcc="$CXX" am_compiler_list=
9083 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9084 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
9085 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
9086 echo $ECHO_N "(cached) $ECHO_C" >&6
9088 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9089 # We make a subdir and do the tests there. Otherwise we can end up
9090 # making bogus files that we don't know about and never remove. For
9091 # instance it was reported that on HP-UX the gcc test will end up
9092 # making a dummy file named `D' -- because `-MD' means `put the output
9095 # Copy depcomp to subdir because otherwise we won't find it if we're
9096 # using a relative directory.
9097 cp "$am_depcomp" conftest.dir
9099 # We will build objects and dependencies in a subdirectory because
9100 # it helps to detect inapplicable dependency modes. For instance
9101 # both Tru64's cc and ICC support -MD to output dependencies as a
9102 # side effect of compilation, but ICC will put the dependencies in
9103 # the current directory while Tru64 will put them in the object
9107 am_cv_CXX_dependencies_compiler_type=none
9108 if test "$am_compiler_list" = ""; then
9109 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9111 for depmode in $am_compiler_list; do
9112 # Setup a source with many dependencies, because some compilers
9113 # like to wrap large dependency lists on column 80 (with \), and
9114 # we should not choose a depcomp mode which is confused by this.
9116 # We need to recreate these files for each test, as the compiler may
9117 # overwrite some of them when testing with obscure command lines.
9118 # This happens at least with the AIX C compiler.
9120 for i in 1 2 3 4 5 6; do
9121 echo '#include "conftst'$i'.h"' >> sub/conftest.c
9122 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
9123 # Solaris 8's {/usr,}/bin/sh.
9124 touch sub/conftst$i.h
9126 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9130 # after this tag, mechanisms are not by side-effect, so they'll
9131 # only be used when explicitly requested
9132 if test "x$enable_dependency_tracking" = xyes; then
9140 # We check with `-c' and `-o' for the sake of the "dashmstdout"
9141 # mode. It turns out that the SunPro C++ compiler does not properly
9142 # handle `-M -o', and we need to detect this.
9143 if depmode=$depmode \
9144 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
9145 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9146 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
9147 >/dev/null 2>conftest.err &&
9148 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9149 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
9150 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9151 # icc doesn't choke on unknown options, it will just issue warnings
9152 # or remarks (even with -Werror). So we grep stderr for any message
9153 # that says an option was ignored or not supported.
9154 # When given -MP, icc 7.0 and 7.1 complain thusly:
9155 # icc: Command line warning: ignoring option '-M'; no argument required
9156 # The diagnosis changed in icc 8.0:
9157 # icc: Command line remark: option '-MP' not supported
9158 if (grep 'ignoring option' conftest.err ||
9159 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9160 am_cv_CXX_dependencies_compiler_type=$depmode
9169 am_cv_CXX_dependencies_compiler_type=none
9173 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
9174 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
9175 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
9180 test "x$enable_dependency_tracking" != xno \
9181 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
9182 am__fastdepCXX_TRUE=
9183 am__fastdepCXX_FALSE='#'
9185 am__fastdepCXX_TRUE='#'
9186 am__fastdepCXX_FALSE=
9190 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9191 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9192 (test "X$CXX" != "Xg++"))) ; then
9194 ac_cpp='$CXXCPP $CPPFLAGS'
9195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9198 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
9199 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
9200 if test -z "$CXXCPP"; then
9201 if test "${ac_cv_prog_CXXCPP+set}" = set; then
9202 echo $ECHO_N "(cached) $ECHO_C" >&6
9204 # Double quotes because CXXCPP needs to be expanded
9205 for CXXCPP in "$CXX -E" "/lib/cpp"
9208 for ac_cxx_preproc_warn_flag in '' yes
9210 # Use a header file that comes with gcc, so configuring glibc
9211 # with a fresh cross-compiler works.
9212 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9213 # <limits.h> exists even on freestanding compilers.
9214 # On the NeXT, cc -E runs the code through the compiler's parser,
9215 # not just through cpp. "Syntax error" is here to catch this case.
9216 cat >conftest.$ac_ext <<_ACEOF
9219 cat confdefs.h >>conftest.$ac_ext
9220 cat >>conftest.$ac_ext <<_ACEOF
9221 /* end confdefs.h. */
9223 # include <limits.h>
9225 # include <assert.h>
9229 if { (ac_try="$ac_cpp conftest.$ac_ext"
9231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9232 *) ac_try_echo=$ac_try;;
9234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9235 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9237 grep -v '^ *+' conftest.er1 >conftest.err
9239 cat conftest.err >&5
9240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241 (exit $ac_status); } >/dev/null && {
9242 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9243 test ! -s conftest.err
9247 echo "$as_me: failed program was:" >&5
9248 sed 's/^/| /' conftest.$ac_ext >&5
9250 # Broken: fails on valid input.
9254 rm -f conftest.err conftest.$ac_ext
9256 # OK, works on sane cases. Now check whether nonexistent headers
9257 # can be detected and how.
9258 cat >conftest.$ac_ext <<_ACEOF
9261 cat confdefs.h >>conftest.$ac_ext
9262 cat >>conftest.$ac_ext <<_ACEOF
9263 /* end confdefs.h. */
9264 #include <ac_nonexistent.h>
9266 if { (ac_try="$ac_cpp conftest.$ac_ext"
9268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9269 *) ac_try_echo=$ac_try;;
9271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9272 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9274 grep -v '^ *+' conftest.er1 >conftest.err
9276 cat conftest.err >&5
9277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278 (exit $ac_status); } >/dev/null && {
9279 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9280 test ! -s conftest.err
9282 # Broken: success on invalid input.
9285 echo "$as_me: failed program was:" >&5
9286 sed 's/^/| /' conftest.$ac_ext >&5
9288 # Passes both tests.
9293 rm -f conftest.err conftest.$ac_ext
9296 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9297 rm -f conftest.err conftest.$ac_ext
9298 if $ac_preproc_ok; then
9303 ac_cv_prog_CXXCPP=$CXXCPP
9306 CXXCPP=$ac_cv_prog_CXXCPP
9308 ac_cv_prog_CXXCPP=$CXXCPP
9310 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
9311 echo "${ECHO_T}$CXXCPP" >&6; }
9313 for ac_cxx_preproc_warn_flag in '' yes
9315 # Use a header file that comes with gcc, so configuring glibc
9316 # with a fresh cross-compiler works.
9317 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9318 # <limits.h> exists even on freestanding compilers.
9319 # On the NeXT, cc -E runs the code through the compiler's parser,
9320 # not just through cpp. "Syntax error" is here to catch this case.
9321 cat >conftest.$ac_ext <<_ACEOF
9324 cat confdefs.h >>conftest.$ac_ext
9325 cat >>conftest.$ac_ext <<_ACEOF
9326 /* end confdefs.h. */
9328 # include <limits.h>
9330 # include <assert.h>
9334 if { (ac_try="$ac_cpp conftest.$ac_ext"
9336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9337 *) ac_try_echo=$ac_try;;
9339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9340 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9342 grep -v '^ *+' conftest.er1 >conftest.err
9344 cat conftest.err >&5
9345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9346 (exit $ac_status); } >/dev/null && {
9347 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9348 test ! -s conftest.err
9352 echo "$as_me: failed program was:" >&5
9353 sed 's/^/| /' conftest.$ac_ext >&5
9355 # Broken: fails on valid input.
9359 rm -f conftest.err conftest.$ac_ext
9361 # OK, works on sane cases. Now check whether nonexistent headers
9362 # can be detected and how.
9363 cat >conftest.$ac_ext <<_ACEOF
9366 cat confdefs.h >>conftest.$ac_ext
9367 cat >>conftest.$ac_ext <<_ACEOF
9368 /* end confdefs.h. */
9369 #include <ac_nonexistent.h>
9371 if { (ac_try="$ac_cpp conftest.$ac_ext"
9373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9374 *) ac_try_echo=$ac_try;;
9376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9377 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9379 grep -v '^ *+' conftest.er1 >conftest.err
9381 cat conftest.err >&5
9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383 (exit $ac_status); } >/dev/null && {
9384 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9385 test ! -s conftest.err
9387 # Broken: success on invalid input.
9390 echo "$as_me: failed program was:" >&5
9391 sed 's/^/| /' conftest.$ac_ext >&5
9393 # Passes both tests.
9398 rm -f conftest.err conftest.$ac_ext
9401 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9402 rm -f conftest.err conftest.$ac_ext
9403 if $ac_preproc_ok; then
9406 _lt_caught_CXX_error=yes
9410 ac_cpp='$CPP $CPPFLAGS'
9411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9416 _lt_caught_CXX_error=yes
9430 # Check whether --enable-shared was given.
9431 if test "${enable_shared+set}" = set; then
9432 enableval=$enable_shared; p=${PACKAGE-default}
9434 yes) enable_shared=yes ;;
9435 no) enable_shared=no ;;
9438 # Look at the argument we got. We use all the common list separators.
9439 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9440 for pkg in $enableval; do
9442 if test "X$pkg" = "X$p"; then
9463 # Check whether --with-pic was given.
9464 if test "${with_pic+set}" = set; then
9465 withval=$with_pic; pic_mode="$withval"
9471 test -z "$pic_mode" && pic_mode=default
9479 # Check whether --enable-fast-install was given.
9480 if test "${enable_fast_install+set}" = set; then
9481 enableval=$enable_fast_install; p=${PACKAGE-default}
9483 yes) enable_fast_install=yes ;;
9484 no) enable_fast_install=no ;;
9486 enable_fast_install=no
9487 # Look at the argument we got. We use all the common list separators.
9488 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9489 for pkg in $enableval; do
9491 if test "X$pkg" = "X$p"; then
9492 enable_fast_install=yes
9499 enable_fast_install=yes
9512 # This can be used to rebuild libtool when needed
9513 LIBTOOL_DEPS="$ltmain"
9515 # Always use our own libtool.
9516 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9542 test -z "$LN_S" && LN_S="ln -s"
9557 if test -n "${ZSH_VERSION+set}" ; then
9558 setopt NO_GLOB_SUBST
9561 { echo "$as_me:$LINENO: checking for objdir" >&5
9562 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9563 if test "${lt_cv_objdir+set}" = set; then
9564 echo $ECHO_N "(cached) $ECHO_C" >&6
9566 rm -f .libs 2>/dev/null
9567 mkdir .libs 2>/dev/null
9568 if test -d .libs; then
9571 # MS-DOS does not allow filenames that begin with a dot.
9574 rmdir .libs 2>/dev/null
9576 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9577 echo "${ECHO_T}$lt_cv_objdir" >&6; }
9578 objdir=$lt_cv_objdir
9584 cat >>confdefs.h <<_ACEOF
9585 #define LT_OBJDIR "$lt_cv_objdir/"
9606 # AIX sometimes has problems with the GCC collect2 program. For some
9607 # reason, if we set the COLLECT_NAMES environment variable, the problems
9608 # vanish in a puff of smoke.
9609 if test "X${COLLECT_NAMES+set}" != Xset; then
9611 export COLLECT_NAMES
9616 # Sed substitution that helps us do robust quoting. It backslashifies
9617 # metacharacters that are still active within double-quoted strings.
9618 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
9620 # Same as above, but do not quote variable references.
9621 double_quote_subst='s/\(["`\\]\)/\\\1/g'
9623 # Sed substitution to delay expansion of an escaped shell variable in a
9624 # double_quote_subst'ed string.
9625 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9627 # Sed substitution to delay expansion of an escaped single quote.
9628 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
9630 # Sed substitution to avoid accidental globbing in evaled expressions
9631 no_glob_subst='s/\*/\\\*/g'
9635 can_build_shared=yes
9637 # All known linkers require a `.a' archive for static linking (except MSVC,
9638 # which needs '.lib').
9641 with_gnu_ld="$lt_cv_prog_gnu_ld"
9644 old_CFLAGS="$CFLAGS"
9646 # Set sane defaults for various variables
9647 test -z "$CC" && CC=cc
9648 test -z "$LTCC" && LTCC=$CC
9649 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9650 test -z "$LD" && LD=ld
9651 test -z "$ac_objext" && ac_objext=o
9653 for cc_temp in $compiler""; do
9655 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9656 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9661 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9664 # Only perform the check for file, if the check method requires it
9665 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9666 case $deplibs_check_method in
9668 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9669 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9670 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
9671 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9672 echo $ECHO_N "(cached) $ECHO_C" >&6
9676 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9679 lt_save_MAGIC_CMD="$MAGIC_CMD"
9680 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9681 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9682 for ac_dir in $ac_dummy; do
9684 test -z "$ac_dir" && ac_dir=.
9685 if test -f $ac_dir/${ac_tool_prefix}file; then
9686 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9687 if test -n "$file_magic_test_file"; then
9688 case $deplibs_check_method in
9690 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9691 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9692 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9693 $EGREP "$file_magic_regex" > /dev/null; then
9698 *** Warning: the command libtool uses to detect shared libraries,
9699 *** $file_magic_cmd, produces output that libtool cannot recognize.
9700 *** The result is that libtool may fail to recognize shared libraries
9701 *** as such. This will affect the creation of libtool libraries that
9702 *** depend on shared libraries, but programs linked with such libtool
9703 *** libraries will work regardless of this problem. Nevertheless, you
9704 *** may want to report the problem to your system manager and/or to
9705 *** bug-libtool@gnu.org
9715 MAGIC_CMD="$lt_save_MAGIC_CMD"
9720 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9721 if test -n "$MAGIC_CMD"; then
9722 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9723 echo "${ECHO_T}$MAGIC_CMD" >&6; }
9725 { echo "$as_me:$LINENO: result: no" >&5
9726 echo "${ECHO_T}no" >&6; }
9733 if test -z "$lt_cv_path_MAGIC_CMD"; then
9734 if test -n "$ac_tool_prefix"; then
9735 { echo "$as_me:$LINENO: checking for file" >&5
9736 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
9737 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9738 echo $ECHO_N "(cached) $ECHO_C" >&6
9742 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9745 lt_save_MAGIC_CMD="$MAGIC_CMD"
9746 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9747 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9748 for ac_dir in $ac_dummy; do
9750 test -z "$ac_dir" && ac_dir=.
9751 if test -f $ac_dir/file; then
9752 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9753 if test -n "$file_magic_test_file"; then
9754 case $deplibs_check_method in
9756 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9757 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9758 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9759 $EGREP "$file_magic_regex" > /dev/null; then
9764 *** Warning: the command libtool uses to detect shared libraries,
9765 *** $file_magic_cmd, produces output that libtool cannot recognize.
9766 *** The result is that libtool may fail to recognize shared libraries
9767 *** as such. This will affect the creation of libtool libraries that
9768 *** depend on shared libraries, but programs linked with such libtool
9769 *** libraries will work regardless of this problem. Nevertheless, you
9770 *** may want to report the problem to your system manager and/or to
9771 *** bug-libtool@gnu.org
9781 MAGIC_CMD="$lt_save_MAGIC_CMD"
9786 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9787 if test -n "$MAGIC_CMD"; then
9788 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9789 echo "${ECHO_T}$MAGIC_CMD" >&6; }
9791 { echo "$as_me:$LINENO: result: no" >&5
9792 echo "${ECHO_T}no" >&6; }
9805 # Use C for the default configuration in the libtool script
9809 ac_cpp='$CPP $CPPFLAGS'
9810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9815 # Source file extension for C test sources.
9818 # Object file extension for compiled C test sources.
9822 # Code to be used in simple compile tests
9823 lt_simple_compile_test_code="int some_variable = 0;"
9825 # Code to be used in simple link tests
9826 lt_simple_link_test_code='int main(){return(0);}'
9834 # If no C compiler was specified, use CC.
9837 # If no C compiler flags were specified, use CFLAGS.
9838 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9840 # Allow CC to be a program name with arguments.
9843 # Save the default compiler, since it gets overwritten when the other
9844 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9845 compiler_DEFAULT=$CC
9847 # save warnings/boilerplate of simple test code
9848 ac_outfile=conftest.$ac_objext
9849 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9850 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9851 _lt_compiler_boilerplate=`cat conftest.err`
9854 ac_outfile=conftest.$ac_objext
9855 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9856 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9857 _lt_linker_boilerplate=`cat conftest.err`
9861 if test -n "$compiler"; then
9863 lt_prog_compiler_no_builtin_flag=
9865 if test "$GCC" = yes; then
9866 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9868 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9869 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
9870 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9871 echo $ECHO_N "(cached) $ECHO_C" >&6
9873 lt_cv_prog_compiler_rtti_exceptions=no
9874 ac_outfile=conftest.$ac_objext
9875 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9876 lt_compiler_flag="-fno-rtti -fno-exceptions"
9877 # Insert the option either (1) after the last *FLAGS variable, or
9878 # (2) before a word containing "conftest.", or (3) at the end.
9879 # Note that $ac_compile itself does not contain backslashes and begins
9880 # with a dollar sign (not a hyphen), so the echo should work correctly.
9881 # The option is referenced via a variable to avoid confusing sed.
9882 lt_compile=`echo "$ac_compile" | $SED \
9883 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9884 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9885 -e 's:$: $lt_compiler_flag:'`
9886 (eval echo "\"\$as_me:9886: $lt_compile\"" >&5)
9887 (eval "$lt_compile" 2>conftest.err)
9889 cat conftest.err >&5
9890 echo "$as_me:9890: \$? = $ac_status" >&5
9891 if (exit $ac_status) && test -s "$ac_outfile"; then
9892 # The compiler can only warn and ignore the option if not recognized
9893 # So say no if there are warnings other than the usual output.
9894 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9895 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9896 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9897 lt_cv_prog_compiler_rtti_exceptions=yes
9903 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9904 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9906 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9907 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9919 lt_prog_compiler_wl=
9920 lt_prog_compiler_pic=
9921 lt_prog_compiler_static=
9923 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9924 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
9926 if test "$GCC" = yes; then
9927 lt_prog_compiler_wl='-Wl,'
9928 lt_prog_compiler_static='-static'
9932 # All AIX code is PIC.
9933 if test "$host_cpu" = ia64; then
9934 # AIX 5 now supports IA64 processor
9935 lt_prog_compiler_static='-Bstatic'
9942 # see comment about AmigaOS4 .so support
9943 lt_prog_compiler_pic='-fPIC'
9946 # FIXME: we need at least 68020 code to build shared libraries, but
9947 # adding the `-m68020' flag to GCC prevents building anything better,
9949 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9954 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9955 # PIC is the default for these OSes.
9958 mingw* | cygwin* | pw32* | os2*)
9959 # This hack is so that the source file can tell whether it is being
9960 # built for inclusion in a dll (and should export symbols for example).
9961 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9962 # (--disable-auto-import) libraries
9963 lt_prog_compiler_pic='-DDLL_EXPORT'
9966 darwin* | rhapsody*)
9967 # PIC is the default on this platform
9968 # Common symbols not allowed in MH_DYLIB files
9969 lt_prog_compiler_pic='-fno-common'
9973 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9980 lt_prog_compiler_pic='-fPIC'
9986 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9987 # Instead, we relocate shared libraries at runtime.
9991 # Just because we use GCC doesn't mean we suddenly get shared libraries
9992 # on systems that don't support them.
9993 lt_prog_compiler_can_build_shared=no
9998 # QNX uses GNU C++, but need to define -shared option too, otherwise
10000 lt_prog_compiler_pic='-fPIC -shared'
10004 if test -d /usr/nec; then
10005 lt_prog_compiler_pic=-Kconform_pic
10010 lt_prog_compiler_pic='-fPIC'
10014 # PORTME Check for flag to pass linker flags through the system compiler.
10017 lt_prog_compiler_wl='-Wl,'
10018 if test "$host_cpu" = ia64; then
10019 # AIX 5 now supports IA64 processor
10020 lt_prog_compiler_static='-Bstatic'
10022 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10026 mingw* | cygwin* | pw32* | os2*)
10027 # This hack is so that the source file can tell whether it is being
10028 # built for inclusion in a dll (and should export symbols for example).
10029 lt_prog_compiler_pic='-DDLL_EXPORT'
10032 hpux9* | hpux10* | hpux11*)
10033 lt_prog_compiler_wl='-Wl,'
10034 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10035 # not for PA HP-UX.
10041 lt_prog_compiler_pic='+Z'
10044 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10045 lt_prog_compiler_static='${wl}-a ${wl}archive'
10048 irix5* | irix6* | nonstopux*)
10049 lt_prog_compiler_wl='-Wl,'
10050 # PIC (with -KPIC) is the default.
10051 lt_prog_compiler_static='-non_shared'
10054 linux* | k*bsd*-gnu)
10055 case $cc_basename in
10056 icc* | ecc* | ifort*)
10057 lt_prog_compiler_wl='-Wl,'
10058 lt_prog_compiler_pic='-KPIC'
10059 lt_prog_compiler_static='-static'
10061 pgcc* | pgf77* | pgf90* | pgf95*)
10062 # Portland Group compilers (*not* the Pentium gcc compiler,
10063 # which looks to be a dead project)
10064 lt_prog_compiler_wl='-Wl,'
10065 lt_prog_compiler_pic='-fpic'
10066 lt_prog_compiler_static='-Bstatic'
10069 lt_prog_compiler_wl='-Wl,'
10070 # All Alpha code is PIC.
10071 lt_prog_compiler_static='-non_shared'
10074 # IBM XL C 8.0/Fortran 10.1 on PPC
10075 lt_prog_compiler_wl='-Wl,'
10076 lt_prog_compiler_pic='-qpic'
10077 lt_prog_compiler_static='-qstaticlink'
10080 case `$CC -V 2>&1 | sed 5q` in
10083 lt_prog_compiler_pic='-KPIC'
10084 lt_prog_compiler_static='-Bstatic'
10085 lt_prog_compiler_wl='-Wl,'
10088 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10089 lt_prog_compiler_pic='-KPIC'
10090 lt_prog_compiler_static='-Bstatic'
10091 lt_prog_compiler_wl=''
10099 lt_prog_compiler_pic='-KPIC'
10100 lt_prog_compiler_static='-Bstatic'
10104 # QNX uses GNU C++, but need to define -shared option too, otherwise
10105 # it will coredump.
10106 lt_prog_compiler_pic='-fPIC -shared'
10109 osf3* | osf4* | osf5*)
10110 lt_prog_compiler_wl='-Wl,'
10111 # All OSF/1 code is PIC.
10112 lt_prog_compiler_static='-non_shared'
10116 lt_prog_compiler_static='-non_shared'
10120 lt_prog_compiler_pic='-KPIC'
10121 lt_prog_compiler_static='-Bstatic'
10122 case $cc_basename in
10123 f77* | f90* | f95*)
10124 lt_prog_compiler_wl='-Qoption ld ';;
10126 lt_prog_compiler_wl='-Wl,';;
10131 lt_prog_compiler_wl='-Qoption ld '
10132 lt_prog_compiler_pic='-PIC'
10133 lt_prog_compiler_static='-Bstatic'
10136 sysv4 | sysv4.2uw2* | sysv4.3*)
10137 lt_prog_compiler_wl='-Wl,'
10138 lt_prog_compiler_pic='-KPIC'
10139 lt_prog_compiler_static='-Bstatic'
10143 if test -d /usr/nec ;then
10144 lt_prog_compiler_pic='-Kconform_pic'
10145 lt_prog_compiler_static='-Bstatic'
10149 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10150 lt_prog_compiler_wl='-Wl,'
10151 lt_prog_compiler_pic='-KPIC'
10152 lt_prog_compiler_static='-Bstatic'
10156 lt_prog_compiler_wl='-Wl,'
10157 lt_prog_compiler_can_build_shared=no
10161 lt_prog_compiler_pic='-pic'
10162 lt_prog_compiler_static='-Bstatic'
10166 lt_prog_compiler_can_build_shared=no
10172 # For platforms which do not support PIC, -DPIC is meaningless:
10174 lt_prog_compiler_pic=
10177 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10180 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10181 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
10189 # Check to make sure the PIC flag actually works.
10191 if test -n "$lt_prog_compiler_pic"; then
10192 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10193 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
10194 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
10195 echo $ECHO_N "(cached) $ECHO_C" >&6
10197 lt_cv_prog_compiler_pic_works=no
10198 ac_outfile=conftest.$ac_objext
10199 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10200 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10201 # Insert the option either (1) after the last *FLAGS variable, or
10202 # (2) before a word containing "conftest.", or (3) at the end.
10203 # Note that $ac_compile itself does not contain backslashes and begins
10204 # with a dollar sign (not a hyphen), so the echo should work correctly.
10205 # The option is referenced via a variable to avoid confusing sed.
10206 lt_compile=`echo "$ac_compile" | $SED \
10207 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10208 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10209 -e 's:$: $lt_compiler_flag:'`
10210 (eval echo "\"\$as_me:10210: $lt_compile\"" >&5)
10211 (eval "$lt_compile" 2>conftest.err)
10213 cat conftest.err >&5
10214 echo "$as_me:10214: \$? = $ac_status" >&5
10215 if (exit $ac_status) && test -s "$ac_outfile"; then
10216 # The compiler can only warn and ignore the option if not recognized
10217 # So say no if there are warnings other than the usual output.
10218 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10219 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10220 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10221 lt_cv_prog_compiler_pic_works=yes
10227 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
10228 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
10230 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10231 case $lt_prog_compiler_pic in
10233 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10236 lt_prog_compiler_pic=
10237 lt_prog_compiler_can_build_shared=no
10248 # Check to make sure the static flag actually works.
10250 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10251 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10252 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
10253 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
10254 echo $ECHO_N "(cached) $ECHO_C" >&6
10256 lt_cv_prog_compiler_static_works=no
10257 save_LDFLAGS="$LDFLAGS"
10258 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10259 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10260 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10261 # The linker can only warn and ignore the option if not recognized
10262 # So say no if there are warnings
10263 if test -s conftest.err; then
10264 # Append any errors to the config.log.
10265 cat conftest.err 1>&5
10266 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
10267 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10268 if diff conftest.exp conftest.er2 >/dev/null; then
10269 lt_cv_prog_compiler_static_works=yes
10272 lt_cv_prog_compiler_static_works=yes
10276 LDFLAGS="$save_LDFLAGS"
10279 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
10280 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
10282 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10285 lt_prog_compiler_static=
10294 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10295 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10296 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10297 echo $ECHO_N "(cached) $ECHO_C" >&6
10299 lt_cv_prog_compiler_c_o=no
10300 $RM -r conftest 2>/dev/null
10304 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10306 lt_compiler_flag="-o out/conftest2.$ac_objext"
10307 # Insert the option either (1) after the last *FLAGS variable, or
10308 # (2) before a word containing "conftest.", or (3) at the end.
10309 # Note that $ac_compile itself does not contain backslashes and begins
10310 # with a dollar sign (not a hyphen), so the echo should work correctly.
10311 lt_compile=`echo "$ac_compile" | $SED \
10312 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10313 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10314 -e 's:$: $lt_compiler_flag:'`
10315 (eval echo "\"\$as_me:10315: $lt_compile\"" >&5)
10316 (eval "$lt_compile" 2>out/conftest.err)
10318 cat out/conftest.err >&5
10319 echo "$as_me:10319: \$? = $ac_status" >&5
10320 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10322 # The compiler can only warn and ignore the option if not recognized
10323 # So say no if there are warnings
10324 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10325 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10326 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10327 lt_cv_prog_compiler_c_o=yes
10332 # SGI C++ compiler will create directory out/ii_files/ for
10333 # template instantiation
10334 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10335 $RM out/* && rmdir out
10341 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10342 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
10349 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10350 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10351 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10352 echo $ECHO_N "(cached) $ECHO_C" >&6
10354 lt_cv_prog_compiler_c_o=no
10355 $RM -r conftest 2>/dev/null
10359 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10361 lt_compiler_flag="-o out/conftest2.$ac_objext"
10362 # Insert the option either (1) after the last *FLAGS variable, or
10363 # (2) before a word containing "conftest.", or (3) at the end.
10364 # Note that $ac_compile itself does not contain backslashes and begins
10365 # with a dollar sign (not a hyphen), so the echo should work correctly.
10366 lt_compile=`echo "$ac_compile" | $SED \
10367 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10368 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10369 -e 's:$: $lt_compiler_flag:'`
10370 (eval echo "\"\$as_me:10370: $lt_compile\"" >&5)
10371 (eval "$lt_compile" 2>out/conftest.err)
10373 cat out/conftest.err >&5
10374 echo "$as_me:10374: \$? = $ac_status" >&5
10375 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10377 # The compiler can only warn and ignore the option if not recognized
10378 # So say no if there are warnings
10379 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10380 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10381 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10382 lt_cv_prog_compiler_c_o=yes
10387 # SGI C++ compiler will create directory out/ii_files/ for
10388 # template instantiation
10389 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10390 $RM out/* && rmdir out
10396 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10397 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
10402 hard_links="nottested"
10403 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10404 # do not overwrite the value of need_locks provided by the user
10405 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10406 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10409 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10411 ln conftest.a conftest.b 2>&5 || hard_links=no
10412 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10413 { echo "$as_me:$LINENO: result: $hard_links" >&5
10414 echo "${ECHO_T}$hard_links" >&6; }
10415 if test "$hard_links" = no; then
10416 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10417 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10429 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10430 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10433 allow_undefined_flag=
10434 always_export_symbols=no
10436 archive_expsym_cmds=
10437 compiler_needs_object=no
10438 enable_shared_with_static_runtimes=no
10439 export_dynamic_flag_spec=
10440 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10441 hardcode_automatic=no
10443 hardcode_direct_absolute=no
10444 hardcode_libdir_flag_spec=
10445 hardcode_libdir_flag_spec_ld=
10446 hardcode_libdir_separator=
10447 hardcode_minus_L=no
10448 hardcode_shlibpath_var=unsupported
10450 link_all_deplibs=unknown
10452 module_expsym_cmds=
10453 old_archive_from_new_cmds=
10454 old_archive_from_expsyms_cmds=
10455 thread_safe_flag_spec=
10456 whole_archive_flag_spec=
10457 # include_expsyms should be a list of space-separated symbols to be *always*
10458 # included in the symbol list
10460 # exclude_expsyms can be an extended regexp of symbols to exclude
10461 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10462 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10463 # as well as any symbol that contains `d'.
10464 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10465 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10466 # platforms (ab)use it in PIC code, but their linkers get confused if
10467 # the symbol is explicitly referenced. Since portable code cannot
10468 # rely on this symbol name, it's probably fine to never include it in
10469 # preloaded symbol tables.
10470 # Exclude shared library initialization/finalization symbols.
10471 extract_expsyms_cmds=
10474 cygwin* | mingw* | pw32*)
10475 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10476 # When not using gcc, we currently assume that we are using
10477 # Microsoft Visual C++.
10478 if test "$GCC" != yes; then
10483 # we just hope/assume this is gcc and not c89 (= MSVC++)
10492 if test "$with_gnu_ld" = yes; then
10493 # If archive_cmds runs LD, not CC, wlarc should be empty
10496 # Set some defaults for GNU ld with shared library support. These
10497 # are reset later if shared libraries are not supported. Putting them
10498 # here allows them to be overridden if necessary.
10499 runpath_var=LD_RUN_PATH
10500 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10501 export_dynamic_flag_spec='${wl}--export-dynamic'
10502 # ancient GNU ld didn't support --whole-archive et. al.
10503 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10504 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10506 whole_archive_flag_spec=
10508 supports_anon_versioning=no
10509 case `$LD -v 2>&1` in
10510 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10511 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10512 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10513 *\ 2.11.*) ;; # other 2.11 versions
10514 *) supports_anon_versioning=yes ;;
10517 # See if GNU ld supports shared libraries.
10520 # On AIX/PPC, the GNU linker is very broken
10521 if test "$host_cpu" != ia64; then
10525 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
10526 *** to be unable to reliably create shared libraries on AIX.
10527 *** Therefore, libtool is disabling shared libraries support. If you
10528 *** really care for shared libraries, you may want to modify your PATH
10529 *** so that a non-GNU linker is found, and then restart.
10538 # see comment about AmigaOS4 .so support
10539 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10540 archive_expsym_cmds=''
10543 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)'
10544 hardcode_libdir_flag_spec='-L$libdir'
10545 hardcode_minus_L=yes
10551 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10552 allow_undefined_flag=unsupported
10553 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10554 # support --undefined. This deserves some investigation. FIXME
10555 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10561 cygwin* | mingw* | pw32*)
10562 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10563 # as there is no search path for DLLs.
10564 hardcode_libdir_flag_spec='-L$libdir'
10565 allow_undefined_flag=unsupported
10566 always_export_symbols=no
10567 enable_shared_with_static_runtimes=yes
10568 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10570 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10571 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10572 # If the export-symbols file already is a .def file (1st line
10573 # is EXPORTS), use it as is; otherwise, prepend...
10574 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10575 cp $export_symbols $output_objdir/$soname.def;
10577 echo EXPORTS > $output_objdir/$soname.def;
10578 cat $export_symbols >> $output_objdir/$soname.def;
10580 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10588 hardcode_shlibpath_var=no
10589 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10590 export_dynamic_flag_spec='${wl}-E'
10591 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10592 # Instead, shared libraries are loaded at an image base (0x10000000 by
10593 # default) and relocated if they conflict, which is a slow very memory
10594 # consuming and fragmenting process. To avoid this, we pick a random,
10595 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10596 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10597 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10598 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'
10601 gnu* | linux* | tpf* | k*bsd*-gnu)
10603 if test "$host_os" = linux-dietlibc; then
10604 case $cc_basename in
10605 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10608 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10609 && test "$tmp_diet" = no
10612 tmp_sharedflag='-shared'
10613 case $cc_basename,$host_cpu in
10614 pgcc*) # Portland Group C compiler
10615 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10616 tmp_addflag=' $pic_flag'
10618 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
10619 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10620 tmp_addflag=' $pic_flag -Mnomain' ;;
10621 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10622 tmp_addflag=' -i_dynamic' ;;
10623 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10624 tmp_addflag=' -i_dynamic -nofor_main' ;;
10625 ifc* | ifort*) # Intel Fortran compiler
10626 tmp_addflag=' -nofor_main' ;;
10627 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10628 tmp_sharedflag='-qmkshrobj'
10631 case `$CC -V 2>&1 | sed 5q` in
10632 *Sun\ C*) # Sun C 5.9
10633 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10634 compiler_needs_object=yes
10635 tmp_sharedflag='-G' ;;
10636 *Sun\ F*) # Sun Fortran 8.3
10637 tmp_sharedflag='-G' ;;
10639 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10641 if test "x$supports_anon_versioning" = xyes; then
10642 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10643 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10644 echo "local: *; };" >> $output_objdir/$libname.ver~
10645 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10648 case $cc_basename in
10650 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10651 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10652 hardcode_libdir_flag_spec=
10653 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10654 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10655 if test "x$supports_anon_versioning" = xyes; then
10656 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10657 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10658 echo "local: *; };" >> $output_objdir/$libname.ver~
10659 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10669 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10670 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10673 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10674 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10679 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10683 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10684 *** create shared libraries on Solaris systems. Therefore, libtool
10685 *** is disabling shared libraries support. We urge you to upgrade GNU
10686 *** binutils to release 2.9.1 or newer. Another option is to modify
10687 *** your PATH or compiler configuration so that the native linker is
10688 *** used, and then restart.
10691 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10692 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10693 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10699 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10700 case `$LD -v 2>&1` in
10701 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10705 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10706 *** reliably create shared libraries on SCO systems. Therefore, libtool
10707 *** is disabling shared libraries support. We urge you to upgrade GNU
10708 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10709 *** your PATH or compiler configuration so that the native linker is
10710 *** used, and then restart.
10715 # For security reasons, it is highly recommended that you always
10716 # use absolute paths for naming shared libraries, and exclude the
10717 # DT_RUNPATH tag from executables and libraries. But doing so
10718 # requires that you compile everything twice, which is a pain.
10719 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10720 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10721 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10722 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10731 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10733 hardcode_direct=yes
10734 hardcode_shlibpath_var=no
10738 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10739 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10740 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10747 if test "$ld_shlibs" = no; then
10749 hardcode_libdir_flag_spec=
10750 export_dynamic_flag_spec=
10751 whole_archive_flag_spec=
10754 # PORTME fill in a description of your system's linker (not GNU ld)
10757 allow_undefined_flag=unsupported
10758 always_export_symbols=yes
10759 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'
10760 # Note: this linker hardcodes the directories in LIBPATH if there
10761 # are no directories specified by -L.
10762 hardcode_minus_L=yes
10763 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10764 # Neither direct hardcoding nor static linking is supported with a
10766 hardcode_direct=unsupported
10771 if test "$host_cpu" = ia64; then
10772 # On IA64, the linker does run time linking by default, so we don't
10773 # have to do anything special.
10774 aix_use_runtimelinking=no
10775 exp_sym_flag='-Bexport'
10778 # If we're using GNU nm, then we don't want the "-C" option.
10779 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10780 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10781 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10783 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'
10785 aix_use_runtimelinking=no
10787 # Test if we are trying to use run time linking or normal
10788 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10789 # need to do runtime linking.
10790 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10791 for ld_flag in $LDFLAGS; do
10792 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10793 aix_use_runtimelinking=yes
10800 exp_sym_flag='-bexport'
10801 no_entry_flag='-bnoentry'
10804 # When large executables or shared objects are built, AIX ld can
10805 # have problems creating the table of contents. If linking a library
10806 # or program results in "error TOC overflow" add -mminimal-toc to
10807 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10808 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10811 hardcode_direct=yes
10812 hardcode_direct_absolute=yes
10813 hardcode_libdir_separator=':'
10814 link_all_deplibs=yes
10815 file_list_spec='${wl}-f,'
10817 if test "$GCC" = yes; then
10818 case $host_os in aix4.[012]|aix4.[012].*)
10819 # We only want to do this on AIX 4.2 and lower, the check
10820 # below for broken collect2 doesn't work under 4.3+
10821 collect2name=`${CC} -print-prog-name=collect2`
10822 if test -f "$collect2name" &&
10823 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10825 # We have reworked collect2
10828 # We have old collect2
10829 hardcode_direct=unsupported
10830 # It fails to find uninstalled libraries when the uninstalled
10831 # path is not listed in the libpath. Setting hardcode_minus_L
10832 # to unsupported forces relinking
10833 hardcode_minus_L=yes
10834 hardcode_libdir_flag_spec='-L$libdir'
10835 hardcode_libdir_separator=
10839 shared_flag='-shared'
10840 if test "$aix_use_runtimelinking" = yes; then
10841 shared_flag="$shared_flag "'${wl}-G'
10845 if test "$host_cpu" = ia64; then
10846 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10847 # chokes on -Wl,-G. The following line is correct:
10850 if test "$aix_use_runtimelinking" = yes; then
10851 shared_flag='${wl}-G'
10853 shared_flag='${wl}-bM:SRE'
10858 # It seems that -bexpall does not export symbols beginning with
10859 # underscore (_), so it is better to generate a list of symbols to export.
10860 always_export_symbols=yes
10861 if test "$aix_use_runtimelinking" = yes; then
10862 # Warning - without using the other runtime loading flags (-brtl),
10863 # -berok will link without error, but may produce a broken library.
10864 allow_undefined_flag='-berok'
10865 # Determine the default libpath from the value encoded in an
10866 # empty executable.
10867 cat >conftest.$ac_ext <<_ACEOF
10870 cat confdefs.h >>conftest.$ac_ext
10871 cat >>conftest.$ac_ext <<_ACEOF
10872 /* end confdefs.h. */
10882 rm -f conftest.$ac_objext conftest$ac_exeext
10883 if { (ac_try="$ac_link"
10884 case "(($ac_try" in
10885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10886 *) ac_try_echo=$ac_try;;
10888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10889 (eval "$ac_link") 2>conftest.er1
10891 grep -v '^ *+' conftest.er1 >conftest.err
10893 cat conftest.err >&5
10894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895 (exit $ac_status); } && {
10896 test -z "$ac_c_werror_flag" ||
10897 test ! -s conftest.err
10898 } && test -s conftest$ac_exeext &&
10899 $as_test_x conftest$ac_exeext; then
10901 lt_aix_libpath_sed='
10902 /Import File Strings/,/^$/ {
10908 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10909 # Check for a 64-bit object if we didn't find anything.
10910 if test -z "$aix_libpath"; then
10911 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10914 echo "$as_me: failed program was:" >&5
10915 sed 's/^/| /' conftest.$ac_ext >&5
10920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10921 conftest$ac_exeext conftest.$ac_ext
10922 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10924 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10925 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10927 if test "$host_cpu" = ia64; then
10928 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10929 allow_undefined_flag="-z nodefs"
10930 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"
10932 # Determine the default libpath from the value encoded in an
10933 # empty executable.
10934 cat >conftest.$ac_ext <<_ACEOF
10937 cat confdefs.h >>conftest.$ac_ext
10938 cat >>conftest.$ac_ext <<_ACEOF
10939 /* end confdefs.h. */
10949 rm -f conftest.$ac_objext conftest$ac_exeext
10950 if { (ac_try="$ac_link"
10951 case "(($ac_try" in
10952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10953 *) ac_try_echo=$ac_try;;
10955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10956 (eval "$ac_link") 2>conftest.er1
10958 grep -v '^ *+' conftest.er1 >conftest.err
10960 cat conftest.err >&5
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); } && {
10963 test -z "$ac_c_werror_flag" ||
10964 test ! -s conftest.err
10965 } && test -s conftest$ac_exeext &&
10966 $as_test_x conftest$ac_exeext; then
10968 lt_aix_libpath_sed='
10969 /Import File Strings/,/^$/ {
10975 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10976 # Check for a 64-bit object if we didn't find anything.
10977 if test -z "$aix_libpath"; then
10978 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10981 echo "$as_me: failed program was:" >&5
10982 sed 's/^/| /' conftest.$ac_ext >&5
10987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10988 conftest$ac_exeext conftest.$ac_ext
10989 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10991 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10992 # Warning - without using the other run time loading flags,
10993 # -berok will link without error, but may produce a broken library.
10994 no_undefined_flag=' ${wl}-bernotok'
10995 allow_undefined_flag=' ${wl}-berok'
10996 # Exported symbols can be pulled into shared objects from archives
10997 whole_archive_flag_spec='$convenience'
10998 archive_cmds_need_lc=yes
10999 # This is similar to how AIX traditionally builds its shared libraries.
11000 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'
11008 # see comment about AmigaOS4 .so support
11009 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11010 archive_expsym_cmds=''
11013 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)'
11014 hardcode_libdir_flag_spec='-L$libdir'
11015 hardcode_minus_L=yes
11021 export_dynamic_flag_spec=-rdynamic
11024 cygwin* | mingw* | pw32*)
11025 # When not using gcc, we currently assume that we are using
11026 # Microsoft Visual C++.
11027 # hardcode_libdir_flag_spec is actually meaningless, as there is
11028 # no search path for DLLs.
11029 hardcode_libdir_flag_spec=' '
11030 allow_undefined_flag=unsupported
11031 # Tell ltmain to make .lib files, not .a files.
11033 # Tell ltmain to make .dll files, not .so files.
11035 # FIXME: Setting linknames here is a bad hack.
11036 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11037 # The linker will automatically build a .lib file if we build a DLL.
11038 old_archive_from_new_cmds='true'
11039 # FIXME: Should let the user specify the lib program.
11040 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11041 fix_srcfile_path='`cygpath -w "$srcfile"`'
11042 enable_shared_with_static_runtimes=yes
11045 darwin* | rhapsody*)
11048 archive_cmds_need_lc=no
11050 hardcode_automatic=yes
11051 hardcode_shlibpath_var=unsupported
11052 whole_archive_flag_spec=''
11053 link_all_deplibs=yes
11054 allow_undefined_flag="$_lt_dar_allow_undefined"
11055 if test "$GCC" = "yes"; then
11056 output_verbose_link_cmd=echo
11057 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11058 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11059 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}"
11060 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}"
11069 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11070 hardcode_libdir_flag_spec='-L$libdir'
11071 hardcode_shlibpath_var=no
11078 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11079 # support. Future versions do this automatically, but an explicit c++rt0.o
11080 # does not break anything, and helps significantly (at the cost of a little
11083 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11084 hardcode_libdir_flag_spec='-R$libdir'
11085 hardcode_direct=yes
11086 hardcode_shlibpath_var=no
11089 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11091 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11092 hardcode_direct=yes
11093 hardcode_minus_L=yes
11094 hardcode_shlibpath_var=no
11097 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11098 freebsd* | dragonfly*)
11099 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11100 hardcode_libdir_flag_spec='-R$libdir'
11101 hardcode_direct=yes
11102 hardcode_shlibpath_var=no
11106 if test "$GCC" = yes; then
11107 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11109 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'
11111 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11112 hardcode_libdir_separator=:
11113 hardcode_direct=yes
11115 # hardcode_minus_L: Not really in the search PATH,
11116 # but as the default location of the library.
11117 hardcode_minus_L=yes
11118 export_dynamic_flag_spec='${wl}-E'
11122 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11123 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11125 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11127 if test "$with_gnu_ld" = no; then
11128 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11129 hardcode_libdir_flag_spec_ld='+b $libdir'
11130 hardcode_libdir_separator=:
11131 hardcode_direct=yes
11132 hardcode_direct_absolute=yes
11133 export_dynamic_flag_spec='${wl}-E'
11134 # hardcode_minus_L: Not really in the search PATH,
11135 # but as the default location of the library.
11136 hardcode_minus_L=yes
11141 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11144 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11147 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11150 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11156 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11159 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11162 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11166 if test "$with_gnu_ld" = no; then
11167 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11168 hardcode_libdir_separator=:
11173 hardcode_shlibpath_var=no
11176 hardcode_direct=yes
11177 hardcode_direct_absolute=yes
11178 export_dynamic_flag_spec='${wl}-E'
11180 # hardcode_minus_L: Not really in the search PATH,
11181 # but as the default location of the library.
11182 hardcode_minus_L=yes
11188 irix5* | irix6* | nonstopux*)
11189 if test "$GCC" = yes; then
11190 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11191 # Try to use the -exported_symbol ld option, if it does not
11192 # work, assume that -exports_file does not work either and
11193 # implicitly export all symbols.
11194 save_LDFLAGS="$LDFLAGS"
11195 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11196 cat >conftest.$ac_ext <<_ACEOF
11199 rm -f conftest.$ac_objext conftest$ac_exeext
11200 if { (ac_try="$ac_link"
11201 case "(($ac_try" in
11202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11203 *) ac_try_echo=$ac_try;;
11205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11206 (eval "$ac_link") 2>conftest.er1
11208 grep -v '^ *+' conftest.er1 >conftest.err
11210 cat conftest.err >&5
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); } && {
11213 test -z "$ac_c_werror_flag" ||
11214 test ! -s conftest.err
11215 } && test -s conftest$ac_exeext &&
11216 $as_test_x conftest$ac_exeext; then
11217 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11220 echo "$as_me: failed program was:" >&5
11221 sed 's/^/| /' conftest.$ac_ext >&5
11226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11227 conftest$ac_exeext conftest.$ac_ext
11228 LDFLAGS="$save_LDFLAGS"
11230 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11231 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
11233 archive_cmds_need_lc='no'
11234 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11235 hardcode_libdir_separator=:
11237 link_all_deplibs=yes
11241 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11242 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11244 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11246 hardcode_libdir_flag_spec='-R$libdir'
11247 hardcode_direct=yes
11248 hardcode_shlibpath_var=no
11252 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11253 hardcode_direct=yes
11254 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11255 hardcode_libdir_separator=:
11256 hardcode_shlibpath_var=no
11263 if test -f /usr/libexec/ld.so; then
11264 hardcode_direct=yes
11265 hardcode_shlibpath_var=no
11266 hardcode_direct_absolute=yes
11267 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11268 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11269 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11270 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11271 export_dynamic_flag_spec='${wl}-E'
11274 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11275 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11276 hardcode_libdir_flag_spec='-R$libdir'
11279 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11280 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11290 hardcode_libdir_flag_spec='-L$libdir'
11291 hardcode_minus_L=yes
11292 allow_undefined_flag=unsupported
11293 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'
11294 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11298 if test "$GCC" = yes; then
11299 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11300 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11302 allow_undefined_flag=' -expect_unresolved \*'
11303 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11305 archive_cmds_need_lc='no'
11306 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11307 hardcode_libdir_separator=:
11310 osf4* | osf5*) # as osf3* with the addition of -msym flag
11311 if test "$GCC" = yes; then
11312 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11313 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11314 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11316 allow_undefined_flag=' -expect_unresolved \*'
11317 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11318 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~
11319 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11321 # Both c and cxx compiler support -rpath directly
11322 hardcode_libdir_flag_spec='-rpath $libdir'
11324 archive_cmds_need_lc='no'
11325 hardcode_libdir_separator=:
11329 no_undefined_flag=' -z defs'
11330 if test "$GCC" = yes; then
11332 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11333 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11334 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11336 case `$CC -V 2>&1` in
11339 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11340 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11341 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11345 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11346 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11347 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11351 hardcode_libdir_flag_spec='-R$libdir'
11352 hardcode_shlibpath_var=no
11354 solaris2.[0-5] | solaris2.[0-5].*) ;;
11356 # The compiler driver will combine and reorder linker options,
11357 # but understands `-z linker_flag'. GCC discards it without `$wl',
11358 # but is careful enough not to reorder.
11359 # Supported since Solaris 2.6 (maybe 2.5.1?)
11360 if test "$GCC" = yes; then
11361 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11363 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11367 link_all_deplibs=yes
11371 if test "x$host_vendor" = xsequent; then
11372 # Use $CC to link under sequent, because it throws in some extra .o
11373 # files that make .init and .fini sections work.
11374 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11376 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11378 hardcode_libdir_flag_spec='-L$libdir'
11379 hardcode_direct=yes
11380 hardcode_minus_L=yes
11381 hardcode_shlibpath_var=no
11385 case $host_vendor in
11387 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11388 hardcode_direct=yes # is this really true???
11391 ## LD is ld it makes a PLAMLIB
11392 ## CC just makes a GrossModule.
11393 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11394 reload_cmds='$CC -r -o $output$reload_objs'
11398 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11399 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11402 runpath_var='LD_RUN_PATH'
11403 hardcode_shlibpath_var=no
11407 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11408 hardcode_shlibpath_var=no
11409 export_dynamic_flag_spec='-Bexport'
11413 if test -d /usr/nec; then
11414 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11415 hardcode_shlibpath_var=no
11416 runpath_var=LD_RUN_PATH
11417 hardcode_runpath_var=yes
11422 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11423 no_undefined_flag='${wl}-z,text'
11424 archive_cmds_need_lc=no
11425 hardcode_shlibpath_var=no
11426 runpath_var='LD_RUN_PATH'
11428 if test "$GCC" = yes; then
11429 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11430 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11432 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11433 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11437 sysv5* | sco3.2v5* | sco5v6*)
11438 # Note: We can NOT use -z defs as we might desire, because we do not
11439 # link with -lc, and that would cause any symbols used from libc to
11440 # always be unresolved, which means just about no library would
11441 # ever link correctly. If we're not using GNU ld we use -z text
11442 # though, which does catch some bad symbols but isn't as heavy-handed
11444 no_undefined_flag='${wl}-z,text'
11445 allow_undefined_flag='${wl}-z,nodefs'
11446 archive_cmds_need_lc=no
11447 hardcode_shlibpath_var=no
11448 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11449 hardcode_libdir_separator=':'
11450 link_all_deplibs=yes
11451 export_dynamic_flag_spec='${wl}-Bexport'
11452 runpath_var='LD_RUN_PATH'
11454 if test "$GCC" = yes; then
11455 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11456 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11458 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11459 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11464 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11465 hardcode_libdir_flag_spec='-L$libdir'
11466 hardcode_shlibpath_var=no
11474 if test x$host_vendor = xsni; then
11476 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11477 export_dynamic_flag_spec='${wl}-Blargedynsym'
11483 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11484 echo "${ECHO_T}$ld_shlibs" >&6; }
11485 test "$ld_shlibs" = no && can_build_shared=no
11487 with_gnu_ld=$with_gnu_ld
11504 # Do we need to explicitly link libc?
11506 case "x$archive_cmds_need_lc" in
11508 # Assume -lc should be added
11509 archive_cmds_need_lc=yes
11511 if test "$enable_shared" = yes && test "$GCC" = yes; then
11512 case $archive_cmds in
11514 # FIXME: we may have to deal with multi-command sequences.
11517 # Test whether the compiler implicitly links with -lc since on some
11518 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11519 # to ld, don't add -lc before -lgcc.
11520 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11521 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11523 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11526 (eval $ac_compile) 2>&5
11528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11529 (exit $ac_status); } 2>conftest.err; then
11532 libobjs=conftest.$ac_objext
11534 wl=$lt_prog_compiler_wl
11535 pic_flag=$lt_prog_compiler_pic
11541 lt_save_allow_undefined_flag=$allow_undefined_flag
11542 allow_undefined_flag=
11543 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
11544 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547 (exit $ac_status); }
11549 archive_cmds_need_lc=no
11551 archive_cmds_need_lc=yes
11553 allow_undefined_flag=$lt_save_allow_undefined_flag
11555 cat conftest.err 1>&5
11558 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11559 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
11722 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11723 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11725 if test "$GCC" = yes; then
11727 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11728 *) lt_awk_arg="/^libraries:/" ;;
11730 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11731 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
11732 # if the path contains ";" then we assume it to be the separator
11733 # otherwise default to the standard path separator (i.e. ":") - it is
11734 # assumed that no part of a normal pathname contains ";" but that should
11735 # okay in the real world where ";" in dirpaths is itself problematic.
11736 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11738 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11740 # Ok, now we have the path, separated by spaces, we can step through it
11741 # and add multilib dir if necessary.
11742 lt_tmp_lt_search_path_spec=
11743 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11744 for lt_sys_path in $lt_search_path_spec; do
11745 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11746 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11748 test -d "$lt_sys_path" && \
11749 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11752 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11753 BEGIN {RS=" "; FS="/|\n";} {
11756 for (lt_i = NF; lt_i > 0; lt_i--) {
11757 if ($lt_i != "" && $lt_i != ".") {
11758 if ($lt_i == "..") {
11761 if (lt_count == 0) {
11762 lt_foo="/" $lt_i lt_foo;
11769 if (lt_foo != "") { lt_freq[lt_foo]++; }
11770 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11772 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
11774 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11776 library_names_spec=
11777 libname_spec='lib$name'
11781 postuninstall_cmds=
11785 shlibpath_overrides_runpath=unknown
11787 dynamic_linker="$host_os ld.so"
11788 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11789 need_lib_prefix=unknown
11790 hardcode_into_libs=no
11792 # when you set need_version to no, make sure it does not cause -set_version
11793 # flags to be left without arguments
11794 need_version=unknown
11799 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11800 shlibpath_var=LIBPATH
11802 # AIX 3 has no versioning support, so we append a major version to the name.
11803 soname_spec='${libname}${release}${shared_ext}$major'
11810 hardcode_into_libs=yes
11811 if test "$host_cpu" = ia64; then
11812 # AIX 5 supports IA64
11813 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11814 shlibpath_var=LD_LIBRARY_PATH
11816 # With GCC up to 2.95.x, collect2 would create an import file
11817 # for dependence libraries. The import file would start with
11818 # the line `#! .'. This would cause the generated library to
11819 # depend on `.', always an invalid library. This was fixed in
11820 # development snapshots of GCC prior to 3.0.
11822 aix4 | aix4.[01] | aix4.[01].*)
11823 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11825 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11828 can_build_shared=no
11832 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11833 # soname into executable. Probably we can add versioning support to
11834 # collect2, so additional links can be useful in future.
11835 if test "$aix_use_runtimelinking" = yes; then
11836 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11837 # instead of lib<name>.a to let people know that these are not
11838 # typical AIX shared libraries.
11839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11841 # We preserve .a as extension for shared libraries through AIX4.2
11842 # and later when we are not doing run time linking.
11843 library_names_spec='${libname}${release}.a $libname.a'
11844 soname_spec='${libname}${release}${shared_ext}$major'
11846 shlibpath_var=LIBPATH
11853 # Since July 2007 AmigaOS4 officially supports .so libraries.
11854 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11858 library_names_spec='$libname.ixlibrary $libname.a'
11859 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11860 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11866 library_names_spec='${libname}${shared_ext}'
11867 dynamic_linker="$host_os ld.so"
11868 shlibpath_var=LIBRARY_PATH
11874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11875 soname_spec='${libname}${release}${shared_ext}$major'
11876 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11877 shlibpath_var=LD_LIBRARY_PATH
11878 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11879 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11880 # the default ld.so.conf also contains /usr/contrib/lib and
11881 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11882 # libtool to hard-code these into programs
11885 cygwin* | mingw* | pw32*)
11886 version_type=windows
11891 case $GCC,$host_os in
11892 yes,cygwin* | yes,mingw* | yes,pw32*)
11893 library_names_spec='$libname.dll.a'
11894 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11895 postinstall_cmds='base_file=`basename \${file}`~
11896 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11897 dldir=$destdir/`dirname \$dlpath`~
11898 test -d \$dldir || mkdir -p \$dldir~
11899 $install_prog $dir/$dlname \$dldir/$dlname~
11900 chmod a+x \$dldir/$dlname~
11901 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11902 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11904 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11905 dlpath=$dir/\$dldll~
11907 shlibpath_overrides_runpath=yes
11911 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11912 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11913 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11916 # MinGW DLLs use traditional 'lib' prefix
11917 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11918 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11919 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11920 # It is most probably a Windows format PATH printed by
11921 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11922 # path with ; separators, and with drive letters. We can handle the
11923 # drive letters (cygwin fileutils understands them), so leave them,
11924 # especially as we might pass files found there to a mingw objdump,
11925 # which wouldn't understand a cygwinified path. Ahh.
11926 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11928 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11932 # pw32 DLLs use 'pw' prefix rather than 'lib'
11933 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11939 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11942 dynamic_linker='Win32 ld.exe'
11943 # FIXME: first we should search . and the directory the executable is in
11947 darwin* | rhapsody*)
11948 dynamic_linker="$host_os dyld"
11949 version_type=darwin
11952 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11953 soname_spec='${libname}${release}${major}$shared_ext'
11954 shlibpath_overrides_runpath=yes
11955 shlibpath_var=DYLD_LIBRARY_PATH
11956 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11958 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11959 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11967 soname_spec='${libname}${release}${shared_ext}$major'
11968 shlibpath_var=LD_LIBRARY_PATH
11975 freebsd* | dragonfly*)
11976 # DragonFly does not have aout. When/if they implement a new
11977 # versioning mechanism, adjust this.
11978 if test -x /usr/bin/objformat; then
11979 objformat=`/usr/bin/objformat`
11982 freebsd[123]*) objformat=aout ;;
11983 *) objformat=elf ;;
11986 version_type=freebsd-$objformat
11987 case $version_type in
11989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11994 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11998 shlibpath_var=LD_LIBRARY_PATH
12001 shlibpath_overrides_runpath=yes
12003 freebsd3.[01]* | freebsdelf3.[01]*)
12004 shlibpath_overrides_runpath=yes
12005 hardcode_into_libs=yes
12007 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12008 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12009 shlibpath_overrides_runpath=no
12010 hardcode_into_libs=yes
12012 *) # from 4.6 on, and DragonFly
12013 shlibpath_overrides_runpath=yes
12014 hardcode_into_libs=yes
12023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12024 soname_spec='${libname}${release}${shared_ext}$major'
12025 shlibpath_var=LD_LIBRARY_PATH
12026 hardcode_into_libs=yes
12029 hpux9* | hpux10* | hpux11*)
12030 # Give a soname corresponding to the major version so that dld.sl refuses to
12031 # link against other versions.
12038 hardcode_into_libs=yes
12039 dynamic_linker="$host_os dld.so"
12040 shlibpath_var=LD_LIBRARY_PATH
12041 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12043 soname_spec='${libname}${release}${shared_ext}$major'
12044 if test "X$HPUX_IA64_MODE" = X32; then
12045 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12047 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12049 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12053 hardcode_into_libs=yes
12054 dynamic_linker="$host_os dld.sl"
12055 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12056 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12058 soname_spec='${libname}${release}${shared_ext}$major'
12059 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12060 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12064 dynamic_linker="$host_os dld.sl"
12065 shlibpath_var=SHLIB_PATH
12066 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12068 soname_spec='${libname}${release}${shared_ext}$major'
12071 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12072 postinstall_cmds='chmod 555 $lib'
12079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12080 soname_spec='${libname}${release}${shared_ext}$major'
12081 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12082 shlibpath_var=LD_LIBRARY_PATH
12083 shlibpath_overrides_runpath=no
12084 hardcode_into_libs=yes
12087 irix5* | irix6* | nonstopux*)
12089 nonstopux*) version_type=nonstopux ;;
12091 if test "$lt_cv_prog_gnu_ld" = yes; then
12099 soname_spec='${libname}${release}${shared_ext}$major'
12100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12102 irix5* | nonstopux*)
12103 libsuff= shlibsuff=
12106 case $LD in # libtool.m4 will add one of these switches to LD
12107 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12108 libsuff= shlibsuff= libmagic=32-bit;;
12109 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12110 libsuff=32 shlibsuff=N32 libmagic=N32;;
12111 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12112 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12113 *) libsuff= shlibsuff= libmagic=never-match;;
12117 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12118 shlibpath_overrides_runpath=no
12119 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12120 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12121 hardcode_into_libs=yes
12124 # No shared lib support for Linux oldld, aout, or coff.
12125 linux*oldld* | linux*aout* | linux*coff*)
12129 # This must be Linux ELF.
12130 linux* | k*bsd*-gnu)
12134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12135 soname_spec='${libname}${release}${shared_ext}$major'
12136 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12137 shlibpath_var=LD_LIBRARY_PATH
12138 shlibpath_overrides_runpath=no
12139 # Some binutils ld are patched to set DT_RUNPATH
12140 save_LDFLAGS=$LDFLAGS
12141 save_libdir=$libdir
12142 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12143 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12144 cat >conftest.$ac_ext <<_ACEOF
12147 cat confdefs.h >>conftest.$ac_ext
12148 cat >>conftest.$ac_ext <<_ACEOF
12149 /* end confdefs.h. */
12159 rm -f conftest.$ac_objext conftest$ac_exeext
12160 if { (ac_try="$ac_link"
12161 case "(($ac_try" in
12162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12163 *) ac_try_echo=$ac_try;;
12165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12166 (eval "$ac_link") 2>conftest.er1
12168 grep -v '^ *+' conftest.er1 >conftest.err
12170 cat conftest.err >&5
12171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172 (exit $ac_status); } && {
12173 test -z "$ac_c_werror_flag" ||
12174 test ! -s conftest.err
12175 } && test -s conftest$ac_exeext &&
12176 $as_test_x conftest$ac_exeext; then
12177 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
12178 shlibpath_overrides_runpath=yes
12182 echo "$as_me: failed program was:" >&5
12183 sed 's/^/| /' conftest.$ac_ext >&5
12188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12189 conftest$ac_exeext conftest.$ac_ext
12190 LDFLAGS=$save_LDFLAGS
12191 libdir=$save_libdir
12193 # This implies no fast_install, which is unacceptable.
12194 # Some rework will be needed to allow for fast_install
12195 # before this can be enabled.
12196 hardcode_into_libs=yes
12198 # Append ld.so.conf contents to the search path
12199 if test -f /etc/ld.so.conf; then
12200 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12201 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12204 # We used to test for /lib/ld.so.1 and disable shared libraries on
12205 # powerpc, because MkLinux only supported shared libraries with the
12206 # GNU dynamic linker. Since this was broken with cross compilers,
12207 # most powerpc-linux boxes support dynamic linking these days and
12208 # people can always --disable-shared, the test was removed, and we
12209 # assume the GNU/Linux dynamic linker is in use.
12210 dynamic_linker='GNU/Linux ld.so'
12217 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12219 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12220 dynamic_linker='NetBSD (a.out) ld.so'
12222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12223 soname_spec='${libname}${release}${shared_ext}$major'
12224 dynamic_linker='NetBSD ld.elf_so'
12226 shlibpath_var=LD_LIBRARY_PATH
12227 shlibpath_overrides_runpath=yes
12228 hardcode_into_libs=yes
12233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12234 shlibpath_var=LD_LIBRARY_PATH
12235 shlibpath_overrides_runpath=yes
12242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12243 soname_spec='${libname}${release}${shared_ext}$major'
12244 shlibpath_var=LD_LIBRARY_PATH
12245 shlibpath_overrides_runpath=no
12246 hardcode_into_libs=yes
12247 dynamic_linker='ldqnx.so'
12252 sys_lib_dlsearch_path_spec="/usr/lib"
12254 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12256 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12257 *) need_version=no ;;
12259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12260 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12261 shlibpath_var=LD_LIBRARY_PATH
12262 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12264 openbsd2.[89] | openbsd2.[89].*)
12265 shlibpath_overrides_runpath=no
12268 shlibpath_overrides_runpath=yes
12272 shlibpath_overrides_runpath=yes
12277 libname_spec='$name'
12280 library_names_spec='$libname${shared_ext} $libname.a'
12281 dynamic_linker='OS/2 ld.exe'
12282 shlibpath_var=LIBPATH
12285 osf3* | osf4* | osf5*)
12289 soname_spec='${libname}${release}${shared_ext}$major'
12290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12291 shlibpath_var=LD_LIBRARY_PATH
12292 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12293 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12305 soname_spec='${libname}${release}${shared_ext}$major'
12306 shlibpath_var=LD_LIBRARY_PATH
12307 shlibpath_overrides_runpath=yes
12308 hardcode_into_libs=yes
12309 # ldd complains unless libraries are executable
12310 postinstall_cmds='chmod +x $lib'
12315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12316 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12317 shlibpath_var=LD_LIBRARY_PATH
12318 shlibpath_overrides_runpath=yes
12319 if test "$with_gnu_ld" = yes; then
12327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12328 soname_spec='${libname}${release}${shared_ext}$major'
12329 shlibpath_var=LD_LIBRARY_PATH
12330 case $host_vendor in
12332 shlibpath_overrides_runpath=no
12334 runpath_var=LD_RUN_PATH
12342 shlibpath_overrides_runpath=no
12343 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12349 if test -d /usr/nec ;then
12351 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12352 soname_spec='$libname${shared_ext}.$major'
12353 shlibpath_var=LD_LIBRARY_PATH
12357 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12358 version_type=freebsd-elf
12361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12362 soname_spec='${libname}${release}${shared_ext}$major'
12363 shlibpath_var=LD_LIBRARY_PATH
12364 shlibpath_overrides_runpath=yes
12365 hardcode_into_libs=yes
12366 if test "$with_gnu_ld" = yes; then
12367 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12369 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12372 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12376 sys_lib_dlsearch_path_spec='/usr/lib'
12380 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12384 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12385 shlibpath_var=LD_LIBRARY_PATH
12386 shlibpath_overrides_runpath=no
12387 hardcode_into_libs=yes
12392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12393 soname_spec='${libname}${release}${shared_ext}$major'
12394 shlibpath_var=LD_LIBRARY_PATH
12401 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12402 echo "${ECHO_T}$dynamic_linker" >&6; }
12403 test "$dynamic_linker" = no && can_build_shared=no
12405 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12406 if test "$GCC" = yes; then
12407 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12410 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12411 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12413 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12414 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12503 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12504 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12506 if test -n "$hardcode_libdir_flag_spec" ||
12507 test -n "$runpath_var" ||
12508 test "X$hardcode_automatic" = "Xyes" ; then
12510 # We can hardcode non-existent directories.
12511 if test "$hardcode_direct" != no &&
12512 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12513 # have to relink, otherwise we might link with an installed library
12514 # when we should be linking with a yet-to-be-installed one
12515 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12516 test "$hardcode_minus_L" != no; then
12517 # Linking always hardcodes the temporary library directory.
12518 hardcode_action=relink
12520 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12521 hardcode_action=immediate
12524 # We cannot hardcode anything, or else we can only hardcode existing
12526 hardcode_action=unsupported
12528 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
12529 echo "${ECHO_T}$hardcode_action" >&6; }
12531 if test "$hardcode_action" = relink ||
12532 test "$inherit_rpath" = yes; then
12533 # Fast installation is not supported
12534 enable_fast_install=no
12535 elif test "$shlibpath_overrides_runpath" = yes ||
12536 test "$enable_shared" = no; then
12537 # Fast installation is not necessary
12538 enable_fast_install=needless
12546 if test "x$enable_dlopen" != xyes; then
12547 enable_dlopen=unknown
12548 enable_dlopen_self=unknown
12549 enable_dlopen_self_static=unknown
12556 lt_cv_dlopen="load_add_on"
12558 lt_cv_dlopen_self=yes
12562 lt_cv_dlopen="LoadLibrary"
12567 lt_cv_dlopen="dlopen"
12572 # if libdl is installed we need to link against it
12573 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12574 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12575 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12576 echo $ECHO_N "(cached) $ECHO_C" >&6
12578 ac_check_lib_save_LIBS=$LIBS
12580 cat >conftest.$ac_ext <<_ACEOF
12583 cat confdefs.h >>conftest.$ac_ext
12584 cat >>conftest.$ac_ext <<_ACEOF
12585 /* end confdefs.h. */
12587 /* Override any GCC internal prototype to avoid an error.
12588 Use char because int might match the return type of a GCC
12589 builtin and then its argument prototype would still apply. */
12602 rm -f conftest.$ac_objext conftest$ac_exeext
12603 if { (ac_try="$ac_link"
12604 case "(($ac_try" in
12605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12606 *) ac_try_echo=$ac_try;;
12608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12609 (eval "$ac_link") 2>conftest.er1
12611 grep -v '^ *+' conftest.er1 >conftest.err
12613 cat conftest.err >&5
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); } && {
12616 test -z "$ac_c_werror_flag" ||
12617 test ! -s conftest.err
12618 } && test -s conftest$ac_exeext &&
12619 $as_test_x conftest$ac_exeext; then
12620 ac_cv_lib_dl_dlopen=yes
12622 echo "$as_me: failed program was:" >&5
12623 sed 's/^/| /' conftest.$ac_ext >&5
12625 ac_cv_lib_dl_dlopen=no
12628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12629 conftest$ac_exeext conftest.$ac_ext
12630 LIBS=$ac_check_lib_save_LIBS
12632 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12633 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12634 if test $ac_cv_lib_dl_dlopen = yes; then
12635 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12638 lt_cv_dlopen="dyld"
12640 lt_cv_dlopen_self=yes
12647 { echo "$as_me:$LINENO: checking for shl_load" >&5
12648 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12649 if test "${ac_cv_func_shl_load+set}" = set; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12652 cat >conftest.$ac_ext <<_ACEOF
12655 cat confdefs.h >>conftest.$ac_ext
12656 cat >>conftest.$ac_ext <<_ACEOF
12657 /* end confdefs.h. */
12658 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12660 #define shl_load innocuous_shl_load
12662 /* System header to define __stub macros and hopefully few prototypes,
12663 which can conflict with char shl_load (); below.
12664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12665 <limits.h> exists even on freestanding compilers. */
12668 # include <limits.h>
12670 # include <assert.h>
12675 /* Override any GCC internal prototype to avoid an error.
12676 Use char because int might match the return type of a GCC
12677 builtin and then its argument prototype would still apply. */
12682 /* The GNU C library defines this for functions which it implements
12683 to always fail with ENOSYS. Some functions are actually named
12684 something starting with __ and the normal name is an alias. */
12685 #if defined __stub_shl_load || defined __stub___shl_load
12692 return shl_load ();
12697 rm -f conftest.$ac_objext conftest$ac_exeext
12698 if { (ac_try="$ac_link"
12699 case "(($ac_try" in
12700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12701 *) ac_try_echo=$ac_try;;
12703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12704 (eval "$ac_link") 2>conftest.er1
12706 grep -v '^ *+' conftest.er1 >conftest.err
12708 cat conftest.err >&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); } && {
12711 test -z "$ac_c_werror_flag" ||
12712 test ! -s conftest.err
12713 } && test -s conftest$ac_exeext &&
12714 $as_test_x conftest$ac_exeext; then
12715 ac_cv_func_shl_load=yes
12717 echo "$as_me: failed program was:" >&5
12718 sed 's/^/| /' conftest.$ac_ext >&5
12720 ac_cv_func_shl_load=no
12723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12724 conftest$ac_exeext conftest.$ac_ext
12726 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12727 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12728 if test $ac_cv_func_shl_load = yes; then
12729 lt_cv_dlopen="shl_load"
12731 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12732 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12733 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12734 echo $ECHO_N "(cached) $ECHO_C" >&6
12736 ac_check_lib_save_LIBS=$LIBS
12738 cat >conftest.$ac_ext <<_ACEOF
12741 cat confdefs.h >>conftest.$ac_ext
12742 cat >>conftest.$ac_ext <<_ACEOF
12743 /* end confdefs.h. */
12745 /* Override any GCC internal prototype to avoid an error.
12746 Use char because int might match the return type of a GCC
12747 builtin and then its argument prototype would still apply. */
12755 return shl_load ();
12760 rm -f conftest.$ac_objext conftest$ac_exeext
12761 if { (ac_try="$ac_link"
12762 case "(($ac_try" in
12763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12764 *) ac_try_echo=$ac_try;;
12766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12767 (eval "$ac_link") 2>conftest.er1
12769 grep -v '^ *+' conftest.er1 >conftest.err
12771 cat conftest.err >&5
12772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12773 (exit $ac_status); } && {
12774 test -z "$ac_c_werror_flag" ||
12775 test ! -s conftest.err
12776 } && test -s conftest$ac_exeext &&
12777 $as_test_x conftest$ac_exeext; then
12778 ac_cv_lib_dld_shl_load=yes
12780 echo "$as_me: failed program was:" >&5
12781 sed 's/^/| /' conftest.$ac_ext >&5
12783 ac_cv_lib_dld_shl_load=no
12786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12787 conftest$ac_exeext conftest.$ac_ext
12788 LIBS=$ac_check_lib_save_LIBS
12790 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12791 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12792 if test $ac_cv_lib_dld_shl_load = yes; then
12793 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12795 { echo "$as_me:$LINENO: checking for dlopen" >&5
12796 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12797 if test "${ac_cv_func_dlopen+set}" = set; then
12798 echo $ECHO_N "(cached) $ECHO_C" >&6
12800 cat >conftest.$ac_ext <<_ACEOF
12803 cat confdefs.h >>conftest.$ac_ext
12804 cat >>conftest.$ac_ext <<_ACEOF
12805 /* end confdefs.h. */
12806 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12808 #define dlopen innocuous_dlopen
12810 /* System header to define __stub macros and hopefully few prototypes,
12811 which can conflict with char dlopen (); below.
12812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12813 <limits.h> exists even on freestanding compilers. */
12816 # include <limits.h>
12818 # include <assert.h>
12823 /* Override any GCC internal prototype to avoid an error.
12824 Use char because int might match the return type of a GCC
12825 builtin and then its argument prototype would still apply. */
12830 /* The GNU C library defines this for functions which it implements
12831 to always fail with ENOSYS. Some functions are actually named
12832 something starting with __ and the normal name is an alias. */
12833 #if defined __stub_dlopen || defined __stub___dlopen
12845 rm -f conftest.$ac_objext conftest$ac_exeext
12846 if { (ac_try="$ac_link"
12847 case "(($ac_try" in
12848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12849 *) ac_try_echo=$ac_try;;
12851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12852 (eval "$ac_link") 2>conftest.er1
12854 grep -v '^ *+' conftest.er1 >conftest.err
12856 cat conftest.err >&5
12857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12858 (exit $ac_status); } && {
12859 test -z "$ac_c_werror_flag" ||
12860 test ! -s conftest.err
12861 } && test -s conftest$ac_exeext &&
12862 $as_test_x conftest$ac_exeext; then
12863 ac_cv_func_dlopen=yes
12865 echo "$as_me: failed program was:" >&5
12866 sed 's/^/| /' conftest.$ac_ext >&5
12868 ac_cv_func_dlopen=no
12871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12872 conftest$ac_exeext conftest.$ac_ext
12874 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12875 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12876 if test $ac_cv_func_dlopen = yes; then
12877 lt_cv_dlopen="dlopen"
12879 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12880 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12881 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12882 echo $ECHO_N "(cached) $ECHO_C" >&6
12884 ac_check_lib_save_LIBS=$LIBS
12886 cat >conftest.$ac_ext <<_ACEOF
12889 cat confdefs.h >>conftest.$ac_ext
12890 cat >>conftest.$ac_ext <<_ACEOF
12891 /* end confdefs.h. */
12893 /* Override any GCC internal prototype to avoid an error.
12894 Use char because int might match the return type of a GCC
12895 builtin and then its argument prototype would still apply. */
12908 rm -f conftest.$ac_objext conftest$ac_exeext
12909 if { (ac_try="$ac_link"
12910 case "(($ac_try" in
12911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12912 *) ac_try_echo=$ac_try;;
12914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12915 (eval "$ac_link") 2>conftest.er1
12917 grep -v '^ *+' conftest.er1 >conftest.err
12919 cat conftest.err >&5
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); } && {
12922 test -z "$ac_c_werror_flag" ||
12923 test ! -s conftest.err
12924 } && test -s conftest$ac_exeext &&
12925 $as_test_x conftest$ac_exeext; then
12926 ac_cv_lib_dl_dlopen=yes
12928 echo "$as_me: failed program was:" >&5
12929 sed 's/^/| /' conftest.$ac_ext >&5
12931 ac_cv_lib_dl_dlopen=no
12934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12935 conftest$ac_exeext conftest.$ac_ext
12936 LIBS=$ac_check_lib_save_LIBS
12938 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12939 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12940 if test $ac_cv_lib_dl_dlopen = yes; then
12941 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12943 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12944 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12945 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12946 echo $ECHO_N "(cached) $ECHO_C" >&6
12948 ac_check_lib_save_LIBS=$LIBS
12949 LIBS="-lsvld $LIBS"
12950 cat >conftest.$ac_ext <<_ACEOF
12953 cat confdefs.h >>conftest.$ac_ext
12954 cat >>conftest.$ac_ext <<_ACEOF
12955 /* end confdefs.h. */
12957 /* Override any GCC internal prototype to avoid an error.
12958 Use char because int might match the return type of a GCC
12959 builtin and then its argument prototype would still apply. */
12972 rm -f conftest.$ac_objext conftest$ac_exeext
12973 if { (ac_try="$ac_link"
12974 case "(($ac_try" in
12975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12976 *) ac_try_echo=$ac_try;;
12978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12979 (eval "$ac_link") 2>conftest.er1
12981 grep -v '^ *+' conftest.er1 >conftest.err
12983 cat conftest.err >&5
12984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 (exit $ac_status); } && {
12986 test -z "$ac_c_werror_flag" ||
12987 test ! -s conftest.err
12988 } && test -s conftest$ac_exeext &&
12989 $as_test_x conftest$ac_exeext; then
12990 ac_cv_lib_svld_dlopen=yes
12992 echo "$as_me: failed program was:" >&5
12993 sed 's/^/| /' conftest.$ac_ext >&5
12995 ac_cv_lib_svld_dlopen=no
12998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12999 conftest$ac_exeext conftest.$ac_ext
13000 LIBS=$ac_check_lib_save_LIBS
13002 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13003 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
13004 if test $ac_cv_lib_svld_dlopen = yes; then
13005 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13007 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13008 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
13009 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13010 echo $ECHO_N "(cached) $ECHO_C" >&6
13012 ac_check_lib_save_LIBS=$LIBS
13014 cat >conftest.$ac_ext <<_ACEOF
13017 cat confdefs.h >>conftest.$ac_ext
13018 cat >>conftest.$ac_ext <<_ACEOF
13019 /* end confdefs.h. */
13021 /* Override any GCC internal prototype to avoid an error.
13022 Use char because int might match the return type of a GCC
13023 builtin and then its argument prototype would still apply. */
13031 return dld_link ();
13036 rm -f conftest.$ac_objext conftest$ac_exeext
13037 if { (ac_try="$ac_link"
13038 case "(($ac_try" in
13039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13040 *) ac_try_echo=$ac_try;;
13042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13043 (eval "$ac_link") 2>conftest.er1
13045 grep -v '^ *+' conftest.er1 >conftest.err
13047 cat conftest.err >&5
13048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13049 (exit $ac_status); } && {
13050 test -z "$ac_c_werror_flag" ||
13051 test ! -s conftest.err
13052 } && test -s conftest$ac_exeext &&
13053 $as_test_x conftest$ac_exeext; then
13054 ac_cv_lib_dld_dld_link=yes
13056 echo "$as_me: failed program was:" >&5
13057 sed 's/^/| /' conftest.$ac_ext >&5
13059 ac_cv_lib_dld_dld_link=no
13062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13063 conftest$ac_exeext conftest.$ac_ext
13064 LIBS=$ac_check_lib_save_LIBS
13066 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13067 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
13068 if test $ac_cv_lib_dld_dld_link = yes; then
13069 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13090 if test "x$lt_cv_dlopen" != xno; then
13096 case $lt_cv_dlopen in
13098 save_CPPFLAGS="$CPPFLAGS"
13099 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13101 save_LDFLAGS="$LDFLAGS"
13102 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13105 LIBS="$lt_cv_dlopen_libs $LIBS"
13107 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13108 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
13109 if test "${lt_cv_dlopen_self+set}" = set; then
13110 echo $ECHO_N "(cached) $ECHO_C" >&6
13112 if test "$cross_compiling" = yes; then :
13113 lt_cv_dlopen_self=cross
13115 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13116 lt_status=$lt_dlunknown
13117 cat > conftest.$ac_ext <<_LT_EOF
13118 #line 13118 "configure"
13119 #include "confdefs.h"
13128 # define LT_DLGLOBAL RTLD_GLOBAL
13131 # define LT_DLGLOBAL DL_GLOBAL
13133 # define LT_DLGLOBAL 0
13137 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13138 find out it does not work in some platform. */
13139 #ifndef LT_DLLAZY_OR_NOW
13141 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13144 # define LT_DLLAZY_OR_NOW DL_LAZY
13147 # define LT_DLLAZY_OR_NOW RTLD_NOW
13150 # define LT_DLLAZY_OR_NOW DL_NOW
13152 # define LT_DLLAZY_OR_NOW 0
13160 extern "C" void exit (int);
13163 void fnord() { int i=42;}
13166 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13167 int status = $lt_dlunknown;
13171 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13172 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13173 /* dlclose (self); */
13181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13182 (eval $ac_link) 2>&5
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13186 (./conftest; exit; ) >&5 2>/dev/null
13188 case x$lt_status in
13189 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13190 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13191 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13194 # compilation failed
13195 lt_cv_dlopen_self=no
13202 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13203 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
13205 if test "x$lt_cv_dlopen_self" = xyes; then
13206 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13207 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13208 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
13209 if test "${lt_cv_dlopen_self_static+set}" = set; then
13210 echo $ECHO_N "(cached) $ECHO_C" >&6
13212 if test "$cross_compiling" = yes; then :
13213 lt_cv_dlopen_self_static=cross
13215 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13216 lt_status=$lt_dlunknown
13217 cat > conftest.$ac_ext <<_LT_EOF
13218 #line 13218 "configure"
13219 #include "confdefs.h"
13228 # define LT_DLGLOBAL RTLD_GLOBAL
13231 # define LT_DLGLOBAL DL_GLOBAL
13233 # define LT_DLGLOBAL 0
13237 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13238 find out it does not work in some platform. */
13239 #ifndef LT_DLLAZY_OR_NOW
13241 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13244 # define LT_DLLAZY_OR_NOW DL_LAZY
13247 # define LT_DLLAZY_OR_NOW RTLD_NOW
13250 # define LT_DLLAZY_OR_NOW DL_NOW
13252 # define LT_DLLAZY_OR_NOW 0
13260 extern "C" void exit (int);
13263 void fnord() { int i=42;}
13266 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13267 int status = $lt_dlunknown;
13271 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13272 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13273 /* dlclose (self); */
13281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13282 (eval $ac_link) 2>&5
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13286 (./conftest; exit; ) >&5 2>/dev/null
13288 case x$lt_status in
13289 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13290 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13291 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13294 # compilation failed
13295 lt_cv_dlopen_self_static=no
13302 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13303 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
13306 CPPFLAGS="$save_CPPFLAGS"
13307 LDFLAGS="$save_LDFLAGS"
13312 case $lt_cv_dlopen_self in
13313 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13314 *) enable_dlopen_self=unknown ;;
13317 case $lt_cv_dlopen_self_static in
13318 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13319 *) enable_dlopen_self_static=unknown ;;
13341 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13342 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
13343 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13344 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13345 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13346 { echo "$as_me:$LINENO: result: yes" >&5
13347 echo "${ECHO_T}yes" >&6; }
13349 # FIXME - insert some real tests, host_os isn't really good enough
13352 if test -n "$STRIP" ; then
13353 striplib="$STRIP -x"
13354 old_striplib="$STRIP -S"
13355 { echo "$as_me:$LINENO: result: yes" >&5
13356 echo "${ECHO_T}yes" >&6; }
13358 { echo "$as_me:$LINENO: result: no" >&5
13359 echo "${ECHO_T}no" >&6; }
13363 { echo "$as_me:$LINENO: result: no" >&5
13364 echo "${ECHO_T}no" >&6; }
13380 # Report which library types will actually be built
13381 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13382 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13383 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13384 echo "${ECHO_T}$can_build_shared" >&6; }
13386 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13387 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13388 test "$can_build_shared" = "no" && enable_shared=no
13390 # On AIX, shared libraries and static libraries use the same namespace, and
13391 # are all built from PIC.
13394 test "$enable_shared" = yes && enable_static=no
13395 if test -n "$RANLIB"; then
13396 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13397 postinstall_cmds='$RANLIB $lib'
13402 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13403 test "$enable_shared" = yes && enable_static=no
13407 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13408 echo "${ECHO_T}$enable_shared" >&6; }
13410 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13411 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13412 # Make sure either enable_shared or enable_static is yes.
13413 test "$enable_shared" = yes || enable_static=yes
13414 { echo "$as_me:$LINENO: result: $enable_static" >&5
13415 echo "${ECHO_T}$enable_static" >&6; }
13422 ac_cpp='$CPP $CPPFLAGS'
13423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13431 ac_cpp='$CXXCPP $CPPFLAGS'
13432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13436 archive_cmds_need_lc_CXX=no
13437 allow_undefined_flag_CXX=
13438 always_export_symbols_CXX=no
13439 archive_expsym_cmds_CXX=
13440 compiler_needs_object_CXX=no
13441 export_dynamic_flag_spec_CXX=
13442 hardcode_direct_CXX=no
13443 hardcode_direct_absolute_CXX=no
13444 hardcode_libdir_flag_spec_CXX=
13445 hardcode_libdir_flag_spec_ld_CXX=
13446 hardcode_libdir_separator_CXX=
13447 hardcode_minus_L_CXX=no
13448 hardcode_shlibpath_var_CXX=unsupported
13449 hardcode_automatic_CXX=no
13450 inherit_rpath_CXX=no
13452 module_expsym_cmds_CXX=
13453 link_all_deplibs_CXX=unknown
13454 old_archive_cmds_CXX=$old_archive_cmds
13455 no_undefined_flag_CXX=
13456 whole_archive_flag_spec_CXX=
13457 enable_shared_with_static_runtimes_CXX=no
13459 # Source file extension for C++ test sources.
13462 # Object file extension for compiled C++ test sources.
13466 # No sense in running all these tests if we already determined that
13467 # the CXX compiler isn't working. Some variables (like enable_shared)
13468 # are currently assumed to apply to all compilers on this platform,
13469 # and will be corrupted by setting them based on a non-working compiler.
13470 if test "$_lt_caught_CXX_error" != yes; then
13471 # Code to be used in simple compile tests
13472 lt_simple_compile_test_code="int some_variable = 0;"
13474 # Code to be used in simple link tests
13475 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13477 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13484 # If no C compiler was specified, use CC.
13487 # If no C compiler flags were specified, use CFLAGS.
13488 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13490 # Allow CC to be a program name with arguments.
13494 # save warnings/boilerplate of simple test code
13495 ac_outfile=conftest.$ac_objext
13496 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13497 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13498 _lt_compiler_boilerplate=`cat conftest.err`
13501 ac_outfile=conftest.$ac_objext
13502 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13503 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13504 _lt_linker_boilerplate=`cat conftest.err`
13508 # Allow CC to be a program name with arguments.
13513 lt_save_with_gnu_ld=$with_gnu_ld
13514 lt_save_path_LD=$lt_cv_path_LD
13515 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13516 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13518 $as_unset lt_cv_prog_gnu_ld
13520 if test -n "${lt_cv_path_LDCXX+set}"; then
13521 lt_cv_path_LD=$lt_cv_path_LDCXX
13523 $as_unset lt_cv_path_LD
13525 test -z "${LDCXX+set}" || LD=$LDCXX
13529 for cc_temp in $compiler""; do
13531 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13532 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13537 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13540 if test -n "$compiler"; then
13541 # We don't want -fno-exception when compiling C++ code, so set the
13542 # no_builtin_flag separately
13543 if test "$GXX" = yes; then
13544 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13546 lt_prog_compiler_no_builtin_flag_CXX=
13549 if test "$GXX" = yes; then
13550 # Set up default GNU C++ configuration
13554 # Check whether --with-gnu-ld was given.
13555 if test "${with_gnu_ld+set}" = set; then
13556 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13562 if test "$GCC" = yes; then
13563 # Check if gcc -print-prog-name=ld gives a path.
13564 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13565 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
13568 # gcc leaves a trailing carriage return which upsets mingw
13569 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13571 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13574 # Accept absolute paths.
13576 re_direlt='/[^/][^/]*/\.\./'
13577 # Canonicalize the pathname of ld
13578 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13579 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13580 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13582 test -z "$LD" && LD="$ac_prog"
13585 # If it fails, then pretend we aren't using GCC.
13589 # If it is relative, then search for the first ld in PATH.
13590 with_gnu_ld=unknown
13593 elif test "$with_gnu_ld" = yes; then
13594 { echo "$as_me:$LINENO: checking for GNU ld" >&5
13595 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
13597 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13598 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
13600 if test "${lt_cv_path_LD+set}" = set; then
13601 echo $ECHO_N "(cached) $ECHO_C" >&6
13603 if test -z "$LD"; then
13604 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13605 for ac_dir in $PATH; do
13607 test -z "$ac_dir" && ac_dir=.
13608 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13609 lt_cv_path_LD="$ac_dir/$ac_prog"
13610 # Check to see if the program is GNU ld. I'd rather use --version,
13611 # but apparently some variants of GNU ld only accept -v.
13612 # Break only if it was the GNU/non-GNU ld that we prefer.
13613 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13614 *GNU* | *'with BFD'*)
13615 test "$with_gnu_ld" != no && break
13618 test "$with_gnu_ld" != yes && break
13625 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13629 LD="$lt_cv_path_LD"
13630 if test -n "$LD"; then
13631 { echo "$as_me:$LINENO: result: $LD" >&5
13632 echo "${ECHO_T}$LD" >&6; }
13634 { echo "$as_me:$LINENO: result: no" >&5
13635 echo "${ECHO_T}no" >&6; }
13637 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13638 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13639 { (exit 1); exit 1; }; }
13640 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13641 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13642 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13643 echo $ECHO_N "(cached) $ECHO_C" >&6
13645 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13646 case `$LD -v 2>&1 </dev/null` in
13647 *GNU* | *'with BFD'*)
13648 lt_cv_prog_gnu_ld=yes
13651 lt_cv_prog_gnu_ld=no
13655 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13656 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
13657 with_gnu_ld=$lt_cv_prog_gnu_ld
13665 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13666 # archiving commands below assume that GNU ld is being used.
13667 if test "$with_gnu_ld" = yes; then
13668 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13669 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13671 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13672 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13674 # If archive_cmds runs LD, not CC, wlarc should be empty
13675 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13676 # investigate it a little bit more. (MM)
13679 # ancient GNU ld didn't support --whole-archive et. al.
13680 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13681 $GREP 'no-whole-archive' > /dev/null; then
13682 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13684 whole_archive_flag_spec_CXX=
13690 # A generic and very simple default shared library creation
13691 # command for GNU C++ for the case where it uses the native
13692 # linker, instead of GNU ld. If possible, this setting should
13693 # overridden to take advantage of the native linker features on
13694 # the platform it is being used on.
13695 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13698 # Commands to make compiler produce verbose output that lists
13699 # what "hidden" libraries, object files and flags are used when
13700 # linking a shared library.
13701 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13709 # PORTME: fill in a description of your system's C++ link characteristics
13710 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13711 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13715 # FIXME: insert proper C++ library support
13719 if test "$host_cpu" = ia64; then
13720 # On IA64, the linker does run time linking by default, so we don't
13721 # have to do anything special.
13722 aix_use_runtimelinking=no
13723 exp_sym_flag='-Bexport'
13726 aix_use_runtimelinking=no
13728 # Test if we are trying to use run time linking or normal
13729 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13730 # need to do runtime linking.
13731 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13732 for ld_flag in $LDFLAGS; do
13735 aix_use_runtimelinking=yes
13743 exp_sym_flag='-bexport'
13744 no_entry_flag='-bnoentry'
13747 # When large executables or shared objects are built, AIX ld can
13748 # have problems creating the table of contents. If linking a library
13749 # or program results in "error TOC overflow" add -mminimal-toc to
13750 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13751 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13753 archive_cmds_CXX=''
13754 hardcode_direct_CXX=yes
13755 hardcode_direct_absolute_CXX=yes
13756 hardcode_libdir_separator_CXX=':'
13757 link_all_deplibs_CXX=yes
13758 file_list_spec_CXX='${wl}-f,'
13760 if test "$GXX" = yes; then
13761 case $host_os in aix4.[012]|aix4.[012].*)
13762 # We only want to do this on AIX 4.2 and lower, the check
13763 # below for broken collect2 doesn't work under 4.3+
13764 collect2name=`${CC} -print-prog-name=collect2`
13765 if test -f "$collect2name" &&
13766 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13768 # We have reworked collect2
13771 # We have old collect2
13772 hardcode_direct_CXX=unsupported
13773 # It fails to find uninstalled libraries when the uninstalled
13774 # path is not listed in the libpath. Setting hardcode_minus_L
13775 # to unsupported forces relinking
13776 hardcode_minus_L_CXX=yes
13777 hardcode_libdir_flag_spec_CXX='-L$libdir'
13778 hardcode_libdir_separator_CXX=
13781 shared_flag='-shared'
13782 if test "$aix_use_runtimelinking" = yes; then
13783 shared_flag="$shared_flag "'${wl}-G'
13787 if test "$host_cpu" = ia64; then
13788 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13789 # chokes on -Wl,-G. The following line is correct:
13792 if test "$aix_use_runtimelinking" = yes; then
13793 shared_flag='${wl}-G'
13795 shared_flag='${wl}-bM:SRE'
13800 # It seems that -bexpall does not export symbols beginning with
13801 # underscore (_), so it is better to generate a list of symbols to
13803 always_export_symbols_CXX=yes
13804 if test "$aix_use_runtimelinking" = yes; then
13805 # Warning - without using the other runtime loading flags (-brtl),
13806 # -berok will link without error, but may produce a broken library.
13807 allow_undefined_flag_CXX='-berok'
13808 # Determine the default libpath from the value encoded in an empty
13810 cat >conftest.$ac_ext <<_ACEOF
13813 cat confdefs.h >>conftest.$ac_ext
13814 cat >>conftest.$ac_ext <<_ACEOF
13815 /* end confdefs.h. */
13825 rm -f conftest.$ac_objext conftest$ac_exeext
13826 if { (ac_try="$ac_link"
13827 case "(($ac_try" in
13828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13829 *) ac_try_echo=$ac_try;;
13831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13832 (eval "$ac_link") 2>conftest.er1
13834 grep -v '^ *+' conftest.er1 >conftest.err
13836 cat conftest.err >&5
13837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838 (exit $ac_status); } && {
13839 test -z "$ac_cxx_werror_flag" ||
13840 test ! -s conftest.err
13841 } && test -s conftest$ac_exeext &&
13842 $as_test_x conftest$ac_exeext; then
13844 lt_aix_libpath_sed='
13845 /Import File Strings/,/^$/ {
13851 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13852 # Check for a 64-bit object if we didn't find anything.
13853 if test -z "$aix_libpath"; then
13854 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13857 echo "$as_me: failed program was:" >&5
13858 sed 's/^/| /' conftest.$ac_ext >&5
13863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13864 conftest$ac_exeext conftest.$ac_ext
13865 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13867 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13869 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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13871 if test "$host_cpu" = ia64; then
13872 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13873 allow_undefined_flag_CXX="-z nodefs"
13874 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"
13876 # Determine the default libpath from the value encoded in an
13877 # empty executable.
13878 cat >conftest.$ac_ext <<_ACEOF
13881 cat confdefs.h >>conftest.$ac_ext
13882 cat >>conftest.$ac_ext <<_ACEOF
13883 /* end confdefs.h. */
13893 rm -f conftest.$ac_objext conftest$ac_exeext
13894 if { (ac_try="$ac_link"
13895 case "(($ac_try" in
13896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13897 *) ac_try_echo=$ac_try;;
13899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13900 (eval "$ac_link") 2>conftest.er1
13902 grep -v '^ *+' conftest.er1 >conftest.err
13904 cat conftest.err >&5
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); } && {
13907 test -z "$ac_cxx_werror_flag" ||
13908 test ! -s conftest.err
13909 } && test -s conftest$ac_exeext &&
13910 $as_test_x conftest$ac_exeext; then
13912 lt_aix_libpath_sed='
13913 /Import File Strings/,/^$/ {
13919 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13920 # Check for a 64-bit object if we didn't find anything.
13921 if test -z "$aix_libpath"; then
13922 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13925 echo "$as_me: failed program was:" >&5
13926 sed 's/^/| /' conftest.$ac_ext >&5
13931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13932 conftest$ac_exeext conftest.$ac_ext
13933 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13935 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13936 # Warning - without using the other run time loading flags,
13937 # -berok will link without error, but may produce a broken library.
13938 no_undefined_flag_CXX=' ${wl}-bernotok'
13939 allow_undefined_flag_CXX=' ${wl}-berok'
13940 # Exported symbols can be pulled into shared objects from archives
13941 whole_archive_flag_spec_CXX='$convenience'
13942 archive_cmds_need_lc_CXX=yes
13943 # This is similar to how AIX traditionally builds its shared
13945 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'
13951 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13952 allow_undefined_flag_CXX=unsupported
13953 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13954 # support --undefined. This deserves some investigation. FIXME
13955 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13962 case $cc_basename in
13964 # FIXME: insert proper C++ library support
13970 cygwin* | mingw* | pw32*)
13971 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13972 # as there is no search path for DLLs.
13973 hardcode_libdir_flag_spec_CXX='-L$libdir'
13974 allow_undefined_flag_CXX=unsupported
13975 always_export_symbols_CXX=no
13976 enable_shared_with_static_runtimes_CXX=yes
13978 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13979 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'
13980 # If the export-symbols file already is a .def file (1st line
13981 # is EXPORTS), use it as is; otherwise, prepend...
13982 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13983 cp $export_symbols $output_objdir/$soname.def;
13985 echo EXPORTS > $output_objdir/$soname.def;
13986 cat $export_symbols >> $output_objdir/$soname.def;
13988 $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'
13993 darwin* | rhapsody*)
13996 archive_cmds_need_lc_CXX=no
13997 hardcode_direct_CXX=no
13998 hardcode_automatic_CXX=yes
13999 hardcode_shlibpath_var_CXX=unsupported
14000 whole_archive_flag_spec_CXX=''
14001 link_all_deplibs_CXX=yes
14002 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14003 if test "$GCC" = "yes"; then
14004 output_verbose_link_cmd=echo
14005 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}"
14006 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14007 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}"
14008 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}"
14009 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14010 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}"
14011 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}"
14021 case $cc_basename in
14023 # FIXME: insert proper C++ library support
14027 # Green Hills C++ Compiler
14028 # FIXME: insert proper C++ library support
14032 # FIXME: insert proper C++ library support
14039 # C++ shared libraries reported to be fairly broken before
14045 archive_cmds_need_lc_CXX=no
14048 freebsd* | dragonfly*)
14049 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14058 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14059 hardcode_libdir_separator_CXX=:
14060 export_dynamic_flag_spec_CXX='${wl}-E'
14061 hardcode_direct_CXX=yes
14062 hardcode_minus_L_CXX=yes # Not in the search PATH,
14063 # but as the default
14064 # location of the library.
14066 case $cc_basename in
14068 # FIXME: insert proper C++ library support
14072 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'
14073 # Commands to make compiler produce verbose output that lists
14074 # what "hidden" libraries, object files and flags are used when
14075 # linking a shared library.
14077 # There doesn't appear to be a way to prevent this compiler from
14078 # explicitly linking system object files so we need to strip them
14079 # from the output so that they don't get included in the library
14081 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; $ECHO "X$list" | $Xsed'
14084 if test "$GXX" = yes; then
14085 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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'
14087 # FIXME: insert proper C++ library support
14095 if test $with_gnu_ld = no; then
14096 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14097 hardcode_libdir_separator_CXX=:
14103 export_dynamic_flag_spec_CXX='${wl}-E'
14109 hardcode_direct_CXX=no
14110 hardcode_shlibpath_var_CXX=no
14113 hardcode_direct_CXX=yes
14114 hardcode_direct_absolute_CXX=yes
14115 hardcode_minus_L_CXX=yes # Not in the search PATH,
14116 # but as the default
14117 # location of the library.
14121 case $cc_basename in
14123 # FIXME: insert proper C++ library support
14129 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14132 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14135 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14138 # Commands to make compiler produce verbose output that lists
14139 # what "hidden" libraries, object files and flags are used when
14140 # linking a shared library.
14142 # There doesn't appear to be a way to prevent this compiler from
14143 # explicitly linking system object files so we need to strip them
14144 # from the output so that they don't get included in the library
14146 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; $ECHO "X$list" | $Xsed'
14149 if test "$GXX" = yes; then
14150 if test $with_gnu_ld = no; then
14153 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14156 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14159 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14164 # FIXME: insert proper C++ library support
14172 hardcode_direct_CXX=no
14173 hardcode_shlibpath_var_CXX=no
14174 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14175 export_dynamic_flag_spec_CXX='${wl}-E'
14176 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14177 # Instead, shared libraries are loaded at an image base (0x10000000 by
14178 # default) and relocated if they conflict, which is a slow very memory
14179 # consuming and fragmenting process. To avoid this, we pick a random,
14180 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14181 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14182 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'
14183 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'
14186 case $cc_basename in
14189 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14191 # Archives containing C++ object files must be created using
14192 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14193 # necessary to make sure instantiated templates are included
14195 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14198 if test "$GXX" = yes; then
14199 if test "$with_gnu_ld" = no; then
14200 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14202 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
14205 link_all_deplibs_CXX=yes
14208 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14209 hardcode_libdir_separator_CXX=:
14210 inherit_rpath_CXX=yes
14213 linux* | k*bsd*-gnu)
14214 case $cc_basename in
14216 # Kuck and Associates, Inc. (KAI) C++ Compiler
14218 # KCC will only create a shared library if the output file
14219 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14220 # to its proper name (with version) after linking.
14221 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'
14222 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'
14223 # Commands to make compiler produce verbose output that lists
14224 # what "hidden" libraries, object files and flags are used when
14225 # linking a shared library.
14227 # There doesn't appear to be a way to prevent this compiler from
14228 # explicitly linking system object files so we need to strip them
14229 # from the output so that they don't get included in the library
14231 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; $ECHO "X$list" | $Xsed'
14233 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14234 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14236 # Archives containing C++ object files must be created using
14237 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14238 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14243 # version 8.0 and above of icpc choke on multiply defined symbols
14244 # if we add $predep_objects and $postdep_objects, however 7.1 and
14245 # earlier do not add the objects themselves.
14246 case `$CC -V 2>&1` in
14248 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14249 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'
14251 *) # Version 8.0 or newer
14254 ia64*) tmp_idyn=' -i_dynamic';;
14256 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14257 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'
14260 archive_cmds_need_lc_CXX=no
14261 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14262 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14263 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14266 # Portland Group C++ compiler
14268 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
14269 prelink_cmds_CXX='tpldir=Template.dir~
14271 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14272 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14273 old_archive_cmds_CXX='tpldir=Template.dir~
14275 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14276 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14278 archive_cmds_CXX='tpldir=Template.dir~
14280 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14281 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14282 archive_expsym_cmds_CXX='tpldir=Template.dir~
14284 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14285 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14287 *) # Version 6 will use weak symbols
14288 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14289 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'
14293 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14294 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14295 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14299 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14300 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'
14302 runpath_var=LD_RUN_PATH
14303 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14304 hardcode_libdir_separator_CXX=:
14306 # Commands to make compiler produce verbose output that lists
14307 # what "hidden" libraries, object files and flags are used when
14308 # linking a shared library.
14310 # There doesn't appear to be a way to prevent this compiler from
14311 # explicitly linking system object files so we need to strip them
14312 # from the output so that they don't get included in the library
14314 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14317 # IBM XL 8.0 on PPC, with GNU ld
14318 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14319 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14320 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14321 if test "x$supports_anon_versioning" = xyes; then
14322 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14323 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14324 echo "local: *; };" >> $output_objdir/$libname.ver~
14325 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14329 case `$CC -V 2>&1 | sed 5q` in
14332 no_undefined_flag_CXX=' -zdefs'
14333 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14334 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'
14335 hardcode_libdir_flag_spec_CXX='-R$libdir'
14336 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14337 compiler_needs_object_CXX=yes
14339 # Not sure whether something based on
14340 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14342 output_verbose_link_cmd='echo'
14344 # Archives containing C++ object files must be created using
14345 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14346 # necessary to make sure instantiated templates are included
14348 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14356 # FIXME: insert proper C++ library support
14361 # FIXME: insert proper C++ library support
14366 case $cc_basename in
14368 # FIXME: insert proper C++ library support
14372 # FIXME: insert proper C++ library support
14379 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14380 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14382 hardcode_libdir_flag_spec_CXX='-R$libdir'
14383 hardcode_direct_CXX=yes
14384 hardcode_shlibpath_var_CXX=no
14386 # Workaround some broken pre-1.5 toolchains
14387 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14395 # C++ shared libraries are fairly broken
14400 if test -f /usr/libexec/ld.so; then
14401 hardcode_direct_CXX=yes
14402 hardcode_shlibpath_var_CXX=no
14403 hardcode_direct_absolute_CXX=yes
14404 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14405 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14406 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14407 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14408 export_dynamic_flag_spec_CXX='${wl}-E'
14409 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14411 output_verbose_link_cmd=echo
14417 osf3* | osf4* | osf5*)
14418 case $cc_basename in
14420 # Kuck and Associates, Inc. (KAI) C++ Compiler
14422 # KCC will only create a shared library if the output file
14423 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14424 # to its proper name (with version) after linking.
14425 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'
14427 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14428 hardcode_libdir_separator_CXX=:
14430 # Archives containing C++ object files must be created using
14431 # the KAI C++ compiler.
14433 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14434 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14438 # Rational C++ 2.4.1
14439 # FIXME: insert proper C++ library support
14445 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14446 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14447 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14450 allow_undefined_flag_CXX=' -expect_unresolved \*'
14451 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14452 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14453 echo "-hidden">> $lib.exp~
14454 $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
14456 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14460 hardcode_libdir_separator_CXX=:
14462 # Commands to make compiler produce verbose output that lists
14463 # what "hidden" libraries, object files and flags are used when
14464 # linking a shared library.
14466 # There doesn't appear to be a way to prevent this compiler from
14467 # explicitly linking system object files so we need to strip them
14468 # from the output so that they don't get included in the library
14470 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14473 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14474 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14477 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14480 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14484 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14485 hardcode_libdir_separator_CXX=:
14487 # Commands to make compiler produce verbose output that lists
14488 # what "hidden" libraries, object files and flags are used when
14489 # linking a shared library.
14490 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14493 # FIXME: insert proper C++ library support
14501 # FIXME: insert proper C++ library support
14506 case $cc_basename in
14509 # FIXME: insert proper C++ library support
14514 # FIXME: insert proper C++ library support
14518 # FIXME: insert proper C++ library support
14525 case $cc_basename in
14527 # Sun C++ 4.2, 5.x and Centerline C++
14528 archive_cmds_need_lc_CXX=yes
14529 no_undefined_flag_CXX=' -zdefs'
14530 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14531 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14532 $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'
14534 hardcode_libdir_flag_spec_CXX='-R$libdir'
14535 hardcode_shlibpath_var_CXX=no
14537 solaris2.[0-5] | solaris2.[0-5].*) ;;
14539 # The compiler driver will combine and reorder linker options,
14540 # but understands `-z linker_flag'.
14541 # Supported since Solaris 2.6 (maybe 2.5.1?)
14542 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14545 link_all_deplibs_CXX=yes
14547 output_verbose_link_cmd='echo'
14549 # Archives containing C++ object files must be created using
14550 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14551 # necessary to make sure instantiated templates are included
14553 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14556 # Green Hills C++ Compiler
14557 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14559 # The C++ compiler must be used to create the archive.
14560 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14563 # GNU C++ compiler with Solaris linker
14564 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14565 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14566 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14567 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14568 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14569 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14571 # Commands to make compiler produce verbose output that lists
14572 # what "hidden" libraries, object files and flags are used when
14573 # linking a shared library.
14574 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14576 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14578 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14579 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14580 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14582 # Commands to make compiler produce verbose output that lists
14583 # what "hidden" libraries, object files and flags are used when
14584 # linking a shared library.
14585 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14588 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14590 solaris2.[0-5] | solaris2.[0-5].*) ;;
14592 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14600 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14601 no_undefined_flag_CXX='${wl}-z,text'
14602 archive_cmds_need_lc_CXX=no
14603 hardcode_shlibpath_var_CXX=no
14604 runpath_var='LD_RUN_PATH'
14606 case $cc_basename in
14608 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14609 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14612 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14613 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14618 sysv5* | sco3.2v5* | sco5v6*)
14619 # Note: We can NOT use -z defs as we might desire, because we do not
14620 # link with -lc, and that would cause any symbols used from libc to
14621 # always be unresolved, which means just about no library would
14622 # ever link correctly. If we're not using GNU ld we use -z text
14623 # though, which does catch some bad symbols but isn't as heavy-handed
14625 no_undefined_flag_CXX='${wl}-z,text'
14626 allow_undefined_flag_CXX='${wl}-z,nodefs'
14627 archive_cmds_need_lc_CXX=no
14628 hardcode_shlibpath_var_CXX=no
14629 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14630 hardcode_libdir_separator_CXX=':'
14631 link_all_deplibs_CXX=yes
14632 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14633 runpath_var='LD_RUN_PATH'
14635 case $cc_basename in
14637 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14638 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14641 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14642 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14648 case $cc_basename in
14650 # NonStop-UX NCC 3.20
14651 # FIXME: insert proper C++ library support
14655 # FIXME: insert proper C++ library support
14662 # FIXME: insert proper C++ library support
14667 # FIXME: insert proper C++ library support
14672 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14673 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14674 test "$ld_shlibs_CXX" = no && can_build_shared=no
14680 ## There is no encapsulation within the following macros, do not change
14681 ## the running order or otherwise move them around unless you know exactly
14682 ## what you are doing...
14683 # Dependencies to place before and after the object being linked:
14684 predep_objects_CXX=
14685 postdep_objects_CXX=
14688 compiler_lib_search_path_CXX=
14690 cat > conftest.$ac_ext <<_LT_EOF
14694 Foo (void) { a = 0; }
14700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14701 (eval $ac_compile) 2>&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; then
14705 # Parse the compiler output and extract the necessary
14706 # objects, libraries and library flags.
14708 # Sentinel used to keep track of whether or not we are before
14709 # the conftest object file.
14710 pre_test_object_deps_done=no
14712 for p in `eval "$output_verbose_link_cmd"`; do
14716 # Some compilers place space between "-{L,R}" and the path.
14717 # Remove the space.
14718 if test $p = "-L" ||
14719 test $p = "-R"; then
14726 if test "$pre_test_object_deps_done" = no; then
14729 # Internal compiler library paths should come after those
14730 # provided the user. The postdeps already come after the
14731 # user supplied libs so there is no need to process them.
14732 if test -z "$compiler_lib_search_path_CXX"; then
14733 compiler_lib_search_path_CXX="${prev}${p}"
14735 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14738 # The "-l" case would never come before the object being
14739 # linked, so don't bother handling this case.
14742 if test -z "$postdeps_CXX"; then
14743 postdeps_CXX="${prev}${p}"
14745 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14751 # This assumes that the test object file only shows up
14752 # once in the compiler output.
14753 if test "$p" = "conftest.$objext"; then
14754 pre_test_object_deps_done=yes
14758 if test "$pre_test_object_deps_done" = no; then
14759 if test -z "$predep_objects_CXX"; then
14760 predep_objects_CXX="$p"
14762 predep_objects_CXX="$predep_objects_CXX $p"
14765 if test -z "$postdep_objects_CXX"; then
14766 postdep_objects_CXX="$p"
14768 postdep_objects_CXX="$postdep_objects_CXX $p"
14773 *) ;; # Ignore the rest.
14781 echo "libtool.m4: error: problem compiling CXX test program"
14784 $RM -f confest.$objext
14786 # PORTME: override above test on systems where it is broken
14789 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14790 # hack all around it, let's just trust "g++" to DTRT.
14791 predep_objects_CXX=
14792 postdep_objects_CXX=
14797 case `$CC -V 2>&1 | sed 5q` in
14801 # The more standards-conforming stlport4 library is
14802 # incompatible with the Cstd library. Avoid specifying
14803 # it if it's in CXXFLAGS. Ignore libCrun as
14804 # -library=stlport4 depends on it.
14805 case " $CXX $CXXFLAGS " in
14806 *" -library=stlport4 "*)
14807 solaris_use_stlport4=yes
14811 if test "$solaris_use_stlport4" != yes; then
14812 postdeps_CXX='-library=Cstd -library=Crun'
14819 case $cc_basename in
14821 # The more standards-conforming stlport4 library is
14822 # incompatible with the Cstd library. Avoid specifying
14823 # it if it's in CXXFLAGS. Ignore libCrun as
14824 # -library=stlport4 depends on it.
14825 case " $CXX $CXXFLAGS " in
14826 *" -library=stlport4 "*)
14827 solaris_use_stlport4=yes
14831 # Adding this requires a known-good setup of shared libraries for
14832 # Sun compiler versions before 5.6, else PIC objects from an old
14833 # archive will be linked into the output, leading to subtle bugs.
14834 if test "$solaris_use_stlport4" != yes; then
14835 postdeps_CXX='-library=Cstd -library=Crun'
14843 case " $postdeps_CXX " in
14844 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14846 compiler_lib_search_dirs_CXX=
14847 if test -n "${compiler_lib_search_path_CXX}"; then
14848 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14881 lt_prog_compiler_wl_CXX=
14882 lt_prog_compiler_pic_CXX=
14883 lt_prog_compiler_static_CXX=
14885 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14886 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14888 # C++ specific cases for pic, static, wl, etc.
14889 if test "$GXX" = yes; then
14890 lt_prog_compiler_wl_CXX='-Wl,'
14891 lt_prog_compiler_static_CXX='-static'
14895 # All AIX code is PIC.
14896 if test "$host_cpu" = ia64; then
14897 # AIX 5 now supports IA64 processor
14898 lt_prog_compiler_static_CXX='-Bstatic'
14905 # see comment about AmigaOS4 .so support
14906 lt_prog_compiler_pic_CXX='-fPIC'
14909 # FIXME: we need at least 68020 code to build shared libraries, but
14910 # adding the `-m68020' flag to GCC prevents building anything better,
14912 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14917 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14918 # PIC is the default for these OSes.
14920 mingw* | cygwin* | os2* | pw32*)
14921 # This hack is so that the source file can tell whether it is being
14922 # built for inclusion in a dll (and should export symbols for example).
14923 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14924 # (--disable-auto-import) libraries
14925 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14927 darwin* | rhapsody*)
14928 # PIC is the default on this platform
14929 # Common symbols not allowed in MH_DYLIB files
14930 lt_prog_compiler_pic_CXX='-fno-common'
14933 # DJGPP does not support shared libraries at all
14934 lt_prog_compiler_pic_CXX=
14937 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14938 # Instead, we relocate shared libraries at runtime.
14941 if test -d /usr/nec; then
14942 lt_prog_compiler_pic_CXX=-Kconform_pic
14946 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14947 # not for PA HP-UX.
14952 lt_prog_compiler_pic_CXX='-fPIC'
14957 # QNX uses GNU C++, but need to define -shared option too, otherwise
14958 # it will coredump.
14959 lt_prog_compiler_pic_CXX='-fPIC -shared'
14962 lt_prog_compiler_pic_CXX='-fPIC'
14968 # All AIX code is PIC.
14969 if test "$host_cpu" = ia64; then
14970 # AIX 5 now supports IA64 processor
14971 lt_prog_compiler_static_CXX='-Bstatic'
14973 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14977 case $cc_basename in
14979 # Green Hills C++ Compiler
14980 # _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"
14985 case $cc_basename in
14987 lt_prog_compiler_pic_CXX='-KPIC'
14990 # Green Hills C++ Compiler
14991 lt_prog_compiler_pic_CXX='-pic'
14997 freebsd* | dragonfly*)
14998 # FreeBSD uses GNU C++
15000 hpux9* | hpux10* | hpux11*)
15001 case $cc_basename in
15003 lt_prog_compiler_wl_CXX='-Wl,'
15004 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15005 if test "$host_cpu" != ia64; then
15006 lt_prog_compiler_pic_CXX='+Z'
15010 lt_prog_compiler_wl_CXX='-Wl,'
15011 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15017 lt_prog_compiler_pic_CXX='+Z'
15026 # This is c89, which is MS Visual C++ (no shared libs)
15027 # Anyone wants to do a port?
15029 irix5* | irix6* | nonstopux*)
15030 case $cc_basename in
15032 lt_prog_compiler_wl_CXX='-Wl,'
15033 lt_prog_compiler_static_CXX='-non_shared'
15034 # CC pic flag -KPIC is the default.
15040 linux* | k*bsd*-gnu)
15041 case $cc_basename in
15044 lt_prog_compiler_wl_CXX='--backend -Wl,'
15045 lt_prog_compiler_pic_CXX='-fPIC'
15049 lt_prog_compiler_wl_CXX='-Wl,'
15050 lt_prog_compiler_pic_CXX='-KPIC'
15051 lt_prog_compiler_static_CXX='-static'
15054 # Portland Group C++ compiler
15055 lt_prog_compiler_wl_CXX='-Wl,'
15056 lt_prog_compiler_pic_CXX='-fpic'
15057 lt_prog_compiler_static_CXX='-Bstatic'
15061 # Make sure the PIC flag is empty. It appears that all Alpha
15062 # Linux and Compaq Tru64 Unix objects are PIC.
15063 lt_prog_compiler_pic_CXX=
15064 lt_prog_compiler_static_CXX='-non_shared'
15067 # IBM XL 8.0 on PPC
15068 lt_prog_compiler_wl_CXX='-Wl,'
15069 lt_prog_compiler_pic_CXX='-qpic'
15070 lt_prog_compiler_static_CXX='-qstaticlink'
15073 case `$CC -V 2>&1 | sed 5q` in
15076 lt_prog_compiler_pic_CXX='-KPIC'
15077 lt_prog_compiler_static_CXX='-Bstatic'
15078 lt_prog_compiler_wl_CXX='-Qoption ld '
15089 case $cc_basename in
15091 lt_prog_compiler_pic_CXX='-W c,exportall'
15100 # QNX uses GNU C++, but need to define -shared option too, otherwise
15101 # it will coredump.
15102 lt_prog_compiler_pic_CXX='-fPIC -shared'
15104 osf3* | osf4* | osf5*)
15105 case $cc_basename in
15107 lt_prog_compiler_wl_CXX='--backend -Wl,'
15110 # Rational C++ 2.4.1
15111 lt_prog_compiler_pic_CXX='-pic'
15114 # Digital/Compaq C++
15115 lt_prog_compiler_wl_CXX='-Wl,'
15116 # Make sure the PIC flag is empty. It appears that all Alpha
15117 # Linux and Compaq Tru64 Unix objects are PIC.
15118 lt_prog_compiler_pic_CXX=
15119 lt_prog_compiler_static_CXX='-non_shared'
15128 case $cc_basename in
15130 # Sun C++ 4.2, 5.x and Centerline C++
15131 lt_prog_compiler_pic_CXX='-KPIC'
15132 lt_prog_compiler_static_CXX='-Bstatic'
15133 lt_prog_compiler_wl_CXX='-Qoption ld '
15136 # Green Hills C++ Compiler
15137 lt_prog_compiler_pic_CXX='-PIC'
15144 case $cc_basename in
15147 lt_prog_compiler_pic_CXX='-pic'
15148 lt_prog_compiler_static_CXX='-Bstatic'
15152 lt_prog_compiler_pic_CXX='-pic'
15158 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15159 case $cc_basename in
15161 lt_prog_compiler_wl_CXX='-Wl,'
15162 lt_prog_compiler_pic_CXX='-KPIC'
15163 lt_prog_compiler_static_CXX='-Bstatic'
15168 case $cc_basename in
15170 # NonStop-UX NCC 3.20
15171 lt_prog_compiler_pic_CXX='-KPIC'
15180 lt_prog_compiler_can_build_shared_CXX=no
15186 # For platforms which do not support PIC, -DPIC is meaningless:
15188 lt_prog_compiler_pic_CXX=
15191 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15194 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15195 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
15200 # Check to make sure the PIC flag actually works.
15202 if test -n "$lt_prog_compiler_pic_CXX"; then
15203 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15204 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
15205 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
15206 echo $ECHO_N "(cached) $ECHO_C" >&6
15208 lt_cv_prog_compiler_pic_works_CXX=no
15209 ac_outfile=conftest.$ac_objext
15210 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15211 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15212 # Insert the option either (1) after the last *FLAGS variable, or
15213 # (2) before a word containing "conftest.", or (3) at the end.
15214 # Note that $ac_compile itself does not contain backslashes and begins
15215 # with a dollar sign (not a hyphen), so the echo should work correctly.
15216 # The option is referenced via a variable to avoid confusing sed.
15217 lt_compile=`echo "$ac_compile" | $SED \
15218 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15219 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15220 -e 's:$: $lt_compiler_flag:'`
15221 (eval echo "\"\$as_me:15221: $lt_compile\"" >&5)
15222 (eval "$lt_compile" 2>conftest.err)
15224 cat conftest.err >&5
15225 echo "$as_me:15225: \$? = $ac_status" >&5
15226 if (exit $ac_status) && test -s "$ac_outfile"; then
15227 # The compiler can only warn and ignore the option if not recognized
15228 # So say no if there are warnings other than the usual output.
15229 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15230 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15231 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15232 lt_cv_prog_compiler_pic_works_CXX=yes
15238 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15239 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15241 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15242 case $lt_prog_compiler_pic_CXX in
15244 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15247 lt_prog_compiler_pic_CXX=
15248 lt_prog_compiler_can_build_shared_CXX=no
15256 # Check to make sure the static flag actually works.
15258 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15259 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15260 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15261 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
15262 echo $ECHO_N "(cached) $ECHO_C" >&6
15264 lt_cv_prog_compiler_static_works_CXX=no
15265 save_LDFLAGS="$LDFLAGS"
15266 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15267 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15268 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15269 # The linker can only warn and ignore the option if not recognized
15270 # So say no if there are warnings
15271 if test -s conftest.err; then
15272 # Append any errors to the config.log.
15273 cat conftest.err 1>&5
15274 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15275 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15276 if diff conftest.exp conftest.er2 >/dev/null; then
15277 lt_cv_prog_compiler_static_works_CXX=yes
15280 lt_cv_prog_compiler_static_works_CXX=yes
15284 LDFLAGS="$save_LDFLAGS"
15287 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15288 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
15290 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15293 lt_prog_compiler_static_CXX=
15299 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15300 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15301 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15302 echo $ECHO_N "(cached) $ECHO_C" >&6
15304 lt_cv_prog_compiler_c_o_CXX=no
15305 $RM -r conftest 2>/dev/null
15309 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15311 lt_compiler_flag="-o out/conftest2.$ac_objext"
15312 # Insert the option either (1) after the last *FLAGS variable, or
15313 # (2) before a word containing "conftest.", or (3) at the end.
15314 # Note that $ac_compile itself does not contain backslashes and begins
15315 # with a dollar sign (not a hyphen), so the echo should work correctly.
15316 lt_compile=`echo "$ac_compile" | $SED \
15317 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15318 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15319 -e 's:$: $lt_compiler_flag:'`
15320 (eval echo "\"\$as_me:15320: $lt_compile\"" >&5)
15321 (eval "$lt_compile" 2>out/conftest.err)
15323 cat out/conftest.err >&5
15324 echo "$as_me:15324: \$? = $ac_status" >&5
15325 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15327 # The compiler can only warn and ignore the option if not recognized
15328 # So say no if there are warnings
15329 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15330 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15331 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15332 lt_cv_prog_compiler_c_o_CXX=yes
15337 # SGI C++ compiler will create directory out/ii_files/ for
15338 # template instantiation
15339 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15340 $RM out/* && rmdir out
15346 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15347 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
15351 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15352 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15353 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15354 echo $ECHO_N "(cached) $ECHO_C" >&6
15356 lt_cv_prog_compiler_c_o_CXX=no
15357 $RM -r conftest 2>/dev/null
15361 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15363 lt_compiler_flag="-o out/conftest2.$ac_objext"
15364 # Insert the option either (1) after the last *FLAGS variable, or
15365 # (2) before a word containing "conftest.", or (3) at the end.
15366 # Note that $ac_compile itself does not contain backslashes and begins
15367 # with a dollar sign (not a hyphen), so the echo should work correctly.
15368 lt_compile=`echo "$ac_compile" | $SED \
15369 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15370 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15371 -e 's:$: $lt_compiler_flag:'`
15372 (eval echo "\"\$as_me:15372: $lt_compile\"" >&5)
15373 (eval "$lt_compile" 2>out/conftest.err)
15375 cat out/conftest.err >&5
15376 echo "$as_me:15376: \$? = $ac_status" >&5
15377 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15379 # The compiler can only warn and ignore the option if not recognized
15380 # So say no if there are warnings
15381 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15382 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15383 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15384 lt_cv_prog_compiler_c_o_CXX=yes
15389 # SGI C++ compiler will create directory out/ii_files/ for
15390 # template instantiation
15391 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15392 $RM out/* && rmdir out
15398 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15399 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
15404 hard_links="nottested"
15405 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15406 # do not overwrite the value of need_locks provided by the user
15407 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15408 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15411 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15413 ln conftest.a conftest.b 2>&5 || hard_links=no
15414 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15415 { echo "$as_me:$LINENO: result: $hard_links" >&5
15416 echo "${ECHO_T}$hard_links" >&6; }
15417 if test "$hard_links" = no; then
15418 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15419 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15428 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15429 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15431 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15434 # If we're using GNU nm, then we don't want the "-C" option.
15435 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15436 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15437 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15439 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'
15443 export_symbols_cmds_CXX="$ltdll_cmds"
15446 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15449 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15452 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15454 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15455 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
15456 test "$ld_shlibs_CXX" = no && can_build_shared=no
15458 with_gnu_ld_CXX=$with_gnu_ld
15466 # Do we need to explicitly link libc?
15468 case "x$archive_cmds_need_lc_CXX" in
15470 # Assume -lc should be added
15471 archive_cmds_need_lc_CXX=yes
15473 if test "$enable_shared" = yes && test "$GCC" = yes; then
15474 case $archive_cmds_CXX in
15476 # FIXME: we may have to deal with multi-command sequences.
15479 # Test whether the compiler implicitly links with -lc since on some
15480 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15481 # to ld, don't add -lc before -lgcc.
15482 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15483 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15485 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15488 (eval $ac_compile) 2>&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); } 2>conftest.err; then
15494 libobjs=conftest.$ac_objext
15496 wl=$lt_prog_compiler_wl_CXX
15497 pic_flag=$lt_prog_compiler_pic_CXX
15503 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15504 allow_undefined_flag_CXX=
15505 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
15506 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); }
15511 archive_cmds_need_lc_CXX=no
15513 archive_cmds_need_lc_CXX=yes
15515 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15517 cat conftest.err 1>&5
15520 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15521 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
15591 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15592 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15594 library_names_spec=
15595 libname_spec='lib$name'
15599 postuninstall_cmds=
15603 shlibpath_overrides_runpath=unknown
15605 dynamic_linker="$host_os ld.so"
15606 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15607 need_lib_prefix=unknown
15608 hardcode_into_libs=no
15610 # when you set need_version to no, make sure it does not cause -set_version
15611 # flags to be left without arguments
15612 need_version=unknown
15617 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15618 shlibpath_var=LIBPATH
15620 # AIX 3 has no versioning support, so we append a major version to the name.
15621 soname_spec='${libname}${release}${shared_ext}$major'
15628 hardcode_into_libs=yes
15629 if test "$host_cpu" = ia64; then
15630 # AIX 5 supports IA64
15631 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15632 shlibpath_var=LD_LIBRARY_PATH
15634 # With GCC up to 2.95.x, collect2 would create an import file
15635 # for dependence libraries. The import file would start with
15636 # the line `#! .'. This would cause the generated library to
15637 # depend on `.', always an invalid library. This was fixed in
15638 # development snapshots of GCC prior to 3.0.
15640 aix4 | aix4.[01] | aix4.[01].*)
15641 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15643 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15646 can_build_shared=no
15650 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15651 # soname into executable. Probably we can add versioning support to
15652 # collect2, so additional links can be useful in future.
15653 if test "$aix_use_runtimelinking" = yes; then
15654 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15655 # instead of lib<name>.a to let people know that these are not
15656 # typical AIX shared libraries.
15657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15659 # We preserve .a as extension for shared libraries through AIX4.2
15660 # and later when we are not doing run time linking.
15661 library_names_spec='${libname}${release}.a $libname.a'
15662 soname_spec='${libname}${release}${shared_ext}$major'
15664 shlibpath_var=LIBPATH
15671 # Since July 2007 AmigaOS4 officially supports .so libraries.
15672 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15676 library_names_spec='$libname.ixlibrary $libname.a'
15677 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15678 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15684 library_names_spec='${libname}${shared_ext}'
15685 dynamic_linker="$host_os ld.so"
15686 shlibpath_var=LIBRARY_PATH
15692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15693 soname_spec='${libname}${release}${shared_ext}$major'
15694 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15695 shlibpath_var=LD_LIBRARY_PATH
15696 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15697 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15698 # the default ld.so.conf also contains /usr/contrib/lib and
15699 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15700 # libtool to hard-code these into programs
15703 cygwin* | mingw* | pw32*)
15704 version_type=windows
15709 case $GCC,$host_os in
15710 yes,cygwin* | yes,mingw* | yes,pw32*)
15711 library_names_spec='$libname.dll.a'
15712 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15713 postinstall_cmds='base_file=`basename \${file}`~
15714 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15715 dldir=$destdir/`dirname \$dlpath`~
15716 test -d \$dldir || mkdir -p \$dldir~
15717 $install_prog $dir/$dlname \$dldir/$dlname~
15718 chmod a+x \$dldir/$dlname~
15719 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15720 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15722 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15723 dlpath=$dir/\$dldll~
15725 shlibpath_overrides_runpath=yes
15729 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15730 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15731 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15734 # MinGW DLLs use traditional 'lib' prefix
15735 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15736 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15737 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15738 # It is most probably a Windows format PATH printed by
15739 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15740 # path with ; separators, and with drive letters. We can handle the
15741 # drive letters (cygwin fileutils understands them), so leave them,
15742 # especially as we might pass files found there to a mingw objdump,
15743 # which wouldn't understand a cygwinified path. Ahh.
15744 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15746 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15750 # pw32 DLLs use 'pw' prefix rather than 'lib'
15751 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15757 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15760 dynamic_linker='Win32 ld.exe'
15761 # FIXME: first we should search . and the directory the executable is in
15765 darwin* | rhapsody*)
15766 dynamic_linker="$host_os dyld"
15767 version_type=darwin
15770 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15771 soname_spec='${libname}${release}${major}$shared_ext'
15772 shlibpath_overrides_runpath=yes
15773 shlibpath_var=DYLD_LIBRARY_PATH
15774 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15776 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15784 soname_spec='${libname}${release}${shared_ext}$major'
15785 shlibpath_var=LD_LIBRARY_PATH
15792 freebsd* | dragonfly*)
15793 # DragonFly does not have aout. When/if they implement a new
15794 # versioning mechanism, adjust this.
15795 if test -x /usr/bin/objformat; then
15796 objformat=`/usr/bin/objformat`
15799 freebsd[123]*) objformat=aout ;;
15800 *) objformat=elf ;;
15803 version_type=freebsd-$objformat
15804 case $version_type in
15806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15811 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15815 shlibpath_var=LD_LIBRARY_PATH
15818 shlibpath_overrides_runpath=yes
15820 freebsd3.[01]* | freebsdelf3.[01]*)
15821 shlibpath_overrides_runpath=yes
15822 hardcode_into_libs=yes
15824 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15825 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15826 shlibpath_overrides_runpath=no
15827 hardcode_into_libs=yes
15829 *) # from 4.6 on, and DragonFly
15830 shlibpath_overrides_runpath=yes
15831 hardcode_into_libs=yes
15840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15841 soname_spec='${libname}${release}${shared_ext}$major'
15842 shlibpath_var=LD_LIBRARY_PATH
15843 hardcode_into_libs=yes
15846 hpux9* | hpux10* | hpux11*)
15847 # Give a soname corresponding to the major version so that dld.sl refuses to
15848 # link against other versions.
15855 hardcode_into_libs=yes
15856 dynamic_linker="$host_os dld.so"
15857 shlibpath_var=LD_LIBRARY_PATH
15858 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15860 soname_spec='${libname}${release}${shared_ext}$major'
15861 if test "X$HPUX_IA64_MODE" = X32; then
15862 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15864 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15866 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15870 hardcode_into_libs=yes
15871 dynamic_linker="$host_os dld.sl"
15872 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15873 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15875 soname_spec='${libname}${release}${shared_ext}$major'
15876 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15877 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15881 dynamic_linker="$host_os dld.sl"
15882 shlibpath_var=SHLIB_PATH
15883 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15885 soname_spec='${libname}${release}${shared_ext}$major'
15888 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15889 postinstall_cmds='chmod 555 $lib'
15896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15897 soname_spec='${libname}${release}${shared_ext}$major'
15898 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15899 shlibpath_var=LD_LIBRARY_PATH
15900 shlibpath_overrides_runpath=no
15901 hardcode_into_libs=yes
15904 irix5* | irix6* | nonstopux*)
15906 nonstopux*) version_type=nonstopux ;;
15908 if test "$lt_cv_prog_gnu_ld" = yes; then
15916 soname_spec='${libname}${release}${shared_ext}$major'
15917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15919 irix5* | nonstopux*)
15920 libsuff= shlibsuff=
15923 case $LD in # libtool.m4 will add one of these switches to LD
15924 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15925 libsuff= shlibsuff= libmagic=32-bit;;
15926 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15927 libsuff=32 shlibsuff=N32 libmagic=N32;;
15928 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15929 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15930 *) libsuff= shlibsuff= libmagic=never-match;;
15934 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15935 shlibpath_overrides_runpath=no
15936 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15937 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15938 hardcode_into_libs=yes
15941 # No shared lib support for Linux oldld, aout, or coff.
15942 linux*oldld* | linux*aout* | linux*coff*)
15946 # This must be Linux ELF.
15947 linux* | k*bsd*-gnu)
15951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15952 soname_spec='${libname}${release}${shared_ext}$major'
15953 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15954 shlibpath_var=LD_LIBRARY_PATH
15955 shlibpath_overrides_runpath=no
15956 # Some binutils ld are patched to set DT_RUNPATH
15957 save_LDFLAGS=$LDFLAGS
15958 save_libdir=$libdir
15959 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15960 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15961 cat >conftest.$ac_ext <<_ACEOF
15964 cat confdefs.h >>conftest.$ac_ext
15965 cat >>conftest.$ac_ext <<_ACEOF
15966 /* end confdefs.h. */
15976 rm -f conftest.$ac_objext conftest$ac_exeext
15977 if { (ac_try="$ac_link"
15978 case "(($ac_try" in
15979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15980 *) ac_try_echo=$ac_try;;
15982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15983 (eval "$ac_link") 2>conftest.er1
15985 grep -v '^ *+' conftest.er1 >conftest.err
15987 cat conftest.err >&5
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); } && {
15990 test -z "$ac_cxx_werror_flag" ||
15991 test ! -s conftest.err
15992 } && test -s conftest$ac_exeext &&
15993 $as_test_x conftest$ac_exeext; then
15994 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
15995 shlibpath_overrides_runpath=yes
15999 echo "$as_me: failed program was:" >&5
16000 sed 's/^/| /' conftest.$ac_ext >&5
16005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16006 conftest$ac_exeext conftest.$ac_ext
16007 LDFLAGS=$save_LDFLAGS
16008 libdir=$save_libdir
16010 # This implies no fast_install, which is unacceptable.
16011 # Some rework will be needed to allow for fast_install
16012 # before this can be enabled.
16013 hardcode_into_libs=yes
16015 # Append ld.so.conf contents to the search path
16016 if test -f /etc/ld.so.conf; then
16017 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16018 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16021 # We used to test for /lib/ld.so.1 and disable shared libraries on
16022 # powerpc, because MkLinux only supported shared libraries with the
16023 # GNU dynamic linker. Since this was broken with cross compilers,
16024 # most powerpc-linux boxes support dynamic linking these days and
16025 # people can always --disable-shared, the test was removed, and we
16026 # assume the GNU/Linux dynamic linker is in use.
16027 dynamic_linker='GNU/Linux ld.so'
16034 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16036 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16037 dynamic_linker='NetBSD (a.out) ld.so'
16039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16040 soname_spec='${libname}${release}${shared_ext}$major'
16041 dynamic_linker='NetBSD ld.elf_so'
16043 shlibpath_var=LD_LIBRARY_PATH
16044 shlibpath_overrides_runpath=yes
16045 hardcode_into_libs=yes
16050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16051 shlibpath_var=LD_LIBRARY_PATH
16052 shlibpath_overrides_runpath=yes
16059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16060 soname_spec='${libname}${release}${shared_ext}$major'
16061 shlibpath_var=LD_LIBRARY_PATH
16062 shlibpath_overrides_runpath=no
16063 hardcode_into_libs=yes
16064 dynamic_linker='ldqnx.so'
16069 sys_lib_dlsearch_path_spec="/usr/lib"
16071 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16073 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16074 *) need_version=no ;;
16076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16077 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16078 shlibpath_var=LD_LIBRARY_PATH
16079 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16081 openbsd2.[89] | openbsd2.[89].*)
16082 shlibpath_overrides_runpath=no
16085 shlibpath_overrides_runpath=yes
16089 shlibpath_overrides_runpath=yes
16094 libname_spec='$name'
16097 library_names_spec='$libname${shared_ext} $libname.a'
16098 dynamic_linker='OS/2 ld.exe'
16099 shlibpath_var=LIBPATH
16102 osf3* | osf4* | osf5*)
16106 soname_spec='${libname}${release}${shared_ext}$major'
16107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16108 shlibpath_var=LD_LIBRARY_PATH
16109 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16110 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16122 soname_spec='${libname}${release}${shared_ext}$major'
16123 shlibpath_var=LD_LIBRARY_PATH
16124 shlibpath_overrides_runpath=yes
16125 hardcode_into_libs=yes
16126 # ldd complains unless libraries are executable
16127 postinstall_cmds='chmod +x $lib'
16132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16133 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16134 shlibpath_var=LD_LIBRARY_PATH
16135 shlibpath_overrides_runpath=yes
16136 if test "$with_gnu_ld" = yes; then
16144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16145 soname_spec='${libname}${release}${shared_ext}$major'
16146 shlibpath_var=LD_LIBRARY_PATH
16147 case $host_vendor in
16149 shlibpath_overrides_runpath=no
16151 runpath_var=LD_RUN_PATH
16159 shlibpath_overrides_runpath=no
16160 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16166 if test -d /usr/nec ;then
16168 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16169 soname_spec='$libname${shared_ext}.$major'
16170 shlibpath_var=LD_LIBRARY_PATH
16174 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16175 version_type=freebsd-elf
16178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16179 soname_spec='${libname}${release}${shared_ext}$major'
16180 shlibpath_var=LD_LIBRARY_PATH
16181 shlibpath_overrides_runpath=yes
16182 hardcode_into_libs=yes
16183 if test "$with_gnu_ld" = yes; then
16184 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16186 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16189 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16193 sys_lib_dlsearch_path_spec='/usr/lib'
16197 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16201 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16202 shlibpath_var=LD_LIBRARY_PATH
16203 shlibpath_overrides_runpath=no
16204 hardcode_into_libs=yes
16209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16210 soname_spec='${libname}${release}${shared_ext}$major'
16211 shlibpath_var=LD_LIBRARY_PATH
16218 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16219 echo "${ECHO_T}$dynamic_linker" >&6; }
16220 test "$dynamic_linker" = no && can_build_shared=no
16222 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16223 if test "$GCC" = yes; then
16224 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16227 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16228 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16230 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16231 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16269 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16270 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16271 hardcode_action_CXX=
16272 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16273 test -n "$runpath_var_CXX" ||
16274 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16276 # We can hardcode non-existent directories.
16277 if test "$hardcode_direct_CXX" != no &&
16278 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16279 # have to relink, otherwise we might link with an installed library
16280 # when we should be linking with a yet-to-be-installed one
16281 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16282 test "$hardcode_minus_L_CXX" != no; then
16283 # Linking always hardcodes the temporary library directory.
16284 hardcode_action_CXX=relink
16286 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16287 hardcode_action_CXX=immediate
16290 # We cannot hardcode anything, or else we can only hardcode existing
16292 hardcode_action_CXX=unsupported
16294 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
16295 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
16297 if test "$hardcode_action_CXX" = relink ||
16298 test "$inherit_rpath_CXX" = yes; then
16299 # Fast installation is not supported
16300 enable_fast_install=no
16301 elif test "$shlibpath_overrides_runpath" = yes ||
16302 test "$enable_shared" = no; then
16303 # Fast installation is not necessary
16304 enable_fast_install=needless
16313 fi # test -n "$compiler"
16319 with_gnu_ld=$lt_save_with_gnu_ld
16320 lt_cv_path_LDCXX=$lt_cv_path_LD
16321 lt_cv_path_LD=$lt_save_path_LD
16322 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16323 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16324 fi # test "$_lt_caught_CXX_error" != yes
16327 ac_cpp='$CPP $CPPFLAGS'
16328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16344 ac_config_commands="$ac_config_commands libtool"
16349 # Only expand once:
16352 : ${CONFIG_LT=./config.lt}
16353 { echo "$as_me:$LINENO: creating $CONFIG_LT" >&5
16354 echo "$as_me: creating $CONFIG_LT" >&6;}
16355 cat >"$CONFIG_LT" <<_LTEOF
16357 # Generated by $as_me.
16358 # Run this file to recreate a libtool stub with the current configuration.
16361 SHELL=\${CONFIG_SHELL-$SHELL}
16364 cat >>"$CONFIG_LT" <<\_LTEOF
16365 ## --------------------- ##
16366 ## M4sh Initialization. ##
16367 ## --------------------- ##
16369 # Be more Bourne compatible
16370 DUALCASE=1; export DUALCASE # for MKS sh
16371 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16374 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16375 # is contrary to our usage. Disable this feature.
16376 alias -g '${1+"$@"}'='"$@"'
16377 setopt NO_GLOB_SUBST
16379 case `(set -o) 2>/dev/null` in
16380 *posix*) set -o posix ;;
16389 # Avoid depending upon Character Ranges.
16390 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16391 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16392 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16393 as_cr_digits='0123456789'
16394 as_cr_alnum=$as_cr_Letters$as_cr_digits
16396 # The user is always right.
16397 if test "${PATH_SEPARATOR+set}" != set; then
16398 echo "#! /bin/sh" >conf$$.sh
16399 echo "exit 0" >>conf$$.sh
16401 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16409 # Support unset when possible.
16410 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
16418 # We need space, tab and new line, in precisely that order. Quoting is
16419 # there to prevent editors from complaining about space-tab.
16420 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16421 # splitting by setting IFS to empty value.)
16426 # Find who we are. Look in the path if we contain no directory separator.
16428 *[\\/]* ) as_myself=$0 ;;
16429 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16430 for as_dir in $PATH
16433 test -z "$as_dir" && as_dir=.
16434 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16440 # We did not find ourselves, most probably we were run as `sh COMMAND'
16441 # in which case we are not to be found in the path.
16442 if test "x$as_myself" = x; then
16445 if test ! -f "$as_myself"; then
16446 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16447 { (exit 1); exit 1; }
16450 # Work around bugs in pre-3.0 UWIN ksh.
16451 for as_var in ENV MAIL MAILPATH
16452 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
16460 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
16461 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
16462 LC_TELEPHONE LC_TIME
16464 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
16465 eval $as_var=C; export $as_var
16467 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
16471 # Required to use basename.
16472 if expr a : '\(a\)' >/dev/null 2>&1 &&
16473 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16479 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16480 as_basename=basename
16486 # Name of the executable.
16487 as_me=`$as_basename -- "$0" ||
16488 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16489 X"$0" : 'X\(//\)$' \| \
16490 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16492 sed '/^.*\/\([^/][^/]*\)\/*$/{
16511 as_lineno_1=$LINENO
16512 as_lineno_2=$LINENO
16513 test "x$as_lineno_1" != "x$as_lineno_2" &&
16514 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
16516 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16517 # uniformly replaced by the line number. The first 'sed' inserts a
16518 # line-number line after each line using $LINENO; the second 'sed'
16519 # does the real work. The second script uses 'N' to pair each
16520 # line-number line with the line containing $LINENO, and appends
16521 # trailing '-' during substitution so that $LINENO is not a special
16522 # case at line end.
16523 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16524 # scripts with optimization help from Paolo Bonzini. Blame Lee
16525 # E. McMahon (1931-1989) for sed's syntax. :-)
16537 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
16540 ' >$as_me.lineno &&
16541 chmod +x "$as_me.lineno" ||
16542 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
16543 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
16544 { (exit 1); exit 1; }; }
16546 # Don't try to exec as it changes $[0], causing all sort of problems
16547 # (the dirname of $[0] is not the place where we might find the
16548 # original and so on. Autoconf is especially sensitive to this).
16549 . "./$as_me.lineno"
16550 # Exit status is that of the last command.
16555 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16561 ECHO_C= ECHO_N= ECHO_T=
16562 case `echo -n x` in
16564 case `echo 'x\c'` in
16565 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16572 if expr a : '\(a\)' >/dev/null 2>&1 &&
16573 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16579 rm -f conf$$ conf$$.exe conf$$.file
16580 if test -d conf$$.dir; then
16581 rm -f conf$$.dir/conf$$.file
16587 if ln -s conf$$.file conf$$ 2>/dev/null; then
16589 # ... but there are two gotchas:
16590 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16591 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16592 # In both cases, we have to default to `cp -p'.
16593 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16595 elif ln conf$$.file conf$$ 2>/dev/null; then
16600 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16601 rmdir conf$$.dir 2>/dev/null
16603 if mkdir -p . 2>/dev/null; then
16606 test -d ./-p && rmdir ./-p
16610 if test -x / >/dev/null 2>&1; then
16611 as_test_x='test -x'
16613 if ls -dL / >/dev/null 2>&1; then
16620 if test -d "$1"; then
16626 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
16627 ???[sx]*):;;*)false;;esac;fi
16631 as_executable_p=$as_test_x
16633 # Sed expression to map a string onto a valid CPP name.
16634 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16636 # Sed expression to map a string onto a valid variable name.
16637 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16645 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16646 ## Running $as_me. ##
16651 \`$as_me' creates a local libtool stub from the current configuration,
16652 for use in further configure time tests before the real libtool is
16655 Usage: $0 [OPTIONS]
16657 -h, --help print this help, then exit
16658 -V, --version print version number, then exit
16659 -q, --quiet do not print progress messages
16660 -d, --debug don't remove temporary files
16662 Report bugs to <bug-libtool@gnu.org>."
16665 pango config.lt 1.26.1
16666 configured by $0, generated by GNU Autoconf 2.61.
16668 Copyright (C) 2008 Free Software Foundation, Inc.
16669 This config.lt script is free software; the Free Software Foundation
16670 gives unlimited permision to copy, distribute and modify it."
16675 --version | --v* | -V )
16676 echo "$lt_cl_version"; exit 0 ;;
16677 --help | --h* | -h )
16678 echo "$lt_cl_help"; exit 0 ;;
16679 --debug | --d* | -d )
16681 --quiet | --q* | --silent | --s* | -q )
16684 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16685 Try \`$0 --help' for more information." >&5
16686 echo "$as_me: error: unrecognized option: $1
16687 Try \`$0 --help' for more information." >&2;}
16688 { (exit 1); exit 1; }; } ;;
16690 *) { { echo "$as_me:$LINENO: error: unrecognized argument: $1
16691 Try \`$0 --help' for more information." >&5
16692 echo "$as_me: error: unrecognized argument: $1
16693 Try \`$0 --help' for more information." >&2;}
16694 { (exit 1); exit 1; }; } ;;
16699 if $lt_cl_silent; then
16704 cat >>"$CONFIG_LT" <<_LTEOF
16707 # The HP-UX ksh and POSIX shell print the target directory to stdout
16708 # if CDPATH is set.
16709 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16711 sed_quote_subst='$sed_quote_subst'
16712 double_quote_subst='$double_quote_subst'
16713 delay_variable_subst='$delay_variable_subst'
16714 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
16715 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16716 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16717 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16718 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16719 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16720 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16721 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16722 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16723 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16724 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16725 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16726 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16727 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16728 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16729 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16730 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16731 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16732 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16733 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16734 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16735 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16736 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16737 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16738 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16739 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16740 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16741 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16742 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16743 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16744 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16745 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16746 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16747 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16748 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16749 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16750 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16751 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16752 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16753 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16754 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16755 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16756 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16757 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16758 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16759 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16760 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16761 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16762 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16763 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16764 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16765 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16766 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16767 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16768 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16769 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16770 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16771 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16772 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16773 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16774 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16775 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16776 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16777 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16778 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16779 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16780 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16781 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16782 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16783 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16784 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16785 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16786 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16787 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16788 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16789 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16790 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16791 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16792 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16793 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16794 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16795 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16796 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16797 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16798 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16799 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16800 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16801 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16802 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16803 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16804 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16805 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16806 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16807 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16808 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16809 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16810 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16811 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16812 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16813 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16814 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16815 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16816 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16817 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16818 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16819 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16820 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16821 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16822 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16823 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16824 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16825 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16826 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16827 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16828 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16829 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16830 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16831 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16832 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16833 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16834 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16835 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16836 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16837 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16838 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16839 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16840 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16841 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16842 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16843 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16844 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16845 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16846 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16847 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16848 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16849 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16850 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16851 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16852 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16853 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16854 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16855 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16856 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16857 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16858 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16859 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16860 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16861 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16862 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16863 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16864 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16865 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16866 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16867 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16868 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16869 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16870 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16871 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16872 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16873 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16874 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16875 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16876 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16877 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16878 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16879 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16880 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16881 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16882 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16883 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16884 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16885 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16886 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16889 LTCFLAGS='$LTCFLAGS'
16890 compiler='$compiler_DEFAULT'
16892 # Quote evaled strings.
16903 deplibs_check_method \
16912 lt_cv_sys_global_symbol_pipe \
16913 lt_cv_sys_global_symbol_to_cdecl \
16914 lt_cv_sys_global_symbol_to_c_name_address \
16915 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16918 lt_prog_compiler_no_builtin_flag \
16919 lt_prog_compiler_wl \
16920 lt_prog_compiler_pic \
16921 lt_prog_compiler_static \
16922 lt_cv_prog_compiler_c_o \
16930 export_dynamic_flag_spec \
16931 whole_archive_flag_spec \
16932 compiler_needs_object \
16934 allow_undefined_flag \
16935 no_undefined_flag \
16936 hardcode_libdir_flag_spec \
16937 hardcode_libdir_flag_spec_ld \
16938 hardcode_libdir_separator \
16943 variables_saved_for_relink \
16945 library_names_spec \
16950 compiler_lib_search_dirs \
16955 compiler_lib_search_path \
16958 lt_prog_compiler_no_builtin_flag_CXX \
16959 lt_prog_compiler_wl_CXX \
16960 lt_prog_compiler_pic_CXX \
16961 lt_prog_compiler_static_CXX \
16962 lt_cv_prog_compiler_c_o_CXX \
16963 export_dynamic_flag_spec_CXX \
16964 whole_archive_flag_spec_CXX \
16965 compiler_needs_object_CXX \
16967 allow_undefined_flag_CXX \
16968 no_undefined_flag_CXX \
16969 hardcode_libdir_flag_spec_CXX \
16970 hardcode_libdir_flag_spec_ld_CXX \
16971 hardcode_libdir_separator_CXX \
16972 fix_srcfile_path_CXX \
16973 exclude_expsyms_CXX \
16974 include_expsyms_CXX \
16975 file_list_spec_CXX \
16976 compiler_lib_search_dirs_CXX \
16977 predep_objects_CXX \
16978 postdep_objects_CXX \
16981 compiler_lib_search_path_CXX; do
16982 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16983 *[\\\\\\\`\\"\\\$]*)
16984 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16987 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16992 # Double-quote double-evaled strings.
16993 for var in reload_cmds \
16994 old_postinstall_cmds \
16995 old_postuninstall_cmds \
16997 extract_expsyms_cmds \
16998 old_archive_from_new_cmds \
16999 old_archive_from_expsyms_cmds \
17001 archive_expsym_cmds \
17003 module_expsym_cmds \
17004 export_symbols_cmds \
17007 postuninstall_cmds \
17009 sys_lib_search_path_spec \
17010 sys_lib_dlsearch_path_spec \
17011 old_archive_cmds_CXX \
17012 old_archive_from_new_cmds_CXX \
17013 old_archive_from_expsyms_cmds_CXX \
17015 archive_expsym_cmds_CXX \
17017 module_expsym_cmds_CXX \
17018 export_symbols_cmds_CXX \
17019 prelink_cmds_CXX; do
17020 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17021 *[\\\\\\\`\\"\\\$]*)
17022 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17025 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17030 # Fix-up fallback echo if it was mangled by the above quoting rules.
17032 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17036 ac_aux_dir='$ac_aux_dir'
17037 xsi_shell='$xsi_shell'
17038 lt_shell_append='$lt_shell_append'
17040 # See if we are running on zsh, and set the options which allow our
17041 # commands through without removal of \ escapes INIT.
17042 if test -n "\${ZSH_VERSION+set}" ; then
17043 setopt NO_GLOB_SUBST
17049 TIMESTAMP='$TIMESTAMP'
17059 cat >>"$CONFIG_LT" <<\_LTEOF
17060 { echo "$as_me:$LINENO: creating $ofile" >&5
17061 echo "$as_me: creating $ofile" >&6;}
17064 # See if we are running on zsh, and set the options which allow our
17065 # commands through without removal of \ escapes.
17066 if test -n "${ZSH_VERSION+set}" ; then
17067 setopt NO_GLOB_SUBST
17070 cfgfile="${ofile}T"
17071 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17074 cat <<_LT_EOF >> "$cfgfile"
17077 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17078 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17079 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17080 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17082 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17083 # 2006, 2007, 2008 Free Software Foundation, Inc.
17084 # Written by Gordon Matzigkeit, 1996
17086 # This file is part of GNU Libtool.
17088 # GNU Libtool is free software; you can redistribute it and/or
17089 # modify it under the terms of the GNU General Public License as
17090 # published by the Free Software Foundation; either version 2 of
17091 # the License, or (at your option) any later version.
17093 # As a special exception to the GNU General Public License,
17094 # if you distribute this file as part of a program or library that
17095 # is built using GNU Libtool, you may include this file under the
17096 # same distribution terms that you use for the rest of that program.
17098 # GNU Libtool is distributed in the hope that it will be useful,
17099 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17100 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17101 # GNU General Public License for more details.
17103 # You should have received a copy of the GNU General Public License
17104 # along with GNU Libtool; see the file COPYING. If not, a copy
17105 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17106 # obtained by writing to the Free Software Foundation, Inc.,
17107 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17110 # The names of the tagged configurations supported by this script.
17111 available_tags="CXX "
17113 # ### BEGIN LIBTOOL CONFIG
17115 # Assembler program.
17118 # DLL creation program.
17121 # Object dumper program.
17124 # Whether or not to build static libraries.
17125 build_old_libs=$enable_static
17127 # Which release of libtool.m4 was used?
17128 macro_version=$macro_version
17129 macro_revision=$macro_revision
17131 # Whether or not to build shared libraries.
17132 build_libtool_libs=$enable_shared
17134 # What type of objects to build.
17137 # Whether or not to optimize for fast installation.
17138 fast_install=$enable_fast_install
17141 host_alias=$host_alias
17145 # The build system.
17146 build_alias=$build_alias
17150 # A sed program that does not truncate output.
17153 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17154 Xsed="\$SED -e 1s/^X//"
17156 # A grep program that handles long lines.
17162 # A literal string matcher.
17165 # A BSD- or MS-compatible name lister.
17168 # Whether we need soft or hard links.
17171 # What is the maximum length of a command?
17172 max_cmd_len=$max_cmd_len
17174 # Object file suffix (normally "o").
17177 # Executable file suffix (normally "").
17180 # whether the shell understands "unset".
17183 # turn spaces into newlines.
17186 # turn newlines into spaces.
17189 # How to create reloadable object files.
17190 reload_flag=$lt_reload_flag
17191 reload_cmds=$lt_reload_cmds
17193 # Method to check whether dependent libraries are shared objects.
17194 deplibs_check_method=$lt_deplibs_check_method
17196 # Command to use when deplibs_check_method == "file_magic".
17197 file_magic_cmd=$lt_file_magic_cmd
17201 AR_FLAGS=$lt_AR_FLAGS
17203 # A symbol stripping program.
17206 # Commands used to install an old-style archive.
17208 old_postinstall_cmds=$lt_old_postinstall_cmds
17209 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17214 # LTCC compiler flags.
17215 LTCFLAGS=$lt_CFLAGS
17217 # Take the output of nm and produce a listing of raw symbols and C names.
17218 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17220 # Transform the output of nm in a proper C declaration.
17221 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17223 # Transform the output of nm in a C name address pair.
17224 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17226 # Transform the output of nm in a C name address pair when lib prefix is needed.
17227 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17229 # The name of the directory that contains temporary libtool files.
17232 # Shell to use when invoking shell scripts.
17235 # An echo program that does not interpret backslashes.
17238 # Used to examine libraries when file_magic_cmd begins with "file".
17239 MAGIC_CMD=$MAGIC_CMD
17241 # Must we lock files when doing compilation?
17242 need_locks=$lt_need_locks
17244 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17245 DSYMUTIL=$lt_DSYMUTIL
17247 # Tool to change global to local symbols on Mac OS X.
17250 # Tool to manipulate fat objects and archives on Mac OS X.
17253 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17256 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17257 OTOOL64=$lt_OTOOL64
17259 # Old archive suffix (normally "a").
17262 # Shared library suffix (normally ".so").
17263 shrext_cmds=$lt_shrext_cmds
17265 # The commands to extract the exported symbol list from a shared archive.
17266 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17268 # Variables whose values should be saved in libtool wrapper scripts and
17269 # restored at link time.
17270 variables_saved_for_relink=$lt_variables_saved_for_relink
17272 # Do we need the "lib" prefix for modules?
17273 need_lib_prefix=$need_lib_prefix
17275 # Do we need a version for libraries?
17276 need_version=$need_version
17278 # Library versioning type.
17279 version_type=$version_type
17281 # Shared library runtime path variable.
17282 runpath_var=$runpath_var
17284 # Shared library path variable.
17285 shlibpath_var=$shlibpath_var
17287 # Is shlibpath searched before the hard-coded library search path?
17288 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17290 # Format of library name prefix.
17291 libname_spec=$lt_libname_spec
17293 # List of archive names. First name is the real one, the rest are links.
17294 # The last name is the one that the linker finds with -lNAME
17295 library_names_spec=$lt_library_names_spec
17297 # The coded name of the library, if different from the real name.
17298 soname_spec=$lt_soname_spec
17300 # Command to use after installation of a shared archive.
17301 postinstall_cmds=$lt_postinstall_cmds
17303 # Command to use after uninstallation of a shared archive.
17304 postuninstall_cmds=$lt_postuninstall_cmds
17306 # Commands used to finish a libtool library installation in a directory.
17307 finish_cmds=$lt_finish_cmds
17309 # As "finish_cmds", except a single script fragment to be evaled but
17311 finish_eval=$lt_finish_eval
17313 # Whether we should hardcode library paths into libraries.
17314 hardcode_into_libs=$hardcode_into_libs
17316 # Compile-time system search path for libraries.
17317 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17319 # Run-time system search path for libraries.
17320 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17322 # Whether dlopen is supported.
17323 dlopen_support=$enable_dlopen
17325 # Whether dlopen of programs is supported.
17326 dlopen_self=$enable_dlopen_self
17328 # Whether dlopen of statically linked programs is supported.
17329 dlopen_self_static=$enable_dlopen_self_static
17331 # Commands to strip libraries.
17332 old_striplib=$lt_old_striplib
17333 striplib=$lt_striplib
17336 # The linker used to build libraries.
17339 # Commands used to build an old-style archive.
17340 old_archive_cmds=$lt_old_archive_cmds
17342 # A language specific compiler.
17345 # Is the compiler the GNU compiler?
17348 # Compiler flag to turn off builtin functions.
17349 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17351 # How to pass a linker flag through the compiler.
17352 wl=$lt_lt_prog_compiler_wl
17354 # Additional compiler flags for building library objects.
17355 pic_flag=$lt_lt_prog_compiler_pic
17357 # Compiler flag to prevent dynamic linking.
17358 link_static_flag=$lt_lt_prog_compiler_static
17360 # Does compiler simultaneously support -c and -o options?
17361 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17363 # Whether or not to add -lc for building shared libraries.
17364 build_libtool_need_lc=$archive_cmds_need_lc
17366 # Whether or not to disallow shared libs when runtime libs are static.
17367 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17369 # Compiler flag to allow reflexive dlopens.
17370 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17372 # Compiler flag to generate shared objects directly from archives.
17373 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17375 # Whether the compiler copes with passing no objects directly.
17376 compiler_needs_object=$lt_compiler_needs_object
17378 # Create an old-style archive from a shared archive.
17379 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17381 # Create a temporary old-style archive to link instead of a shared archive.
17382 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17384 # Commands used to build a shared archive.
17385 archive_cmds=$lt_archive_cmds
17386 archive_expsym_cmds=$lt_archive_expsym_cmds
17388 # Commands used to build a loadable module if different from building
17389 # a shared archive.
17390 module_cmds=$lt_module_cmds
17391 module_expsym_cmds=$lt_module_expsym_cmds
17393 # Whether we are building with GNU ld or not.
17394 with_gnu_ld=$lt_with_gnu_ld
17396 # Flag that allows shared libraries with undefined symbols to be built.
17397 allow_undefined_flag=$lt_allow_undefined_flag
17399 # Flag that enforces no undefined symbols.
17400 no_undefined_flag=$lt_no_undefined_flag
17402 # Flag to hardcode \$libdir into a binary during linking.
17403 # This must work even if \$libdir does not exist
17404 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17406 # If ld is used when linking, flag to hardcode \$libdir into a binary
17407 # during linking. This must work even if \$libdir does not exist.
17408 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17410 # Whether we need a single "-rpath" flag with a separated argument.
17411 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17413 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17414 # DIR into the resulting binary.
17415 hardcode_direct=$hardcode_direct
17417 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17418 # DIR into the resulting binary and the resulting library dependency is
17419 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17420 # library is relocated.
17421 hardcode_direct_absolute=$hardcode_direct_absolute
17423 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17424 # into the resulting binary.
17425 hardcode_minus_L=$hardcode_minus_L
17427 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17428 # into the resulting binary.
17429 hardcode_shlibpath_var=$hardcode_shlibpath_var
17431 # Set to "yes" if building a shared library automatically hardcodes DIR
17432 # into the library and all subsequent libraries and executables linked
17434 hardcode_automatic=$hardcode_automatic
17436 # Set to yes if linker adds runtime paths of dependent libraries
17437 # to runtime path list.
17438 inherit_rpath=$inherit_rpath
17440 # Whether libtool must link a program against all its dependency libraries.
17441 link_all_deplibs=$link_all_deplibs
17443 # Fix the shell variable \$srcfile for the compiler.
17444 fix_srcfile_path=$lt_fix_srcfile_path
17446 # Set to "yes" if exported symbols are required.
17447 always_export_symbols=$always_export_symbols
17449 # The commands to list exported symbols.
17450 export_symbols_cmds=$lt_export_symbols_cmds
17452 # Symbols that should not be listed in the preloaded symbols.
17453 exclude_expsyms=$lt_exclude_expsyms
17455 # Symbols that must always be exported.
17456 include_expsyms=$lt_include_expsyms
17458 # Commands necessary for linking programs (against libraries) with templates.
17459 prelink_cmds=$lt_prelink_cmds
17461 # Specify filename containing input files.
17462 file_list_spec=$lt_file_list_spec
17464 # How to hardcode a shared library path into an executable.
17465 hardcode_action=$hardcode_action
17467 # The directories searched by this compiler when creating a shared library.
17468 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17470 # Dependencies to place before and after the objects being linked to
17471 # create a shared library.
17472 predep_objects=$lt_predep_objects
17473 postdep_objects=$lt_postdep_objects
17474 predeps=$lt_predeps
17475 postdeps=$lt_postdeps
17477 # The library search path used internally by the compiler when linking
17478 # a shared library.
17479 compiler_lib_search_path=$lt_compiler_lib_search_path
17481 # ### END LIBTOOL CONFIG
17487 cat <<\_LT_EOF >> "$cfgfile"
17488 # AIX sometimes has problems with the GCC collect2 program. For some
17489 # reason, if we set the COLLECT_NAMES environment variable, the problems
17490 # vanish in a puff of smoke.
17491 if test "X${COLLECT_NAMES+set}" != Xset; then
17493 export COLLECT_NAMES
17500 ltmain="$ac_aux_dir/ltmain.sh"
17503 # We use sed instead of cat because bash on DJGPP gets confused if
17504 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17505 # text mode, it properly converts lines to CR/LF. This bash problem
17506 # is reportedly fixed, but why not run on old versions too?
17507 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17508 || (rm -f "$cfgfile"; exit 1)
17512 cat << \_LT_EOF >> "$cfgfile"
17514 # func_dirname file append nondir_replacement
17515 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17516 # otherwise set result to NONDIR_REPLACEMENT.
17520 */*) func_dirname_result="${1%/*}${2}" ;;
17521 * ) func_dirname_result="${3}" ;;
17525 # func_basename file
17528 func_basename_result="${1##*/}"
17531 # func_dirname_and_basename file append nondir_replacement
17532 # perform func_basename and func_dirname in a single function
17534 # dirname: Compute the dirname of FILE. If nonempty,
17535 # add APPEND to the result, otherwise set result
17536 # to NONDIR_REPLACEMENT.
17537 # value returned in "$func_dirname_result"
17538 # basename: Compute filename of FILE.
17539 # value retuned in "$func_basename_result"
17540 # Implementation must be kept synchronized with func_dirname
17541 # and func_basename. For efficiency, we do not delegate to
17542 # those functions but instead duplicate the functionality here.
17543 func_dirname_and_basename ()
17546 */*) func_dirname_result="${1%/*}${2}" ;;
17547 * ) func_dirname_result="${3}" ;;
17549 func_basename_result="${1##*/}"
17552 # func_stripname prefix suffix name
17553 # strip PREFIX and SUFFIX off of NAME.
17554 # PREFIX and SUFFIX must not contain globbing or regex special
17555 # characters, hashes, percent signs, but SUFFIX may contain a leading
17556 # dot (in which case that matches only a dot).
17559 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17560 # positional parameters, so assign one to ordinary parameter first.
17561 func_stripname_result=${3}
17562 func_stripname_result=${func_stripname_result#"${1}"}
17563 func_stripname_result=${func_stripname_result%"${2}"}
17569 func_opt_split_opt=${1%%=*}
17570 func_opt_split_arg=${1#*=}
17577 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17578 *) func_lo2o_result=${1} ;;
17582 # func_xform libobj-or-source
17585 func_xform_result=${1%.*}.lo
17588 # func_arith arithmetic-term...
17591 func_arith_result=$(( $* ))
17595 # STRING may not start with a hyphen.
17598 func_len_result=${#1}
17603 *) # Bourne compatible functions.
17604 cat << \_LT_EOF >> "$cfgfile"
17606 # func_dirname file append nondir_replacement
17607 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17608 # otherwise set result to NONDIR_REPLACEMENT.
17611 # Extract subdirectory from the argument.
17612 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17613 if test "X$func_dirname_result" = "X${1}"; then
17614 func_dirname_result="${3}"
17616 func_dirname_result="$func_dirname_result${2}"
17620 # func_basename file
17623 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17627 # func_stripname prefix suffix name
17628 # strip PREFIX and SUFFIX off of NAME.
17629 # PREFIX and SUFFIX must not contain globbing or regex special
17630 # characters, hashes, percent signs, but SUFFIX may contain a leading
17631 # dot (in which case that matches only a dot).
17632 # func_strip_suffix prefix name
17636 .*) func_stripname_result=`$ECHO "X${3}" \
17637 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17638 *) func_stripname_result=`$ECHO "X${3}" \
17639 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17644 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17645 my_sed_long_arg='1s/^-[^=]*=//'
17650 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17651 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17657 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17660 # func_xform libobj-or-source
17663 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17666 # func_arith arithmetic-term...
17669 func_arith_result=`expr "$@"`
17673 # STRING may not start with a hyphen.
17676 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17682 case $lt_shell_append in
17684 cat << \_LT_EOF >> "$cfgfile"
17686 # func_append var value
17687 # Append VALUE to the end of shell variable VAR.
17695 cat << \_LT_EOF >> "$cfgfile"
17697 # func_append var value
17698 # Append VALUE to the end of shell variable VAR.
17709 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17710 || (rm -f "$cfgfile"; exit 1)
17712 mv -f "$cfgfile" "$ofile" ||
17713 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17717 cat <<_LT_EOF >> "$ofile"
17719 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17721 # The linker used to build libraries.
17724 # Commands used to build an old-style archive.
17725 old_archive_cmds=$lt_old_archive_cmds_CXX
17727 # A language specific compiler.
17728 CC=$lt_compiler_CXX
17730 # Is the compiler the GNU compiler?
17733 # Compiler flag to turn off builtin functions.
17734 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17736 # How to pass a linker flag through the compiler.
17737 wl=$lt_lt_prog_compiler_wl_CXX
17739 # Additional compiler flags for building library objects.
17740 pic_flag=$lt_lt_prog_compiler_pic_CXX
17742 # Compiler flag to prevent dynamic linking.
17743 link_static_flag=$lt_lt_prog_compiler_static_CXX
17745 # Does compiler simultaneously support -c and -o options?
17746 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17748 # Whether or not to add -lc for building shared libraries.
17749 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17751 # Whether or not to disallow shared libs when runtime libs are static.
17752 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17754 # Compiler flag to allow reflexive dlopens.
17755 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17757 # Compiler flag to generate shared objects directly from archives.
17758 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17760 # Whether the compiler copes with passing no objects directly.
17761 compiler_needs_object=$lt_compiler_needs_object_CXX
17763 # Create an old-style archive from a shared archive.
17764 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17766 # Create a temporary old-style archive to link instead of a shared archive.
17767 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17769 # Commands used to build a shared archive.
17770 archive_cmds=$lt_archive_cmds_CXX
17771 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17773 # Commands used to build a loadable module if different from building
17774 # a shared archive.
17775 module_cmds=$lt_module_cmds_CXX
17776 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17778 # Whether we are building with GNU ld or not.
17779 with_gnu_ld=$lt_with_gnu_ld_CXX
17781 # Flag that allows shared libraries with undefined symbols to be built.
17782 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17784 # Flag that enforces no undefined symbols.
17785 no_undefined_flag=$lt_no_undefined_flag_CXX
17787 # Flag to hardcode \$libdir into a binary during linking.
17788 # This must work even if \$libdir does not exist
17789 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17791 # If ld is used when linking, flag to hardcode \$libdir into a binary
17792 # during linking. This must work even if \$libdir does not exist.
17793 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17795 # Whether we need a single "-rpath" flag with a separated argument.
17796 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17798 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17799 # DIR into the resulting binary.
17800 hardcode_direct=$hardcode_direct_CXX
17802 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17803 # DIR into the resulting binary and the resulting library dependency is
17804 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17805 # library is relocated.
17806 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17808 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17809 # into the resulting binary.
17810 hardcode_minus_L=$hardcode_minus_L_CXX
17812 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17813 # into the resulting binary.
17814 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17816 # Set to "yes" if building a shared library automatically hardcodes DIR
17817 # into the library and all subsequent libraries and executables linked
17819 hardcode_automatic=$hardcode_automatic_CXX
17821 # Set to yes if linker adds runtime paths of dependent libraries
17822 # to runtime path list.
17823 inherit_rpath=$inherit_rpath_CXX
17825 # Whether libtool must link a program against all its dependency libraries.
17826 link_all_deplibs=$link_all_deplibs_CXX
17828 # Fix the shell variable \$srcfile for the compiler.
17829 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17831 # Set to "yes" if exported symbols are required.
17832 always_export_symbols=$always_export_symbols_CXX
17834 # The commands to list exported symbols.
17835 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17837 # Symbols that should not be listed in the preloaded symbols.
17838 exclude_expsyms=$lt_exclude_expsyms_CXX
17840 # Symbols that must always be exported.
17841 include_expsyms=$lt_include_expsyms_CXX
17843 # Commands necessary for linking programs (against libraries) with templates.
17844 prelink_cmds=$lt_prelink_cmds_CXX
17846 # Specify filename containing input files.
17847 file_list_spec=$lt_file_list_spec_CXX
17849 # How to hardcode a shared library path into an executable.
17850 hardcode_action=$hardcode_action_CXX
17852 # The directories searched by this compiler when creating a shared library.
17853 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17855 # Dependencies to place before and after the objects being linked to
17856 # create a shared library.
17857 predep_objects=$lt_predep_objects_CXX
17858 postdep_objects=$lt_postdep_objects_CXX
17859 predeps=$lt_predeps_CXX
17860 postdeps=$lt_postdeps_CXX
17862 # The library search path used internally by the compiler when linking
17863 # a shared library.
17864 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17866 # ### END LIBTOOL TAG CONFIG: CXX
17870 { (exit 0); exit 0; }
17872 chmod +x "$CONFIG_LT"
17874 # configure is writing to config.log, but config.lt does its own redirection,
17875 # appending to config.log, which fails on DOS, as config.log is still kept
17876 # open by configure. Here we exec the FD to /dev/null, effectively closing
17877 # config.log, so it can be properly (re)opened and appended to by config.lt.
17878 if test "$no_create" != yes; then
17880 test "$silent" = yes &&
17881 lt_config_lt_args="$lt_config_lt_args --quiet"
17883 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
17885 $lt_cl_success || { (exit 1); exit 1; }
17889 { echo "$as_me:$LINENO: checking for some Win32 platform" >&5
17890 echo $ECHO_N "checking for some Win32 platform... $ECHO_C" >&6; }
17892 *-*-mingw*|*-*-cygwin*)
17893 pango_platform_win32=yes
17896 pango_platform_win32=no
17899 { echo "$as_me:$LINENO: result: $pango_platform_win32" >&5
17900 echo "${ECHO_T}$pango_platform_win32" >&6; }
17903 if test "$pango_platform_win32" = "yes"; then
17904 PLATFORM_WIN32_TRUE=
17905 PLATFORM_WIN32_FALSE='#'
17907 PLATFORM_WIN32_TRUE='#'
17908 PLATFORM_WIN32_FALSE=
17912 if test "$pango_platform_win32" = "yes"; then
17913 if test -n "$ac_tool_prefix"; then
17914 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
17915 set dummy ${ac_tool_prefix}windres; ac_word=$2
17916 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17918 if test "${ac_cv_prog_WINDRES+set}" = set; then
17919 echo $ECHO_N "(cached) $ECHO_C" >&6
17921 if test -n "$WINDRES"; then
17922 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
17924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17925 for as_dir in $PATH
17928 test -z "$as_dir" && as_dir=.
17929 for ac_exec_ext in '' $ac_executable_extensions; do
17930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17931 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
17932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17941 WINDRES=$ac_cv_prog_WINDRES
17942 if test -n "$WINDRES"; then
17943 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17944 echo "${ECHO_T}$WINDRES" >&6; }
17946 { echo "$as_me:$LINENO: result: no" >&5
17947 echo "${ECHO_T}no" >&6; }
17952 if test -z "$ac_cv_prog_WINDRES"; then
17953 ac_ct_WINDRES=$WINDRES
17954 # Extract the first word of "windres", so it can be a program name with args.
17955 set dummy windres; ac_word=$2
17956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17958 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17959 echo $ECHO_N "(cached) $ECHO_C" >&6
17961 if test -n "$ac_ct_WINDRES"; then
17962 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17965 for as_dir in $PATH
17968 test -z "$as_dir" && as_dir=.
17969 for ac_exec_ext in '' $ac_executable_extensions; do
17970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17971 ac_cv_prog_ac_ct_WINDRES="windres"
17972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17981 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17982 if test -n "$ac_ct_WINDRES"; then
17983 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17984 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17986 { echo "$as_me:$LINENO: result: no" >&5
17987 echo "${ECHO_T}no" >&6; }
17990 if test "x$ac_ct_WINDRES" = x; then
17993 case $cross_compiling:$ac_tool_warned in
17995 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17996 whose name does not start with the host triplet. If you think this
17997 configuration is useful to you, please write to autoconf@gnu.org." >&5
17998 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17999 whose name does not start with the host triplet. If you think this
18000 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18001 ac_tool_warned=yes ;;
18003 WINDRES=$ac_ct_WINDRES
18006 WINDRES="$ac_cv_prog_WINDRES"
18009 if test "$WINDRES" = no; then
18010 { { echo "$as_me:$LINENO: error: *** Could not find an implementation of windres in your PATH." >&5
18011 echo "$as_me: error: *** Could not find an implementation of windres in your PATH." >&2;}
18012 { (exit 1); exit 1; }; }
18014 # Extract the first word of "lib.exe", so it can be a program name with args.
18015 set dummy lib.exe; ac_word=$2
18016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18018 if test "${ac_cv_prog_ms_librarian+set}" = set; then
18019 echo $ECHO_N "(cached) $ECHO_C" >&6
18021 if test -n "$ms_librarian"; then
18022 ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
18024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18025 for as_dir in $PATH
18028 test -z "$as_dir" && as_dir=.
18029 for ac_exec_ext in '' $ac_executable_extensions; do
18030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18031 ac_cv_prog_ms_librarian="yes"
18032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18039 test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
18042 ms_librarian=$ac_cv_prog_ms_librarian
18043 if test -n "$ms_librarian"; then
18044 { echo "$as_me:$LINENO: result: $ms_librarian" >&5
18045 echo "${ECHO_T}$ms_librarian" >&6; }
18047 { echo "$as_me:$LINENO: result: no" >&5
18048 echo "${ECHO_T}no" >&6; }
18055 if test x$ms_librarian = xyes; then
18056 MS_LIB_AVAILABLE_TRUE=
18057 MS_LIB_AVAILABLE_FALSE='#'
18059 MS_LIB_AVAILABLE_TRUE='#'
18060 MS_LIB_AVAILABLE_FALSE=
18064 if test "x$GCC" = "xyes"; then
18065 case " $CFLAGS " in
18066 *[\ \ ]-Wall[\ \ ]*) ;;
18067 *) CFLAGS="$CFLAGS -Wall" ;;
18074 # Check whether --enable-debug was given.
18075 if test "${enable_debug+set}" = set; then
18076 enableval=$enable_debug;
18078 enable_debug=minimum
18082 if test "x$enable_debug" = "xyes"; then
18083 PANGO_DEBUG_FLAGS="-DPANGO_ENABLE_DEBUG"
18085 PANGO_DEBUG_FLAGS="-DG_DISABLE_CAST_CHECKS"
18087 if test "x$enable_debug" = "xno"; then
18088 PANGO_DEBUG_FLAGS="$GLIB_DEBUG_FLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS $PANGO_DEBUG_FLAGS"
18094 # Check whether --enable-rebuilds was given.
18095 if test "${enable_rebuilds+set}" = set; then
18096 enableval=$enable_rebuilds;
18098 enable_rebuilds=yes
18104 if test $cross_compiling = yes; then
18105 CROSS_COMPILING_TRUE=
18106 CROSS_COMPILING_FALSE='#'
18108 CROSS_COMPILING_TRUE='#'
18109 CROSS_COMPILING_FALSE=
18114 if test "x$pango_os_win32" != xyes; then
18115 { echo "$as_me:$LINENO: checking for X" >&5
18116 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
18119 # Check whether --with-x was given.
18120 if test "${with_x+set}" = set; then
18124 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
18125 if test "x$with_x" = xno; then
18126 # The user explicitly disabled X.
18129 case $x_includes,$x_libraries in #(
18130 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
18131 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
18132 { (exit 1); exit 1; }; };; #(
18133 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18136 # One or both of the vars are not set, and there is no cached value.
18137 ac_x_includes=no ac_x_libraries=no
18138 rm -f -r conftest.dir
18139 if mkdir conftest.dir; then
18141 cat >Imakefile <<'_ACEOF'
18143 @echo incroot='${INCROOT}'
18145 @echo usrlibdir='${USRLIBDIR}'
18147 @echo libdir='${LIBDIR}'
18149 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
18150 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18151 for ac_var in incroot usrlibdir libdir; do
18152 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
18154 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
18155 for ac_extension in a so sl; do
18156 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
18157 test -f "$ac_im_libdir/libX11.$ac_extension"; then
18158 ac_im_usrlibdir=$ac_im_libdir; break
18161 # Screen out bogus values from the imake configuration. They are
18162 # bogus both because they are the default anyway, and because
18163 # using them would break gcc on systems where it needs fixed includes.
18164 case $ac_im_incroot in
18165 /usr/include) ac_x_includes= ;;
18166 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
18168 case $ac_im_usrlibdir in
18169 /usr/lib | /lib) ;;
18170 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
18174 rm -f -r conftest.dir
18177 # Standard set of common directories for X headers.
18178 # Check X11 before X11Rn because it is often a symlink to the current release.
18190 /usr/local/X11/include
18191 /usr/local/X11R6/include
18192 /usr/local/X11R5/include
18193 /usr/local/X11R4/include
18195 /usr/local/include/X11
18196 /usr/local/include/X11R6
18197 /usr/local/include/X11R5
18198 /usr/local/include/X11R4
18202 /usr/XFree86/include/X11
18206 /usr/unsupported/include
18207 /usr/athena/include
18208 /usr/local/x11r5/include
18209 /usr/lpp/Xamples/include
18211 /usr/openwin/include
18212 /usr/openwin/share/include'
18214 if test "$ac_x_includes" = no; then
18215 # Guess where to find include files, by looking for Xlib.h.
18216 # First, try using that file with no special directory specified.
18217 cat >conftest.$ac_ext <<_ACEOF
18220 cat confdefs.h >>conftest.$ac_ext
18221 cat >>conftest.$ac_ext <<_ACEOF
18222 /* end confdefs.h. */
18223 #include <X11/Xlib.h>
18225 if { (ac_try="$ac_cpp conftest.$ac_ext"
18226 case "(($ac_try" in
18227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18228 *) ac_try_echo=$ac_try;;
18230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18231 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18233 grep -v '^ *+' conftest.er1 >conftest.err
18235 cat conftest.err >&5
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); } >/dev/null && {
18238 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18239 test ! -s conftest.err
18241 # We can compile using X headers with no special include directory.
18244 echo "$as_me: failed program was:" >&5
18245 sed 's/^/| /' conftest.$ac_ext >&5
18247 for ac_dir in $ac_x_header_dirs; do
18248 if test -r "$ac_dir/X11/Xlib.h"; then
18249 ac_x_includes=$ac_dir
18255 rm -f conftest.err conftest.$ac_ext
18256 fi # $ac_x_includes = no
18258 if test "$ac_x_libraries" = no; then
18259 # Check for the libraries.
18260 # See if we find them without any special options.
18261 # Don't add to $LIBS permanently.
18264 cat >conftest.$ac_ext <<_ACEOF
18267 cat confdefs.h >>conftest.$ac_ext
18268 cat >>conftest.$ac_ext <<_ACEOF
18269 /* end confdefs.h. */
18270 #include <X11/Xlib.h>
18279 rm -f conftest.$ac_objext conftest$ac_exeext
18280 if { (ac_try="$ac_link"
18281 case "(($ac_try" in
18282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18283 *) ac_try_echo=$ac_try;;
18285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18286 (eval "$ac_link") 2>conftest.er1
18288 grep -v '^ *+' conftest.er1 >conftest.err
18290 cat conftest.err >&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); } && {
18293 test -z "$ac_c_werror_flag" ||
18294 test ! -s conftest.err
18295 } && test -s conftest$ac_exeext &&
18296 $as_test_x conftest$ac_exeext; then
18298 # We can link X programs with no special library path.
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.$ac_ext >&5
18305 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
18307 # Don't even attempt the hair of trying to link an X program!
18308 for ac_extension in a so sl; do
18309 if test -r "$ac_dir/libX11.$ac_extension"; then
18310 ac_x_libraries=$ac_dir
18317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18318 conftest$ac_exeext conftest.$ac_ext
18319 fi # $ac_x_libraries = no
18321 case $ac_x_includes,$ac_x_libraries in #(
18322 no,* | *,no | *\'*)
18323 # Didn't find X, or a directory has "'" in its name.
18324 ac_cv_have_x="have_x=no";; #(
18326 # Record where we found X for the cache.
18327 ac_cv_have_x="have_x=yes\
18328 ac_x_includes='$ac_x_includes'\
18329 ac_x_libraries='$ac_x_libraries'"
18335 eval "$ac_cv_have_x"
18338 if test "$have_x" != yes; then
18339 { echo "$as_me:$LINENO: result: $have_x" >&5
18340 echo "${ECHO_T}$have_x" >&6; }
18343 # If each of the values was on the command line, it overrides each guess.
18344 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
18345 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
18346 # Update the cache value to reflect the command line values.
18347 ac_cv_have_x="have_x=yes\
18348 ac_x_includes='$x_includes'\
18349 ac_x_libraries='$x_libraries'"
18350 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
18351 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
18354 if test "$no_x" = yes; then
18355 # Not all programs may use this symbol, but it does not hurt to define it.
18357 cat >>confdefs.h <<\_ACEOF
18358 #define X_DISPLAY_MISSING 1
18361 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
18363 if test -n "$x_includes"; then
18364 X_CFLAGS="$X_CFLAGS -I$x_includes"
18367 # It would also be nice to do this for all -L options, not just this one.
18368 if test -n "$x_libraries"; then
18369 X_LIBS="$X_LIBS -L$x_libraries"
18370 # For Solaris; some versions of Sun CC require a space after -R and
18371 # others require no space. Words are not sufficient . . . .
18372 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
18373 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
18374 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
18375 ac_xsave_c_werror_flag=$ac_c_werror_flag
18376 ac_c_werror_flag=yes
18377 cat >conftest.$ac_ext <<_ACEOF
18380 cat confdefs.h >>conftest.$ac_ext
18381 cat >>conftest.$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18392 rm -f conftest.$ac_objext conftest$ac_exeext
18393 if { (ac_try="$ac_link"
18394 case "(($ac_try" in
18395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18396 *) ac_try_echo=$ac_try;;
18398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18399 (eval "$ac_link") 2>conftest.er1
18401 grep -v '^ *+' conftest.er1 >conftest.err
18403 cat conftest.err >&5
18404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18405 (exit $ac_status); } && {
18406 test -z "$ac_c_werror_flag" ||
18407 test ! -s conftest.err
18408 } && test -s conftest$ac_exeext &&
18409 $as_test_x conftest$ac_exeext; then
18410 { echo "$as_me:$LINENO: result: no" >&5
18411 echo "${ECHO_T}no" >&6; }
18412 X_LIBS="$X_LIBS -R$x_libraries"
18414 echo "$as_me: failed program was:" >&5
18415 sed 's/^/| /' conftest.$ac_ext >&5
18417 LIBS="$ac_xsave_LIBS -R $x_libraries"
18418 cat >conftest.$ac_ext <<_ACEOF
18421 cat confdefs.h >>conftest.$ac_ext
18422 cat >>conftest.$ac_ext <<_ACEOF
18423 /* end confdefs.h. */
18433 rm -f conftest.$ac_objext conftest$ac_exeext
18434 if { (ac_try="$ac_link"
18435 case "(($ac_try" in
18436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18437 *) ac_try_echo=$ac_try;;
18439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18440 (eval "$ac_link") 2>conftest.er1
18442 grep -v '^ *+' conftest.er1 >conftest.err
18444 cat conftest.err >&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); } && {
18447 test -z "$ac_c_werror_flag" ||
18448 test ! -s conftest.err
18449 } && test -s conftest$ac_exeext &&
18450 $as_test_x conftest$ac_exeext; then
18451 { echo "$as_me:$LINENO: result: yes" >&5
18452 echo "${ECHO_T}yes" >&6; }
18453 X_LIBS="$X_LIBS -R $x_libraries"
18455 echo "$as_me: failed program was:" >&5
18456 sed 's/^/| /' conftest.$ac_ext >&5
18458 { echo "$as_me:$LINENO: result: neither works" >&5
18459 echo "${ECHO_T}neither works" >&6; }
18462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18463 conftest$ac_exeext conftest.$ac_ext
18466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18467 conftest$ac_exeext conftest.$ac_ext
18468 ac_c_werror_flag=$ac_xsave_c_werror_flag
18469 LIBS=$ac_xsave_LIBS
18472 # Check for system-dependent libraries X programs must link with.
18473 # Do this before checking for the system-independent R6 libraries
18474 # (-lICE), since we may need -lsocket or whatever for X linking.
18476 if test "$ISC" = yes; then
18477 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
18479 # Martyn Johnson says this is needed for Ultrix, if the X
18480 # libraries were built with DECnet support. And Karl Berry says
18481 # the Alpha needs dnet_stub (dnet does not exist).
18482 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
18483 cat >conftest.$ac_ext <<_ACEOF
18486 cat confdefs.h >>conftest.$ac_ext
18487 cat >>conftest.$ac_ext <<_ACEOF
18488 /* end confdefs.h. */
18490 /* Override any GCC internal prototype to avoid an error.
18491 Use char because int might match the return type of a GCC
18492 builtin and then its argument prototype would still apply. */
18496 char XOpenDisplay ();
18500 return XOpenDisplay ();
18505 rm -f conftest.$ac_objext conftest$ac_exeext
18506 if { (ac_try="$ac_link"
18507 case "(($ac_try" in
18508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18509 *) ac_try_echo=$ac_try;;
18511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18512 (eval "$ac_link") 2>conftest.er1
18514 grep -v '^ *+' conftest.er1 >conftest.err
18516 cat conftest.err >&5
18517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518 (exit $ac_status); } && {
18519 test -z "$ac_c_werror_flag" ||
18520 test ! -s conftest.err
18521 } && test -s conftest$ac_exeext &&
18522 $as_test_x conftest$ac_exeext; then
18525 echo "$as_me: failed program was:" >&5
18526 sed 's/^/| /' conftest.$ac_ext >&5
18528 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
18529 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
18530 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
18531 echo $ECHO_N "(cached) $ECHO_C" >&6
18533 ac_check_lib_save_LIBS=$LIBS
18534 LIBS="-ldnet $LIBS"
18535 cat >conftest.$ac_ext <<_ACEOF
18538 cat confdefs.h >>conftest.$ac_ext
18539 cat >>conftest.$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18542 /* Override any GCC internal prototype to avoid an error.
18543 Use char because int might match the return type of a GCC
18544 builtin and then its argument prototype would still apply. */
18552 return dnet_ntoa ();
18557 rm -f conftest.$ac_objext conftest$ac_exeext
18558 if { (ac_try="$ac_link"
18559 case "(($ac_try" in
18560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18561 *) ac_try_echo=$ac_try;;
18563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18564 (eval "$ac_link") 2>conftest.er1
18566 grep -v '^ *+' conftest.er1 >conftest.err
18568 cat conftest.err >&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); } && {
18571 test -z "$ac_c_werror_flag" ||
18572 test ! -s conftest.err
18573 } && test -s conftest$ac_exeext &&
18574 $as_test_x conftest$ac_exeext; then
18575 ac_cv_lib_dnet_dnet_ntoa=yes
18577 echo "$as_me: failed program was:" >&5
18578 sed 's/^/| /' conftest.$ac_ext >&5
18580 ac_cv_lib_dnet_dnet_ntoa=no
18583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18584 conftest$ac_exeext conftest.$ac_ext
18585 LIBS=$ac_check_lib_save_LIBS
18587 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
18588 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
18589 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
18590 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
18593 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
18594 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
18595 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
18596 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
18597 echo $ECHO_N "(cached) $ECHO_C" >&6
18599 ac_check_lib_save_LIBS=$LIBS
18600 LIBS="-ldnet_stub $LIBS"
18601 cat >conftest.$ac_ext <<_ACEOF
18604 cat confdefs.h >>conftest.$ac_ext
18605 cat >>conftest.$ac_ext <<_ACEOF
18606 /* end confdefs.h. */
18608 /* Override any GCC internal prototype to avoid an error.
18609 Use char because int might match the return type of a GCC
18610 builtin and then its argument prototype would still apply. */
18618 return dnet_ntoa ();
18623 rm -f conftest.$ac_objext conftest$ac_exeext
18624 if { (ac_try="$ac_link"
18625 case "(($ac_try" in
18626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18627 *) ac_try_echo=$ac_try;;
18629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18630 (eval "$ac_link") 2>conftest.er1
18632 grep -v '^ *+' conftest.er1 >conftest.err
18634 cat conftest.err >&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } && {
18637 test -z "$ac_c_werror_flag" ||
18638 test ! -s conftest.err
18639 } && test -s conftest$ac_exeext &&
18640 $as_test_x conftest$ac_exeext; then
18641 ac_cv_lib_dnet_stub_dnet_ntoa=yes
18643 echo "$as_me: failed program was:" >&5
18644 sed 's/^/| /' conftest.$ac_ext >&5
18646 ac_cv_lib_dnet_stub_dnet_ntoa=no
18649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18650 conftest$ac_exeext conftest.$ac_ext
18651 LIBS=$ac_check_lib_save_LIBS
18653 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
18654 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
18655 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
18656 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
18662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18663 conftest$ac_exeext conftest.$ac_ext
18664 LIBS="$ac_xsave_LIBS"
18666 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
18667 # to get the SysV transport functions.
18668 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
18670 # The nsl library prevents programs from opening the X display
18671 # on Irix 5.2, according to T.E. Dickey.
18672 # The functions gethostbyname, getservbyname, and inet_addr are
18673 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
18674 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
18675 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
18676 if test "${ac_cv_func_gethostbyname+set}" = set; then
18677 echo $ECHO_N "(cached) $ECHO_C" >&6
18679 cat >conftest.$ac_ext <<_ACEOF
18682 cat confdefs.h >>conftest.$ac_ext
18683 cat >>conftest.$ac_ext <<_ACEOF
18684 /* end confdefs.h. */
18685 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
18686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18687 #define gethostbyname innocuous_gethostbyname
18689 /* System header to define __stub macros and hopefully few prototypes,
18690 which can conflict with char gethostbyname (); below.
18691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18692 <limits.h> exists even on freestanding compilers. */
18695 # include <limits.h>
18697 # include <assert.h>
18700 #undef gethostbyname
18702 /* Override any GCC internal prototype to avoid an error.
18703 Use char because int might match the return type of a GCC
18704 builtin and then its argument prototype would still apply. */
18708 char gethostbyname ();
18709 /* The GNU C library defines this for functions which it implements
18710 to always fail with ENOSYS. Some functions are actually named
18711 something starting with __ and the normal name is an alias. */
18712 #if defined __stub_gethostbyname || defined __stub___gethostbyname
18719 return gethostbyname ();
18724 rm -f conftest.$ac_objext conftest$ac_exeext
18725 if { (ac_try="$ac_link"
18726 case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_link") 2>conftest.er1
18733 grep -v '^ *+' conftest.er1 >conftest.err
18735 cat conftest.err >&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); } && {
18738 test -z "$ac_c_werror_flag" ||
18739 test ! -s conftest.err
18740 } && test -s conftest$ac_exeext &&
18741 $as_test_x conftest$ac_exeext; then
18742 ac_cv_func_gethostbyname=yes
18744 echo "$as_me: failed program was:" >&5
18745 sed 's/^/| /' conftest.$ac_ext >&5
18747 ac_cv_func_gethostbyname=no
18750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18751 conftest$ac_exeext conftest.$ac_ext
18753 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
18754 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
18756 if test $ac_cv_func_gethostbyname = no; then
18757 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18758 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18759 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18760 echo $ECHO_N "(cached) $ECHO_C" >&6
18762 ac_check_lib_save_LIBS=$LIBS
18764 cat >conftest.$ac_ext <<_ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18771 /* Override any GCC internal prototype to avoid an error.
18772 Use char because int might match the return type of a GCC
18773 builtin and then its argument prototype would still apply. */
18777 char gethostbyname ();
18781 return gethostbyname ();
18786 rm -f conftest.$ac_objext conftest$ac_exeext
18787 if { (ac_try="$ac_link"
18788 case "(($ac_try" in
18789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18790 *) ac_try_echo=$ac_try;;
18792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18793 (eval "$ac_link") 2>conftest.er1
18795 grep -v '^ *+' conftest.er1 >conftest.err
18797 cat conftest.err >&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } && {
18800 test -z "$ac_c_werror_flag" ||
18801 test ! -s conftest.err
18802 } && test -s conftest$ac_exeext &&
18803 $as_test_x conftest$ac_exeext; then
18804 ac_cv_lib_nsl_gethostbyname=yes
18806 echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.$ac_ext >&5
18809 ac_cv_lib_nsl_gethostbyname=no
18812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18813 conftest$ac_exeext conftest.$ac_ext
18814 LIBS=$ac_check_lib_save_LIBS
18816 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18817 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18818 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18819 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
18822 if test $ac_cv_lib_nsl_gethostbyname = no; then
18823 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
18824 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
18825 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
18826 echo $ECHO_N "(cached) $ECHO_C" >&6
18828 ac_check_lib_save_LIBS=$LIBS
18830 cat >conftest.$ac_ext <<_ACEOF
18833 cat confdefs.h >>conftest.$ac_ext
18834 cat >>conftest.$ac_ext <<_ACEOF
18835 /* end confdefs.h. */
18837 /* Override any GCC internal prototype to avoid an error.
18838 Use char because int might match the return type of a GCC
18839 builtin and then its argument prototype would still apply. */
18843 char gethostbyname ();
18847 return gethostbyname ();
18852 rm -f conftest.$ac_objext conftest$ac_exeext
18853 if { (ac_try="$ac_link"
18854 case "(($ac_try" in
18855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18856 *) ac_try_echo=$ac_try;;
18858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18859 (eval "$ac_link") 2>conftest.er1
18861 grep -v '^ *+' conftest.er1 >conftest.err
18863 cat conftest.err >&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); } && {
18866 test -z "$ac_c_werror_flag" ||
18867 test ! -s conftest.err
18868 } && test -s conftest$ac_exeext &&
18869 $as_test_x conftest$ac_exeext; then
18870 ac_cv_lib_bsd_gethostbyname=yes
18872 echo "$as_me: failed program was:" >&5
18873 sed 's/^/| /' conftest.$ac_ext >&5
18875 ac_cv_lib_bsd_gethostbyname=no
18878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18879 conftest$ac_exeext conftest.$ac_ext
18880 LIBS=$ac_check_lib_save_LIBS
18882 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
18883 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
18884 if test $ac_cv_lib_bsd_gethostbyname = yes; then
18885 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
18891 # lieder@skyler.mavd.honeywell.com says without -lsocket,
18892 # socket/setsockopt and other routines are undefined under SCO ODT
18893 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
18894 # on later versions), says Simon Leinen: it contains gethostby*
18895 # variants that don't use the name server (or something). -lsocket
18896 # must be given before -lnsl if both are needed. We assume that
18897 # if connect needs -lnsl, so does gethostbyname.
18898 { echo "$as_me:$LINENO: checking for connect" >&5
18899 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
18900 if test "${ac_cv_func_connect+set}" = set; then
18901 echo $ECHO_N "(cached) $ECHO_C" >&6
18903 cat >conftest.$ac_ext <<_ACEOF
18906 cat confdefs.h >>conftest.$ac_ext
18907 cat >>conftest.$ac_ext <<_ACEOF
18908 /* end confdefs.h. */
18909 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
18910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18911 #define connect innocuous_connect
18913 /* System header to define __stub macros and hopefully few prototypes,
18914 which can conflict with char connect (); below.
18915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18916 <limits.h> exists even on freestanding compilers. */
18919 # include <limits.h>
18921 # include <assert.h>
18926 /* Override any GCC internal prototype to avoid an error.
18927 Use char because int might match the return type of a GCC
18928 builtin and then its argument prototype would still apply. */
18933 /* The GNU C library defines this for functions which it implements
18934 to always fail with ENOSYS. Some functions are actually named
18935 something starting with __ and the normal name is an alias. */
18936 #if defined __stub_connect || defined __stub___connect
18948 rm -f conftest.$ac_objext conftest$ac_exeext
18949 if { (ac_try="$ac_link"
18950 case "(($ac_try" in
18951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18952 *) ac_try_echo=$ac_try;;
18954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18955 (eval "$ac_link") 2>conftest.er1
18957 grep -v '^ *+' conftest.er1 >conftest.err
18959 cat conftest.err >&5
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); } && {
18962 test -z "$ac_c_werror_flag" ||
18963 test ! -s conftest.err
18964 } && test -s conftest$ac_exeext &&
18965 $as_test_x conftest$ac_exeext; then
18966 ac_cv_func_connect=yes
18968 echo "$as_me: failed program was:" >&5
18969 sed 's/^/| /' conftest.$ac_ext >&5
18971 ac_cv_func_connect=no
18974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18975 conftest$ac_exeext conftest.$ac_ext
18977 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
18978 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
18980 if test $ac_cv_func_connect = no; then
18981 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18982 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18983 if test "${ac_cv_lib_socket_connect+set}" = set; then
18984 echo $ECHO_N "(cached) $ECHO_C" >&6
18986 ac_check_lib_save_LIBS=$LIBS
18987 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
18988 cat >conftest.$ac_ext <<_ACEOF
18991 cat confdefs.h >>conftest.$ac_ext
18992 cat >>conftest.$ac_ext <<_ACEOF
18993 /* end confdefs.h. */
18995 /* Override any GCC internal prototype to avoid an error.
18996 Use char because int might match the return type of a GCC
18997 builtin and then its argument prototype would still apply. */
19010 rm -f conftest.$ac_objext conftest$ac_exeext
19011 if { (ac_try="$ac_link"
19012 case "(($ac_try" in
19013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19014 *) ac_try_echo=$ac_try;;
19016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19017 (eval "$ac_link") 2>conftest.er1
19019 grep -v '^ *+' conftest.er1 >conftest.err
19021 cat conftest.err >&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); } && {
19024 test -z "$ac_c_werror_flag" ||
19025 test ! -s conftest.err
19026 } && test -s conftest$ac_exeext &&
19027 $as_test_x conftest$ac_exeext; then
19028 ac_cv_lib_socket_connect=yes
19030 echo "$as_me: failed program was:" >&5
19031 sed 's/^/| /' conftest.$ac_ext >&5
19033 ac_cv_lib_socket_connect=no
19036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19037 conftest$ac_exeext conftest.$ac_ext
19038 LIBS=$ac_check_lib_save_LIBS
19040 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
19041 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
19042 if test $ac_cv_lib_socket_connect = yes; then
19043 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
19048 # Guillermo Gomez says -lposix is necessary on A/UX.
19049 { echo "$as_me:$LINENO: checking for remove" >&5
19050 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
19051 if test "${ac_cv_func_remove+set}" = set; then
19052 echo $ECHO_N "(cached) $ECHO_C" >&6
19054 cat >conftest.$ac_ext <<_ACEOF
19057 cat confdefs.h >>conftest.$ac_ext
19058 cat >>conftest.$ac_ext <<_ACEOF
19059 /* end confdefs.h. */
19060 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
19061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19062 #define remove innocuous_remove
19064 /* System header to define __stub macros and hopefully few prototypes,
19065 which can conflict with char remove (); below.
19066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19067 <limits.h> exists even on freestanding compilers. */
19070 # include <limits.h>
19072 # include <assert.h>
19077 /* Override any GCC internal prototype to avoid an error.
19078 Use char because int might match the return type of a GCC
19079 builtin and then its argument prototype would still apply. */
19084 /* The GNU C library defines this for functions which it implements
19085 to always fail with ENOSYS. Some functions are actually named
19086 something starting with __ and the normal name is an alias. */
19087 #if defined __stub_remove || defined __stub___remove
19099 rm -f conftest.$ac_objext conftest$ac_exeext
19100 if { (ac_try="$ac_link"
19101 case "(($ac_try" in
19102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19103 *) ac_try_echo=$ac_try;;
19105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19106 (eval "$ac_link") 2>conftest.er1
19108 grep -v '^ *+' conftest.er1 >conftest.err
19110 cat conftest.err >&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); } && {
19113 test -z "$ac_c_werror_flag" ||
19114 test ! -s conftest.err
19115 } && test -s conftest$ac_exeext &&
19116 $as_test_x conftest$ac_exeext; then
19117 ac_cv_func_remove=yes
19119 echo "$as_me: failed program was:" >&5
19120 sed 's/^/| /' conftest.$ac_ext >&5
19122 ac_cv_func_remove=no
19125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19126 conftest$ac_exeext conftest.$ac_ext
19128 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
19129 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
19131 if test $ac_cv_func_remove = no; then
19132 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
19133 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
19134 if test "${ac_cv_lib_posix_remove+set}" = set; then
19135 echo $ECHO_N "(cached) $ECHO_C" >&6
19137 ac_check_lib_save_LIBS=$LIBS
19138 LIBS="-lposix $LIBS"
19139 cat >conftest.$ac_ext <<_ACEOF
19142 cat confdefs.h >>conftest.$ac_ext
19143 cat >>conftest.$ac_ext <<_ACEOF
19144 /* end confdefs.h. */
19146 /* Override any GCC internal prototype to avoid an error.
19147 Use char because int might match the return type of a GCC
19148 builtin and then its argument prototype would still apply. */
19161 rm -f conftest.$ac_objext conftest$ac_exeext
19162 if { (ac_try="$ac_link"
19163 case "(($ac_try" in
19164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19165 *) ac_try_echo=$ac_try;;
19167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19168 (eval "$ac_link") 2>conftest.er1
19170 grep -v '^ *+' conftest.er1 >conftest.err
19172 cat conftest.err >&5
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); } && {
19175 test -z "$ac_c_werror_flag" ||
19176 test ! -s conftest.err
19177 } && test -s conftest$ac_exeext &&
19178 $as_test_x conftest$ac_exeext; then
19179 ac_cv_lib_posix_remove=yes
19181 echo "$as_me: failed program was:" >&5
19182 sed 's/^/| /' conftest.$ac_ext >&5
19184 ac_cv_lib_posix_remove=no
19187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19188 conftest$ac_exeext conftest.$ac_ext
19189 LIBS=$ac_check_lib_save_LIBS
19191 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
19192 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
19193 if test $ac_cv_lib_posix_remove = yes; then
19194 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
19199 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
19200 { echo "$as_me:$LINENO: checking for shmat" >&5
19201 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
19202 if test "${ac_cv_func_shmat+set}" = set; then
19203 echo $ECHO_N "(cached) $ECHO_C" >&6
19205 cat >conftest.$ac_ext <<_ACEOF
19208 cat confdefs.h >>conftest.$ac_ext
19209 cat >>conftest.$ac_ext <<_ACEOF
19210 /* end confdefs.h. */
19211 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
19212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19213 #define shmat innocuous_shmat
19215 /* System header to define __stub macros and hopefully few prototypes,
19216 which can conflict with char shmat (); below.
19217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19218 <limits.h> exists even on freestanding compilers. */
19221 # include <limits.h>
19223 # include <assert.h>
19228 /* Override any GCC internal prototype to avoid an error.
19229 Use char because int might match the return type of a GCC
19230 builtin and then its argument prototype would still apply. */
19235 /* The GNU C library defines this for functions which it implements
19236 to always fail with ENOSYS. Some functions are actually named
19237 something starting with __ and the normal name is an alias. */
19238 #if defined __stub_shmat || defined __stub___shmat
19250 rm -f conftest.$ac_objext conftest$ac_exeext
19251 if { (ac_try="$ac_link"
19252 case "(($ac_try" in
19253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19254 *) ac_try_echo=$ac_try;;
19256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19257 (eval "$ac_link") 2>conftest.er1
19259 grep -v '^ *+' conftest.er1 >conftest.err
19261 cat conftest.err >&5
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); } && {
19264 test -z "$ac_c_werror_flag" ||
19265 test ! -s conftest.err
19266 } && test -s conftest$ac_exeext &&
19267 $as_test_x conftest$ac_exeext; then
19268 ac_cv_func_shmat=yes
19270 echo "$as_me: failed program was:" >&5
19271 sed 's/^/| /' conftest.$ac_ext >&5
19273 ac_cv_func_shmat=no
19276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19277 conftest$ac_exeext conftest.$ac_ext
19279 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
19280 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
19282 if test $ac_cv_func_shmat = no; then
19283 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
19284 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
19285 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
19286 echo $ECHO_N "(cached) $ECHO_C" >&6
19288 ac_check_lib_save_LIBS=$LIBS
19290 cat >conftest.$ac_ext <<_ACEOF
19293 cat confdefs.h >>conftest.$ac_ext
19294 cat >>conftest.$ac_ext <<_ACEOF
19295 /* end confdefs.h. */
19297 /* Override any GCC internal prototype to avoid an error.
19298 Use char because int might match the return type of a GCC
19299 builtin and then its argument prototype would still apply. */
19312 rm -f conftest.$ac_objext conftest$ac_exeext
19313 if { (ac_try="$ac_link"
19314 case "(($ac_try" in
19315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19316 *) ac_try_echo=$ac_try;;
19318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19319 (eval "$ac_link") 2>conftest.er1
19321 grep -v '^ *+' conftest.er1 >conftest.err
19323 cat conftest.err >&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } && {
19326 test -z "$ac_c_werror_flag" ||
19327 test ! -s conftest.err
19328 } && test -s conftest$ac_exeext &&
19329 $as_test_x conftest$ac_exeext; then
19330 ac_cv_lib_ipc_shmat=yes
19332 echo "$as_me: failed program was:" >&5
19333 sed 's/^/| /' conftest.$ac_ext >&5
19335 ac_cv_lib_ipc_shmat=no
19338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19339 conftest$ac_exeext conftest.$ac_ext
19340 LIBS=$ac_check_lib_save_LIBS
19342 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
19343 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
19344 if test $ac_cv_lib_ipc_shmat = yes; then
19345 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
19351 # Check for libraries that X11R6 Xt/Xaw programs need.
19352 ac_save_LDFLAGS=$LDFLAGS
19353 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
19354 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
19355 # check for ICE first), but we must link in the order -lSM -lICE or
19356 # we get undefined symbols. So assume we have SM if we have ICE.
19357 # These have to be linked with before -lX11, unlike the other
19358 # libraries we check for below, so use a different variable.
19359 # John Interrante, Karl Berry
19360 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
19361 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
19362 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
19363 echo $ECHO_N "(cached) $ECHO_C" >&6
19365 ac_check_lib_save_LIBS=$LIBS
19366 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
19367 cat >conftest.$ac_ext <<_ACEOF
19370 cat confdefs.h >>conftest.$ac_ext
19371 cat >>conftest.$ac_ext <<_ACEOF
19372 /* end confdefs.h. */
19374 /* Override any GCC internal prototype to avoid an error.
19375 Use char because int might match the return type of a GCC
19376 builtin and then its argument prototype would still apply. */
19380 char IceConnectionNumber ();
19384 return IceConnectionNumber ();
19389 rm -f conftest.$ac_objext conftest$ac_exeext
19390 if { (ac_try="$ac_link"
19391 case "(($ac_try" in
19392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19393 *) ac_try_echo=$ac_try;;
19395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19396 (eval "$ac_link") 2>conftest.er1
19398 grep -v '^ *+' conftest.er1 >conftest.err
19400 cat conftest.err >&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } && {
19403 test -z "$ac_c_werror_flag" ||
19404 test ! -s conftest.err
19405 } && test -s conftest$ac_exeext &&
19406 $as_test_x conftest$ac_exeext; then
19407 ac_cv_lib_ICE_IceConnectionNumber=yes
19409 echo "$as_me: failed program was:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19412 ac_cv_lib_ICE_IceConnectionNumber=no
19415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19416 conftest$ac_exeext conftest.$ac_ext
19417 LIBS=$ac_check_lib_save_LIBS
19419 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
19420 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
19421 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
19422 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
19425 LDFLAGS=$ac_save_LDFLAGS
19430 if test x$no_x = xyes ; then
19431 { echo "$as_me:$LINENO: WARNING: X development libraries not found" >&5
19432 echo "$as_me: WARNING: X development libraries not found" >&2;}
19435 X_LIBS="$X_LIBS -lX11"
19438 cat >>confdefs.h <<\_ACEOF
19455 have_fontconfig=false
19456 have_freetype=false
19460 # Check for fontconfig
19464 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19465 if test -n "$ac_tool_prefix"; then
19466 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19467 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19470 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19471 echo $ECHO_N "(cached) $ECHO_C" >&6
19473 case $PKG_CONFIG in
19475 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19479 for as_dir in $PATH
19482 test -z "$as_dir" && as_dir=.
19483 for ac_exec_ext in '' $ac_executable_extensions; do
19484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19485 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19496 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19497 if test -n "$PKG_CONFIG"; then
19498 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19499 echo "${ECHO_T}$PKG_CONFIG" >&6; }
19501 { echo "$as_me:$LINENO: result: no" >&5
19502 echo "${ECHO_T}no" >&6; }
19507 if test -z "$ac_cv_path_PKG_CONFIG"; then
19508 ac_pt_PKG_CONFIG=$PKG_CONFIG
19509 # Extract the first word of "pkg-config", so it can be a program name with args.
19510 set dummy pkg-config; ac_word=$2
19511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19513 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
19514 echo $ECHO_N "(cached) $ECHO_C" >&6
19516 case $ac_pt_PKG_CONFIG in
19518 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19522 for as_dir in $PATH
19525 test -z "$as_dir" && as_dir=.
19526 for ac_exec_ext in '' $ac_executable_extensions; do
19527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19528 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19539 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19540 if test -n "$ac_pt_PKG_CONFIG"; then
19541 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
19542 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
19544 { echo "$as_me:$LINENO: result: no" >&5
19545 echo "${ECHO_T}no" >&6; }
19548 if test "x$ac_pt_PKG_CONFIG" = x; then
19551 case $cross_compiling:$ac_tool_warned in
19553 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19554 whose name does not start with the host triplet. If you think this
19555 configuration is useful to you, please write to autoconf@gnu.org." >&5
19556 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19557 whose name does not start with the host triplet. If you think this
19558 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19559 ac_tool_warned=yes ;;
19561 PKG_CONFIG=$ac_pt_PKG_CONFIG
19564 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19568 if test -n "$PKG_CONFIG"; then
19569 _pkg_min_version=0.9.0
19570 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
19571 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
19572 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19573 { echo "$as_me:$LINENO: result: yes" >&5
19574 echo "${ECHO_T}yes" >&6; }
19576 { echo "$as_me:$LINENO: result: no" >&5
19577 echo "${ECHO_T}no" >&6; }
19584 { echo "$as_me:$LINENO: checking for FONTCONFIG" >&5
19585 echo $ECHO_N "checking for FONTCONFIG... $ECHO_C" >&6; }
19587 if test -n "$PKG_CONFIG"; then
19588 if test -n "$FONTCONFIG_CFLAGS"; then
19589 pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
19591 if test -n "$PKG_CONFIG" && \
19592 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\"") >&5
19593 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
19595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596 (exit $ac_status); }; then
19597 pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.5.0" 2>/dev/null`
19605 if test -n "$PKG_CONFIG"; then
19606 if test -n "$FONTCONFIG_LIBS"; then
19607 pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
19609 if test -n "$PKG_CONFIG" && \
19610 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\"") >&5
19611 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); }; then
19615 pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.5.0" 2>/dev/null`
19626 if test $pkg_failed = yes; then
19628 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19629 _pkg_short_errors_supported=yes
19631 _pkg_short_errors_supported=no
19633 if test $_pkg_short_errors_supported = yes; then
19634 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fontconfig >= 2.5.0"`
19636 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fontconfig >= 2.5.0"`
19638 # Put the nasty error message in config.log where it belongs
19639 echo "$FONTCONFIG_PKG_ERRORS" >&5
19641 { echo "$as_me:$LINENO: result: no" >&5
19642 echo "${ECHO_T}no" >&6; }
19643 { echo "$as_me:$LINENO: result: no" >&5
19644 echo "${ECHO_T}no" >&6; }
19645 elif test $pkg_failed = untried; then
19646 { echo "$as_me:$LINENO: result: no" >&5
19647 echo "${ECHO_T}no" >&6; }
19649 FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
19650 FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
19651 { echo "$as_me:$LINENO: result: yes" >&5
19652 echo "${ECHO_T}yes" >&6; }
19653 have_fontconfig=true
19657 # Checks for FreeType
19659 if $have_fontconfig ; then
19660 # The first version of freetype with a .pc file is 2.1.5. That's recent
19661 # enough for all the functions we use I guess. No version check needed.
19664 { echo "$as_me:$LINENO: checking for FREETYPE" >&5
19665 echo $ECHO_N "checking for FREETYPE... $ECHO_C" >&6; }
19667 if test -n "$PKG_CONFIG"; then
19668 if test -n "$FREETYPE_CFLAGS"; then
19669 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
19671 if test -n "$PKG_CONFIG" && \
19672 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5
19673 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); }; then
19677 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
19685 if test -n "$PKG_CONFIG"; then
19686 if test -n "$FREETYPE_LIBS"; then
19687 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
19689 if test -n "$PKG_CONFIG" && \
19690 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5
19691 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); }; then
19695 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
19706 if test $pkg_failed = yes; then
19708 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19709 _pkg_short_errors_supported=yes
19711 _pkg_short_errors_supported=no
19713 if test $_pkg_short_errors_supported = yes; then
19714 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "freetype2"`
19716 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
19718 # Put the nasty error message in config.log where it belongs
19719 echo "$FREETYPE_PKG_ERRORS" >&5
19721 { echo "$as_me:$LINENO: result: no" >&5
19722 echo "${ECHO_T}no" >&6; }
19723 { echo "$as_me:$LINENO: result: no" >&5
19724 echo "${ECHO_T}no" >&6; }
19725 elif test $pkg_failed = untried; then
19726 { echo "$as_me:$LINENO: result: no" >&5
19727 echo "${ECHO_T}no" >&6; }
19729 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
19730 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
19731 { echo "$as_me:$LINENO: result: yes" >&5
19732 echo "${ECHO_T}yes" >&6; }
19736 if $have_freetype ; then
19738 cat >>confdefs.h <<\_ACEOF
19739 #define HAVE_FREETYPE 1
19742 # By freetype, we really always mean freetype+fontconfig
19743 FREETYPE_CFLAGS="$FREETYPE_CFLAGS $FONTCONFIG_CFLAGS"
19744 FREETYPE_LIBS="$FREETYPE_LIBS $FONTCONFIG_LIBS"
19748 if $have_freetype; then
19749 HAVE_FREETYPE_TRUE=
19750 HAVE_FREETYPE_FALSE='#'
19752 HAVE_FREETYPE_TRUE='#'
19753 HAVE_FREETYPE_FALSE=
19758 # Checks for Xft/XRender
19760 if $have_x && $have_freetype ; then
19763 { echo "$as_me:$LINENO: checking for XFT" >&5
19764 echo $ECHO_N "checking for XFT... $ECHO_C" >&6; }
19766 if test -n "$PKG_CONFIG"; then
19767 if test -n "$XFT_CFLAGS"; then
19768 pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
19770 if test -n "$PKG_CONFIG" && \
19771 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xft >= 2.0.0 xrender\"") >&5
19772 ($PKG_CONFIG --exists --print-errors "xft >= 2.0.0 xrender") 2>&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); }; then
19776 pkg_cv_XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 2.0.0 xrender" 2>/dev/null`
19784 if test -n "$PKG_CONFIG"; then
19785 if test -n "$XFT_LIBS"; then
19786 pkg_cv_XFT_LIBS="$XFT_LIBS"
19788 if test -n "$PKG_CONFIG" && \
19789 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xft >= 2.0.0 xrender\"") >&5
19790 ($PKG_CONFIG --exists --print-errors "xft >= 2.0.0 xrender") 2>&5
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); }; then
19794 pkg_cv_XFT_LIBS=`$PKG_CONFIG --libs "xft >= 2.0.0 xrender" 2>/dev/null`
19805 if test $pkg_failed = yes; then
19807 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19808 _pkg_short_errors_supported=yes
19810 _pkg_short_errors_supported=no
19812 if test $_pkg_short_errors_supported = yes; then
19813 XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xft >= 2.0.0 xrender"`
19815 XFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xft >= 2.0.0 xrender"`
19817 # Put the nasty error message in config.log where it belongs
19818 echo "$XFT_PKG_ERRORS" >&5
19820 { echo "$as_me:$LINENO: result: no" >&5
19821 echo "${ECHO_T}no" >&6; }
19822 { echo "$as_me:$LINENO: result: no" >&5
19823 echo "${ECHO_T}no" >&6; }
19824 elif test $pkg_failed = untried; then
19825 { echo "$as_me:$LINENO: result: no" >&5
19826 echo "${ECHO_T}no" >&6; }
19828 XFT_CFLAGS=$pkg_cv_XFT_CFLAGS
19829 XFT_LIBS=$pkg_cv_XFT_LIBS
19830 { echo "$as_me:$LINENO: result: yes" >&5
19831 echo "${ECHO_T}yes" >&6; }
19835 if $have_xft ; then
19837 cat >>confdefs.h <<\_ACEOF
19854 # Checks for Win32 GDI
19859 # The following doesn't work with autoconf-2.13, so we check $host instead
19860 # AC_CHECK_LIB(gdi32, GetTextMetricsA@8, have_win32=true, : )
19862 *-*-mingw*|*-*-cygwin*) have_win32=true ;;
19866 if test $have_win32 = true; then
19867 WIN32_LIBS="-lgdi32"
19873 if $have_win32; then
19875 HAVE_WIN32_FALSE='#'
19877 HAVE_WIN32_TRUE='#'
19882 # Ensure MSVC-compatible struct packing convention is used when
19883 # compiling for Win32 with gcc.
19884 # What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
19885 # gcc2 uses "-fnative-struct".
19886 if test "$pango_os_win32" = "yes"; then
19887 if test x"$GCC" = xyes; then
19889 { echo "$as_me:$LINENO: checking how to get MSVC-compatible struct packing" >&5
19890 echo $ECHO_N "checking how to get MSVC-compatible struct packing... $ECHO_C" >&6; }
19891 if test -z "$ac_cv_prog_CC"; then
19894 our_gcc="$ac_cv_prog_CC"
19896 case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
19898 if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
19899 msnative_struct='-fnative-struct'
19903 if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
19904 msnative_struct='-mms-bitfields'
19908 if test x"$msnative_struct" = x ; then
19909 { echo "$as_me:$LINENO: result: no way" >&5
19910 echo "${ECHO_T}no way" >&6; }
19911 { echo "$as_me:$LINENO: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&5
19912 echo "$as_me: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&2;}
19914 CFLAGS="$CFLAGS $msnative_struct"
19915 { echo "$as_me:$LINENO: result: ${msnative_struct}" >&5
19916 echo "${ECHO_T}${msnative_struct}" >&6; }
19924 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
19925 { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
19926 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
19927 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
19928 echo $ECHO_N "(cached) $ECHO_C" >&6
19930 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
19931 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
19933 # Is the header compilable?
19934 { echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
19935 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6; }
19936 cat >conftest.$ac_ext <<_ACEOF
19939 cat confdefs.h >>conftest.$ac_ext
19940 cat >>conftest.$ac_ext <<_ACEOF
19941 /* end confdefs.h. */
19942 $ac_includes_default
19943 #include <Carbon/Carbon.h>
19945 rm -f conftest.$ac_objext
19946 if { (ac_try="$ac_compile"
19947 case "(($ac_try" in
19948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19949 *) ac_try_echo=$ac_try;;
19951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19952 (eval "$ac_compile") 2>conftest.er1
19954 grep -v '^ *+' conftest.er1 >conftest.err
19956 cat conftest.err >&5
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); } && {
19959 test -z "$ac_c_werror_flag" ||
19960 test ! -s conftest.err
19961 } && test -s conftest.$ac_objext; then
19962 ac_header_compiler=yes
19964 echo "$as_me: failed program was:" >&5
19965 sed 's/^/| /' conftest.$ac_ext >&5
19967 ac_header_compiler=no
19970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19971 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19972 echo "${ECHO_T}$ac_header_compiler" >&6; }
19974 # Is the header present?
19975 { echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
19976 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6; }
19977 cat >conftest.$ac_ext <<_ACEOF
19980 cat confdefs.h >>conftest.$ac_ext
19981 cat >>conftest.$ac_ext <<_ACEOF
19982 /* end confdefs.h. */
19983 #include <Carbon/Carbon.h>
19985 if { (ac_try="$ac_cpp conftest.$ac_ext"
19986 case "(($ac_try" in
19987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19988 *) ac_try_echo=$ac_try;;
19990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19991 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19993 grep -v '^ *+' conftest.er1 >conftest.err
19995 cat conftest.err >&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); } >/dev/null && {
19998 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19999 test ! -s conftest.err
20001 ac_header_preproc=yes
20003 echo "$as_me: failed program was:" >&5
20004 sed 's/^/| /' conftest.$ac_ext >&5
20006 ac_header_preproc=no
20009 rm -f conftest.err conftest.$ac_ext
20010 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20011 echo "${ECHO_T}$ac_header_preproc" >&6; }
20013 # So? What about this header?
20014 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20016 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
20017 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20018 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
20019 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
20020 ac_header_preproc=yes
20023 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
20024 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
20025 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
20026 echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
20027 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
20028 echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
20029 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
20030 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
20031 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
20032 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
20033 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
20034 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
20036 ## -------------------------------------------------------------------- ##
20037 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=pango ##
20038 ## -------------------------------------------------------------------- ##
20040 ) | sed "s/^/$as_me: WARNING: /" >&2
20043 { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
20044 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
20045 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
20046 echo $ECHO_N "(cached) $ECHO_C" >&6
20048 ac_cv_header_Carbon_Carbon_h=$ac_header_preproc
20050 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
20051 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
20054 if test $ac_cv_header_Carbon_Carbon_h = yes; then
20066 have_cairo_png=false
20067 have_cairo_ps=false
20068 have_cairo_pdf=false
20069 have_cairo_xlib=false
20070 have_cairo_freetype=false
20071 have_cairo_win32=false
20072 have_cairo_atsui=false
20073 cairo_required=1.7.6
20077 { echo "$as_me:$LINENO: checking for CAIRO" >&5
20078 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
20080 if test -n "$PKG_CONFIG"; then
20081 if test -n "$CAIRO_CFLAGS"; then
20082 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
20084 if test -n "$PKG_CONFIG" && \
20085 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo >= \$cairo_required\"") >&5
20086 ($PKG_CONFIG --exists --print-errors "cairo >= $cairo_required") 2>&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; then
20090 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= $cairo_required" 2>/dev/null`
20098 if test -n "$PKG_CONFIG"; then
20099 if test -n "$CAIRO_LIBS"; then
20100 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
20102 if test -n "$PKG_CONFIG" && \
20103 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo >= \$cairo_required\"") >&5
20104 ($PKG_CONFIG --exists --print-errors "cairo >= $cairo_required") 2>&5
20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); }; then
20108 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= $cairo_required" 2>/dev/null`
20119 if test $pkg_failed = yes; then
20121 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20122 _pkg_short_errors_supported=yes
20124 _pkg_short_errors_supported=no
20126 if test $_pkg_short_errors_supported = yes; then
20127 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo >= $cairo_required"`
20129 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= $cairo_required"`
20131 # Put the nasty error message in config.log where it belongs
20132 echo "$CAIRO_PKG_ERRORS" >&5
20134 { echo "$as_me:$LINENO: result: no" >&5
20135 echo "${ECHO_T}no" >&6; }
20136 { echo "$as_me:$LINENO: result: no" >&5
20137 echo "${ECHO_T}no" >&6; }
20138 elif test $pkg_failed = untried; then
20139 { echo "$as_me:$LINENO: result: no" >&5
20140 echo "${ECHO_T}no" >&6; }
20142 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
20143 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
20144 { echo "$as_me:$LINENO: result: yes" >&5
20145 echo "${ECHO_T}yes" >&6; }
20149 if $have_cairo ; then
20150 pango_save_libs=$LIBS
20151 LIBS="$LIBS $CAIRO_LIBS"
20152 pango_save_ldflags=$LDFLAGS
20153 LDFLAGS="$LDFLAGS $CAIRO_LIBS"
20156 cairo_font_backends=""
20158 if $have_freetype; then
20159 if test -n "$PKG_CONFIG" && \
20160 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-ft >= \$cairo_required\"") >&5
20161 ($PKG_CONFIG --exists --print-errors "cairo-ft >= $cairo_required") 2>&5
20163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164 (exit $ac_status); }; then
20165 have_cairo_freetype=true
20170 if $have_cairo_freetype; then
20172 cat >>confdefs.h <<\_ACEOF
20173 #define HAVE_CAIRO_FREETYPE 1
20176 cairo_font_backends="freetype $cairo_font_backends"
20180 if $have_win32; then
20181 if test -n "$PKG_CONFIG" && \
20182 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-win32 >= \$cairo_required\"") >&5
20183 ($PKG_CONFIG --exists --print-errors "cairo-win32 >= $cairo_required") 2>&5
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); }; then
20187 have_cairo_win32=true
20192 if $have_cairo_win32; then
20194 cat >>confdefs.h <<\_ACEOF
20195 #define HAVE_CAIRO_WIN32 1
20198 cairo_font_backends="win32 $cairo_font_backends"
20202 if $have_atsui; then
20203 if test -n "$PKG_CONFIG" && \
20204 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-quartz-font >= \$cairo_required\"") >&5
20205 ($PKG_CONFIG --exists --print-errors "cairo-quartz-font >= $cairo_required") 2>&5
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); }; then
20209 have_cairo_atsui=true
20214 if $have_cairo_atsui; then
20216 cat >>confdefs.h <<\_ACEOF
20217 #define HAVE_CAIRO_ATSUI 1
20220 cairo_font_backends="quartz $cairo_font_backends"
20224 { echo "$as_me:$LINENO: checking which cairo font backends could be used" >&5
20225 echo $ECHO_N "checking which cairo font backends could be used... $ECHO_C" >&6; }
20226 if $have_cairo ; then
20227 { echo "$as_me:$LINENO: result: $cairo_font_backends" >&5
20228 echo "${ECHO_T}$cairo_font_backends" >&6; }
20230 { echo "$as_me:$LINENO: result: none" >&5
20231 echo "${ECHO_T}none" >&6; }
20232 { echo "$as_me:$LINENO: Disabling cairo support" >&5
20233 echo "$as_me: Disabling cairo support" >&6;}
20236 if $have_cairo ; then
20238 cat >>confdefs.h <<\_ACEOF
20239 #define HAVE_CAIRO 1
20243 if test -n "$PKG_CONFIG" && \
20244 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-png >= \$cairo_required\"") >&5
20245 ($PKG_CONFIG --exists --print-errors "cairo-png >= $cairo_required") 2>&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; then
20249 have_cairo_png=true
20253 if $have_cairo_png; then
20255 cat >>confdefs.h <<\_ACEOF
20256 #define HAVE_CAIRO_PNG 1
20261 if test -n "$PKG_CONFIG" && \
20262 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-ps >= \$cairo_required\"") >&5
20263 ($PKG_CONFIG --exists --print-errors "cairo-ps >= $cairo_required") 2>&5
20265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20266 (exit $ac_status); }; then
20271 if $have_cairo_ps; then
20273 cat >>confdefs.h <<\_ACEOF
20274 #define HAVE_CAIRO_PS 1
20279 if test -n "$PKG_CONFIG" && \
20280 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-pdf >= \$cairo_required\"") >&5
20281 ($PKG_CONFIG --exists --print-errors "cairo-pdf >= $cairo_required") 2>&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); }; then
20285 have_cairo_pdf=true
20289 if $have_cairo_pdf; then
20291 cat >>confdefs.h <<\_ACEOF
20292 #define HAVE_CAIRO_PDF 1
20297 if test -n "$PKG_CONFIG" && \
20298 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-xlib >= \$cairo_required\"") >&5
20299 ($PKG_CONFIG --exists --print-errors "cairo-xlib >= $cairo_required") 2>&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); }; then
20303 have_cairo_xlib=true
20307 if $have_cairo_xlib; then
20309 cat >>confdefs.h <<\_ACEOF
20310 #define HAVE_CAIRO_XLIB 1
20316 LIBS=$pango_save_libs
20317 LDFLAGS=$pango_save_ldflags
20322 if $have_cairo; then
20324 HAVE_CAIRO_FALSE='#'
20326 HAVE_CAIRO_TRUE='#'
20332 if $have_cairo_png; then
20333 HAVE_CAIRO_PNG_TRUE=
20334 HAVE_CAIRO_PNG_FALSE='#'
20336 HAVE_CAIRO_PNG_TRUE='#'
20337 HAVE_CAIRO_PNG_FALSE=
20342 if $have_cairo_ps; then
20343 HAVE_CAIRO_PS_TRUE=
20344 HAVE_CAIRO_PS_FALSE='#'
20346 HAVE_CAIRO_PS_TRUE='#'
20347 HAVE_CAIRO_PS_FALSE=
20352 if $have_cairo_pdf; then
20353 HAVE_CAIRO_PDF_TRUE=
20354 HAVE_CAIRO_PDF_FALSE='#'
20356 HAVE_CAIRO_PDF_TRUE='#'
20357 HAVE_CAIRO_PDF_FALSE=
20362 if $have_cairo_xlib; then
20363 HAVE_CAIRO_XLIB_TRUE=
20364 HAVE_CAIRO_XLIB_FALSE='#'
20366 HAVE_CAIRO_XLIB_TRUE='#'
20367 HAVE_CAIRO_XLIB_FALSE=
20372 if $have_cairo_win32; then
20373 HAVE_CAIRO_WIN32_TRUE=
20374 HAVE_CAIRO_WIN32_FALSE='#'
20376 HAVE_CAIRO_WIN32_TRUE='#'
20377 HAVE_CAIRO_WIN32_FALSE=
20382 if $have_cairo_freetype; then
20383 HAVE_CAIRO_FREETYPE_TRUE=
20384 HAVE_CAIRO_FREETYPE_FALSE='#'
20386 HAVE_CAIRO_FREETYPE_TRUE='#'
20387 HAVE_CAIRO_FREETYPE_FALSE=
20392 if $have_cairo_atsui; then
20393 HAVE_CAIRO_ATSUI_TRUE=
20394 HAVE_CAIRO_ATSUI_FALSE='#'
20396 HAVE_CAIRO_ATSUI_TRUE='#'
20397 HAVE_CAIRO_ATSUI_FALSE=
20402 # We must have some backend defined, in order for the pango-querymodules
20403 # rule in pango/Makefile.am to work correctly. If you are up to writing
20404 # a new Pango backend outside of Pango, you are up to sending the necessary
20405 # patch to fix that rule. :-)
20407 if $have_freetype || $have_x || $have_xft || $have_cairo || $have_win32 ; then : ; else
20408 { { echo "$as_me:$LINENO: error: *** Could not enable any of FreeType, X11, Cairo, or Win32 backends.
20409 *** Must have at least one backend to build Pango." >&5
20410 echo "$as_me: error: *** Could not enable any of FreeType, X11, Cairo, or Win32 backends.
20411 *** Must have at least one backend to build Pango." >&2;}
20412 { (exit 1); exit 1; }; }
20418 GLIB_REQUIRED_VERSION=2.17.3
20419 GLIB_MODULES="glib-2.0 >= $GLIB_REQUIRED_VERSION gobject-2.0 gmodule-no-export-2.0"
20423 { echo "$as_me:$LINENO: checking for GLIB" >&5
20424 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
20426 if test -n "$PKG_CONFIG"; then
20427 if test -n "$GLIB_CFLAGS"; then
20428 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
20430 if test -n "$PKG_CONFIG" && \
20431 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$GLIB_MODULES\"") >&5
20432 ($PKG_CONFIG --exists --print-errors "$GLIB_MODULES") 2>&5
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); }; then
20436 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$GLIB_MODULES" 2>/dev/null`
20444 if test -n "$PKG_CONFIG"; then
20445 if test -n "$GLIB_LIBS"; then
20446 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
20448 if test -n "$PKG_CONFIG" && \
20449 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$GLIB_MODULES\"") >&5
20450 ($PKG_CONFIG --exists --print-errors "$GLIB_MODULES") 2>&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); }; then
20454 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$GLIB_MODULES" 2>/dev/null`
20465 if test $pkg_failed = yes; then
20467 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20468 _pkg_short_errors_supported=yes
20470 _pkg_short_errors_supported=no
20472 if test $_pkg_short_errors_supported = yes; then
20473 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$GLIB_MODULES"`
20475 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GLIB_MODULES"`
20477 # Put the nasty error message in config.log where it belongs
20478 echo "$GLIB_PKG_ERRORS" >&5
20480 { echo "$as_me:$LINENO: result: no" >&5
20481 echo "${ECHO_T}no" >&6; }
20482 { { echo "$as_me:$LINENO: error:
20483 *** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of
20484 *** Glib is always available from ftp://ftp.gtk.org/." >&5
20485 echo "$as_me: error:
20486 *** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of
20487 *** Glib is always available from ftp://ftp.gtk.org/." >&2;}
20488 { (exit 1); exit 1; }; }
20489 elif test $pkg_failed = untried; then
20490 { { echo "$as_me:$LINENO: error:
20491 *** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of
20492 *** Glib is always available from ftp://ftp.gtk.org/." >&5
20493 echo "$as_me: error:
20494 *** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of
20495 *** Glib is always available from ftp://ftp.gtk.org/." >&2;}
20496 { (exit 1); exit 1; }; }
20498 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
20499 GLIB_LIBS=$pkg_cv_GLIB_LIBS
20500 { echo "$as_me:$LINENO: result: yes" >&5
20501 echo "${ECHO_T}yes" >&6; }
20505 # Setup GLIB_MKENUMS to use glib-mkenums even if GLib is uninstalled.
20506 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
20510 # Add in gthread-2.0 to CFLAGS but not to LIBS so we get any
20511 # necesary defines for thread-safety.
20512 GLIB_CFLAGS=`$PKG_CONFIG --cflags $GLIB_MODULES gthread-2.0`
20514 # See if it's safe to turn G_DISABLE_DEPRECATED on.
20515 GLIB_VERSION_MAJOR_MINOR=`$PKG_CONFIG --modversion glib-2.0 | sed "s/\.[^.]*\$//"`
20516 GLIB_REQUIRED_VERSION_MAJOR_MINOR=`echo $GLIB_REQUIRED_VERSION | sed "s/\.[^.]*\$//"`
20517 if test "x$GLIB_VERSION_MAJOR_MINOR" = "x$GLIB_REQUIRED_VERSION_MAJOR_MINOR"; then
20518 GLIB_CFLAGS="-DG_DISABLE_DEPRECATED $GLIB_CFLAGS"
20522 # Checks for LibThai
20525 LIBTHAI_REQUIRED_VERSION=0.1.9
20528 { echo "$as_me:$LINENO: checking for LIBTHAI" >&5
20529 echo $ECHO_N "checking for LIBTHAI... $ECHO_C" >&6; }
20531 if test -n "$PKG_CONFIG"; then
20532 if test -n "$LIBTHAI_CFLAGS"; then
20533 pkg_cv_LIBTHAI_CFLAGS="$LIBTHAI_CFLAGS"
20535 if test -n "$PKG_CONFIG" && \
20536 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libthai >= \$LIBTHAI_REQUIRED_VERSION\"") >&5
20537 ($PKG_CONFIG --exists --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION") 2>&5
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); }; then
20541 pkg_cv_LIBTHAI_CFLAGS=`$PKG_CONFIG --cflags "libthai >= $LIBTHAI_REQUIRED_VERSION" 2>/dev/null`
20549 if test -n "$PKG_CONFIG"; then
20550 if test -n "$LIBTHAI_LIBS"; then
20551 pkg_cv_LIBTHAI_LIBS="$LIBTHAI_LIBS"
20553 if test -n "$PKG_CONFIG" && \
20554 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libthai >= \$LIBTHAI_REQUIRED_VERSION\"") >&5
20555 ($PKG_CONFIG --exists --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION") 2>&5
20557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558 (exit $ac_status); }; then
20559 pkg_cv_LIBTHAI_LIBS=`$PKG_CONFIG --libs "libthai >= $LIBTHAI_REQUIRED_VERSION" 2>/dev/null`
20570 if test $pkg_failed = yes; then
20572 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20573 _pkg_short_errors_supported=yes
20575 _pkg_short_errors_supported=no
20577 if test $_pkg_short_errors_supported = yes; then
20578 LIBTHAI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION"`
20580 LIBTHAI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION"`
20582 # Put the nasty error message in config.log where it belongs
20583 echo "$LIBTHAI_PKG_ERRORS" >&5
20585 { echo "$as_me:$LINENO: result: no" >&5
20586 echo "${ECHO_T}no" >&6; }
20587 { echo "$as_me:$LINENO: result: no" >&5
20588 echo "${ECHO_T}no" >&6; }
20589 elif test $pkg_failed = untried; then
20590 { echo "$as_me:$LINENO: result: no" >&5
20591 echo "${ECHO_T}no" >&6; }
20593 LIBTHAI_CFLAGS=$pkg_cv_LIBTHAI_CFLAGS
20594 LIBTHAI_LIBS=$pkg_cv_LIBTHAI_LIBS
20595 { echo "$as_me:$LINENO: result: yes" >&5
20596 echo "${ECHO_T}yes" >&6; }
20601 # Checks for GObject Introspection
20603 have_introspection=false
20606 { echo "$as_me:$LINENO: checking for INTROSPECTION" >&5
20607 echo $ECHO_N "checking for INTROSPECTION... $ECHO_C" >&6; }
20609 if test -n "$PKG_CONFIG"; then
20610 if test -n "$INTROSPECTION_CFLAGS"; then
20611 pkg_cv_INTROSPECTION_CFLAGS="$INTROSPECTION_CFLAGS"
20613 if test -n "$PKG_CONFIG" && \
20614 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\"") >&5
20615 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); }; then
20619 pkg_cv_INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags "gobject-introspection-1.0 >= 0.6.4" 2>/dev/null`
20627 if test -n "$PKG_CONFIG"; then
20628 if test -n "$INTROSPECTION_LIBS"; then
20629 pkg_cv_INTROSPECTION_LIBS="$INTROSPECTION_LIBS"
20631 if test -n "$PKG_CONFIG" && \
20632 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\"") >&5
20633 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); }; then
20637 pkg_cv_INTROSPECTION_LIBS=`$PKG_CONFIG --libs "gobject-introspection-1.0 >= 0.6.4" 2>/dev/null`
20648 if test $pkg_failed = yes; then
20650 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20651 _pkg_short_errors_supported=yes
20653 _pkg_short_errors_supported=no
20655 if test $_pkg_short_errors_supported = yes; then
20656 INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gobject-introspection-1.0 >= 0.6.4"`
20658 INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-introspection-1.0 >= 0.6.4"`
20660 # Put the nasty error message in config.log where it belongs
20661 echo "$INTROSPECTION_PKG_ERRORS" >&5
20663 { echo "$as_me:$LINENO: result: no" >&5
20664 echo "${ECHO_T}no" >&6; }
20665 have_introspection=false
20666 elif test $pkg_failed = untried; then
20667 have_introspection=false
20669 INTROSPECTION_CFLAGS=$pkg_cv_INTROSPECTION_CFLAGS
20670 INTROSPECTION_LIBS=$pkg_cv_INTROSPECTION_LIBS
20671 { echo "$as_me:$LINENO: result: yes" >&5
20672 echo "${ECHO_T}yes" >&6; }
20673 have_introspection=true
20677 if $have_introspection; then
20678 HAVE_INTROSPECTION_TRUE=
20679 HAVE_INTROSPECTION_FALSE='#'
20681 HAVE_INTROSPECTION_TRUE='#'
20682 HAVE_INTROSPECTION_FALSE=
20691 if $have_introspection; then
20692 G_IR_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
20693 G_IR_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
20694 G_IR_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
20695 GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
20696 TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
20707 arabic_modules="arabic-fc,arabic-lang"
20708 basic_modules="basic-fc,basic-win32,basic-x,basic-atsui"
20709 hangul_modules="hangul-fc"
20710 hebrew_modules="hebrew-fc"
20711 indic_modules="indic-fc,indic-lang"
20712 khmer_modules="khmer-fc"
20713 syriac_modules="syriac-fc"
20714 thai_modules="thai-fc"
20715 tibetan_modules="tibetan-fc"
20717 if $have_libthai ; then
20718 thai_modules="$thai_modules,thai-lang"
20721 all_modules="$arabic_modules,$basic_modules,$hangul_modules,$hebrew_modules,$indic_modules,$khmer_modules,$syriac_modules,$thai_modules,$tibetan_modules"
20724 # Allow building some or all modules included
20726 { echo "$as_me:$LINENO: checking modules to link statically" >&5
20727 echo $ECHO_N "checking modules to link statically... $ECHO_C" >&6; }
20730 # Check whether --with-included_modules was given.
20731 if test "${with_included_modules+set}" = set; then
20732 withval=$with_included_modules;
20736 included_modules=""
20737 case x$with_included_modules in
20738 xyes) included_modules=$all_modules ;;
20739 xno|x) included_modules="" ;;
20740 *) included_modules=$with_included_modules ;;
20742 { echo "$as_me:$LINENO: result: $included_modules" >&5
20743 echo "${ECHO_T}$included_modules" >&6; }
20746 if test "x$included_modules" != x; then
20747 HAVE_INCLUDED_MODULES_TRUE=
20748 HAVE_INCLUDED_MODULES_FALSE='#'
20750 HAVE_INCLUDED_MODULES_TRUE='#'
20751 HAVE_INCLUDED_MODULES_FALSE=
20756 # Allow building only some or none of modules dynamic
20758 { echo "$as_me:$LINENO: checking dynamic modules to build" >&5
20759 echo $ECHO_N "checking dynamic modules to build... $ECHO_C" >&6; }
20762 # Check whether --with-dynamic_modules was given.
20763 if test "${with_dynamic_modules+set}" = set; then
20764 withval=$with_dynamic_modules;
20769 case x$with_dynamic_modules in
20770 xyes|x) dynamic_modules=$all_modules ;;
20771 xno) dynamic_modules="" ;;
20772 *) dynamic_modules=$with_dynamic_modules ;;
20774 { echo "$as_me:$LINENO: result: $dynamic_modules (those built into Pango will be excluded)" >&5
20775 echo "${ECHO_T}$dynamic_modules (those built into Pango will be excluded)" >&6; }
20778 if test "x$dynamic_modules" != x; then
20779 HAVE_DYNAMIC_MODULES_TRUE=
20780 HAVE_DYNAMIC_MODULES_FALSE='#'
20782 HAVE_DYNAMIC_MODULES_TRUE='#'
20783 HAVE_DYNAMIC_MODULES_FALSE=
20788 INCLUDED_X_MODULES=
20789 INCLUDED_FC_MODULES=
20790 INCLUDED_WIN32_MODULES=
20791 INCLUDED_ATSUI_MODULES=
20792 INCLUDED_LANG_MODULES=
20800 IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=", "
20801 for module in $included_modules; do
20802 case $indic_modules in
20803 *$module*) dir=indic ;;
20804 *) dir=`echo $module | sed "s/-.*//"` ;;
20806 included_path="\$(top_builddir)/modules/$dir/libpango-$module.la"
20809 *-x) INCLUDED_X_MODULES="$INCLUDED_X_MODULES $included_path" ;;
20810 *-fc) INCLUDED_FC_MODULES="$INCLUDED_FC_MODULES $included_path" ;;
20811 *-win32) INCLUDED_WIN32_MODULES="$INCLUDED_WIN32_MODULES $included_path" ;;
20812 *-atsui) INCLUDED_ATSUI_MODULES="$INCLUDED_ATSUI_MODULES $included_path" ;;
20813 *-lang) INCLUDED_LANG_MODULES="$INCLUDED_LANG_MODULES $included_path" ;;
20814 *) { { echo "$as_me:$LINENO: error: specified module $module not recognized" >&5
20815 echo "$as_me: error: specified module $module not recognized" >&2;}
20816 { (exit 1); exit 1; }; } ;;
20819 IFS="$pango_save_ifs"
20823 if echo $included_modules | egrep '(^|,)arabic-fc($|,)' > /dev/null; then
20824 INCLUDE_ARABIC_FC_TRUE=
20825 INCLUDE_ARABIC_FC_FALSE='#'
20827 INCLUDE_ARABIC_FC_TRUE='#'
20828 INCLUDE_ARABIC_FC_FALSE=
20833 if echo $included_modules | egrep '(^|,)arabic-lang($|,)' > /dev/null; then
20834 INCLUDE_ARABIC_LANG_TRUE=
20835 INCLUDE_ARABIC_LANG_FALSE='#'
20837 INCLUDE_ARABIC_LANG_TRUE='#'
20838 INCLUDE_ARABIC_LANG_FALSE=
20843 if echo $included_modules | egrep '(^|,)basic-fc($|,)' > /dev/null; then
20844 INCLUDE_BASIC_FC_TRUE=
20845 INCLUDE_BASIC_FC_FALSE='#'
20847 INCLUDE_BASIC_FC_TRUE='#'
20848 INCLUDE_BASIC_FC_FALSE=
20853 if echo $included_modules | egrep '(^|,)basic-win32($|,)' > /dev/null; then
20854 INCLUDE_BASIC_WIN32_TRUE=
20855 INCLUDE_BASIC_WIN32_FALSE='#'
20857 INCLUDE_BASIC_WIN32_TRUE='#'
20858 INCLUDE_BASIC_WIN32_FALSE=
20863 if echo $included_modules | egrep '(^|,)basic-x($|,)' > /dev/null; then
20864 INCLUDE_BASIC_X_TRUE=
20865 INCLUDE_BASIC_X_FALSE='#'
20867 INCLUDE_BASIC_X_TRUE='#'
20868 INCLUDE_BASIC_X_FALSE=
20873 if echo $included_modules | egrep '(^|,)basic-atsui($|,)' > /dev/null; then
20874 INCLUDE_BASIC_ATSUI_TRUE=
20875 INCLUDE_BASIC_ATSUI_FALSE='#'
20877 INCLUDE_BASIC_ATSUI_TRUE='#'
20878 INCLUDE_BASIC_ATSUI_FALSE=
20883 if echo $included_modules | egrep '(^|,)hangul-fc($|,)' > /dev/null; then
20884 INCLUDE_HANGUL_FC_TRUE=
20885 INCLUDE_HANGUL_FC_FALSE='#'
20887 INCLUDE_HANGUL_FC_TRUE='#'
20888 INCLUDE_HANGUL_FC_FALSE=
20893 if echo $included_modules | egrep '(^|,)hebrew-fc($|,)' > /dev/null; then
20894 INCLUDE_HEBREW_FC_TRUE=
20895 INCLUDE_HEBREW_FC_FALSE='#'
20897 INCLUDE_HEBREW_FC_TRUE='#'
20898 INCLUDE_HEBREW_FC_FALSE=
20903 if echo $included_modules | egrep '(^|,)indic-fc($|,)' > /dev/null; then
20904 INCLUDE_INDIC_FC_TRUE=
20905 INCLUDE_INDIC_FC_FALSE='#'
20907 INCLUDE_INDIC_FC_TRUE='#'
20908 INCLUDE_INDIC_FC_FALSE=
20913 if echo $included_modules | egrep '(^|,)indic-lang($|,)' > /dev/null; then
20914 INCLUDE_INDIC_LANG_TRUE=
20915 INCLUDE_INDIC_LANG_FALSE='#'
20917 INCLUDE_INDIC_LANG_TRUE='#'
20918 INCLUDE_INDIC_LANG_FALSE=
20923 if echo $included_modules | egrep '(^|,)khmer-fc($|,)' > /dev/null; then
20924 INCLUDE_KHMER_FC_TRUE=
20925 INCLUDE_KHMER_FC_FALSE='#'
20927 INCLUDE_KHMER_FC_TRUE='#'
20928 INCLUDE_KHMER_FC_FALSE=
20933 if echo $included_modules | egrep '(^|,)syriac-fc($|,)' > /dev/null; then
20934 INCLUDE_SYRIAC_FC_TRUE=
20935 INCLUDE_SYRIAC_FC_FALSE='#'
20937 INCLUDE_SYRIAC_FC_TRUE='#'
20938 INCLUDE_SYRIAC_FC_FALSE=
20943 if echo $included_modules | egrep '(^|,)thai-fc($|,)' > /dev/null; then
20944 INCLUDE_THAI_FC_TRUE=
20945 INCLUDE_THAI_FC_FALSE='#'
20947 INCLUDE_THAI_FC_TRUE='#'
20948 INCLUDE_THAI_FC_FALSE=
20953 if echo $included_modules | egrep '(^|,)thai-lang($|,)' > /dev/null; then
20954 INCLUDE_THAI_LANG_TRUE=
20955 INCLUDE_THAI_LANG_FALSE='#'
20957 INCLUDE_THAI_LANG_TRUE='#'
20958 INCLUDE_THAI_LANG_FALSE=
20963 if echo $included_modules | egrep '(^|,)tibetan-fc($|,)' > /dev/null; then
20964 INCLUDE_TIBETAN_FC_TRUE=
20965 INCLUDE_TIBETAN_FC_FALSE='#'
20967 INCLUDE_TIBETAN_FC_TRUE='#'
20968 INCLUDE_TIBETAN_FC_FALSE=
20974 if echo $dynamic_modules | egrep '(^|,)arabic-fc($|,)' > /dev/null; then
20975 DYNAMIC_ARABIC_FC_TRUE=
20976 DYNAMIC_ARABIC_FC_FALSE='#'
20978 DYNAMIC_ARABIC_FC_TRUE='#'
20979 DYNAMIC_ARABIC_FC_FALSE=
20984 if echo $dynamic_modules | egrep '(^|,)arabic-lang($|,)' > /dev/null; then
20985 DYNAMIC_ARABIC_LANG_TRUE=
20986 DYNAMIC_ARABIC_LANG_FALSE='#'
20988 DYNAMIC_ARABIC_LANG_TRUE='#'
20989 DYNAMIC_ARABIC_LANG_FALSE=
20994 if echo $dynamic_modules | egrep '(^|,)basic-fc($|,)' > /dev/null; then
20995 DYNAMIC_BASIC_FC_TRUE=
20996 DYNAMIC_BASIC_FC_FALSE='#'
20998 DYNAMIC_BASIC_FC_TRUE='#'
20999 DYNAMIC_BASIC_FC_FALSE=
21004 if echo $dynamic_modules | egrep '(^|,)basic-win32($|,)' > /dev/null; then
21005 DYNAMIC_BASIC_WIN32_TRUE=
21006 DYNAMIC_BASIC_WIN32_FALSE='#'
21008 DYNAMIC_BASIC_WIN32_TRUE='#'
21009 DYNAMIC_BASIC_WIN32_FALSE=
21014 if echo $dynamic_modules | egrep '(^|,)basic-x($|,)' > /dev/null; then
21015 DYNAMIC_BASIC_X_TRUE=
21016 DYNAMIC_BASIC_X_FALSE='#'
21018 DYNAMIC_BASIC_X_TRUE='#'
21019 DYNAMIC_BASIC_X_FALSE=
21024 if echo $dynamic_modules | egrep '(^|,)basic-atsui($|,)' > /dev/null; then
21025 DYNAMIC_BASIC_ATSUI_TRUE=
21026 DYNAMIC_BASIC_ATSUI_FALSE='#'
21028 DYNAMIC_BASIC_ATSUI_TRUE='#'
21029 DYNAMIC_BASIC_ATSUI_FALSE=
21034 if echo $dynamic_modules | egrep '(^|,)hangul-fc($|,)' > /dev/null; then
21035 DYNAMIC_HANGUL_FC_TRUE=
21036 DYNAMIC_HANGUL_FC_FALSE='#'
21038 DYNAMIC_HANGUL_FC_TRUE='#'
21039 DYNAMIC_HANGUL_FC_FALSE=
21044 if echo $dynamic_modules | egrep '(^|,)hebrew-fc($|,)' > /dev/null; then
21045 DYNAMIC_HEBREW_FC_TRUE=
21046 DYNAMIC_HEBREW_FC_FALSE='#'
21048 DYNAMIC_HEBREW_FC_TRUE='#'
21049 DYNAMIC_HEBREW_FC_FALSE=
21054 if echo $dynamic_modules | egrep '(^|,)indic-fc($|,)' > /dev/null; then
21055 DYNAMIC_INDIC_FC_TRUE=
21056 DYNAMIC_INDIC_FC_FALSE='#'
21058 DYNAMIC_INDIC_FC_TRUE='#'
21059 DYNAMIC_INDIC_FC_FALSE=
21064 if echo $dynamic_modules | egrep '(^|,)indic-lang($|,)' > /dev/null; then
21065 DYNAMIC_INDIC_LANG_TRUE=
21066 DYNAMIC_INDIC_LANG_FALSE='#'
21068 DYNAMIC_INDIC_LANG_TRUE='#'
21069 DYNAMIC_INDIC_LANG_FALSE=
21074 if echo $dynamic_modules | egrep '(^|,)khmer-fc($|,)' > /dev/null; then
21075 DYNAMIC_KHMER_FC_TRUE=
21076 DYNAMIC_KHMER_FC_FALSE='#'
21078 DYNAMIC_KHMER_FC_TRUE='#'
21079 DYNAMIC_KHMER_FC_FALSE=
21084 if echo $dynamic_modules | egrep '(^|,)syriac-fc($|,)' > /dev/null; then
21085 DYNAMIC_SYRIAC_FC_TRUE=
21086 DYNAMIC_SYRIAC_FC_FALSE='#'
21088 DYNAMIC_SYRIAC_FC_TRUE='#'
21089 DYNAMIC_SYRIAC_FC_FALSE=
21094 if echo $dynamic_modules | egrep '(^|,)thai-fc($|,)' > /dev/null; then
21095 DYNAMIC_THAI_FC_TRUE=
21096 DYNAMIC_THAI_FC_FALSE='#'
21098 DYNAMIC_THAI_FC_TRUE='#'
21099 DYNAMIC_THAI_FC_FALSE=
21104 if echo $dynamic_modules | egrep '(^|,)thai-lang($|,)' > /dev/null; then
21105 DYNAMIC_THAI_LANG_TRUE=
21106 DYNAMIC_THAI_LANG_FALSE='#'
21108 DYNAMIC_THAI_LANG_TRUE='#'
21109 DYNAMIC_THAI_LANG_FALSE=
21114 if echo $dynamic_modules | egrep '(^|,)tibetan-fc($|,)' > /dev/null; then
21115 DYNAMIC_TIBETAN_FC_TRUE=
21116 DYNAMIC_TIBETAN_FC_FALSE='#'
21118 DYNAMIC_TIBETAN_FC_TRUE='#'
21119 DYNAMIC_TIBETAN_FC_FALSE=
21124 # We use flockfile to implement pango_getline() - should be moved to GLib
21125 # strtok_r isn't present on some systems
21129 for ac_func in flockfile strtok_r
21131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21132 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21134 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21135 echo $ECHO_N "(cached) $ECHO_C" >&6
21137 cat >conftest.$ac_ext <<_ACEOF
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21145 #define $ac_func innocuous_$ac_func
21147 /* System header to define __stub macros and hopefully few prototypes,
21148 which can conflict with char $ac_func (); below.
21149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21150 <limits.h> exists even on freestanding compilers. */
21153 # include <limits.h>
21155 # include <assert.h>
21160 /* Override any GCC internal prototype to avoid an error.
21161 Use char because int might match the return type of a GCC
21162 builtin and then its argument prototype would still apply. */
21167 /* The GNU C library defines this for functions which it implements
21168 to always fail with ENOSYS. Some functions are actually named
21169 something starting with __ and the normal name is an alias. */
21170 #if defined __stub_$ac_func || defined __stub___$ac_func
21177 return $ac_func ();
21182 rm -f conftest.$ac_objext conftest$ac_exeext
21183 if { (ac_try="$ac_link"
21184 case "(($ac_try" in
21185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21186 *) ac_try_echo=$ac_try;;
21188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21189 (eval "$ac_link") 2>conftest.er1
21191 grep -v '^ *+' conftest.er1 >conftest.err
21193 cat conftest.err >&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); } && {
21196 test -z "$ac_c_werror_flag" ||
21197 test ! -s conftest.err
21198 } && test -s conftest$ac_exeext &&
21199 $as_test_x conftest$ac_exeext; then
21200 eval "$as_ac_var=yes"
21202 echo "$as_me: failed program was:" >&5
21203 sed 's/^/| /' conftest.$ac_ext >&5
21205 eval "$as_ac_var=no"
21208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21209 conftest$ac_exeext conftest.$ac_ext
21211 ac_res=`eval echo '${'$as_ac_var'}'`
21212 { echo "$as_me:$LINENO: result: $ac_res" >&5
21213 echo "${ECHO_T}$ac_res" >&6; }
21214 if test `eval echo '${'$as_ac_var'}'` = yes; then
21215 cat >>confdefs.h <<_ACEOF
21216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21224 if $have_cairo ; then : ; else
21225 if test x$enable_gtk_doc = xyes ; then
21226 { echo "$as_me:$LINENO: WARNING: Cairo not present, disabling doc building" >&5
21227 echo "$as_me: WARNING: Cairo not present, disabling doc building" >&2;}
21234 # Check whether --with-html-dir was given.
21235 if test "${with_html_dir+set}" = set; then
21236 withval=$with_html_dir;
21238 with_html_dir='${datadir}/gtk-doc/html'
21241 HTML_DIR="$with_html_dir"
21244 # Check whether --enable-gtk-doc was given.
21245 if test "${enable_gtk_doc+set}" = set; then
21246 enableval=$enable_gtk_doc;
21253 if test x$enable_gtk_doc = xyes; then
21254 if test -z "$PKG_CONFIG"; then
21255 # Extract the first word of "pkg-config", so it can be a program name with args.
21256 set dummy pkg-config; ac_word=$2
21257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21259 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21260 echo $ECHO_N "(cached) $ECHO_C" >&6
21262 case $PKG_CONFIG in
21264 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21268 for as_dir in $PATH
21271 test -z "$as_dir" && as_dir=.
21272 for ac_exec_ext in '' $ac_executable_extensions; do
21273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21274 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21282 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21286 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21287 if test -n "$PKG_CONFIG"; then
21288 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21289 echo "${ECHO_T}$PKG_CONFIG" >&6; }
21291 { echo "$as_me:$LINENO: result: no" >&5
21292 echo "${ECHO_T}no" >&6; }
21297 if test "$PKG_CONFIG" != "no" && $PKG_CONFIG --exists gtk-doc; then
21301 gtk_doc_min_version=1.0
21302 if test "$have_gtk_doc" = yes; then
21303 { echo "$as_me:$LINENO: checking gtk-doc version >= $gtk_doc_min_version" >&5
21304 echo $ECHO_N "checking gtk-doc version >= $gtk_doc_min_version... $ECHO_C" >&6; }
21305 if $PKG_CONFIG --atleast-version $gtk_doc_min_version gtk-doc; then
21306 { echo "$as_me:$LINENO: result: yes" >&5
21307 echo "${ECHO_T}yes" >&6; }
21309 { echo "$as_me:$LINENO: result: no" >&5
21310 echo "${ECHO_T}no" >&6; }
21315 if test "$have_gtk_doc" != yes; then
21322 if test x$enable_gtk_doc = xyes; then
21323 ENABLE_GTK_DOC_TRUE=
21324 ENABLE_GTK_DOC_FALSE='#'
21326 ENABLE_GTK_DOC_TRUE='#'
21327 ENABLE_GTK_DOC_FALSE=
21332 if test -n "$LIBTOOL"; then
21333 GTK_DOC_USE_LIBTOOL_TRUE=
21334 GTK_DOC_USE_LIBTOOL_FALSE='#'
21336 GTK_DOC_USE_LIBTOOL_TRUE='#'
21337 GTK_DOC_USE_LIBTOOL_FALSE=
21342 # Check whether --enable-man was given.
21343 if test "${enable_man+set}" = set; then
21344 enableval=$enable_man; enable_man=yes
21350 if test "x$enable_man" != xno ; then
21351 # Extract the first word of "xsltproc", so it can be a program name with args.
21352 set dummy xsltproc; ac_word=$2
21353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21355 if test "${ac_cv_path_XSLTPROC+set}" = set; then
21356 echo $ECHO_N "(cached) $ECHO_C" >&6
21360 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
21363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21364 for as_dir in $PATH
21367 test -z "$as_dir" && as_dir=.
21368 for ac_exec_ext in '' $ac_executable_extensions; do
21369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21370 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
21371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21381 XSLTPROC=$ac_cv_path_XSLTPROC
21382 if test -n "$XSLTPROC"; then
21383 { echo "$as_me:$LINENO: result: $XSLTPROC" >&5
21384 echo "${ECHO_T}$XSLTPROC" >&6; }
21386 { echo "$as_me:$LINENO: result: no" >&5
21387 echo "${ECHO_T}no" >&6; }
21391 if test -z "$XSLTPROC"; then
21396 if test "x$enable_man" != xno ; then
21398 # check for the presence of the XML catalog
21400 # Check whether --with-xml-catalog was given.
21401 if test "${with_xml_catalog+set}" = set; then
21402 withval=$with_xml_catalog;
21404 with_xml_catalog=/etc/xml/catalog
21407 jh_found_xmlcatalog=true
21408 XML_CATALOG_FILE="$with_xml_catalog"
21410 { echo "$as_me:$LINENO: checking for XML catalog ($XML_CATALOG_FILE)" >&5
21411 echo $ECHO_N "checking for XML catalog ($XML_CATALOG_FILE)... $ECHO_C" >&6; }
21412 if test -f "$XML_CATALOG_FILE"; then
21413 { echo "$as_me:$LINENO: result: found" >&5
21414 echo "${ECHO_T}found" >&6; }
21416 jh_found_xmlcatalog=false
21417 { echo "$as_me:$LINENO: result: not found" >&5
21418 echo "${ECHO_T}not found" >&6; }
21421 # check for the xmlcatalog program
21422 # Extract the first word of "xmlcatalog", so it can be a program name with args.
21423 set dummy xmlcatalog; ac_word=$2
21424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21426 if test "${ac_cv_path_XMLCATALOG+set}" = set; then
21427 echo $ECHO_N "(cached) $ECHO_C" >&6
21429 case $XMLCATALOG in
21431 ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path.
21434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21435 for as_dir in $PATH
21438 test -z "$as_dir" && as_dir=.
21439 for ac_exec_ext in '' $ac_executable_extensions; do
21440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21441 ac_cv_path_XMLCATALOG="$as_dir/$ac_word$ac_exec_ext"
21442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21449 test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="no"
21453 XMLCATALOG=$ac_cv_path_XMLCATALOG
21454 if test -n "$XMLCATALOG"; then
21455 { echo "$as_me:$LINENO: result: $XMLCATALOG" >&5
21456 echo "${ECHO_T}$XMLCATALOG" >&6; }
21458 { echo "$as_me:$LINENO: result: no" >&5
21459 echo "${ECHO_T}no" >&6; }
21463 if test "x$XMLCATALOG" = xno; then
21464 jh_found_xmlcatalog=false
21467 if $jh_found_xmlcatalog; then
21474 { echo "$as_me:$LINENO: checking for DocBook XML DTD V4.1.2 in XML catalog" >&5
21475 echo $ECHO_N "checking for DocBook XML DTD V4.1.2 in XML catalog... $ECHO_C" >&6; }
21476 if $jh_found_xmlcatalog && \
21477 { (echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"-//OASIS//DTD DocBook XML V4.1.2//EN\" >&2") >&5
21478 ($XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.1.2//EN" >&2) 2>&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); }; then
21482 { echo "$as_me:$LINENO: result: found" >&5
21483 echo "${ECHO_T}found" >&6; }
21485 { echo "$as_me:$LINENO: result: not found" >&5
21486 echo "${ECHO_T}not found" >&6; }
21491 { echo "$as_me:$LINENO: checking for DocBook XSL Stylesheets in XML catalog" >&5
21492 echo $ECHO_N "checking for DocBook XSL Stylesheets in XML catalog... $ECHO_C" >&6; }
21493 if $jh_found_xmlcatalog && \
21494 { (echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl\" >&2") >&5
21495 ($XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" >&2) 2>&5
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); }; then
21499 { echo "$as_me:$LINENO: result: found" >&5
21500 echo "${ECHO_T}found" >&6; }
21502 { echo "$as_me:$LINENO: result: not found" >&5
21503 echo "${ECHO_T}not found" >&6; }
21511 if test x$enable_man != xno; then
21513 ENABLE_MAN_FALSE='#'
21515 ENABLE_MAN_TRUE='#'
21520 # Check whether --enable-doc-cross-references was given.
21521 if test "${enable_doc_cross_references+set}" = set; then
21522 enableval=$enable_doc_cross_references; enable_doc_cross_references=$enableval
21524 enable_doc_cross_references=yes
21528 if test "x$enable_doc_cross_references" != xno ; then
21529 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
21530 CAIRO_PREFIX="`pkg-config --variable=prefix cairo`"
21536 if test x$enable_doc_cross_references != xno; then
21537 ENABLE_DOC_CROSS_REFERENCES_TRUE=
21538 ENABLE_DOC_CROSS_REFERENCES_FALSE='#'
21540 ENABLE_DOC_CROSS_REFERENCES_TRUE='#'
21541 ENABLE_DOC_CROSS_REFERENCES_FALSE=
21546 # Note that -module isn't included here since automake needs to see it to know
21547 # that something like pango-arabic-fc.la is a valid libtool archive
21549 LIBRARY_LIBTOOL_OPTIONS="-version-info $VERSION_INFO"
21550 MODULE_LIBTOOL_OPTIONS="-export-dynamic -avoid-version"
21551 if test "$pango_platform_win32" = yes; then
21552 # We currently use .def files on Windows
21554 LIBRARY_LIBTOOL_OPTIONS="$LIBRARY_LIBTOOL_OPTIONS -no-undefined"
21555 MODULE_LIBTOOL_OPTIONS="$MODULE_LIBTOOL_OPTIONS -no-undefined"
21557 # libtool option to control which symbols are exported
21558 # right now, symbols starting with '_' are not exported
21559 LIBRARY_LIBTOOL_OPTIONS="$LIBRARY_LIBTOOL_OPTIONS "'-export-symbols-regex "^pango_.*"'
21560 MODULE_LIBTOOL_OPTIONS="$MODULE_LIBTOOL_OPTIONS "'-export-symbols-regex "^script_engine_.*"'
21566 use_la_modules=false
21568 # is there any platform that we have to use .la files?
21570 if $use_la_modules ; then
21572 cat >>confdefs.h <<\_ACEOF
21573 #define USE_LA_MODULES 1
21579 # Check whether --enable-explicit-deps was given.
21580 if test "${enable_explicit_deps+set}" = set; then
21581 enableval=$enable_explicit_deps; enable_explicit_deps="$enableval"
21583 enable_explicit_deps=auto
21587 { echo "$as_me:$LINENO: checking Whether to write dependencies into .pc files" >&5
21588 echo $ECHO_N "checking Whether to write dependencies into .pc files... $ECHO_C" >&6; }
21589 case $enable_explicit_deps in
21592 deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
21593 if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then
21594 enable_explicit_deps=yes
21596 enable_explicit_deps=no
21601 *) { { echo "$as_me:$LINENO: error: Value given to --enable-explicit-deps must be one of yes, no or auto" >&5
21602 echo "$as_me: error: Value given to --enable-explicit-deps must be one of yes, no or auto" >&2;}
21603 { (exit 1); exit 1; }; }
21606 { echo "$as_me:$LINENO: result: $enable_explicit_deps" >&5
21607 echo "${ECHO_T}$enable_explicit_deps" >&6; }
21609 PKGCONFIG_MATH_LIBS=
21610 PKGCONFIG_CAIRO_REQUIRES=
21612 if test $enable_explicit_deps = yes ; then
21613 PKGCONFIG_MATH_LIBS=-lm
21615 X_LIBS="$X_LIBS $X_EXTRA_LIBS"
21617 if $have_cairo_freetype; then
21618 PKGCONFIG_CAIRO_REQUIRES="$PKGCONFIG_CAIRO_REQUIRES pangoft2"
21620 if $have_cairo_win32; then
21621 PKGCONFIG_CAIRO_REQUIRES="$PKGCONFIG_CAIRO_REQUIRES pangowin32"
21629 if test $enable_explicit_deps = no; then
21630 DISABLE_EXPLICIT_DEPS_TRUE=
21631 DISABLE_EXPLICIT_DEPS_FALSE='#'
21633 DISABLE_EXPLICIT_DEPS_TRUE='#'
21634 DISABLE_EXPLICIT_DEPS_FALSE=
21638 ac_config_commands="$ac_config_commands pango/module-defs.h"
21641 ac_config_commands="$ac_config_commands pango/module-defs-x.c"
21644 ac_config_commands="$ac_config_commands pango/module-defs-fc.c"
21647 ac_config_commands="$ac_config_commands pango/module-defs-win32.c"
21650 ac_config_commands="$ac_config_commands pango/module-defs-atsui.c"
21653 ac_config_commands="$ac_config_commands pango/module-defs-lang.c"
21662 ac_header_dirent=no
21663 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
21664 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
21665 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
21666 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
21667 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21668 echo $ECHO_N "(cached) $ECHO_C" >&6
21670 cat >conftest.$ac_ext <<_ACEOF
21673 cat confdefs.h >>conftest.$ac_ext
21674 cat >>conftest.$ac_ext <<_ACEOF
21675 /* end confdefs.h. */
21676 #include <sys/types.h>
21688 rm -f conftest.$ac_objext
21689 if { (ac_try="$ac_compile"
21690 case "(($ac_try" in
21691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21692 *) ac_try_echo=$ac_try;;
21694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21695 (eval "$ac_compile") 2>conftest.er1
21697 grep -v '^ *+' conftest.er1 >conftest.err
21699 cat conftest.err >&5
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); } && {
21702 test -z "$ac_c_werror_flag" ||
21703 test ! -s conftest.err
21704 } && test -s conftest.$ac_objext; then
21705 eval "$as_ac_Header=yes"
21707 echo "$as_me: failed program was:" >&5
21708 sed 's/^/| /' conftest.$ac_ext >&5
21710 eval "$as_ac_Header=no"
21713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21715 ac_res=`eval echo '${'$as_ac_Header'}'`
21716 { echo "$as_me:$LINENO: result: $ac_res" >&5
21717 echo "${ECHO_T}$ac_res" >&6; }
21718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21719 cat >>confdefs.h <<_ACEOF
21720 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
21723 ac_header_dirent=$ac_hdr; break
21727 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
21728 if test $ac_header_dirent = dirent.h; then
21729 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
21730 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
21731 if test "${ac_cv_search_opendir+set}" = set; then
21732 echo $ECHO_N "(cached) $ECHO_C" >&6
21734 ac_func_search_save_LIBS=$LIBS
21735 cat >conftest.$ac_ext <<_ACEOF
21738 cat confdefs.h >>conftest.$ac_ext
21739 cat >>conftest.$ac_ext <<_ACEOF
21740 /* end confdefs.h. */
21742 /* Override any GCC internal prototype to avoid an error.
21743 Use char because int might match the return type of a GCC
21744 builtin and then its argument prototype would still apply. */
21757 for ac_lib in '' dir; do
21758 if test -z "$ac_lib"; then
21759 ac_res="none required"
21762 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21764 rm -f conftest.$ac_objext conftest$ac_exeext
21765 if { (ac_try="$ac_link"
21766 case "(($ac_try" in
21767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21768 *) ac_try_echo=$ac_try;;
21770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21771 (eval "$ac_link") 2>conftest.er1
21773 grep -v '^ *+' conftest.er1 >conftest.err
21775 cat conftest.err >&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } && {
21778 test -z "$ac_c_werror_flag" ||
21779 test ! -s conftest.err
21780 } && test -s conftest$ac_exeext &&
21781 $as_test_x conftest$ac_exeext; then
21782 ac_cv_search_opendir=$ac_res
21784 echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.$ac_ext >&5
21790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21792 if test "${ac_cv_search_opendir+set}" = set; then
21796 if test "${ac_cv_search_opendir+set}" = set; then
21799 ac_cv_search_opendir=no
21801 rm conftest.$ac_ext
21802 LIBS=$ac_func_search_save_LIBS
21804 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
21805 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
21806 ac_res=$ac_cv_search_opendir
21807 if test "$ac_res" != no; then
21808 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21813 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
21814 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
21815 if test "${ac_cv_search_opendir+set}" = set; then
21816 echo $ECHO_N "(cached) $ECHO_C" >&6
21818 ac_func_search_save_LIBS=$LIBS
21819 cat >conftest.$ac_ext <<_ACEOF
21822 cat confdefs.h >>conftest.$ac_ext
21823 cat >>conftest.$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21826 /* Override any GCC internal prototype to avoid an error.
21827 Use char because int might match the return type of a GCC
21828 builtin and then its argument prototype would still apply. */
21841 for ac_lib in '' x; do
21842 if test -z "$ac_lib"; then
21843 ac_res="none required"
21846 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21848 rm -f conftest.$ac_objext conftest$ac_exeext
21849 if { (ac_try="$ac_link"
21850 case "(($ac_try" in
21851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21852 *) ac_try_echo=$ac_try;;
21854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21855 (eval "$ac_link") 2>conftest.er1
21857 grep -v '^ *+' conftest.er1 >conftest.err
21859 cat conftest.err >&5
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); } && {
21862 test -z "$ac_c_werror_flag" ||
21863 test ! -s conftest.err
21864 } && test -s conftest$ac_exeext &&
21865 $as_test_x conftest$ac_exeext; then
21866 ac_cv_search_opendir=$ac_res
21868 echo "$as_me: failed program was:" >&5
21869 sed 's/^/| /' conftest.$ac_ext >&5
21874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21876 if test "${ac_cv_search_opendir+set}" = set; then
21880 if test "${ac_cv_search_opendir+set}" = set; then
21883 ac_cv_search_opendir=no
21885 rm conftest.$ac_ext
21886 LIBS=$ac_func_search_save_LIBS
21888 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
21889 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
21890 ac_res=$ac_cv_search_opendir
21891 if test "$ac_res" != no; then
21892 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21899 for ac_header in unistd.h
21901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21903 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21905 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21906 echo $ECHO_N "(cached) $ECHO_C" >&6
21908 ac_res=`eval echo '${'$as_ac_Header'}'`
21909 { echo "$as_me:$LINENO: result: $ac_res" >&5
21910 echo "${ECHO_T}$ac_res" >&6; }
21912 # Is the header compilable?
21913 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21914 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21915 cat >conftest.$ac_ext <<_ACEOF
21918 cat confdefs.h >>conftest.$ac_ext
21919 cat >>conftest.$ac_ext <<_ACEOF
21920 /* end confdefs.h. */
21921 $ac_includes_default
21922 #include <$ac_header>
21924 rm -f conftest.$ac_objext
21925 if { (ac_try="$ac_compile"
21926 case "(($ac_try" in
21927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21928 *) ac_try_echo=$ac_try;;
21930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21931 (eval "$ac_compile") 2>conftest.er1
21933 grep -v '^ *+' conftest.er1 >conftest.err
21935 cat conftest.err >&5
21936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21937 (exit $ac_status); } && {
21938 test -z "$ac_c_werror_flag" ||
21939 test ! -s conftest.err
21940 } && test -s conftest.$ac_objext; then
21941 ac_header_compiler=yes
21943 echo "$as_me: failed program was:" >&5
21944 sed 's/^/| /' conftest.$ac_ext >&5
21946 ac_header_compiler=no
21949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21950 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21951 echo "${ECHO_T}$ac_header_compiler" >&6; }
21953 # Is the header present?
21954 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21955 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21956 cat >conftest.$ac_ext <<_ACEOF
21959 cat confdefs.h >>conftest.$ac_ext
21960 cat >>conftest.$ac_ext <<_ACEOF
21961 /* end confdefs.h. */
21962 #include <$ac_header>
21964 if { (ac_try="$ac_cpp conftest.$ac_ext"
21965 case "(($ac_try" in
21966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21967 *) ac_try_echo=$ac_try;;
21969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21970 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21972 grep -v '^ *+' conftest.er1 >conftest.err
21974 cat conftest.err >&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } >/dev/null && {
21977 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21978 test ! -s conftest.err
21980 ac_header_preproc=yes
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21985 ac_header_preproc=no
21988 rm -f conftest.err conftest.$ac_ext
21989 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21990 echo "${ECHO_T}$ac_header_preproc" >&6; }
21992 # So? What about this header?
21993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21995 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21996 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21998 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21999 ac_header_preproc=yes
22002 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22003 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22004 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22005 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22006 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22007 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22008 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22009 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22011 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22012 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22013 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22015 ## -------------------------------------------------------------------- ##
22016 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=pango ##
22017 ## -------------------------------------------------------------------- ##
22019 ) | sed "s/^/$as_me: WARNING: /" >&2
22022 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22025 echo $ECHO_N "(cached) $ECHO_C" >&6
22027 eval "$as_ac_Header=\$ac_header_preproc"
22029 ac_res=`eval echo '${'$as_ac_Header'}'`
22030 { echo "$as_me:$LINENO: result: $ac_res" >&5
22031 echo "${ECHO_T}$ac_res" >&6; }
22034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22035 cat >>confdefs.h <<_ACEOF
22036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22044 # Honor aclocal flags
22045 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
22046 ac_config_commands="$ac_config_commands pango/pango-features.h"
22049 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/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 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"
22052 ac_config_files="$ac_config_files tests/runtests.sh"
22055 cat >confcache <<\_ACEOF
22056 # This file is a shell script that caches the results of configure
22057 # tests run on this system so they can be shared between configure
22058 # scripts and configure runs, see configure's option --config-cache.
22059 # It is not useful on other systems. If it contains results you don't
22060 # want to keep, you may remove or edit it.
22062 # config.status only pays attention to the cache file if you give it
22063 # the --recheck option to rerun configure.
22065 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22066 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22067 # following values.
22071 # The following way of writing the cache mishandles newlines in values,
22072 # but we know of no workaround that is simple, portable, and efficient.
22073 # So, we kill variables containing newlines.
22074 # Ultrix sh set writes to stderr and can't be redirected directly,
22075 # and sets the high bit in the cache file unless we assign to the vars.
22077 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22078 eval ac_val=\$$ac_var
22082 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22083 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22086 _ | IFS | as_nl) ;; #(
22087 *) $as_unset $ac_var ;;
22093 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22094 *${as_nl}ac_space=\ *)
22095 # `set' does not quote correctly, so add quotes (double-quote
22096 # substitution turns \\\\ into \\, and sed turns \\ into \).
22099 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22102 # `set' quotes correctly as required by POSIX, so do not add quotes.
22103 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22112 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22114 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22116 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22117 if test -w "$cache_file"; then
22118 test "x$cache_file" != "x/dev/null" &&
22119 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22120 echo "$as_me: updating cache $cache_file" >&6;}
22121 cat confcache >$cache_file
22123 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22124 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22129 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22130 # Let make expand exec_prefix.
22131 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22133 DEFS=-DHAVE_CONFIG_H
22137 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22138 # 1. Remove the extension, and $U if already installed.
22139 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22140 ac_i=`echo "$ac_i" | sed "$ac_script"`
22141 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22142 # will be set to the directory where LIBOBJS objects are built.
22143 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22144 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22146 LIBOBJS=$ac_libobjs
22148 LTLIBOBJS=$ac_ltlibobjs
22151 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
22152 { { echo "$as_me:$LINENO: error: conditional \"OS_WIN32\" was never defined.
22153 Usually this means the macro was only invoked conditionally." >&5
22154 echo "$as_me: error: conditional \"OS_WIN32\" was never defined.
22155 Usually this means the macro was only invoked conditionally." >&2;}
22156 { (exit 1); exit 1; }; }
22158 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22159 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22160 Usually this means the macro was only invoked conditionally." >&5
22161 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22162 Usually this means the macro was only invoked conditionally." >&2;}
22163 { (exit 1); exit 1; }; }
22165 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22166 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22167 Usually this means the macro was only invoked conditionally." >&5
22168 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22169 Usually this means the macro was only invoked conditionally." >&2;}
22170 { (exit 1); exit 1; }; }
22172 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22173 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22174 Usually this means the macro was only invoked conditionally." >&5
22175 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22176 Usually this means the macro was only invoked conditionally." >&2;}
22177 { (exit 1); exit 1; }; }
22179 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then
22180 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CXX\" was never defined.
22181 Usually this means the macro was only invoked conditionally." >&5
22182 echo "$as_me: error: conditional \"HAVE_CXX\" was never defined.
22183 Usually this means the macro was only invoked conditionally." >&2;}
22184 { (exit 1); exit 1; }; }
22186 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22187 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22188 Usually this means the macro was only invoked conditionally." >&5
22189 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22190 Usually this means the macro was only invoked conditionally." >&2;}
22191 { (exit 1); exit 1; }; }
22193 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22194 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22195 Usually this means the macro was only invoked conditionally." >&5
22196 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22197 Usually this means the macro was only invoked conditionally." >&2;}
22198 { (exit 1); exit 1; }; }
22200 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
22201 { { echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
22202 Usually this means the macro was only invoked conditionally." >&5
22203 echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
22204 Usually this means the macro was only invoked conditionally." >&2;}
22205 { (exit 1); exit 1; }; }
22207 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
22208 { { echo "$as_me:$LINENO: error: conditional \"MS_LIB_AVAILABLE\" was never defined.
22209 Usually this means the macro was only invoked conditionally." >&5
22210 echo "$as_me: error: conditional \"MS_LIB_AVAILABLE\" was never defined.
22211 Usually this means the macro was only invoked conditionally." >&2;}
22212 { (exit 1); exit 1; }; }
22214 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
22215 { { echo "$as_me:$LINENO: error: conditional \"CROSS_COMPILING\" was never defined.
22216 Usually this means the macro was only invoked conditionally." >&5
22217 echo "$as_me: error: conditional \"CROSS_COMPILING\" was never defined.
22218 Usually this means the macro was only invoked conditionally." >&2;}
22219 { (exit 1); exit 1; }; }
22221 if test -z "${HAVE_X_TRUE}" && test -z "${HAVE_X_FALSE}"; then
22222 { { echo "$as_me:$LINENO: error: conditional \"HAVE_X\" was never defined.
22223 Usually this means the macro was only invoked conditionally." >&5
22224 echo "$as_me: error: conditional \"HAVE_X\" was never defined.
22225 Usually this means the macro was only invoked conditionally." >&2;}
22226 { (exit 1); exit 1; }; }
22228 if test -z "${HAVE_FREETYPE_TRUE}" && test -z "${HAVE_FREETYPE_FALSE}"; then
22229 { { echo "$as_me:$LINENO: error: conditional \"HAVE_FREETYPE\" was never defined.
22230 Usually this means the macro was only invoked conditionally." >&5
22231 echo "$as_me: error: conditional \"HAVE_FREETYPE\" was never defined.
22232 Usually this means the macro was only invoked conditionally." >&2;}
22233 { (exit 1); exit 1; }; }
22235 if test -z "${HAVE_XFT_TRUE}" && test -z "${HAVE_XFT_FALSE}"; then
22236 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XFT\" was never defined.
22237 Usually this means the macro was only invoked conditionally." >&5
22238 echo "$as_me: error: conditional \"HAVE_XFT\" was never defined.
22239 Usually this means the macro was only invoked conditionally." >&2;}
22240 { (exit 1); exit 1; }; }
22242 if test -z "${HAVE_WIN32_TRUE}" && test -z "${HAVE_WIN32_FALSE}"; then
22243 { { echo "$as_me:$LINENO: error: conditional \"HAVE_WIN32\" was never defined.
22244 Usually this means the macro was only invoked conditionally." >&5
22245 echo "$as_me: error: conditional \"HAVE_WIN32\" was never defined.
22246 Usually this means the macro was only invoked conditionally." >&2;}
22247 { (exit 1); exit 1; }; }
22249 if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then
22250 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO\" was never defined.
22251 Usually this means the macro was only invoked conditionally." >&5
22252 echo "$as_me: error: conditional \"HAVE_CAIRO\" was never defined.
22253 Usually this means the macro was only invoked conditionally." >&2;}
22254 { (exit 1); exit 1; }; }
22256 if test -z "${HAVE_CAIRO_PNG_TRUE}" && test -z "${HAVE_CAIRO_PNG_FALSE}"; then
22257 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_PNG\" was never defined.
22258 Usually this means the macro was only invoked conditionally." >&5
22259 echo "$as_me: error: conditional \"HAVE_CAIRO_PNG\" was never defined.
22260 Usually this means the macro was only invoked conditionally." >&2;}
22261 { (exit 1); exit 1; }; }
22263 if test -z "${HAVE_CAIRO_PS_TRUE}" && test -z "${HAVE_CAIRO_PS_FALSE}"; then
22264 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_PS\" was never defined.
22265 Usually this means the macro was only invoked conditionally." >&5
22266 echo "$as_me: error: conditional \"HAVE_CAIRO_PS\" was never defined.
22267 Usually this means the macro was only invoked conditionally." >&2;}
22268 { (exit 1); exit 1; }; }
22270 if test -z "${HAVE_CAIRO_PDF_TRUE}" && test -z "${HAVE_CAIRO_PDF_FALSE}"; then
22271 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_PDF\" was never defined.
22272 Usually this means the macro was only invoked conditionally." >&5
22273 echo "$as_me: error: conditional \"HAVE_CAIRO_PDF\" was never defined.
22274 Usually this means the macro was only invoked conditionally." >&2;}
22275 { (exit 1); exit 1; }; }
22277 if test -z "${HAVE_CAIRO_XLIB_TRUE}" && test -z "${HAVE_CAIRO_XLIB_FALSE}"; then
22278 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_XLIB\" was never defined.
22279 Usually this means the macro was only invoked conditionally." >&5
22280 echo "$as_me: error: conditional \"HAVE_CAIRO_XLIB\" was never defined.
22281 Usually this means the macro was only invoked conditionally." >&2;}
22282 { (exit 1); exit 1; }; }
22284 if test -z "${HAVE_CAIRO_WIN32_TRUE}" && test -z "${HAVE_CAIRO_WIN32_FALSE}"; then
22285 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_WIN32\" was never defined.
22286 Usually this means the macro was only invoked conditionally." >&5
22287 echo "$as_me: error: conditional \"HAVE_CAIRO_WIN32\" was never defined.
22288 Usually this means the macro was only invoked conditionally." >&2;}
22289 { (exit 1); exit 1; }; }
22291 if test -z "${HAVE_CAIRO_FREETYPE_TRUE}" && test -z "${HAVE_CAIRO_FREETYPE_FALSE}"; then
22292 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_FREETYPE\" was never defined.
22293 Usually this means the macro was only invoked conditionally." >&5
22294 echo "$as_me: error: conditional \"HAVE_CAIRO_FREETYPE\" was never defined.
22295 Usually this means the macro was only invoked conditionally." >&2;}
22296 { (exit 1); exit 1; }; }
22298 if test -z "${HAVE_CAIRO_ATSUI_TRUE}" && test -z "${HAVE_CAIRO_ATSUI_FALSE}"; then
22299 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_ATSUI\" was never defined.
22300 Usually this means the macro was only invoked conditionally." >&5
22301 echo "$as_me: error: conditional \"HAVE_CAIRO_ATSUI\" was never defined.
22302 Usually this means the macro was only invoked conditionally." >&2;}
22303 { (exit 1); exit 1; }; }
22305 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
22306 { { echo "$as_me:$LINENO: error: conditional \"HAVE_INTROSPECTION\" was never defined.
22307 Usually this means the macro was only invoked conditionally." >&5
22308 echo "$as_me: error: conditional \"HAVE_INTROSPECTION\" was never defined.
22309 Usually this means the macro was only invoked conditionally." >&2;}
22310 { (exit 1); exit 1; }; }
22312 if test -z "${HAVE_INCLUDED_MODULES_TRUE}" && test -z "${HAVE_INCLUDED_MODULES_FALSE}"; then
22313 { { echo "$as_me:$LINENO: error: conditional \"HAVE_INCLUDED_MODULES\" was never defined.
22314 Usually this means the macro was only invoked conditionally." >&5
22315 echo "$as_me: error: conditional \"HAVE_INCLUDED_MODULES\" was never defined.
22316 Usually this means the macro was only invoked conditionally." >&2;}
22317 { (exit 1); exit 1; }; }
22319 if test -z "${HAVE_DYNAMIC_MODULES_TRUE}" && test -z "${HAVE_DYNAMIC_MODULES_FALSE}"; then
22320 { { echo "$as_me:$LINENO: error: conditional \"HAVE_DYNAMIC_MODULES\" was never defined.
22321 Usually this means the macro was only invoked conditionally." >&5
22322 echo "$as_me: error: conditional \"HAVE_DYNAMIC_MODULES\" was never defined.
22323 Usually this means the macro was only invoked conditionally." >&2;}
22324 { (exit 1); exit 1; }; }
22326 if test -z "${INCLUDE_ARABIC_FC_TRUE}" && test -z "${INCLUDE_ARABIC_FC_FALSE}"; then
22327 { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_ARABIC_FC\" was never defined.
22328 Usually this means the macro was only invoked conditionally." >&5
22329 echo "$as_me: error: conditional \"INCLUDE_ARABIC_FC\" was never defined.
22330 Usually this means the macro was only invoked conditionally." >&2;}
22331 { (exit 1); exit 1; }; }
22333 if test -z "${INCLUDE_ARABIC_LANG_TRUE}" && test -z "${INCLUDE_ARABIC_LANG_FALSE}"; then
22334 { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_ARABIC_LANG\" was never defined.
22335 Usually this means the macro was only invoked conditionally." >&5
22336 echo "$as_me: error: conditional \"INCLUDE_ARABIC_LANG\" was never defined.
22337 Usually this means the macro was only invoked conditionally." >&2;}
22338 { (exit 1); exit 1; }; }
22340 if test -z "${INCLUDE_BASIC_FC_TRUE}" && test -z "${INCLUDE_BASIC_FC_FALSE}"; then
22341 { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_BASIC_FC\" was never defined.
22342 Usually this means the macro was only invoked conditionally." >&5
22343 echo "$as_me: error: conditional \"INCLUDE_BASIC_FC\" was never defined.
22344 Usually this means the macro was only invoked conditionally." >&2;}
22345 { (exit 1); exit 1; }; }
22347 if test -z "${INCLUDE_BASIC_WIN32_TRUE}" && test -z "${INCLUDE_BASIC_WIN32_FALSE}"; then
22348 { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_BASIC_WIN32\" was never defined.
22349 Usually this means the macro was only invoked conditionally." >&5
22350 echo "$as_me: error: conditional \"INCLUDE_BASIC_WIN32\" was never defined.
22351 Usually this means the macro was only invoked conditionally." >&2;}
22352 { (exit 1); exit 1; }; }
22354 if test -z "${INCLUDE_BASIC_X_TRUE}" && test -z "${INCLUDE_BASIC_X_FALSE}"; then
22355 { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_BASIC_X\" was never defined.
22356 Usually this means the macro was only invoked conditionally." >&5
22357 echo "$as_me: error: conditional \"INCLUDE_BASIC_X\" was never defined.
22358 Usually this means the macro was only invoked conditionally." >&2;}
22359 { (exit 1); exit 1; }; }
22361 if test -z "${INCLUDE_BASIC_ATSUI_TRUE}" && test -z "${INCLUDE_BASIC_ATSUI_FALSE}"; then
22362 { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_BASIC_ATSUI\" was never defined.
22363 Usually this means the macro was only invoked conditionally." >&5
22364 echo "$as_me: error: conditional \"INCLUDE_BASIC_ATSUI\" was never defined.
22365 Usually this means the macro was only invoked conditionally." >&2;}
22366 { (exit 1); exit 1; }; }
22368 if test -z "${INCLUDE_HANGUL_FC_TRUE}" && test -z "${INCLUDE_HANGUL_FC_FALSE}"; then
22369 { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_HANGUL_FC\" was never defined.
22370 Usually this means the macro was only invoked conditionally." >&5
22371 echo "$as_me: error: conditional \"INCLUDE_HANGUL_FC\" was never defined.
22372 Usually this means the macro was only invoked conditionally." >&2;}
22373 { (exit 1); exit 1; }; }
22375 if test -z "${INCLUDE_HEBREW_FC_TRUE}" && test -z "${INCLUDE_HEBREW_FC_FALSE}"; then
22376 { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_HEBREW_FC\" was never defined.
22377 Usually this means the macro was only invoked conditionally." >&5
22378 echo "$as_me: error: conditional \"INCLUDE_HEBREW_FC\" was never defined.
22379 Usually this means the macro was only invoked conditionally." >&2;}
22380 { (exit 1); exit 1; }; }
22382 if test -z "${INCLUDE_INDIC_FC_TRUE}" && test -z "${INCLUDE_INDIC_FC_FALSE}"; then
22383 { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_INDIC_FC\" was never defined.
22384 Usually this means the macro was only invoked conditionally." >&5
22385 echo "$as_me: error: conditional \"INCLUDE_INDIC_FC\" was never defined.
22386 Usually this means the macro was only invoked conditionally." >&2;}
22387 { (exit 1); exit 1; }; }
22389 if test -z "${INCLUDE_INDIC_LANG_TRUE}" && test -z "${INCLUDE_INDIC_LANG_FALSE}"; then
22390 { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_INDIC_LANG\" was never defined.
22391 Usually this means the macro was only invoked conditionally." >&5
22392 echo "$as_me: error: conditional \"INCLUDE_INDIC_LANG\" was never defined.
22393 Usually this means the macro was only invoked conditionally." >&2;}
22394 { (exit 1); exit 1; }; }
22396 if test -z "${INCLUDE_KHMER_FC_TRUE}" && test -z "${INCLUDE_KHMER_FC_FALSE}"; then
22397 { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_KHMER_FC\" was never defined.
22398 Usually this means the macro was only invoked conditionally." >&5
22399 echo "$as_me: error: conditional \"INCLUDE_KHMER_FC\" was never defined.
22400 Usually this means the macro was only invoked conditionally." >&2;}
22401 { (exit 1); exit 1; }; }
22403 if test -z "${INCLUDE_SYRIAC_FC_TRUE}" && test -z "${INCLUDE_SYRIAC_FC_FALSE}"; then
22404 { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_SYRIAC_FC\" was never defined.
22405 Usually this means the macro was only invoked conditionally." >&5
22406 echo "$as_me: error: conditional \"INCLUDE_SYRIAC_FC\" was never defined.
22407 Usually this means the macro was only invoked conditionally." >&2;}
22408 { (exit 1); exit 1; }; }
22410 if test -z "${INCLUDE_THAI_FC_TRUE}" && test -z "${INCLUDE_THAI_FC_FALSE}"; then
22411 { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_THAI_FC\" was never defined.
22412 Usually this means the macro was only invoked conditionally." >&5
22413 echo "$as_me: error: conditional \"INCLUDE_THAI_FC\" was never defined.
22414 Usually this means the macro was only invoked conditionally." >&2;}
22415 { (exit 1); exit 1; }; }
22417 if test -z "${INCLUDE_THAI_LANG_TRUE}" && test -z "${INCLUDE_THAI_LANG_FALSE}"; then
22418 { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_THAI_LANG\" was never defined.
22419 Usually this means the macro was only invoked conditionally." >&5
22420 echo "$as_me: error: conditional \"INCLUDE_THAI_LANG\" was never defined.
22421 Usually this means the macro was only invoked conditionally." >&2;}
22422 { (exit 1); exit 1; }; }
22424 if test -z "${INCLUDE_TIBETAN_FC_TRUE}" && test -z "${INCLUDE_TIBETAN_FC_FALSE}"; then
22425 { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_TIBETAN_FC\" was never defined.
22426 Usually this means the macro was only invoked conditionally." >&5
22427 echo "$as_me: error: conditional \"INCLUDE_TIBETAN_FC\" was never defined.
22428 Usually this means the macro was only invoked conditionally." >&2;}
22429 { (exit 1); exit 1; }; }
22431 if test -z "${DYNAMIC_ARABIC_FC_TRUE}" && test -z "${DYNAMIC_ARABIC_FC_FALSE}"; then
22432 { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_ARABIC_FC\" was never defined.
22433 Usually this means the macro was only invoked conditionally." >&5
22434 echo "$as_me: error: conditional \"DYNAMIC_ARABIC_FC\" was never defined.
22435 Usually this means the macro was only invoked conditionally." >&2;}
22436 { (exit 1); exit 1; }; }
22438 if test -z "${DYNAMIC_ARABIC_LANG_TRUE}" && test -z "${DYNAMIC_ARABIC_LANG_FALSE}"; then
22439 { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_ARABIC_LANG\" was never defined.
22440 Usually this means the macro was only invoked conditionally." >&5
22441 echo "$as_me: error: conditional \"DYNAMIC_ARABIC_LANG\" was never defined.
22442 Usually this means the macro was only invoked conditionally." >&2;}
22443 { (exit 1); exit 1; }; }
22445 if test -z "${DYNAMIC_BASIC_FC_TRUE}" && test -z "${DYNAMIC_BASIC_FC_FALSE}"; then
22446 { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_BASIC_FC\" was never defined.
22447 Usually this means the macro was only invoked conditionally." >&5
22448 echo "$as_me: error: conditional \"DYNAMIC_BASIC_FC\" was never defined.
22449 Usually this means the macro was only invoked conditionally." >&2;}
22450 { (exit 1); exit 1; }; }
22452 if test -z "${DYNAMIC_BASIC_WIN32_TRUE}" && test -z "${DYNAMIC_BASIC_WIN32_FALSE}"; then
22453 { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_BASIC_WIN32\" was never defined.
22454 Usually this means the macro was only invoked conditionally." >&5
22455 echo "$as_me: error: conditional \"DYNAMIC_BASIC_WIN32\" was never defined.
22456 Usually this means the macro was only invoked conditionally." >&2;}
22457 { (exit 1); exit 1; }; }
22459 if test -z "${DYNAMIC_BASIC_X_TRUE}" && test -z "${DYNAMIC_BASIC_X_FALSE}"; then
22460 { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_BASIC_X\" was never defined.
22461 Usually this means the macro was only invoked conditionally." >&5
22462 echo "$as_me: error: conditional \"DYNAMIC_BASIC_X\" was never defined.
22463 Usually this means the macro was only invoked conditionally." >&2;}
22464 { (exit 1); exit 1; }; }
22466 if test -z "${DYNAMIC_BASIC_ATSUI_TRUE}" && test -z "${DYNAMIC_BASIC_ATSUI_FALSE}"; then
22467 { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_BASIC_ATSUI\" was never defined.
22468 Usually this means the macro was only invoked conditionally." >&5
22469 echo "$as_me: error: conditional \"DYNAMIC_BASIC_ATSUI\" was never defined.
22470 Usually this means the macro was only invoked conditionally." >&2;}
22471 { (exit 1); exit 1; }; }
22473 if test -z "${DYNAMIC_HANGUL_FC_TRUE}" && test -z "${DYNAMIC_HANGUL_FC_FALSE}"; then
22474 { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_HANGUL_FC\" was never defined.
22475 Usually this means the macro was only invoked conditionally." >&5
22476 echo "$as_me: error: conditional \"DYNAMIC_HANGUL_FC\" was never defined.
22477 Usually this means the macro was only invoked conditionally." >&2;}
22478 { (exit 1); exit 1; }; }
22480 if test -z "${DYNAMIC_HEBREW_FC_TRUE}" && test -z "${DYNAMIC_HEBREW_FC_FALSE}"; then
22481 { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_HEBREW_FC\" was never defined.
22482 Usually this means the macro was only invoked conditionally." >&5
22483 echo "$as_me: error: conditional \"DYNAMIC_HEBREW_FC\" was never defined.
22484 Usually this means the macro was only invoked conditionally." >&2;}
22485 { (exit 1); exit 1; }; }
22487 if test -z "${DYNAMIC_INDIC_FC_TRUE}" && test -z "${DYNAMIC_INDIC_FC_FALSE}"; then
22488 { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_INDIC_FC\" was never defined.
22489 Usually this means the macro was only invoked conditionally." >&5
22490 echo "$as_me: error: conditional \"DYNAMIC_INDIC_FC\" was never defined.
22491 Usually this means the macro was only invoked conditionally." >&2;}
22492 { (exit 1); exit 1; }; }
22494 if test -z "${DYNAMIC_INDIC_LANG_TRUE}" && test -z "${DYNAMIC_INDIC_LANG_FALSE}"; then
22495 { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_INDIC_LANG\" was never defined.
22496 Usually this means the macro was only invoked conditionally." >&5
22497 echo "$as_me: error: conditional \"DYNAMIC_INDIC_LANG\" was never defined.
22498 Usually this means the macro was only invoked conditionally." >&2;}
22499 { (exit 1); exit 1; }; }
22501 if test -z "${DYNAMIC_KHMER_FC_TRUE}" && test -z "${DYNAMIC_KHMER_FC_FALSE}"; then
22502 { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_KHMER_FC\" was never defined.
22503 Usually this means the macro was only invoked conditionally." >&5
22504 echo "$as_me: error: conditional \"DYNAMIC_KHMER_FC\" was never defined.
22505 Usually this means the macro was only invoked conditionally." >&2;}
22506 { (exit 1); exit 1; }; }
22508 if test -z "${DYNAMIC_SYRIAC_FC_TRUE}" && test -z "${DYNAMIC_SYRIAC_FC_FALSE}"; then
22509 { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_SYRIAC_FC\" was never defined.
22510 Usually this means the macro was only invoked conditionally." >&5
22511 echo "$as_me: error: conditional \"DYNAMIC_SYRIAC_FC\" was never defined.
22512 Usually this means the macro was only invoked conditionally." >&2;}
22513 { (exit 1); exit 1; }; }
22515 if test -z "${DYNAMIC_THAI_FC_TRUE}" && test -z "${DYNAMIC_THAI_FC_FALSE}"; then
22516 { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_THAI_FC\" was never defined.
22517 Usually this means the macro was only invoked conditionally." >&5
22518 echo "$as_me: error: conditional \"DYNAMIC_THAI_FC\" was never defined.
22519 Usually this means the macro was only invoked conditionally." >&2;}
22520 { (exit 1); exit 1; }; }
22522 if test -z "${DYNAMIC_THAI_LANG_TRUE}" && test -z "${DYNAMIC_THAI_LANG_FALSE}"; then
22523 { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_THAI_LANG\" was never defined.
22524 Usually this means the macro was only invoked conditionally." >&5
22525 echo "$as_me: error: conditional \"DYNAMIC_THAI_LANG\" was never defined.
22526 Usually this means the macro was only invoked conditionally." >&2;}
22527 { (exit 1); exit 1; }; }
22529 if test -z "${DYNAMIC_TIBETAN_FC_TRUE}" && test -z "${DYNAMIC_TIBETAN_FC_FALSE}"; then
22530 { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_TIBETAN_FC\" was never defined.
22531 Usually this means the macro was only invoked conditionally." >&5
22532 echo "$as_me: error: conditional \"DYNAMIC_TIBETAN_FC\" was never defined.
22533 Usually this means the macro was only invoked conditionally." >&2;}
22534 { (exit 1); exit 1; }; }
22536 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
22537 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined.
22538 Usually this means the macro was only invoked conditionally." >&5
22539 echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined.
22540 Usually this means the macro was only invoked conditionally." >&2;}
22541 { (exit 1); exit 1; }; }
22543 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
22544 { { echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
22545 Usually this means the macro was only invoked conditionally." >&5
22546 echo "$as_me: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
22547 Usually this means the macro was only invoked conditionally." >&2;}
22548 { (exit 1); exit 1; }; }
22550 if test -z "${ENABLE_MAN_TRUE}" && test -z "${ENABLE_MAN_FALSE}"; then
22551 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_MAN\" was never defined.
22552 Usually this means the macro was only invoked conditionally." >&5
22553 echo "$as_me: error: conditional \"ENABLE_MAN\" was never defined.
22554 Usually this means the macro was only invoked conditionally." >&2;}
22555 { (exit 1); exit 1; }; }
22557 if test -z "${ENABLE_DOC_CROSS_REFERENCES_TRUE}" && test -z "${ENABLE_DOC_CROSS_REFERENCES_FALSE}"; then
22558 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_DOC_CROSS_REFERENCES\" was never defined.
22559 Usually this means the macro was only invoked conditionally." >&5
22560 echo "$as_me: error: conditional \"ENABLE_DOC_CROSS_REFERENCES\" was never defined.
22561 Usually this means the macro was only invoked conditionally." >&2;}
22562 { (exit 1); exit 1; }; }
22564 if test -z "${DISABLE_EXPLICIT_DEPS_TRUE}" && test -z "${DISABLE_EXPLICIT_DEPS_FALSE}"; then
22565 { { echo "$as_me:$LINENO: error: conditional \"DISABLE_EXPLICIT_DEPS\" was never defined.
22566 Usually this means the macro was only invoked conditionally." >&5
22567 echo "$as_me: error: conditional \"DISABLE_EXPLICIT_DEPS\" was never defined.
22568 Usually this means the macro was only invoked conditionally." >&2;}
22569 { (exit 1); exit 1; }; }
22572 : ${CONFIG_STATUS=./config.status}
22573 ac_clean_files_save=$ac_clean_files
22574 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22575 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22576 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22577 cat >$CONFIG_STATUS <<_ACEOF
22579 # Generated by $as_me.
22580 # Run this file to recreate the current configuration.
22581 # Compiler output produced by configure, useful for debugging
22582 # configure, is in config.log if it exists.
22585 ac_cs_recheck=false
22587 SHELL=\${CONFIG_SHELL-$SHELL}
22590 cat >>$CONFIG_STATUS <<\_ACEOF
22591 ## --------------------- ##
22592 ## M4sh Initialization. ##
22593 ## --------------------- ##
22595 # Be more Bourne compatible
22596 DUALCASE=1; export DUALCASE # for MKS sh
22597 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22600 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22601 # is contrary to our usage. Disable this feature.
22602 alias -g '${1+"$@"}'='"$@"'
22603 setopt NO_GLOB_SUBST
22605 case `(set -o) 2>/dev/null` in
22606 *posix*) set -o posix ;;
22615 # Avoid depending upon Character Ranges.
22616 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22617 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22618 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22619 as_cr_digits='0123456789'
22620 as_cr_alnum=$as_cr_Letters$as_cr_digits
22622 # The user is always right.
22623 if test "${PATH_SEPARATOR+set}" != set; then
22624 echo "#! /bin/sh" >conf$$.sh
22625 echo "exit 0" >>conf$$.sh
22627 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22635 # Support unset when possible.
22636 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22644 # We need space, tab and new line, in precisely that order. Quoting is
22645 # there to prevent editors from complaining about space-tab.
22646 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22647 # splitting by setting IFS to empty value.)
22652 # Find who we are. Look in the path if we contain no directory separator.
22654 *[\\/]* ) as_myself=$0 ;;
22655 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22656 for as_dir in $PATH
22659 test -z "$as_dir" && as_dir=.
22660 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22666 # We did not find ourselves, most probably we were run as `sh COMMAND'
22667 # in which case we are not to be found in the path.
22668 if test "x$as_myself" = x; then
22671 if test ! -f "$as_myself"; then
22672 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22673 { (exit 1); exit 1; }
22676 # Work around bugs in pre-3.0 UWIN ksh.
22677 for as_var in ENV MAIL MAILPATH
22678 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22686 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22687 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22688 LC_TELEPHONE LC_TIME
22690 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22691 eval $as_var=C; export $as_var
22693 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22697 # Required to use basename.
22698 if expr a : '\(a\)' >/dev/null 2>&1 &&
22699 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22705 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22706 as_basename=basename
22712 # Name of the executable.
22713 as_me=`$as_basename -- "$0" ||
22714 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22715 X"$0" : 'X\(//\)$' \| \
22716 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22718 sed '/^.*\/\([^/][^/]*\)\/*$/{
22737 as_lineno_1=$LINENO
22738 as_lineno_2=$LINENO
22739 test "x$as_lineno_1" != "x$as_lineno_2" &&
22740 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22742 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22743 # uniformly replaced by the line number. The first 'sed' inserts a
22744 # line-number line after each line using $LINENO; the second 'sed'
22745 # does the real work. The second script uses 'N' to pair each
22746 # line-number line with the line containing $LINENO, and appends
22747 # trailing '-' during substitution so that $LINENO is not a special
22748 # case at line end.
22749 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22750 # scripts with optimization help from Paolo Bonzini. Blame Lee
22751 # E. McMahon (1931-1989) for sed's syntax. :-)
22763 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22766 ' >$as_me.lineno &&
22767 chmod +x "$as_me.lineno" ||
22768 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22769 { (exit 1); exit 1; }; }
22771 # Don't try to exec as it changes $[0], causing all sort of problems
22772 # (the dirname of $[0] is not the place where we might find the
22773 # original and so on. Autoconf is especially sensitive to this).
22774 . "./$as_me.lineno"
22775 # Exit status is that of the last command.
22780 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22786 ECHO_C= ECHO_N= ECHO_T=
22787 case `echo -n x` in
22789 case `echo 'x\c'` in
22790 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22797 if expr a : '\(a\)' >/dev/null 2>&1 &&
22798 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22804 rm -f conf$$ conf$$.exe conf$$.file
22805 if test -d conf$$.dir; then
22806 rm -f conf$$.dir/conf$$.file
22812 if ln -s conf$$.file conf$$ 2>/dev/null; then
22814 # ... but there are two gotchas:
22815 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22816 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22817 # In both cases, we have to default to `cp -p'.
22818 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22820 elif ln conf$$.file conf$$ 2>/dev/null; then
22825 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22826 rmdir conf$$.dir 2>/dev/null
22828 if mkdir -p . 2>/dev/null; then
22831 test -d ./-p && rmdir ./-p
22835 if test -x / >/dev/null 2>&1; then
22836 as_test_x='test -x'
22838 if ls -dL / >/dev/null 2>&1; then
22845 if test -d "$1"; then
22851 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22852 ???[sx]*):;;*)false;;esac;fi
22856 as_executable_p=$as_test_x
22858 # Sed expression to map a string onto a valid CPP name.
22859 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22861 # Sed expression to map a string onto a valid variable name.
22862 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22867 # Save the log message, to keep $[0] and so on meaningful, and to
22868 # report actual input values of CONFIG_FILES etc. instead of their
22869 # values after options handling.
22871 This file was extended by pango $as_me 1.26.1, which was
22872 generated by GNU Autoconf 2.61. Invocation command line was
22874 CONFIG_FILES = $CONFIG_FILES
22875 CONFIG_HEADERS = $CONFIG_HEADERS
22876 CONFIG_LINKS = $CONFIG_LINKS
22877 CONFIG_COMMANDS = $CONFIG_COMMANDS
22880 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22885 cat >>$CONFIG_STATUS <<_ACEOF
22886 # Files that config.status was made for.
22887 config_files="$ac_config_files"
22888 config_headers="$ac_config_headers"
22889 config_commands="$ac_config_commands"
22893 cat >>$CONFIG_STATUS <<\_ACEOF
22895 \`$as_me' instantiates files from templates according to the
22896 current configuration.
22898 Usage: $0 [OPTIONS] [FILE]...
22900 -h, --help print this help, then exit
22901 -V, --version print version number and configuration settings, then exit
22902 -q, --quiet do not print progress messages
22903 -d, --debug don't remove temporary files
22904 --recheck update $as_me by reconfiguring in the same conditions
22905 --file=FILE[:TEMPLATE]
22906 instantiate the configuration file FILE
22907 --header=FILE[:TEMPLATE]
22908 instantiate the configuration header FILE
22910 Configuration files:
22913 Configuration headers:
22916 Configuration commands:
22919 Report bugs to <bug-autoconf@gnu.org>."
22922 cat >>$CONFIG_STATUS <<_ACEOF
22924 pango config.status 1.26.1
22925 configured by $0, generated by GNU Autoconf 2.61,
22926 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22928 Copyright (C) 2006 Free Software Foundation, Inc.
22929 This config.status script is free software; the Free Software Foundation
22930 gives unlimited permission to copy, distribute and modify it."
22937 cat >>$CONFIG_STATUS <<\_ACEOF
22938 # If no file are specified by the user, then we need to provide default
22939 # value. By we need to know if files were specified by the user.
22945 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22946 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22957 # Handling of the options.
22958 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22960 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22961 echo "$ac_cs_version"; exit ;;
22962 --debug | --debu | --deb | --de | --d | -d )
22964 --file | --fil | --fi | --f )
22966 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22967 ac_need_defaults=false;;
22968 --header | --heade | --head | --hea )
22970 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22971 ac_need_defaults=false;;
22973 # Conflict between --help and --header
22974 { echo "$as_me: error: ambiguous option: $1
22975 Try \`$0 --help' for more information." >&2
22976 { (exit 1); exit 1; }; };;
22977 --help | --hel | -h )
22978 echo "$ac_cs_usage"; exit ;;
22979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22980 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22983 # This is an error.
22984 -*) { echo "$as_me: error: unrecognized option: $1
22985 Try \`$0 --help' for more information." >&2
22986 { (exit 1); exit 1; }; } ;;
22988 *) ac_config_targets="$ac_config_targets $1"
22989 ac_need_defaults=false ;;
22995 ac_configure_extra_args=
22997 if $ac_cs_silent; then
22999 ac_configure_extra_args="$ac_configure_extra_args --silent"
23003 cat >>$CONFIG_STATUS <<_ACEOF
23004 if \$ac_cs_recheck; then
23005 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23006 CONFIG_SHELL=$SHELL
23007 export CONFIG_SHELL
23008 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23012 cat >>$CONFIG_STATUS <<\_ACEOF
23016 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23017 ## Running $as_me. ##
23023 cat >>$CONFIG_STATUS <<_ACEOF
23027 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23030 # The HP-UX ksh and POSIX shell print the target directory to stdout
23031 # if CDPATH is set.
23032 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23034 sed_quote_subst='$sed_quote_subst'
23035 double_quote_subst='$double_quote_subst'
23036 delay_variable_subst='$delay_variable_subst'
23037 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
23038 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
23039 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
23040 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
23041 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
23042 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
23043 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
23044 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
23045 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
23046 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
23047 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
23048 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
23049 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
23050 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
23051 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
23052 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
23053 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
23054 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
23055 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
23056 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
23057 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
23058 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
23059 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
23060 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
23061 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
23062 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
23063 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
23064 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
23065 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
23066 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
23067 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23068 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
23069 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
23070 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
23071 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
23072 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
23073 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
23074 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23075 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23076 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23077 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
23078 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
23079 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
23080 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
23081 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
23082 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
23083 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
23084 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
23085 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
23086 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
23087 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
23088 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
23089 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
23090 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
23091 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
23092 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
23093 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
23094 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
23095 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
23096 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
23097 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
23098 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
23099 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
23100 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
23101 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23102 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23103 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
23104 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
23105 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23106 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23107 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
23108 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23109 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23110 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23111 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23112 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23113 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23114 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
23115 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
23116 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
23117 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23118 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
23119 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
23120 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
23121 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
23122 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
23123 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23124 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
23125 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
23126 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
23127 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
23128 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
23129 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23130 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
23131 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
23132 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23133 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
23134 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
23135 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
23136 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
23137 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
23138 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23139 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23140 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
23141 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
23142 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
23143 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
23144 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23145 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23146 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23147 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
23148 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
23149 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
23150 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
23151 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
23152 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
23153 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
23154 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
23155 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
23156 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
23157 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
23158 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
23159 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
23160 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
23161 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
23162 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
23163 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23164 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23165 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23166 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23167 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23168 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23169 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23170 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23171 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23172 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23173 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23174 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23175 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23176 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23177 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23178 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23179 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23180 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23181 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23182 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23183 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23184 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23185 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23186 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23187 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23188 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23189 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23190 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23191 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23192 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23193 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23194 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23195 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23196 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23197 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23198 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23199 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23200 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23201 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23202 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23203 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23204 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23205 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23206 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23207 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23208 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23209 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23212 LTCFLAGS='$LTCFLAGS'
23213 compiler='$compiler_DEFAULT'
23215 # Quote evaled strings.
23226 deplibs_check_method \
23235 lt_cv_sys_global_symbol_pipe \
23236 lt_cv_sys_global_symbol_to_cdecl \
23237 lt_cv_sys_global_symbol_to_c_name_address \
23238 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23241 lt_prog_compiler_no_builtin_flag \
23242 lt_prog_compiler_wl \
23243 lt_prog_compiler_pic \
23244 lt_prog_compiler_static \
23245 lt_cv_prog_compiler_c_o \
23253 export_dynamic_flag_spec \
23254 whole_archive_flag_spec \
23255 compiler_needs_object \
23257 allow_undefined_flag \
23258 no_undefined_flag \
23259 hardcode_libdir_flag_spec \
23260 hardcode_libdir_flag_spec_ld \
23261 hardcode_libdir_separator \
23266 variables_saved_for_relink \
23268 library_names_spec \
23273 compiler_lib_search_dirs \
23278 compiler_lib_search_path \
23281 lt_prog_compiler_no_builtin_flag_CXX \
23282 lt_prog_compiler_wl_CXX \
23283 lt_prog_compiler_pic_CXX \
23284 lt_prog_compiler_static_CXX \
23285 lt_cv_prog_compiler_c_o_CXX \
23286 export_dynamic_flag_spec_CXX \
23287 whole_archive_flag_spec_CXX \
23288 compiler_needs_object_CXX \
23290 allow_undefined_flag_CXX \
23291 no_undefined_flag_CXX \
23292 hardcode_libdir_flag_spec_CXX \
23293 hardcode_libdir_flag_spec_ld_CXX \
23294 hardcode_libdir_separator_CXX \
23295 fix_srcfile_path_CXX \
23296 exclude_expsyms_CXX \
23297 include_expsyms_CXX \
23298 file_list_spec_CXX \
23299 compiler_lib_search_dirs_CXX \
23300 predep_objects_CXX \
23301 postdep_objects_CXX \
23304 compiler_lib_search_path_CXX; do
23305 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
23306 *[\\\\\\\`\\"\\\$]*)
23307 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
23310 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23315 # Double-quote double-evaled strings.
23316 for var in reload_cmds \
23317 old_postinstall_cmds \
23318 old_postuninstall_cmds \
23320 extract_expsyms_cmds \
23321 old_archive_from_new_cmds \
23322 old_archive_from_expsyms_cmds \
23324 archive_expsym_cmds \
23326 module_expsym_cmds \
23327 export_symbols_cmds \
23330 postuninstall_cmds \
23332 sys_lib_search_path_spec \
23333 sys_lib_dlsearch_path_spec \
23334 old_archive_cmds_CXX \
23335 old_archive_from_new_cmds_CXX \
23336 old_archive_from_expsyms_cmds_CXX \
23338 archive_expsym_cmds_CXX \
23340 module_expsym_cmds_CXX \
23341 export_symbols_cmds_CXX \
23342 prelink_cmds_CXX; do
23343 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
23344 *[\\\\\\\`\\"\\\$]*)
23345 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
23348 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23353 # Fix-up fallback echo if it was mangled by the above quoting rules.
23355 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
23359 ac_aux_dir='$ac_aux_dir'
23360 xsi_shell='$xsi_shell'
23361 lt_shell_append='$lt_shell_append'
23363 # See if we are running on zsh, and set the options which allow our
23364 # commands through without removal of \ escapes INIT.
23365 if test -n "\${ZSH_VERSION+set}" ; then
23366 setopt NO_GLOB_SUBST
23372 TIMESTAMP='$TIMESTAMP'
23378 ac_aux_dir='$ac_aux_dir'
23382 included_modules=$included_modules
23385 PANGO_VERSION_MAJOR=$PANGO_VERSION_MAJOR
23386 PANGO_VERSION_MINOR=$PANGO_VERSION_MINOR
23387 PANGO_VERSION_MICRO=$PANGO_VERSION_MICRO
23392 cat >>$CONFIG_STATUS <<\_ACEOF
23394 # Handling of arguments.
23395 for ac_config_target in $ac_config_targets
23397 case $ac_config_target in
23398 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23399 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23400 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
23401 "pango/module-defs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs.h" ;;
23402 "pango/module-defs-x.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-x.c" ;;
23403 "pango/module-defs-fc.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-fc.c" ;;
23404 "pango/module-defs-win32.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-win32.c" ;;
23405 "pango/module-defs-atsui.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-atsui.c" ;;
23406 "pango/module-defs-lang.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-lang.c" ;;
23407 "pango/pango-features.h") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/pango-features.h" ;;
23408 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23409 "pango/Makefile") CONFIG_FILES="$CONFIG_FILES pango/Makefile" ;;
23410 "pango/mini-fribidi/Makefile") CONFIG_FILES="$CONFIG_FILES pango/mini-fribidi/Makefile" ;;
23411 "pango/opentype/Makefile") CONFIG_FILES="$CONFIG_FILES pango/opentype/Makefile" ;;
23412 "pango/pango.rc") CONFIG_FILES="$CONFIG_FILES pango/pango.rc" ;;
23413 "pango/pangoft2.rc") CONFIG_FILES="$CONFIG_FILES pango/pangoft2.rc" ;;
23414 "pango/pangowin32.rc") CONFIG_FILES="$CONFIG_FILES pango/pangowin32.rc" ;;
23415 "pango/pangox.rc") CONFIG_FILES="$CONFIG_FILES pango/pangox.rc" ;;
23416 "pango/pangoxft.rc") CONFIG_FILES="$CONFIG_FILES pango/pangoxft.rc" ;;
23417 "pango-view/Makefile") CONFIG_FILES="$CONFIG_FILES pango-view/Makefile" ;;
23418 "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
23419 "modules/arabic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/arabic/Makefile" ;;
23420 "modules/basic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/basic/Makefile" ;;
23421 "modules/hangul/Makefile") CONFIG_FILES="$CONFIG_FILES modules/hangul/Makefile" ;;
23422 "modules/hebrew/Makefile") CONFIG_FILES="$CONFIG_FILES modules/hebrew/Makefile" ;;
23423 "modules/indic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/indic/Makefile" ;;
23424 "modules/khmer/Makefile") CONFIG_FILES="$CONFIG_FILES modules/khmer/Makefile" ;;
23425 "modules/syriac/Makefile") CONFIG_FILES="$CONFIG_FILES modules/syriac/Makefile" ;;
23426 "modules/thai/Makefile") CONFIG_FILES="$CONFIG_FILES modules/thai/Makefile" ;;
23427 "modules/tibetan/Makefile") CONFIG_FILES="$CONFIG_FILES modules/tibetan/Makefile" ;;
23428 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
23429 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
23430 "docs/version.xml") CONFIG_FILES="$CONFIG_FILES docs/version.xml" ;;
23431 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23432 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
23433 "pango.pc") CONFIG_FILES="$CONFIG_FILES pango.pc" ;;
23434 "pangox.pc") CONFIG_FILES="$CONFIG_FILES pangox.pc" ;;
23435 "pangowin32.pc") CONFIG_FILES="$CONFIG_FILES pangowin32.pc" ;;
23436 "pangoft2.pc") CONFIG_FILES="$CONFIG_FILES pangoft2.pc" ;;
23437 "pangoxft.pc") CONFIG_FILES="$CONFIG_FILES pangoxft.pc" ;;
23438 "pangocairo.pc") CONFIG_FILES="$CONFIG_FILES pangocairo.pc" ;;
23439 "pango-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pango-uninstalled.pc" ;;
23440 "pangox-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangox-uninstalled.pc" ;;
23441 "pangowin32-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangowin32-uninstalled.pc" ;;
23442 "pangoft2-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangoft2-uninstalled.pc" ;;
23443 "pangoxft-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangoxft-uninstalled.pc" ;;
23444 "pangocairo-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangocairo-uninstalled.pc" ;;
23445 "pango-zip.sh") CONFIG_FILES="$CONFIG_FILES pango-zip.sh" ;;
23446 "tests/runtests.sh") CONFIG_FILES="$CONFIG_FILES tests/runtests.sh" ;;
23448 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23449 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23450 { (exit 1); exit 1; }; };;
23455 # If the user did not use the arguments to specify the items to instantiate,
23456 # then the envvar interface is used. Set only those that are not.
23457 # We use the long form for the default assignment because of an extremely
23458 # bizarre bug on SunOS 4.1.3.
23459 if $ac_need_defaults; then
23460 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23461 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23462 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23465 # Have a temporary directory for convenience. Make it in the build tree
23466 # simply because there is no reason against having it here, and in addition,
23467 # creating and moving files from /tmp can sometimes cause problems.
23468 # Hook for its removal unless debugging.
23469 # Note that there is a small window in which the directory will not be cleaned:
23470 # after its creation but before its name has been assigned to `$tmp'.
23474 trap 'exit_status=$?
23475 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23477 trap '{ (exit 1); exit 1; }' 1 2 13 15
23479 # Create a (secure) tmp directory for tmp files.
23482 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23483 test -n "$tmp" && test -d "$tmp"
23486 tmp=./conf$$-$RANDOM
23487 (umask 077 && mkdir "$tmp")
23490 echo "$me: cannot create a temporary directory in ." >&2
23491 { (exit 1); exit 1; }
23495 # Set up the sed scripts for CONFIG_FILES section.
23498 # No need to generate the scripts if there are no CONFIG_FILES.
23499 # This happens for instance when ./config.status config.h
23500 if test -n "$CONFIG_FILES"; then
23507 for ac_last_try in false false false false false :; do
23508 cat >conf$$subs.sed <<_ACEOF
23509 SHELL!$SHELL$ac_delim
23510 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23511 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23512 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23513 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23514 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23515 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23516 exec_prefix!$exec_prefix$ac_delim
23517 prefix!$prefix$ac_delim
23518 program_transform_name!$program_transform_name$ac_delim
23519 bindir!$bindir$ac_delim
23520 sbindir!$sbindir$ac_delim
23521 libexecdir!$libexecdir$ac_delim
23522 datarootdir!$datarootdir$ac_delim
23523 datadir!$datadir$ac_delim
23524 sysconfdir!$sysconfdir$ac_delim
23525 sharedstatedir!$sharedstatedir$ac_delim
23526 localstatedir!$localstatedir$ac_delim
23527 includedir!$includedir$ac_delim
23528 oldincludedir!$oldincludedir$ac_delim
23529 docdir!$docdir$ac_delim
23530 infodir!$infodir$ac_delim
23531 htmldir!$htmldir$ac_delim
23532 dvidir!$dvidir$ac_delim
23533 pdfdir!$pdfdir$ac_delim
23534 psdir!$psdir$ac_delim
23535 libdir!$libdir$ac_delim
23536 localedir!$localedir$ac_delim
23537 mandir!$mandir$ac_delim
23538 DEFS!$DEFS$ac_delim
23539 ECHO_C!$ECHO_C$ac_delim
23540 ECHO_N!$ECHO_N$ac_delim
23541 ECHO_T!$ECHO_T$ac_delim
23542 LIBS!$LIBS$ac_delim
23543 build_alias!$build_alias$ac_delim
23544 host_alias!$host_alias$ac_delim
23545 target_alias!$target_alias$ac_delim
23546 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23547 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23548 INSTALL_DATA!$INSTALL_DATA$ac_delim
23549 CYGPATH_W!$CYGPATH_W$ac_delim
23550 PACKAGE!$PACKAGE$ac_delim
23551 VERSION!$VERSION$ac_delim
23552 ACLOCAL!$ACLOCAL$ac_delim
23553 AUTOCONF!$AUTOCONF$ac_delim
23554 AUTOMAKE!$AUTOMAKE$ac_delim
23555 AUTOHEADER!$AUTOHEADER$ac_delim
23556 MAKEINFO!$MAKEINFO$ac_delim
23557 install_sh!$install_sh$ac_delim
23558 STRIP!$STRIP$ac_delim
23559 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23560 mkdir_p!$mkdir_p$ac_delim
23562 SET_MAKE!$SET_MAKE$ac_delim
23563 am__leading_dot!$am__leading_dot$ac_delim
23564 AMTAR!$AMTAR$ac_delim
23565 am__tar!$am__tar$ac_delim
23566 am__untar!$am__untar$ac_delim
23567 PANGO_VERSION_MAJOR!$PANGO_VERSION_MAJOR$ac_delim
23568 PANGO_VERSION_MINOR!$PANGO_VERSION_MINOR$ac_delim
23569 PANGO_VERSION_MICRO!$PANGO_VERSION_MICRO$ac_delim
23570 PANGO_VERSION!$PANGO_VERSION$ac_delim
23571 PANGO_API_VERSION!$PANGO_API_VERSION$ac_delim
23572 PANGO_INTERFACE_AGE!$PANGO_INTERFACE_AGE$ac_delim
23573 PANGO_BINARY_AGE!$PANGO_BINARY_AGE$ac_delim
23574 PANGO_MODULE_VERSION!$PANGO_MODULE_VERSION$ac_delim
23575 PANGO_CURRENT_MINUS_AGE!$PANGO_CURRENT_MINUS_AGE$ac_delim
23576 build!$build$ac_delim
23577 build_cpu!$build_cpu$ac_delim
23578 build_vendor!$build_vendor$ac_delim
23579 build_os!$build_os$ac_delim
23580 host!$host$ac_delim
23581 host_cpu!$host_cpu$ac_delim
23582 host_vendor!$host_vendor$ac_delim
23583 host_os!$host_os$ac_delim
23584 LIB_EXE_MACHINE_FLAG!$LIB_EXE_MACHINE_FLAG$ac_delim
23585 OS_WIN32_TRUE!$OS_WIN32_TRUE$ac_delim
23586 OS_WIN32_FALSE!$OS_WIN32_FALSE$ac_delim
23588 CFLAGS!$CFLAGS$ac_delim
23589 LDFLAGS!$LDFLAGS$ac_delim
23590 CPPFLAGS!$CPPFLAGS$ac_delim
23591 ac_ct_CC!$ac_ct_CC$ac_delim
23592 EXEEXT!$EXEEXT$ac_delim
23593 OBJEXT!$OBJEXT$ac_delim
23594 DEPDIR!$DEPDIR$ac_delim
23595 am__include!$am__include$ac_delim
23596 am__quote!$am__quote$ac_delim
23597 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23598 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23599 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23600 CCDEPMODE!$CCDEPMODE$ac_delim
23601 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23602 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23604 CXXFLAGS!$CXXFLAGS$ac_delim
23605 ac_ct_CXX!$ac_ct_CXX$ac_delim
23608 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23610 elif $ac_last_try; then
23611 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23612 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23613 { (exit 1); exit 1; }; }
23615 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23619 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23620 if test -n "$ac_eof"; then
23621 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23622 ac_eof=`expr $ac_eof + 1`
23625 cat >>$CONFIG_STATUS <<_ACEOF
23626 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23627 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23630 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23631 s/^/s,@/; s/!/@,|#_!!_#|/
23634 s/'"$ac_delim"'$/,g/; t
23636 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23637 ' >>$CONFIG_STATUS <conf$$subs.sed
23638 rm -f conf$$subs.sed
23639 cat >>$CONFIG_STATUS <<_ACEOF
23645 for ac_last_try in false false false false false :; do
23646 cat >conf$$subs.sed <<_ACEOF
23647 CXXDEPMODE!$CXXDEPMODE$ac_delim
23648 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23649 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23650 HAVE_CXX_TRUE!$HAVE_CXX_TRUE$ac_delim
23651 HAVE_CXX_FALSE!$HAVE_CXX_FALSE$ac_delim
23653 GREP!$GREP$ac_delim
23654 EGREP!$EGREP$ac_delim
23656 DLLTOOL!$DLLTOOL$ac_delim
23657 OBJDUMP!$OBJDUMP$ac_delim
23658 LIBTOOL!$LIBTOOL$ac_delim
23660 FGREP!$FGREP$ac_delim
23662 DUMPBIN!$DUMPBIN$ac_delim
23663 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
23665 LN_S!$LN_S$ac_delim
23667 RANLIB!$RANLIB$ac_delim
23668 lt_ECHO!$lt_ECHO$ac_delim
23669 DSYMUTIL!$DSYMUTIL$ac_delim
23670 NMEDIT!$NMEDIT$ac_delim
23671 LIPO!$LIPO$ac_delim
23672 OTOOL!$OTOOL$ac_delim
23673 OTOOL64!$OTOOL64$ac_delim
23674 CXXCPP!$CXXCPP$ac_delim
23675 PLATFORM_WIN32_TRUE!$PLATFORM_WIN32_TRUE$ac_delim
23676 PLATFORM_WIN32_FALSE!$PLATFORM_WIN32_FALSE$ac_delim
23677 WINDRES!$WINDRES$ac_delim
23678 ms_librarian!$ms_librarian$ac_delim
23679 MS_LIB_AVAILABLE_TRUE!$MS_LIB_AVAILABLE_TRUE$ac_delim
23680 MS_LIB_AVAILABLE_FALSE!$MS_LIB_AVAILABLE_FALSE$ac_delim
23681 PANGO_DEBUG_FLAGS!$PANGO_DEBUG_FLAGS$ac_delim
23682 CROSS_COMPILING_TRUE!$CROSS_COMPILING_TRUE$ac_delim
23683 CROSS_COMPILING_FALSE!$CROSS_COMPILING_FALSE$ac_delim
23684 XMKMF!$XMKMF$ac_delim
23685 X_CFLAGS!$X_CFLAGS$ac_delim
23686 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23687 X_LIBS!$X_LIBS$ac_delim
23688 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23689 HAVE_X_TRUE!$HAVE_X_TRUE$ac_delim
23690 HAVE_X_FALSE!$HAVE_X_FALSE$ac_delim
23691 PKG_CONFIG!$PKG_CONFIG$ac_delim
23692 FONTCONFIG_CFLAGS!$FONTCONFIG_CFLAGS$ac_delim
23693 FONTCONFIG_LIBS!$FONTCONFIG_LIBS$ac_delim
23694 FREETYPE_CFLAGS!$FREETYPE_CFLAGS$ac_delim
23695 FREETYPE_LIBS!$FREETYPE_LIBS$ac_delim
23696 HAVE_FREETYPE_TRUE!$HAVE_FREETYPE_TRUE$ac_delim
23697 HAVE_FREETYPE_FALSE!$HAVE_FREETYPE_FALSE$ac_delim
23698 XFT_CFLAGS!$XFT_CFLAGS$ac_delim
23699 XFT_LIBS!$XFT_LIBS$ac_delim
23700 HAVE_XFT_TRUE!$HAVE_XFT_TRUE$ac_delim
23701 HAVE_XFT_FALSE!$HAVE_XFT_FALSE$ac_delim
23702 WIN32_LIBS!$WIN32_LIBS$ac_delim
23703 HAVE_WIN32_TRUE!$HAVE_WIN32_TRUE$ac_delim
23704 HAVE_WIN32_FALSE!$HAVE_WIN32_FALSE$ac_delim
23705 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
23706 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
23707 HAVE_CAIRO_TRUE!$HAVE_CAIRO_TRUE$ac_delim
23708 HAVE_CAIRO_FALSE!$HAVE_CAIRO_FALSE$ac_delim
23709 HAVE_CAIRO_PNG_TRUE!$HAVE_CAIRO_PNG_TRUE$ac_delim
23710 HAVE_CAIRO_PNG_FALSE!$HAVE_CAIRO_PNG_FALSE$ac_delim
23711 HAVE_CAIRO_PS_TRUE!$HAVE_CAIRO_PS_TRUE$ac_delim
23712 HAVE_CAIRO_PS_FALSE!$HAVE_CAIRO_PS_FALSE$ac_delim
23713 HAVE_CAIRO_PDF_TRUE!$HAVE_CAIRO_PDF_TRUE$ac_delim
23714 HAVE_CAIRO_PDF_FALSE!$HAVE_CAIRO_PDF_FALSE$ac_delim
23715 HAVE_CAIRO_XLIB_TRUE!$HAVE_CAIRO_XLIB_TRUE$ac_delim
23716 HAVE_CAIRO_XLIB_FALSE!$HAVE_CAIRO_XLIB_FALSE$ac_delim
23717 HAVE_CAIRO_WIN32_TRUE!$HAVE_CAIRO_WIN32_TRUE$ac_delim
23718 HAVE_CAIRO_WIN32_FALSE!$HAVE_CAIRO_WIN32_FALSE$ac_delim
23719 HAVE_CAIRO_FREETYPE_TRUE!$HAVE_CAIRO_FREETYPE_TRUE$ac_delim
23720 HAVE_CAIRO_FREETYPE_FALSE!$HAVE_CAIRO_FREETYPE_FALSE$ac_delim
23721 HAVE_CAIRO_ATSUI_TRUE!$HAVE_CAIRO_ATSUI_TRUE$ac_delim
23722 HAVE_CAIRO_ATSUI_FALSE!$HAVE_CAIRO_ATSUI_FALSE$ac_delim
23723 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
23724 GLIB_LIBS!$GLIB_LIBS$ac_delim
23725 GLIB_MKENUMS!$GLIB_MKENUMS$ac_delim
23726 LIBTHAI_CFLAGS!$LIBTHAI_CFLAGS$ac_delim
23727 LIBTHAI_LIBS!$LIBTHAI_LIBS$ac_delim
23728 INTROSPECTION_CFLAGS!$INTROSPECTION_CFLAGS$ac_delim
23729 INTROSPECTION_LIBS!$INTROSPECTION_LIBS$ac_delim
23730 HAVE_INTROSPECTION_TRUE!$HAVE_INTROSPECTION_TRUE$ac_delim
23731 HAVE_INTROSPECTION_FALSE!$HAVE_INTROSPECTION_FALSE$ac_delim
23732 G_IR_SCANNER!$G_IR_SCANNER$ac_delim
23733 G_IR_COMPILER!$G_IR_COMPILER$ac_delim
23734 G_IR_GENERATE!$G_IR_GENERATE$ac_delim
23735 GIRDIR!$GIRDIR$ac_delim
23736 TYPELIBDIR!$TYPELIBDIR$ac_delim
23737 HAVE_INCLUDED_MODULES_TRUE!$HAVE_INCLUDED_MODULES_TRUE$ac_delim
23738 HAVE_INCLUDED_MODULES_FALSE!$HAVE_INCLUDED_MODULES_FALSE$ac_delim
23739 HAVE_DYNAMIC_MODULES_TRUE!$HAVE_DYNAMIC_MODULES_TRUE$ac_delim
23740 HAVE_DYNAMIC_MODULES_FALSE!$HAVE_DYNAMIC_MODULES_FALSE$ac_delim
23741 INCLUDED_X_MODULES!$INCLUDED_X_MODULES$ac_delim
23742 INCLUDED_FC_MODULES!$INCLUDED_FC_MODULES$ac_delim
23743 INCLUDED_WIN32_MODULES!$INCLUDED_WIN32_MODULES$ac_delim
23746 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23748 elif $ac_last_try; then
23749 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23750 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23751 { (exit 1); exit 1; }; }
23753 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23757 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23758 if test -n "$ac_eof"; then
23759 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23760 ac_eof=`expr $ac_eof + 1`
23763 cat >>$CONFIG_STATUS <<_ACEOF
23764 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23765 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23768 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23769 s/^/s,@/; s/!/@,|#_!!_#|/
23772 s/'"$ac_delim"'$/,g/; t
23774 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23775 ' >>$CONFIG_STATUS <conf$$subs.sed
23776 rm -f conf$$subs.sed
23777 cat >>$CONFIG_STATUS <<_ACEOF
23783 for ac_last_try in false false false false false :; do
23784 cat >conf$$subs.sed <<_ACEOF
23785 INCLUDED_ATSUI_MODULES!$INCLUDED_ATSUI_MODULES$ac_delim
23786 INCLUDED_LANG_MODULES!$INCLUDED_LANG_MODULES$ac_delim
23787 INCLUDE_ARABIC_FC_TRUE!$INCLUDE_ARABIC_FC_TRUE$ac_delim
23788 INCLUDE_ARABIC_FC_FALSE!$INCLUDE_ARABIC_FC_FALSE$ac_delim
23789 INCLUDE_ARABIC_LANG_TRUE!$INCLUDE_ARABIC_LANG_TRUE$ac_delim
23790 INCLUDE_ARABIC_LANG_FALSE!$INCLUDE_ARABIC_LANG_FALSE$ac_delim
23791 INCLUDE_BASIC_FC_TRUE!$INCLUDE_BASIC_FC_TRUE$ac_delim
23792 INCLUDE_BASIC_FC_FALSE!$INCLUDE_BASIC_FC_FALSE$ac_delim
23793 INCLUDE_BASIC_WIN32_TRUE!$INCLUDE_BASIC_WIN32_TRUE$ac_delim
23794 INCLUDE_BASIC_WIN32_FALSE!$INCLUDE_BASIC_WIN32_FALSE$ac_delim
23795 INCLUDE_BASIC_X_TRUE!$INCLUDE_BASIC_X_TRUE$ac_delim
23796 INCLUDE_BASIC_X_FALSE!$INCLUDE_BASIC_X_FALSE$ac_delim
23797 INCLUDE_BASIC_ATSUI_TRUE!$INCLUDE_BASIC_ATSUI_TRUE$ac_delim
23798 INCLUDE_BASIC_ATSUI_FALSE!$INCLUDE_BASIC_ATSUI_FALSE$ac_delim
23799 INCLUDE_HANGUL_FC_TRUE!$INCLUDE_HANGUL_FC_TRUE$ac_delim
23800 INCLUDE_HANGUL_FC_FALSE!$INCLUDE_HANGUL_FC_FALSE$ac_delim
23801 INCLUDE_HEBREW_FC_TRUE!$INCLUDE_HEBREW_FC_TRUE$ac_delim
23802 INCLUDE_HEBREW_FC_FALSE!$INCLUDE_HEBREW_FC_FALSE$ac_delim
23803 INCLUDE_INDIC_FC_TRUE!$INCLUDE_INDIC_FC_TRUE$ac_delim
23804 INCLUDE_INDIC_FC_FALSE!$INCLUDE_INDIC_FC_FALSE$ac_delim
23805 INCLUDE_INDIC_LANG_TRUE!$INCLUDE_INDIC_LANG_TRUE$ac_delim
23806 INCLUDE_INDIC_LANG_FALSE!$INCLUDE_INDIC_LANG_FALSE$ac_delim
23807 INCLUDE_KHMER_FC_TRUE!$INCLUDE_KHMER_FC_TRUE$ac_delim
23808 INCLUDE_KHMER_FC_FALSE!$INCLUDE_KHMER_FC_FALSE$ac_delim
23809 INCLUDE_SYRIAC_FC_TRUE!$INCLUDE_SYRIAC_FC_TRUE$ac_delim
23810 INCLUDE_SYRIAC_FC_FALSE!$INCLUDE_SYRIAC_FC_FALSE$ac_delim
23811 INCLUDE_THAI_FC_TRUE!$INCLUDE_THAI_FC_TRUE$ac_delim
23812 INCLUDE_THAI_FC_FALSE!$INCLUDE_THAI_FC_FALSE$ac_delim
23813 INCLUDE_THAI_LANG_TRUE!$INCLUDE_THAI_LANG_TRUE$ac_delim
23814 INCLUDE_THAI_LANG_FALSE!$INCLUDE_THAI_LANG_FALSE$ac_delim
23815 INCLUDE_TIBETAN_FC_TRUE!$INCLUDE_TIBETAN_FC_TRUE$ac_delim
23816 INCLUDE_TIBETAN_FC_FALSE!$INCLUDE_TIBETAN_FC_FALSE$ac_delim
23817 DYNAMIC_ARABIC_FC_TRUE!$DYNAMIC_ARABIC_FC_TRUE$ac_delim
23818 DYNAMIC_ARABIC_FC_FALSE!$DYNAMIC_ARABIC_FC_FALSE$ac_delim
23819 DYNAMIC_ARABIC_LANG_TRUE!$DYNAMIC_ARABIC_LANG_TRUE$ac_delim
23820 DYNAMIC_ARABIC_LANG_FALSE!$DYNAMIC_ARABIC_LANG_FALSE$ac_delim
23821 DYNAMIC_BASIC_FC_TRUE!$DYNAMIC_BASIC_FC_TRUE$ac_delim
23822 DYNAMIC_BASIC_FC_FALSE!$DYNAMIC_BASIC_FC_FALSE$ac_delim
23823 DYNAMIC_BASIC_WIN32_TRUE!$DYNAMIC_BASIC_WIN32_TRUE$ac_delim
23824 DYNAMIC_BASIC_WIN32_FALSE!$DYNAMIC_BASIC_WIN32_FALSE$ac_delim
23825 DYNAMIC_BASIC_X_TRUE!$DYNAMIC_BASIC_X_TRUE$ac_delim
23826 DYNAMIC_BASIC_X_FALSE!$DYNAMIC_BASIC_X_FALSE$ac_delim
23827 DYNAMIC_BASIC_ATSUI_TRUE!$DYNAMIC_BASIC_ATSUI_TRUE$ac_delim
23828 DYNAMIC_BASIC_ATSUI_FALSE!$DYNAMIC_BASIC_ATSUI_FALSE$ac_delim
23829 DYNAMIC_HANGUL_FC_TRUE!$DYNAMIC_HANGUL_FC_TRUE$ac_delim
23830 DYNAMIC_HANGUL_FC_FALSE!$DYNAMIC_HANGUL_FC_FALSE$ac_delim
23831 DYNAMIC_HEBREW_FC_TRUE!$DYNAMIC_HEBREW_FC_TRUE$ac_delim
23832 DYNAMIC_HEBREW_FC_FALSE!$DYNAMIC_HEBREW_FC_FALSE$ac_delim
23833 DYNAMIC_INDIC_FC_TRUE!$DYNAMIC_INDIC_FC_TRUE$ac_delim
23834 DYNAMIC_INDIC_FC_FALSE!$DYNAMIC_INDIC_FC_FALSE$ac_delim
23835 DYNAMIC_INDIC_LANG_TRUE!$DYNAMIC_INDIC_LANG_TRUE$ac_delim
23836 DYNAMIC_INDIC_LANG_FALSE!$DYNAMIC_INDIC_LANG_FALSE$ac_delim
23837 DYNAMIC_KHMER_FC_TRUE!$DYNAMIC_KHMER_FC_TRUE$ac_delim
23838 DYNAMIC_KHMER_FC_FALSE!$DYNAMIC_KHMER_FC_FALSE$ac_delim
23839 DYNAMIC_SYRIAC_FC_TRUE!$DYNAMIC_SYRIAC_FC_TRUE$ac_delim
23840 DYNAMIC_SYRIAC_FC_FALSE!$DYNAMIC_SYRIAC_FC_FALSE$ac_delim
23841 DYNAMIC_THAI_FC_TRUE!$DYNAMIC_THAI_FC_TRUE$ac_delim
23842 DYNAMIC_THAI_FC_FALSE!$DYNAMIC_THAI_FC_FALSE$ac_delim
23843 DYNAMIC_THAI_LANG_TRUE!$DYNAMIC_THAI_LANG_TRUE$ac_delim
23844 DYNAMIC_THAI_LANG_FALSE!$DYNAMIC_THAI_LANG_FALSE$ac_delim
23845 DYNAMIC_TIBETAN_FC_TRUE!$DYNAMIC_TIBETAN_FC_TRUE$ac_delim
23846 DYNAMIC_TIBETAN_FC_FALSE!$DYNAMIC_TIBETAN_FC_FALSE$ac_delim
23847 HTML_DIR!$HTML_DIR$ac_delim
23848 ENABLE_GTK_DOC_TRUE!$ENABLE_GTK_DOC_TRUE$ac_delim
23849 ENABLE_GTK_DOC_FALSE!$ENABLE_GTK_DOC_FALSE$ac_delim
23850 GTK_DOC_USE_LIBTOOL_TRUE!$GTK_DOC_USE_LIBTOOL_TRUE$ac_delim
23851 GTK_DOC_USE_LIBTOOL_FALSE!$GTK_DOC_USE_LIBTOOL_FALSE$ac_delim
23852 XSLTPROC!$XSLTPROC$ac_delim
23853 XML_CATALOG_FILE!$XML_CATALOG_FILE$ac_delim
23854 XMLCATALOG!$XMLCATALOG$ac_delim
23855 ENABLE_MAN_TRUE!$ENABLE_MAN_TRUE$ac_delim
23856 ENABLE_MAN_FALSE!$ENABLE_MAN_FALSE$ac_delim
23857 GLIB_PREFIX!$GLIB_PREFIX$ac_delim
23858 CAIRO_PREFIX!$CAIRO_PREFIX$ac_delim
23859 ENABLE_DOC_CROSS_REFERENCES_TRUE!$ENABLE_DOC_CROSS_REFERENCES_TRUE$ac_delim
23860 ENABLE_DOC_CROSS_REFERENCES_FALSE!$ENABLE_DOC_CROSS_REFERENCES_FALSE$ac_delim
23861 LIBRARY_LIBTOOL_OPTIONS!$LIBRARY_LIBTOOL_OPTIONS$ac_delim
23862 MODULE_LIBTOOL_OPTIONS!$MODULE_LIBTOOL_OPTIONS$ac_delim
23863 PKGCONFIG_MATH_LIBS!$PKGCONFIG_MATH_LIBS$ac_delim
23864 PKGCONFIG_CAIRO_REQUIRES!$PKGCONFIG_CAIRO_REQUIRES$ac_delim
23865 DISABLE_EXPLICIT_DEPS_TRUE!$DISABLE_EXPLICIT_DEPS_TRUE$ac_delim
23866 DISABLE_EXPLICIT_DEPS_FALSE!$DISABLE_EXPLICIT_DEPS_FALSE$ac_delim
23867 LIBOBJS!$LIBOBJS$ac_delim
23868 LTLIBOBJS!$LTLIBOBJS$ac_delim
23871 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then
23873 elif $ac_last_try; then
23874 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23875 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23876 { (exit 1); exit 1; }; }
23878 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23882 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23883 if test -n "$ac_eof"; then
23884 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23885 ac_eof=`expr $ac_eof + 1`
23888 cat >>$CONFIG_STATUS <<_ACEOF
23889 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
23890 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23893 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23894 s/^/s,@/; s/!/@,|#_!!_#|/
23897 s/'"$ac_delim"'$/,g/; t
23899 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23900 ' >>$CONFIG_STATUS <conf$$subs.sed
23901 rm -f conf$$subs.sed
23902 cat >>$CONFIG_STATUS <<_ACEOF
23909 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23910 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23911 # trailing colons and then remove the whole line if VPATH becomes empty
23912 # (actually we leave an empty line to preserve line numbers).
23913 if test "x$srcdir" = x.; then
23914 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23915 s/:*\$(srcdir):*/:/
23916 s/:*\${srcdir}:*/:/
23918 s/^\([^=]*=[ ]*\):*/\1/
23924 cat >>$CONFIG_STATUS <<\_ACEOF
23925 fi # test -n "$CONFIG_FILES"
23928 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23931 :[FHLC]) ac_mode=$ac_tag; continue;;
23933 case $ac_mode$ac_tag in
23935 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23936 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23937 { (exit 1); exit 1; }; };;
23938 :[FH]-) ac_tag=-:-;;
23939 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23956 -) ac_f="$tmp/stdin";;
23957 *) # Look for the file first in the build tree, then in the source tree
23958 # (if the path is not absolute). The absolute path cannot be DOS-style,
23959 # because $ac_f cannot contain `:'.
23963 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23965 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23966 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23967 { (exit 1); exit 1; }; };;
23969 ac_file_inputs="$ac_file_inputs $ac_f"
23972 # Let's still pretend it is `configure' which instantiates (i.e., don't
23973 # use $as_me), people would be surprised to read:
23974 # /* config.h. Generated by config.status. */
23975 configure_input="Generated from "`IFS=:
23976 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23977 if test x"$ac_file" != x-; then
23978 configure_input="$ac_file. $configure_input"
23979 { echo "$as_me:$LINENO: creating $ac_file" >&5
23980 echo "$as_me: creating $ac_file" >&6;}
23984 *:-:* | *:-) cat >"$tmp/stdin";;
23989 ac_dir=`$as_dirname -- "$ac_file" ||
23990 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23991 X"$ac_file" : 'X\(//\)[^/]' \| \
23992 X"$ac_file" : 'X\(//\)$' \| \
23993 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23999 /^X\(\/\/\)[^/].*/{
24014 -*) as_dir=./$as_dir;;
24016 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24020 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24021 *) as_qdir=$as_dir;;
24023 as_dirs="'$as_qdir' $as_dirs"
24024 as_dir=`$as_dirname -- "$as_dir" ||
24025 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24026 X"$as_dir" : 'X\(//\)[^/]' \| \
24027 X"$as_dir" : 'X\(//\)$' \| \
24028 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24034 /^X\(\/\/\)[^/].*/{
24047 test -d "$as_dir" && break
24049 test -z "$as_dirs" || eval "mkdir $as_dirs"
24050 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24051 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24052 { (exit 1); exit 1; }; }; }
24056 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24058 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24059 # A ".." for each directory in $ac_dir_suffix.
24060 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24061 case $ac_top_builddir_sub in
24062 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24063 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24066 ac_abs_top_builddir=$ac_pwd
24067 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24068 # for backward compatibility:
24069 ac_top_builddir=$ac_top_build_prefix
24072 .) # We are building in place.
24074 ac_top_srcdir=$ac_top_builddir_sub
24075 ac_abs_top_srcdir=$ac_pwd ;;
24076 [\\/]* | ?:[\\/]* ) # Absolute name.
24077 ac_srcdir=$srcdir$ac_dir_suffix;
24078 ac_top_srcdir=$srcdir
24079 ac_abs_top_srcdir=$srcdir ;;
24080 *) # Relative name.
24081 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24082 ac_top_srcdir=$ac_top_build_prefix$srcdir
24083 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24085 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24095 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24096 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24100 cat >>$CONFIG_STATUS <<\_ACEOF
24101 # If the template does not know about datarootdir, expand it.
24102 # FIXME: This hack should be removed a few years after 2.60.
24103 ac_datarootdir_hack=; ac_datarootdir_seen=
24105 case `sed -n '/datarootdir/ {
24114 ' $ac_file_inputs` in
24115 *datarootdir*) ac_datarootdir_seen=yes;;
24116 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24117 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24118 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24120 cat >>$CONFIG_STATUS <<_ACEOF
24121 ac_datarootdir_hack='
24122 s&@datadir@&$datadir&g
24123 s&@docdir@&$docdir&g
24124 s&@infodir@&$infodir&g
24125 s&@localedir@&$localedir&g
24126 s&@mandir@&$mandir&g
24127 s&\\\${datarootdir}&$datarootdir&g' ;;
24131 # Neutralize VPATH when `$srcdir' = `.'.
24132 # Shell code in configure.ac might set extrasub.
24133 # FIXME: do we really want to maintain this feature?
24134 cat >>$CONFIG_STATUS <<_ACEOF
24138 cat >>$CONFIG_STATUS <<\_ACEOF
24140 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24141 s&@configure_input@&$configure_input&;t t
24142 s&@top_builddir@&$ac_top_builddir_sub&;t t
24143 s&@srcdir@&$ac_srcdir&;t t
24144 s&@abs_srcdir@&$ac_abs_srcdir&;t t
24145 s&@top_srcdir@&$ac_top_srcdir&;t t
24146 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24147 s&@builddir@&$ac_builddir&;t t
24148 s&@abs_builddir@&$ac_abs_builddir&;t t
24149 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24150 s&@INSTALL@&$ac_INSTALL&;t t
24151 $ac_datarootdir_hack
24152 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
24154 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24155 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24156 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24157 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24158 which seems to be undefined. Please make sure it is defined." >&5
24159 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24160 which seems to be undefined. Please make sure it is defined." >&2;}
24164 -) cat "$tmp/out"; rm -f "$tmp/out";;
24165 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24174 # Transform confdefs.h into a sed script `conftest.defines', that
24175 # substitutes the proper values into config.h.in to produce config.h.
24176 rm -f conftest.defines conftest.tail
24177 # First, append a space to every undef/define line, to ease matching.
24178 echo 's/$/ /' >conftest.defines
24179 # Then, protect against being on the right side of a sed subst, or in
24180 # an unquoted here document, in config.status. If some macros were
24181 # called several times there might be several #defines for the same
24182 # symbol, which is useless. But do not sort them, since the last
24183 # AC_DEFINE must be honored.
24184 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24185 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24186 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24187 # PARAMS is the parameter list in the macro definition--in most cases, it's
24188 # just an empty string.
24189 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24190 ac_dB='\\)[ (].*,\\1define\\2'
24198 s/^[ ]*#[ ]*define[ ][ ]*//
24203 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24204 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24205 ' >>conftest.defines
24207 # Remove the space that was appended to ease matching.
24208 # Then replace #undef with comments. This is necessary, for
24209 # example, in the case of _POSIX_SOURCE, which is predefined and required
24210 # on some systems where configure will not decide to define it.
24211 # (The regexp can be short, since the line contains either #define or #undef.)
24213 s,^[ #]*u.*,/* & */,' >>conftest.defines
24215 # Break up conftest.defines:
24216 ac_max_sed_lines=50
24218 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24219 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24220 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24222 ac_in='$ac_file_inputs'
24223 ac_out='"$tmp/out1"'
24224 ac_nxt='"$tmp/out2"'
24228 # Write a here document:
24229 cat >>$CONFIG_STATUS <<_ACEOF
24230 # First, check the format of the line:
24231 cat >"\$tmp/defines.sed" <<\\CEOF
24232 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24233 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24237 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24239 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24240 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24241 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24242 grep . conftest.tail >/dev/null || break
24243 rm -f conftest.defines
24244 mv conftest.tail conftest.defines
24246 rm -f conftest.defines conftest.tail
24248 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24249 cat >>$CONFIG_STATUS <<\_ACEOF
24250 if test x"$ac_file" != x-; then
24251 echo "/* $configure_input */" >"$tmp/config.h"
24252 cat "$ac_result" >>"$tmp/config.h"
24253 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24254 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24255 echo "$as_me: $ac_file is unchanged" >&6;}
24258 mv "$tmp/config.h" $ac_file
24261 echo "/* $configure_input */"
24265 # Compute $ac_file's index in $config_headers.
24267 for _am_header in $config_headers :; do
24268 case $_am_header in
24269 $ac_file | $ac_file:* )
24272 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24275 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
24276 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24277 X$ac_file : 'X\(//\)[^/]' \| \
24278 X$ac_file : 'X\(//\)$' \| \
24279 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
24281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24285 /^X\(\/\/\)[^/].*/{
24297 s/.*/./; q'`/stamp-h$_am_stamp_count
24300 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24301 echo "$as_me: executing $ac_file commands" >&6;}
24306 case $ac_file$ac_mode in
24307 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
24308 # Strip MF so we end up with the name of the file.
24309 mf=`echo "$mf" | sed -e 's/:.*$//'`
24310 # Check whether this is an Automake generated Makefile or not.
24311 # We used to match only the files named `Makefile.in', but
24312 # some people rename them; so instead we look at the file content.
24313 # Grep'ing the first line is not enough: some people post-process
24314 # each Makefile.in and add a new line on top of each file to say so.
24315 # So let's grep whole file.
24316 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
24317 dirpart=`$as_dirname -- "$mf" ||
24318 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24319 X"$mf" : 'X\(//\)[^/]' \| \
24320 X"$mf" : 'X\(//\)$' \| \
24321 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24327 /^X\(\/\/\)[^/].*/{
24343 # Extract the definition of DEPDIR, am__include, and am__quote
24344 # from the Makefile without running `make'.
24345 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
24346 test -z "$DEPDIR" && continue
24347 am__include=`sed -n 's/^am__include = //p' < "$mf"`
24348 test -z "am__include" && continue
24349 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
24350 # When using ansi2knr, U may be empty or an underscore; expand it
24351 U=`sed -n 's/^U = //p' < "$mf"`
24352 # Find all dependency output files, they are included files with
24353 # $(DEPDIR) in their names. We invoke sed twice because it is the
24354 # simplest approach to changing $(DEPDIR) to its actual value in the
24356 for file in `sed -n "
24357 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24358 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24359 # Make sure the directory exists.
24360 test -f "$dirpart/$file" && continue
24361 fdir=`$as_dirname -- "$file" ||
24362 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24363 X"$file" : 'X\(//\)[^/]' \| \
24364 X"$file" : 'X\(//\)$' \| \
24365 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24371 /^X\(\/\/\)[^/].*/{
24384 { as_dir=$dirpart/$fdir
24386 -*) as_dir=./$as_dir;;
24388 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24392 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24393 *) as_qdir=$as_dir;;
24395 as_dirs="'$as_qdir' $as_dirs"
24396 as_dir=`$as_dirname -- "$as_dir" ||
24397 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24398 X"$as_dir" : 'X\(//\)[^/]' \| \
24399 X"$as_dir" : 'X\(//\)$' \| \
24400 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24406 /^X\(\/\/\)[^/].*/{
24419 test -d "$as_dir" && break
24421 test -z "$as_dirs" || eval "mkdir $as_dirs"
24422 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24423 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24424 { (exit 1); exit 1; }; }; }
24425 # echo "creating $dirpart/$file"
24426 echo '# dummy' > "$dirpart/$file"
24432 # See if we are running on zsh, and set the options which allow our
24433 # commands through without removal of \ escapes.
24434 if test -n "${ZSH_VERSION+set}" ; then
24435 setopt NO_GLOB_SUBST
24438 cfgfile="${ofile}T"
24439 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
24442 cat <<_LT_EOF >> "$cfgfile"
24445 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
24446 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
24447 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24448 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
24450 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
24451 # 2006, 2007, 2008 Free Software Foundation, Inc.
24452 # Written by Gordon Matzigkeit, 1996
24454 # This file is part of GNU Libtool.
24456 # GNU Libtool is free software; you can redistribute it and/or
24457 # modify it under the terms of the GNU General Public License as
24458 # published by the Free Software Foundation; either version 2 of
24459 # the License, or (at your option) any later version.
24461 # As a special exception to the GNU General Public License,
24462 # if you distribute this file as part of a program or library that
24463 # is built using GNU Libtool, you may include this file under the
24464 # same distribution terms that you use for the rest of that program.
24466 # GNU Libtool is distributed in the hope that it will be useful,
24467 # but WITHOUT ANY WARRANTY; without even the implied warranty of
24468 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24469 # GNU General Public License for more details.
24471 # You should have received a copy of the GNU General Public License
24472 # along with GNU Libtool; see the file COPYING. If not, a copy
24473 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
24474 # obtained by writing to the Free Software Foundation, Inc.,
24475 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24478 # The names of the tagged configurations supported by this script.
24479 available_tags="CXX "
24481 # ### BEGIN LIBTOOL CONFIG
24483 # Assembler program.
24486 # DLL creation program.
24489 # Object dumper program.
24492 # Whether or not to build static libraries.
24493 build_old_libs=$enable_static
24495 # Which release of libtool.m4 was used?
24496 macro_version=$macro_version
24497 macro_revision=$macro_revision
24499 # Whether or not to build shared libraries.
24500 build_libtool_libs=$enable_shared
24502 # What type of objects to build.
24505 # Whether or not to optimize for fast installation.
24506 fast_install=$enable_fast_install
24509 host_alias=$host_alias
24513 # The build system.
24514 build_alias=$build_alias
24518 # A sed program that does not truncate output.
24521 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
24522 Xsed="\$SED -e 1s/^X//"
24524 # A grep program that handles long lines.
24530 # A literal string matcher.
24533 # A BSD- or MS-compatible name lister.
24536 # Whether we need soft or hard links.
24539 # What is the maximum length of a command?
24540 max_cmd_len=$max_cmd_len
24542 # Object file suffix (normally "o").
24545 # Executable file suffix (normally "").
24548 # whether the shell understands "unset".
24551 # turn spaces into newlines.
24554 # turn newlines into spaces.
24557 # How to create reloadable object files.
24558 reload_flag=$lt_reload_flag
24559 reload_cmds=$lt_reload_cmds
24561 # Method to check whether dependent libraries are shared objects.
24562 deplibs_check_method=$lt_deplibs_check_method
24564 # Command to use when deplibs_check_method == "file_magic".
24565 file_magic_cmd=$lt_file_magic_cmd
24569 AR_FLAGS=$lt_AR_FLAGS
24571 # A symbol stripping program.
24574 # Commands used to install an old-style archive.
24576 old_postinstall_cmds=$lt_old_postinstall_cmds
24577 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24582 # LTCC compiler flags.
24583 LTCFLAGS=$lt_CFLAGS
24585 # Take the output of nm and produce a listing of raw symbols and C names.
24586 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24588 # Transform the output of nm in a proper C declaration.
24589 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24591 # Transform the output of nm in a C name address pair.
24592 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24594 # Transform the output of nm in a C name address pair when lib prefix is needed.
24595 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24597 # The name of the directory that contains temporary libtool files.
24600 # Shell to use when invoking shell scripts.
24603 # An echo program that does not interpret backslashes.
24606 # Used to examine libraries when file_magic_cmd begins with "file".
24607 MAGIC_CMD=$MAGIC_CMD
24609 # Must we lock files when doing compilation?
24610 need_locks=$lt_need_locks
24612 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24613 DSYMUTIL=$lt_DSYMUTIL
24615 # Tool to change global to local symbols on Mac OS X.
24618 # Tool to manipulate fat objects and archives on Mac OS X.
24621 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
24624 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24625 OTOOL64=$lt_OTOOL64
24627 # Old archive suffix (normally "a").
24630 # Shared library suffix (normally ".so").
24631 shrext_cmds=$lt_shrext_cmds
24633 # The commands to extract the exported symbol list from a shared archive.
24634 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24636 # Variables whose values should be saved in libtool wrapper scripts and
24637 # restored at link time.
24638 variables_saved_for_relink=$lt_variables_saved_for_relink
24640 # Do we need the "lib" prefix for modules?
24641 need_lib_prefix=$need_lib_prefix
24643 # Do we need a version for libraries?
24644 need_version=$need_version
24646 # Library versioning type.
24647 version_type=$version_type
24649 # Shared library runtime path variable.
24650 runpath_var=$runpath_var
24652 # Shared library path variable.
24653 shlibpath_var=$shlibpath_var
24655 # Is shlibpath searched before the hard-coded library search path?
24656 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24658 # Format of library name prefix.
24659 libname_spec=$lt_libname_spec
24661 # List of archive names. First name is the real one, the rest are links.
24662 # The last name is the one that the linker finds with -lNAME
24663 library_names_spec=$lt_library_names_spec
24665 # The coded name of the library, if different from the real name.
24666 soname_spec=$lt_soname_spec
24668 # Command to use after installation of a shared archive.
24669 postinstall_cmds=$lt_postinstall_cmds
24671 # Command to use after uninstallation of a shared archive.
24672 postuninstall_cmds=$lt_postuninstall_cmds
24674 # Commands used to finish a libtool library installation in a directory.
24675 finish_cmds=$lt_finish_cmds
24677 # As "finish_cmds", except a single script fragment to be evaled but
24679 finish_eval=$lt_finish_eval
24681 # Whether we should hardcode library paths into libraries.
24682 hardcode_into_libs=$hardcode_into_libs
24684 # Compile-time system search path for libraries.
24685 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24687 # Run-time system search path for libraries.
24688 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24690 # Whether dlopen is supported.
24691 dlopen_support=$enable_dlopen
24693 # Whether dlopen of programs is supported.
24694 dlopen_self=$enable_dlopen_self
24696 # Whether dlopen of statically linked programs is supported.
24697 dlopen_self_static=$enable_dlopen_self_static
24699 # Commands to strip libraries.
24700 old_striplib=$lt_old_striplib
24701 striplib=$lt_striplib
24704 # The linker used to build libraries.
24707 # Commands used to build an old-style archive.
24708 old_archive_cmds=$lt_old_archive_cmds
24710 # A language specific compiler.
24713 # Is the compiler the GNU compiler?
24716 # Compiler flag to turn off builtin functions.
24717 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24719 # How to pass a linker flag through the compiler.
24720 wl=$lt_lt_prog_compiler_wl
24722 # Additional compiler flags for building library objects.
24723 pic_flag=$lt_lt_prog_compiler_pic
24725 # Compiler flag to prevent dynamic linking.
24726 link_static_flag=$lt_lt_prog_compiler_static
24728 # Does compiler simultaneously support -c and -o options?
24729 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24731 # Whether or not to add -lc for building shared libraries.
24732 build_libtool_need_lc=$archive_cmds_need_lc
24734 # Whether or not to disallow shared libs when runtime libs are static.
24735 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24737 # Compiler flag to allow reflexive dlopens.
24738 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24740 # Compiler flag to generate shared objects directly from archives.
24741 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24743 # Whether the compiler copes with passing no objects directly.
24744 compiler_needs_object=$lt_compiler_needs_object
24746 # Create an old-style archive from a shared archive.
24747 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24749 # Create a temporary old-style archive to link instead of a shared archive.
24750 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24752 # Commands used to build a shared archive.
24753 archive_cmds=$lt_archive_cmds
24754 archive_expsym_cmds=$lt_archive_expsym_cmds
24756 # Commands used to build a loadable module if different from building
24757 # a shared archive.
24758 module_cmds=$lt_module_cmds
24759 module_expsym_cmds=$lt_module_expsym_cmds
24761 # Whether we are building with GNU ld or not.
24762 with_gnu_ld=$lt_with_gnu_ld
24764 # Flag that allows shared libraries with undefined symbols to be built.
24765 allow_undefined_flag=$lt_allow_undefined_flag
24767 # Flag that enforces no undefined symbols.
24768 no_undefined_flag=$lt_no_undefined_flag
24770 # Flag to hardcode \$libdir into a binary during linking.
24771 # This must work even if \$libdir does not exist
24772 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24774 # If ld is used when linking, flag to hardcode \$libdir into a binary
24775 # during linking. This must work even if \$libdir does not exist.
24776 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
24778 # Whether we need a single "-rpath" flag with a separated argument.
24779 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24781 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24782 # DIR into the resulting binary.
24783 hardcode_direct=$hardcode_direct
24785 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24786 # DIR into the resulting binary and the resulting library dependency is
24787 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24788 # library is relocated.
24789 hardcode_direct_absolute=$hardcode_direct_absolute
24791 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24792 # into the resulting binary.
24793 hardcode_minus_L=$hardcode_minus_L
24795 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24796 # into the resulting binary.
24797 hardcode_shlibpath_var=$hardcode_shlibpath_var
24799 # Set to "yes" if building a shared library automatically hardcodes DIR
24800 # into the library and all subsequent libraries and executables linked
24802 hardcode_automatic=$hardcode_automatic
24804 # Set to yes if linker adds runtime paths of dependent libraries
24805 # to runtime path list.
24806 inherit_rpath=$inherit_rpath
24808 # Whether libtool must link a program against all its dependency libraries.
24809 link_all_deplibs=$link_all_deplibs
24811 # Fix the shell variable \$srcfile for the compiler.
24812 fix_srcfile_path=$lt_fix_srcfile_path
24814 # Set to "yes" if exported symbols are required.
24815 always_export_symbols=$always_export_symbols
24817 # The commands to list exported symbols.
24818 export_symbols_cmds=$lt_export_symbols_cmds
24820 # Symbols that should not be listed in the preloaded symbols.
24821 exclude_expsyms=$lt_exclude_expsyms
24823 # Symbols that must always be exported.
24824 include_expsyms=$lt_include_expsyms
24826 # Commands necessary for linking programs (against libraries) with templates.
24827 prelink_cmds=$lt_prelink_cmds
24829 # Specify filename containing input files.
24830 file_list_spec=$lt_file_list_spec
24832 # How to hardcode a shared library path into an executable.
24833 hardcode_action=$hardcode_action
24835 # The directories searched by this compiler when creating a shared library.
24836 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
24838 # Dependencies to place before and after the objects being linked to
24839 # create a shared library.
24840 predep_objects=$lt_predep_objects
24841 postdep_objects=$lt_postdep_objects
24842 predeps=$lt_predeps
24843 postdeps=$lt_postdeps
24845 # The library search path used internally by the compiler when linking
24846 # a shared library.
24847 compiler_lib_search_path=$lt_compiler_lib_search_path
24849 # ### END LIBTOOL CONFIG
24855 cat <<\_LT_EOF >> "$cfgfile"
24856 # AIX sometimes has problems with the GCC collect2 program. For some
24857 # reason, if we set the COLLECT_NAMES environment variable, the problems
24858 # vanish in a puff of smoke.
24859 if test "X${COLLECT_NAMES+set}" != Xset; then
24861 export COLLECT_NAMES
24868 ltmain="$ac_aux_dir/ltmain.sh"
24871 # We use sed instead of cat because bash on DJGPP gets confused if
24872 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24873 # text mode, it properly converts lines to CR/LF. This bash problem
24874 # is reportedly fixed, but why not run on old versions too?
24875 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
24876 || (rm -f "$cfgfile"; exit 1)
24880 cat << \_LT_EOF >> "$cfgfile"
24882 # func_dirname file append nondir_replacement
24883 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24884 # otherwise set result to NONDIR_REPLACEMENT.
24888 */*) func_dirname_result="${1%/*}${2}" ;;
24889 * ) func_dirname_result="${3}" ;;
24893 # func_basename file
24896 func_basename_result="${1##*/}"
24899 # func_dirname_and_basename file append nondir_replacement
24900 # perform func_basename and func_dirname in a single function
24902 # dirname: Compute the dirname of FILE. If nonempty,
24903 # add APPEND to the result, otherwise set result
24904 # to NONDIR_REPLACEMENT.
24905 # value returned in "$func_dirname_result"
24906 # basename: Compute filename of FILE.
24907 # value retuned in "$func_basename_result"
24908 # Implementation must be kept synchronized with func_dirname
24909 # and func_basename. For efficiency, we do not delegate to
24910 # those functions but instead duplicate the functionality here.
24911 func_dirname_and_basename ()
24914 */*) func_dirname_result="${1%/*}${2}" ;;
24915 * ) func_dirname_result="${3}" ;;
24917 func_basename_result="${1##*/}"
24920 # func_stripname prefix suffix name
24921 # strip PREFIX and SUFFIX off of NAME.
24922 # PREFIX and SUFFIX must not contain globbing or regex special
24923 # characters, hashes, percent signs, but SUFFIX may contain a leading
24924 # dot (in which case that matches only a dot).
24927 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
24928 # positional parameters, so assign one to ordinary parameter first.
24929 func_stripname_result=${3}
24930 func_stripname_result=${func_stripname_result#"${1}"}
24931 func_stripname_result=${func_stripname_result%"${2}"}
24937 func_opt_split_opt=${1%%=*}
24938 func_opt_split_arg=${1#*=}
24945 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
24946 *) func_lo2o_result=${1} ;;
24950 # func_xform libobj-or-source
24953 func_xform_result=${1%.*}.lo
24956 # func_arith arithmetic-term...
24959 func_arith_result=$(( $* ))
24963 # STRING may not start with a hyphen.
24966 func_len_result=${#1}
24971 *) # Bourne compatible functions.
24972 cat << \_LT_EOF >> "$cfgfile"
24974 # func_dirname file append nondir_replacement
24975 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24976 # otherwise set result to NONDIR_REPLACEMENT.
24979 # Extract subdirectory from the argument.
24980 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
24981 if test "X$func_dirname_result" = "X${1}"; then
24982 func_dirname_result="${3}"
24984 func_dirname_result="$func_dirname_result${2}"
24988 # func_basename file
24991 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
24995 # func_stripname prefix suffix name
24996 # strip PREFIX and SUFFIX off of NAME.
24997 # PREFIX and SUFFIX must not contain globbing or regex special
24998 # characters, hashes, percent signs, but SUFFIX may contain a leading
24999 # dot (in which case that matches only a dot).
25000 # func_strip_suffix prefix name
25004 .*) func_stripname_result=`$ECHO "X${3}" \
25005 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
25006 *) func_stripname_result=`$ECHO "X${3}" \
25007 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
25012 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
25013 my_sed_long_arg='1s/^-[^=]*=//'
25018 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
25019 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
25025 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
25028 # func_xform libobj-or-source
25031 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
25034 # func_arith arithmetic-term...
25037 func_arith_result=`expr "$@"`
25041 # STRING may not start with a hyphen.
25044 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
25050 case $lt_shell_append in
25052 cat << \_LT_EOF >> "$cfgfile"
25054 # func_append var value
25055 # Append VALUE to the end of shell variable VAR.
25063 cat << \_LT_EOF >> "$cfgfile"
25065 # func_append var value
25066 # Append VALUE to the end of shell variable VAR.
25077 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
25078 || (rm -f "$cfgfile"; exit 1)
25080 mv -f "$cfgfile" "$ofile" ||
25081 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
25085 cat <<_LT_EOF >> "$ofile"
25087 # ### BEGIN LIBTOOL TAG CONFIG: CXX
25089 # The linker used to build libraries.
25092 # Commands used to build an old-style archive.
25093 old_archive_cmds=$lt_old_archive_cmds_CXX
25095 # A language specific compiler.
25096 CC=$lt_compiler_CXX
25098 # Is the compiler the GNU compiler?
25101 # Compiler flag to turn off builtin functions.
25102 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
25104 # How to pass a linker flag through the compiler.
25105 wl=$lt_lt_prog_compiler_wl_CXX
25107 # Additional compiler flags for building library objects.
25108 pic_flag=$lt_lt_prog_compiler_pic_CXX
25110 # Compiler flag to prevent dynamic linking.
25111 link_static_flag=$lt_lt_prog_compiler_static_CXX
25113 # Does compiler simultaneously support -c and -o options?
25114 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
25116 # Whether or not to add -lc for building shared libraries.
25117 build_libtool_need_lc=$archive_cmds_need_lc_CXX
25119 # Whether or not to disallow shared libs when runtime libs are static.
25120 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
25122 # Compiler flag to allow reflexive dlopens.
25123 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
25125 # Compiler flag to generate shared objects directly from archives.
25126 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
25128 # Whether the compiler copes with passing no objects directly.
25129 compiler_needs_object=$lt_compiler_needs_object_CXX
25131 # Create an old-style archive from a shared archive.
25132 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
25134 # Create a temporary old-style archive to link instead of a shared archive.
25135 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
25137 # Commands used to build a shared archive.
25138 archive_cmds=$lt_archive_cmds_CXX
25139 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
25141 # Commands used to build a loadable module if different from building
25142 # a shared archive.
25143 module_cmds=$lt_module_cmds_CXX
25144 module_expsym_cmds=$lt_module_expsym_cmds_CXX
25146 # Whether we are building with GNU ld or not.
25147 with_gnu_ld=$lt_with_gnu_ld_CXX
25149 # Flag that allows shared libraries with undefined symbols to be built.
25150 allow_undefined_flag=$lt_allow_undefined_flag_CXX
25152 # Flag that enforces no undefined symbols.
25153 no_undefined_flag=$lt_no_undefined_flag_CXX
25155 # Flag to hardcode \$libdir into a binary during linking.
25156 # This must work even if \$libdir does not exist
25157 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
25159 # If ld is used when linking, flag to hardcode \$libdir into a binary
25160 # during linking. This must work even if \$libdir does not exist.
25161 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
25163 # Whether we need a single "-rpath" flag with a separated argument.
25164 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
25166 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25167 # DIR into the resulting binary.
25168 hardcode_direct=$hardcode_direct_CXX
25170 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25171 # DIR into the resulting binary and the resulting library dependency is
25172 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25173 # library is relocated.
25174 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
25176 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25177 # into the resulting binary.
25178 hardcode_minus_L=$hardcode_minus_L_CXX
25180 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25181 # into the resulting binary.
25182 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
25184 # Set to "yes" if building a shared library automatically hardcodes DIR
25185 # into the library and all subsequent libraries and executables linked
25187 hardcode_automatic=$hardcode_automatic_CXX
25189 # Set to yes if linker adds runtime paths of dependent libraries
25190 # to runtime path list.
25191 inherit_rpath=$inherit_rpath_CXX
25193 # Whether libtool must link a program against all its dependency libraries.
25194 link_all_deplibs=$link_all_deplibs_CXX
25196 # Fix the shell variable \$srcfile for the compiler.
25197 fix_srcfile_path=$lt_fix_srcfile_path_CXX
25199 # Set to "yes" if exported symbols are required.
25200 always_export_symbols=$always_export_symbols_CXX
25202 # The commands to list exported symbols.
25203 export_symbols_cmds=$lt_export_symbols_cmds_CXX
25205 # Symbols that should not be listed in the preloaded symbols.
25206 exclude_expsyms=$lt_exclude_expsyms_CXX
25208 # Symbols that must always be exported.
25209 include_expsyms=$lt_include_expsyms_CXX
25211 # Commands necessary for linking programs (against libraries) with templates.
25212 prelink_cmds=$lt_prelink_cmds_CXX
25214 # Specify filename containing input files.
25215 file_list_spec=$lt_file_list_spec_CXX
25217 # How to hardcode a shared library path into an executable.
25218 hardcode_action=$hardcode_action_CXX
25220 # The directories searched by this compiler when creating a shared library.
25221 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
25223 # Dependencies to place before and after the objects being linked to
25224 # create a shared library.
25225 predep_objects=$lt_predep_objects_CXX
25226 postdep_objects=$lt_postdep_objects_CXX
25227 predeps=$lt_predeps_CXX
25228 postdeps=$lt_postdeps_CXX
25230 # The library search path used internally by the compiler when linking
25231 # a shared library.
25232 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
25234 # ### END LIBTOOL TAG CONFIG: CXX
25238 "pango/module-defs.h":C)
25239 cat > pango/module-defs.h <<EOTEXT
25240 /* Autogenerated by configure. Do not edit */
25242 #include "modules.h"
25246 IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
25247 for module in $included_modules; do
25248 module_c=`echo $module | sed s/-/_/`
25249 cat >> pango/module-defs.h <<EOTEXT
25250 extern void _pango_${module_c}_script_engine_list (PangoEngineInfo **engines, int *n_engines);
25251 extern PangoEngine *_pango_${module_c}_script_engine_init (GTypeModule *module);
25252 extern void _pango_${module_c}_script_engine_exit (void);
25253 extern void _pango_${module_c}_script_engine_create (const char *id);
25258 IFS="$pango_save_ifs"
25260 "pango/module-defs-x.c":C)
25262 cat > pango/module-defs-x.c <<EOTEXT
25263 /* Autogenerated by configure. Do not edit */
25265 #include "module-defs.h"
25267 PangoIncludedModule _pango_included_x_modules[] = {
25270 IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
25271 for module in $included_modules; do
25272 if echo $module | egrep -- "-x($|,)" > /dev/null; then
25273 module_c=`echo $module | sed s/-/_/`
25274 cat >> pango/module-defs-x.c <<EOTEXT
25275 { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
25280 IFS="$pango_save_ifs"
25282 cat >> pango/module-defs-x.c <<EOTEXT
25283 { NULL, NULL, NULL, NULL },
25287 "pango/module-defs-fc.c":C)
25289 cat > pango/module-defs-fc.c <<EOTEXT
25290 /* Autogenerated by configure. Do not edit */
25292 #include "module-defs.h"
25294 PangoIncludedModule _pango_included_fc_modules[] = {
25297 IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
25298 for module in $included_modules; do
25299 if echo $module | egrep -- "-fc($|,)" > /dev/null; then
25300 module_c=`echo $module | sed s/-/_/`
25301 cat >> pango/module-defs-fc.c <<EOTEXT
25302 { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
25307 IFS="$pango_save_ifs"
25309 cat >> pango/module-defs-fc.c <<EOTEXT
25310 { NULL, NULL, NULL, NULL },
25314 "pango/module-defs-win32.c":C)
25316 cat > pango/module-defs-win32.c <<EOTEXT
25317 /* Autogenerated by configure. Do not edit */
25319 #include "module-defs.h"
25321 PangoIncludedModule _pango_included_win32_modules[] = {
25324 IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
25325 for module in $included_modules; do
25326 if echo $module | egrep -- "-win32($|,)" > /dev/null; then
25327 module_c=`echo $module | sed s/-/_/`
25328 cat >> pango/module-defs-win32.c <<EOTEXT
25329 { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
25334 IFS="$pango_save_ifs"
25336 cat >> pango/module-defs-win32.c <<EOTEXT
25337 { NULL, NULL, NULL, NULL },
25341 "pango/module-defs-atsui.c":C)
25343 cat > pango/module-defs-atsui.c <<EOTEXT
25344 /* Autogenerated by configure. Do not edit */
25346 #include "module-defs.h"
25348 PangoIncludedModule _pango_included_atsui_modules[] = {
25351 IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
25352 for module in $included_modules; do
25353 if echo $module | egrep -- "-atsui($|,)" > /dev/null; then
25354 module_c=`echo $module | sed s/-/_/`
25355 cat >> pango/module-defs-atsui.c <<EOTEXT
25356 { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
25361 IFS="$pango_save_ifs"
25363 cat >> pango/module-defs-atsui.c <<EOTEXT
25364 { NULL, NULL, NULL, NULL },
25368 "pango/module-defs-lang.c":C)
25370 cat > pango/module-defs-lang.c <<EOTEXT
25371 /* Autogenerated by configure. Do not edit */
25373 #include "module-defs.h"
25375 PangoIncludedModule _pango_included_lang_modules[] = {
25378 IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=","
25379 for module in $included_modules; do
25380 if echo $module | egrep -- "-lang($|,)" > /dev/null; then
25381 module_c=`echo $module | sed s/-/_/`
25382 cat >> pango/module-defs-lang.c <<EOTEXT
25383 { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
25388 IFS="$pango_save_ifs"
25390 cat >> pango/module-defs-lang.c <<EOTEXT
25391 { NULL, NULL, NULL, NULL },
25395 "pango/pango-features.h":C) featuresfile=pango/pango-features.h
25396 outfile=$featuresfile.tmp
25397 { echo "$as_me:$LINENO: creating $featuresfile" >&5
25398 echo "$as_me: creating $featuresfile" >&6;}
25399 cat >$outfile <<_EOF
25400 /* Generated by configure. Do not edit */
25401 #ifndef PANGO_FEATURES_H
25402 #define PANGO_FEATURES_H
25404 #define PANGO_VERSION_MAJOR $PANGO_VERSION_MAJOR
25405 #define PANGO_VERSION_MINOR $PANGO_VERSION_MINOR
25406 #define PANGO_VERSION_MICRO $PANGO_VERSION_MICRO
25408 #define PANGO_VERSION_STRING "$PANGO_VERSION_MAJOR.$PANGO_VERSION_MINOR.$PANGO_VERSION_MICRO"
25411 # TODO: define macros for enabled features/backends here
25414 echo '#endif' >>$outfile
25416 if cmp -s $outfile $featuresfile; then
25417 { echo "$as_me:$LINENO: $featuresfile is unchanged" >&5
25418 echo "$as_me: $featuresfile is unchanged" >&6;}
25421 mv $outfile $featuresfile
25424 "tests/runtests.sh":F) chmod +x tests/runtests.sh ;;
25430 { (exit 0); exit 0; }
25432 chmod +x $CONFIG_STATUS
25433 ac_clean_files=$ac_clean_files_save
25436 # configure is writing to config.log, and then calls config.status.
25437 # config.status does its own redirection, appending to config.log.
25438 # Unfortunately, on DOS this fails, as config.log is still kept open
25439 # by configure, so config.status won't be able to write to it; its
25440 # output is simply discarded. So we exec the FD to /dev/null,
25441 # effectively closing config.log, so it can be properly (re)opened and
25442 # appended to by config.status. When coming back to configure, we
25443 # need to make the FD available again.
25444 if test "$no_create" != yes; then
25446 ac_config_status_args=
25447 test "$silent" = yes &&
25448 ac_config_status_args="$ac_config_status_args --quiet"
25450 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25452 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25453 # would make configure fail if this is the last instruction.
25454 $ac_cs_success || { (exit 1); exit 1; }
25459 if $have_cairo ; then backends="$backends Cairo"; fi
25460 if $have_win32 ; then backends="$backends Win32"; fi
25461 if $have_xft ; then backends="$backends Xft"; fi
25462 if $have_freetype && $have_fontconfig ; then backends="$backends FreeType"; fi
25463 if $have_x ; then backends="$backends X"; fi
25465 echo "configuration:
25466 backends:$backends"