2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for HarfBuzz 0.9.12.
5 # Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
271 # Portably unset VAR.
274 { eval $1=; unset $1;}
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298 # Create "$as_dir" as a directory, including parents if necessary.
303 -*) as_dir=./$as_dir;;
305 test -d "$as_dir" || eval $as_mkdir_p || {
309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312 as_dirs="'$as_qdir' $as_dirs"
313 as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 test -d "$as_dir" && break
338 test -z "$as_dirs" || eval "mkdir $as_dirs"
339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350 eval 'as_fn_append ()
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374 as_val=`expr "$@" || test $? -eq 1`
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
386 as_status=$1; test $as_status -eq 0 && as_status=1
388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit $as_status
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
441 as_lineno_1=$LINENO as_lineno_1a=$LINENO
442 as_lineno_2=$LINENO as_lineno_2a=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461 chmod +x "$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
468 # Exit status is that of the last command.
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
490 mkdir conf$$.dir 2>/dev/null
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
515 test -d ./-p && rmdir ./-p
519 if test -x / >/dev/null 2>&1; then
522 if ls -dL / >/dev/null 2>&1; then
529 if test -d "$1"; then
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
540 as_executable_p=$as_test_x
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548 SHELL=${CONFIG_SHELL-/bin/sh}
551 test -n "$DJDIR" || exec 7<&0 </dev/null
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
571 # Identity of this package.
572 PACKAGE_NAME='HarfBuzz'
573 PACKAGE_TARNAME='harfbuzz'
574 PACKAGE_VERSION='0.9.12'
575 PACKAGE_STRING='HarfBuzz 0.9.12'
576 PACKAGE_BUGREPORT='http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz'
577 PACKAGE_URL='http://harfbuzz.org/'
579 ac_unique_file="harfbuzz.pc.in"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
616 ac_subst_vars='am__EXEEXT_FALSE
681 HB_LIBTOOL_VERSION_INFO
753 INSTALL_STRIP_PROGRAM
795 program_transform_name
808 enable_option_checking
814 enable_dependency_tracking
819 ac_precious_vars='build_alias
853 # Initialize some variables set by options.
855 ac_init_version=false
856 ac_unrecognized_opts=
858 # The variables have the same names as the options, with
859 # dashes changed to underlines.
867 program_transform_name=s,x,x,
875 # Installation directory options.
876 # These are left unexpanded so users can "make install exec_prefix=/foo"
877 # and all the variables that are supposed to be based on exec_prefix
878 # by default will actually change.
879 # Use braces instead of parens because sh, perl, etc. also accept them.
880 # (The list follows the same order as the GNU Coding Standards.)
881 bindir='${exec_prefix}/bin'
882 sbindir='${exec_prefix}/sbin'
883 libexecdir='${exec_prefix}/libexec'
884 datarootdir='${prefix}/share'
885 datadir='${datarootdir}'
886 sysconfdir='${prefix}/etc'
887 sharedstatedir='${prefix}/com'
888 localstatedir='${prefix}/var'
889 includedir='${prefix}/include'
890 oldincludedir='/usr/include'
891 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
892 infodir='${datarootdir}/info'
897 libdir='${exec_prefix}/lib'
898 localedir='${datarootdir}/locale'
899 mandir='${datarootdir}/man'
905 # If the previous option needs an argument, assign it.
906 if test -n "$ac_prev"; then
907 eval $ac_prev=\$ac_option
913 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
918 # Accept the important Cygnus configure options, so we can diagnose typos.
920 case $ac_dashdash$ac_option in
924 -bindir | --bindir | --bindi | --bind | --bin | --bi)
926 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
929 -build | --build | --buil | --bui | --bu)
930 ac_prev=build_alias ;;
931 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
932 build_alias=$ac_optarg ;;
934 -cache-file | --cache-file | --cache-fil | --cache-fi \
935 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
936 ac_prev=cache_file ;;
937 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
938 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
939 cache_file=$ac_optarg ;;
942 cache_file=config.cache ;;
944 -datadir | --datadir | --datadi | --datad)
946 -datadir=* | --datadir=* | --datadi=* | --datad=*)
947 datadir=$ac_optarg ;;
949 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
950 | --dataroo | --dataro | --datar)
951 ac_prev=datarootdir ;;
952 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
953 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
954 datarootdir=$ac_optarg ;;
956 -disable-* | --disable-*)
957 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
958 # Reject names that are not valid shell variable names.
959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
960 as_fn_error $? "invalid feature name: $ac_useropt"
961 ac_useropt_orig=$ac_useropt
962 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
963 case $ac_user_opts in
967 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
968 ac_unrecognized_sep=', ';;
970 eval enable_$ac_useropt=no ;;
972 -docdir | --docdir | --docdi | --doc | --do)
974 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
977 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
979 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
982 -enable-* | --enable-*)
983 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
984 # Reject names that are not valid shell variable names.
985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
986 as_fn_error $? "invalid feature name: $ac_useropt"
987 ac_useropt_orig=$ac_useropt
988 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989 case $ac_user_opts in
993 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
994 ac_unrecognized_sep=', ';;
996 eval enable_$ac_useropt=\$ac_optarg ;;
998 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
999 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1000 | --exec | --exe | --ex)
1001 ac_prev=exec_prefix ;;
1002 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1003 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1004 | --exec=* | --exe=* | --ex=*)
1005 exec_prefix=$ac_optarg ;;
1007 -gas | --gas | --ga | --g)
1008 # Obsolete; use --with-gas.
1011 -help | --help | --hel | --he | -h)
1012 ac_init_help=long ;;
1013 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1014 ac_init_help=recursive ;;
1015 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1016 ac_init_help=short ;;
1018 -host | --host | --hos | --ho)
1019 ac_prev=host_alias ;;
1020 -host=* | --host=* | --hos=* | --ho=*)
1021 host_alias=$ac_optarg ;;
1023 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1025 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1027 htmldir=$ac_optarg ;;
1029 -includedir | --includedir | --includedi | --included | --include \
1030 | --includ | --inclu | --incl | --inc)
1031 ac_prev=includedir ;;
1032 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1033 | --includ=* | --inclu=* | --incl=* | --inc=*)
1034 includedir=$ac_optarg ;;
1036 -infodir | --infodir | --infodi | --infod | --info | --inf)
1038 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1039 infodir=$ac_optarg ;;
1041 -libdir | --libdir | --libdi | --libd)
1043 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1044 libdir=$ac_optarg ;;
1046 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1047 | --libexe | --libex | --libe)
1048 ac_prev=libexecdir ;;
1049 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1050 | --libexe=* | --libex=* | --libe=*)
1051 libexecdir=$ac_optarg ;;
1053 -localedir | --localedir | --localedi | --localed | --locale)
1054 ac_prev=localedir ;;
1055 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1056 localedir=$ac_optarg ;;
1058 -localstatedir | --localstatedir | --localstatedi | --localstated \
1059 | --localstate | --localstat | --localsta | --localst | --locals)
1060 ac_prev=localstatedir ;;
1061 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1062 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1063 localstatedir=$ac_optarg ;;
1065 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1067 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1068 mandir=$ac_optarg ;;
1070 -nfp | --nfp | --nf)
1071 # Obsolete; use --without-fp.
1074 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1075 | --no-cr | --no-c | -n)
1078 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1079 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1082 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1083 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1084 | --oldin | --oldi | --old | --ol | --o)
1085 ac_prev=oldincludedir ;;
1086 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1087 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1088 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1089 oldincludedir=$ac_optarg ;;
1091 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1093 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1094 prefix=$ac_optarg ;;
1096 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1097 | --program-pre | --program-pr | --program-p)
1098 ac_prev=program_prefix ;;
1099 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1100 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1101 program_prefix=$ac_optarg ;;
1103 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1104 | --program-suf | --program-su | --program-s)
1105 ac_prev=program_suffix ;;
1106 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1107 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1108 program_suffix=$ac_optarg ;;
1110 -program-transform-name | --program-transform-name \
1111 | --program-transform-nam | --program-transform-na \
1112 | --program-transform-n | --program-transform- \
1113 | --program-transform | --program-transfor \
1114 | --program-transfo | --program-transf \
1115 | --program-trans | --program-tran \
1116 | --progr-tra | --program-tr | --program-t)
1117 ac_prev=program_transform_name ;;
1118 -program-transform-name=* | --program-transform-name=* \
1119 | --program-transform-nam=* | --program-transform-na=* \
1120 | --program-transform-n=* | --program-transform-=* \
1121 | --program-transform=* | --program-transfor=* \
1122 | --program-transfo=* | --program-transf=* \
1123 | --program-trans=* | --program-tran=* \
1124 | --progr-tra=* | --program-tr=* | --program-t=*)
1125 program_transform_name=$ac_optarg ;;
1127 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1129 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1130 pdfdir=$ac_optarg ;;
1132 -psdir | --psdir | --psdi | --psd | --ps)
1134 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1138 | -silent | --silent | --silen | --sile | --sil)
1141 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1143 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1145 sbindir=$ac_optarg ;;
1147 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1148 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1149 | --sharedst | --shareds | --shared | --share | --shar \
1151 ac_prev=sharedstatedir ;;
1152 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1153 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1154 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1156 sharedstatedir=$ac_optarg ;;
1158 -site | --site | --sit)
1160 -site=* | --site=* | --sit=*)
1163 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1165 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1166 srcdir=$ac_optarg ;;
1168 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1169 | --syscon | --sysco | --sysc | --sys | --sy)
1170 ac_prev=sysconfdir ;;
1171 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1172 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1173 sysconfdir=$ac_optarg ;;
1175 -target | --target | --targe | --targ | --tar | --ta | --t)
1176 ac_prev=target_alias ;;
1177 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1178 target_alias=$ac_optarg ;;
1180 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1183 -version | --version | --versio | --versi | --vers | -V)
1184 ac_init_version=: ;;
1187 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190 as_fn_error $? "invalid package name: $ac_useropt"
1191 ac_useropt_orig=$ac_useropt
1192 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1198 ac_unrecognized_sep=', ';;
1200 eval with_$ac_useropt=\$ac_optarg ;;
1202 -without-* | --without-*)
1203 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1206 as_fn_error $? "invalid package name: $ac_useropt"
1207 ac_useropt_orig=$ac_useropt
1208 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1209 case $ac_user_opts in
1213 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1214 ac_unrecognized_sep=', ';;
1216 eval with_$ac_useropt=no ;;
1219 # Obsolete; use --with-x.
1222 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1223 | --x-incl | --x-inc | --x-in | --x-i)
1224 ac_prev=x_includes ;;
1225 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1226 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1227 x_includes=$ac_optarg ;;
1229 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1230 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1231 ac_prev=x_libraries ;;
1232 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1233 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1234 x_libraries=$ac_optarg ;;
1236 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1237 Try \`$0 --help' for more information"
1241 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1242 # Reject names that are not valid shell variable names.
1243 case $ac_envvar in #(
1244 '' | [0-9]* | *[!_$as_cr_alnum]* )
1245 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1247 eval $ac_envvar=\$ac_optarg
1248 export $ac_envvar ;;
1251 # FIXME: should be removed in autoconf 3.0.
1252 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1253 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1254 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1255 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1261 if test -n "$ac_prev"; then
1262 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1263 as_fn_error $? "missing argument to $ac_option"
1266 if test -n "$ac_unrecognized_opts"; then
1267 case $enable_option_checking in
1269 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1270 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1274 # Check all directory arguments for consistency.
1275 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1276 datadir sysconfdir sharedstatedir localstatedir includedir \
1277 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1278 libdir localedir mandir
1280 eval ac_val=\$$ac_var
1281 # Remove trailing slashes.
1284 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1285 eval $ac_var=\$ac_val;;
1287 # Be sure to have absolute directory names.
1289 [\\/$]* | ?:[\\/]* ) continue;;
1290 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1292 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1295 # There might be people who depend on the old broken behavior: `$host'
1296 # used to hold the argument of --host etc.
1297 # FIXME: To remove some day.
1300 target=$target_alias
1302 # FIXME: To remove some day.
1303 if test "x$host_alias" != x; then
1304 if test "x$build_alias" = x; then
1305 cross_compiling=maybe
1306 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1307 If a cross compiler is detected then cross compile mode will be used" >&2
1308 elif test "x$build_alias" != "x$host_alias"; then
1314 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1316 test "$silent" = yes && exec 6>/dev/null
1319 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1320 ac_ls_di=`ls -di .` &&
1321 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1322 as_fn_error $? "working directory cannot be determined"
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324 as_fn_error $? "pwd does not report name of working directory"
1327 # Find the source files, if location was not specified.
1328 if test -z "$srcdir"; then
1329 ac_srcdir_defaulted=yes
1330 # Try the directory containing this script, then the parent directory.
1331 ac_confdir=`$as_dirname -- "$as_myself" ||
1332 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1333 X"$as_myself" : 'X\(//\)[^/]' \| \
1334 X"$as_myself" : 'X\(//\)$' \| \
1335 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1336 $as_echo X"$as_myself" |
1337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1355 if test ! -r "$srcdir/$ac_unique_file"; then
1359 ac_srcdir_defaulted=no
1361 if test ! -r "$srcdir/$ac_unique_file"; then
1362 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1363 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1365 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1367 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1369 # When building in place, set srcdir=.
1370 if test "$ac_abs_confdir" = "$ac_pwd"; then
1373 # Remove unnecessary trailing slashes from srcdir.
1374 # Double slashes in file names in object file debugging info
1375 # mess up M-x gdb in Emacs.
1377 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1379 for ac_var in $ac_precious_vars; do
1380 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1381 eval ac_env_${ac_var}_value=\$${ac_var}
1382 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1383 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1387 # Report the --help message.
1389 if test "$ac_init_help" = "long"; then
1390 # Omit some internal or obsolete options to make the list less imposing.
1391 # This message is too long to be a string in the A/UX 3.1 sh.
1393 \`configure' configures HarfBuzz 0.9.12 to adapt to many kinds of systems.
1395 Usage: $0 [OPTION]... [VAR=VALUE]...
1397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1398 VAR=VALUE. See below for descriptions of some of the useful variables.
1400 Defaults for the options are specified in brackets.
1403 -h, --help display this help and exit
1404 --help=short display options specific to this package
1405 --help=recursive display the short help of all the included packages
1406 -V, --version display version information and exit
1407 -q, --quiet, --silent do not print \`checking ...' messages
1408 --cache-file=FILE cache test results in FILE [disabled]
1409 -C, --config-cache alias for \`--cache-file=config.cache'
1410 -n, --no-create do not create output files
1411 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1413 Installation directories:
1414 --prefix=PREFIX install architecture-independent files in PREFIX
1415 [$ac_default_prefix]
1416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1419 By default, \`make install' will install all the files in
1420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1421 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1422 for instance \`--prefix=\$HOME'.
1424 For better control, use the options below.
1426 Fine tuning of the installation directories:
1427 --bindir=DIR user executables [EPREFIX/bin]
1428 --sbindir=DIR system admin executables [EPREFIX/sbin]
1429 --libexecdir=DIR program executables [EPREFIX/libexec]
1430 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1431 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1432 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1433 --libdir=DIR object code libraries [EPREFIX/lib]
1434 --includedir=DIR C header files [PREFIX/include]
1435 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1436 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1437 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1438 --infodir=DIR info documentation [DATAROOTDIR/info]
1439 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1440 --mandir=DIR man documentation [DATAROOTDIR/man]
1441 --docdir=DIR documentation root [DATAROOTDIR/doc/harfbuzz]
1442 --htmldir=DIR html documentation [DOCDIR]
1443 --dvidir=DIR dvi documentation [DOCDIR]
1444 --pdfdir=DIR pdf documentation [DOCDIR]
1445 --psdir=DIR ps documentation [DOCDIR]
1451 --program-prefix=PREFIX prepend PREFIX to installed program names
1452 --program-suffix=SUFFIX append SUFFIX to installed program names
1453 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1456 --build=BUILD configure for building on BUILD [guessed]
1457 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1461 if test -n "$ac_init_help"; then
1462 case $ac_init_help in
1463 short | recursive ) echo "Configuration of HarfBuzz 0.9.12:";;
1468 --disable-option-checking ignore unrecognized --enable/--with options
1469 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1470 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1471 --enable-silent-rules less verbose build output (undo: `make V=1')
1472 --disable-silent-rules verbose build output (undo: `make V=0')
1473 --enable-static[=PKGS] build static libraries [default=no]
1474 --enable-shared[=PKGS] build shared libraries [default=yes]
1475 --enable-fast-install[=PKGS]
1476 optimize for fast installation [default=yes]
1477 --disable-dependency-tracking speeds up one-time build
1478 --enable-dependency-tracking do not reject slow dependency extractors
1479 --disable-libtool-lock avoid locking (might break parallel builds)
1482 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1483 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1484 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1486 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1487 --with-sysroot=DIR Search for dependent libraries within DIR
1488 (or the compiler's sysroot if not specified).
1490 Some influential environment variables:
1491 CC C compiler command
1492 CFLAGS C compiler flags
1493 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1494 nonstandard directory <lib dir>
1495 LIBS libraries to pass to the linker, e.g. -l<library>
1496 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1497 you have headers in a nonstandard directory <include dir>
1499 CXX C++ compiler command
1500 CXXFLAGS C++ compiler flags
1501 CXXCPP C++ preprocessor
1502 PKG_CONFIG path to pkg-config utility
1503 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1504 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1506 C compiler flags for GTHREAD, overriding pkg-config
1508 linker flags for GTHREAD, overriding pkg-config
1510 C compiler flags for GOBJECT, overriding pkg-config
1512 linker flags for GOBJECT, overriding pkg-config
1514 C compiler flags for CAIRO, overriding pkg-config
1515 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1517 C compiler flags for CAIRO_FT, overriding pkg-config
1519 linker flags for CAIRO_FT, overriding pkg-config
1520 ICU_CFLAGS C compiler flags for ICU, overriding pkg-config
1521 ICU_LIBS linker flags for ICU, overriding pkg-config
1523 C compiler flags for ICU_LE, overriding pkg-config
1524 ICU_LE_LIBS linker flags for ICU_LE, overriding pkg-config
1526 C compiler flags for GRAPHITE2, overriding pkg-config
1528 linker flags for GRAPHITE2, overriding pkg-config
1530 C compiler flags for FREETYPE, overriding pkg-config
1532 linker flags for FREETYPE, overriding pkg-config
1534 Use these variables to override the choices made by `configure' or to help
1535 it to find libraries and programs with nonstandard names/locations.
1537 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz>.
1538 HarfBuzz home page: <http://harfbuzz.org/>.
1543 if test "$ac_init_help" = "recursive"; then
1544 # If there are subdirs, report their specific --help.
1545 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1546 test -d "$ac_dir" ||
1547 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1552 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1554 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1555 # A ".." for each directory in $ac_dir_suffix.
1556 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1557 case $ac_top_builddir_sub in
1558 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1559 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1562 ac_abs_top_builddir=$ac_pwd
1563 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1564 # for backward compatibility:
1565 ac_top_builddir=$ac_top_build_prefix
1568 .) # We are building in place.
1570 ac_top_srcdir=$ac_top_builddir_sub
1571 ac_abs_top_srcdir=$ac_pwd ;;
1572 [\\/]* | ?:[\\/]* ) # Absolute name.
1573 ac_srcdir=$srcdir$ac_dir_suffix;
1574 ac_top_srcdir=$srcdir
1575 ac_abs_top_srcdir=$srcdir ;;
1577 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1578 ac_top_srcdir=$ac_top_build_prefix$srcdir
1579 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1581 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1583 cd "$ac_dir" || { ac_status=$?; continue; }
1584 # Check for guested configure.
1585 if test -f "$ac_srcdir/configure.gnu"; then
1587 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1588 elif test -f "$ac_srcdir/configure"; then
1590 $SHELL "$ac_srcdir/configure" --help=recursive
1592 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1594 cd "$ac_pwd" || { ac_status=$?; break; }
1598 test -n "$ac_init_help" && exit $ac_status
1599 if $ac_init_version; then
1601 HarfBuzz configure 0.9.12
1602 generated by GNU Autoconf 2.68
1604 Copyright (C) 2010 Free Software Foundation, Inc.
1605 This configure script is free software; the Free Software Foundation
1606 gives unlimited permission to copy, distribute and modify it.
1611 ## ------------------------ ##
1612 ## Autoconf initialization. ##
1613 ## ------------------------ ##
1615 # ac_fn_c_try_compile LINENO
1616 # --------------------------
1617 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1618 ac_fn_c_try_compile ()
1620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621 rm -f conftest.$ac_objext
1622 if { { ac_try="$ac_compile"
1624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1625 *) ac_try_echo=$ac_try;;
1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628 $as_echo "$ac_try_echo"; } >&5
1629 (eval "$ac_compile") 2>conftest.err
1631 if test -s conftest.err; then
1632 grep -v '^ *+' conftest.err >conftest.er1
1633 cat conftest.er1 >&5
1634 mv -f conftest.er1 conftest.err
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; } && {
1638 test -z "$ac_c_werror_flag" ||
1639 test ! -s conftest.err
1640 } && test -s conftest.$ac_objext; then :
1643 $as_echo "$as_me: failed program was:" >&5
1644 sed 's/^/| /' conftest.$ac_ext >&5
1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1649 as_fn_set_status $ac_retval
1651 } # ac_fn_c_try_compile
1653 # ac_fn_c_try_link LINENO
1654 # -----------------------
1655 # Try to link conftest.$ac_ext, and return whether this succeeded.
1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659 rm -f conftest.$ac_objext conftest$ac_exeext
1660 if { { ac_try="$ac_link"
1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_link") 2>conftest.err
1669 if test -s conftest.err; then
1670 grep -v '^ *+' conftest.err >conftest.er1
1671 cat conftest.er1 >&5
1672 mv -f conftest.er1 conftest.err
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && {
1676 test -z "$ac_c_werror_flag" ||
1677 test ! -s conftest.err
1678 } && test -s conftest$ac_exeext && {
1679 test "$cross_compiling" = yes ||
1680 $as_test_x conftest$ac_exeext
1684 $as_echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1689 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1690 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1691 # interfere with the next link command; also delete a directory that is
1692 # left behind by Apple's compiler. We do this before executing the actions.
1693 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695 as_fn_set_status $ac_retval
1697 } # ac_fn_c_try_link
1699 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1700 # -------------------------------------------------------
1701 # Tests whether HEADER exists and can be compiled using the include files in
1702 # INCLUDES, setting the cache variable VAR accordingly.
1703 ac_fn_c_check_header_compile ()
1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707 $as_echo_n "checking for $2... " >&6; }
1708 if eval \${$3+:} false; then :
1709 $as_echo_n "(cached) " >&6
1711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1716 if ac_fn_c_try_compile "$LINENO"; then :
1721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1725 $as_echo "$ac_res" >&6; }
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728 } # ac_fn_c_check_header_compile
1730 # ac_fn_c_try_cpp LINENO
1731 # ----------------------
1732 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736 if { { ac_try="$ac_cpp conftest.$ac_ext"
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } > conftest.i && {
1752 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1753 test ! -s conftest.err
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1763 as_fn_set_status $ac_retval
1767 # ac_fn_c_try_run LINENO
1768 # ----------------------
1769 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1770 # that executables *can* be run.
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 if { { ac_try="$ac_link"
1776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_link") 2>&5
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1785 { { case "(($ac_try" in
1786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1787 *) ac_try_echo=$ac_try;;
1789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790 $as_echo "$ac_try_echo"; } >&5
1791 (eval "$ac_try") 2>&5
1793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1794 test $ac_status = 0; }; }; then :
1797 $as_echo "$as_me: program exited with status $ac_status" >&5
1798 $as_echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.$ac_ext >&5
1801 ac_retval=$ac_status
1803 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 as_fn_set_status $ac_retval
1809 # ac_fn_c_check_func LINENO FUNC VAR
1810 # ----------------------------------
1811 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1812 ac_fn_c_check_func ()
1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1816 $as_echo_n "checking for $2... " >&6; }
1817 if eval \${$3+:} false; then :
1818 $as_echo_n "(cached) " >&6
1820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1821 /* end confdefs.h. */
1822 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1824 #define $2 innocuous_$2
1826 /* System header to define __stub macros and hopefully few prototypes,
1827 which can conflict with char $2 (); below.
1828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1829 <limits.h> exists even on freestanding compilers. */
1832 # include <limits.h>
1834 # include <assert.h>
1839 /* Override any GCC internal prototype to avoid an error.
1840 Use char because int might match the return type of a GCC
1841 builtin and then its argument prototype would still apply. */
1846 /* The GNU C library defines this for functions which it implements
1847 to always fail with ENOSYS. Some functions are actually named
1848 something starting with __ and the normal name is an alias. */
1849 #if defined __stub_$2 || defined __stub___$2
1861 if ac_fn_c_try_link "$LINENO"; then :
1866 rm -f core conftest.err conftest.$ac_objext \
1867 conftest$ac_exeext conftest.$ac_ext
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871 $as_echo "$ac_res" >&6; }
1872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874 } # ac_fn_c_check_func
1876 # ac_fn_cxx_try_compile LINENO
1877 # ----------------------------
1878 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1879 ac_fn_cxx_try_compile ()
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 rm -f conftest.$ac_objext
1883 if { { ac_try="$ac_compile"
1885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1886 *) ac_try_echo=$ac_try;;
1888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889 $as_echo "$ac_try_echo"; } >&5
1890 (eval "$ac_compile") 2>conftest.err
1892 if test -s conftest.err; then
1893 grep -v '^ *+' conftest.err >conftest.er1
1894 cat conftest.er1 >&5
1895 mv -f conftest.er1 conftest.err
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } && {
1899 test -z "$ac_cxx_werror_flag" ||
1900 test ! -s conftest.err
1901 } && test -s conftest.$ac_objext; then :
1904 $as_echo "$as_me: failed program was:" >&5
1905 sed 's/^/| /' conftest.$ac_ext >&5
1909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 as_fn_set_status $ac_retval
1912 } # ac_fn_cxx_try_compile
1914 # ac_fn_cxx_try_cpp LINENO
1915 # ------------------------
1916 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1917 ac_fn_cxx_try_cpp ()
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 if { { ac_try="$ac_cpp conftest.$ac_ext"
1922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1923 *) ac_try_echo=$ac_try;;
1925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926 $as_echo "$ac_try_echo"; } >&5
1927 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1929 if test -s conftest.err; then
1930 grep -v '^ *+' conftest.err >conftest.er1
1931 cat conftest.er1 >&5
1932 mv -f conftest.er1 conftest.err
1934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1935 test $ac_status = 0; } > conftest.i && {
1936 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1937 test ! -s conftest.err
1941 $as_echo "$as_me: failed program was:" >&5
1942 sed 's/^/| /' conftest.$ac_ext >&5
1946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1947 as_fn_set_status $ac_retval
1949 } # ac_fn_cxx_try_cpp
1951 # ac_fn_cxx_try_link LINENO
1952 # -------------------------
1953 # Try to link conftest.$ac_ext, and return whether this succeeded.
1954 ac_fn_cxx_try_link ()
1956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957 rm -f conftest.$ac_objext conftest$ac_exeext
1958 if { { ac_try="$ac_link"
1960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1961 *) ac_try_echo=$ac_try;;
1963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1964 $as_echo "$ac_try_echo"; } >&5
1965 (eval "$ac_link") 2>conftest.err
1967 if test -s conftest.err; then
1968 grep -v '^ *+' conftest.err >conftest.er1
1969 cat conftest.er1 >&5
1970 mv -f conftest.er1 conftest.err
1972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1973 test $ac_status = 0; } && {
1974 test -z "$ac_cxx_werror_flag" ||
1975 test ! -s conftest.err
1976 } && test -s conftest$ac_exeext && {
1977 test "$cross_compiling" = yes ||
1978 $as_test_x conftest$ac_exeext
1982 $as_echo "$as_me: failed program was:" >&5
1983 sed 's/^/| /' conftest.$ac_ext >&5
1987 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1988 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1989 # interfere with the next link command; also delete a directory that is
1990 # left behind by Apple's compiler. We do this before executing the actions.
1991 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1992 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1993 as_fn_set_status $ac_retval
1995 } # ac_fn_cxx_try_link
1997 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1998 # -------------------------------------------------------
1999 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2000 # the include files in INCLUDES and setting the cache variable VAR
2002 ac_fn_c_check_header_mongrel ()
2004 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2005 if eval \${$3+:} false; then :
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2007 $as_echo_n "checking for $2... " >&6; }
2008 if eval \${$3+:} false; then :
2009 $as_echo_n "(cached) " >&6
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013 $as_echo "$ac_res" >&6; }
2015 # Is the header compilable?
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2017 $as_echo_n "checking $2 usability... " >&6; }
2018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2019 /* end confdefs.h. */
2023 if ac_fn_c_try_compile "$LINENO"; then :
2024 ac_header_compiler=yes
2026 ac_header_compiler=no
2028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2030 $as_echo "$ac_header_compiler" >&6; }
2032 # Is the header present?
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2034 $as_echo_n "checking $2 presence... " >&6; }
2035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2039 if ac_fn_c_try_cpp "$LINENO"; then :
2040 ac_header_preproc=yes
2042 ac_header_preproc=no
2044 rm -f conftest.err conftest.i conftest.$ac_ext
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2046 $as_echo "$ac_header_preproc" >&6; }
2048 # So? What about this header?
2049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2052 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2054 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2058 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2060 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2062 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2064 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2066 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2067 ( $as_echo "## ------------------------------------------------------------------------- ##
2068 ## Report this to http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz ##
2069 ## ------------------------------------------------------------------------- ##"
2070 ) | sed "s/^/$as_me: WARNING: /" >&2
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2074 $as_echo_n "checking for $2... " >&6; }
2075 if eval \${$3+:} false; then :
2076 $as_echo_n "(cached) " >&6
2078 eval "$3=\$ac_header_compiler"
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2082 $as_echo "$ac_res" >&6; }
2084 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2086 } # ac_fn_c_check_header_mongrel
2088 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2089 # -------------------------------------------
2090 # Tests whether TYPE exists after having included INCLUDES, setting cache
2091 # variable VAR accordingly.
2092 ac_fn_c_check_type ()
2094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2096 $as_echo_n "checking for $2... " >&6; }
2097 if eval \${$3+:} false; then :
2098 $as_echo_n "(cached) " >&6
2101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2102 /* end confdefs.h. */
2113 if ac_fn_c_try_compile "$LINENO"; then :
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2126 if ac_fn_c_try_compile "$LINENO"; then :
2131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2137 $as_echo "$ac_res" >&6; }
2138 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2140 } # ac_fn_c_check_type
2141 cat >config.log <<_ACEOF
2142 This file contains any messages produced by compilers while
2143 running configure, to aid debugging if configure makes a mistake.
2145 It was created by HarfBuzz $as_me 0.9.12, which was
2146 generated by GNU Autoconf 2.68. Invocation command line was
2158 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2159 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2160 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2161 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2162 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2164 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2165 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2167 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2168 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2169 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2170 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2171 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2172 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2173 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 test -z "$as_dir" && as_dir=.
2182 $as_echo "PATH: $as_dir"
2198 # Keep a trace of the command line.
2199 # Strip out --no-create and --no-recursion so they do not pile up.
2200 # Strip out --silent because we don't want to record it for future runs.
2201 # Also quote any args containing shell meta-characters.
2202 # Make two passes to allow for proper duplicate-argument suppression.
2206 ac_must_keep_next=false
2212 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2213 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2214 | -silent | --silent | --silen | --sile | --sil)
2217 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2220 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2222 as_fn_append ac_configure_args1 " '$ac_arg'"
2223 if test $ac_must_keep_next = true; then
2224 ac_must_keep_next=false # Got value, back to normal.
2227 *=* | --config-cache | -C | -disable-* | --disable-* \
2228 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2229 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2230 | -with-* | --with-* | -without-* | --without-* | --x)
2231 case "$ac_configure_args0 " in
2232 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2235 -* ) ac_must_keep_next=true ;;
2238 as_fn_append ac_configure_args " '$ac_arg'"
2243 { ac_configure_args0=; unset ac_configure_args0;}
2244 { ac_configure_args1=; unset ac_configure_args1;}
2246 # When interrupted or exit'd, cleanup temporary files, and complete
2247 # config.log. We remove comments because anyway the quotes in there
2248 # would cause problems or look ugly.
2249 # WARNING: Use '\'' to represent an apostrophe within the trap.
2250 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2251 trap 'exit_status=$?
2252 # Save into config.log some information that might help in debugging.
2256 $as_echo "## ---------------- ##
2257 ## Cache variables. ##
2258 ## ---------------- ##"
2260 # The following way of writing the cache mishandles newlines in values,
2262 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2263 eval ac_val=\$$ac_var
2267 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2268 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2271 _ | IFS | as_nl) ;; #(
2272 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2273 *) { eval $ac_var=; unset $ac_var;} ;;
2278 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2279 *${as_nl}ac_space=\ *)
2281 "s/'\''/'\''\\\\'\'''\''/g;
2282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2285 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2292 $as_echo "## ----------------- ##
2293 ## Output variables. ##
2294 ## ----------------- ##"
2296 for ac_var in $ac_subst_vars
2298 eval ac_val=\$$ac_var
2300 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2302 $as_echo "$ac_var='\''$ac_val'\''"
2306 if test -n "$ac_subst_files"; then
2307 $as_echo "## ------------------- ##
2308 ## File substitutions. ##
2309 ## ------------------- ##"
2311 for ac_var in $ac_subst_files
2313 eval ac_val=\$$ac_var
2315 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2317 $as_echo "$ac_var='\''$ac_val'\''"
2322 if test -s confdefs.h; then
2323 $as_echo "## ----------- ##
2330 test "$ac_signal" != 0 &&
2331 $as_echo "$as_me: caught signal $ac_signal"
2332 $as_echo "$as_me: exit $exit_status"
2334 rm -f core *.core core.conftest.* &&
2335 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2338 for ac_signal in 1 2 13 15; do
2339 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2343 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2344 rm -f -r conftest* confdefs.h
2346 $as_echo "/* confdefs.h */" > confdefs.h
2348 # Predefined preprocessor variables.
2350 cat >>confdefs.h <<_ACEOF
2351 #define PACKAGE_NAME "$PACKAGE_NAME"
2354 cat >>confdefs.h <<_ACEOF
2355 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2358 cat >>confdefs.h <<_ACEOF
2359 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2362 cat >>confdefs.h <<_ACEOF
2363 #define PACKAGE_STRING "$PACKAGE_STRING"
2366 cat >>confdefs.h <<_ACEOF
2367 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2370 cat >>confdefs.h <<_ACEOF
2371 #define PACKAGE_URL "$PACKAGE_URL"
2375 # Let the site file select an alternate cache file if it wants to.
2376 # Prefer an explicitly selected file to automatically selected ones.
2379 if test -n "$CONFIG_SITE"; then
2380 # We do not want a PATH search for config.site.
2381 case $CONFIG_SITE in #((
2382 -*) ac_site_file1=./$CONFIG_SITE;;
2383 */*) ac_site_file1=$CONFIG_SITE;;
2384 *) ac_site_file1=./$CONFIG_SITE;;
2386 elif test "x$prefix" != xNONE; then
2387 ac_site_file1=$prefix/share/config.site
2388 ac_site_file2=$prefix/etc/config.site
2390 ac_site_file1=$ac_default_prefix/share/config.site
2391 ac_site_file2=$ac_default_prefix/etc/config.site
2393 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2395 test "x$ac_site_file" = xNONE && continue
2396 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2398 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2399 sed 's/^/| /' "$ac_site_file" >&5
2401 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2403 as_fn_error $? "failed to load site script $ac_site_file
2404 See \`config.log' for more details" "$LINENO" 5; }
2408 if test -r "$cache_file"; then
2409 # Some versions of bash will fail to source /dev/null (special files
2410 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2411 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2413 $as_echo "$as_me: loading cache $cache_file" >&6;}
2415 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2416 *) . "./$cache_file";;
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2421 $as_echo "$as_me: creating cache $cache_file" >&6;}
2425 # Check that the precious variables saved in the cache have kept the same
2427 ac_cache_corrupted=false
2428 for ac_var in $ac_precious_vars; do
2429 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2430 eval ac_new_set=\$ac_env_${ac_var}_set
2431 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2432 eval ac_new_val=\$ac_env_${ac_var}_value
2433 case $ac_old_set,$ac_new_set in
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2436 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2437 ac_cache_corrupted=: ;;
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2440 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2441 ac_cache_corrupted=: ;;
2444 if test "x$ac_old_val" != "x$ac_new_val"; then
2445 # differences in whitespace do not lead to failure.
2446 ac_old_val_w=`echo x $ac_old_val`
2447 ac_new_val_w=`echo x $ac_new_val`
2448 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2450 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2451 ac_cache_corrupted=:
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2454 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2455 eval $ac_var=\$ac_old_val
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2458 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2460 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2463 # Pass precious variables to config.status.
2464 if test "$ac_new_set" = set; then
2466 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2467 *) ac_arg=$ac_var=$ac_new_val ;;
2469 case " $ac_configure_args " in
2470 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2471 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2475 if $ac_cache_corrupted; then
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2479 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2480 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2482 ## -------------------- ##
2483 ## Main body of script. ##
2484 ## -------------------- ##
2487 ac_cpp='$CPP $CPPFLAGS'
2488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2496 ac_config_headers="$ac_config_headers config.h"
2499 am__api_version='1.11'
2502 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2503 if test -f "$ac_dir/install-sh"; then
2505 ac_install_sh="$ac_aux_dir/install-sh -c"
2507 elif test -f "$ac_dir/install.sh"; then
2509 ac_install_sh="$ac_aux_dir/install.sh -c"
2511 elif test -f "$ac_dir/shtool"; then
2513 ac_install_sh="$ac_aux_dir/shtool install -c"
2517 if test -z "$ac_aux_dir"; then
2518 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2521 # These three variables are undocumented and unsupported,
2522 # and are intended to be withdrawn in a future Autoconf release.
2523 # They can cause serious problems if a builder's source tree is in a directory
2524 # whose full name contains unusual characters.
2525 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2526 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2527 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2530 # Find a good install program. We prefer a C program (faster),
2531 # so one script is as good as another. But avoid the broken or
2532 # incompatible versions:
2533 # SysV /etc/install, /usr/sbin/install
2534 # SunOS /usr/etc/install
2535 # IRIX /sbin/install
2537 # AmigaOS /C/install, which installs bootblocks on floppy discs
2538 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2539 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2540 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2541 # OS/2's system install, which has a completely different semantic
2542 # ./install, which can be erroneously created by make from ./install.sh.
2543 # Reject install programs that cannot install multiple files.
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2545 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2546 if test -z "$INSTALL"; then
2547 if ${ac_cv_path_install+:} false; then :
2548 $as_echo_n "(cached) " >&6
2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2554 test -z "$as_dir" && as_dir=.
2555 # Account for people who put trailing slashes in PATH elements.
2556 case $as_dir/ in #((
2557 ./ | .// | /[cC]/* | \
2558 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2559 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2562 # OSF1 and SCO ODT 3.0 have their own names for install.
2563 # Don't use installbsd from OSF since it installs stuff as root
2565 for ac_prog in ginstall scoinst install; do
2566 for ac_exec_ext in '' $ac_executable_extensions; do
2567 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2568 if test $ac_prog = install &&
2569 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2570 # AIX install. It has an incompatible calling convention.
2572 elif test $ac_prog = install &&
2573 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2574 # program-specific install script used by HP pwplus--don't use.
2577 rm -rf conftest.one conftest.two conftest.dir
2578 echo one > conftest.one
2579 echo two > conftest.two
2581 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2582 test -s conftest.one && test -s conftest.two &&
2583 test -s conftest.dir/conftest.one &&
2584 test -s conftest.dir/conftest.two
2586 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2599 rm -rf conftest.one conftest.two conftest.dir
2602 if test "${ac_cv_path_install+set}" = set; then
2603 INSTALL=$ac_cv_path_install
2605 # As a last resort, use the slow shell script. Don't cache a
2606 # value for INSTALL within a source directory, because that will
2607 # break other packages using the cache if that directory is
2608 # removed, or if the value is a relative name.
2609 INSTALL=$ac_install_sh
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2613 $as_echo "$INSTALL" >&6; }
2615 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2616 # It thinks the first close brace ends the variable substitution.
2617 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2619 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2621 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2624 $as_echo_n "checking whether build environment is sane... " >&6; }
2627 echo timestamp > conftest.file
2628 # Reject unsafe characters in $srcdir or the absolute working directory
2629 # name. Accept space and tab only in the latter.
2633 *[\\\"\#\$\&\'\`$am_lf]*)
2634 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2637 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2638 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2641 # Do `set' in a subshell so we don't clobber the current shell's
2642 # arguments. Must try -L first in case configure is actually a
2643 # symlink; some systems play weird games with the mod time of symlinks
2644 # (eg FreeBSD returns the mod time of the symlink's containing
2647 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2648 if test "$*" = "X"; then
2650 set X `ls -t "$srcdir/configure" conftest.file`
2653 if test "$*" != "X $srcdir/configure conftest.file" \
2654 && test "$*" != "X conftest.file $srcdir/configure"; then
2656 # If neither matched, then we have a broken ls. This can happen
2657 # if, for instance, CONFIG_SHELL is bash and it inherits a
2658 # broken ls alias from the environment. This has actually
2659 # happened. Such a system could not be considered "sane".
2660 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2661 alias in your environment" "$LINENO" 5
2664 test "$2" = conftest.file
2670 as_fn_error $? "newly created file is older than distributed files!
2671 Check your system clock" "$LINENO" 5
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2674 $as_echo "yes" >&6; }
2675 test "$program_prefix" != NONE &&
2676 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2677 # Use a double $ so make ignores it.
2678 test "$program_suffix" != NONE &&
2679 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2680 # Double any \ or $.
2681 # By default was `s,x,x', remove it if useless.
2682 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2683 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2685 # expand $ac_aux_dir to an absolute path
2686 am_aux_dir=`cd $ac_aux_dir && pwd`
2688 if test x"${MISSING+set}" != xset; then
2691 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2693 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2696 # Use eval to expand $SHELL
2697 if eval "$MISSING --run true"; then
2698 am_missing_run="$MISSING --run "
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2702 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2705 if test x"${install_sh}" != xset; then
2708 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2710 install_sh="\${SHELL} $am_aux_dir/install-sh"
2714 # Installed binaries are usually stripped using `strip' when the user
2715 # run `make install-strip'. However `strip' might not be the right
2716 # tool to use in cross-compilation environments, therefore Automake
2717 # will honor the `STRIP' environment variable to overrule this program.
2718 if test "$cross_compiling" != no; then
2719 if test -n "$ac_tool_prefix"; then
2720 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2721 set dummy ${ac_tool_prefix}strip; ac_word=$2
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2723 $as_echo_n "checking for $ac_word... " >&6; }
2724 if ${ac_cv_prog_STRIP+:} false; then :
2725 $as_echo_n "(cached) " >&6
2727 if test -n "$STRIP"; then
2728 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2734 test -z "$as_dir" && as_dir=.
2735 for ac_exec_ext in '' $ac_executable_extensions; do
2736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2737 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 STRIP=$ac_cv_prog_STRIP
2748 if test -n "$STRIP"; then
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2750 $as_echo "$STRIP" >&6; }
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2753 $as_echo "no" >&6; }
2758 if test -z "$ac_cv_prog_STRIP"; then
2760 # Extract the first word of "strip", so it can be a program name with args.
2761 set dummy strip; ac_word=$2
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2763 $as_echo_n "checking for $ac_word... " >&6; }
2764 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2765 $as_echo_n "(cached) " >&6
2767 if test -n "$ac_ct_STRIP"; then
2768 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774 test -z "$as_dir" && as_dir=.
2775 for ac_exec_ext in '' $ac_executable_extensions; do
2776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2777 ac_cv_prog_ac_ct_STRIP="strip"
2778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2787 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2788 if test -n "$ac_ct_STRIP"; then
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2790 $as_echo "$ac_ct_STRIP" >&6; }
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2793 $as_echo "no" >&6; }
2796 if test "x$ac_ct_STRIP" = x; then
2799 case $cross_compiling:$ac_tool_warned in
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2803 ac_tool_warned=yes ;;
2808 STRIP="$ac_cv_prog_STRIP"
2812 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2815 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2816 if test -z "$MKDIR_P"; then
2817 if ${ac_cv_path_mkdir+:} false; then :
2818 $as_echo_n "(cached) " >&6
2820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2821 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2824 test -z "$as_dir" && as_dir=.
2825 for ac_prog in mkdir gmkdir; do
2826 for ac_exec_ext in '' $ac_executable_extensions; do
2827 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2828 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2829 'mkdir (GNU coreutils) '* | \
2830 'mkdir (coreutils) '* | \
2831 'mkdir (fileutils) '4.1*)
2832 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2842 test -d ./--version && rmdir ./--version
2843 if test "${ac_cv_path_mkdir+set}" = set; then
2844 MKDIR_P="$ac_cv_path_mkdir -p"
2846 # As a last resort, use the slow shell script. Don't cache a
2847 # value for MKDIR_P within a source directory, because that will
2848 # break other packages using the cache if that directory is
2849 # removed, or if the value is a relative name.
2850 MKDIR_P="$ac_install_sh -d"
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2854 $as_echo "$MKDIR_P" >&6; }
2858 [\\/$]* | ?:[\\/]*) ;;
2859 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2862 for ac_prog in gawk mawk nawk awk
2864 # Extract the first word of "$ac_prog", so it can be a program name with args.
2865 set dummy $ac_prog; ac_word=$2
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2867 $as_echo_n "checking for $ac_word... " >&6; }
2868 if ${ac_cv_prog_AWK+:} false; then :
2869 $as_echo_n "(cached) " >&6
2871 if test -n "$AWK"; then
2872 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2878 test -z "$as_dir" && as_dir=.
2879 for ac_exec_ext in '' $ac_executable_extensions; do
2880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2881 ac_cv_prog_AWK="$ac_prog"
2882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2892 if test -n "$AWK"; then
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2894 $as_echo "$AWK" >&6; }
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2897 $as_echo "no" >&6; }
2901 test -n "$AWK" && break
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2905 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2907 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2908 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2909 $as_echo_n "(cached) " >&6
2911 cat >conftest.make <<\_ACEOF
2914 @echo '@@@%%%=$(MAKE)=@@@%%%'
2916 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2917 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2919 eval ac_cv_prog_make_${ac_make}_set=yes;;
2921 eval ac_cv_prog_make_${ac_make}_set=no;;
2925 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2927 $as_echo "yes" >&6; }
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2931 $as_echo "no" >&6; }
2932 SET_MAKE="MAKE=${MAKE-make}"
2935 rm -rf .tst 2>/dev/null
2936 mkdir .tst 2>/dev/null
2937 if test -d .tst; then
2942 rmdir .tst 2>/dev/null
2944 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2945 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2946 # is not polluted with repeated "-I."
2947 am__isrc=' -I$(srcdir)'
2948 # test to see if srcdir already configured
2949 if test -f $srcdir/config.status; then
2950 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2954 # test whether we have cygpath
2955 if test -z "$CYGPATH_W"; then
2956 if (cygpath --version) >/dev/null 2>/dev/null; then
2957 CYGPATH_W='cygpath -w'
2964 # Define the identity of the package.
2969 # Some tools Automake needs.
2971 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2974 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2977 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2980 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2983 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2985 # We need awk for the "check" target. The system "awk" is bad on
2987 # Always define AMTAR for backward compatibility. Yes, it's still used
2988 # in the wild :-( We should find a proper way to deprecate it ...
2991 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2997 # Check whether --enable-silent-rules was given.
2998 if test "${enable_silent_rules+set}" = set; then :
2999 enableval=$enable_silent_rules;
3002 case $enable_silent_rules in
3003 yes) AM_DEFAULT_VERBOSITY=0;;
3004 no) AM_DEFAULT_VERBOSITY=1;;
3005 *) AM_DEFAULT_VERBOSITY=0;;
3007 am_make=${MAKE-make}
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3009 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3010 if ${am_cv_make_support_nested_variables+:} false; then :
3011 $as_echo_n "(cached) " >&6
3013 if $as_echo 'TRUE=$(BAR$(V))
3019 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3020 am_cv_make_support_nested_variables=yes
3022 am_cv_make_support_nested_variables=no
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3026 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3027 if test $am_cv_make_support_nested_variables = yes; then
3029 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3031 AM_V=$AM_DEFAULT_VERBOSITY
3032 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3037 # Initialize libtool
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3042 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3047 macro_version='2.4.2'
3048 macro_revision='1.3337'
3062 ltmain="$ac_aux_dir/ltmain.sh"
3064 # Make sure we can run config.sub.
3065 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3066 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3069 $as_echo_n "checking build system type... " >&6; }
3070 if ${ac_cv_build+:} false; then :
3071 $as_echo_n "(cached) " >&6
3073 ac_build_alias=$build_alias
3074 test "x$ac_build_alias" = x &&
3075 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3076 test "x$ac_build_alias" = x &&
3077 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3078 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3079 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3083 $as_echo "$ac_cv_build" >&6; }
3084 case $ac_cv_build in
3086 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3089 ac_save_IFS=$IFS; IFS='-'
3095 # Remember, the first character of IFS is used to create $*,
3096 # except with old shells:
3099 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3103 $as_echo_n "checking host system type... " >&6; }
3104 if ${ac_cv_host+:} false; then :
3105 $as_echo_n "(cached) " >&6
3107 if test "x$host_alias" = x; then
3108 ac_cv_host=$ac_cv_build
3110 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3111 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3116 $as_echo "$ac_cv_host" >&6; }
3119 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3122 ac_save_IFS=$IFS; IFS='-'
3128 # Remember, the first character of IFS is used to create $*,
3129 # except with old shells:
3132 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3135 # Backslashify metacharacters that are still active within
3136 # double-quoted strings.
3137 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3139 # Same as above, but do not quote variable references.
3140 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3142 # Sed substitution to delay expansion of an escaped shell variable in a
3143 # double_quote_subst'ed string.
3144 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3146 # Sed substitution to delay expansion of an escaped single quote.
3147 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3149 # Sed substitution to avoid accidental globbing in evaled expressions
3150 no_glob_subst='s/\*/\\\*/g'
3152 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3153 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3154 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3157 $as_echo_n "checking how to print strings... " >&6; }
3158 # Test print first, because it will be a builtin if present.
3159 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3160 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3162 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3165 # Use this function as a fallback that always works.
3166 func_fallback_echo ()
3168 eval 'cat <<_LTECHO_EOF
3172 ECHO='func_fallback_echo'
3175 # func_echo_all arg...
3176 # Invoke $ECHO with all args, space-separated.
3183 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3184 $as_echo "printf" >&6; } ;;
3185 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3186 $as_echo "print -r" >&6; } ;;
3187 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3188 $as_echo "cat" >&6; } ;;
3204 DEPDIR="${am__leading_dot}deps"
3206 ac_config_commands="$ac_config_commands depfiles"
3209 am_make=${MAKE-make}
3210 cat > confinc << 'END'
3212 @echo this is the am__doit target
3215 # If we don't find an include directive, just comment out the code.
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3217 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3221 # First try GNU make style include.
3222 echo "include confinc" > confmf
3223 # Ignore all kinds of additional output from `make'.
3224 case `$am_make -s -f confmf 2> /dev/null` in #(
3225 *the\ am__doit\ target*)
3231 # Now try BSD make style include.
3232 if test "$am__include" = "#"; then
3233 echo '.include "confinc"' > confmf
3234 case `$am_make -s -f confmf 2> /dev/null` in #(
3235 *the\ am__doit\ target*)
3236 am__include=.include
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3245 $as_echo "$_am_result" >&6; }
3246 rm -f confinc confmf
3248 # Check whether --enable-dependency-tracking was given.
3249 if test "${enable_dependency_tracking+set}" = set; then :
3250 enableval=$enable_dependency_tracking;
3253 if test "x$enable_dependency_tracking" != xno; then
3254 am_depcomp="$ac_aux_dir/depcomp"
3258 if test "x$enable_dependency_tracking" != xno; then
3268 ac_cpp='$CPP $CPPFLAGS'
3269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3272 if test -n "$ac_tool_prefix"; then
3273 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3274 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276 $as_echo_n "checking for $ac_word... " >&6; }
3277 if ${ac_cv_prog_CC+:} false; then :
3278 $as_echo_n "(cached) " >&6
3280 if test -n "$CC"; then
3281 ac_cv_prog_CC="$CC" # Let the user override the test.
3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3287 test -z "$as_dir" && as_dir=.
3288 for ac_exec_ext in '' $ac_executable_extensions; do
3289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3290 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3301 if test -n "$CC"; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3303 $as_echo "$CC" >&6; }
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3311 if test -z "$ac_cv_prog_CC"; then
3313 # Extract the first word of "gcc", so it can be a program name with args.
3314 set dummy gcc; ac_word=$2
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316 $as_echo_n "checking for $ac_word... " >&6; }
3317 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3318 $as_echo_n "(cached) " >&6
3320 if test -n "$ac_ct_CC"; then
3321 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3327 test -z "$as_dir" && as_dir=.
3328 for ac_exec_ext in '' $ac_executable_extensions; do
3329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3330 ac_cv_prog_ac_ct_CC="gcc"
3331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3340 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3341 if test -n "$ac_ct_CC"; then
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3343 $as_echo "$ac_ct_CC" >&6; }
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346 $as_echo "no" >&6; }
3349 if test "x$ac_ct_CC" = x; then
3352 case $cross_compiling:$ac_tool_warned in
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3356 ac_tool_warned=yes ;;
3364 if test -z "$CC"; then
3365 if test -n "$ac_tool_prefix"; then
3366 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3367 set dummy ${ac_tool_prefix}cc; ac_word=$2
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3369 $as_echo_n "checking for $ac_word... " >&6; }
3370 if ${ac_cv_prog_CC+:} false; then :
3371 $as_echo_n "(cached) " >&6
3373 if test -n "$CC"; then
3374 ac_cv_prog_CC="$CC" # Let the user override the test.
3376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380 test -z "$as_dir" && as_dir=.
3381 for ac_exec_ext in '' $ac_executable_extensions; do
3382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3383 ac_cv_prog_CC="${ac_tool_prefix}cc"
3384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3394 if test -n "$CC"; then
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3396 $as_echo "$CC" >&6; }
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3399 $as_echo "no" >&6; }
3405 if test -z "$CC"; then
3406 # Extract the first word of "cc", so it can be a program name with args.
3407 set dummy cc; ac_word=$2
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3409 $as_echo_n "checking for $ac_word... " >&6; }
3410 if ${ac_cv_prog_CC+:} false; then :
3411 $as_echo_n "(cached) " >&6
3413 if test -n "$CC"; then
3414 ac_cv_prog_CC="$CC" # Let the user override the test.
3417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 test -z "$as_dir" && as_dir=.
3422 for ac_exec_ext in '' $ac_executable_extensions; do
3423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3424 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3425 ac_prog_rejected=yes
3429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 if test $ac_prog_rejected = yes; then
3437 # We found a bogon in the path, so make sure we never use it.
3438 set dummy $ac_cv_prog_CC
3440 if test $# != 0; then
3441 # We chose a different compiler from the bogus one.
3442 # However, it has the same basename, so the bogon will be chosen
3443 # first if we set CC to just the basename; use the full file name.
3445 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3451 if test -n "$CC"; then
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3453 $as_echo "$CC" >&6; }
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3456 $as_echo "no" >&6; }
3461 if test -z "$CC"; then
3462 if test -n "$ac_tool_prefix"; then
3463 for ac_prog in cl.exe
3465 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3466 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3468 $as_echo_n "checking for $ac_word... " >&6; }
3469 if ${ac_cv_prog_CC+:} false; then :
3470 $as_echo_n "(cached) " >&6
3472 if test -n "$CC"; then
3473 ac_cv_prog_CC="$CC" # Let the user override the test.
3475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3479 test -z "$as_dir" && as_dir=.
3480 for ac_exec_ext in '' $ac_executable_extensions; do
3481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3482 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3493 if test -n "$CC"; then
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3495 $as_echo "$CC" >&6; }
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498 $as_echo "no" >&6; }
3502 test -n "$CC" && break
3505 if test -z "$CC"; then
3507 for ac_prog in cl.exe
3509 # Extract the first word of "$ac_prog", so it can be a program name with args.
3510 set dummy $ac_prog; ac_word=$2
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3512 $as_echo_n "checking for $ac_word... " >&6; }
3513 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3514 $as_echo_n "(cached) " >&6
3516 if test -n "$ac_ct_CC"; then
3517 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3523 test -z "$as_dir" && as_dir=.
3524 for ac_exec_ext in '' $ac_executable_extensions; do
3525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3526 ac_cv_prog_ac_ct_CC="$ac_prog"
3527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3536 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3537 if test -n "$ac_ct_CC"; then
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3539 $as_echo "$ac_ct_CC" >&6; }
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3542 $as_echo "no" >&6; }
3546 test -n "$ac_ct_CC" && break
3549 if test "x$ac_ct_CC" = x; then
3552 case $cross_compiling:$ac_tool_warned in
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3556 ac_tool_warned=yes ;;
3565 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567 as_fn_error $? "no acceptable C compiler found in \$PATH
3568 See \`config.log' for more details" "$LINENO" 5; }
3570 # Provide some information about the compiler.
3571 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3574 for ac_option in --version -v -V -qversion; do
3575 { { ac_try="$ac_compiler $ac_option >&5"
3577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3578 *) ac_try_echo=$ac_try;;
3580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3581 $as_echo "$ac_try_echo"; } >&5
3582 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3584 if test -s conftest.err; then
3586 ... rest of stderr output deleted ...
3587 10q' conftest.err >conftest.er1
3588 cat conftest.er1 >&5
3590 rm -f conftest.er1 conftest.err
3591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3592 test $ac_status = 0; }
3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596 /* end confdefs.h. */
3606 ac_clean_files_save=$ac_clean_files
3607 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3608 # Try to create an executable without -o first, disregard a.out.
3609 # It will help us diagnose broken compilers, and finding out an intuition
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3612 $as_echo_n "checking whether the C compiler works... " >&6; }
3613 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3615 # The possible output files:
3616 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3619 for ac_file in $ac_files
3622 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3623 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3628 if { { ac_try="$ac_link_default"
3630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3631 *) ac_try_echo=$ac_try;;
3633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3634 $as_echo "$ac_try_echo"; } >&5
3635 (eval "$ac_link_default") 2>&5
3637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3638 test $ac_status = 0; }; then :
3639 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3640 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3641 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3642 # so that the user can short-circuit this test for compilers unknown to
3644 for ac_file in $ac_files ''
3646 test -f "$ac_file" || continue
3648 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3651 # We found the default executable, but exeext='' is most
3655 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3657 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3659 # We set ac_cv_exeext here because the later test for it is not
3660 # safe: cross compilers may not add the suffix if given an `-o'
3661 # argument, so we may need to know it at that point already.
3662 # Even if this section looks crufty: it has the advantage of
3669 test "$ac_cv_exeext" = no && ac_cv_exeext=
3674 if test -z "$ac_file"; then :
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3676 $as_echo "no" >&6; }
3677 $as_echo "$as_me: failed program was:" >&5
3678 sed 's/^/| /' conftest.$ac_ext >&5
3680 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3682 as_fn_error 77 "C compiler cannot create executables
3683 See \`config.log' for more details" "$LINENO" 5; }
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3686 $as_echo "yes" >&6; }
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3689 $as_echo_n "checking for C compiler default output file name... " >&6; }
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3691 $as_echo "$ac_file" >&6; }
3692 ac_exeext=$ac_cv_exeext
3694 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3695 ac_clean_files=$ac_clean_files_save
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3697 $as_echo_n "checking for suffix of executables... " >&6; }
3698 if { { ac_try="$ac_link"
3700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3701 *) ac_try_echo=$ac_try;;
3703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3704 $as_echo "$ac_try_echo"; } >&5
3705 (eval "$ac_link") 2>&5
3707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3708 test $ac_status = 0; }; then :
3709 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3710 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3711 # work properly (i.e., refer to `conftest.exe'), while it won't with
3713 for ac_file in conftest.exe conftest conftest.*; do
3714 test -f "$ac_file" || continue
3716 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3717 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3723 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3725 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3726 See \`config.log' for more details" "$LINENO" 5; }
3728 rm -f conftest conftest$ac_cv_exeext
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3730 $as_echo "$ac_cv_exeext" >&6; }
3732 rm -f conftest.$ac_ext
3733 EXEEXT=$ac_cv_exeext
3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h. */
3741 FILE *f = fopen ("conftest.out", "w");
3742 return ferror (f) || fclose (f) != 0;
3748 ac_clean_files="$ac_clean_files conftest.out"
3749 # Check that the compiler produces executables we can run. If not, either
3750 # the compiler is broken, or we cross compile.
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3752 $as_echo_n "checking whether we are cross compiling... " >&6; }
3753 if test "$cross_compiling" != yes; then
3754 { { ac_try="$ac_link"
3756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3757 *) ac_try_echo=$ac_try;;
3759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3760 $as_echo "$ac_try_echo"; } >&5
3761 (eval "$ac_link") 2>&5
3763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3764 test $ac_status = 0; }
3765 if { ac_try='./conftest$ac_cv_exeext'
3766 { { case "(($ac_try" in
3767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3768 *) ac_try_echo=$ac_try;;
3770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3771 $as_echo "$ac_try_echo"; } >&5
3772 (eval "$ac_try") 2>&5
3774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3775 test $ac_status = 0; }; }; then
3778 if test "$cross_compiling" = maybe; then
3781 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3782 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3783 as_fn_error $? "cannot run C compiled programs.
3784 If you meant to cross compile, use \`--host'.
3785 See \`config.log' for more details" "$LINENO" 5; }
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3790 $as_echo "$cross_compiling" >&6; }
3792 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3793 ac_clean_files=$ac_clean_files_save
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3795 $as_echo_n "checking for suffix of object files... " >&6; }
3796 if ${ac_cv_objext+:} false; then :
3797 $as_echo_n "(cached) " >&6
3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3810 rm -f conftest.o conftest.obj
3811 if { { ac_try="$ac_compile"
3813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814 *) ac_try_echo=$ac_try;;
3816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3817 $as_echo "$ac_try_echo"; } >&5
3818 (eval "$ac_compile") 2>&5
3820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3821 test $ac_status = 0; }; then :
3822 for ac_file in conftest.o conftest.obj conftest.*; do
3823 test -f "$ac_file" || continue;
3825 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3826 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3831 $as_echo "$as_me: failed program was:" >&5
3832 sed 's/^/| /' conftest.$ac_ext >&5
3834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3836 as_fn_error $? "cannot compute suffix of object files: cannot compile
3837 See \`config.log' for more details" "$LINENO" 5; }
3839 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3842 $as_echo "$ac_cv_objext" >&6; }
3843 OBJEXT=$ac_cv_objext
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3846 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3847 if ${ac_cv_c_compiler_gnu+:} false; then :
3848 $as_echo_n "(cached) " >&6
3850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3851 /* end confdefs.h. */
3864 if ac_fn_c_try_compile "$LINENO"; then :
3869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3870 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3874 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3875 if test $ac_compiler_gnu = yes; then
3880 ac_test_CFLAGS=${CFLAGS+set}
3881 ac_save_CFLAGS=$CFLAGS
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3883 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3884 if ${ac_cv_prog_cc_g+:} false; then :
3885 $as_echo_n "(cached) " >&6
3887 ac_save_c_werror_flag=$ac_c_werror_flag
3888 ac_c_werror_flag=yes
3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3902 if ac_fn_c_try_compile "$LINENO"; then :
3906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3907 /* end confdefs.h. */
3917 if ac_fn_c_try_compile "$LINENO"; then :
3920 ac_c_werror_flag=$ac_save_c_werror_flag
3922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3933 if ac_fn_c_try_compile "$LINENO"; then :
3936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3941 ac_c_werror_flag=$ac_save_c_werror_flag
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3944 $as_echo "$ac_cv_prog_cc_g" >&6; }
3945 if test "$ac_test_CFLAGS" = set; then
3946 CFLAGS=$ac_save_CFLAGS
3947 elif test $ac_cv_prog_cc_g = yes; then
3948 if test "$GCC" = yes; then
3954 if test "$GCC" = yes; then
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3961 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3962 if ${ac_cv_prog_cc_c89+:} false; then :
3963 $as_echo_n "(cached) " >&6
3965 ac_cv_prog_cc_c89=no
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3971 #include <sys/types.h>
3972 #include <sys/stat.h>
3973 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3974 struct buf { int x; };
3975 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3976 static char *e (p, i)
3982 static char *f (char * (*g) (char **, int), char **p, ...)
3987 s = g (p, va_arg (v,int));
3992 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3993 function prototypes and stuff, but not '\xHH' hex character constants.
3994 These don't provoke an error unfortunately, instead are silently treated
3995 as 'x'. The following induces an error, until -std is added to get
3996 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3997 array size at least. It's necessary to write '\x00'==0 to get something
3998 that's true only with -std. */
3999 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4001 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4002 inside strings and character constants. */
4004 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4006 int test (int i, double x);
4007 struct s1 {int (*f) (int a);};
4008 struct s2 {int (*f) (double a);};
4009 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4015 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4020 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4021 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4023 CC="$ac_save_CC $ac_arg"
4024 if ac_fn_c_try_compile "$LINENO"; then :
4025 ac_cv_prog_cc_c89=$ac_arg
4027 rm -f core conftest.err conftest.$ac_objext
4028 test "x$ac_cv_prog_cc_c89" != "xno" && break
4030 rm -f conftest.$ac_ext
4035 case "x$ac_cv_prog_cc_c89" in
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4038 $as_echo "none needed" >&6; } ;;
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4041 $as_echo "unsupported" >&6; } ;;
4043 CC="$CC $ac_cv_prog_cc_c89"
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4045 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4047 if test "x$ac_cv_prog_cc_c89" != xno; then :
4052 ac_cpp='$CPP $CPPFLAGS'
4053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4057 depcc="$CC" am_compiler_list=
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4060 $as_echo_n "checking dependency style of $depcc... " >&6; }
4061 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4062 $as_echo_n "(cached) " >&6
4064 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4065 # We make a subdir and do the tests there. Otherwise we can end up
4066 # making bogus files that we don't know about and never remove. For
4067 # instance it was reported that on HP-UX the gcc test will end up
4068 # making a dummy file named `D' -- because `-MD' means `put the output
4072 # Copy depcomp to subdir because otherwise we won't find it if we're
4073 # using a relative directory.
4074 cp "$am_depcomp" conftest.dir
4076 # We will build objects and dependencies in a subdirectory because
4077 # it helps to detect inapplicable dependency modes. For instance
4078 # both Tru64's cc and ICC support -MD to output dependencies as a
4079 # side effect of compilation, but ICC will put the dependencies in
4080 # the current directory while Tru64 will put them in the object
4084 am_cv_CC_dependencies_compiler_type=none
4085 if test "$am_compiler_list" = ""; then
4086 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4089 case " $depcc " in #(
4090 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4093 for depmode in $am_compiler_list; do
4094 # Setup a source with many dependencies, because some compilers
4095 # like to wrap large dependency lists on column 80 (with \), and
4096 # we should not choose a depcomp mode which is confused by this.
4098 # We need to recreate these files for each test, as the compiler may
4099 # overwrite some of them when testing with obscure command lines.
4100 # This happens at least with the AIX C compiler.
4102 for i in 1 2 3 4 5 6; do
4103 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4104 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4105 # Solaris 8's {/usr,}/bin/sh.
4106 touch sub/conftst$i.h
4108 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4110 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4111 # mode. It turns out that the SunPro C++ compiler does not properly
4112 # handle `-M -o', and we need to detect this. Also, some Intel
4113 # versions had trouble with output in subdirs
4114 am__obj=sub/conftest.${OBJEXT-o}
4115 am__minus_obj="-o $am__obj"
4118 # This depmode causes a compiler race in universal mode.
4119 test "$am__universal" = false || continue
4122 # after this tag, mechanisms are not by side-effect, so they'll
4123 # only be used when explicitly requested
4124 if test "x$enable_dependency_tracking" = xyes; then
4130 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4131 # This compiler won't grok `-c -o', but also, the minuso test has
4132 # not run yet. These depmodes are late enough in the game, and
4133 # so weak that their functioning should not be impacted.
4134 am__obj=conftest.${OBJEXT-o}
4139 if depmode=$depmode \
4140 source=sub/conftest.c object=$am__obj \
4141 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4142 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4143 >/dev/null 2>conftest.err &&
4144 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4145 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4146 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4147 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4148 # icc doesn't choke on unknown options, it will just issue warnings
4149 # or remarks (even with -Werror). So we grep stderr for any message
4150 # that says an option was ignored or not supported.
4151 # When given -MP, icc 7.0 and 7.1 complain thusly:
4152 # icc: Command line warning: ignoring option '-M'; no argument required
4153 # The diagnosis changed in icc 8.0:
4154 # icc: Command line remark: option '-MP' not supported
4155 if (grep 'ignoring option' conftest.err ||
4156 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4157 am_cv_CC_dependencies_compiler_type=$depmode
4166 am_cv_CC_dependencies_compiler_type=none
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4171 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4172 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4175 test "x$enable_dependency_tracking" != xno \
4176 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4178 am__fastdepCC_FALSE='#'
4180 am__fastdepCC_TRUE='#'
4181 am__fastdepCC_FALSE=
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4186 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4187 if ${ac_cv_path_SED+:} false; then :
4188 $as_echo_n "(cached) " >&6
4190 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4191 for ac_i in 1 2 3 4 5 6 7; do
4192 ac_script="$ac_script$as_nl$ac_script"
4194 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4195 { ac_script=; unset ac_script;}
4196 if test -z "$SED"; then
4197 ac_path_SED_found=false
4198 # Loop through the user's path and test for each of PROGNAME-LIST
4199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203 test -z "$as_dir" && as_dir=.
4204 for ac_prog in sed gsed; do
4205 for ac_exec_ext in '' $ac_executable_extensions; do
4206 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4207 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4208 # Check for GNU ac_path_SED and select it if it is found.
4209 # Check for GNU $ac_path_SED
4210 case `"$ac_path_SED" --version 2>&1` in
4212 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4215 $as_echo_n 0123456789 >"conftest.in"
4218 cat "conftest.in" "conftest.in" >"conftest.tmp"
4219 mv "conftest.tmp" "conftest.in"
4220 cp "conftest.in" "conftest.nl"
4221 $as_echo '' >> "conftest.nl"
4222 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4223 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4224 as_fn_arith $ac_count + 1 && ac_count=$as_val
4225 if test $ac_count -gt ${ac_path_SED_max-0}; then
4226 # Best one so far, save it but keep looking for a better one
4227 ac_cv_path_SED="$ac_path_SED"
4228 ac_path_SED_max=$ac_count
4230 # 10*(2^10) chars as input seems more than enough
4231 test $ac_count -gt 10 && break
4233 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4236 $ac_path_SED_found && break 3
4241 if test -z "$ac_cv_path_SED"; then
4242 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4250 $as_echo "$ac_cv_path_SED" >&6; }
4251 SED="$ac_cv_path_SED"
4254 test -z "$SED" && SED=sed
4255 Xsed="$SED -e 1s/^X//"
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4268 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4269 if ${ac_cv_path_GREP+:} false; then :
4270 $as_echo_n "(cached) " >&6
4272 if test -z "$GREP"; then
4273 ac_path_GREP_found=false
4274 # Loop through the user's path and test for each of PROGNAME-LIST
4275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4276 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4279 test -z "$as_dir" && as_dir=.
4280 for ac_prog in grep ggrep; do
4281 for ac_exec_ext in '' $ac_executable_extensions; do
4282 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4283 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4284 # Check for GNU ac_path_GREP and select it if it is found.
4285 # Check for GNU $ac_path_GREP
4286 case `"$ac_path_GREP" --version 2>&1` in
4288 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4291 $as_echo_n 0123456789 >"conftest.in"
4294 cat "conftest.in" "conftest.in" >"conftest.tmp"
4295 mv "conftest.tmp" "conftest.in"
4296 cp "conftest.in" "conftest.nl"
4297 $as_echo 'GREP' >> "conftest.nl"
4298 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4299 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4300 as_fn_arith $ac_count + 1 && ac_count=$as_val
4301 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4302 # Best one so far, save it but keep looking for a better one
4303 ac_cv_path_GREP="$ac_path_GREP"
4304 ac_path_GREP_max=$ac_count
4306 # 10*(2^10) chars as input seems more than enough
4307 test $ac_count -gt 10 && break
4309 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4312 $ac_path_GREP_found && break 3
4317 if test -z "$ac_cv_path_GREP"; then
4318 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4321 ac_cv_path_GREP=$GREP
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4326 $as_echo "$ac_cv_path_GREP" >&6; }
4327 GREP="$ac_cv_path_GREP"
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4331 $as_echo_n "checking for egrep... " >&6; }
4332 if ${ac_cv_path_EGREP+:} false; then :
4333 $as_echo_n "(cached) " >&6
4335 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4336 then ac_cv_path_EGREP="$GREP -E"
4338 if test -z "$EGREP"; then
4339 ac_path_EGREP_found=false
4340 # Loop through the user's path and test for each of PROGNAME-LIST
4341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4342 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4345 test -z "$as_dir" && as_dir=.
4346 for ac_prog in egrep; do
4347 for ac_exec_ext in '' $ac_executable_extensions; do
4348 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4349 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4350 # Check for GNU ac_path_EGREP and select it if it is found.
4351 # Check for GNU $ac_path_EGREP
4352 case `"$ac_path_EGREP" --version 2>&1` in
4354 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4357 $as_echo_n 0123456789 >"conftest.in"
4360 cat "conftest.in" "conftest.in" >"conftest.tmp"
4361 mv "conftest.tmp" "conftest.in"
4362 cp "conftest.in" "conftest.nl"
4363 $as_echo 'EGREP' >> "conftest.nl"
4364 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4365 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4366 as_fn_arith $ac_count + 1 && ac_count=$as_val
4367 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4368 # Best one so far, save it but keep looking for a better one
4369 ac_cv_path_EGREP="$ac_path_EGREP"
4370 ac_path_EGREP_max=$ac_count
4372 # 10*(2^10) chars as input seems more than enough
4373 test $ac_count -gt 10 && break
4375 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4378 $ac_path_EGREP_found && break 3
4383 if test -z "$ac_cv_path_EGREP"; then
4384 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4387 ac_cv_path_EGREP=$EGREP
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4393 $as_echo "$ac_cv_path_EGREP" >&6; }
4394 EGREP="$ac_cv_path_EGREP"
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4398 $as_echo_n "checking for fgrep... " >&6; }
4399 if ${ac_cv_path_FGREP+:} false; then :
4400 $as_echo_n "(cached) " >&6
4402 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4403 then ac_cv_path_FGREP="$GREP -F"
4405 if test -z "$FGREP"; then
4406 ac_path_FGREP_found=false
4407 # Loop through the user's path and test for each of PROGNAME-LIST
4408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4409 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4412 test -z "$as_dir" && as_dir=.
4413 for ac_prog in fgrep; do
4414 for ac_exec_ext in '' $ac_executable_extensions; do
4415 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4416 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4417 # Check for GNU ac_path_FGREP and select it if it is found.
4418 # Check for GNU $ac_path_FGREP
4419 case `"$ac_path_FGREP" --version 2>&1` in
4421 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4424 $as_echo_n 0123456789 >"conftest.in"
4427 cat "conftest.in" "conftest.in" >"conftest.tmp"
4428 mv "conftest.tmp" "conftest.in"
4429 cp "conftest.in" "conftest.nl"
4430 $as_echo 'FGREP' >> "conftest.nl"
4431 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4432 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4433 as_fn_arith $ac_count + 1 && ac_count=$as_val
4434 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4435 # Best one so far, save it but keep looking for a better one
4436 ac_cv_path_FGREP="$ac_path_FGREP"
4437 ac_path_FGREP_max=$ac_count
4439 # 10*(2^10) chars as input seems more than enough
4440 test $ac_count -gt 10 && break
4442 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4445 $ac_path_FGREP_found && break 3
4450 if test -z "$ac_cv_path_FGREP"; then
4451 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4454 ac_cv_path_FGREP=$FGREP
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4460 $as_echo "$ac_cv_path_FGREP" >&6; }
4461 FGREP="$ac_cv_path_FGREP"
4464 test -z "$GREP" && GREP=grep
4484 # Check whether --with-gnu-ld was given.
4485 if test "${with_gnu_ld+set}" = set; then :
4486 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4492 if test "$GCC" = yes; then
4493 # Check if gcc -print-prog-name=ld gives a path.
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4495 $as_echo_n "checking for ld used by $CC... " >&6; }
4498 # gcc leaves a trailing carriage return which upsets mingw
4499 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4501 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4504 # Accept absolute paths.
4506 re_direlt='/[^/][^/]*/\.\./'
4507 # Canonicalize the pathname of ld
4508 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4509 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4510 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4512 test -z "$LD" && LD="$ac_prog"
4515 # If it fails, then pretend we aren't using GCC.
4519 # If it is relative, then search for the first ld in PATH.
4523 elif test "$with_gnu_ld" = yes; then
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4525 $as_echo_n "checking for GNU ld... " >&6; }
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4528 $as_echo_n "checking for non-GNU ld... " >&6; }
4530 if ${lt_cv_path_LD+:} false; then :
4531 $as_echo_n "(cached) " >&6
4533 if test -z "$LD"; then
4534 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4535 for ac_dir in $PATH; do
4537 test -z "$ac_dir" && ac_dir=.
4538 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4539 lt_cv_path_LD="$ac_dir/$ac_prog"
4540 # Check to see if the program is GNU ld. I'd rather use --version,
4541 # but apparently some variants of GNU ld only accept -v.
4542 # Break only if it was the GNU/non-GNU ld that we prefer.
4543 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4544 *GNU* | *'with BFD'*)
4545 test "$with_gnu_ld" != no && break
4548 test "$with_gnu_ld" != yes && break
4555 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4560 if test -n "$LD"; then
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4562 $as_echo "$LD" >&6; }
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4565 $as_echo "no" >&6; }
4567 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4569 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4570 if ${lt_cv_prog_gnu_ld+:} false; then :
4571 $as_echo_n "(cached) " >&6
4573 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4574 case `$LD -v 2>&1 </dev/null` in
4575 *GNU* | *'with BFD'*)
4576 lt_cv_prog_gnu_ld=yes
4579 lt_cv_prog_gnu_ld=no
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4584 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4585 with_gnu_ld=$lt_cv_prog_gnu_ld
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4596 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4597 if ${lt_cv_path_NM+:} false; then :
4598 $as_echo_n "(cached) " >&6
4600 if test -n "$NM"; then
4601 # Let the user override the test.
4604 lt_nm_to_check="${ac_tool_prefix}nm"
4605 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4606 lt_nm_to_check="$lt_nm_to_check nm"
4608 for lt_tmp_nm in $lt_nm_to_check; do
4609 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4610 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4612 test -z "$ac_dir" && ac_dir=.
4613 tmp_nm="$ac_dir/$lt_tmp_nm"
4614 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4615 # Check to see if the nm accepts a BSD-compat flag.
4616 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4617 # nm: unknown option "B" ignored
4618 # Tru64's nm complains that /dev/null is an invalid object file
4619 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4620 */dev/null* | *'Invalid file or object type'*)
4621 lt_cv_path_NM="$tmp_nm -B"
4625 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4627 lt_cv_path_NM="$tmp_nm -p"
4631 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4632 continue # so that we can try to find one that supports BSD flags
4641 : ${lt_cv_path_NM=no}
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4645 $as_echo "$lt_cv_path_NM" >&6; }
4646 if test "$lt_cv_path_NM" != "no"; then
4649 # Didn't find any BSD compatible name lister, look for dumpbin.
4650 if test -n "$DUMPBIN"; then :
4651 # Let the user override the test.
4653 if test -n "$ac_tool_prefix"; then
4654 for ac_prog in dumpbin "link -dump"
4656 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4657 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if ${ac_cv_prog_DUMPBIN+:} false; then :
4661 $as_echo_n "(cached) " >&6
4663 if test -n "$DUMPBIN"; then
4664 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir=.
4671 for ac_exec_ext in '' $ac_executable_extensions; do
4672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4673 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 DUMPBIN=$ac_cv_prog_DUMPBIN
4684 if test -n "$DUMPBIN"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4686 $as_echo "$DUMPBIN" >&6; }
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4693 test -n "$DUMPBIN" && break
4696 if test -z "$DUMPBIN"; then
4697 ac_ct_DUMPBIN=$DUMPBIN
4698 for ac_prog in dumpbin "link -dump"
4700 # Extract the first word of "$ac_prog", so it can be a program name with args.
4701 set dummy $ac_prog; ac_word=$2
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4703 $as_echo_n "checking for $ac_word... " >&6; }
4704 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4705 $as_echo_n "(cached) " >&6
4707 if test -n "$ac_ct_DUMPBIN"; then
4708 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714 test -z "$as_dir" && as_dir=.
4715 for ac_exec_ext in '' $ac_executable_extensions; do
4716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4717 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4727 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4728 if test -n "$ac_ct_DUMPBIN"; then
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4730 $as_echo "$ac_ct_DUMPBIN" >&6; }
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4733 $as_echo "no" >&6; }
4737 test -n "$ac_ct_DUMPBIN" && break
4740 if test "x$ac_ct_DUMPBIN" = x; then
4743 case $cross_compiling:$ac_tool_warned in
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4747 ac_tool_warned=yes ;;
4749 DUMPBIN=$ac_ct_DUMPBIN
4753 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4755 DUMPBIN="$DUMPBIN -symbols"
4763 if test "$DUMPBIN" != ":"; then
4767 test -z "$NM" && NM=nm
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4775 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4776 if ${lt_cv_nm_interface+:} false; then :
4777 $as_echo_n "(cached) " >&6
4779 lt_cv_nm_interface="BSD nm"
4780 echo "int some_variable = 0;" > conftest.$ac_ext
4781 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4782 (eval "$ac_compile" 2>conftest.err)
4783 cat conftest.err >&5
4784 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4785 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4786 cat conftest.err >&5
4787 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4788 cat conftest.out >&5
4789 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4790 lt_cv_nm_interface="MS dumpbin"
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4795 $as_echo "$lt_cv_nm_interface" >&6; }
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4798 $as_echo_n "checking whether ln -s works... " >&6; }
4800 if test "$LN_S" = "ln -s"; then
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4802 $as_echo "yes" >&6; }
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4805 $as_echo "no, using $LN_S" >&6; }
4808 # find the maximum length of command line arguments
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4810 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4811 if ${lt_cv_sys_max_cmd_len+:} false; then :
4812 $as_echo_n "(cached) " >&6
4819 # On DJGPP, this test can blow up pretty badly due to problems in libc
4820 # (any single argument exceeding 2000 bytes causes a buffer overrun
4821 # during glob expansion). Even if it were fixed, the result of this
4822 # check would be larger than it should be.
4823 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4827 # Under GNU Hurd, this test is not required because there is
4828 # no limit to the length of command line arguments.
4829 # Libtool will interpret -1 as no limit whatsoever
4830 lt_cv_sys_max_cmd_len=-1;
4833 cygwin* | mingw* | cegcc*)
4834 # On Win9x/ME, this test blows up -- it succeeds, but takes
4835 # about 5 minutes as the teststring grows exponentially.
4836 # Worse, since 9x/ME are not pre-emptively multitasking,
4837 # you end up with a "frozen" computer, even though with patience
4838 # the test eventually succeeds (with a max line length of 256k).
4839 # Instead, let's just punt: use the minimum linelength reported by
4840 # all of the supported platforms: 8192 (on NT/2K/XP).
4841 lt_cv_sys_max_cmd_len=8192;
4845 # On MiNT this can take a long time and run out of memory.
4846 lt_cv_sys_max_cmd_len=8192;
4850 # On AmigaOS with pdksh, this test takes hours, literally.
4851 # So we just punt and use a minimum line length of 8192.
4852 lt_cv_sys_max_cmd_len=8192;
4855 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4856 # This has been around since 386BSD, at least. Likely further.
4857 if test -x /sbin/sysctl; then
4858 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4859 elif test -x /usr/sbin/sysctl; then
4860 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4862 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4864 # And add a safety zone
4865 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4866 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4870 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4871 lt_cv_sys_max_cmd_len=196608
4875 # The test takes a long time on OS/2.
4876 lt_cv_sys_max_cmd_len=8192
4880 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4881 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4882 # nice to cause kernel panics so lets avoid the loop below.
4883 # First set a reasonable default.
4884 lt_cv_sys_max_cmd_len=16384
4886 if test -x /sbin/sysconfig; then
4887 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4888 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4893 lt_cv_sys_max_cmd_len=102400
4895 sysv5* | sco5v6* | sysv4.2uw2*)
4896 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4897 if test -n "$kargmax"; then
4898 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4900 lt_cv_sys_max_cmd_len=32768
4904 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4905 if test -n "$lt_cv_sys_max_cmd_len"; then
4906 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4907 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4909 # Make teststring a little bigger before we do anything with it.
4910 # a 1K string should be a reasonable start.
4911 for i in 1 2 3 4 5 6 7 8 ; do
4912 teststring=$teststring$teststring
4914 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4915 # If test is not a shell built-in, we'll probably end up computing a
4916 # maximum length that is only half of the actual maximum length, but
4918 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4919 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4920 test $i != 17 # 1/2 MB should be enough
4923 teststring=$teststring$teststring
4925 # Only check the string length outside the loop.
4926 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4928 # Add a significant safety factor because C++ compilers can tack on
4929 # massive amounts of additional arguments before passing them to the
4930 # linker. It appears as though 1/2 is a usable value.
4931 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4938 if test -n $lt_cv_sys_max_cmd_len ; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4940 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4943 $as_echo "none" >&6; }
4945 max_cmd_len=$lt_cv_sys_max_cmd_len
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4957 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4958 # Try some XSI features
4961 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4963 && eval 'test $(( 1 + 1 )) -eq 2 \
4964 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4967 $as_echo "$xsi_shell" >&6; }
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4971 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4973 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4975 && lt_shell_append=yes
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4977 $as_echo "$lt_shell_append" >&6; }
4980 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4990 # test EBCDIC or ASCII
4991 case `echo X|tr X '\101'` in
4992 A) # ASCII based system
4993 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4994 lt_SP2NL='tr \040 \012'
4995 lt_NL2SP='tr \015\012 \040\040'
4997 *) # EBCDIC based system
4998 lt_SP2NL='tr \100 \n'
4999 lt_NL2SP='tr \r\n \100\100'
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5012 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5013 if ${lt_cv_to_host_file_cmd+:} false; then :
5014 $as_echo_n "(cached) " >&6
5019 *-*-mingw* ) # actually msys
5020 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5023 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5025 * ) # otherwise, assume *nix
5026 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5032 *-*-mingw* ) # actually msys
5033 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5036 lt_cv_to_host_file_cmd=func_convert_file_noop
5038 * ) # otherwise, assume *nix
5039 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5043 * ) # unhandled hosts (and "normal" native builds)
5044 lt_cv_to_host_file_cmd=func_convert_file_noop
5050 to_host_file_cmd=$lt_cv_to_host_file_cmd
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5052 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5059 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5060 if ${lt_cv_to_tool_file_cmd+:} false; then :
5061 $as_echo_n "(cached) " >&6
5063 #assume ordinary cross tools, or native build.
5064 lt_cv_to_tool_file_cmd=func_convert_file_noop
5068 *-*-mingw* ) # actually msys
5069 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5077 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5079 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5086 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5087 if ${lt_cv_ld_reload_flag+:} false; then :
5088 $as_echo_n "(cached) " >&6
5090 lt_cv_ld_reload_flag='-r'
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5093 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5094 reload_flag=$lt_cv_ld_reload_flag
5095 case $reload_flag in
5097 *) reload_flag=" $reload_flag" ;;
5099 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5101 cygwin* | mingw* | pw32* | cegcc*)
5102 if test "$GCC" != yes; then
5107 if test "$GCC" = yes; then
5108 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5110 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5123 if test -n "$ac_tool_prefix"; then
5124 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5125 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if ${ac_cv_prog_OBJDUMP+:} false; then :
5129 $as_echo_n "(cached) " >&6
5131 if test -n "$OBJDUMP"; then
5132 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 test -z "$as_dir" && as_dir=.
5139 for ac_exec_ext in '' $ac_executable_extensions; do
5140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5141 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 OBJDUMP=$ac_cv_prog_OBJDUMP
5152 if test -n "$OBJDUMP"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5154 $as_echo "$OBJDUMP" >&6; }
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5162 if test -z "$ac_cv_prog_OBJDUMP"; then
5163 ac_ct_OBJDUMP=$OBJDUMP
5164 # Extract the first word of "objdump", so it can be a program name with args.
5165 set dummy objdump; ac_word=$2
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5167 $as_echo_n "checking for $ac_word... " >&6; }
5168 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5169 $as_echo_n "(cached) " >&6
5171 if test -n "$ac_ct_OBJDUMP"; then
5172 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 test -z "$as_dir" && as_dir=.
5179 for ac_exec_ext in '' $ac_executable_extensions; do
5180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5181 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5192 if test -n "$ac_ct_OBJDUMP"; then
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5194 $as_echo "$ac_ct_OBJDUMP" >&6; }
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5197 $as_echo "no" >&6; }
5200 if test "x$ac_ct_OBJDUMP" = x; then
5203 case $cross_compiling:$ac_tool_warned in
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5207 ac_tool_warned=yes ;;
5209 OBJDUMP=$ac_ct_OBJDUMP
5212 OBJDUMP="$ac_cv_prog_OBJDUMP"
5215 test -z "$OBJDUMP" && OBJDUMP=objdump
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5226 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5227 if ${lt_cv_deplibs_check_method+:} false; then :
5228 $as_echo_n "(cached) " >&6
5230 lt_cv_file_magic_cmd='$MAGIC_CMD'
5231 lt_cv_file_magic_test_file=
5232 lt_cv_deplibs_check_method='unknown'
5233 # Need to set the preceding variable on all platforms that support
5234 # interlibrary dependencies.
5235 # 'none' -- dependencies not supported.
5236 # `unknown' -- same as none, but documents that we really don't know.
5237 # 'pass_all' -- all dependencies passed with no checks.
5238 # 'test_compile' -- check by making test program.
5239 # 'file_magic [[regex]]' -- check by looking for files in library path
5240 # which responds to the $file_magic_cmd with a given extended regex.
5241 # If you have `file' or equivalent on your system and you're not sure
5242 # whether `pass_all' will *always* work, you probably want this one.
5246 lt_cv_deplibs_check_method=pass_all
5250 lt_cv_deplibs_check_method=pass_all
5254 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5255 lt_cv_file_magic_cmd='/usr/bin/file -L'
5256 lt_cv_file_magic_test_file=/shlib/libc.so
5260 # func_win32_libid is a shell function defined in ltmain.sh
5261 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5262 lt_cv_file_magic_cmd='func_win32_libid'
5266 # Base MSYS/MinGW do not provide the 'file' command needed by
5267 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5268 # unless we find 'file', for example because we are cross-compiling.
5269 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5270 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5271 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5272 lt_cv_file_magic_cmd='func_win32_libid'
5274 # Keep this pattern in sync with the one in func_win32_libid.
5275 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5276 lt_cv_file_magic_cmd='$OBJDUMP -f'
5281 # use the weaker test based on 'objdump'. See mingw*.
5282 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5283 lt_cv_file_magic_cmd='$OBJDUMP -f'
5286 darwin* | rhapsody*)
5287 lt_cv_deplibs_check_method=pass_all
5290 freebsd* | dragonfly*)
5291 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5294 # Not sure whether the presence of OpenBSD here was a mistake.
5295 # Let's accept both of them until this is cleared up.
5296 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5297 lt_cv_file_magic_cmd=/usr/bin/file
5298 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5302 lt_cv_deplibs_check_method=pass_all
5307 lt_cv_deplibs_check_method=pass_all
5311 lt_cv_deplibs_check_method=pass_all
5314 hpux10.20* | hpux11*)
5315 lt_cv_file_magic_cmd=/usr/bin/file
5318 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5319 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5322 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5323 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5326 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5327 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5333 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5337 irix5* | irix6* | nonstopux*)
5339 *-32|*"-32 ") libmagic=32-bit;;
5340 *-n32|*"-n32 ") libmagic=N32;;
5341 *-64|*"-64 ") libmagic=64-bit;;
5342 *) libmagic=never-match;;
5344 lt_cv_deplibs_check_method=pass_all
5347 # This must be glibc/ELF.
5348 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5349 lt_cv_deplibs_check_method=pass_all
5352 netbsd* | netbsdelf*-gnu)
5353 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5356 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5361 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5362 lt_cv_file_magic_cmd=/usr/bin/file
5363 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5367 lt_cv_deplibs_check_method=pass_all
5371 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5372 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5374 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5378 osf3* | osf4* | osf5*)
5379 lt_cv_deplibs_check_method=pass_all
5383 lt_cv_deplibs_check_method=pass_all
5387 lt_cv_deplibs_check_method=pass_all
5390 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5391 lt_cv_deplibs_check_method=pass_all
5395 case $host_vendor in
5397 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]'
5398 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5401 lt_cv_deplibs_check_method=pass_all
5404 lt_cv_file_magic_cmd='/bin/file'
5405 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5408 lt_cv_file_magic_cmd='/bin/file'
5409 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5410 lt_cv_file_magic_test_file=/lib/libc.so
5413 lt_cv_deplibs_check_method=pass_all
5416 lt_cv_deplibs_check_method=pass_all
5422 lt_cv_deplibs_check_method=pass_all
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5428 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5432 if test "$build" = "$host"; then
5435 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5438 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5444 file_magic_cmd=$lt_cv_file_magic_cmd
5445 deplibs_check_method=$lt_cv_deplibs_check_method
5446 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5469 if test -n "$ac_tool_prefix"; then
5470 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5471 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_DLLTOOL+:} false; then :
5475 $as_echo_n "(cached) " >&6
5477 if test -n "$DLLTOOL"; then
5478 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 test -z "$as_dir" && as_dir=.
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5487 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5497 DLLTOOL=$ac_cv_prog_DLLTOOL
5498 if test -n "$DLLTOOL"; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5500 $as_echo "$DLLTOOL" >&6; }
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5508 if test -z "$ac_cv_prog_DLLTOOL"; then
5509 ac_ct_DLLTOOL=$DLLTOOL
5510 # Extract the first word of "dlltool", so it can be a program name with args.
5511 set dummy dlltool; ac_word=$2
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513 $as_echo_n "checking for $ac_word... " >&6; }
5514 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5515 $as_echo_n "(cached) " >&6
5517 if test -n "$ac_ct_DLLTOOL"; then
5518 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524 test -z "$as_dir" && as_dir=.
5525 for ac_exec_ext in '' $ac_executable_extensions; do
5526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5527 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5537 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5538 if test -n "$ac_ct_DLLTOOL"; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5540 $as_echo "$ac_ct_DLLTOOL" >&6; }
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 $as_echo "no" >&6; }
5546 if test "x$ac_ct_DLLTOOL" = x; then
5549 case $cross_compiling:$ac_tool_warned in
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5553 ac_tool_warned=yes ;;
5555 DLLTOOL=$ac_ct_DLLTOOL
5558 DLLTOOL="$ac_cv_prog_DLLTOOL"
5561 test -z "$DLLTOOL" && DLLTOOL=dlltool
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5573 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5574 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5575 $as_echo_n "(cached) " >&6
5577 lt_cv_sharedlib_from_linklib_cmd='unknown'
5580 cygwin* | mingw* | pw32* | cegcc*)
5581 # two different shell functions defined in ltmain.sh
5582 # decide which to use based on capabilities of $DLLTOOL
5583 case `$DLLTOOL --help 2>&1` in
5584 *--identify-strict*)
5585 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5588 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5593 # fallback: assume linklib IS sharedlib
5594 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5600 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5601 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5602 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5611 if test -n "$ac_tool_prefix"; then
5614 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5615 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if ${ac_cv_prog_AR+:} false; then :
5619 $as_echo_n "(cached) " >&6
5621 if test -n "$AR"; then
5622 ac_cv_prog_AR="$AR" # Let the user override the test.
5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5628 test -z "$as_dir" && as_dir=.
5629 for ac_exec_ext in '' $ac_executable_extensions; do
5630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5631 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 if test -n "$AR"; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5644 $as_echo "$AR" >&6; }
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5651 test -n "$AR" && break
5654 if test -z "$AR"; then
5658 # Extract the first word of "$ac_prog", so it can be a program name with args.
5659 set dummy $ac_prog; ac_word=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 $as_echo_n "checking for $ac_word... " >&6; }
5662 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5663 $as_echo_n "(cached) " >&6
5665 if test -n "$ac_ct_AR"; then
5666 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 test -z "$as_dir" && as_dir=.
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5675 ac_cv_prog_ac_ct_AR="$ac_prog"
5676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5686 if test -n "$ac_ct_AR"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5688 $as_echo "$ac_ct_AR" >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }
5695 test -n "$ac_ct_AR" && break
5698 if test "x$ac_ct_AR" = x; then
5701 case $cross_compiling:$ac_tool_warned in
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5705 ac_tool_warned=yes ;;
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5725 $as_echo_n "checking for archiver @FILE support... " >&6; }
5726 if ${lt_cv_ar_at_file+:} false; then :
5727 $as_echo_n "(cached) " >&6
5730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5731 /* end confdefs.h. */
5741 if ac_fn_c_try_compile "$LINENO"; then :
5742 echo conftest.$ac_objext > conftest.lst
5743 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5744 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5745 (eval $lt_ar_try) 2>&5
5747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5748 test $ac_status = 0; }
5749 if test "$ac_status" -eq 0; then
5750 # Ensure the archiver fails upon bogus file names.
5751 rm -f conftest.$ac_objext libconftest.a
5752 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5753 (eval $lt_ar_try) 2>&5
5755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5756 test $ac_status = 0; }
5757 if test "$ac_status" -ne 0; then
5761 rm -f conftest.* libconftest.a
5764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5768 $as_echo "$lt_cv_ar_at_file" >&6; }
5770 if test "x$lt_cv_ar_at_file" = xno; then
5773 archiver_list_spec=$lt_cv_ar_at_file
5782 if test -n "$ac_tool_prefix"; then
5783 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5784 set dummy ${ac_tool_prefix}strip; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if ${ac_cv_prog_STRIP+:} false; then :
5788 $as_echo_n "(cached) " >&6
5790 if test -n "$STRIP"; then
5791 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5810 STRIP=$ac_cv_prog_STRIP
5811 if test -n "$STRIP"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5813 $as_echo "$STRIP" >&6; }
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5821 if test -z "$ac_cv_prog_STRIP"; then
5823 # Extract the first word of "strip", so it can be a program name with args.
5824 set dummy strip; ac_word=$2
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5826 $as_echo_n "checking for $ac_word... " >&6; }
5827 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5828 $as_echo_n "(cached) " >&6
5830 if test -n "$ac_ct_STRIP"; then
5831 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837 test -z "$as_dir" && as_dir=.
5838 for ac_exec_ext in '' $ac_executable_extensions; do
5839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5840 ac_cv_prog_ac_ct_STRIP="strip"
5841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5850 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5851 if test -n "$ac_ct_STRIP"; then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5853 $as_echo "$ac_ct_STRIP" >&6; }
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5856 $as_echo "no" >&6; }
5859 if test "x$ac_ct_STRIP" = x; then
5862 case $cross_compiling:$ac_tool_warned in
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5866 ac_tool_warned=yes ;;
5871 STRIP="$ac_cv_prog_STRIP"
5874 test -z "$STRIP" && STRIP=:
5881 if test -n "$ac_tool_prefix"; then
5882 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5883 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5885 $as_echo_n "checking for $ac_word... " >&6; }
5886 if ${ac_cv_prog_RANLIB+:} false; then :
5887 $as_echo_n "(cached) " >&6
5889 if test -n "$RANLIB"; then
5890 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5896 test -z "$as_dir" && as_dir=.
5897 for ac_exec_ext in '' $ac_executable_extensions; do
5898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5899 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5909 RANLIB=$ac_cv_prog_RANLIB
5910 if test -n "$RANLIB"; then
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5912 $as_echo "$RANLIB" >&6; }
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5915 $as_echo "no" >&6; }
5920 if test -z "$ac_cv_prog_RANLIB"; then
5921 ac_ct_RANLIB=$RANLIB
5922 # Extract the first word of "ranlib", so it can be a program name with args.
5923 set dummy ranlib; ac_word=$2
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5925 $as_echo_n "checking for $ac_word... " >&6; }
5926 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5927 $as_echo_n "(cached) " >&6
5929 if test -n "$ac_ct_RANLIB"; then
5930 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5936 test -z "$as_dir" && as_dir=.
5937 for ac_exec_ext in '' $ac_executable_extensions; do
5938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5939 ac_cv_prog_ac_ct_RANLIB="ranlib"
5940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5949 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5950 if test -n "$ac_ct_RANLIB"; then
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5952 $as_echo "$ac_ct_RANLIB" >&6; }
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5955 $as_echo "no" >&6; }
5958 if test "x$ac_ct_RANLIB" = x; then
5961 case $cross_compiling:$ac_tool_warned in
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5965 ac_tool_warned=yes ;;
5967 RANLIB=$ac_ct_RANLIB
5970 RANLIB="$ac_cv_prog_RANLIB"
5973 test -z "$RANLIB" && RANLIB=:
5980 # Determine commands to create old-style static archives.
5981 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5982 old_postinstall_cmds='chmod 644 $oldlib'
5983 old_postuninstall_cmds=
5985 if test -n "$RANLIB"; then
5988 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5991 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5994 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5999 lock_old_archive_extraction=yes ;;
6001 lock_old_archive_extraction=no ;;
6042 # If no C compiler was specified, use CC.
6045 # If no C compiler flags were specified, use CFLAGS.
6046 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6048 # Allow CC to be a program name with arguments.
6052 # Check for command to grab the raw symbol name followed by C symbol from nm.
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6054 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6055 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6056 $as_echo_n "(cached) " >&6
6059 # These are sane defaults that work on at least a few old systems.
6060 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6062 # Character class describing NM global symbol codes.
6063 symcode='[BCDEGRST]'
6065 # Regexp to match symbols that can be accessed directly from C.
6066 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6068 # Define system-specific variables.
6073 cygwin* | mingw* | pw32* | cegcc*)
6074 symcode='[ABCDGISTW]'
6077 if test "$host_cpu" = ia64; then
6078 symcode='[ABCDEGRST]'
6082 symcode='[BCDEGRST]'
6085 symcode='[BCDEGQRST]'
6096 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6104 # If we're using GNU nm, then use its standard symbol codes.
6105 case `$NM -V 2>&1` in
6106 *GNU* | *'with BFD'*)
6107 symcode='[ABCDGIRSTW]' ;;
6110 # Transform an extracted symbol line into a proper C declaration.
6111 # Some systems (esp. on ia64) link data and code symbols differently,
6112 # so use this general approach.
6113 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6115 # Transform an extracted symbol line into symbol name and symbol address
6116 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6117 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'"
6119 # Handle CRLF in mingw tool chain
6123 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6127 # Try without a prefix underscore, then with it.
6128 for ac_symprfx in "" "_"; do
6130 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6131 symxfrm="\\1 $ac_symprfx\\2 \\2"
6133 # Write the raw and C identifiers.
6134 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6135 # Fake it for dumpbin and say T for any non-static function
6136 # and D for any global variable.
6137 # Also find C++ and __fastcall symbols from MSVC++,
6138 # which start with @ or ?.
6139 lt_cv_sys_global_symbol_pipe="$AWK '"\
6140 " {last_section=section; section=\$ 3};"\
6141 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6142 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6143 " \$ 0!~/External *\|/{next};"\
6144 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6145 " {if(hide[section]) next};"\
6146 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6147 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6148 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6149 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6150 " ' prfx=^$ac_symprfx"
6152 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6154 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6156 # Check to see that the pipe works correctly.
6160 cat > conftest.$ac_ext <<_LT_EOF
6165 void nm_test_func(void);
6166 void nm_test_func(void){}
6170 int main(){nm_test_var='a';nm_test_func();return(0);}
6173 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6174 (eval $ac_compile) 2>&5
6176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6177 test $ac_status = 0; }; then
6178 # Now try to grab the symbols.
6180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6181 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6184 test $ac_status = 0; } && test -s "$nlist"; then
6185 # Try sorting and uniquifying the output.
6186 if sort "$nlist" | uniq > "$nlist"T; then
6187 mv -f "$nlist"T "$nlist"
6192 # Make sure that we snagged all the symbols we need.
6193 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6194 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6195 cat <<_LT_EOF > conftest.$ac_ext
6196 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6197 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6198 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6199 relocations are performed -- see ld's documentation on pseudo-relocs. */
6200 # define LT_DLSYM_CONST
6201 #elif defined(__osf__)
6202 /* This system does not cope well with relocations in const data. */
6203 # define LT_DLSYM_CONST
6205 # define LT_DLSYM_CONST const
6213 # Now generate the symbol file.
6214 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6216 cat <<_LT_EOF >> conftest.$ac_ext
6218 /* The mapping between symbol names and symbols. */
6219 LT_DLSYM_CONST struct {
6223 lt__PROGRAM__LTX_preloaded_symbols[] =
6225 { "@PROGRAM@", (void *) 0 },
6227 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6228 cat <<\_LT_EOF >> conftest.$ac_ext
6232 /* This works around a problem in FreeBSD linker */
6233 #ifdef FREEBSD_WORKAROUND
6234 static const void *lt_preloaded_setup() {
6235 return lt__PROGRAM__LTX_preloaded_symbols;
6243 # Now try linking the two files.
6244 mv conftest.$ac_objext conftstm.$ac_objext
6245 lt_globsym_save_LIBS=$LIBS
6246 lt_globsym_save_CFLAGS=$CFLAGS
6247 LIBS="conftstm.$ac_objext"
6248 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6249 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6250 (eval $ac_link) 2>&5
6252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6253 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6256 LIBS=$lt_globsym_save_LIBS
6257 CFLAGS=$lt_globsym_save_CFLAGS
6259 echo "cannot find nm_test_func in $nlist" >&5
6262 echo "cannot find nm_test_var in $nlist" >&5
6265 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6268 echo "$progname: failed program was:" >&5
6269 cat conftest.$ac_ext >&5
6271 rm -rf conftest* conftst*
6273 # Do not use the global_symbol_pipe unless it works.
6274 if test "$pipe_works" = yes; then
6277 lt_cv_sys_global_symbol_pipe=
6283 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6284 lt_cv_sys_global_symbol_to_cdecl=
6286 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6288 $as_echo "failed" >&6; }
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6291 $as_echo "ok" >&6; }
6294 # Response file support.
6295 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6296 nm_file_list_spec='@'
6297 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6298 nm_file_list_spec='@'
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6328 $as_echo_n "checking for sysroot... " >&6; }
6330 # Check whether --with-sysroot was given.
6331 if test "${with_sysroot+set}" = set; then :
6332 withval=$with_sysroot;
6339 case ${with_sysroot} in #(
6341 if test "$GCC" = yes; then
6342 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6346 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6352 $as_echo "${with_sysroot}" >&6; }
6353 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6358 $as_echo "${lt_sysroot:-no}" >&6; }
6364 # Check whether --enable-libtool-lock was given.
6365 if test "${enable_libtool_lock+set}" = set; then :
6366 enableval=$enable_libtool_lock;
6369 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6371 # Some flags need to be propagated to the compiler or linker for good
6375 # Find out which ABI we are using.
6376 echo 'int i;' > conftest.$ac_ext
6377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6378 (eval $ac_compile) 2>&5
6380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6381 test $ac_status = 0; }; then
6382 case `/usr/bin/file conftest.$ac_objext` in
6394 # Find out which ABI we are using.
6395 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6396 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6397 (eval $ac_compile) 2>&5
6399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6400 test $ac_status = 0; }; then
6401 if test "$lt_cv_prog_gnu_ld" = yes; then
6402 case `/usr/bin/file conftest.$ac_objext` in
6404 LD="${LD-ld} -melf32bsmip"
6407 LD="${LD-ld} -melf32bmipn32"
6410 LD="${LD-ld} -melf64bmip"
6414 case `/usr/bin/file conftest.$ac_objext` in
6430 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6431 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6432 # Find out which ABI we are using.
6433 echo 'int i;' > conftest.$ac_ext
6434 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6435 (eval $ac_compile) 2>&5
6437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6438 test $ac_status = 0; }; then
6439 case `/usr/bin/file conftest.o` in
6442 x86_64-*kfreebsd*-gnu)
6443 LD="${LD-ld} -m elf_i386_fbsd"
6446 LD="${LD-ld} -m elf_i386"
6448 ppc64-*linux*|powerpc64-*linux*)
6449 LD="${LD-ld} -m elf32ppclinux"
6452 LD="${LD-ld} -m elf_s390"
6455 LD="${LD-ld} -m elf32_sparc"
6461 x86_64-*kfreebsd*-gnu)
6462 LD="${LD-ld} -m elf_x86_64_fbsd"
6465 LD="${LD-ld} -m elf_x86_64"
6467 ppc*-*linux*|powerpc*-*linux*)
6468 LD="${LD-ld} -m elf64ppc"
6470 s390*-*linux*|s390*-*tpf*)
6471 LD="${LD-ld} -m elf64_s390"
6474 LD="${LD-ld} -m elf64_sparc"
6484 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6485 SAVE_CFLAGS="$CFLAGS"
6486 CFLAGS="$CFLAGS -belf"
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6488 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6489 if ${lt_cv_cc_needs_belf+:} false; then :
6490 $as_echo_n "(cached) " >&6
6493 ac_cpp='$CPP $CPPFLAGS'
6494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6499 /* end confdefs.h. */
6509 if ac_fn_c_try_link "$LINENO"; then :
6510 lt_cv_cc_needs_belf=yes
6512 lt_cv_cc_needs_belf=no
6514 rm -f core conftest.err conftest.$ac_objext \
6515 conftest$ac_exeext conftest.$ac_ext
6517 ac_cpp='$CPP $CPPFLAGS'
6518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6524 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6525 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6526 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6527 CFLAGS="$SAVE_CFLAGS"
6531 # Find out which ABI we are using.
6532 echo 'int i;' > conftest.$ac_ext
6533 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6534 (eval $ac_compile) 2>&5
6536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6537 test $ac_status = 0; }; then
6538 case `/usr/bin/file conftest.o` in
6540 case $lt_cv_prog_gnu_ld in
6544 LD="${LD-ld} -m elf_x86_64"
6547 LD="${LD-ld} -m elf64_sparc"
6550 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6551 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6556 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6568 need_locks="$enable_libtool_lock"
6570 if test -n "$ac_tool_prefix"; then
6571 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6572 set dummy ${ac_tool_prefix}mt; ac_word=$2
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6574 $as_echo_n "checking for $ac_word... " >&6; }
6575 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6576 $as_echo_n "(cached) " >&6
6578 if test -n "$MANIFEST_TOOL"; then
6579 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585 test -z "$as_dir" && as_dir=.
6586 for ac_exec_ext in '' $ac_executable_extensions; do
6587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6588 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6598 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6599 if test -n "$MANIFEST_TOOL"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6601 $as_echo "$MANIFEST_TOOL" >&6; }
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6609 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6610 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6611 # Extract the first word of "mt", so it can be a program name with args.
6612 set dummy mt; ac_word=$2
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6614 $as_echo_n "checking for $ac_word... " >&6; }
6615 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6616 $as_echo_n "(cached) " >&6
6618 if test -n "$ac_ct_MANIFEST_TOOL"; then
6619 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625 test -z "$as_dir" && as_dir=.
6626 for ac_exec_ext in '' $ac_executable_extensions; do
6627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6628 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6639 if test -n "$ac_ct_MANIFEST_TOOL"; then
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6641 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6644 $as_echo "no" >&6; }
6647 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6650 case $cross_compiling:$ac_tool_warned in
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6654 ac_tool_warned=yes ;;
6656 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6659 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6662 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6664 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6665 if ${lt_cv_path_mainfest_tool+:} false; then :
6666 $as_echo_n "(cached) " >&6
6668 lt_cv_path_mainfest_tool=no
6669 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6670 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6671 cat conftest.err >&5
6672 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6673 lt_cv_path_mainfest_tool=yes
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6678 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6679 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6689 rhapsody* | darwin*)
6690 if test -n "$ac_tool_prefix"; then
6691 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6692 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 $as_echo_n "checking for $ac_word... " >&6; }
6695 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6696 $as_echo_n "(cached) " >&6
6698 if test -n "$DSYMUTIL"; then
6699 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6705 test -z "$as_dir" && as_dir=.
6706 for ac_exec_ext in '' $ac_executable_extensions; do
6707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6708 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6718 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6719 if test -n "$DSYMUTIL"; then
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6721 $as_echo "$DSYMUTIL" >&6; }
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 $as_echo "no" >&6; }
6729 if test -z "$ac_cv_prog_DSYMUTIL"; then
6730 ac_ct_DSYMUTIL=$DSYMUTIL
6731 # Extract the first word of "dsymutil", so it can be a program name with args.
6732 set dummy dsymutil; ac_word=$2
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 $as_echo_n "checking for $ac_word... " >&6; }
6735 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6736 $as_echo_n "(cached) " >&6
6738 if test -n "$ac_ct_DSYMUTIL"; then
6739 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6745 test -z "$as_dir" && as_dir=.
6746 for ac_exec_ext in '' $ac_executable_extensions; do
6747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6748 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6758 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6759 if test -n "$ac_ct_DSYMUTIL"; then
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6761 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 $as_echo "no" >&6; }
6767 if test "x$ac_ct_DSYMUTIL" = x; then
6770 case $cross_compiling:$ac_tool_warned in
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6774 ac_tool_warned=yes ;;
6776 DSYMUTIL=$ac_ct_DSYMUTIL
6779 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6782 if test -n "$ac_tool_prefix"; then
6783 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6784 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6786 $as_echo_n "checking for $ac_word... " >&6; }
6787 if ${ac_cv_prog_NMEDIT+:} false; then :
6788 $as_echo_n "(cached) " >&6
6790 if test -n "$NMEDIT"; then
6791 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6797 test -z "$as_dir" && as_dir=.
6798 for ac_exec_ext in '' $ac_executable_extensions; do
6799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6800 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6810 NMEDIT=$ac_cv_prog_NMEDIT
6811 if test -n "$NMEDIT"; then
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6813 $as_echo "$NMEDIT" >&6; }
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816 $as_echo "no" >&6; }
6821 if test -z "$ac_cv_prog_NMEDIT"; then
6822 ac_ct_NMEDIT=$NMEDIT
6823 # Extract the first word of "nmedit", so it can be a program name with args.
6824 set dummy nmedit; ac_word=$2
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6826 $as_echo_n "checking for $ac_word... " >&6; }
6827 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6828 $as_echo_n "(cached) " >&6
6830 if test -n "$ac_ct_NMEDIT"; then
6831 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6837 test -z "$as_dir" && as_dir=.
6838 for ac_exec_ext in '' $ac_executable_extensions; do
6839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6840 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6850 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6851 if test -n "$ac_ct_NMEDIT"; then
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6853 $as_echo "$ac_ct_NMEDIT" >&6; }
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6856 $as_echo "no" >&6; }
6859 if test "x$ac_ct_NMEDIT" = x; then
6862 case $cross_compiling:$ac_tool_warned in
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6866 ac_tool_warned=yes ;;
6868 NMEDIT=$ac_ct_NMEDIT
6871 NMEDIT="$ac_cv_prog_NMEDIT"
6874 if test -n "$ac_tool_prefix"; then
6875 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6876 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6878 $as_echo_n "checking for $ac_word... " >&6; }
6879 if ${ac_cv_prog_LIPO+:} false; then :
6880 $as_echo_n "(cached) " >&6
6882 if test -n "$LIPO"; then
6883 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6889 test -z "$as_dir" && as_dir=.
6890 for ac_exec_ext in '' $ac_executable_extensions; do
6891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6892 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6902 LIPO=$ac_cv_prog_LIPO
6903 if test -n "$LIPO"; then
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6905 $as_echo "$LIPO" >&6; }
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6908 $as_echo "no" >&6; }
6913 if test -z "$ac_cv_prog_LIPO"; then
6915 # Extract the first word of "lipo", so it can be a program name with args.
6916 set dummy lipo; ac_word=$2
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6918 $as_echo_n "checking for $ac_word... " >&6; }
6919 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6920 $as_echo_n "(cached) " >&6
6922 if test -n "$ac_ct_LIPO"; then
6923 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6929 test -z "$as_dir" && as_dir=.
6930 for ac_exec_ext in '' $ac_executable_extensions; do
6931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6932 ac_cv_prog_ac_ct_LIPO="lipo"
6933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6942 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6943 if test -n "$ac_ct_LIPO"; then
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6945 $as_echo "$ac_ct_LIPO" >&6; }
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6948 $as_echo "no" >&6; }
6951 if test "x$ac_ct_LIPO" = x; then
6954 case $cross_compiling:$ac_tool_warned in
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6958 ac_tool_warned=yes ;;
6963 LIPO="$ac_cv_prog_LIPO"
6966 if test -n "$ac_tool_prefix"; then
6967 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6968 set dummy ${ac_tool_prefix}otool; ac_word=$2
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970 $as_echo_n "checking for $ac_word... " >&6; }
6971 if ${ac_cv_prog_OTOOL+:} false; then :
6972 $as_echo_n "(cached) " >&6
6974 if test -n "$OTOOL"; then
6975 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6981 test -z "$as_dir" && as_dir=.
6982 for ac_exec_ext in '' $ac_executable_extensions; do
6983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6984 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6994 OTOOL=$ac_cv_prog_OTOOL
6995 if test -n "$OTOOL"; then
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6997 $as_echo "$OTOOL" >&6; }
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 $as_echo "no" >&6; }
7005 if test -z "$ac_cv_prog_OTOOL"; then
7007 # Extract the first word of "otool", so it can be a program name with args.
7008 set dummy otool; ac_word=$2
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7010 $as_echo_n "checking for $ac_word... " >&6; }
7011 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7012 $as_echo_n "(cached) " >&6
7014 if test -n "$ac_ct_OTOOL"; then
7015 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021 test -z "$as_dir" && as_dir=.
7022 for ac_exec_ext in '' $ac_executable_extensions; do
7023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7024 ac_cv_prog_ac_ct_OTOOL="otool"
7025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7034 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7035 if test -n "$ac_ct_OTOOL"; then
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7037 $as_echo "$ac_ct_OTOOL" >&6; }
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7040 $as_echo "no" >&6; }
7043 if test "x$ac_ct_OTOOL" = x; then
7046 case $cross_compiling:$ac_tool_warned in
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7050 ac_tool_warned=yes ;;
7055 OTOOL="$ac_cv_prog_OTOOL"
7058 if test -n "$ac_tool_prefix"; then
7059 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7060 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7062 $as_echo_n "checking for $ac_word... " >&6; }
7063 if ${ac_cv_prog_OTOOL64+:} false; then :
7064 $as_echo_n "(cached) " >&6
7066 if test -n "$OTOOL64"; then
7067 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7073 test -z "$as_dir" && as_dir=.
7074 for ac_exec_ext in '' $ac_executable_extensions; do
7075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7076 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7086 OTOOL64=$ac_cv_prog_OTOOL64
7087 if test -n "$OTOOL64"; then
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7089 $as_echo "$OTOOL64" >&6; }
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092 $as_echo "no" >&6; }
7097 if test -z "$ac_cv_prog_OTOOL64"; then
7098 ac_ct_OTOOL64=$OTOOL64
7099 # Extract the first word of "otool64", so it can be a program name with args.
7100 set dummy otool64; ac_word=$2
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7102 $as_echo_n "checking for $ac_word... " >&6; }
7103 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7104 $as_echo_n "(cached) " >&6
7106 if test -n "$ac_ct_OTOOL64"; then
7107 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7113 test -z "$as_dir" && as_dir=.
7114 for ac_exec_ext in '' $ac_executable_extensions; do
7115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7116 ac_cv_prog_ac_ct_OTOOL64="otool64"
7117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7126 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7127 if test -n "$ac_ct_OTOOL64"; then
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7129 $as_echo "$ac_ct_OTOOL64" >&6; }
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132 $as_echo "no" >&6; }
7135 if test "x$ac_ct_OTOOL64" = x; then
7138 case $cross_compiling:$ac_tool_warned in
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7142 ac_tool_warned=yes ;;
7144 OTOOL64=$ac_ct_OTOOL64
7147 OTOOL64="$ac_cv_prog_OTOOL64"
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7177 $as_echo_n "checking for -single_module linker flag... " >&6; }
7178 if ${lt_cv_apple_cc_single_mod+:} false; then :
7179 $as_echo_n "(cached) " >&6
7181 lt_cv_apple_cc_single_mod=no
7182 if test -z "${LT_MULTI_MODULE}"; then
7183 # By default we will add the -single_module flag. You can override
7184 # by either setting the environment variable LT_MULTI_MODULE
7185 # non-empty at configure time, or by adding -multi_module to the
7187 rm -rf libconftest.dylib*
7188 echo "int foo(void){return 1;}" > conftest.c
7189 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7190 -dynamiclib -Wl,-single_module conftest.c" >&5
7191 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7192 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7194 # If there is a non-empty error log, and "single_module"
7195 # appears in it, assume the flag caused a linker warning
7196 if test -s conftest.err && $GREP single_module conftest.err; then
7197 cat conftest.err >&5
7198 # Otherwise, if the output was created with a 0 exit code from
7199 # the compiler, it worked.
7200 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7201 lt_cv_apple_cc_single_mod=yes
7203 cat conftest.err >&5
7205 rm -rf libconftest.dylib*
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7210 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7213 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7214 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7215 $as_echo_n "(cached) " >&6
7217 lt_cv_ld_exported_symbols_list=no
7218 save_LDFLAGS=$LDFLAGS
7219 echo "_main" > conftest.sym
7220 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7222 /* end confdefs.h. */
7232 if ac_fn_c_try_link "$LINENO"; then :
7233 lt_cv_ld_exported_symbols_list=yes
7235 lt_cv_ld_exported_symbols_list=no
7237 rm -f core conftest.err conftest.$ac_objext \
7238 conftest$ac_exeext conftest.$ac_ext
7239 LDFLAGS="$save_LDFLAGS"
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7243 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7246 $as_echo_n "checking for -force_load linker flag... " >&6; }
7247 if ${lt_cv_ld_force_load+:} false; then :
7248 $as_echo_n "(cached) " >&6
7250 lt_cv_ld_force_load=no
7251 cat > conftest.c << _LT_EOF
7252 int forced_loaded() { return 2;}
7254 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7255 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7256 echo "$AR cru libconftest.a conftest.o" >&5
7257 $AR cru libconftest.a conftest.o 2>&5
7258 echo "$RANLIB libconftest.a" >&5
7259 $RANLIB libconftest.a 2>&5
7260 cat > conftest.c << _LT_EOF
7261 int main() { return 0;}
7263 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7264 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7266 if test -s conftest.err && $GREP force_load conftest.err; then
7267 cat conftest.err >&5
7268 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7269 lt_cv_ld_force_load=yes
7271 cat conftest.err >&5
7273 rm -f conftest.err libconftest.a conftest conftest.c
7274 rm -rf conftest.dSYM
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7278 $as_echo "$lt_cv_ld_force_load" >&6; }
7280 rhapsody* | darwin1.[012])
7281 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7283 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7284 darwin*) # darwin 5.x on
7285 # if running on 10.5 or later, the deployment target defaults
7286 # to the OS version, if on x86, and 10.4, the deployment
7287 # target defaults to 10.4. Don't you love it?
7288 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7289 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7290 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7292 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7294 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7298 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7299 _lt_dar_single_mod='$single_module'
7301 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7302 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7304 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7306 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7307 _lt_dsymutil='~$DSYMUTIL $lib || :'
7315 ac_cpp='$CPP $CPPFLAGS'
7316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7320 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7321 # On Suns, sometimes $CPP names a directory.
7322 if test -n "$CPP" && test -d "$CPP"; then
7325 if test -z "$CPP"; then
7326 if ${ac_cv_prog_CPP+:} false; then :
7327 $as_echo_n "(cached) " >&6
7329 # Double quotes because CPP needs to be expanded
7330 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7333 for ac_c_preproc_warn_flag in '' yes
7335 # Use a header file that comes with gcc, so configuring glibc
7336 # with a fresh cross-compiler works.
7337 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7338 # <limits.h> exists even on freestanding compilers.
7339 # On the NeXT, cc -E runs the code through the compiler's parser,
7340 # not just through cpp. "Syntax error" is here to catch this case.
7341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7342 /* end confdefs.h. */
7344 # include <limits.h>
7346 # include <assert.h>
7350 if ac_fn_c_try_cpp "$LINENO"; then :
7353 # Broken: fails on valid input.
7356 rm -f conftest.err conftest.i conftest.$ac_ext
7358 # OK, works on sane cases. Now check whether nonexistent headers
7359 # can be detected and how.
7360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7361 /* end confdefs.h. */
7362 #include <ac_nonexistent.h>
7364 if ac_fn_c_try_cpp "$LINENO"; then :
7365 # Broken: success on invalid input.
7368 # Passes both tests.
7372 rm -f conftest.err conftest.i conftest.$ac_ext
7375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7376 rm -f conftest.i conftest.err conftest.$ac_ext
7377 if $ac_preproc_ok; then :
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7390 $as_echo "$CPP" >&6; }
7392 for ac_c_preproc_warn_flag in '' yes
7394 # Use a header file that comes with gcc, so configuring glibc
7395 # with a fresh cross-compiler works.
7396 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7397 # <limits.h> exists even on freestanding compilers.
7398 # On the NeXT, cc -E runs the code through the compiler's parser,
7399 # not just through cpp. "Syntax error" is here to catch this case.
7400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7401 /* end confdefs.h. */
7403 # include <limits.h>
7405 # include <assert.h>
7409 if ac_fn_c_try_cpp "$LINENO"; then :
7412 # Broken: fails on valid input.
7415 rm -f conftest.err conftest.i conftest.$ac_ext
7417 # OK, works on sane cases. Now check whether nonexistent headers
7418 # can be detected and how.
7419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7420 /* end confdefs.h. */
7421 #include <ac_nonexistent.h>
7423 if ac_fn_c_try_cpp "$LINENO"; then :
7424 # Broken: success on invalid input.
7427 # Passes both tests.
7431 rm -f conftest.err conftest.i conftest.$ac_ext
7434 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7435 rm -f conftest.i conftest.err conftest.$ac_ext
7436 if $ac_preproc_ok; then :
7439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7441 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7442 See \`config.log' for more details" "$LINENO" 5; }
7446 ac_cpp='$CPP $CPPFLAGS'
7447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7453 $as_echo_n "checking for ANSI C header files... " >&6; }
7454 if ${ac_cv_header_stdc+:} false; then :
7455 $as_echo_n "(cached) " >&6
7457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7458 /* end confdefs.h. */
7472 if ac_fn_c_try_compile "$LINENO"; then :
7473 ac_cv_header_stdc=yes
7475 ac_cv_header_stdc=no
7477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7479 if test $ac_cv_header_stdc = yes; then
7480 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7482 /* end confdefs.h. */
7486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7487 $EGREP "memchr" >/dev/null 2>&1; then :
7490 ac_cv_header_stdc=no
7496 if test $ac_cv_header_stdc = yes; then
7497 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7499 /* end confdefs.h. */
7503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7504 $EGREP "free" >/dev/null 2>&1; then :
7507 ac_cv_header_stdc=no
7513 if test $ac_cv_header_stdc = yes; then
7514 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7515 if test "$cross_compiling" = yes; then :
7518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7519 /* end confdefs.h. */
7522 #if ((' ' & 0x0FF) == 0x020)
7523 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7524 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7526 # define ISLOWER(c) \
7527 (('a' <= (c) && (c) <= 'i') \
7528 || ('j' <= (c) && (c) <= 'r') \
7529 || ('s' <= (c) && (c) <= 'z'))
7530 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7533 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7538 for (i = 0; i < 256; i++)
7539 if (XOR (islower (i), ISLOWER (i))
7540 || toupper (i) != TOUPPER (i))
7545 if ac_fn_c_try_run "$LINENO"; then :
7548 ac_cv_header_stdc=no
7550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7551 conftest.$ac_objext conftest.beam conftest.$ac_ext
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7557 $as_echo "$ac_cv_header_stdc" >&6; }
7558 if test $ac_cv_header_stdc = yes; then
7560 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7564 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7565 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7566 inttypes.h stdint.h unistd.h
7568 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7569 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7571 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7572 cat >>confdefs.h <<_ACEOF
7573 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7581 for ac_header in dlfcn.h
7583 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7585 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7586 cat >>confdefs.h <<_ACEOF
7587 #define HAVE_DLFCN_H 1
7599 # Check whether --enable-static was given.
7600 if test "${enable_static+set}" = set; then :
7601 enableval=$enable_static; p=${PACKAGE-default}
7603 yes) enable_static=yes ;;
7604 no) enable_static=no ;;
7607 # Look at the argument we got. We use all the common list separators.
7608 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7609 for pkg in $enableval; do
7611 if test "X$pkg" = "X$p"; then
7637 # Check whether --enable-shared was given.
7638 if test "${enable_shared+set}" = set; then :
7639 enableval=$enable_shared; p=${PACKAGE-default}
7641 yes) enable_shared=yes ;;
7642 no) enable_shared=no ;;
7645 # Look at the argument we got. We use all the common list separators.
7646 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7647 for pkg in $enableval; do
7649 if test "X$pkg" = "X$p"; then
7670 # Check whether --with-pic was given.
7671 if test "${with_pic+set}" = set; then :
7672 withval=$with_pic; lt_p=${PACKAGE-default}
7674 yes|no) pic_mode=$withval ;;
7677 # Look at the argument we got. We use all the common list separators.
7678 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7679 for lt_pkg in $withval; do
7681 if test "X$lt_pkg" = "X$lt_p"; then
7693 test -z "$pic_mode" && pic_mode=default
7701 # Check whether --enable-fast-install was given.
7702 if test "${enable_fast_install+set}" = set; then :
7703 enableval=$enable_fast_install; p=${PACKAGE-default}
7705 yes) enable_fast_install=yes ;;
7706 no) enable_fast_install=no ;;
7708 enable_fast_install=no
7709 # Look at the argument we got. We use all the common list separators.
7710 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7711 for pkg in $enableval; do
7713 if test "X$pkg" = "X$p"; then
7714 enable_fast_install=yes
7721 enable_fast_install=yes
7734 # This can be used to rebuild libtool when needed
7735 LIBTOOL_DEPS="$ltmain"
7737 # Always use our own libtool.
7738 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7769 test -z "$LN_S" && LN_S="ln -s"
7784 if test -n "${ZSH_VERSION+set}" ; then
7785 setopt NO_GLOB_SUBST
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7789 $as_echo_n "checking for objdir... " >&6; }
7790 if ${lt_cv_objdir+:} false; then :
7791 $as_echo_n "(cached) " >&6
7793 rm -f .libs 2>/dev/null
7794 mkdir .libs 2>/dev/null
7795 if test -d .libs; then
7798 # MS-DOS does not allow filenames that begin with a dot.
7801 rmdir .libs 2>/dev/null
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7804 $as_echo "$lt_cv_objdir" >&6; }
7805 objdir=$lt_cv_objdir
7811 cat >>confdefs.h <<_ACEOF
7812 #define LT_OBJDIR "$lt_cv_objdir/"
7820 # AIX sometimes has problems with the GCC collect2 program. For some
7821 # reason, if we set the COLLECT_NAMES environment variable, the problems
7822 # vanish in a puff of smoke.
7823 if test "X${COLLECT_NAMES+set}" != Xset; then
7825 export COLLECT_NAMES
7832 can_build_shared=yes
7834 # All known linkers require a `.a' archive for static linking (except MSVC,
7835 # which needs '.lib').
7838 with_gnu_ld="$lt_cv_prog_gnu_ld"
7841 old_CFLAGS="$CFLAGS"
7843 # Set sane defaults for various variables
7844 test -z "$CC" && CC=cc
7845 test -z "$LTCC" && LTCC=$CC
7846 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7847 test -z "$LD" && LD=ld
7848 test -z "$ac_objext" && ac_objext=o
7850 for cc_temp in $compiler""; do
7852 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7853 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7858 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7861 # Only perform the check for file, if the check method requires it
7862 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7863 case $deplibs_check_method in
7865 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7867 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7868 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7869 $as_echo_n "(cached) " >&6
7873 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7876 lt_save_MAGIC_CMD="$MAGIC_CMD"
7877 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7878 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7879 for ac_dir in $ac_dummy; do
7881 test -z "$ac_dir" && ac_dir=.
7882 if test -f $ac_dir/${ac_tool_prefix}file; then
7883 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7884 if test -n "$file_magic_test_file"; then
7885 case $deplibs_check_method in
7887 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7888 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7889 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7890 $EGREP "$file_magic_regex" > /dev/null; then
7895 *** Warning: the command libtool uses to detect shared libraries,
7896 *** $file_magic_cmd, produces output that libtool cannot recognize.
7897 *** The result is that libtool may fail to recognize shared libraries
7898 *** as such. This will affect the creation of libtool libraries that
7899 *** depend on shared libraries, but programs linked with such libtool
7900 *** libraries will work regardless of this problem. Nevertheless, you
7901 *** may want to report the problem to your system manager and/or to
7902 *** bug-libtool@gnu.org
7912 MAGIC_CMD="$lt_save_MAGIC_CMD"
7917 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7918 if test -n "$MAGIC_CMD"; then
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7920 $as_echo "$MAGIC_CMD" >&6; }
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7923 $as_echo "no" >&6; }
7930 if test -z "$lt_cv_path_MAGIC_CMD"; then
7931 if test -n "$ac_tool_prefix"; then
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7933 $as_echo_n "checking for file... " >&6; }
7934 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7935 $as_echo_n "(cached) " >&6
7939 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7942 lt_save_MAGIC_CMD="$MAGIC_CMD"
7943 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7944 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7945 for ac_dir in $ac_dummy; do
7947 test -z "$ac_dir" && ac_dir=.
7948 if test -f $ac_dir/file; then
7949 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7950 if test -n "$file_magic_test_file"; then
7951 case $deplibs_check_method in
7953 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7954 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7955 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7956 $EGREP "$file_magic_regex" > /dev/null; then
7961 *** Warning: the command libtool uses to detect shared libraries,
7962 *** $file_magic_cmd, produces output that libtool cannot recognize.
7963 *** The result is that libtool may fail to recognize shared libraries
7964 *** as such. This will affect the creation of libtool libraries that
7965 *** depend on shared libraries, but programs linked with such libtool
7966 *** libraries will work regardless of this problem. Nevertheless, you
7967 *** may want to report the problem to your system manager and/or to
7968 *** bug-libtool@gnu.org
7978 MAGIC_CMD="$lt_save_MAGIC_CMD"
7983 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7984 if test -n "$MAGIC_CMD"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7986 $as_echo "$MAGIC_CMD" >&6; }
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
8002 # Use C for the default configuration in the libtool script
8006 ac_cpp='$CPP $CPPFLAGS'
8007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8012 # Source file extension for C test sources.
8015 # Object file extension for compiled C test sources.
8019 # Code to be used in simple compile tests
8020 lt_simple_compile_test_code="int some_variable = 0;"
8022 # Code to be used in simple link tests
8023 lt_simple_link_test_code='int main(){return(0);}'
8031 # If no C compiler was specified, use CC.
8034 # If no C compiler flags were specified, use CFLAGS.
8035 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8037 # Allow CC to be a program name with arguments.
8040 # Save the default compiler, since it gets overwritten when the other
8041 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8042 compiler_DEFAULT=$CC
8044 # save warnings/boilerplate of simple test code
8045 ac_outfile=conftest.$ac_objext
8046 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8047 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8048 _lt_compiler_boilerplate=`cat conftest.err`
8051 ac_outfile=conftest.$ac_objext
8052 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8053 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8054 _lt_linker_boilerplate=`cat conftest.err`
8059 ## There is no encapsulation within the following macros, do not change
8060 ## the running order or otherwise move them around unless you know exactly
8061 ## what you are doing...
8062 if test -n "$compiler"; then
8064 lt_prog_compiler_no_builtin_flag=
8066 if test "$GCC" = yes; then
8067 case $cc_basename in
8069 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8071 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8075 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8076 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8077 $as_echo_n "(cached) " >&6
8079 lt_cv_prog_compiler_rtti_exceptions=no
8080 ac_outfile=conftest.$ac_objext
8081 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8082 lt_compiler_flag="-fno-rtti -fno-exceptions"
8083 # Insert the option either (1) after the last *FLAGS variable, or
8084 # (2) before a word containing "conftest.", or (3) at the end.
8085 # Note that $ac_compile itself does not contain backslashes and begins
8086 # with a dollar sign (not a hyphen), so the echo should work correctly.
8087 # The option is referenced via a variable to avoid confusing sed.
8088 lt_compile=`echo "$ac_compile" | $SED \
8089 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8090 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8091 -e 's:$: $lt_compiler_flag:'`
8092 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8093 (eval "$lt_compile" 2>conftest.err)
8095 cat conftest.err >&5
8096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 if (exit $ac_status) && test -s "$ac_outfile"; then
8098 # The compiler can only warn and ignore the option if not recognized
8099 # So say no if there are warnings other than the usual output.
8100 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8101 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8102 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8103 lt_cv_prog_compiler_rtti_exceptions=yes
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8110 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8112 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8113 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8125 lt_prog_compiler_wl=
8126 lt_prog_compiler_pic=
8127 lt_prog_compiler_static=
8130 if test "$GCC" = yes; then
8131 lt_prog_compiler_wl='-Wl,'
8132 lt_prog_compiler_static='-static'
8136 # All AIX code is PIC.
8137 if test "$host_cpu" = ia64; then
8138 # AIX 5 now supports IA64 processor
8139 lt_prog_compiler_static='-Bstatic'
8146 # see comment about AmigaOS4 .so support
8147 lt_prog_compiler_pic='-fPIC'
8150 # FIXME: we need at least 68020 code to build shared libraries, but
8151 # adding the `-m68020' flag to GCC prevents building anything better,
8153 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8158 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8159 # PIC is the default for these OSes.
8162 mingw* | cygwin* | pw32* | os2* | cegcc*)
8163 # This hack is so that the source file can tell whether it is being
8164 # built for inclusion in a dll (and should export symbols for example).
8165 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8166 # (--disable-auto-import) libraries
8167 lt_prog_compiler_pic='-DDLL_EXPORT'
8170 darwin* | rhapsody*)
8171 # PIC is the default on this platform
8172 # Common symbols not allowed in MH_DYLIB files
8173 lt_prog_compiler_pic='-fno-common'
8177 # PIC is the default for Haiku.
8178 # The "-static" flag exists, but is broken.
8179 lt_prog_compiler_static=
8183 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8184 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8185 # sets the default TLS model and affects inlining.
8191 lt_prog_compiler_pic='-fPIC'
8197 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8198 # Instead, we relocate shared libraries at runtime.
8202 # Just because we use GCC doesn't mean we suddenly get shared libraries
8203 # on systems that don't support them.
8204 lt_prog_compiler_can_build_shared=no
8209 # QNX uses GNU C++, but need to define -shared option too, otherwise
8211 lt_prog_compiler_pic='-fPIC -shared'
8215 if test -d /usr/nec; then
8216 lt_prog_compiler_pic=-Kconform_pic
8221 lt_prog_compiler_pic='-fPIC'
8225 case $cc_basename in
8226 nvcc*) # Cuda Compiler Driver 2.2
8227 lt_prog_compiler_wl='-Xlinker '
8228 if test -n "$lt_prog_compiler_pic"; then
8229 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8234 # PORTME Check for flag to pass linker flags through the system compiler.
8237 lt_prog_compiler_wl='-Wl,'
8238 if test "$host_cpu" = ia64; then
8239 # AIX 5 now supports IA64 processor
8240 lt_prog_compiler_static='-Bstatic'
8242 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8246 mingw* | cygwin* | pw32* | os2* | cegcc*)
8247 # This hack is so that the source file can tell whether it is being
8248 # built for inclusion in a dll (and should export symbols for example).
8249 lt_prog_compiler_pic='-DDLL_EXPORT'
8252 hpux9* | hpux10* | hpux11*)
8253 lt_prog_compiler_wl='-Wl,'
8254 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8261 lt_prog_compiler_pic='+Z'
8264 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8265 lt_prog_compiler_static='${wl}-a ${wl}archive'
8268 irix5* | irix6* | nonstopux*)
8269 lt_prog_compiler_wl='-Wl,'
8270 # PIC (with -KPIC) is the default.
8271 lt_prog_compiler_static='-non_shared'
8274 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8275 case $cc_basename in
8276 # old Intel for x86_64 which still supported -KPIC.
8278 lt_prog_compiler_wl='-Wl,'
8279 lt_prog_compiler_pic='-KPIC'
8280 lt_prog_compiler_static='-static'
8282 # icc used to be incompatible with GCC.
8283 # ICC 10 doesn't accept -KPIC any more.
8285 lt_prog_compiler_wl='-Wl,'
8286 lt_prog_compiler_pic='-fPIC'
8287 lt_prog_compiler_static='-static'
8289 # Lahey Fortran 8.1.
8291 lt_prog_compiler_wl='-Wl,'
8292 lt_prog_compiler_pic='--shared'
8293 lt_prog_compiler_static='--static'
8296 # NAG Fortran compiler
8297 lt_prog_compiler_wl='-Wl,-Wl,,'
8298 lt_prog_compiler_pic='-PIC'
8299 lt_prog_compiler_static='-Bstatic'
8301 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8302 # Portland Group compilers (*not* the Pentium gcc compiler,
8303 # which looks to be a dead project)
8304 lt_prog_compiler_wl='-Wl,'
8305 lt_prog_compiler_pic='-fpic'
8306 lt_prog_compiler_static='-Bstatic'
8309 lt_prog_compiler_wl='-Wl,'
8310 # All Alpha code is PIC.
8311 lt_prog_compiler_static='-non_shared'
8313 xl* | bgxl* | bgf* | mpixl*)
8314 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8315 lt_prog_compiler_wl='-Wl,'
8316 lt_prog_compiler_pic='-qpic'
8317 lt_prog_compiler_static='-qstaticlink'
8320 case `$CC -V 2>&1 | sed 5q` in
8321 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8322 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8323 lt_prog_compiler_pic='-KPIC'
8324 lt_prog_compiler_static='-Bstatic'
8325 lt_prog_compiler_wl=''
8327 *Sun\ F* | *Sun*Fortran*)
8328 lt_prog_compiler_pic='-KPIC'
8329 lt_prog_compiler_static='-Bstatic'
8330 lt_prog_compiler_wl='-Qoption ld '
8334 lt_prog_compiler_pic='-KPIC'
8335 lt_prog_compiler_static='-Bstatic'
8336 lt_prog_compiler_wl='-Wl,'
8338 *Intel*\ [CF]*Compiler*)
8339 lt_prog_compiler_wl='-Wl,'
8340 lt_prog_compiler_pic='-fPIC'
8341 lt_prog_compiler_static='-static'
8344 lt_prog_compiler_wl='-Wl,'
8345 lt_prog_compiler_pic='-fpic'
8346 lt_prog_compiler_static='-Bstatic'
8354 lt_prog_compiler_pic='-KPIC'
8355 lt_prog_compiler_static='-Bstatic'
8359 # QNX uses GNU C++, but need to define -shared option too, otherwise
8361 lt_prog_compiler_pic='-fPIC -shared'
8364 osf3* | osf4* | osf5*)
8365 lt_prog_compiler_wl='-Wl,'
8366 # All OSF/1 code is PIC.
8367 lt_prog_compiler_static='-non_shared'
8371 lt_prog_compiler_static='-non_shared'
8375 lt_prog_compiler_pic='-KPIC'
8376 lt_prog_compiler_static='-Bstatic'
8377 case $cc_basename in
8378 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8379 lt_prog_compiler_wl='-Qoption ld ';;
8381 lt_prog_compiler_wl='-Wl,';;
8386 lt_prog_compiler_wl='-Qoption ld '
8387 lt_prog_compiler_pic='-PIC'
8388 lt_prog_compiler_static='-Bstatic'
8391 sysv4 | sysv4.2uw2* | sysv4.3*)
8392 lt_prog_compiler_wl='-Wl,'
8393 lt_prog_compiler_pic='-KPIC'
8394 lt_prog_compiler_static='-Bstatic'
8398 if test -d /usr/nec ;then
8399 lt_prog_compiler_pic='-Kconform_pic'
8400 lt_prog_compiler_static='-Bstatic'
8404 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8405 lt_prog_compiler_wl='-Wl,'
8406 lt_prog_compiler_pic='-KPIC'
8407 lt_prog_compiler_static='-Bstatic'
8411 lt_prog_compiler_wl='-Wl,'
8412 lt_prog_compiler_can_build_shared=no
8416 lt_prog_compiler_pic='-pic'
8417 lt_prog_compiler_static='-Bstatic'
8421 lt_prog_compiler_can_build_shared=no
8427 # For platforms which do not support PIC, -DPIC is meaningless:
8429 lt_prog_compiler_pic=
8432 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8437 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8438 if ${lt_cv_prog_compiler_pic+:} false; then :
8439 $as_echo_n "(cached) " >&6
8441 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8444 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8445 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8448 # Check to make sure the PIC flag actually works.
8450 if test -n "$lt_prog_compiler_pic"; then
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8452 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8453 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8454 $as_echo_n "(cached) " >&6
8456 lt_cv_prog_compiler_pic_works=no
8457 ac_outfile=conftest.$ac_objext
8458 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8459 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8460 # Insert the option either (1) after the last *FLAGS variable, or
8461 # (2) before a word containing "conftest.", or (3) at the end.
8462 # Note that $ac_compile itself does not contain backslashes and begins
8463 # with a dollar sign (not a hyphen), so the echo should work correctly.
8464 # The option is referenced via a variable to avoid confusing sed.
8465 lt_compile=`echo "$ac_compile" | $SED \
8466 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8467 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8468 -e 's:$: $lt_compiler_flag:'`
8469 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8470 (eval "$lt_compile" 2>conftest.err)
8472 cat conftest.err >&5
8473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8474 if (exit $ac_status) && test -s "$ac_outfile"; then
8475 # The compiler can only warn and ignore the option if not recognized
8476 # So say no if there are warnings other than the usual output.
8477 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8478 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8479 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8480 lt_cv_prog_compiler_pic_works=yes
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8487 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8489 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8490 case $lt_prog_compiler_pic in
8492 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8495 lt_prog_compiler_pic=
8496 lt_prog_compiler_can_build_shared=no
8512 # Check to make sure the static flag actually works.
8514 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8516 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8517 if ${lt_cv_prog_compiler_static_works+:} false; then :
8518 $as_echo_n "(cached) " >&6
8520 lt_cv_prog_compiler_static_works=no
8521 save_LDFLAGS="$LDFLAGS"
8522 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8523 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8524 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8525 # The linker can only warn and ignore the option if not recognized
8526 # So say no if there are warnings
8527 if test -s conftest.err; then
8528 # Append any errors to the config.log.
8529 cat conftest.err 1>&5
8530 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8531 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8532 if diff conftest.exp conftest.er2 >/dev/null; then
8533 lt_cv_prog_compiler_static_works=yes
8536 lt_cv_prog_compiler_static_works=yes
8540 LDFLAGS="$save_LDFLAGS"
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8544 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8546 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8549 lt_prog_compiler_static=
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8559 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8560 if ${lt_cv_prog_compiler_c_o+:} false; then :
8561 $as_echo_n "(cached) " >&6
8563 lt_cv_prog_compiler_c_o=no
8564 $RM -r conftest 2>/dev/null
8568 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8570 lt_compiler_flag="-o out/conftest2.$ac_objext"
8571 # Insert the option either (1) after the last *FLAGS variable, or
8572 # (2) before a word containing "conftest.", or (3) at the end.
8573 # Note that $ac_compile itself does not contain backslashes and begins
8574 # with a dollar sign (not a hyphen), so the echo should work correctly.
8575 lt_compile=`echo "$ac_compile" | $SED \
8576 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8577 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8578 -e 's:$: $lt_compiler_flag:'`
8579 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8580 (eval "$lt_compile" 2>out/conftest.err)
8582 cat out/conftest.err >&5
8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8586 # The compiler can only warn and ignore the option if not recognized
8587 # So say no if there are warnings
8588 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8589 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8590 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8591 lt_cv_prog_compiler_c_o=yes
8596 # SGI C++ compiler will create directory out/ii_files/ for
8597 # template instantiation
8598 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8599 $RM out/* && rmdir out
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8606 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8614 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8615 if ${lt_cv_prog_compiler_c_o+:} false; then :
8616 $as_echo_n "(cached) " >&6
8618 lt_cv_prog_compiler_c_o=no
8619 $RM -r conftest 2>/dev/null
8623 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8625 lt_compiler_flag="-o out/conftest2.$ac_objext"
8626 # Insert the option either (1) after the last *FLAGS variable, or
8627 # (2) before a word containing "conftest.", or (3) at the end.
8628 # Note that $ac_compile itself does not contain backslashes and begins
8629 # with a dollar sign (not a hyphen), so the echo should work correctly.
8630 lt_compile=`echo "$ac_compile" | $SED \
8631 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8632 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8633 -e 's:$: $lt_compiler_flag:'`
8634 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8635 (eval "$lt_compile" 2>out/conftest.err)
8637 cat out/conftest.err >&5
8638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8641 # The compiler can only warn and ignore the option if not recognized
8642 # So say no if there are warnings
8643 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8644 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8645 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8646 lt_cv_prog_compiler_c_o=yes
8651 # SGI C++ compiler will create directory out/ii_files/ for
8652 # template instantiation
8653 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8654 $RM out/* && rmdir out
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8661 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8666 hard_links="nottested"
8667 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8668 # do not overwrite the value of need_locks provided by the user
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8670 $as_echo_n "checking if we can lock with hard links... " >&6; }
8673 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8675 ln conftest.a conftest.b 2>&5 || hard_links=no
8676 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8678 $as_echo "$hard_links" >&6; }
8679 if test "$hard_links" = no; then
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8681 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8694 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8697 allow_undefined_flag=
8698 always_export_symbols=no
8700 archive_expsym_cmds=
8701 compiler_needs_object=no
8702 enable_shared_with_static_runtimes=no
8703 export_dynamic_flag_spec=
8704 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8705 hardcode_automatic=no
8707 hardcode_direct_absolute=no
8708 hardcode_libdir_flag_spec=
8709 hardcode_libdir_separator=
8711 hardcode_shlibpath_var=unsupported
8713 link_all_deplibs=unknown
8716 old_archive_from_new_cmds=
8717 old_archive_from_expsyms_cmds=
8718 thread_safe_flag_spec=
8719 whole_archive_flag_spec=
8720 # include_expsyms should be a list of space-separated symbols to be *always*
8721 # included in the symbol list
8723 # exclude_expsyms can be an extended regexp of symbols to exclude
8724 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8725 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8726 # as well as any symbol that contains `d'.
8727 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8728 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8729 # platforms (ab)use it in PIC code, but their linkers get confused if
8730 # the symbol is explicitly referenced. Since portable code cannot
8731 # rely on this symbol name, it's probably fine to never include it in
8732 # preloaded symbol tables.
8733 # Exclude shared library initialization/finalization symbols.
8734 extract_expsyms_cmds=
8737 cygwin* | mingw* | pw32* | cegcc*)
8738 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8739 # When not using gcc, we currently assume that we are using
8740 # Microsoft Visual C++.
8741 if test "$GCC" != yes; then
8746 # we just hope/assume this is gcc and not c89 (= MSVC++)
8752 linux* | k*bsd*-gnu | gnu*)
8759 # On some targets, GNU ld is compatible enough with the native linker
8760 # that we're better off using the native interface for both.
8761 lt_use_gnu_ld_interface=no
8762 if test "$with_gnu_ld" = yes; then
8765 # The AIX port of GNU ld has always aspired to compatibility
8766 # with the native linker. However, as the warning in the GNU ld
8767 # block says, versions before 2.19.5* couldn't really create working
8768 # shared libraries, regardless of the interface used.
8769 case `$LD -v 2>&1` in
8770 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8771 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8772 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8774 lt_use_gnu_ld_interface=yes
8779 lt_use_gnu_ld_interface=yes
8784 if test "$lt_use_gnu_ld_interface" = yes; then
8785 # If archive_cmds runs LD, not CC, wlarc should be empty
8788 # Set some defaults for GNU ld with shared library support. These
8789 # are reset later if shared libraries are not supported. Putting them
8790 # here allows them to be overridden if necessary.
8791 runpath_var=LD_RUN_PATH
8792 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8793 export_dynamic_flag_spec='${wl}--export-dynamic'
8794 # ancient GNU ld didn't support --whole-archive et. al.
8795 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8796 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8798 whole_archive_flag_spec=
8800 supports_anon_versioning=no
8801 case `$LD -v 2>&1` in
8802 *GNU\ gold*) supports_anon_versioning=yes ;;
8803 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8804 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8805 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8806 *\ 2.11.*) ;; # other 2.11 versions
8807 *) supports_anon_versioning=yes ;;
8810 # See if GNU ld supports shared libraries.
8813 # On AIX/PPC, the GNU linker is very broken
8814 if test "$host_cpu" != ia64; then
8818 *** Warning: the GNU linker, at least up to release 2.19, is reported
8819 *** to be unable to reliably create shared libraries on AIX.
8820 *** Therefore, libtool is disabling shared libraries support. If you
8821 *** really care for shared libraries, you may want to install binutils
8822 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8823 *** You will then need to restart the configuration process.
8832 # see comment about AmigaOS4 .so support
8833 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8834 archive_expsym_cmds=''
8837 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)'
8838 hardcode_libdir_flag_spec='-L$libdir'
8839 hardcode_minus_L=yes
8845 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8846 allow_undefined_flag=unsupported
8847 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8848 # support --undefined. This deserves some investigation. FIXME
8849 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8855 cygwin* | mingw* | pw32* | cegcc*)
8856 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8857 # as there is no search path for DLLs.
8858 hardcode_libdir_flag_spec='-L$libdir'
8859 export_dynamic_flag_spec='${wl}--export-all-symbols'
8860 allow_undefined_flag=unsupported
8861 always_export_symbols=no
8862 enable_shared_with_static_runtimes=yes
8863 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8864 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8866 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8867 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8868 # If the export-symbols file already is a .def file (1st line
8869 # is EXPORTS), use it as is; otherwise, prepend...
8870 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8871 cp $export_symbols $output_objdir/$soname.def;
8873 echo EXPORTS > $output_objdir/$soname.def;
8874 cat $export_symbols >> $output_objdir/$soname.def;
8876 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8883 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8884 link_all_deplibs=yes
8889 hardcode_shlibpath_var=no
8890 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8891 export_dynamic_flag_spec='${wl}-E'
8892 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8893 # Instead, shared libraries are loaded at an image base (0x10000000 by
8894 # default) and relocated if they conflict, which is a slow very memory
8895 # consuming and fragmenting process. To avoid this, we pick a random,
8896 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8897 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8898 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8899 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'
8902 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8904 if test "$host_os" = linux-dietlibc; then
8905 case $cc_basename in
8906 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8909 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8910 && test "$tmp_diet" = no
8912 tmp_addflag=' $pic_flag'
8913 tmp_sharedflag='-shared'
8914 case $cc_basename,$host_cpu in
8915 pgcc*) # Portland Group C compiler
8916 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8917 tmp_addflag=' $pic_flag'
8919 pgf77* | pgf90* | pgf95* | pgfortran*)
8920 # Portland Group f77 and f90 compilers
8921 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8922 tmp_addflag=' $pic_flag -Mnomain' ;;
8923 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8924 tmp_addflag=' -i_dynamic' ;;
8925 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8926 tmp_addflag=' -i_dynamic -nofor_main' ;;
8927 ifc* | ifort*) # Intel Fortran compiler
8928 tmp_addflag=' -nofor_main' ;;
8929 lf95*) # Lahey Fortran 8.1
8930 whole_archive_flag_spec=
8931 tmp_sharedflag='--shared' ;;
8932 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8933 tmp_sharedflag='-qmkshrobj'
8935 nvcc*) # Cuda Compiler Driver 2.2
8936 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8937 compiler_needs_object=yes
8940 case `$CC -V 2>&1 | sed 5q` in
8941 *Sun\ C*) # Sun C 5.9
8942 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8943 compiler_needs_object=yes
8944 tmp_sharedflag='-G' ;;
8945 *Sun\ F*) # Sun Fortran 8.3
8946 tmp_sharedflag='-G' ;;
8948 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8950 if test "x$supports_anon_versioning" = xyes; then
8951 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8952 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8953 echo "local: *; };" >> $output_objdir/$libname.ver~
8954 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8957 case $cc_basename in
8958 xlf* | bgf* | bgxlf* | mpixlf*)
8959 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8960 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8961 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8962 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8963 if test "x$supports_anon_versioning" = xyes; then
8964 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8965 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8966 echo "local: *; };" >> $output_objdir/$libname.ver~
8967 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8976 netbsd* | netbsdelf*-gnu)
8977 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8978 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8981 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8982 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8987 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8991 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8992 *** create shared libraries on Solaris systems. Therefore, libtool
8993 *** is disabling shared libraries support. We urge you to upgrade GNU
8994 *** binutils to release 2.9.1 or newer. Another option is to modify
8995 *** your PATH or compiler configuration so that the native linker is
8996 *** used, and then restart.
8999 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9000 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9001 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9007 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9008 case `$LD -v 2>&1` in
9009 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9013 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9014 *** reliably create shared libraries on SCO systems. Therefore, libtool
9015 *** is disabling shared libraries support. We urge you to upgrade GNU
9016 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9017 *** your PATH or compiler configuration so that the native linker is
9018 *** used, and then restart.
9023 # For security reasons, it is highly recommended that you always
9024 # use absolute paths for naming shared libraries, and exclude the
9025 # DT_RUNPATH tag from executables and libraries. But doing so
9026 # requires that you compile everything twice, which is a pain.
9027 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9028 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9029 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9030 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9039 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9042 hardcode_shlibpath_var=no
9046 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9047 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9048 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9055 if test "$ld_shlibs" = no; then
9057 hardcode_libdir_flag_spec=
9058 export_dynamic_flag_spec=
9059 whole_archive_flag_spec=
9062 # PORTME fill in a description of your system's linker (not GNU ld)
9065 allow_undefined_flag=unsupported
9066 always_export_symbols=yes
9067 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'
9068 # Note: this linker hardcodes the directories in LIBPATH if there
9069 # are no directories specified by -L.
9070 hardcode_minus_L=yes
9071 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9072 # Neither direct hardcoding nor static linking is supported with a
9074 hardcode_direct=unsupported
9079 if test "$host_cpu" = ia64; then
9080 # On IA64, the linker does run time linking by default, so we don't
9081 # have to do anything special.
9082 aix_use_runtimelinking=no
9083 exp_sym_flag='-Bexport'
9086 # If we're using GNU nm, then we don't want the "-C" option.
9087 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9088 # Also, AIX nm treats weak defined symbols like other global
9089 # defined symbols, whereas GNU nm marks them as "W".
9090 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9091 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9093 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'
9095 aix_use_runtimelinking=no
9097 # Test if we are trying to use run time linking or normal
9098 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9099 # need to do runtime linking.
9100 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9101 for ld_flag in $LDFLAGS; do
9102 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9103 aix_use_runtimelinking=yes
9110 exp_sym_flag='-bexport'
9111 no_entry_flag='-bnoentry'
9114 # When large executables or shared objects are built, AIX ld can
9115 # have problems creating the table of contents. If linking a library
9116 # or program results in "error TOC overflow" add -mminimal-toc to
9117 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9118 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9122 hardcode_direct_absolute=yes
9123 hardcode_libdir_separator=':'
9124 link_all_deplibs=yes
9125 file_list_spec='${wl}-f,'
9127 if test "$GCC" = yes; then
9128 case $host_os in aix4.[012]|aix4.[012].*)
9129 # We only want to do this on AIX 4.2 and lower, the check
9130 # below for broken collect2 doesn't work under 4.3+
9131 collect2name=`${CC} -print-prog-name=collect2`
9132 if test -f "$collect2name" &&
9133 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9135 # We have reworked collect2
9138 # We have old collect2
9139 hardcode_direct=unsupported
9140 # It fails to find uninstalled libraries when the uninstalled
9141 # path is not listed in the libpath. Setting hardcode_minus_L
9142 # to unsupported forces relinking
9143 hardcode_minus_L=yes
9144 hardcode_libdir_flag_spec='-L$libdir'
9145 hardcode_libdir_separator=
9149 shared_flag='-shared'
9150 if test "$aix_use_runtimelinking" = yes; then
9151 shared_flag="$shared_flag "'${wl}-G'
9156 if test "$host_cpu" = ia64; then
9157 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9158 # chokes on -Wl,-G. The following line is correct:
9161 if test "$aix_use_runtimelinking" = yes; then
9162 shared_flag='${wl}-G'
9164 shared_flag='${wl}-bM:SRE'
9169 export_dynamic_flag_spec='${wl}-bexpall'
9170 # It seems that -bexpall does not export symbols beginning with
9171 # underscore (_), so it is better to generate a list of symbols to export.
9172 always_export_symbols=yes
9173 if test "$aix_use_runtimelinking" = yes; then
9174 # Warning - without using the other runtime loading flags (-brtl),
9175 # -berok will link without error, but may produce a broken library.
9176 allow_undefined_flag='-berok'
9177 # Determine the default libpath from the value encoded in an
9179 if test "${lt_cv_aix_libpath+set}" = set; then
9180 aix_libpath=$lt_cv_aix_libpath
9182 if ${lt_cv_aix_libpath_+:} false; then :
9183 $as_echo_n "(cached) " >&6
9185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9196 if ac_fn_c_try_link "$LINENO"; then :
9198 lt_aix_libpath_sed='
9199 /Import File Strings/,/^$/ {
9201 s/^0 *\([^ ]*\) *$/\1/
9205 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9206 # Check for a 64-bit object if we didn't find anything.
9207 if test -z "$lt_cv_aix_libpath_"; then
9208 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9211 rm -f core conftest.err conftest.$ac_objext \
9212 conftest$ac_exeext conftest.$ac_ext
9213 if test -z "$lt_cv_aix_libpath_"; then
9214 lt_cv_aix_libpath_="/usr/lib:/lib"
9219 aix_libpath=$lt_cv_aix_libpath_
9222 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9223 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9225 if test "$host_cpu" = ia64; then
9226 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9227 allow_undefined_flag="-z nodefs"
9228 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"
9230 # Determine the default libpath from the value encoded in an
9232 if test "${lt_cv_aix_libpath+set}" = set; then
9233 aix_libpath=$lt_cv_aix_libpath
9235 if ${lt_cv_aix_libpath_+:} false; then :
9236 $as_echo_n "(cached) " >&6
9238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9239 /* end confdefs.h. */
9249 if ac_fn_c_try_link "$LINENO"; then :
9251 lt_aix_libpath_sed='
9252 /Import File Strings/,/^$/ {
9254 s/^0 *\([^ ]*\) *$/\1/
9258 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9259 # Check for a 64-bit object if we didn't find anything.
9260 if test -z "$lt_cv_aix_libpath_"; then
9261 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9264 rm -f core conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 if test -z "$lt_cv_aix_libpath_"; then
9267 lt_cv_aix_libpath_="/usr/lib:/lib"
9272 aix_libpath=$lt_cv_aix_libpath_
9275 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9276 # Warning - without using the other run time loading flags,
9277 # -berok will link without error, but may produce a broken library.
9278 no_undefined_flag=' ${wl}-bernotok'
9279 allow_undefined_flag=' ${wl}-berok'
9280 if test "$with_gnu_ld" = yes; then
9281 # We only use this code for GNU lds that support --whole-archive.
9282 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9284 # Exported symbols can be pulled into shared objects from archives
9285 whole_archive_flag_spec='$convenience'
9287 archive_cmds_need_lc=yes
9288 # This is similar to how AIX traditionally builds its shared libraries.
9289 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'
9297 # see comment about AmigaOS4 .so support
9298 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9299 archive_expsym_cmds=''
9302 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)'
9303 hardcode_libdir_flag_spec='-L$libdir'
9304 hardcode_minus_L=yes
9310 export_dynamic_flag_spec=-rdynamic
9313 cygwin* | mingw* | pw32* | cegcc*)
9314 # When not using gcc, we currently assume that we are using
9315 # Microsoft Visual C++.
9316 # hardcode_libdir_flag_spec is actually meaningless, as there is
9317 # no search path for DLLs.
9318 case $cc_basename in
9321 hardcode_libdir_flag_spec=' '
9322 allow_undefined_flag=unsupported
9323 always_export_symbols=yes
9325 # Tell ltmain to make .lib files, not .a files.
9327 # Tell ltmain to make .dll files, not .so files.
9329 # FIXME: Setting linknames here is a bad hack.
9330 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9331 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9332 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9334 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9336 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9338 # The linker will not automatically build a static lib if we build a DLL.
9339 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9340 enable_shared_with_static_runtimes=yes
9341 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9342 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9344 old_postinstall_cmds='chmod 644 $oldlib'
9345 postlink_cmds='lt_outputfile="@OUTPUT@"~
9346 lt_tool_outputfile="@TOOL_OUTPUT@"~
9347 case $lt_outputfile in
9350 lt_outputfile="$lt_outputfile.exe"
9351 lt_tool_outputfile="$lt_tool_outputfile.exe"
9354 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9355 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9356 $RM "$lt_outputfile.manifest";
9360 # Assume MSVC wrapper
9361 hardcode_libdir_flag_spec=' '
9362 allow_undefined_flag=unsupported
9363 # Tell ltmain to make .lib files, not .a files.
9365 # Tell ltmain to make .dll files, not .so files.
9367 # FIXME: Setting linknames here is a bad hack.
9368 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9369 # The linker will automatically build a .lib file if we build a DLL.
9370 old_archive_from_new_cmds='true'
9371 # FIXME: Should let the user specify the lib program.
9372 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9373 enable_shared_with_static_runtimes=yes
9378 darwin* | rhapsody*)
9381 archive_cmds_need_lc=no
9383 hardcode_automatic=yes
9384 hardcode_shlibpath_var=unsupported
9385 if test "$lt_cv_ld_force_load" = "yes"; then
9386 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9389 whole_archive_flag_spec=''
9391 link_all_deplibs=yes
9392 allow_undefined_flag="$_lt_dar_allow_undefined"
9393 case $cc_basename in
9394 ifort*) _lt_dar_can_shared=yes ;;
9395 *) _lt_dar_can_shared=$GCC ;;
9397 if test "$_lt_dar_can_shared" = "yes"; then
9398 output_verbose_link_cmd=func_echo_all
9399 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9400 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9401 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}"
9402 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}"
9411 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9412 hardcode_libdir_flag_spec='-L$libdir'
9413 hardcode_shlibpath_var=no
9416 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9417 # support. Future versions do this automatically, but an explicit c++rt0.o
9418 # does not break anything, and helps significantly (at the cost of a little
9421 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9422 hardcode_libdir_flag_spec='-R$libdir'
9424 hardcode_shlibpath_var=no
9427 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9429 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9431 hardcode_minus_L=yes
9432 hardcode_shlibpath_var=no
9435 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9436 freebsd* | dragonfly*)
9437 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9438 hardcode_libdir_flag_spec='-R$libdir'
9440 hardcode_shlibpath_var=no
9444 if test "$GCC" = yes; then
9445 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9447 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'
9449 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9450 hardcode_libdir_separator=:
9453 # hardcode_minus_L: Not really in the search PATH,
9454 # but as the default location of the library.
9455 hardcode_minus_L=yes
9456 export_dynamic_flag_spec='${wl}-E'
9460 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9461 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9463 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9465 if test "$with_gnu_ld" = no; then
9466 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9467 hardcode_libdir_separator=:
9469 hardcode_direct_absolute=yes
9470 export_dynamic_flag_spec='${wl}-E'
9471 # hardcode_minus_L: Not really in the search PATH,
9472 # but as the default location of the library.
9473 hardcode_minus_L=yes
9478 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9481 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9484 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9487 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9493 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9496 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9500 # Older versions of the 11.00 compiler do not understand -b yet
9501 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9503 $as_echo_n "checking if $CC understands -b... " >&6; }
9504 if ${lt_cv_prog_compiler__b+:} false; then :
9505 $as_echo_n "(cached) " >&6
9507 lt_cv_prog_compiler__b=no
9508 save_LDFLAGS="$LDFLAGS"
9509 LDFLAGS="$LDFLAGS -b"
9510 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9511 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9512 # The linker can only warn and ignore the option if not recognized
9513 # So say no if there are warnings
9514 if test -s conftest.err; then
9515 # Append any errors to the config.log.
9516 cat conftest.err 1>&5
9517 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9518 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9519 if diff conftest.exp conftest.er2 >/dev/null; then
9520 lt_cv_prog_compiler__b=yes
9523 lt_cv_prog_compiler__b=yes
9527 LDFLAGS="$save_LDFLAGS"
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9531 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9533 if test x"$lt_cv_prog_compiler__b" = xyes; then
9534 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9536 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9542 if test "$with_gnu_ld" = no; then
9543 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9544 hardcode_libdir_separator=:
9549 hardcode_shlibpath_var=no
9553 hardcode_direct_absolute=yes
9554 export_dynamic_flag_spec='${wl}-E'
9556 # hardcode_minus_L: Not really in the search PATH,
9557 # but as the default location of the library.
9558 hardcode_minus_L=yes
9564 irix5* | irix6* | nonstopux*)
9565 if test "$GCC" = yes; then
9566 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9567 # Try to use the -exported_symbol ld option, if it does not
9568 # work, assume that -exports_file does not work either and
9569 # implicitly export all symbols.
9570 # This should be the same for all languages, so no per-tag cache variable.
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9572 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9573 if ${lt_cv_irix_exported_symbol+:} false; then :
9574 $as_echo_n "(cached) " >&6
9576 save_LDFLAGS="$LDFLAGS"
9577 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9579 /* end confdefs.h. */
9580 int foo (void) { return 0; }
9582 if ac_fn_c_try_link "$LINENO"; then :
9583 lt_cv_irix_exported_symbol=yes
9585 lt_cv_irix_exported_symbol=no
9587 rm -f core conftest.err conftest.$ac_objext \
9588 conftest$ac_exeext conftest.$ac_ext
9589 LDFLAGS="$save_LDFLAGS"
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9592 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9593 if test "$lt_cv_irix_exported_symbol" = yes; then
9594 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9597 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9598 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9600 archive_cmds_need_lc='no'
9601 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9602 hardcode_libdir_separator=:
9604 link_all_deplibs=yes
9607 netbsd* | netbsdelf*-gnu)
9608 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9609 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9611 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9613 hardcode_libdir_flag_spec='-R$libdir'
9615 hardcode_shlibpath_var=no
9619 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9621 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9622 hardcode_libdir_separator=:
9623 hardcode_shlibpath_var=no
9630 if test -f /usr/libexec/ld.so; then
9632 hardcode_shlibpath_var=no
9633 hardcode_direct_absolute=yes
9634 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9635 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9636 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9637 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9638 export_dynamic_flag_spec='${wl}-E'
9641 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9642 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9643 hardcode_libdir_flag_spec='-R$libdir'
9646 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9647 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9657 hardcode_libdir_flag_spec='-L$libdir'
9658 hardcode_minus_L=yes
9659 allow_undefined_flag=unsupported
9660 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'
9661 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9665 if test "$GCC" = yes; then
9666 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9667 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9669 allow_undefined_flag=' -expect_unresolved \*'
9670 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9672 archive_cmds_need_lc='no'
9673 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9674 hardcode_libdir_separator=:
9677 osf4* | osf5*) # as osf3* with the addition of -msym flag
9678 if test "$GCC" = yes; then
9679 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9680 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9681 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9683 allow_undefined_flag=' -expect_unresolved \*'
9684 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9685 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~
9686 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9688 # Both c and cxx compiler support -rpath directly
9689 hardcode_libdir_flag_spec='-rpath $libdir'
9691 archive_cmds_need_lc='no'
9692 hardcode_libdir_separator=:
9696 no_undefined_flag=' -z defs'
9697 if test "$GCC" = yes; then
9699 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9700 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9701 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9703 case `$CC -V 2>&1` in
9706 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9707 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9708 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9712 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9713 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9714 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9718 hardcode_libdir_flag_spec='-R$libdir'
9719 hardcode_shlibpath_var=no
9721 solaris2.[0-5] | solaris2.[0-5].*) ;;
9723 # The compiler driver will combine and reorder linker options,
9724 # but understands `-z linker_flag'. GCC discards it without `$wl',
9725 # but is careful enough not to reorder.
9726 # Supported since Solaris 2.6 (maybe 2.5.1?)
9727 if test "$GCC" = yes; then
9728 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9730 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9734 link_all_deplibs=yes
9738 if test "x$host_vendor" = xsequent; then
9739 # Use $CC to link under sequent, because it throws in some extra .o
9740 # files that make .init and .fini sections work.
9741 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9743 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9745 hardcode_libdir_flag_spec='-L$libdir'
9747 hardcode_minus_L=yes
9748 hardcode_shlibpath_var=no
9752 case $host_vendor in
9754 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9755 hardcode_direct=yes # is this really true???
9758 ## LD is ld it makes a PLAMLIB
9759 ## CC just makes a GrossModule.
9760 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9761 reload_cmds='$CC -r -o $output$reload_objs'
9765 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9766 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9769 runpath_var='LD_RUN_PATH'
9770 hardcode_shlibpath_var=no
9774 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9775 hardcode_shlibpath_var=no
9776 export_dynamic_flag_spec='-Bexport'
9780 if test -d /usr/nec; then
9781 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9782 hardcode_shlibpath_var=no
9783 runpath_var=LD_RUN_PATH
9784 hardcode_runpath_var=yes
9789 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9790 no_undefined_flag='${wl}-z,text'
9791 archive_cmds_need_lc=no
9792 hardcode_shlibpath_var=no
9793 runpath_var='LD_RUN_PATH'
9795 if test "$GCC" = yes; then
9796 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9797 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9799 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9800 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9804 sysv5* | sco3.2v5* | sco5v6*)
9805 # Note: We can NOT use -z defs as we might desire, because we do not
9806 # link with -lc, and that would cause any symbols used from libc to
9807 # always be unresolved, which means just about no library would
9808 # ever link correctly. If we're not using GNU ld we use -z text
9809 # though, which does catch some bad symbols but isn't as heavy-handed
9811 no_undefined_flag='${wl}-z,text'
9812 allow_undefined_flag='${wl}-z,nodefs'
9813 archive_cmds_need_lc=no
9814 hardcode_shlibpath_var=no
9815 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9816 hardcode_libdir_separator=':'
9817 link_all_deplibs=yes
9818 export_dynamic_flag_spec='${wl}-Bexport'
9819 runpath_var='LD_RUN_PATH'
9821 if test "$GCC" = yes; then
9822 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9823 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9825 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9826 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9831 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9832 hardcode_libdir_flag_spec='-L$libdir'
9833 hardcode_shlibpath_var=no
9841 if test x$host_vendor = xsni; then
9843 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9844 export_dynamic_flag_spec='${wl}-Blargedynsym'
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9851 $as_echo "$ld_shlibs" >&6; }
9852 test "$ld_shlibs" = no && can_build_shared=no
9854 with_gnu_ld=$with_gnu_ld
9871 # Do we need to explicitly link libc?
9873 case "x$archive_cmds_need_lc" in
9875 # Assume -lc should be added
9876 archive_cmds_need_lc=yes
9878 if test "$enable_shared" = yes && test "$GCC" = yes; then
9879 case $archive_cmds in
9881 # FIXME: we may have to deal with multi-command sequences.
9884 # Test whether the compiler implicitly links with -lc since on some
9885 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9886 # to ld, don't add -lc before -lgcc.
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9888 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9889 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9890 $as_echo_n "(cached) " >&6
9893 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9895 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9896 (eval $ac_compile) 2>&5
9898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9899 test $ac_status = 0; } 2>conftest.err; then
9902 libobjs=conftest.$ac_objext
9904 wl=$lt_prog_compiler_wl
9905 pic_flag=$lt_prog_compiler_pic
9911 lt_save_allow_undefined_flag=$allow_undefined_flag
9912 allow_undefined_flag=
9913 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9914 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9917 test $ac_status = 0; }
9919 lt_cv_archive_cmds_need_lc=no
9921 lt_cv_archive_cmds_need_lc=yes
9923 allow_undefined_flag=$lt_save_allow_undefined_flag
9925 cat conftest.err 1>&5
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9931 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9932 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10091 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10093 if test "$GCC" = yes; then
10095 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10096 *) lt_awk_arg="/^libraries:/" ;;
10099 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10100 *) lt_sed_strip_eq="s,=/,/,g" ;;
10102 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10103 case $lt_search_path_spec in
10105 # if the path contains ";" then we assume it to be the separator
10106 # otherwise default to the standard path separator (i.e. ":") - it is
10107 # assumed that no part of a normal pathname contains ";" but that should
10108 # okay in the real world where ";" in dirpaths is itself problematic.
10109 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10112 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10115 # Ok, now we have the path, separated by spaces, we can step through it
10116 # and add multilib dir if necessary.
10117 lt_tmp_lt_search_path_spec=
10118 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10119 for lt_sys_path in $lt_search_path_spec; do
10120 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10121 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10123 test -d "$lt_sys_path" && \
10124 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10127 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10128 BEGIN {RS=" "; FS="/|\n";} {
10131 for (lt_i = NF; lt_i > 0; lt_i--) {
10132 if ($lt_i != "" && $lt_i != ".") {
10133 if ($lt_i == "..") {
10136 if (lt_count == 0) {
10137 lt_foo="/" $lt_i lt_foo;
10144 if (lt_foo != "") { lt_freq[lt_foo]++; }
10145 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10147 # AWK program above erroneously prepends '/' to C:/dos/paths
10150 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10151 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10153 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10155 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10157 library_names_spec=
10158 libname_spec='lib$name'
10162 postuninstall_cmds=
10166 shlibpath_overrides_runpath=unknown
10168 dynamic_linker="$host_os ld.so"
10169 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10170 need_lib_prefix=unknown
10171 hardcode_into_libs=no
10173 # when you set need_version to no, make sure it does not cause -set_version
10174 # flags to be left without arguments
10175 need_version=unknown
10179 version_type=linux # correct to gnu/linux during the next big refactor
10180 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10181 shlibpath_var=LIBPATH
10183 # AIX 3 has no versioning support, so we append a major version to the name.
10184 soname_spec='${libname}${release}${shared_ext}$major'
10188 version_type=linux # correct to gnu/linux during the next big refactor
10191 hardcode_into_libs=yes
10192 if test "$host_cpu" = ia64; then
10193 # AIX 5 supports IA64
10194 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10195 shlibpath_var=LD_LIBRARY_PATH
10197 # With GCC up to 2.95.x, collect2 would create an import file
10198 # for dependence libraries. The import file would start with
10199 # the line `#! .'. This would cause the generated library to
10200 # depend on `.', always an invalid library. This was fixed in
10201 # development snapshots of GCC prior to 3.0.
10203 aix4 | aix4.[01] | aix4.[01].*)
10204 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10206 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10209 can_build_shared=no
10213 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10214 # soname into executable. Probably we can add versioning support to
10215 # collect2, so additional links can be useful in future.
10216 if test "$aix_use_runtimelinking" = yes; then
10217 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10218 # instead of lib<name>.a to let people know that these are not
10219 # typical AIX shared libraries.
10220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10222 # We preserve .a as extension for shared libraries through AIX4.2
10223 # and later when we are not doing run time linking.
10224 library_names_spec='${libname}${release}.a $libname.a'
10225 soname_spec='${libname}${release}${shared_ext}$major'
10227 shlibpath_var=LIBPATH
10234 # Since July 2007 AmigaOS4 officially supports .so libraries.
10235 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10236 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10239 library_names_spec='$libname.ixlibrary $libname.a'
10240 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10241 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10247 library_names_spec='${libname}${shared_ext}'
10248 dynamic_linker="$host_os ld.so"
10249 shlibpath_var=LIBRARY_PATH
10253 version_type=linux # correct to gnu/linux during the next big refactor
10255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10256 soname_spec='${libname}${release}${shared_ext}$major'
10257 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10258 shlibpath_var=LD_LIBRARY_PATH
10259 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10260 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10261 # the default ld.so.conf also contains /usr/contrib/lib and
10262 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10263 # libtool to hard-code these into programs
10266 cygwin* | mingw* | pw32* | cegcc*)
10267 version_type=windows
10272 case $GCC,$cc_basename in
10275 library_names_spec='$libname.dll.a'
10276 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10277 postinstall_cmds='base_file=`basename \${file}`~
10278 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10279 dldir=$destdir/`dirname \$dlpath`~
10280 test -d \$dldir || mkdir -p \$dldir~
10281 $install_prog $dir/$dlname \$dldir/$dlname~
10282 chmod a+x \$dldir/$dlname~
10283 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10284 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10286 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10287 dlpath=$dir/\$dldll~
10289 shlibpath_overrides_runpath=yes
10293 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10294 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10296 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10299 # MinGW DLLs use traditional 'lib' prefix
10300 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10303 # pw32 DLLs use 'pw' prefix rather than 'lib'
10304 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10307 dynamic_linker='Win32 ld.exe'
10312 libname_spec='$name'
10313 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10314 library_names_spec='${libname}.dll.lib'
10318 sys_lib_search_path_spec=
10321 for lt_path in $LIB
10324 # Let DOS variable expansion print the short 8.3 style file name.
10325 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10326 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10329 # Convert to MSYS style.
10330 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10333 # Convert to unix form, then to dos form, then back to unix form
10334 # but this time dos style (no spaces!) so that the unix form looks
10335 # like /cygdrive/c/PROGRA~1:/cygdr...
10336 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10337 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10338 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10341 sys_lib_search_path_spec="$LIB"
10342 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10343 # It is most probably a Windows format PATH.
10344 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10346 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10348 # FIXME: find the short name or the path components, as spaces are
10349 # common. (e.g. "Program Files" -> "PROGRA~1")
10353 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10354 postinstall_cmds='base_file=`basename \${file}`~
10355 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10356 dldir=$destdir/`dirname \$dlpath`~
10357 test -d \$dldir || mkdir -p \$dldir~
10358 $install_prog $dir/$dlname \$dldir/$dlname'
10359 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10360 dlpath=$dir/\$dldll~
10362 shlibpath_overrides_runpath=yes
10363 dynamic_linker='Win32 link.exe'
10367 # Assume MSVC wrapper
10368 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10369 dynamic_linker='Win32 ld.exe'
10372 # FIXME: first we should search . and the directory the executable is in
10376 darwin* | rhapsody*)
10377 dynamic_linker="$host_os dyld"
10378 version_type=darwin
10381 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10382 soname_spec='${libname}${release}${major}$shared_ext'
10383 shlibpath_overrides_runpath=yes
10384 shlibpath_var=DYLD_LIBRARY_PATH
10385 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10387 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10388 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10392 version_type=linux # correct to gnu/linux during the next big refactor
10395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10396 soname_spec='${libname}${release}${shared_ext}$major'
10397 shlibpath_var=LD_LIBRARY_PATH
10400 freebsd* | dragonfly*)
10401 # DragonFly does not have aout. When/if they implement a new
10402 # versioning mechanism, adjust this.
10403 if test -x /usr/bin/objformat; then
10404 objformat=`/usr/bin/objformat`
10407 freebsd[23].*) objformat=aout ;;
10408 *) objformat=elf ;;
10411 version_type=freebsd-$objformat
10412 case $version_type in
10414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10419 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10423 shlibpath_var=LD_LIBRARY_PATH
10426 shlibpath_overrides_runpath=yes
10428 freebsd3.[01]* | freebsdelf3.[01]*)
10429 shlibpath_overrides_runpath=yes
10430 hardcode_into_libs=yes
10432 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10433 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10434 shlibpath_overrides_runpath=no
10435 hardcode_into_libs=yes
10437 *) # from 4.6 on, and DragonFly
10438 shlibpath_overrides_runpath=yes
10439 hardcode_into_libs=yes
10445 version_type=linux # correct to gnu/linux during the next big refactor
10448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10449 soname_spec='${libname}${release}${shared_ext}$major'
10450 shlibpath_var=LD_LIBRARY_PATH
10451 shlibpath_overrides_runpath=no
10452 hardcode_into_libs=yes
10456 version_type=linux # correct to gnu/linux during the next big refactor
10459 dynamic_linker="$host_os runtime_loader"
10460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10461 soname_spec='${libname}${release}${shared_ext}$major'
10462 shlibpath_var=LIBRARY_PATH
10463 shlibpath_overrides_runpath=yes
10464 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10465 hardcode_into_libs=yes
10468 hpux9* | hpux10* | hpux11*)
10469 # Give a soname corresponding to the major version so that dld.sl refuses to
10470 # link against other versions.
10477 hardcode_into_libs=yes
10478 dynamic_linker="$host_os dld.so"
10479 shlibpath_var=LD_LIBRARY_PATH
10480 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10482 soname_spec='${libname}${release}${shared_ext}$major'
10483 if test "X$HPUX_IA64_MODE" = X32; then
10484 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10486 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10488 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10492 hardcode_into_libs=yes
10493 dynamic_linker="$host_os dld.sl"
10494 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10495 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10497 soname_spec='${libname}${release}${shared_ext}$major'
10498 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10499 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10503 dynamic_linker="$host_os dld.sl"
10504 shlibpath_var=SHLIB_PATH
10505 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10507 soname_spec='${libname}${release}${shared_ext}$major'
10510 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10511 postinstall_cmds='chmod 555 $lib'
10512 # or fails outright, so override atomically:
10513 install_override_mode=555
10517 version_type=linux # correct to gnu/linux during the next big refactor
10520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10521 soname_spec='${libname}${release}${shared_ext}$major'
10522 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10523 shlibpath_var=LD_LIBRARY_PATH
10524 shlibpath_overrides_runpath=no
10525 hardcode_into_libs=yes
10528 irix5* | irix6* | nonstopux*)
10530 nonstopux*) version_type=nonstopux ;;
10532 if test "$lt_cv_prog_gnu_ld" = yes; then
10533 version_type=linux # correct to gnu/linux during the next big refactor
10540 soname_spec='${libname}${release}${shared_ext}$major'
10541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10543 irix5* | nonstopux*)
10544 libsuff= shlibsuff=
10547 case $LD in # libtool.m4 will add one of these switches to LD
10548 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10549 libsuff= shlibsuff= libmagic=32-bit;;
10550 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10551 libsuff=32 shlibsuff=N32 libmagic=N32;;
10552 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10553 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10554 *) libsuff= shlibsuff= libmagic=never-match;;
10558 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10559 shlibpath_overrides_runpath=no
10560 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10561 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10562 hardcode_into_libs=yes
10565 # No shared lib support for Linux oldld, aout, or coff.
10566 linux*oldld* | linux*aout* | linux*coff*)
10570 # This must be glibc/ELF.
10571 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10572 version_type=linux # correct to gnu/linux during the next big refactor
10575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10576 soname_spec='${libname}${release}${shared_ext}$major'
10577 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10578 shlibpath_var=LD_LIBRARY_PATH
10579 shlibpath_overrides_runpath=no
10581 # Some binutils ld are patched to set DT_RUNPATH
10582 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10583 $as_echo_n "(cached) " >&6
10585 lt_cv_shlibpath_overrides_runpath=no
10586 save_LDFLAGS=$LDFLAGS
10587 save_libdir=$libdir
10588 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10589 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10591 /* end confdefs.h. */
10601 if ac_fn_c_try_link "$LINENO"; then :
10602 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10603 lt_cv_shlibpath_overrides_runpath=yes
10606 rm -f core conftest.err conftest.$ac_objext \
10607 conftest$ac_exeext conftest.$ac_ext
10608 LDFLAGS=$save_LDFLAGS
10609 libdir=$save_libdir
10613 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10615 # This implies no fast_install, which is unacceptable.
10616 # Some rework will be needed to allow for fast_install
10617 # before this can be enabled.
10618 hardcode_into_libs=yes
10620 # Append ld.so.conf contents to the search path
10621 if test -f /etc/ld.so.conf; then
10622 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10623 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10626 # We used to test for /lib/ld.so.1 and disable shared libraries on
10627 # powerpc, because MkLinux only supported shared libraries with the
10628 # GNU dynamic linker. Since this was broken with cross compilers,
10629 # most powerpc-linux boxes support dynamic linking these days and
10630 # people can always --disable-shared, the test was removed, and we
10631 # assume the GNU/Linux dynamic linker is in use.
10632 dynamic_linker='GNU/Linux ld.so'
10639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10640 soname_spec='${libname}${release}${shared_ext}$major'
10641 shlibpath_var=LD_LIBRARY_PATH
10642 shlibpath_overrides_runpath=no
10643 hardcode_into_libs=yes
10644 dynamic_linker='NetBSD ld.elf_so'
10651 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10653 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10654 dynamic_linker='NetBSD (a.out) ld.so'
10656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10657 soname_spec='${libname}${release}${shared_ext}$major'
10658 dynamic_linker='NetBSD ld.elf_so'
10660 shlibpath_var=LD_LIBRARY_PATH
10661 shlibpath_overrides_runpath=yes
10662 hardcode_into_libs=yes
10666 version_type=linux # correct to gnu/linux during the next big refactor
10667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10668 shlibpath_var=LD_LIBRARY_PATH
10669 shlibpath_overrides_runpath=yes
10676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10677 soname_spec='${libname}${release}${shared_ext}$major'
10678 shlibpath_var=LD_LIBRARY_PATH
10679 shlibpath_overrides_runpath=no
10680 hardcode_into_libs=yes
10681 dynamic_linker='ldqnx.so'
10686 sys_lib_dlsearch_path_spec="/usr/lib"
10688 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10690 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10691 *) need_version=no ;;
10693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10694 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10695 shlibpath_var=LD_LIBRARY_PATH
10696 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10698 openbsd2.[89] | openbsd2.[89].*)
10699 shlibpath_overrides_runpath=no
10702 shlibpath_overrides_runpath=yes
10706 shlibpath_overrides_runpath=yes
10711 libname_spec='$name'
10714 library_names_spec='$libname${shared_ext} $libname.a'
10715 dynamic_linker='OS/2 ld.exe'
10716 shlibpath_var=LIBPATH
10719 osf3* | osf4* | osf5*)
10723 soname_spec='${libname}${release}${shared_ext}$major'
10724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10725 shlibpath_var=LD_LIBRARY_PATH
10726 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10727 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10735 version_type=linux # correct to gnu/linux during the next big refactor
10738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10739 soname_spec='${libname}${release}${shared_ext}$major'
10740 shlibpath_var=LD_LIBRARY_PATH
10741 shlibpath_overrides_runpath=yes
10742 hardcode_into_libs=yes
10743 # ldd complains unless libraries are executable
10744 postinstall_cmds='chmod +x $lib'
10749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10750 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10751 shlibpath_var=LD_LIBRARY_PATH
10752 shlibpath_overrides_runpath=yes
10753 if test "$with_gnu_ld" = yes; then
10760 version_type=linux # correct to gnu/linux during the next big refactor
10761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10762 soname_spec='${libname}${release}${shared_ext}$major'
10763 shlibpath_var=LD_LIBRARY_PATH
10764 case $host_vendor in
10766 shlibpath_overrides_runpath=no
10768 runpath_var=LD_RUN_PATH
10776 shlibpath_overrides_runpath=no
10777 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10783 if test -d /usr/nec ;then
10784 version_type=linux # correct to gnu/linux during the next big refactor
10785 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10786 soname_spec='$libname${shared_ext}.$major'
10787 shlibpath_var=LD_LIBRARY_PATH
10791 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10792 version_type=freebsd-elf
10795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10796 soname_spec='${libname}${release}${shared_ext}$major'
10797 shlibpath_var=LD_LIBRARY_PATH
10798 shlibpath_overrides_runpath=yes
10799 hardcode_into_libs=yes
10800 if test "$with_gnu_ld" = yes; then
10801 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10803 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10806 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10810 sys_lib_dlsearch_path_spec='/usr/lib'
10814 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10815 version_type=linux # correct to gnu/linux during the next big refactor
10818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10819 shlibpath_var=LD_LIBRARY_PATH
10820 shlibpath_overrides_runpath=no
10821 hardcode_into_libs=yes
10825 version_type=linux # correct to gnu/linux during the next big refactor
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 shlibpath_var=LD_LIBRARY_PATH
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10836 $as_echo "$dynamic_linker" >&6; }
10837 test "$dynamic_linker" = no && can_build_shared=no
10839 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10840 if test "$GCC" = yes; then
10841 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10844 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10845 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10847 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10848 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10943 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10945 if test -n "$hardcode_libdir_flag_spec" ||
10946 test -n "$runpath_var" ||
10947 test "X$hardcode_automatic" = "Xyes" ; then
10949 # We can hardcode non-existent directories.
10950 if test "$hardcode_direct" != no &&
10951 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10952 # have to relink, otherwise we might link with an installed library
10953 # when we should be linking with a yet-to-be-installed one
10954 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10955 test "$hardcode_minus_L" != no; then
10956 # Linking always hardcodes the temporary library directory.
10957 hardcode_action=relink
10959 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10960 hardcode_action=immediate
10963 # We cannot hardcode anything, or else we can only hardcode existing
10965 hardcode_action=unsupported
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10968 $as_echo "$hardcode_action" >&6; }
10970 if test "$hardcode_action" = relink ||
10971 test "$inherit_rpath" = yes; then
10972 # Fast installation is not supported
10973 enable_fast_install=no
10974 elif test "$shlibpath_overrides_runpath" = yes ||
10975 test "$enable_shared" = no; then
10976 # Fast installation is not necessary
10977 enable_fast_install=needless
10985 if test "x$enable_dlopen" != xyes; then
10986 enable_dlopen=unknown
10987 enable_dlopen_self=unknown
10988 enable_dlopen_self_static=unknown
10995 lt_cv_dlopen="load_add_on"
10997 lt_cv_dlopen_self=yes
11000 mingw* | pw32* | cegcc*)
11001 lt_cv_dlopen="LoadLibrary"
11006 lt_cv_dlopen="dlopen"
11011 # if libdl is installed we need to link against it
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11013 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11014 if ${ac_cv_lib_dl_dlopen+:} false; then :
11015 $as_echo_n "(cached) " >&6
11017 ac_check_lib_save_LIBS=$LIBS
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11022 /* Override any GCC internal prototype to avoid an error.
11023 Use char because int might match the return type of a GCC
11024 builtin and then its argument prototype would still apply. */
11037 if ac_fn_c_try_link "$LINENO"; then :
11038 ac_cv_lib_dl_dlopen=yes
11040 ac_cv_lib_dl_dlopen=no
11042 rm -f core conftest.err conftest.$ac_objext \
11043 conftest$ac_exeext conftest.$ac_ext
11044 LIBS=$ac_check_lib_save_LIBS
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11047 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11048 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11049 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11052 lt_cv_dlopen="dyld"
11054 lt_cv_dlopen_self=yes
11061 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11062 if test "x$ac_cv_func_shl_load" = xyes; then :
11063 lt_cv_dlopen="shl_load"
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11066 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11067 if ${ac_cv_lib_dld_shl_load+:} false; then :
11068 $as_echo_n "(cached) " >&6
11070 ac_check_lib_save_LIBS=$LIBS
11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11075 /* Override any GCC internal prototype to avoid an error.
11076 Use char because int might match the return type of a GCC
11077 builtin and then its argument prototype would still apply. */
11085 return shl_load ();
11090 if ac_fn_c_try_link "$LINENO"; then :
11091 ac_cv_lib_dld_shl_load=yes
11093 ac_cv_lib_dld_shl_load=no
11095 rm -f core conftest.err conftest.$ac_objext \
11096 conftest$ac_exeext conftest.$ac_ext
11097 LIBS=$ac_check_lib_save_LIBS
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11100 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11101 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11102 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11104 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11105 if test "x$ac_cv_func_dlopen" = xyes; then :
11106 lt_cv_dlopen="dlopen"
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11109 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11110 if ${ac_cv_lib_dl_dlopen+:} false; then :
11111 $as_echo_n "(cached) " >&6
11113 ac_check_lib_save_LIBS=$LIBS
11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11118 /* Override any GCC internal prototype to avoid an error.
11119 Use char because int might match the return type of a GCC
11120 builtin and then its argument prototype would still apply. */
11133 if ac_fn_c_try_link "$LINENO"; then :
11134 ac_cv_lib_dl_dlopen=yes
11136 ac_cv_lib_dl_dlopen=no
11138 rm -f core conftest.err conftest.$ac_objext \
11139 conftest$ac_exeext conftest.$ac_ext
11140 LIBS=$ac_check_lib_save_LIBS
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11143 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11144 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11145 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11148 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11149 if ${ac_cv_lib_svld_dlopen+:} false; then :
11150 $as_echo_n "(cached) " >&6
11152 ac_check_lib_save_LIBS=$LIBS
11153 LIBS="-lsvld $LIBS"
11154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11155 /* end confdefs.h. */
11157 /* Override any GCC internal prototype to avoid an error.
11158 Use char because int might match the return type of a GCC
11159 builtin and then its argument prototype would still apply. */
11172 if ac_fn_c_try_link "$LINENO"; then :
11173 ac_cv_lib_svld_dlopen=yes
11175 ac_cv_lib_svld_dlopen=no
11177 rm -f core conftest.err conftest.$ac_objext \
11178 conftest$ac_exeext conftest.$ac_ext
11179 LIBS=$ac_check_lib_save_LIBS
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11182 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11183 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11184 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11187 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11188 if ${ac_cv_lib_dld_dld_link+:} false; then :
11189 $as_echo_n "(cached) " >&6
11191 ac_check_lib_save_LIBS=$LIBS
11193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11194 /* end confdefs.h. */
11196 /* Override any GCC internal prototype to avoid an error.
11197 Use char because int might match the return type of a GCC
11198 builtin and then its argument prototype would still apply. */
11206 return dld_link ();
11211 if ac_fn_c_try_link "$LINENO"; then :
11212 ac_cv_lib_dld_dld_link=yes
11214 ac_cv_lib_dld_dld_link=no
11216 rm -f core conftest.err conftest.$ac_objext \
11217 conftest$ac_exeext conftest.$ac_ext
11218 LIBS=$ac_check_lib_save_LIBS
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11221 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11222 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11223 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11244 if test "x$lt_cv_dlopen" != xno; then
11250 case $lt_cv_dlopen in
11252 save_CPPFLAGS="$CPPFLAGS"
11253 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11255 save_LDFLAGS="$LDFLAGS"
11256 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11259 LIBS="$lt_cv_dlopen_libs $LIBS"
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11262 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11263 if ${lt_cv_dlopen_self+:} false; then :
11264 $as_echo_n "(cached) " >&6
11266 if test "$cross_compiling" = yes; then :
11267 lt_cv_dlopen_self=cross
11269 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11270 lt_status=$lt_dlunknown
11271 cat > conftest.$ac_ext <<_LT_EOF
11272 #line $LINENO "configure"
11273 #include "confdefs.h"
11282 # define LT_DLGLOBAL RTLD_GLOBAL
11285 # define LT_DLGLOBAL DL_GLOBAL
11287 # define LT_DLGLOBAL 0
11291 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11292 find out it does not work in some platform. */
11293 #ifndef LT_DLLAZY_OR_NOW
11295 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11298 # define LT_DLLAZY_OR_NOW DL_LAZY
11301 # define LT_DLLAZY_OR_NOW RTLD_NOW
11304 # define LT_DLLAZY_OR_NOW DL_NOW
11306 # define LT_DLLAZY_OR_NOW 0
11313 /* When -fvisbility=hidden is used, assume the code has been annotated
11314 correspondingly for the symbols needed. */
11315 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11316 int fnord () __attribute__((visibility("default")));
11319 int fnord () { return 42; }
11322 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11323 int status = $lt_dlunknown;
11327 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11330 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11331 else puts (dlerror ());
11333 /* dlclose (self); */
11341 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11342 (eval $ac_link) 2>&5
11344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11345 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11346 (./conftest; exit; ) >&5 2>/dev/null
11348 case x$lt_status in
11349 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11350 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11351 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11354 # compilation failed
11355 lt_cv_dlopen_self=no
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11363 $as_echo "$lt_cv_dlopen_self" >&6; }
11365 if test "x$lt_cv_dlopen_self" = xyes; then
11366 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11368 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11369 if ${lt_cv_dlopen_self_static+:} false; then :
11370 $as_echo_n "(cached) " >&6
11372 if test "$cross_compiling" = yes; then :
11373 lt_cv_dlopen_self_static=cross
11375 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11376 lt_status=$lt_dlunknown
11377 cat > conftest.$ac_ext <<_LT_EOF
11378 #line $LINENO "configure"
11379 #include "confdefs.h"
11388 # define LT_DLGLOBAL RTLD_GLOBAL
11391 # define LT_DLGLOBAL DL_GLOBAL
11393 # define LT_DLGLOBAL 0
11397 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11398 find out it does not work in some platform. */
11399 #ifndef LT_DLLAZY_OR_NOW
11401 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11404 # define LT_DLLAZY_OR_NOW DL_LAZY
11407 # define LT_DLLAZY_OR_NOW RTLD_NOW
11410 # define LT_DLLAZY_OR_NOW DL_NOW
11412 # define LT_DLLAZY_OR_NOW 0
11419 /* When -fvisbility=hidden is used, assume the code has been annotated
11420 correspondingly for the symbols needed. */
11421 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11422 int fnord () __attribute__((visibility("default")));
11425 int fnord () { return 42; }
11428 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11429 int status = $lt_dlunknown;
11433 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11436 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11437 else puts (dlerror ());
11439 /* dlclose (self); */
11447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11448 (eval $ac_link) 2>&5
11450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11451 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11452 (./conftest; exit; ) >&5 2>/dev/null
11454 case x$lt_status in
11455 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11456 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11457 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11460 # compilation failed
11461 lt_cv_dlopen_self_static=no
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11469 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11472 CPPFLAGS="$save_CPPFLAGS"
11473 LDFLAGS="$save_LDFLAGS"
11478 case $lt_cv_dlopen_self in
11479 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11480 *) enable_dlopen_self=unknown ;;
11483 case $lt_cv_dlopen_self_static in
11484 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11485 *) enable_dlopen_self_static=unknown ;;
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11508 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11509 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11510 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11511 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11513 $as_echo "yes" >&6; }
11515 # FIXME - insert some real tests, host_os isn't really good enough
11518 if test -n "$STRIP" ; then
11519 striplib="$STRIP -x"
11520 old_striplib="$STRIP -S"
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11522 $as_echo "yes" >&6; }
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11525 $as_echo "no" >&6; }
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11530 $as_echo "no" >&6; }
11546 # Report which library types will actually be built
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11548 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11550 $as_echo "$can_build_shared" >&6; }
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11553 $as_echo_n "checking whether to build shared libraries... " >&6; }
11554 test "$can_build_shared" = "no" && enable_shared=no
11556 # On AIX, shared libraries and static libraries use the same namespace, and
11557 # are all built from PIC.
11560 test "$enable_shared" = yes && enable_static=no
11561 if test -n "$RANLIB"; then
11562 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11563 postinstall_cmds='$RANLIB $lib'
11568 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11569 test "$enable_shared" = yes && enable_static=no
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11574 $as_echo "$enable_shared" >&6; }
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11577 $as_echo_n "checking whether to build static libraries... " >&6; }
11578 # Make sure either enable_shared or enable_static is yes.
11579 test "$enable_shared" = yes || enable_static=yes
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11581 $as_echo "$enable_static" >&6; }
11588 ac_cpp='$CPP $CPPFLAGS'
11589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11609 ac_config_commands="$ac_config_commands libtool"
11614 # Only expand once:
11618 # Check for programs
11620 ac_cpp='$CPP $CPPFLAGS'
11621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11624 if test -n "$ac_tool_prefix"; then
11625 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11626 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11628 $as_echo_n "checking for $ac_word... " >&6; }
11629 if ${ac_cv_prog_CC+:} false; then :
11630 $as_echo_n "(cached) " >&6
11632 if test -n "$CC"; then
11633 ac_cv_prog_CC="$CC" # Let the user override the test.
11635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11636 for as_dir in $PATH
11639 test -z "$as_dir" && as_dir=.
11640 for ac_exec_ext in '' $ac_executable_extensions; do
11641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11642 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11653 if test -n "$CC"; then
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11655 $as_echo "$CC" >&6; }
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11658 $as_echo "no" >&6; }
11663 if test -z "$ac_cv_prog_CC"; then
11665 # Extract the first word of "gcc", so it can be a program name with args.
11666 set dummy gcc; ac_word=$2
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11668 $as_echo_n "checking for $ac_word... " >&6; }
11669 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11670 $as_echo_n "(cached) " >&6
11672 if test -n "$ac_ct_CC"; then
11673 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11676 for as_dir in $PATH
11679 test -z "$as_dir" && as_dir=.
11680 for ac_exec_ext in '' $ac_executable_extensions; do
11681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11682 ac_cv_prog_ac_ct_CC="gcc"
11683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11692 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11693 if test -n "$ac_ct_CC"; then
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11695 $as_echo "$ac_ct_CC" >&6; }
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11698 $as_echo "no" >&6; }
11701 if test "x$ac_ct_CC" = x; then
11704 case $cross_compiling:$ac_tool_warned in
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11708 ac_tool_warned=yes ;;
11713 CC="$ac_cv_prog_CC"
11716 if test -z "$CC"; then
11717 if test -n "$ac_tool_prefix"; then
11718 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11719 set dummy ${ac_tool_prefix}cc; ac_word=$2
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11721 $as_echo_n "checking for $ac_word... " >&6; }
11722 if ${ac_cv_prog_CC+:} false; then :
11723 $as_echo_n "(cached) " >&6
11725 if test -n "$CC"; then
11726 ac_cv_prog_CC="$CC" # Let the user override the test.
11728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11729 for as_dir in $PATH
11732 test -z "$as_dir" && as_dir=.
11733 for ac_exec_ext in '' $ac_executable_extensions; do
11734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11735 ac_cv_prog_CC="${ac_tool_prefix}cc"
11736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11746 if test -n "$CC"; then
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11748 $as_echo "$CC" >&6; }
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11751 $as_echo "no" >&6; }
11757 if test -z "$CC"; then
11758 # Extract the first word of "cc", so it can be a program name with args.
11759 set dummy cc; ac_word=$2
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11761 $as_echo_n "checking for $ac_word... " >&6; }
11762 if ${ac_cv_prog_CC+:} false; then :
11763 $as_echo_n "(cached) " >&6
11765 if test -n "$CC"; then
11766 ac_cv_prog_CC="$CC" # Let the user override the test.
11768 ac_prog_rejected=no
11769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11770 for as_dir in $PATH
11773 test -z "$as_dir" && as_dir=.
11774 for ac_exec_ext in '' $ac_executable_extensions; do
11775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11776 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11777 ac_prog_rejected=yes
11781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11788 if test $ac_prog_rejected = yes; then
11789 # We found a bogon in the path, so make sure we never use it.
11790 set dummy $ac_cv_prog_CC
11792 if test $# != 0; then
11793 # We chose a different compiler from the bogus one.
11794 # However, it has the same basename, so the bogon will be chosen
11795 # first if we set CC to just the basename; use the full file name.
11797 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11803 if test -n "$CC"; then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11805 $as_echo "$CC" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11808 $as_echo "no" >&6; }
11813 if test -z "$CC"; then
11814 if test -n "$ac_tool_prefix"; then
11815 for ac_prog in cl.exe
11817 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11818 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11820 $as_echo_n "checking for $ac_word... " >&6; }
11821 if ${ac_cv_prog_CC+:} false; then :
11822 $as_echo_n "(cached) " >&6
11824 if test -n "$CC"; then
11825 ac_cv_prog_CC="$CC" # Let the user override the test.
11827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11828 for as_dir in $PATH
11831 test -z "$as_dir" && as_dir=.
11832 for ac_exec_ext in '' $ac_executable_extensions; do
11833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11834 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11845 if test -n "$CC"; then
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11847 $as_echo "$CC" >&6; }
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11850 $as_echo "no" >&6; }
11854 test -n "$CC" && break
11857 if test -z "$CC"; then
11859 for ac_prog in cl.exe
11861 # Extract the first word of "$ac_prog", so it can be a program name with args.
11862 set dummy $ac_prog; ac_word=$2
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11864 $as_echo_n "checking for $ac_word... " >&6; }
11865 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11866 $as_echo_n "(cached) " >&6
11868 if test -n "$ac_ct_CC"; then
11869 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11872 for as_dir in $PATH
11875 test -z "$as_dir" && as_dir=.
11876 for ac_exec_ext in '' $ac_executable_extensions; do
11877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11878 ac_cv_prog_ac_ct_CC="$ac_prog"
11879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11888 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11889 if test -n "$ac_ct_CC"; then
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11891 $as_echo "$ac_ct_CC" >&6; }
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11894 $as_echo "no" >&6; }
11898 test -n "$ac_ct_CC" && break
11901 if test "x$ac_ct_CC" = x; then
11904 case $cross_compiling:$ac_tool_warned in
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11908 ac_tool_warned=yes ;;
11917 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11919 as_fn_error $? "no acceptable C compiler found in \$PATH
11920 See \`config.log' for more details" "$LINENO" 5; }
11922 # Provide some information about the compiler.
11923 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11926 for ac_option in --version -v -V -qversion; do
11927 { { ac_try="$ac_compiler $ac_option >&5"
11928 case "(($ac_try" in
11929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11930 *) ac_try_echo=$ac_try;;
11932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11933 $as_echo "$ac_try_echo"; } >&5
11934 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11936 if test -s conftest.err; then
11938 ... rest of stderr output deleted ...
11939 10q' conftest.err >conftest.er1
11940 cat conftest.er1 >&5
11942 rm -f conftest.er1 conftest.err
11943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11944 test $ac_status = 0; }
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11948 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11949 if ${ac_cv_c_compiler_gnu+:} false; then :
11950 $as_echo_n "(cached) " >&6
11952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11953 /* end confdefs.h. */
11966 if ac_fn_c_try_compile "$LINENO"; then :
11967 ac_compiler_gnu=yes
11971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11972 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11976 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11977 if test $ac_compiler_gnu = yes; then
11982 ac_test_CFLAGS=${CFLAGS+set}
11983 ac_save_CFLAGS=$CFLAGS
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11985 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11986 if ${ac_cv_prog_cc_g+:} false; then :
11987 $as_echo_n "(cached) " >&6
11989 ac_save_c_werror_flag=$ac_c_werror_flag
11990 ac_c_werror_flag=yes
11993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
12004 if ac_fn_c_try_compile "$LINENO"; then :
12005 ac_cv_prog_cc_g=yes
12008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h. */
12019 if ac_fn_c_try_compile "$LINENO"; then :
12022 ac_c_werror_flag=$ac_save_c_werror_flag
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12035 if ac_fn_c_try_compile "$LINENO"; then :
12036 ac_cv_prog_cc_g=yes
12038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12043 ac_c_werror_flag=$ac_save_c_werror_flag
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12046 $as_echo "$ac_cv_prog_cc_g" >&6; }
12047 if test "$ac_test_CFLAGS" = set; then
12048 CFLAGS=$ac_save_CFLAGS
12049 elif test $ac_cv_prog_cc_g = yes; then
12050 if test "$GCC" = yes; then
12056 if test "$GCC" = yes; then
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12063 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12064 if ${ac_cv_prog_cc_c89+:} false; then :
12065 $as_echo_n "(cached) " >&6
12067 ac_cv_prog_cc_c89=no
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12071 #include <stdarg.h>
12073 #include <sys/types.h>
12074 #include <sys/stat.h>
12075 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12076 struct buf { int x; };
12077 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12078 static char *e (p, i)
12084 static char *f (char * (*g) (char **, int), char **p, ...)
12089 s = g (p, va_arg (v,int));
12094 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12095 function prototypes and stuff, but not '\xHH' hex character constants.
12096 These don't provoke an error unfortunately, instead are silently treated
12097 as 'x'. The following induces an error, until -std is added to get
12098 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12099 array size at least. It's necessary to write '\x00'==0 to get something
12100 that's true only with -std. */
12101 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12103 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12104 inside strings and character constants. */
12106 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12108 int test (int i, double x);
12109 struct s1 {int (*f) (int a);};
12110 struct s2 {int (*f) (double a);};
12111 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12117 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12122 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12123 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12125 CC="$ac_save_CC $ac_arg"
12126 if ac_fn_c_try_compile "$LINENO"; then :
12127 ac_cv_prog_cc_c89=$ac_arg
12129 rm -f core conftest.err conftest.$ac_objext
12130 test "x$ac_cv_prog_cc_c89" != "xno" && break
12132 rm -f conftest.$ac_ext
12137 case "x$ac_cv_prog_cc_c89" in
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12140 $as_echo "none needed" >&6; } ;;
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12143 $as_echo "unsupported" >&6; } ;;
12145 CC="$CC $ac_cv_prog_cc_c89"
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12147 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12149 if test "x$ac_cv_prog_cc_c89" != xno; then :
12154 ac_cpp='$CPP $CPPFLAGS'
12155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12159 depcc="$CC" am_compiler_list=
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12162 $as_echo_n "checking dependency style of $depcc... " >&6; }
12163 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12164 $as_echo_n "(cached) " >&6
12166 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12167 # We make a subdir and do the tests there. Otherwise we can end up
12168 # making bogus files that we don't know about and never remove. For
12169 # instance it was reported that on HP-UX the gcc test will end up
12170 # making a dummy file named `D' -- because `-MD' means `put the output
12172 rm -rf conftest.dir
12174 # Copy depcomp to subdir because otherwise we won't find it if we're
12175 # using a relative directory.
12176 cp "$am_depcomp" conftest.dir
12178 # We will build objects and dependencies in a subdirectory because
12179 # it helps to detect inapplicable dependency modes. For instance
12180 # both Tru64's cc and ICC support -MD to output dependencies as a
12181 # side effect of compilation, but ICC will put the dependencies in
12182 # the current directory while Tru64 will put them in the object
12186 am_cv_CC_dependencies_compiler_type=none
12187 if test "$am_compiler_list" = ""; then
12188 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12190 am__universal=false
12191 case " $depcc " in #(
12192 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12195 for depmode in $am_compiler_list; do
12196 # Setup a source with many dependencies, because some compilers
12197 # like to wrap large dependency lists on column 80 (with \), and
12198 # we should not choose a depcomp mode which is confused by this.
12200 # We need to recreate these files for each test, as the compiler may
12201 # overwrite some of them when testing with obscure command lines.
12202 # This happens at least with the AIX C compiler.
12204 for i in 1 2 3 4 5 6; do
12205 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12206 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12207 # Solaris 8's {/usr,}/bin/sh.
12208 touch sub/conftst$i.h
12210 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12212 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12213 # mode. It turns out that the SunPro C++ compiler does not properly
12214 # handle `-M -o', and we need to detect this. Also, some Intel
12215 # versions had trouble with output in subdirs
12216 am__obj=sub/conftest.${OBJEXT-o}
12217 am__minus_obj="-o $am__obj"
12220 # This depmode causes a compiler race in universal mode.
12221 test "$am__universal" = false || continue
12224 # after this tag, mechanisms are not by side-effect, so they'll
12225 # only be used when explicitly requested
12226 if test "x$enable_dependency_tracking" = xyes; then
12232 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12233 # This compiler won't grok `-c -o', but also, the minuso test has
12234 # not run yet. These depmodes are late enough in the game, and
12235 # so weak that their functioning should not be impacted.
12236 am__obj=conftest.${OBJEXT-o}
12241 if depmode=$depmode \
12242 source=sub/conftest.c object=$am__obj \
12243 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12244 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12245 >/dev/null 2>conftest.err &&
12246 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12247 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12248 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12249 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12250 # icc doesn't choke on unknown options, it will just issue warnings
12251 # or remarks (even with -Werror). So we grep stderr for any message
12252 # that says an option was ignored or not supported.
12253 # When given -MP, icc 7.0 and 7.1 complain thusly:
12254 # icc: Command line warning: ignoring option '-M'; no argument required
12255 # The diagnosis changed in icc 8.0:
12256 # icc: Command line remark: option '-MP' not supported
12257 if (grep 'ignoring option' conftest.err ||
12258 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12259 am_cv_CC_dependencies_compiler_type=$depmode
12266 rm -rf conftest.dir
12268 am_cv_CC_dependencies_compiler_type=none
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12273 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12274 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12277 test "x$enable_dependency_tracking" != xno \
12278 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12279 am__fastdepCC_TRUE=
12280 am__fastdepCC_FALSE='#'
12282 am__fastdepCC_TRUE='#'
12283 am__fastdepCC_FALSE=
12287 if test "x$CC" != xcc; then
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12289 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12292 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12294 set dummy $CC; ac_cc=`$as_echo "$2" |
12295 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12296 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12297 $as_echo_n "(cached) " >&6
12299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12310 # Make sure it works both with $CC and with simple cc.
12311 # We do the test twice because some compilers refuse to overwrite an
12312 # existing .o file with -o, though they will create one.
12313 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12315 if { { case "(($ac_try" in
12316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12317 *) ac_try_echo=$ac_try;;
12319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12320 $as_echo "$ac_try_echo"; } >&5
12321 (eval "$ac_try") 2>&5
12323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12324 test $ac_status = 0; } &&
12325 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12327 *) ac_try_echo=$ac_try;;
12329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12330 $as_echo "$ac_try_echo"; } >&5
12331 (eval "$ac_try") 2>&5
12333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12334 test $ac_status = 0; };
12336 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12337 if test "x$CC" != xcc; then
12338 # Test first that cc exists at all.
12339 if { ac_try='cc -c conftest.$ac_ext >&5'
12340 { { case "(($ac_try" in
12341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12342 *) ac_try_echo=$ac_try;;
12344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12345 $as_echo "$ac_try_echo"; } >&5
12346 (eval "$ac_try") 2>&5
12348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12349 test $ac_status = 0; }; }; then
12350 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12352 if { { case "(($ac_try" in
12353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12354 *) ac_try_echo=$ac_try;;
12356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12357 $as_echo "$ac_try_echo"; } >&5
12358 (eval "$ac_try") 2>&5
12360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12361 test $ac_status = 0; } &&
12362 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12364 *) ac_try_echo=$ac_try;;
12366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12367 $as_echo "$ac_try_echo"; } >&5
12368 (eval "$ac_try") 2>&5
12370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12371 test $ac_status = 0; };
12376 # cc exists but doesn't like -o.
12377 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12382 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12384 rm -f core conftest*
12387 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12389 $as_echo "yes" >&6; }
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12392 $as_echo "no" >&6; }
12394 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12398 # FIXME: we rely on the cache variable name because
12399 # there is no other way.
12401 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12402 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12403 if test "$am_t" != yes; then
12404 # Losing compiler, so override with the script.
12405 # FIXME: It is wrong to rewrite CC.
12406 # But if we don't then we get into trouble of one sort or another.
12407 # A longer-term fix would be to have automake use am__CC in this case,
12408 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12409 CC="$am_aux_dir/compile $CC"
12414 ac_cpp='$CXXCPP $CPPFLAGS'
12415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12418 if test -z "$CXX"; then
12419 if test -n "$CCC"; then
12422 if test -n "$ac_tool_prefix"; then
12423 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12425 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12426 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12428 $as_echo_n "checking for $ac_word... " >&6; }
12429 if ${ac_cv_prog_CXX+:} false; then :
12430 $as_echo_n "(cached) " >&6
12432 if test -n "$CXX"; then
12433 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12436 for as_dir in $PATH
12439 test -z "$as_dir" && as_dir=.
12440 for ac_exec_ext in '' $ac_executable_extensions; do
12441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12442 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12452 CXX=$ac_cv_prog_CXX
12453 if test -n "$CXX"; then
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12455 $as_echo "$CXX" >&6; }
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12458 $as_echo "no" >&6; }
12462 test -n "$CXX" && break
12465 if test -z "$CXX"; then
12467 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12469 # Extract the first word of "$ac_prog", so it can be a program name with args.
12470 set dummy $ac_prog; ac_word=$2
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12472 $as_echo_n "checking for $ac_word... " >&6; }
12473 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12474 $as_echo_n "(cached) " >&6
12476 if test -n "$ac_ct_CXX"; then
12477 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12480 for as_dir in $PATH
12483 test -z "$as_dir" && as_dir=.
12484 for ac_exec_ext in '' $ac_executable_extensions; do
12485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12486 ac_cv_prog_ac_ct_CXX="$ac_prog"
12487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12496 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12497 if test -n "$ac_ct_CXX"; then
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12499 $as_echo "$ac_ct_CXX" >&6; }
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12502 $as_echo "no" >&6; }
12506 test -n "$ac_ct_CXX" && break
12509 if test "x$ac_ct_CXX" = x; then
12512 case $cross_compiling:$ac_tool_warned in
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12516 ac_tool_warned=yes ;;
12524 # Provide some information about the compiler.
12525 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12528 for ac_option in --version -v -V -qversion; do
12529 { { ac_try="$ac_compiler $ac_option >&5"
12530 case "(($ac_try" in
12531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12532 *) ac_try_echo=$ac_try;;
12534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12535 $as_echo "$ac_try_echo"; } >&5
12536 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12538 if test -s conftest.err; then
12540 ... rest of stderr output deleted ...
12541 10q' conftest.err >conftest.er1
12542 cat conftest.er1 >&5
12544 rm -f conftest.er1 conftest.err
12545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12546 test $ac_status = 0; }
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12550 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12551 if ${ac_cv_cxx_compiler_gnu+:} false; then :
12552 $as_echo_n "(cached) " >&6
12554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12555 /* end confdefs.h. */
12568 if ac_fn_cxx_try_compile "$LINENO"; then :
12569 ac_compiler_gnu=yes
12573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12574 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12578 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12579 if test $ac_compiler_gnu = yes; then
12584 ac_test_CXXFLAGS=${CXXFLAGS+set}
12585 ac_save_CXXFLAGS=$CXXFLAGS
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12587 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12588 if ${ac_cv_prog_cxx_g+:} false; then :
12589 $as_echo_n "(cached) " >&6
12591 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12592 ac_cxx_werror_flag=yes
12593 ac_cv_prog_cxx_g=no
12595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12606 if ac_fn_cxx_try_compile "$LINENO"; then :
12607 ac_cv_prog_cxx_g=yes
12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12621 if ac_fn_cxx_try_compile "$LINENO"; then :
12624 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12627 /* end confdefs.h. */
12637 if ac_fn_cxx_try_compile "$LINENO"; then :
12638 ac_cv_prog_cxx_g=yes
12640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12645 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12648 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12649 if test "$ac_test_CXXFLAGS" = set; then
12650 CXXFLAGS=$ac_save_CXXFLAGS
12651 elif test $ac_cv_prog_cxx_g = yes; then
12652 if test "$GXX" = yes; then
12658 if test "$GXX" = yes; then
12665 ac_cpp='$CPP $CPPFLAGS'
12666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12670 depcc="$CXX" am_compiler_list=
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12673 $as_echo_n "checking dependency style of $depcc... " >&6; }
12674 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
12675 $as_echo_n "(cached) " >&6
12677 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12678 # We make a subdir and do the tests there. Otherwise we can end up
12679 # making bogus files that we don't know about and never remove. For
12680 # instance it was reported that on HP-UX the gcc test will end up
12681 # making a dummy file named `D' -- because `-MD' means `put the output
12683 rm -rf conftest.dir
12685 # Copy depcomp to subdir because otherwise we won't find it if we're
12686 # using a relative directory.
12687 cp "$am_depcomp" conftest.dir
12689 # We will build objects and dependencies in a subdirectory because
12690 # it helps to detect inapplicable dependency modes. For instance
12691 # both Tru64's cc and ICC support -MD to output dependencies as a
12692 # side effect of compilation, but ICC will put the dependencies in
12693 # the current directory while Tru64 will put them in the object
12697 am_cv_CXX_dependencies_compiler_type=none
12698 if test "$am_compiler_list" = ""; then
12699 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12701 am__universal=false
12702 case " $depcc " in #(
12703 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12706 for depmode in $am_compiler_list; do
12707 # Setup a source with many dependencies, because some compilers
12708 # like to wrap large dependency lists on column 80 (with \), and
12709 # we should not choose a depcomp mode which is confused by this.
12711 # We need to recreate these files for each test, as the compiler may
12712 # overwrite some of them when testing with obscure command lines.
12713 # This happens at least with the AIX C compiler.
12715 for i in 1 2 3 4 5 6; do
12716 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12717 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12718 # Solaris 8's {/usr,}/bin/sh.
12719 touch sub/conftst$i.h
12721 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12723 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12724 # mode. It turns out that the SunPro C++ compiler does not properly
12725 # handle `-M -o', and we need to detect this. Also, some Intel
12726 # versions had trouble with output in subdirs
12727 am__obj=sub/conftest.${OBJEXT-o}
12728 am__minus_obj="-o $am__obj"
12731 # This depmode causes a compiler race in universal mode.
12732 test "$am__universal" = false || continue
12735 # after this tag, mechanisms are not by side-effect, so they'll
12736 # only be used when explicitly requested
12737 if test "x$enable_dependency_tracking" = xyes; then
12743 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12744 # This compiler won't grok `-c -o', but also, the minuso test has
12745 # not run yet. These depmodes are late enough in the game, and
12746 # so weak that their functioning should not be impacted.
12747 am__obj=conftest.${OBJEXT-o}
12752 if depmode=$depmode \
12753 source=sub/conftest.c object=$am__obj \
12754 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12755 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12756 >/dev/null 2>conftest.err &&
12757 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12758 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12759 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12760 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12761 # icc doesn't choke on unknown options, it will just issue warnings
12762 # or remarks (even with -Werror). So we grep stderr for any message
12763 # that says an option was ignored or not supported.
12764 # When given -MP, icc 7.0 and 7.1 complain thusly:
12765 # icc: Command line warning: ignoring option '-M'; no argument required
12766 # The diagnosis changed in icc 8.0:
12767 # icc: Command line remark: option '-MP' not supported
12768 if (grep 'ignoring option' conftest.err ||
12769 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12770 am_cv_CXX_dependencies_compiler_type=$depmode
12777 rm -rf conftest.dir
12779 am_cv_CXX_dependencies_compiler_type=none
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12784 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12785 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12788 test "x$enable_dependency_tracking" != xno \
12789 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12790 am__fastdepCXX_TRUE=
12791 am__fastdepCXX_FALSE='#'
12793 am__fastdepCXX_TRUE='#'
12794 am__fastdepCXX_FALSE=
12800 func_stripname_cnf ()
12803 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12804 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12806 } # func_stripname_cnf
12808 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12809 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12810 (test "X$CXX" != "Xg++"))) ; then
12812 ac_cpp='$CXXCPP $CPPFLAGS'
12813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12817 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12818 if test -z "$CXXCPP"; then
12819 if ${ac_cv_prog_CXXCPP+:} false; then :
12820 $as_echo_n "(cached) " >&6
12822 # Double quotes because CXXCPP needs to be expanded
12823 for CXXCPP in "$CXX -E" "/lib/cpp"
12825 ac_preproc_ok=false
12826 for ac_cxx_preproc_warn_flag in '' yes
12828 # Use a header file that comes with gcc, so configuring glibc
12829 # with a fresh cross-compiler works.
12830 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12831 # <limits.h> exists even on freestanding compilers.
12832 # On the NeXT, cc -E runs the code through the compiler's parser,
12833 # not just through cpp. "Syntax error" is here to catch this case.
12834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12835 /* end confdefs.h. */
12837 # include <limits.h>
12839 # include <assert.h>
12843 if ac_fn_cxx_try_cpp "$LINENO"; then :
12846 # Broken: fails on valid input.
12849 rm -f conftest.err conftest.i conftest.$ac_ext
12851 # OK, works on sane cases. Now check whether nonexistent headers
12852 # can be detected and how.
12853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12854 /* end confdefs.h. */
12855 #include <ac_nonexistent.h>
12857 if ac_fn_cxx_try_cpp "$LINENO"; then :
12858 # Broken: success on invalid input.
12861 # Passes both tests.
12865 rm -f conftest.err conftest.i conftest.$ac_ext
12868 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12869 rm -f conftest.i conftest.err conftest.$ac_ext
12870 if $ac_preproc_ok; then :
12875 ac_cv_prog_CXXCPP=$CXXCPP
12878 CXXCPP=$ac_cv_prog_CXXCPP
12880 ac_cv_prog_CXXCPP=$CXXCPP
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12883 $as_echo "$CXXCPP" >&6; }
12884 ac_preproc_ok=false
12885 for ac_cxx_preproc_warn_flag in '' yes
12887 # Use a header file that comes with gcc, so configuring glibc
12888 # with a fresh cross-compiler works.
12889 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12890 # <limits.h> exists even on freestanding compilers.
12891 # On the NeXT, cc -E runs the code through the compiler's parser,
12892 # not just through cpp. "Syntax error" is here to catch this case.
12893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12896 # include <limits.h>
12898 # include <assert.h>
12902 if ac_fn_cxx_try_cpp "$LINENO"; then :
12905 # Broken: fails on valid input.
12908 rm -f conftest.err conftest.i conftest.$ac_ext
12910 # OK, works on sane cases. Now check whether nonexistent headers
12911 # can be detected and how.
12912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12913 /* end confdefs.h. */
12914 #include <ac_nonexistent.h>
12916 if ac_fn_cxx_try_cpp "$LINENO"; then :
12917 # Broken: success on invalid input.
12920 # Passes both tests.
12924 rm -f conftest.err conftest.i conftest.$ac_ext
12927 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12928 rm -f conftest.i conftest.err conftest.$ac_ext
12929 if $ac_preproc_ok; then :
12932 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12934 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12935 See \`config.log' for more details" "$LINENO" 5; }
12939 ac_cpp='$CPP $CPPFLAGS'
12940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12945 _lt_caught_CXX_error=yes
12949 ac_cpp='$CXXCPP $CPPFLAGS'
12950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12954 archive_cmds_need_lc_CXX=no
12955 allow_undefined_flag_CXX=
12956 always_export_symbols_CXX=no
12957 archive_expsym_cmds_CXX=
12958 compiler_needs_object_CXX=no
12959 export_dynamic_flag_spec_CXX=
12960 hardcode_direct_CXX=no
12961 hardcode_direct_absolute_CXX=no
12962 hardcode_libdir_flag_spec_CXX=
12963 hardcode_libdir_separator_CXX=
12964 hardcode_minus_L_CXX=no
12965 hardcode_shlibpath_var_CXX=unsupported
12966 hardcode_automatic_CXX=no
12967 inherit_rpath_CXX=no
12969 module_expsym_cmds_CXX=
12970 link_all_deplibs_CXX=unknown
12971 old_archive_cmds_CXX=$old_archive_cmds
12972 reload_flag_CXX=$reload_flag
12973 reload_cmds_CXX=$reload_cmds
12974 no_undefined_flag_CXX=
12975 whole_archive_flag_spec_CXX=
12976 enable_shared_with_static_runtimes_CXX=no
12978 # Source file extension for C++ test sources.
12981 # Object file extension for compiled C++ test sources.
12985 # No sense in running all these tests if we already determined that
12986 # the CXX compiler isn't working. Some variables (like enable_shared)
12987 # are currently assumed to apply to all compilers on this platform,
12988 # and will be corrupted by setting them based on a non-working compiler.
12989 if test "$_lt_caught_CXX_error" != yes; then
12990 # Code to be used in simple compile tests
12991 lt_simple_compile_test_code="int some_variable = 0;"
12993 # Code to be used in simple link tests
12994 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12996 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13003 # If no C compiler was specified, use CC.
13006 # If no C compiler flags were specified, use CFLAGS.
13007 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13009 # Allow CC to be a program name with arguments.
13013 # save warnings/boilerplate of simple test code
13014 ac_outfile=conftest.$ac_objext
13015 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13016 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13017 _lt_compiler_boilerplate=`cat conftest.err`
13020 ac_outfile=conftest.$ac_objext
13021 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13022 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13023 _lt_linker_boilerplate=`cat conftest.err`
13027 # Allow CC to be a program name with arguments.
13029 lt_save_CFLAGS=$CFLAGS
13033 lt_save_with_gnu_ld=$with_gnu_ld
13034 lt_save_path_LD=$lt_cv_path_LD
13035 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13036 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13038 $as_unset lt_cv_prog_gnu_ld
13040 if test -n "${lt_cv_path_LDCXX+set}"; then
13041 lt_cv_path_LD=$lt_cv_path_LDCXX
13043 $as_unset lt_cv_path_LD
13045 test -z "${LDCXX+set}" || LD=$LDCXX
13050 for cc_temp in $compiler""; do
13052 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13053 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13058 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13061 if test -n "$compiler"; then
13062 # We don't want -fno-exception when compiling C++ code, so set the
13063 # no_builtin_flag separately
13064 if test "$GXX" = yes; then
13065 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13067 lt_prog_compiler_no_builtin_flag_CXX=
13070 if test "$GXX" = yes; then
13071 # Set up default GNU C++ configuration
13075 # Check whether --with-gnu-ld was given.
13076 if test "${with_gnu_ld+set}" = set; then :
13077 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13083 if test "$GCC" = yes; then
13084 # Check if gcc -print-prog-name=ld gives a path.
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13086 $as_echo_n "checking for ld used by $CC... " >&6; }
13089 # gcc leaves a trailing carriage return which upsets mingw
13090 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13092 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13095 # Accept absolute paths.
13097 re_direlt='/[^/][^/]*/\.\./'
13098 # Canonicalize the pathname of ld
13099 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13100 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13101 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13103 test -z "$LD" && LD="$ac_prog"
13106 # If it fails, then pretend we aren't using GCC.
13110 # If it is relative, then search for the first ld in PATH.
13111 with_gnu_ld=unknown
13114 elif test "$with_gnu_ld" = yes; then
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13116 $as_echo_n "checking for GNU ld... " >&6; }
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13119 $as_echo_n "checking for non-GNU ld... " >&6; }
13121 if ${lt_cv_path_LD+:} false; then :
13122 $as_echo_n "(cached) " >&6
13124 if test -z "$LD"; then
13125 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13126 for ac_dir in $PATH; do
13128 test -z "$ac_dir" && ac_dir=.
13129 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13130 lt_cv_path_LD="$ac_dir/$ac_prog"
13131 # Check to see if the program is GNU ld. I'd rather use --version,
13132 # but apparently some variants of GNU ld only accept -v.
13133 # Break only if it was the GNU/non-GNU ld that we prefer.
13134 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13135 *GNU* | *'with BFD'*)
13136 test "$with_gnu_ld" != no && break
13139 test "$with_gnu_ld" != yes && break
13146 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13150 LD="$lt_cv_path_LD"
13151 if test -n "$LD"; then
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13153 $as_echo "$LD" >&6; }
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13156 $as_echo "no" >&6; }
13158 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13160 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13161 if ${lt_cv_prog_gnu_ld+:} false; then :
13162 $as_echo_n "(cached) " >&6
13164 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13165 case `$LD -v 2>&1 </dev/null` in
13166 *GNU* | *'with BFD'*)
13167 lt_cv_prog_gnu_ld=yes
13170 lt_cv_prog_gnu_ld=no
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13175 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13176 with_gnu_ld=$lt_cv_prog_gnu_ld
13184 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13185 # archiving commands below assume that GNU ld is being used.
13186 if test "$with_gnu_ld" = yes; then
13187 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13188 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13190 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13191 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13193 # If archive_cmds runs LD, not CC, wlarc should be empty
13194 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13195 # investigate it a little bit more. (MM)
13198 # ancient GNU ld didn't support --whole-archive et. al.
13199 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13200 $GREP 'no-whole-archive' > /dev/null; then
13201 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13203 whole_archive_flag_spec_CXX=
13209 # A generic and very simple default shared library creation
13210 # command for GNU C++ for the case where it uses the native
13211 # linker, instead of GNU ld. If possible, this setting should
13212 # overridden to take advantage of the native linker features on
13213 # the platform it is being used on.
13214 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13217 # Commands to make compiler produce verbose output that lists
13218 # what "hidden" libraries, object files and flags are used when
13219 # linking a shared library.
13220 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13228 # PORTME: fill in a description of your system's C++ link characteristics
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13230 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13234 # FIXME: insert proper C++ library support
13238 if test "$host_cpu" = ia64; then
13239 # On IA64, the linker does run time linking by default, so we don't
13240 # have to do anything special.
13241 aix_use_runtimelinking=no
13242 exp_sym_flag='-Bexport'
13245 aix_use_runtimelinking=no
13247 # Test if we are trying to use run time linking or normal
13248 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13249 # need to do runtime linking.
13250 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13251 for ld_flag in $LDFLAGS; do
13254 aix_use_runtimelinking=yes
13262 exp_sym_flag='-bexport'
13263 no_entry_flag='-bnoentry'
13266 # When large executables or shared objects are built, AIX ld can
13267 # have problems creating the table of contents. If linking a library
13268 # or program results in "error TOC overflow" add -mminimal-toc to
13269 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13270 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13272 archive_cmds_CXX=''
13273 hardcode_direct_CXX=yes
13274 hardcode_direct_absolute_CXX=yes
13275 hardcode_libdir_separator_CXX=':'
13276 link_all_deplibs_CXX=yes
13277 file_list_spec_CXX='${wl}-f,'
13279 if test "$GXX" = yes; then
13280 case $host_os in aix4.[012]|aix4.[012].*)
13281 # We only want to do this on AIX 4.2 and lower, the check
13282 # below for broken collect2 doesn't work under 4.3+
13283 collect2name=`${CC} -print-prog-name=collect2`
13284 if test -f "$collect2name" &&
13285 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13287 # We have reworked collect2
13290 # We have old collect2
13291 hardcode_direct_CXX=unsupported
13292 # It fails to find uninstalled libraries when the uninstalled
13293 # path is not listed in the libpath. Setting hardcode_minus_L
13294 # to unsupported forces relinking
13295 hardcode_minus_L_CXX=yes
13296 hardcode_libdir_flag_spec_CXX='-L$libdir'
13297 hardcode_libdir_separator_CXX=
13300 shared_flag='-shared'
13301 if test "$aix_use_runtimelinking" = yes; then
13302 shared_flag="$shared_flag "'${wl}-G'
13306 if test "$host_cpu" = ia64; then
13307 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13308 # chokes on -Wl,-G. The following line is correct:
13311 if test "$aix_use_runtimelinking" = yes; then
13312 shared_flag='${wl}-G'
13314 shared_flag='${wl}-bM:SRE'
13319 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13320 # It seems that -bexpall does not export symbols beginning with
13321 # underscore (_), so it is better to generate a list of symbols to
13323 always_export_symbols_CXX=yes
13324 if test "$aix_use_runtimelinking" = yes; then
13325 # Warning - without using the other runtime loading flags (-brtl),
13326 # -berok will link without error, but may produce a broken library.
13327 allow_undefined_flag_CXX='-berok'
13328 # Determine the default libpath from the value encoded in an empty
13330 if test "${lt_cv_aix_libpath+set}" = set; then
13331 aix_libpath=$lt_cv_aix_libpath
13333 if ${lt_cv_aix_libpath__CXX+:} false; then :
13334 $as_echo_n "(cached) " >&6
13336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13337 /* end confdefs.h. */
13347 if ac_fn_cxx_try_link "$LINENO"; then :
13349 lt_aix_libpath_sed='
13350 /Import File Strings/,/^$/ {
13352 s/^0 *\([^ ]*\) *$/\1/
13356 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13357 # Check for a 64-bit object if we didn't find anything.
13358 if test -z "$lt_cv_aix_libpath__CXX"; then
13359 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13362 rm -f core conftest.err conftest.$ac_objext \
13363 conftest$ac_exeext conftest.$ac_ext
13364 if test -z "$lt_cv_aix_libpath__CXX"; then
13365 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13370 aix_libpath=$lt_cv_aix_libpath__CXX
13373 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13375 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13377 if test "$host_cpu" = ia64; then
13378 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13379 allow_undefined_flag_CXX="-z nodefs"
13380 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"
13382 # Determine the default libpath from the value encoded in an
13383 # empty executable.
13384 if test "${lt_cv_aix_libpath+set}" = set; then
13385 aix_libpath=$lt_cv_aix_libpath
13387 if ${lt_cv_aix_libpath__CXX+:} false; then :
13388 $as_echo_n "(cached) " >&6
13390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13391 /* end confdefs.h. */
13401 if ac_fn_cxx_try_link "$LINENO"; then :
13403 lt_aix_libpath_sed='
13404 /Import File Strings/,/^$/ {
13406 s/^0 *\([^ ]*\) *$/\1/
13410 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13411 # Check for a 64-bit object if we didn't find anything.
13412 if test -z "$lt_cv_aix_libpath__CXX"; then
13413 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13416 rm -f core conftest.err conftest.$ac_objext \
13417 conftest$ac_exeext conftest.$ac_ext
13418 if test -z "$lt_cv_aix_libpath__CXX"; then
13419 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13424 aix_libpath=$lt_cv_aix_libpath__CXX
13427 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13428 # Warning - without using the other run time loading flags,
13429 # -berok will link without error, but may produce a broken library.
13430 no_undefined_flag_CXX=' ${wl}-bernotok'
13431 allow_undefined_flag_CXX=' ${wl}-berok'
13432 if test "$with_gnu_ld" = yes; then
13433 # We only use this code for GNU lds that support --whole-archive.
13434 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13436 # Exported symbols can be pulled into shared objects from archives
13437 whole_archive_flag_spec_CXX='$convenience'
13439 archive_cmds_need_lc_CXX=yes
13440 # This is similar to how AIX traditionally builds its shared
13442 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'
13448 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13449 allow_undefined_flag_CXX=unsupported
13450 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13451 # support --undefined. This deserves some investigation. FIXME
13452 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13459 case $cc_basename in
13461 # FIXME: insert proper C++ library support
13467 cygwin* | mingw* | pw32* | cegcc*)
13468 case $GXX,$cc_basename in
13471 # hardcode_libdir_flag_spec is actually meaningless, as there is
13472 # no search path for DLLs.
13473 hardcode_libdir_flag_spec_CXX=' '
13474 allow_undefined_flag_CXX=unsupported
13475 always_export_symbols_CXX=yes
13476 file_list_spec_CXX='@'
13477 # Tell ltmain to make .lib files, not .a files.
13479 # Tell ltmain to make .dll files, not .so files.
13481 # FIXME: Setting linknames here is a bad hack.
13482 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13483 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13484 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13486 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13488 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13490 # The linker will not automatically build a static lib if we build a DLL.
13491 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13492 enable_shared_with_static_runtimes_CXX=yes
13494 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13495 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13496 lt_tool_outputfile="@TOOL_OUTPUT@"~
13497 case $lt_outputfile in
13500 lt_outputfile="$lt_outputfile.exe"
13501 lt_tool_outputfile="$lt_tool_outputfile.exe"
13504 func_to_tool_file "$lt_outputfile"~
13505 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13506 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13507 $RM "$lt_outputfile.manifest";
13512 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13513 # as there is no search path for DLLs.
13514 hardcode_libdir_flag_spec_CXX='-L$libdir'
13515 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13516 allow_undefined_flag_CXX=unsupported
13517 always_export_symbols_CXX=no
13518 enable_shared_with_static_runtimes_CXX=yes
13520 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13521 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'
13522 # If the export-symbols file already is a .def file (1st line
13523 # is EXPORTS), use it as is; otherwise, prepend...
13524 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13525 cp $export_symbols $output_objdir/$soname.def;
13527 echo EXPORTS > $output_objdir/$soname.def;
13528 cat $export_symbols >> $output_objdir/$soname.def;
13530 $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'
13537 darwin* | rhapsody*)
13540 archive_cmds_need_lc_CXX=no
13541 hardcode_direct_CXX=no
13542 hardcode_automatic_CXX=yes
13543 hardcode_shlibpath_var_CXX=unsupported
13544 if test "$lt_cv_ld_force_load" = "yes"; then
13545 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13548 whole_archive_flag_spec_CXX=''
13550 link_all_deplibs_CXX=yes
13551 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13552 case $cc_basename in
13553 ifort*) _lt_dar_can_shared=yes ;;
13554 *) _lt_dar_can_shared=$GCC ;;
13556 if test "$_lt_dar_can_shared" = "yes"; then
13557 output_verbose_link_cmd=func_echo_all
13558 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}"
13559 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13560 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}"
13561 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}"
13562 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13563 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}"
13564 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}"
13574 case $cc_basename in
13576 # FIXME: insert proper C++ library support
13580 # Green Hills C++ Compiler
13581 # FIXME: insert proper C++ library support
13585 # FIXME: insert proper C++ library support
13592 # C++ shared libraries reported to be fairly broken before
13598 archive_cmds_need_lc_CXX=no
13601 freebsd* | dragonfly*)
13602 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13611 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13612 link_all_deplibs_CXX=yes
13616 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13617 hardcode_libdir_separator_CXX=:
13618 export_dynamic_flag_spec_CXX='${wl}-E'
13619 hardcode_direct_CXX=yes
13620 hardcode_minus_L_CXX=yes # Not in the search PATH,
13621 # but as the default
13622 # location of the library.
13624 case $cc_basename in
13626 # FIXME: insert proper C++ library support
13630 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'
13631 # Commands to make compiler produce verbose output that lists
13632 # what "hidden" libraries, object files and flags are used when
13633 # linking a shared library.
13635 # There doesn't appear to be a way to prevent this compiler from
13636 # explicitly linking system object files so we need to strip them
13637 # from the output so that they don't get included in the library
13639 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13642 if test "$GXX" = yes; then
13643 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13645 # FIXME: insert proper C++ library support
13653 if test $with_gnu_ld = no; then
13654 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13655 hardcode_libdir_separator_CXX=:
13661 export_dynamic_flag_spec_CXX='${wl}-E'
13667 hardcode_direct_CXX=no
13668 hardcode_shlibpath_var_CXX=no
13671 hardcode_direct_CXX=yes
13672 hardcode_direct_absolute_CXX=yes
13673 hardcode_minus_L_CXX=yes # Not in the search PATH,
13674 # but as the default
13675 # location of the library.
13679 case $cc_basename in
13681 # FIXME: insert proper C++ library support
13687 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13690 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13693 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13696 # Commands to make compiler produce verbose output that lists
13697 # what "hidden" libraries, object files and flags are used when
13698 # linking a shared library.
13700 # There doesn't appear to be a way to prevent this compiler from
13701 # explicitly linking system object files so we need to strip them
13702 # from the output so that they don't get included in the library
13704 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13707 if test "$GXX" = yes; then
13708 if test $with_gnu_ld = no; then
13711 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13714 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13717 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13722 # FIXME: insert proper C++ library support
13730 hardcode_direct_CXX=no
13731 hardcode_shlibpath_var_CXX=no
13732 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13733 export_dynamic_flag_spec_CXX='${wl}-E'
13734 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13735 # Instead, shared libraries are loaded at an image base (0x10000000 by
13736 # default) and relocated if they conflict, which is a slow very memory
13737 # consuming and fragmenting process. To avoid this, we pick a random,
13738 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13739 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13740 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'
13741 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'
13744 case $cc_basename in
13747 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13749 # Archives containing C++ object files must be created using
13750 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13751 # necessary to make sure instantiated templates are included
13753 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13756 if test "$GXX" = yes; then
13757 if test "$with_gnu_ld" = no; then
13758 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13760 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13763 link_all_deplibs_CXX=yes
13766 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13767 hardcode_libdir_separator_CXX=:
13768 inherit_rpath_CXX=yes
13771 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13772 case $cc_basename in
13774 # Kuck and Associates, Inc. (KAI) C++ Compiler
13776 # KCC will only create a shared library if the output file
13777 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13778 # to its proper name (with version) after linking.
13779 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'
13780 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'
13781 # Commands to make compiler produce verbose output that lists
13782 # what "hidden" libraries, object files and flags are used when
13783 # linking a shared library.
13785 # There doesn't appear to be a way to prevent this compiler from
13786 # explicitly linking system object files so we need to strip them
13787 # from the output so that they don't get included in the library
13789 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13791 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13792 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13794 # Archives containing C++ object files must be created using
13795 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13796 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13801 # version 8.0 and above of icpc choke on multiply defined symbols
13802 # if we add $predep_objects and $postdep_objects, however 7.1 and
13803 # earlier do not add the objects themselves.
13804 case `$CC -V 2>&1` in
13806 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13807 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'
13809 *) # Version 8.0 or newer
13812 ia64*) tmp_idyn=' -i_dynamic';;
13814 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13815 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'
13818 archive_cmds_need_lc_CXX=no
13819 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13820 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13821 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13824 # Portland Group C++ compiler
13826 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13827 prelink_cmds_CXX='tpldir=Template.dir~
13829 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13830 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13831 old_archive_cmds_CXX='tpldir=Template.dir~
13833 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13834 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13836 archive_cmds_CXX='tpldir=Template.dir~
13838 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13839 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13840 archive_expsym_cmds_CXX='tpldir=Template.dir~
13842 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13843 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13845 *) # Version 6 and above use weak symbols
13846 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13847 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'
13851 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13852 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13853 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13857 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13858 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'
13860 runpath_var=LD_RUN_PATH
13861 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13862 hardcode_libdir_separator_CXX=:
13864 # Commands to make compiler produce verbose output that lists
13865 # what "hidden" libraries, object files and flags are used when
13866 # linking a shared library.
13868 # There doesn't appear to be a way to prevent this compiler from
13869 # explicitly linking system object files so we need to strip them
13870 # from the output so that they don't get included in the library
13872 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13874 xl* | mpixl* | bgxl*)
13875 # IBM XL 8.0 on PPC, with GNU ld
13876 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13877 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13878 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13879 if test "x$supports_anon_versioning" = xyes; then
13880 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13881 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13882 echo "local: *; };" >> $output_objdir/$libname.ver~
13883 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13887 case `$CC -V 2>&1 | sed 5q` in
13890 no_undefined_flag_CXX=' -zdefs'
13891 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13892 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'
13893 hardcode_libdir_flag_spec_CXX='-R$libdir'
13894 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13895 compiler_needs_object_CXX=yes
13897 # Not sure whether something based on
13898 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13900 output_verbose_link_cmd='func_echo_all'
13902 # Archives containing C++ object files must be created using
13903 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13904 # necessary to make sure instantiated templates are included
13906 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13914 # FIXME: insert proper C++ library support
13919 # FIXME: insert proper C++ library support
13924 case $cc_basename in
13926 # FIXME: insert proper C++ library support
13930 # FIXME: insert proper C++ library support
13937 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13938 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13940 hardcode_libdir_flag_spec_CXX='-R$libdir'
13941 hardcode_direct_CXX=yes
13942 hardcode_shlibpath_var_CXX=no
13944 # Workaround some broken pre-1.5 toolchains
13945 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13953 # C++ shared libraries are fairly broken
13958 if test -f /usr/libexec/ld.so; then
13959 hardcode_direct_CXX=yes
13960 hardcode_shlibpath_var_CXX=no
13961 hardcode_direct_absolute_CXX=yes
13962 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13963 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13964 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13965 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13966 export_dynamic_flag_spec_CXX='${wl}-E'
13967 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13969 output_verbose_link_cmd=func_echo_all
13975 osf3* | osf4* | osf5*)
13976 case $cc_basename in
13978 # Kuck and Associates, Inc. (KAI) C++ Compiler
13980 # KCC will only create a shared library if the output file
13981 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13982 # to its proper name (with version) after linking.
13983 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'
13985 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13986 hardcode_libdir_separator_CXX=:
13988 # Archives containing C++ object files must be created using
13989 # the KAI C++ compiler.
13991 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13992 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13996 # Rational C++ 2.4.1
13997 # FIXME: insert proper C++ library support
14003 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14004 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14005 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14008 allow_undefined_flag_CXX=' -expect_unresolved \*'
14009 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14010 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14011 echo "-hidden">> $lib.exp~
14012 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
14014 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14018 hardcode_libdir_separator_CXX=:
14020 # Commands to make compiler produce verbose output that lists
14021 # what "hidden" libraries, object files and flags are used when
14022 # linking a shared library.
14024 # There doesn't appear to be a way to prevent this compiler from
14025 # explicitly linking system object files so we need to strip them
14026 # from the output so that they don't get included in the library
14028 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14031 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14032 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14035 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14038 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14042 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14043 hardcode_libdir_separator_CXX=:
14045 # Commands to make compiler produce verbose output that lists
14046 # what "hidden" libraries, object files and flags are used when
14047 # linking a shared library.
14048 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14051 # FIXME: insert proper C++ library support
14059 # FIXME: insert proper C++ library support
14064 case $cc_basename in
14067 # FIXME: insert proper C++ library support
14072 # FIXME: insert proper C++ library support
14076 # FIXME: insert proper C++ library support
14083 case $cc_basename in
14085 # Sun C++ 4.2, 5.x and Centerline C++
14086 archive_cmds_need_lc_CXX=yes
14087 no_undefined_flag_CXX=' -zdefs'
14088 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14089 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14090 $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'
14092 hardcode_libdir_flag_spec_CXX='-R$libdir'
14093 hardcode_shlibpath_var_CXX=no
14095 solaris2.[0-5] | solaris2.[0-5].*) ;;
14097 # The compiler driver will combine and reorder linker options,
14098 # but understands `-z linker_flag'.
14099 # Supported since Solaris 2.6 (maybe 2.5.1?)
14100 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14103 link_all_deplibs_CXX=yes
14105 output_verbose_link_cmd='func_echo_all'
14107 # Archives containing C++ object files must be created using
14108 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14109 # necessary to make sure instantiated templates are included
14111 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14114 # Green Hills C++ Compiler
14115 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14117 # The C++ compiler must be used to create the archive.
14118 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14121 # GNU C++ compiler with Solaris linker
14122 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14123 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14124 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14125 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14126 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14127 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14129 # Commands to make compiler produce verbose output that lists
14130 # what "hidden" libraries, object files and flags are used when
14131 # linking a shared library.
14132 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14134 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14136 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14137 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14138 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14140 # Commands to make compiler produce verbose output that lists
14141 # what "hidden" libraries, object files and flags are used when
14142 # linking a shared library.
14143 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14146 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14148 solaris2.[0-5] | solaris2.[0-5].*) ;;
14150 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14158 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14159 no_undefined_flag_CXX='${wl}-z,text'
14160 archive_cmds_need_lc_CXX=no
14161 hardcode_shlibpath_var_CXX=no
14162 runpath_var='LD_RUN_PATH'
14164 case $cc_basename in
14166 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14167 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14170 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14171 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14176 sysv5* | sco3.2v5* | sco5v6*)
14177 # Note: We can NOT use -z defs as we might desire, because we do not
14178 # link with -lc, and that would cause any symbols used from libc to
14179 # always be unresolved, which means just about no library would
14180 # ever link correctly. If we're not using GNU ld we use -z text
14181 # though, which does catch some bad symbols but isn't as heavy-handed
14183 no_undefined_flag_CXX='${wl}-z,text'
14184 allow_undefined_flag_CXX='${wl}-z,nodefs'
14185 archive_cmds_need_lc_CXX=no
14186 hardcode_shlibpath_var_CXX=no
14187 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14188 hardcode_libdir_separator_CXX=':'
14189 link_all_deplibs_CXX=yes
14190 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14191 runpath_var='LD_RUN_PATH'
14193 case $cc_basename in
14195 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14196 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14197 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14198 '"$old_archive_cmds_CXX"
14199 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14200 '"$reload_cmds_CXX"
14203 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14204 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14210 case $cc_basename in
14212 # NonStop-UX NCC 3.20
14213 # FIXME: insert proper C++ library support
14217 # FIXME: insert proper C++ library support
14224 # FIXME: insert proper C++ library support
14229 # FIXME: insert proper C++ library support
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14235 $as_echo "$ld_shlibs_CXX" >&6; }
14236 test "$ld_shlibs_CXX" = no && can_build_shared=no
14242 ## There is no encapsulation within the following macros, do not change
14243 ## the running order or otherwise move them around unless you know exactly
14244 ## what you are doing...
14245 # Dependencies to place before and after the object being linked:
14246 predep_objects_CXX=
14247 postdep_objects_CXX=
14250 compiler_lib_search_path_CXX=
14252 cat > conftest.$ac_ext <<_LT_EOF
14256 Foo (void) { a = 0; }
14263 _lt_libdeps_save_CFLAGS=$CFLAGS
14264 case "$CC $CFLAGS " in #(
14265 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14266 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14267 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14270 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14271 (eval $ac_compile) 2>&5
14273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14274 test $ac_status = 0; }; then
14275 # Parse the compiler output and extract the necessary
14276 # objects, libraries and library flags.
14278 # Sentinel used to keep track of whether or not we are before
14279 # the conftest object file.
14280 pre_test_object_deps_done=no
14282 for p in `eval "$output_verbose_link_cmd"`; do
14283 case ${prev}${p} in
14286 # Some compilers place space between "-{L,R}" and the path.
14287 # Remove the space.
14288 if test $p = "-L" ||
14289 test $p = "-R"; then
14294 # Expand the sysroot to ease extracting the directories later.
14295 if test -z "$prev"; then
14297 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14298 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14299 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14303 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14305 if test "$pre_test_object_deps_done" = no; then
14308 # Internal compiler library paths should come after those
14309 # provided the user. The postdeps already come after the
14310 # user supplied libs so there is no need to process them.
14311 if test -z "$compiler_lib_search_path_CXX"; then
14312 compiler_lib_search_path_CXX="${prev}${p}"
14314 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14317 # The "-l" case would never come before the object being
14318 # linked, so don't bother handling this case.
14321 if test -z "$postdeps_CXX"; then
14322 postdeps_CXX="${prev}${p}"
14324 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14330 *.lto.$objext) ;; # Ignore GCC LTO objects
14332 # This assumes that the test object file only shows up
14333 # once in the compiler output.
14334 if test "$p" = "conftest.$objext"; then
14335 pre_test_object_deps_done=yes
14339 if test "$pre_test_object_deps_done" = no; then
14340 if test -z "$predep_objects_CXX"; then
14341 predep_objects_CXX="$p"
14343 predep_objects_CXX="$predep_objects_CXX $p"
14346 if test -z "$postdep_objects_CXX"; then
14347 postdep_objects_CXX="$p"
14349 postdep_objects_CXX="$postdep_objects_CXX $p"
14354 *) ;; # Ignore the rest.
14362 echo "libtool.m4: error: problem compiling CXX test program"
14365 $RM -f confest.$objext
14366 CFLAGS=$_lt_libdeps_save_CFLAGS
14368 # PORTME: override above test on systems where it is broken
14371 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14372 # hack all around it, let's just trust "g++" to DTRT.
14373 predep_objects_CXX=
14374 postdep_objects_CXX=
14379 case `$CC -V 2>&1 | sed 5q` in
14383 # The more standards-conforming stlport4 library is
14384 # incompatible with the Cstd library. Avoid specifying
14385 # it if it's in CXXFLAGS. Ignore libCrun as
14386 # -library=stlport4 depends on it.
14387 case " $CXX $CXXFLAGS " in
14388 *" -library=stlport4 "*)
14389 solaris_use_stlport4=yes
14393 if test "$solaris_use_stlport4" != yes; then
14394 postdeps_CXX='-library=Cstd -library=Crun'
14401 case $cc_basename in
14403 # The more standards-conforming stlport4 library is
14404 # incompatible with the Cstd library. Avoid specifying
14405 # it if it's in CXXFLAGS. Ignore libCrun as
14406 # -library=stlport4 depends on it.
14407 case " $CXX $CXXFLAGS " in
14408 *" -library=stlport4 "*)
14409 solaris_use_stlport4=yes
14413 # Adding this requires a known-good setup of shared libraries for
14414 # Sun compiler versions before 5.6, else PIC objects from an old
14415 # archive will be linked into the output, leading to subtle bugs.
14416 if test "$solaris_use_stlport4" != yes; then
14417 postdeps_CXX='-library=Cstd -library=Crun'
14425 case " $postdeps_CXX " in
14426 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14428 compiler_lib_search_dirs_CXX=
14429 if test -n "${compiler_lib_search_path_CXX}"; then
14430 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14463 lt_prog_compiler_wl_CXX=
14464 lt_prog_compiler_pic_CXX=
14465 lt_prog_compiler_static_CXX=
14468 # C++ specific cases for pic, static, wl, etc.
14469 if test "$GXX" = yes; then
14470 lt_prog_compiler_wl_CXX='-Wl,'
14471 lt_prog_compiler_static_CXX='-static'
14475 # All AIX code is PIC.
14476 if test "$host_cpu" = ia64; then
14477 # AIX 5 now supports IA64 processor
14478 lt_prog_compiler_static_CXX='-Bstatic'
14485 # see comment about AmigaOS4 .so support
14486 lt_prog_compiler_pic_CXX='-fPIC'
14489 # FIXME: we need at least 68020 code to build shared libraries, but
14490 # adding the `-m68020' flag to GCC prevents building anything better,
14492 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14497 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14498 # PIC is the default for these OSes.
14500 mingw* | cygwin* | os2* | pw32* | cegcc*)
14501 # This hack is so that the source file can tell whether it is being
14502 # built for inclusion in a dll (and should export symbols for example).
14503 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14504 # (--disable-auto-import) libraries
14505 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14507 darwin* | rhapsody*)
14508 # PIC is the default on this platform
14509 # Common symbols not allowed in MH_DYLIB files
14510 lt_prog_compiler_pic_CXX='-fno-common'
14513 # DJGPP does not support shared libraries at all
14514 lt_prog_compiler_pic_CXX=
14517 # PIC is the default for Haiku.
14518 # The "-static" flag exists, but is broken.
14519 lt_prog_compiler_static_CXX=
14522 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14523 # Instead, we relocate shared libraries at runtime.
14526 if test -d /usr/nec; then
14527 lt_prog_compiler_pic_CXX=-Kconform_pic
14531 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14532 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14533 # sets the default TLS model and affects inlining.
14538 lt_prog_compiler_pic_CXX='-fPIC'
14543 # QNX uses GNU C++, but need to define -shared option too, otherwise
14544 # it will coredump.
14545 lt_prog_compiler_pic_CXX='-fPIC -shared'
14548 lt_prog_compiler_pic_CXX='-fPIC'
14554 # All AIX code is PIC.
14555 if test "$host_cpu" = ia64; then
14556 # AIX 5 now supports IA64 processor
14557 lt_prog_compiler_static_CXX='-Bstatic'
14559 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14563 case $cc_basename in
14565 # Green Hills C++ Compiler
14566 # _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"
14570 mingw* | cygwin* | os2* | pw32* | cegcc*)
14571 # This hack is so that the source file can tell whether it is being
14572 # built for inclusion in a dll (and should export symbols for example).
14573 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14576 case $cc_basename in
14578 lt_prog_compiler_pic_CXX='-KPIC'
14581 # Green Hills C++ Compiler
14582 lt_prog_compiler_pic_CXX='-pic'
14588 freebsd* | dragonfly*)
14589 # FreeBSD uses GNU C++
14591 hpux9* | hpux10* | hpux11*)
14592 case $cc_basename in
14594 lt_prog_compiler_wl_CXX='-Wl,'
14595 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14596 if test "$host_cpu" != ia64; then
14597 lt_prog_compiler_pic_CXX='+Z'
14601 lt_prog_compiler_wl_CXX='-Wl,'
14602 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14608 lt_prog_compiler_pic_CXX='+Z'
14617 # This is c89, which is MS Visual C++ (no shared libs)
14618 # Anyone wants to do a port?
14620 irix5* | irix6* | nonstopux*)
14621 case $cc_basename in
14623 lt_prog_compiler_wl_CXX='-Wl,'
14624 lt_prog_compiler_static_CXX='-non_shared'
14625 # CC pic flag -KPIC is the default.
14631 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14632 case $cc_basename in
14635 lt_prog_compiler_wl_CXX='--backend -Wl,'
14636 lt_prog_compiler_pic_CXX='-fPIC'
14639 # old Intel C++ for x86_64 which still supported -KPIC.
14640 lt_prog_compiler_wl_CXX='-Wl,'
14641 lt_prog_compiler_pic_CXX='-KPIC'
14642 lt_prog_compiler_static_CXX='-static'
14645 # Intel C++, used to be incompatible with GCC.
14646 # ICC 10 doesn't accept -KPIC any more.
14647 lt_prog_compiler_wl_CXX='-Wl,'
14648 lt_prog_compiler_pic_CXX='-fPIC'
14649 lt_prog_compiler_static_CXX='-static'
14652 # Portland Group C++ compiler
14653 lt_prog_compiler_wl_CXX='-Wl,'
14654 lt_prog_compiler_pic_CXX='-fpic'
14655 lt_prog_compiler_static_CXX='-Bstatic'
14659 # Make sure the PIC flag is empty. It appears that all Alpha
14660 # Linux and Compaq Tru64 Unix objects are PIC.
14661 lt_prog_compiler_pic_CXX=
14662 lt_prog_compiler_static_CXX='-non_shared'
14664 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14665 # IBM XL 8.0, 9.0 on PPC and BlueGene
14666 lt_prog_compiler_wl_CXX='-Wl,'
14667 lt_prog_compiler_pic_CXX='-qpic'
14668 lt_prog_compiler_static_CXX='-qstaticlink'
14671 case `$CC -V 2>&1 | sed 5q` in
14674 lt_prog_compiler_pic_CXX='-KPIC'
14675 lt_prog_compiler_static_CXX='-Bstatic'
14676 lt_prog_compiler_wl_CXX='-Qoption ld '
14687 case $cc_basename in
14689 lt_prog_compiler_pic_CXX='-W c,exportall'
14695 netbsd* | netbsdelf*-gnu)
14698 # QNX uses GNU C++, but need to define -shared option too, otherwise
14699 # it will coredump.
14700 lt_prog_compiler_pic_CXX='-fPIC -shared'
14702 osf3* | osf4* | osf5*)
14703 case $cc_basename in
14705 lt_prog_compiler_wl_CXX='--backend -Wl,'
14708 # Rational C++ 2.4.1
14709 lt_prog_compiler_pic_CXX='-pic'
14712 # Digital/Compaq C++
14713 lt_prog_compiler_wl_CXX='-Wl,'
14714 # Make sure the PIC flag is empty. It appears that all Alpha
14715 # Linux and Compaq Tru64 Unix objects are PIC.
14716 lt_prog_compiler_pic_CXX=
14717 lt_prog_compiler_static_CXX='-non_shared'
14726 case $cc_basename in
14728 # Sun C++ 4.2, 5.x and Centerline C++
14729 lt_prog_compiler_pic_CXX='-KPIC'
14730 lt_prog_compiler_static_CXX='-Bstatic'
14731 lt_prog_compiler_wl_CXX='-Qoption ld '
14734 # Green Hills C++ Compiler
14735 lt_prog_compiler_pic_CXX='-PIC'
14742 case $cc_basename in
14745 lt_prog_compiler_pic_CXX='-pic'
14746 lt_prog_compiler_static_CXX='-Bstatic'
14750 lt_prog_compiler_pic_CXX='-pic'
14756 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14757 case $cc_basename in
14759 lt_prog_compiler_wl_CXX='-Wl,'
14760 lt_prog_compiler_pic_CXX='-KPIC'
14761 lt_prog_compiler_static_CXX='-Bstatic'
14766 case $cc_basename in
14768 # NonStop-UX NCC 3.20
14769 lt_prog_compiler_pic_CXX='-KPIC'
14778 lt_prog_compiler_can_build_shared_CXX=no
14784 # For platforms which do not support PIC, -DPIC is meaningless:
14786 lt_prog_compiler_pic_CXX=
14789 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14794 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14795 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14796 $as_echo_n "(cached) " >&6
14798 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14801 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14802 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14805 # Check to make sure the PIC flag actually works.
14807 if test -n "$lt_prog_compiler_pic_CXX"; then
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14809 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14810 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14811 $as_echo_n "(cached) " >&6
14813 lt_cv_prog_compiler_pic_works_CXX=no
14814 ac_outfile=conftest.$ac_objext
14815 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14816 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14817 # Insert the option either (1) after the last *FLAGS variable, or
14818 # (2) before a word containing "conftest.", or (3) at the end.
14819 # Note that $ac_compile itself does not contain backslashes and begins
14820 # with a dollar sign (not a hyphen), so the echo should work correctly.
14821 # The option is referenced via a variable to avoid confusing sed.
14822 lt_compile=`echo "$ac_compile" | $SED \
14823 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14824 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14825 -e 's:$: $lt_compiler_flag:'`
14826 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14827 (eval "$lt_compile" 2>conftest.err)
14829 cat conftest.err >&5
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 if (exit $ac_status) && test -s "$ac_outfile"; then
14832 # The compiler can only warn and ignore the option if not recognized
14833 # So say no if there are warnings other than the usual output.
14834 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14835 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14836 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14837 lt_cv_prog_compiler_pic_works_CXX=yes
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14844 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14846 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14847 case $lt_prog_compiler_pic_CXX in
14849 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14852 lt_prog_compiler_pic_CXX=
14853 lt_prog_compiler_can_build_shared_CXX=no
14863 # Check to make sure the static flag actually works.
14865 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14867 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14868 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14869 $as_echo_n "(cached) " >&6
14871 lt_cv_prog_compiler_static_works_CXX=no
14872 save_LDFLAGS="$LDFLAGS"
14873 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14874 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14875 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14876 # The linker can only warn and ignore the option if not recognized
14877 # So say no if there are warnings
14878 if test -s conftest.err; then
14879 # Append any errors to the config.log.
14880 cat conftest.err 1>&5
14881 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14882 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14883 if diff conftest.exp conftest.er2 >/dev/null; then
14884 lt_cv_prog_compiler_static_works_CXX=yes
14887 lt_cv_prog_compiler_static_works_CXX=yes
14891 LDFLAGS="$save_LDFLAGS"
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14895 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14897 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14900 lt_prog_compiler_static_CXX=
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14907 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14908 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14909 $as_echo_n "(cached) " >&6
14911 lt_cv_prog_compiler_c_o_CXX=no
14912 $RM -r conftest 2>/dev/null
14916 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14918 lt_compiler_flag="-o out/conftest2.$ac_objext"
14919 # Insert the option either (1) after the last *FLAGS variable, or
14920 # (2) before a word containing "conftest.", or (3) at the end.
14921 # Note that $ac_compile itself does not contain backslashes and begins
14922 # with a dollar sign (not a hyphen), so the echo should work correctly.
14923 lt_compile=`echo "$ac_compile" | $SED \
14924 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14925 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14926 -e 's:$: $lt_compiler_flag:'`
14927 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14928 (eval "$lt_compile" 2>out/conftest.err)
14930 cat out/conftest.err >&5
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14934 # The compiler can only warn and ignore the option if not recognized
14935 # So say no if there are warnings
14936 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14937 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14938 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14939 lt_cv_prog_compiler_c_o_CXX=yes
14944 # SGI C++ compiler will create directory out/ii_files/ for
14945 # template instantiation
14946 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14947 $RM out/* && rmdir out
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14954 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14959 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14960 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14961 $as_echo_n "(cached) " >&6
14963 lt_cv_prog_compiler_c_o_CXX=no
14964 $RM -r conftest 2>/dev/null
14968 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14970 lt_compiler_flag="-o out/conftest2.$ac_objext"
14971 # Insert the option either (1) after the last *FLAGS variable, or
14972 # (2) before a word containing "conftest.", or (3) at the end.
14973 # Note that $ac_compile itself does not contain backslashes and begins
14974 # with a dollar sign (not a hyphen), so the echo should work correctly.
14975 lt_compile=`echo "$ac_compile" | $SED \
14976 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14977 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14978 -e 's:$: $lt_compiler_flag:'`
14979 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14980 (eval "$lt_compile" 2>out/conftest.err)
14982 cat out/conftest.err >&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14986 # The compiler can only warn and ignore the option if not recognized
14987 # So say no if there are warnings
14988 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14989 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14990 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14991 lt_cv_prog_compiler_c_o_CXX=yes
14996 # SGI C++ compiler will create directory out/ii_files/ for
14997 # template instantiation
14998 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14999 $RM out/* && rmdir out
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15006 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15011 hard_links="nottested"
15012 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15013 # do not overwrite the value of need_locks provided by the user
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15015 $as_echo_n "checking if we can lock with hard links... " >&6; }
15018 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15020 ln conftest.a conftest.b 2>&5 || hard_links=no
15021 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15023 $as_echo "$hard_links" >&6; }
15024 if test "$hard_links" = no; then
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15026 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15036 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15038 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15039 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15042 # If we're using GNU nm, then we don't want the "-C" option.
15043 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15044 # Also, AIX nm treats weak defined symbols like other global defined
15045 # symbols, whereas GNU nm marks them as "W".
15046 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15047 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15049 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'
15053 export_symbols_cmds_CXX="$ltdll_cmds"
15055 cygwin* | mingw* | cegcc*)
15056 case $cc_basename in
15058 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15061 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15062 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15066 linux* | k*bsd*-gnu | gnu*)
15067 link_all_deplibs_CXX=no
15070 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15075 $as_echo "$ld_shlibs_CXX" >&6; }
15076 test "$ld_shlibs_CXX" = no && can_build_shared=no
15078 with_gnu_ld_CXX=$with_gnu_ld
15086 # Do we need to explicitly link libc?
15088 case "x$archive_cmds_need_lc_CXX" in
15090 # Assume -lc should be added
15091 archive_cmds_need_lc_CXX=yes
15093 if test "$enable_shared" = yes && test "$GCC" = yes; then
15094 case $archive_cmds_CXX in
15096 # FIXME: we may have to deal with multi-command sequences.
15099 # Test whether the compiler implicitly links with -lc since on some
15100 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15101 # to ld, don't add -lc before -lgcc.
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15103 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15104 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15105 $as_echo_n "(cached) " >&6
15108 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15111 (eval $ac_compile) 2>&5
15113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15114 test $ac_status = 0; } 2>conftest.err; then
15117 libobjs=conftest.$ac_objext
15119 wl=$lt_prog_compiler_wl_CXX
15120 pic_flag=$lt_prog_compiler_pic_CXX
15126 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15127 allow_undefined_flag_CXX=
15128 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15129 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15132 test $ac_status = 0; }
15134 lt_cv_archive_cmds_need_lc_CXX=no
15136 lt_cv_archive_cmds_need_lc_CXX=yes
15138 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15140 cat conftest.err 1>&5
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15146 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15147 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15216 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15218 library_names_spec=
15219 libname_spec='lib$name'
15223 postuninstall_cmds=
15227 shlibpath_overrides_runpath=unknown
15229 dynamic_linker="$host_os ld.so"
15230 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15231 need_lib_prefix=unknown
15232 hardcode_into_libs=no
15234 # when you set need_version to no, make sure it does not cause -set_version
15235 # flags to be left without arguments
15236 need_version=unknown
15240 version_type=linux # correct to gnu/linux during the next big refactor
15241 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15242 shlibpath_var=LIBPATH
15244 # AIX 3 has no versioning support, so we append a major version to the name.
15245 soname_spec='${libname}${release}${shared_ext}$major'
15249 version_type=linux # correct to gnu/linux during the next big refactor
15252 hardcode_into_libs=yes
15253 if test "$host_cpu" = ia64; then
15254 # AIX 5 supports IA64
15255 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15256 shlibpath_var=LD_LIBRARY_PATH
15258 # With GCC up to 2.95.x, collect2 would create an import file
15259 # for dependence libraries. The import file would start with
15260 # the line `#! .'. This would cause the generated library to
15261 # depend on `.', always an invalid library. This was fixed in
15262 # development snapshots of GCC prior to 3.0.
15264 aix4 | aix4.[01] | aix4.[01].*)
15265 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15267 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15270 can_build_shared=no
15274 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15275 # soname into executable. Probably we can add versioning support to
15276 # collect2, so additional links can be useful in future.
15277 if test "$aix_use_runtimelinking" = yes; then
15278 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15279 # instead of lib<name>.a to let people know that these are not
15280 # typical AIX shared libraries.
15281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15283 # We preserve .a as extension for shared libraries through AIX4.2
15284 # and later when we are not doing run time linking.
15285 library_names_spec='${libname}${release}.a $libname.a'
15286 soname_spec='${libname}${release}${shared_ext}$major'
15288 shlibpath_var=LIBPATH
15295 # Since July 2007 AmigaOS4 officially supports .so libraries.
15296 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15300 library_names_spec='$libname.ixlibrary $libname.a'
15301 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15302 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15308 library_names_spec='${libname}${shared_ext}'
15309 dynamic_linker="$host_os ld.so"
15310 shlibpath_var=LIBRARY_PATH
15314 version_type=linux # correct to gnu/linux during the next big refactor
15316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15317 soname_spec='${libname}${release}${shared_ext}$major'
15318 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15319 shlibpath_var=LD_LIBRARY_PATH
15320 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15321 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15322 # the default ld.so.conf also contains /usr/contrib/lib and
15323 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15324 # libtool to hard-code these into programs
15327 cygwin* | mingw* | pw32* | cegcc*)
15328 version_type=windows
15333 case $GCC,$cc_basename in
15336 library_names_spec='$libname.dll.a'
15337 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15338 postinstall_cmds='base_file=`basename \${file}`~
15339 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15340 dldir=$destdir/`dirname \$dlpath`~
15341 test -d \$dldir || mkdir -p \$dldir~
15342 $install_prog $dir/$dlname \$dldir/$dlname~
15343 chmod a+x \$dldir/$dlname~
15344 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15345 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15347 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15348 dlpath=$dir/\$dldll~
15350 shlibpath_overrides_runpath=yes
15354 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15355 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15359 # MinGW DLLs use traditional 'lib' prefix
15360 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15363 # pw32 DLLs use 'pw' prefix rather than 'lib'
15364 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15367 dynamic_linker='Win32 ld.exe'
15372 libname_spec='$name'
15373 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15374 library_names_spec='${libname}.dll.lib'
15378 sys_lib_search_path_spec=
15381 for lt_path in $LIB
15384 # Let DOS variable expansion print the short 8.3 style file name.
15385 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15386 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15389 # Convert to MSYS style.
15390 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15393 # Convert to unix form, then to dos form, then back to unix form
15394 # but this time dos style (no spaces!) so that the unix form looks
15395 # like /cygdrive/c/PROGRA~1:/cygdr...
15396 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15397 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15398 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15401 sys_lib_search_path_spec="$LIB"
15402 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15403 # It is most probably a Windows format PATH.
15404 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15406 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15408 # FIXME: find the short name or the path components, as spaces are
15409 # common. (e.g. "Program Files" -> "PROGRA~1")
15413 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15414 postinstall_cmds='base_file=`basename \${file}`~
15415 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15416 dldir=$destdir/`dirname \$dlpath`~
15417 test -d \$dldir || mkdir -p \$dldir~
15418 $install_prog $dir/$dlname \$dldir/$dlname'
15419 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15420 dlpath=$dir/\$dldll~
15422 shlibpath_overrides_runpath=yes
15423 dynamic_linker='Win32 link.exe'
15427 # Assume MSVC wrapper
15428 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15429 dynamic_linker='Win32 ld.exe'
15432 # FIXME: first we should search . and the directory the executable is in
15436 darwin* | rhapsody*)
15437 dynamic_linker="$host_os dyld"
15438 version_type=darwin
15441 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15442 soname_spec='${libname}${release}${major}$shared_ext'
15443 shlibpath_overrides_runpath=yes
15444 shlibpath_var=DYLD_LIBRARY_PATH
15445 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15447 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15451 version_type=linux # correct to gnu/linux during the next big refactor
15454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15455 soname_spec='${libname}${release}${shared_ext}$major'
15456 shlibpath_var=LD_LIBRARY_PATH
15459 freebsd* | dragonfly*)
15460 # DragonFly does not have aout. When/if they implement a new
15461 # versioning mechanism, adjust this.
15462 if test -x /usr/bin/objformat; then
15463 objformat=`/usr/bin/objformat`
15466 freebsd[23].*) objformat=aout ;;
15467 *) objformat=elf ;;
15470 version_type=freebsd-$objformat
15471 case $version_type in
15473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15478 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15482 shlibpath_var=LD_LIBRARY_PATH
15485 shlibpath_overrides_runpath=yes
15487 freebsd3.[01]* | freebsdelf3.[01]*)
15488 shlibpath_overrides_runpath=yes
15489 hardcode_into_libs=yes
15491 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15492 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15493 shlibpath_overrides_runpath=no
15494 hardcode_into_libs=yes
15496 *) # from 4.6 on, and DragonFly
15497 shlibpath_overrides_runpath=yes
15498 hardcode_into_libs=yes
15504 version_type=linux # correct to gnu/linux during the next big refactor
15507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15508 soname_spec='${libname}${release}${shared_ext}$major'
15509 shlibpath_var=LD_LIBRARY_PATH
15510 shlibpath_overrides_runpath=no
15511 hardcode_into_libs=yes
15515 version_type=linux # correct to gnu/linux during the next big refactor
15518 dynamic_linker="$host_os runtime_loader"
15519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15520 soname_spec='${libname}${release}${shared_ext}$major'
15521 shlibpath_var=LIBRARY_PATH
15522 shlibpath_overrides_runpath=yes
15523 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15524 hardcode_into_libs=yes
15527 hpux9* | hpux10* | hpux11*)
15528 # Give a soname corresponding to the major version so that dld.sl refuses to
15529 # link against other versions.
15536 hardcode_into_libs=yes
15537 dynamic_linker="$host_os dld.so"
15538 shlibpath_var=LD_LIBRARY_PATH
15539 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15541 soname_spec='${libname}${release}${shared_ext}$major'
15542 if test "X$HPUX_IA64_MODE" = X32; then
15543 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15545 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15547 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15551 hardcode_into_libs=yes
15552 dynamic_linker="$host_os dld.sl"
15553 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15554 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15556 soname_spec='${libname}${release}${shared_ext}$major'
15557 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15558 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15562 dynamic_linker="$host_os dld.sl"
15563 shlibpath_var=SHLIB_PATH
15564 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15566 soname_spec='${libname}${release}${shared_ext}$major'
15569 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15570 postinstall_cmds='chmod 555 $lib'
15571 # or fails outright, so override atomically:
15572 install_override_mode=555
15576 version_type=linux # correct to gnu/linux during the next big refactor
15579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15580 soname_spec='${libname}${release}${shared_ext}$major'
15581 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15582 shlibpath_var=LD_LIBRARY_PATH
15583 shlibpath_overrides_runpath=no
15584 hardcode_into_libs=yes
15587 irix5* | irix6* | nonstopux*)
15589 nonstopux*) version_type=nonstopux ;;
15591 if test "$lt_cv_prog_gnu_ld" = yes; then
15592 version_type=linux # correct to gnu/linux during the next big refactor
15599 soname_spec='${libname}${release}${shared_ext}$major'
15600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15602 irix5* | nonstopux*)
15603 libsuff= shlibsuff=
15606 case $LD in # libtool.m4 will add one of these switches to LD
15607 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15608 libsuff= shlibsuff= libmagic=32-bit;;
15609 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15610 libsuff=32 shlibsuff=N32 libmagic=N32;;
15611 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15612 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15613 *) libsuff= shlibsuff= libmagic=never-match;;
15617 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15618 shlibpath_overrides_runpath=no
15619 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15620 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15621 hardcode_into_libs=yes
15624 # No shared lib support for Linux oldld, aout, or coff.
15625 linux*oldld* | linux*aout* | linux*coff*)
15629 # This must be glibc/ELF.
15630 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15631 version_type=linux # correct to gnu/linux during the next big refactor
15634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15635 soname_spec='${libname}${release}${shared_ext}$major'
15636 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15637 shlibpath_var=LD_LIBRARY_PATH
15638 shlibpath_overrides_runpath=no
15640 # Some binutils ld are patched to set DT_RUNPATH
15641 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15642 $as_echo_n "(cached) " >&6
15644 lt_cv_shlibpath_overrides_runpath=no
15645 save_LDFLAGS=$LDFLAGS
15646 save_libdir=$libdir
15647 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15648 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15650 /* end confdefs.h. */
15660 if ac_fn_cxx_try_link "$LINENO"; then :
15661 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15662 lt_cv_shlibpath_overrides_runpath=yes
15665 rm -f core conftest.err conftest.$ac_objext \
15666 conftest$ac_exeext conftest.$ac_ext
15667 LDFLAGS=$save_LDFLAGS
15668 libdir=$save_libdir
15672 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15674 # This implies no fast_install, which is unacceptable.
15675 # Some rework will be needed to allow for fast_install
15676 # before this can be enabled.
15677 hardcode_into_libs=yes
15679 # Append ld.so.conf contents to the search path
15680 if test -f /etc/ld.so.conf; then
15681 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15682 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15685 # We used to test for /lib/ld.so.1 and disable shared libraries on
15686 # powerpc, because MkLinux only supported shared libraries with the
15687 # GNU dynamic linker. Since this was broken with cross compilers,
15688 # most powerpc-linux boxes support dynamic linking these days and
15689 # people can always --disable-shared, the test was removed, and we
15690 # assume the GNU/Linux dynamic linker is in use.
15691 dynamic_linker='GNU/Linux ld.so'
15698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15699 soname_spec='${libname}${release}${shared_ext}$major'
15700 shlibpath_var=LD_LIBRARY_PATH
15701 shlibpath_overrides_runpath=no
15702 hardcode_into_libs=yes
15703 dynamic_linker='NetBSD ld.elf_so'
15710 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15712 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15713 dynamic_linker='NetBSD (a.out) ld.so'
15715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15716 soname_spec='${libname}${release}${shared_ext}$major'
15717 dynamic_linker='NetBSD ld.elf_so'
15719 shlibpath_var=LD_LIBRARY_PATH
15720 shlibpath_overrides_runpath=yes
15721 hardcode_into_libs=yes
15725 version_type=linux # correct to gnu/linux during the next big refactor
15726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15727 shlibpath_var=LD_LIBRARY_PATH
15728 shlibpath_overrides_runpath=yes
15735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15736 soname_spec='${libname}${release}${shared_ext}$major'
15737 shlibpath_var=LD_LIBRARY_PATH
15738 shlibpath_overrides_runpath=no
15739 hardcode_into_libs=yes
15740 dynamic_linker='ldqnx.so'
15745 sys_lib_dlsearch_path_spec="/usr/lib"
15747 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15749 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15750 *) need_version=no ;;
15752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15753 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15754 shlibpath_var=LD_LIBRARY_PATH
15755 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15757 openbsd2.[89] | openbsd2.[89].*)
15758 shlibpath_overrides_runpath=no
15761 shlibpath_overrides_runpath=yes
15765 shlibpath_overrides_runpath=yes
15770 libname_spec='$name'
15773 library_names_spec='$libname${shared_ext} $libname.a'
15774 dynamic_linker='OS/2 ld.exe'
15775 shlibpath_var=LIBPATH
15778 osf3* | osf4* | osf5*)
15782 soname_spec='${libname}${release}${shared_ext}$major'
15783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15784 shlibpath_var=LD_LIBRARY_PATH
15785 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15786 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15794 version_type=linux # correct to gnu/linux during the next big refactor
15797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15798 soname_spec='${libname}${release}${shared_ext}$major'
15799 shlibpath_var=LD_LIBRARY_PATH
15800 shlibpath_overrides_runpath=yes
15801 hardcode_into_libs=yes
15802 # ldd complains unless libraries are executable
15803 postinstall_cmds='chmod +x $lib'
15808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15809 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15810 shlibpath_var=LD_LIBRARY_PATH
15811 shlibpath_overrides_runpath=yes
15812 if test "$with_gnu_ld" = yes; then
15819 version_type=linux # correct to gnu/linux during the next big refactor
15820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15821 soname_spec='${libname}${release}${shared_ext}$major'
15822 shlibpath_var=LD_LIBRARY_PATH
15823 case $host_vendor in
15825 shlibpath_overrides_runpath=no
15827 runpath_var=LD_RUN_PATH
15835 shlibpath_overrides_runpath=no
15836 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15842 if test -d /usr/nec ;then
15843 version_type=linux # correct to gnu/linux during the next big refactor
15844 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15845 soname_spec='$libname${shared_ext}.$major'
15846 shlibpath_var=LD_LIBRARY_PATH
15850 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15851 version_type=freebsd-elf
15854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15855 soname_spec='${libname}${release}${shared_ext}$major'
15856 shlibpath_var=LD_LIBRARY_PATH
15857 shlibpath_overrides_runpath=yes
15858 hardcode_into_libs=yes
15859 if test "$with_gnu_ld" = yes; then
15860 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15862 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15865 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15869 sys_lib_dlsearch_path_spec='/usr/lib'
15873 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15874 version_type=linux # correct to gnu/linux during the next big refactor
15877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15878 shlibpath_var=LD_LIBRARY_PATH
15879 shlibpath_overrides_runpath=no
15880 hardcode_into_libs=yes
15884 version_type=linux # correct to gnu/linux during the next big refactor
15885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15886 soname_spec='${libname}${release}${shared_ext}$major'
15887 shlibpath_var=LD_LIBRARY_PATH
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15895 $as_echo "$dynamic_linker" >&6; }
15896 test "$dynamic_linker" = no && can_build_shared=no
15898 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15899 if test "$GCC" = yes; then
15900 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15903 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15904 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15906 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15907 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15948 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15949 hardcode_action_CXX=
15950 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15951 test -n "$runpath_var_CXX" ||
15952 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15954 # We can hardcode non-existent directories.
15955 if test "$hardcode_direct_CXX" != no &&
15956 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15957 # have to relink, otherwise we might link with an installed library
15958 # when we should be linking with a yet-to-be-installed one
15959 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15960 test "$hardcode_minus_L_CXX" != no; then
15961 # Linking always hardcodes the temporary library directory.
15962 hardcode_action_CXX=relink
15964 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15965 hardcode_action_CXX=immediate
15968 # We cannot hardcode anything, or else we can only hardcode existing
15970 hardcode_action_CXX=unsupported
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15973 $as_echo "$hardcode_action_CXX" >&6; }
15975 if test "$hardcode_action_CXX" = relink ||
15976 test "$inherit_rpath_CXX" = yes; then
15977 # Fast installation is not supported
15978 enable_fast_install=no
15979 elif test "$shlibpath_overrides_runpath" = yes ||
15980 test "$enable_shared" = no; then
15981 # Fast installation is not necessary
15982 enable_fast_install=needless
15991 fi # test -n "$compiler"
15994 CFLAGS=$lt_save_CFLAGS
15998 with_gnu_ld=$lt_save_with_gnu_ld
15999 lt_cv_path_LDCXX=$lt_cv_path_LD
16000 lt_cv_path_LD=$lt_save_path_LD
16001 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16002 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16003 fi # test "$_lt_caught_CXX_error" != yes
16006 ac_cpp='$CPP $CPPFLAGS'
16007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16014 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16015 if test -n "$ac_tool_prefix"; then
16016 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16017 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16019 $as_echo_n "checking for $ac_word... " >&6; }
16020 if ${ac_cv_path_PKG_CONFIG+:} false; then :
16021 $as_echo_n "(cached) " >&6
16023 case $PKG_CONFIG in
16025 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16029 for as_dir in $PATH
16032 test -z "$as_dir" && as_dir=.
16033 for ac_exec_ext in '' $ac_executable_extensions; do
16034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16035 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16046 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16047 if test -n "$PKG_CONFIG"; then
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16049 $as_echo "$PKG_CONFIG" >&6; }
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16052 $as_echo "no" >&6; }
16057 if test -z "$ac_cv_path_PKG_CONFIG"; then
16058 ac_pt_PKG_CONFIG=$PKG_CONFIG
16059 # Extract the first word of "pkg-config", so it can be a program name with args.
16060 set dummy pkg-config; ac_word=$2
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16062 $as_echo_n "checking for $ac_word... " >&6; }
16063 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16064 $as_echo_n "(cached) " >&6
16066 case $ac_pt_PKG_CONFIG in
16068 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16072 for as_dir in $PATH
16075 test -z "$as_dir" && as_dir=.
16076 for ac_exec_ext in '' $ac_executable_extensions; do
16077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16078 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16089 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16090 if test -n "$ac_pt_PKG_CONFIG"; then
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16092 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16095 $as_echo "no" >&6; }
16098 if test "x$ac_pt_PKG_CONFIG" = x; then
16101 case $cross_compiling:$ac_tool_warned in
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16105 ac_tool_warned=yes ;;
16107 PKG_CONFIG=$ac_pt_PKG_CONFIG
16110 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16114 if test -n "$PKG_CONFIG"; then
16115 _pkg_min_version=0.20
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16117 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16118 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16120 $as_echo "yes" >&6; }
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16123 $as_echo "no" >&6; }
16136 HB_VERSION_MICRO=12
16148 HB_LIBTOOL_VERSION_INFO=912:0:912
16152 # Functions and headers
16153 for ac_func in atexit mprotect sysconf getpagesize mmap _setmode isatty
16155 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16156 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16157 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16158 cat >>confdefs.h <<_ACEOF
16159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16165 for ac_header in unistd.h sys/mman.h io.h
16167 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16168 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16169 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16170 cat >>confdefs.h <<_ACEOF
16171 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16181 if test "x$GCC" = "xyes"; then
16183 # Make symbols link locally
16184 LDFLAGS="$LDFLAGS -Bsymbolic-functions"
16186 # Make sure we don't link to libstdc++
16187 CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
16189 # Assorted warnings
16190 CXXFLAGS="$CXXFLAGS -Wcast-align"
16196 # Hide inline methods
16197 CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
16203 # Request byte alignment on arm
16204 CXXFLAGS="$CXXFLAGS -mstructure-size-boundary=8"
16209 if test "x$GCC" = "xyes"; then
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
16220 $as_echo_n "checking for native Win32... " >&6; }
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hb_os_win32" >&5
16227 $as_echo "$hb_os_win32" >&6; }
16228 if test "$hb_os_win32" = "yes"; then
16238 if test "$hb_os_win32" = no; then
16242 ac_cpp='$CPP $CPPFLAGS'
16243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16249 # We used to check for pthread.h first, but this fails if pthread.h
16250 # requires special compiler flags (e.g. on True64 or Sequent).
16251 # It gets checked for in the link test anyway.
16253 # First of all, check if the user has set any of the PTHREAD_LIBS,
16254 # etcetera environment variables, and if threads linking works using
16256 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
16257 save_CFLAGS="$CFLAGS"
16258 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
16260 LIBS="$PTHREAD_LIBS $LIBS"
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
16262 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
16263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16264 /* end confdefs.h. */
16266 /* Override any GCC internal prototype to avoid an error.
16267 Use char because int might match the return type of a GCC
16268 builtin and then its argument prototype would still apply. */
16272 char pthread_join ();
16276 return pthread_join ();
16281 if ac_fn_c_try_link "$LINENO"; then :
16284 rm -f core conftest.err conftest.$ac_objext \
16285 conftest$ac_exeext conftest.$ac_ext
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
16287 $as_echo "$ax_pthread_ok" >&6; }
16288 if test x"$ax_pthread_ok" = xno; then
16293 CFLAGS="$save_CFLAGS"
16296 # We must check for the threads library under a number of different
16297 # names; the ordering is very important because some systems
16298 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
16299 # libraries is broken (non-POSIX).
16301 # Create a list of thread flags to try. Items starting with a "-" are
16302 # C compiler flags, and other items are library names, except for "none"
16303 # which indicates that we try without any flags at all, and "pthread-config"
16304 # which is a program returning the flags for the Pth emulation library.
16306 ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
16308 # The ordering *is* (sometimes) important. Some notes on the
16309 # individual items follow:
16311 # pthreads: AIX (must check this before -lpthread)
16312 # none: in case threads are in libc; should be tried before -Kthread and
16313 # other compiler flags to prevent continual compiler warnings
16314 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
16315 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
16316 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
16317 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
16318 # -pthreads: Solaris/gcc
16319 # -mthreads: Mingw32/gcc, Lynx/gcc
16320 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
16321 # doesn't hurt to check since this sometimes defines pthreads too;
16322 # also defines -D_REENTRANT)
16323 # ... -mt is also the pthreads flag for HP/aCC
16324 # pthread: Linux, etcetera
16325 # --thread-safe: KAI C++
16326 # pthread-config: use pthread-config program (for GNU Pth library)
16331 # On Solaris (at least, for some versions), libc contains stubbed
16332 # (non-functional) versions of the pthreads routines, so link-based
16333 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
16334 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
16335 # a function called by this macro, so we could check for that, but
16336 # who knows whether they'll stub that too in a future libc.) So,
16337 # we'll just look for -pthreads and -lpthread first:
16339 ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
16343 ax_pthread_flags="-pthread $ax_pthread_flags"
16347 if test x"$ax_pthread_ok" = xno; then
16348 for flag in $ax_pthread_flags; do
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
16353 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
16358 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
16359 PTHREAD_CFLAGS="$flag"
16363 # Extract the first word of "pthread-config", so it can be a program name with args.
16364 set dummy pthread-config; ac_word=$2
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16366 $as_echo_n "checking for $ac_word... " >&6; }
16367 if ${ac_cv_prog_ax_pthread_config+:} false; then :
16368 $as_echo_n "(cached) " >&6
16370 if test -n "$ax_pthread_config"; then
16371 ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
16373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16374 for as_dir in $PATH
16377 test -z "$as_dir" && as_dir=.
16378 for ac_exec_ext in '' $ac_executable_extensions; do
16379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16380 ac_cv_prog_ax_pthread_config="yes"
16381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16388 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
16391 ax_pthread_config=$ac_cv_prog_ax_pthread_config
16392 if test -n "$ax_pthread_config"; then
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
16394 $as_echo "$ax_pthread_config" >&6; }
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16397 $as_echo "no" >&6; }
16401 if test x"$ax_pthread_config" = xno; then continue; fi
16402 PTHREAD_CFLAGS="`pthread-config --cflags`"
16403 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
16408 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
16409 PTHREAD_LIBS="-l$flag"
16414 save_CFLAGS="$CFLAGS"
16415 LIBS="$PTHREAD_LIBS $LIBS"
16416 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
16418 # Check for various functions. We must include pthread.h,
16419 # since some functions may be macros. (On the Sequent, we
16420 # need a special flag -Kthread to make this header compile.)
16421 # We check for pthread_join because it is in -lpthread on IRIX
16422 # while pthread_create is in libc. We check for pthread_attr_init
16423 # due to DEC craziness with -lpthreads. We check for
16424 # pthread_cleanup_push because it is one of the few pthread
16425 # functions on Solaris that doesn't have a non-functional libc stub.
16426 # We try pthread_create on general principles.
16427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16428 /* end confdefs.h. */
16429 #include <pthread.h>
16430 static void routine(void *a) { a = 0; }
16431 static void *start_routine(void *a) { return a; }
16435 pthread_t th; pthread_attr_t attr;
16436 pthread_create(&th, 0, start_routine, 0);
16437 pthread_join(th, 0);
16438 pthread_attr_init(&attr);
16439 pthread_cleanup_push(routine, 0);
16440 pthread_cleanup_pop(0) /* ; */
16445 if ac_fn_c_try_link "$LINENO"; then :
16448 rm -f core conftest.err conftest.$ac_objext \
16449 conftest$ac_exeext conftest.$ac_ext
16452 CFLAGS="$save_CFLAGS"
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
16455 $as_echo "$ax_pthread_ok" >&6; }
16456 if test "x$ax_pthread_ok" = xyes; then
16465 # Various other checks:
16466 if test "x$ax_pthread_ok" = xyes; then
16468 LIBS="$PTHREAD_LIBS $LIBS"
16469 save_CFLAGS="$CFLAGS"
16470 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
16472 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
16474 $as_echo_n "checking for joinable pthread attribute... " >&6; }
16476 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
16477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16478 /* end confdefs.h. */
16479 #include <pthread.h>
16483 int attr = $attr; return attr /* ; */
16488 if ac_fn_c_try_link "$LINENO"; then :
16489 attr_name=$attr; break
16491 rm -f core conftest.err conftest.$ac_objext \
16492 conftest$ac_exeext conftest.$ac_ext
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
16495 $as_echo "$attr_name" >&6; }
16496 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
16498 cat >>confdefs.h <<_ACEOF
16499 #define PTHREAD_CREATE_JOINABLE $attr_name
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
16505 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
16508 aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
16509 osf* | hpux*) flag="-D_REENTRANT";;
16511 if test "$GCC" = "yes"; then
16512 flag="-D_REENTRANT"
16514 flag="-mt -D_REENTRANT"
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
16519 $as_echo "${flag}" >&6; }
16520 if test "x$flag" != xno; then
16521 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
16525 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
16526 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
16527 $as_echo_n "(cached) " >&6
16530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16533 #include <pthread.h>
16537 int i = PTHREAD_PRIO_INHERIT;
16542 if ac_fn_c_try_link "$LINENO"; then :
16543 ax_cv_PTHREAD_PRIO_INHERIT=yes
16545 ax_cv_PTHREAD_PRIO_INHERIT=no
16547 rm -f core conftest.err conftest.$ac_objext \
16548 conftest$ac_exeext conftest.$ac_ext
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
16552 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
16553 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
16555 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
16560 CFLAGS="$save_CFLAGS"
16562 # More AIX lossage: must compile with xlc_r or cc_r
16563 if test x"$GCC" != xyes; then
16564 for ac_prog in xlc_r cc_r
16566 # Extract the first word of "$ac_prog", so it can be a program name with args.
16567 set dummy $ac_prog; ac_word=$2
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16569 $as_echo_n "checking for $ac_word... " >&6; }
16570 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
16571 $as_echo_n "(cached) " >&6
16573 if test -n "$PTHREAD_CC"; then
16574 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
16576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16577 for as_dir in $PATH
16580 test -z "$as_dir" && as_dir=.
16581 for ac_exec_ext in '' $ac_executable_extensions; do
16582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16583 ac_cv_prog_PTHREAD_CC="$ac_prog"
16584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16593 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
16594 if test -n "$PTHREAD_CC"; then
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
16596 $as_echo "$PTHREAD_CC" >&6; }
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16599 $as_echo "no" >&6; }
16603 test -n "$PTHREAD_CC" && break
16605 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
16618 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
16619 if test x"$ax_pthread_ok" = xyes; then
16627 ac_cpp='$CPP $CPPFLAGS'
16628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16634 if $have_pthread; then
16636 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
16639 if $have_pthread; then
16641 HAVE_PTHREAD_FALSE='#'
16643 HAVE_PTHREAD_TRUE='#'
16644 HAVE_PTHREAD_FALSE=
16652 $as_echo "#define HAVE_OT 1" >>confdefs.h
16666 if $have_hb_old; then
16668 $as_echo "#define HAVE_HB_OLD 1" >>confdefs.h
16671 if $have_hb_old; then
16673 HAVE_HB_OLD_FALSE='#'
16675 HAVE_HB_OLD_TRUE='#'
16682 if $have_ucdn; then
16684 $as_echo "#define HAVE_UCDN 1" >>confdefs.h
16687 if $have_ucdn; then
16689 HAVE_UCDN_FALSE='#'
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
16700 $as_echo_n "checking for GLIB... " >&6; }
16702 if test -n "$PKG_CONFIG"; then
16703 if test -n "$GLIB_CFLAGS"; then
16704 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
16706 if test -n "$PKG_CONFIG" && \
16707 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
16708 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
16710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16711 test $ac_status = 0; }; then
16712 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.16" 2>/dev/null`
16720 if test -n "$PKG_CONFIG"; then
16721 if test -n "$GLIB_LIBS"; then
16722 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
16724 if test -n "$PKG_CONFIG" && \
16725 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
16726 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
16728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16729 test $ac_status = 0; }; then
16730 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.16" 2>/dev/null`
16741 if test $pkg_failed = yes; then
16743 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16744 _pkg_short_errors_supported=yes
16746 _pkg_short_errors_supported=no
16748 if test $_pkg_short_errors_supported = yes; then
16749 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.16"`
16751 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.16"`
16753 # Put the nasty error message in config.log where it belongs
16754 echo "$GLIB_PKG_ERRORS" >&5
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16757 $as_echo "no" >&6; }
16759 elif test $pkg_failed = untried; then
16762 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
16763 GLIB_LIBS=$pkg_cv_GLIB_LIBS
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16765 $as_echo "yes" >&6; }
16768 if $have_glib; then
16770 $as_echo "#define HAVE_GLIB 1" >>confdefs.h
16773 if $have_glib; then
16775 HAVE_GLIB_FALSE='#'
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
16785 $as_echo_n "checking for GTHREAD... " >&6; }
16787 if test -n "$PKG_CONFIG"; then
16788 if test -n "$GTHREAD_CFLAGS"; then
16789 pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
16791 if test -n "$PKG_CONFIG" && \
16792 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
16793 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
16795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16796 test $ac_status = 0; }; then
16797 pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
16805 if test -n "$PKG_CONFIG"; then
16806 if test -n "$GTHREAD_LIBS"; then
16807 pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
16809 if test -n "$PKG_CONFIG" && \
16810 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
16811 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
16813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16814 test $ac_status = 0; }; then
16815 pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
16826 if test $pkg_failed = yes; then
16828 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16829 _pkg_short_errors_supported=yes
16831 _pkg_short_errors_supported=no
16833 if test $_pkg_short_errors_supported = yes; then
16834 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread-2.0"`
16836 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0"`
16838 # Put the nasty error message in config.log where it belongs
16839 echo "$GTHREAD_PKG_ERRORS" >&5
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16842 $as_echo "no" >&6; }
16844 elif test $pkg_failed = untried; then
16847 GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
16848 GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16850 $as_echo "yes" >&6; }
16853 if $have_gthread; then
16855 $as_echo "#define HAVE_GTHREAD 1" >>confdefs.h
16858 if $have_gthread; then
16860 HAVE_GTHREAD_FALSE='#'
16862 HAVE_GTHREAD_TRUE='#'
16863 HAVE_GTHREAD_FALSE=
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
16870 $as_echo_n "checking for GOBJECT... " >&6; }
16872 if test -n "$PKG_CONFIG"; then
16873 if test -n "$GOBJECT_CFLAGS"; then
16874 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
16876 if test -n "$PKG_CONFIG" && \
16877 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 glib-2.0 >= 2.16\""; } >&5
16878 ($PKG_CONFIG --exists --print-errors "gobject-2.0 glib-2.0 >= 2.16") 2>&5
16880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16881 test $ac_status = 0; }; then
16882 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 glib-2.0 >= 2.16" 2>/dev/null`
16890 if test -n "$PKG_CONFIG"; then
16891 if test -n "$GOBJECT_LIBS"; then
16892 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
16894 if test -n "$PKG_CONFIG" && \
16895 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 glib-2.0 >= 2.16\""; } >&5
16896 ($PKG_CONFIG --exists --print-errors "gobject-2.0 glib-2.0 >= 2.16") 2>&5
16898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16899 test $ac_status = 0; }; then
16900 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 glib-2.0 >= 2.16" 2>/dev/null`
16911 if test $pkg_failed = yes; then
16913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16914 _pkg_short_errors_supported=yes
16916 _pkg_short_errors_supported=no
16918 if test $_pkg_short_errors_supported = yes; then
16919 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gobject-2.0 glib-2.0 >= 2.16"`
16921 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-2.0 glib-2.0 >= 2.16"`
16923 # Put the nasty error message in config.log where it belongs
16924 echo "$GOBJECT_PKG_ERRORS" >&5
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16927 $as_echo "no" >&6; }
16929 elif test $pkg_failed = untried; then
16932 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
16933 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16935 $as_echo "yes" >&6; }
16938 if $have_gobject; then
16940 $as_echo "#define HAVE_GOBJECT 1" >>confdefs.h
16942 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
16945 if $have_gobject; then
16947 HAVE_GOBJECT_FALSE='#'
16949 HAVE_GOBJECT_TRUE='#'
16950 HAVE_GOBJECT_FALSE=
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
16958 $as_echo_n "checking for CAIRO... " >&6; }
16960 if test -n "$PKG_CONFIG"; then
16961 if test -n "$CAIRO_CFLAGS"; then
16962 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
16964 if test -n "$PKG_CONFIG" && \
16965 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.8.0\""; } >&5
16966 ($PKG_CONFIG --exists --print-errors "cairo >= 1.8.0") 2>&5
16968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16969 test $ac_status = 0; }; then
16970 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.8.0" 2>/dev/null`
16978 if test -n "$PKG_CONFIG"; then
16979 if test -n "$CAIRO_LIBS"; then
16980 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
16982 if test -n "$PKG_CONFIG" && \
16983 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.8.0\""; } >&5
16984 ($PKG_CONFIG --exists --print-errors "cairo >= 1.8.0") 2>&5
16986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16987 test $ac_status = 0; }; then
16988 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.8.0" 2>/dev/null`
16999 if test $pkg_failed = yes; then
17001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17002 _pkg_short_errors_supported=yes
17004 _pkg_short_errors_supported=no
17006 if test $_pkg_short_errors_supported = yes; then
17007 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo >= 1.8.0"`
17009 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.8.0"`
17011 # Put the nasty error message in config.log where it belongs
17012 echo "$CAIRO_PKG_ERRORS" >&5
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17015 $as_echo "no" >&6; }
17017 elif test $pkg_failed = untried; then
17020 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
17021 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17023 $as_echo "yes" >&6; }
17026 if $have_cairo; then
17028 $as_echo "#define HAVE_CAIRO 1" >>confdefs.h
17031 if $have_cairo; then
17033 HAVE_CAIRO_FALSE='#'
17035 HAVE_CAIRO_TRUE='#'
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_FT" >&5
17043 $as_echo_n "checking for CAIRO_FT... " >&6; }
17045 if test -n "$PKG_CONFIG"; then
17046 if test -n "$CAIRO_FT_CFLAGS"; then
17047 pkg_cv_CAIRO_FT_CFLAGS="$CAIRO_FT_CFLAGS"
17049 if test -n "$PKG_CONFIG" && \
17050 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft\""; } >&5
17051 ($PKG_CONFIG --exists --print-errors "cairo-ft") 2>&5
17053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17054 test $ac_status = 0; }; then
17055 pkg_cv_CAIRO_FT_CFLAGS=`$PKG_CONFIG --cflags "cairo-ft" 2>/dev/null`
17063 if test -n "$PKG_CONFIG"; then
17064 if test -n "$CAIRO_FT_LIBS"; then
17065 pkg_cv_CAIRO_FT_LIBS="$CAIRO_FT_LIBS"
17067 if test -n "$PKG_CONFIG" && \
17068 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft\""; } >&5
17069 ($PKG_CONFIG --exists --print-errors "cairo-ft") 2>&5
17071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17072 test $ac_status = 0; }; then
17073 pkg_cv_CAIRO_FT_LIBS=`$PKG_CONFIG --libs "cairo-ft" 2>/dev/null`
17084 if test $pkg_failed = yes; then
17086 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17087 _pkg_short_errors_supported=yes
17089 _pkg_short_errors_supported=no
17091 if test $_pkg_short_errors_supported = yes; then
17092 CAIRO_FT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo-ft"`
17094 CAIRO_FT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo-ft"`
17096 # Put the nasty error message in config.log where it belongs
17097 echo "$CAIRO_FT_PKG_ERRORS" >&5
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17100 $as_echo "no" >&6; }
17101 have_cairo_ft=false
17102 elif test $pkg_failed = untried; then
17103 have_cairo_ft=false
17105 CAIRO_FT_CFLAGS=$pkg_cv_CAIRO_FT_CFLAGS
17106 CAIRO_FT_LIBS=$pkg_cv_CAIRO_FT_LIBS
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17108 $as_echo "yes" >&6; }
17111 if $have_cairo_ft; then
17113 $as_echo "#define HAVE_CAIRO_FT 1" >>confdefs.h
17116 if $have_cairo_ft; then
17117 HAVE_CAIRO_FT_TRUE=
17118 HAVE_CAIRO_FT_FALSE='#'
17120 HAVE_CAIRO_FT_TRUE='#'
17121 HAVE_CAIRO_FT_FALSE=
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU" >&5
17129 $as_echo_n "checking for ICU... " >&6; }
17131 if test -n "$PKG_CONFIG"; then
17132 if test -n "$ICU_CFLAGS"; then
17133 pkg_cv_ICU_CFLAGS="$ICU_CFLAGS"
17135 if test -n "$PKG_CONFIG" && \
17136 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5
17137 ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5
17139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17140 test $ac_status = 0; }; then
17141 pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-uc" 2>/dev/null`
17149 if test -n "$PKG_CONFIG"; then
17150 if test -n "$ICU_LIBS"; then
17151 pkg_cv_ICU_LIBS="$ICU_LIBS"
17153 if test -n "$PKG_CONFIG" && \
17154 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5
17155 ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5
17157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17158 test $ac_status = 0; }; then
17159 pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-uc" 2>/dev/null`
17170 if test $pkg_failed = yes; then
17172 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17173 _pkg_short_errors_supported=yes
17175 _pkg_short_errors_supported=no
17177 if test $_pkg_short_errors_supported = yes; then
17178 ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "icu-uc"`
17180 ICU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "icu-uc"`
17182 # Put the nasty error message in config.log where it belongs
17183 echo "$ICU_PKG_ERRORS" >&5
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17186 $as_echo "no" >&6; }
17188 elif test $pkg_failed = untried; then
17191 ICU_CFLAGS=$pkg_cv_ICU_CFLAGS
17192 ICU_LIBS=$pkg_cv_ICU_LIBS
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17194 $as_echo "yes" >&6; }
17198 CXXFLAGS="$CXXFLAGS `$PKG_CONFIG --variable=CXXFLAGS icu-uc`"
17200 $as_echo "#define HAVE_ICU 1" >>confdefs.h
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU_LE" >&5
17216 $as_echo_n "checking for ICU_LE... " >&6; }
17218 if test -n "$PKG_CONFIG"; then
17219 if test -n "$ICU_LE_CFLAGS"; then
17220 pkg_cv_ICU_LE_CFLAGS="$ICU_LE_CFLAGS"
17222 if test -n "$PKG_CONFIG" && \
17223 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-le icu-uc\""; } >&5
17224 ($PKG_CONFIG --exists --print-errors "icu-le icu-uc") 2>&5
17226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17227 test $ac_status = 0; }; then
17228 pkg_cv_ICU_LE_CFLAGS=`$PKG_CONFIG --cflags "icu-le icu-uc" 2>/dev/null`
17236 if test -n "$PKG_CONFIG"; then
17237 if test -n "$ICU_LE_LIBS"; then
17238 pkg_cv_ICU_LE_LIBS="$ICU_LE_LIBS"
17240 if test -n "$PKG_CONFIG" && \
17241 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-le icu-uc\""; } >&5
17242 ($PKG_CONFIG --exists --print-errors "icu-le icu-uc") 2>&5
17244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17245 test $ac_status = 0; }; then
17246 pkg_cv_ICU_LE_LIBS=`$PKG_CONFIG --libs "icu-le icu-uc" 2>/dev/null`
17257 if test $pkg_failed = yes; then
17259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17260 _pkg_short_errors_supported=yes
17262 _pkg_short_errors_supported=no
17264 if test $_pkg_short_errors_supported = yes; then
17265 ICU_LE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "icu-le icu-uc"`
17267 ICU_LE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "icu-le icu-uc"`
17269 # Put the nasty error message in config.log where it belongs
17270 echo "$ICU_LE_PKG_ERRORS" >&5
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17273 $as_echo "no" >&6; }
17275 elif test $pkg_failed = untried; then
17278 ICU_LE_CFLAGS=$pkg_cv_ICU_LE_CFLAGS
17279 ICU_LE_LIBS=$pkg_cv_ICU_LE_LIBS
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17281 $as_echo "yes" >&6; }
17284 if $have_icu_le; then
17286 $as_echo "#define HAVE_ICU_LE 1" >>confdefs.h
17289 if $have_icu_le; then
17291 HAVE_ICU_LE_FALSE='#'
17293 HAVE_ICU_LE_TRUE='#'
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GRAPHITE2" >&5
17302 $as_echo_n "checking for GRAPHITE2... " >&6; }
17304 if test -n "$PKG_CONFIG"; then
17305 if test -n "$GRAPHITE2_CFLAGS"; then
17306 pkg_cv_GRAPHITE2_CFLAGS="$GRAPHITE2_CFLAGS"
17308 if test -n "$PKG_CONFIG" && \
17309 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"graphite2\""; } >&5
17310 ($PKG_CONFIG --exists --print-errors "graphite2") 2>&5
17312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17313 test $ac_status = 0; }; then
17314 pkg_cv_GRAPHITE2_CFLAGS=`$PKG_CONFIG --cflags "graphite2" 2>/dev/null`
17322 if test -n "$PKG_CONFIG"; then
17323 if test -n "$GRAPHITE2_LIBS"; then
17324 pkg_cv_GRAPHITE2_LIBS="$GRAPHITE2_LIBS"
17326 if test -n "$PKG_CONFIG" && \
17327 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"graphite2\""; } >&5
17328 ($PKG_CONFIG --exists --print-errors "graphite2") 2>&5
17330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17331 test $ac_status = 0; }; then
17332 pkg_cv_GRAPHITE2_LIBS=`$PKG_CONFIG --libs "graphite2" 2>/dev/null`
17343 if test $pkg_failed = yes; then
17345 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17346 _pkg_short_errors_supported=yes
17348 _pkg_short_errors_supported=no
17350 if test $_pkg_short_errors_supported = yes; then
17351 GRAPHITE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "graphite2"`
17353 GRAPHITE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "graphite2"`
17355 # Put the nasty error message in config.log where it belongs
17356 echo "$GRAPHITE2_PKG_ERRORS" >&5
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17359 $as_echo "no" >&6; }
17360 have_graphite=false
17361 elif test $pkg_failed = untried; then
17362 have_graphite=false
17364 GRAPHITE2_CFLAGS=$pkg_cv_GRAPHITE2_CFLAGS
17365 GRAPHITE2_LIBS=$pkg_cv_GRAPHITE2_LIBS
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17367 $as_echo "yes" >&6; }
17370 if $have_graphite; then
17372 $as_echo "#define HAVE_GRAPHITE2 1" >>confdefs.h
17375 if $have_graphite; then
17376 HAVE_GRAPHITE2_TRUE=
17377 HAVE_GRAPHITE2_FALSE='#'
17379 HAVE_GRAPHITE2_TRUE='#'
17380 HAVE_GRAPHITE2_FALSE=
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
17388 $as_echo_n "checking for FREETYPE... " >&6; }
17390 if test -n "$PKG_CONFIG"; then
17391 if test -n "$FREETYPE_CFLAGS"; then
17392 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
17394 if test -n "$PKG_CONFIG" && \
17395 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.3.8\""; } >&5
17396 ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.3.8") 2>&5
17398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17399 test $ac_status = 0; }; then
17400 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 2.3.8" 2>/dev/null`
17408 if test -n "$PKG_CONFIG"; then
17409 if test -n "$FREETYPE_LIBS"; then
17410 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
17412 if test -n "$PKG_CONFIG" && \
17413 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.3.8\""; } >&5
17414 ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.3.8") 2>&5
17416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17417 test $ac_status = 0; }; then
17418 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 2.3.8" 2>/dev/null`
17429 if test $pkg_failed = yes; then
17431 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17432 _pkg_short_errors_supported=yes
17434 _pkg_short_errors_supported=no
17436 if test $_pkg_short_errors_supported = yes; then
17437 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "freetype2 >= 2.3.8"`
17439 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2 >= 2.3.8"`
17441 # Put the nasty error message in config.log where it belongs
17442 echo "$FREETYPE_PKG_ERRORS" >&5
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17445 $as_echo "no" >&6; }
17446 have_freetype=false
17447 elif test $pkg_failed = untried; then
17448 have_freetype=false
17450 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
17451 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17453 $as_echo "yes" >&6; }
17456 if $have_freetype; then
17458 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
17461 _save_cflags="$CFLAGS"
17462 LIBS="$LIBS $FREETYPE_LIBS"
17463 CFLAGS="$CFLAGS $FREETYPE_CFLAGS"
17464 for ac_func in FT_Face_GetCharVariantIndex
17466 ac_fn_c_check_func "$LINENO" "FT_Face_GetCharVariantIndex" "ac_cv_func_FT_Face_GetCharVariantIndex"
17467 if test "x$ac_cv_func_FT_Face_GetCharVariantIndex" = xyes; then :
17468 cat >>confdefs.h <<_ACEOF
17469 #define HAVE_FT_FACE_GETCHARVARIANTINDEX 1
17476 CFLAGS="$_save_cflags"
17478 if $have_freetype; then
17479 HAVE_FREETYPE_TRUE=
17480 HAVE_FREETYPE_FALSE='#'
17482 HAVE_FREETYPE_TRUE='#'
17483 HAVE_FREETYPE_FALSE=
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ScriptShapeOpenType in usp10" >&5
17489 $as_echo_n "checking for ScriptShapeOpenType in usp10... " >&6; }
17491 LIBS="$LIBS -lusp10 -lgdi32"
17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17495 #define _WIN32_WINNT 0x0600
17496 #include <windows.h>
17502 ScriptShapeOpenType
17507 if ac_fn_c_try_link "$LINENO"; then :
17508 have_uniscribe=true; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17509 $as_echo "yes" >&6; }
17511 have_uniscribe=false;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17512 $as_echo "no" >&6; }
17514 rm -f core conftest.err conftest.$ac_objext \
17515 conftest$ac_exeext conftest.$ac_ext
17517 if $have_uniscribe; then
17519 UNISCRIBE_LIBS="-lusp10 -lgdi32"
17523 $as_echo "#define HAVE_UNISCRIBE 1" >>confdefs.h
17526 if $have_uniscribe; then
17527 HAVE_UNISCRIBE_TRUE=
17528 HAVE_UNISCRIBE_FALSE='#'
17530 HAVE_UNISCRIBE_TRUE='#'
17531 HAVE_UNISCRIBE_FALSE=
17536 ac_fn_c_check_type "$LINENO" "CTFontRef" "ac_cv_type_CTFontRef" "#include <ApplicationServices/ApplicationServices.h>
17538 if test "x$ac_cv_type_CTFontRef" = xyes; then :
17541 have_coretext=false
17544 if $have_coretext; then
17546 CORETEXT_LIBS="-framework ApplicationServices"
17550 $as_echo "#define HAVE_CORETEXT 1" >>confdefs.h
17553 if $have_coretext; then
17554 HAVE_CORETEXT_TRUE=
17555 HAVE_CORETEXT_FALSE='#'
17557 HAVE_CORETEXT_TRUE='#'
17558 HAVE_CORETEXT_FALSE=
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Intel atomic primitives" >&5
17564 $as_echo_n "checking for Intel atomic primitives... " >&6; }
17565 if ${hb_cv_have_intel_atomic_primitives+:} false; then :
17566 $as_echo_n "(cached) " >&6
17569 hb_cv_have_intel_atomic_primitives=false
17570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17573 void memory_barrier (void) { __sync_synchronize (); }
17574 int atomic_add (int *i) { return __sync_fetch_and_add (i, 1); }
17575 int mutex_trylock (int *m) { return __sync_lock_test_and_set (m, 1); }
17576 void mutex_unlock (int *m) { __sync_lock_release (m); }
17586 if ac_fn_c_try_link "$LINENO"; then :
17587 hb_cv_have_intel_atomic_primitives=true
17590 rm -f core conftest.err conftest.$ac_objext \
17591 conftest$ac_exeext conftest.$ac_ext
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hb_cv_have_intel_atomic_primitives" >&5
17595 $as_echo "$hb_cv_have_intel_atomic_primitives" >&6; }
17596 if $hb_cv_have_intel_atomic_primitives; then
17598 $as_echo "#define HAVE_INTEL_ATOMIC_PRIMITIVES 1" >>confdefs.h
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Solaris atomic operations" >&5
17604 $as_echo_n "checking for Solaris atomic operations... " >&6; }
17605 if ${hb_cv_have_solaris_atomic_ops+:} false; then :
17606 $as_echo_n "(cached) " >&6
17609 hb_cv_have_solaris_atomic_ops=false
17610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17611 /* end confdefs.h. */
17613 #include <atomic.h>
17614 /* This requires Solaris Studio 12.2 or newer: */
17615 #include <mbarrier.h>
17616 void memory_barrier (void) { __machine_rw_barrier (); }
17617 int atomic_add (volatile unsigned *i) { return atomic_add_int_nv (i, 1); }
17618 void *atomic_ptr_cmpxchg (volatile void **target, void *cmp, void *newval) { return atomic_cas_ptr (target, cmp, newval); }
17628 if ac_fn_c_try_link "$LINENO"; then :
17629 hb_cv_have_solaris_atomic_ops=true
17632 rm -f core conftest.err conftest.$ac_objext \
17633 conftest$ac_exeext conftest.$ac_ext
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hb_cv_have_solaris_atomic_ops" >&5
17637 $as_echo "$hb_cv_have_solaris_atomic_ops" >&6; }
17638 if $hb_cv_have_solaris_atomic_ops; then
17640 $as_echo "#define HAVE_SOLARIS_ATOMIC_OPS 1" >>confdefs.h
17644 if test "$os_win32" = no && ! $have_pthread; then
17645 for ac_header in sched.h
17647 ac_fn_c_check_header_mongrel "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
17648 if test "x$ac_cv_header_sched_h" = xyes; then :
17649 cat >>confdefs.h <<_ACEOF
17650 #define HAVE_SCHED_H 1
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
17658 $as_echo_n "checking for library containing sched_yield... " >&6; }
17659 if ${ac_cv_search_sched_yield+:} false; then :
17660 $as_echo_n "(cached) " >&6
17662 ac_func_search_save_LIBS=$LIBS
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17666 /* Override any GCC internal prototype to avoid an error.
17667 Use char because int might match the return type of a GCC
17668 builtin and then its argument prototype would still apply. */
17672 char sched_yield ();
17676 return sched_yield ();
17681 for ac_lib in '' rt; do
17682 if test -z "$ac_lib"; then
17683 ac_res="none required"
17686 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17688 if ac_fn_c_try_link "$LINENO"; then :
17689 ac_cv_search_sched_yield=$ac_res
17691 rm -f core conftest.err conftest.$ac_objext \
17693 if ${ac_cv_search_sched_yield+:} false; then :
17697 if ${ac_cv_search_sched_yield+:} false; then :
17700 ac_cv_search_sched_yield=no
17702 rm conftest.$ac_ext
17703 LIBS=$ac_func_search_save_LIBS
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
17706 $as_echo "$ac_cv_search_sched_yield" >&6; }
17707 ac_res=$ac_cv_search_sched_yield
17708 if test "$ac_res" != no; then :
17709 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17711 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
17718 ac_config_files="$ac_config_files Makefile harfbuzz.pc src/Makefile src/hb-version.h src/hb-icu-le/Makefile src/hb-old/Makefile src/hb-ucdn/Makefile util/Makefile test/Makefile test/api/Makefile test/shaping/Makefile"
17721 cat >confcache <<\_ACEOF
17722 # This file is a shell script that caches the results of configure
17723 # tests run on this system so they can be shared between configure
17724 # scripts and configure runs, see configure's option --config-cache.
17725 # It is not useful on other systems. If it contains results you don't
17726 # want to keep, you may remove or edit it.
17728 # config.status only pays attention to the cache file if you give it
17729 # the --recheck option to rerun configure.
17731 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17732 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17733 # following values.
17737 # The following way of writing the cache mishandles newlines in values,
17738 # but we know of no workaround that is simple, portable, and efficient.
17739 # So, we kill variables containing newlines.
17740 # Ultrix sh set writes to stderr and can't be redirected directly,
17741 # and sets the high bit in the cache file unless we assign to the vars.
17743 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17744 eval ac_val=\$$ac_var
17748 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17749 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17752 _ | IFS | as_nl) ;; #(
17753 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17754 *) { eval $ac_var=; unset $ac_var;} ;;
17760 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17761 *${as_nl}ac_space=\ *)
17762 # `set' does not quote correctly, so add quotes: double-quote
17763 # substitution turns \\\\ into \\, and sed turns \\ into \.
17766 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17769 # `set' quotes correctly as required by POSIX, so do not add quotes.
17770 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17779 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17781 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17783 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17784 if test -w "$cache_file"; then
17785 if test "x$cache_file" != "x/dev/null"; then
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17787 $as_echo "$as_me: updating cache $cache_file" >&6;}
17788 if test ! -f "$cache_file" || test -h "$cache_file"; then
17789 cat confcache >"$cache_file"
17791 case $cache_file in #(
17793 mv -f confcache "$cache_file"$$ &&
17794 mv -f "$cache_file"$$ "$cache_file" ;; #(
17796 mv -f confcache "$cache_file" ;;
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17802 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17807 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17808 # Let make expand exec_prefix.
17809 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17811 DEFS=-DHAVE_CONFIG_H
17816 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17817 # 1. Remove the extension, and $U if already installed.
17818 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17819 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17820 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17821 # will be set to the directory where LIBOBJS objects are built.
17822 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17823 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17825 LIBOBJS=$ac_libobjs
17827 LTLIBOBJS=$ac_ltlibobjs
17830 if test -n "$EXEEXT"; then
17832 am__EXEEXT_FALSE='#'
17834 am__EXEEXT_TRUE='#'
17838 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17839 as_fn_error $? "conditional \"AMDEP\" was never defined.
17840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17842 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17843 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17844 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17846 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17847 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17850 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17851 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17854 if test -z "${HAVE_GCC_TRUE}" && test -z "${HAVE_GCC_FALSE}"; then
17855 as_fn_error $? "conditional \"HAVE_GCC\" was never defined.
17856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17858 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
17859 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
17860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17862 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
17863 as_fn_error $? "conditional \"HAVE_PTHREAD\" was never defined.
17864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17866 if test -z "${HAVE_OT_TRUE}" && test -z "${HAVE_OT_FALSE}"; then
17867 as_fn_error $? "conditional \"HAVE_OT\" was never defined.
17868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17870 if test -z "${HAVE_HB_OLD_TRUE}" && test -z "${HAVE_HB_OLD_FALSE}"; then
17871 as_fn_error $? "conditional \"HAVE_HB_OLD\" was never defined.
17872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17874 if test -z "${HAVE_UCDN_TRUE}" && test -z "${HAVE_UCDN_FALSE}"; then
17875 as_fn_error $? "conditional \"HAVE_UCDN\" was never defined.
17876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17878 if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
17879 as_fn_error $? "conditional \"HAVE_GLIB\" was never defined.
17880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17882 if test -z "${HAVE_GTHREAD_TRUE}" && test -z "${HAVE_GTHREAD_FALSE}"; then
17883 as_fn_error $? "conditional \"HAVE_GTHREAD\" was never defined.
17884 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17886 if test -z "${HAVE_GOBJECT_TRUE}" && test -z "${HAVE_GOBJECT_FALSE}"; then
17887 as_fn_error $? "conditional \"HAVE_GOBJECT\" was never defined.
17888 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17890 if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then
17891 as_fn_error $? "conditional \"HAVE_CAIRO\" was never defined.
17892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17894 if test -z "${HAVE_CAIRO_FT_TRUE}" && test -z "${HAVE_CAIRO_FT_FALSE}"; then
17895 as_fn_error $? "conditional \"HAVE_CAIRO_FT\" was never defined.
17896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17898 if test -z "${HAVE_ICU_TRUE}" && test -z "${HAVE_ICU_FALSE}"; then
17899 as_fn_error $? "conditional \"HAVE_ICU\" was never defined.
17900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17902 if test -z "${HAVE_ICU_LE_TRUE}" && test -z "${HAVE_ICU_LE_FALSE}"; then
17903 as_fn_error $? "conditional \"HAVE_ICU_LE\" was never defined.
17904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17906 if test -z "${HAVE_GRAPHITE2_TRUE}" && test -z "${HAVE_GRAPHITE2_FALSE}"; then
17907 as_fn_error $? "conditional \"HAVE_GRAPHITE2\" was never defined.
17908 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17910 if test -z "${HAVE_FREETYPE_TRUE}" && test -z "${HAVE_FREETYPE_FALSE}"; then
17911 as_fn_error $? "conditional \"HAVE_FREETYPE\" was never defined.
17912 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17914 if test -z "${HAVE_UNISCRIBE_TRUE}" && test -z "${HAVE_UNISCRIBE_FALSE}"; then
17915 as_fn_error $? "conditional \"HAVE_UNISCRIBE\" was never defined.
17916 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17918 if test -z "${HAVE_CORETEXT_TRUE}" && test -z "${HAVE_CORETEXT_FALSE}"; then
17919 as_fn_error $? "conditional \"HAVE_CORETEXT\" was never defined.
17920 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17923 : "${CONFIG_STATUS=./config.status}"
17925 ac_clean_files_save=$ac_clean_files
17926 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17928 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17930 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17932 # Generated by $as_me.
17933 # Run this file to recreate the current configuration.
17934 # Compiler output produced by configure, useful for debugging
17935 # configure, is in config.log if it exists.
17938 ac_cs_recheck=false
17941 SHELL=\${CONFIG_SHELL-$SHELL}
17944 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17945 ## -------------------- ##
17946 ## M4sh Initialization. ##
17947 ## -------------------- ##
17949 # Be more Bourne compatible
17950 DUALCASE=1; export DUALCASE # for MKS sh
17951 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17954 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17955 # is contrary to our usage. Disable this feature.
17956 alias -g '${1+"$@"}'='"$@"'
17957 setopt NO_GLOB_SUBST
17959 case `(set -o) 2>/dev/null` in #(
17971 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17972 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17973 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17974 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17975 # Prefer a ksh shell builtin over an external printf program on Solaris,
17976 # but without wasting forks for bash or zsh.
17977 if test -z "$BASH_VERSION$ZSH_VERSION" \
17978 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17979 as_echo='print -r --'
17980 as_echo_n='print -rn --'
17981 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17982 as_echo='printf %s\n'
17983 as_echo_n='printf %s'
17985 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17986 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17987 as_echo_n='/usr/ucb/echo -n'
17989 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17990 as_echo_n_body='eval
17994 expr "X$arg" : "X\\(.*\\)$as_nl";
17995 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17997 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17999 export as_echo_n_body
18000 as_echo_n='sh -c $as_echo_n_body as_echo'
18002 export as_echo_body
18003 as_echo='sh -c $as_echo_body as_echo'
18006 # The user is always right.
18007 if test "${PATH_SEPARATOR+set}" != set; then
18009 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18010 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18017 # We need space, tab and new line, in precisely that order. Quoting is
18018 # there to prevent editors from complaining about space-tab.
18019 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18020 # splitting by setting IFS to empty value.)
18023 # Find who we are. Look in the path if we contain no directory separator.
18026 *[\\/]* ) as_myself=$0 ;;
18027 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18028 for as_dir in $PATH
18031 test -z "$as_dir" && as_dir=.
18032 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18038 # We did not find ourselves, most probably we were run as `sh COMMAND'
18039 # in which case we are not to be found in the path.
18040 if test "x$as_myself" = x; then
18043 if test ! -f "$as_myself"; then
18044 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18048 # Unset variables that we do not need and which cause bugs (e.g. in
18049 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18050 # suppresses any "Segmentation fault" message there. '((' could
18051 # trigger a bug in pdksh 5.2.14.
18052 for as_var in BASH_ENV ENV MAIL MAILPATH
18053 do eval test x\${$as_var+set} = xset \
18054 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18067 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18070 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18071 # ----------------------------------------
18072 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18073 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18074 # script with STATUS, using 1 if that was 0.
18077 as_status=$1; test $as_status -eq 0 && as_status=1
18079 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18080 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18082 $as_echo "$as_me: error: $2" >&2
18083 as_fn_exit $as_status
18087 # as_fn_set_status STATUS
18088 # -----------------------
18089 # Set $? to STATUS, without forking.
18090 as_fn_set_status ()
18093 } # as_fn_set_status
18095 # as_fn_exit STATUS
18096 # -----------------
18097 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18101 as_fn_set_status $1
18107 # Portably unset VAR.
18110 { eval $1=; unset $1;}
18112 as_unset=as_fn_unset
18113 # as_fn_append VAR VALUE
18114 # ----------------------
18115 # Append the text in VALUE to the end of the definition contained in VAR. Take
18116 # advantage of any shell optimizations that allow amortized linear growth over
18117 # repeated appends, instead of the typical quadratic growth present in naive
18119 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18120 eval 'as_fn_append ()
18131 # as_fn_arith ARG...
18132 # ------------------
18133 # Perform arithmetic evaluation on the ARGs, and store the result in the
18134 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18135 # must be portable across $(()) and expr.
18136 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18137 eval 'as_fn_arith ()
18144 as_val=`expr "$@" || test $? -eq 1`
18149 if expr a : '\(a\)' >/dev/null 2>&1 &&
18150 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18156 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18157 as_basename=basename
18162 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18168 as_me=`$as_basename -- "$0" ||
18169 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18170 X"$0" : 'X\(//\)$' \| \
18171 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18173 sed '/^.*\/\([^/][^/]*\)\/*$/{
18187 # Avoid depending upon Character Ranges.
18188 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18189 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18190 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18191 as_cr_digits='0123456789'
18192 as_cr_alnum=$as_cr_Letters$as_cr_digits
18194 ECHO_C= ECHO_N= ECHO_T=
18195 case `echo -n x` in #(((((
18197 case `echo 'xy\c'` in
18198 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18200 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18207 rm -f conf$$ conf$$.exe conf$$.file
18208 if test -d conf$$.dir; then
18209 rm -f conf$$.dir/conf$$.file
18212 mkdir conf$$.dir 2>/dev/null
18214 if (echo >conf$$.file) 2>/dev/null; then
18215 if ln -s conf$$.file conf$$ 2>/dev/null; then
18217 # ... but there are two gotchas:
18218 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18219 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18220 # In both cases, we have to default to `cp -p'.
18221 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18223 elif ln conf$$.file conf$$ 2>/dev/null; then
18231 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18232 rmdir conf$$.dir 2>/dev/null
18237 # Create "$as_dir" as a directory, including parents if necessary.
18242 -*) as_dir=./$as_dir;;
18244 test -d "$as_dir" || eval $as_mkdir_p || {
18248 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18249 *) as_qdir=$as_dir;;
18251 as_dirs="'$as_qdir' $as_dirs"
18252 as_dir=`$as_dirname -- "$as_dir" ||
18253 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18254 X"$as_dir" : 'X\(//\)[^/]' \| \
18255 X"$as_dir" : 'X\(//\)$' \| \
18256 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18257 $as_echo X"$as_dir" |
18258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18262 /^X\(\/\/\)[^/].*/{
18275 test -d "$as_dir" && break
18277 test -z "$as_dirs" || eval "mkdir $as_dirs"
18278 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18282 if mkdir -p . 2>/dev/null; then
18283 as_mkdir_p='mkdir -p "$as_dir"'
18285 test -d ./-p && rmdir ./-p
18289 if test -x / >/dev/null 2>&1; then
18290 as_test_x='test -x'
18292 if ls -dL / >/dev/null 2>&1; then
18299 if test -d "$1"; then
18305 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18306 ???[sx]*):;;*)false;;esac;fi
18310 as_executable_p=$as_test_x
18312 # Sed expression to map a string onto a valid CPP name.
18313 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18315 # Sed expression to map a string onto a valid variable name.
18316 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18320 ## ----------------------------------- ##
18321 ## Main body of $CONFIG_STATUS script. ##
18322 ## ----------------------------------- ##
18324 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18327 # Save the log message, to keep $0 and so on meaningful, and to
18328 # report actual input values of CONFIG_FILES etc. instead of their
18329 # values after options handling.
18331 This file was extended by HarfBuzz $as_me 0.9.12, which was
18332 generated by GNU Autoconf 2.68. Invocation command line was
18334 CONFIG_FILES = $CONFIG_FILES
18335 CONFIG_HEADERS = $CONFIG_HEADERS
18336 CONFIG_LINKS = $CONFIG_LINKS
18337 CONFIG_COMMANDS = $CONFIG_COMMANDS
18340 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18345 case $ac_config_files in *"
18346 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18349 case $ac_config_headers in *"
18350 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18355 # Files that config.status was made for.
18356 config_files="$ac_config_files"
18357 config_headers="$ac_config_headers"
18358 config_commands="$ac_config_commands"
18362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18364 \`$as_me' instantiates files and other configuration actions
18365 from templates according to the current configuration. Unless the files
18366 and actions are specified as TAGs, all are instantiated by default.
18368 Usage: $0 [OPTION]... [TAG]...
18370 -h, --help print this help, then exit
18371 -V, --version print version number and configuration settings, then exit
18372 --config print configuration, then exit
18373 -q, --quiet, --silent
18374 do not print progress messages
18375 -d, --debug don't remove temporary files
18376 --recheck update $as_me by reconfiguring in the same conditions
18377 --file=FILE[:TEMPLATE]
18378 instantiate the configuration file FILE
18379 --header=FILE[:TEMPLATE]
18380 instantiate the configuration header FILE
18382 Configuration files:
18385 Configuration headers:
18388 Configuration commands:
18391 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz>.
18392 HarfBuzz home page: <http://harfbuzz.org/>."
18395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18396 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18398 HarfBuzz config.status 0.9.12
18399 configured by $0, generated by GNU Autoconf 2.68,
18400 with options \\"\$ac_cs_config\\"
18402 Copyright (C) 2010 Free Software Foundation, Inc.
18403 This config.status script is free software; the Free Software Foundation
18404 gives unlimited permission to copy, distribute and modify it."
18411 test -n "\$AWK" || AWK=awk
18414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18415 # The default lists apply if the user does not specify any file.
18421 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18422 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18426 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18438 # Handling of the options.
18439 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18441 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18442 $as_echo "$ac_cs_version"; exit ;;
18443 --config | --confi | --conf | --con | --co | --c )
18444 $as_echo "$ac_cs_config"; exit ;;
18445 --debug | --debu | --deb | --de | --d | -d )
18447 --file | --fil | --fi | --f )
18450 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18451 '') as_fn_error $? "missing file argument" ;;
18453 as_fn_append CONFIG_FILES " '$ac_optarg'"
18454 ac_need_defaults=false;;
18455 --header | --heade | --head | --hea )
18458 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18460 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18461 ac_need_defaults=false;;
18463 # Conflict between --help and --header
18464 as_fn_error $? "ambiguous option: \`$1'
18465 Try \`$0 --help' for more information.";;
18466 --help | --hel | -h )
18467 $as_echo "$ac_cs_usage"; exit ;;
18468 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18469 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18472 # This is an error.
18473 -*) as_fn_error $? "unrecognized option: \`$1'
18474 Try \`$0 --help' for more information." ;;
18476 *) as_fn_append ac_config_targets " $1"
18477 ac_need_defaults=false ;;
18483 ac_configure_extra_args=
18485 if $ac_cs_silent; then
18487 ac_configure_extra_args="$ac_configure_extra_args --silent"
18491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18492 if \$ac_cs_recheck; then
18493 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18495 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18496 CONFIG_SHELL='$SHELL'
18497 export CONFIG_SHELL
18502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18506 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18507 ## Running $as_me. ##
18513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18517 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18520 # The HP-UX ksh and POSIX shell print the target directory to stdout
18521 # if CDPATH is set.
18522 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18524 sed_quote_subst='$sed_quote_subst'
18525 double_quote_subst='$double_quote_subst'
18526 delay_variable_subst='$delay_variable_subst'
18527 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18528 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18529 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18530 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18531 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18532 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18533 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18534 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18535 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18536 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18537 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18538 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18539 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18540 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18541 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18542 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18543 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18544 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18545 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18546 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18547 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18548 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18549 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18550 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18551 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18552 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18553 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18554 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18555 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18556 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18557 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18558 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18559 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18560 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18561 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18562 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18563 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18564 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18565 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18566 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18567 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18568 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18569 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18570 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18571 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18572 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18573 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18574 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18575 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18576 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18577 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18578 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18579 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18580 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18581 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18582 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18583 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
18584 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18585 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18586 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18587 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18588 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18589 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18590 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18591 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18592 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18593 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18594 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18595 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18596 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18597 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18598 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18599 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18600 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18601 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18602 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18603 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18604 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18605 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18606 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18607 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18608 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18609 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18610 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18611 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18612 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18613 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18614 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18615 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18616 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18617 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18618 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18619 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18620 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18621 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18622 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18623 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18624 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18625 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18626 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18627 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18628 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18629 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18630 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18631 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18632 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18633 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18634 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18635 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18636 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18637 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18638 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18639 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18640 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18641 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18642 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18643 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18644 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18645 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18646 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18647 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18648 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18649 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18650 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18651 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18652 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18653 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18654 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18655 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18656 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18657 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18658 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18659 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18660 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18661 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18662 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18663 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18664 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18665 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18666 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18667 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18668 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18669 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18670 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18671 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18672 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18673 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18674 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18675 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18676 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18677 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18678 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18679 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18680 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18681 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18682 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18683 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18684 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18685 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18686 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18687 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18688 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18689 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18690 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18691 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18692 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18693 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18694 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18695 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18696 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18697 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18698 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18699 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18700 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18701 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18702 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18703 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18704 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18705 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18706 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18707 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18708 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18709 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18710 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18713 LTCFLAGS='$LTCFLAGS'
18714 compiler='$compiler_DEFAULT'
18716 # A function that is used when there is no print builtin or printf.
18717 func_fallback_echo ()
18719 eval 'cat <<_LTECHO_EOF
18724 # Quote evaled strings.
18739 deplibs_check_method \
18744 sharedlib_from_linklib_cmd \
18747 archiver_list_spec \
18753 lt_cv_sys_global_symbol_pipe \
18754 lt_cv_sys_global_symbol_to_cdecl \
18755 lt_cv_sys_global_symbol_to_c_name_address \
18756 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18757 nm_file_list_spec \
18758 lt_prog_compiler_no_builtin_flag \
18759 lt_prog_compiler_pic \
18760 lt_prog_compiler_wl \
18761 lt_prog_compiler_static \
18762 lt_cv_prog_compiler_c_o \
18771 export_dynamic_flag_spec \
18772 whole_archive_flag_spec \
18773 compiler_needs_object \
18775 allow_undefined_flag \
18776 no_undefined_flag \
18777 hardcode_libdir_flag_spec \
18778 hardcode_libdir_separator \
18782 variables_saved_for_relink \
18784 library_names_spec \
18786 install_override_mode \
18790 compiler_lib_search_dirs \
18795 compiler_lib_search_path \
18799 lt_prog_compiler_no_builtin_flag_CXX \
18800 lt_prog_compiler_pic_CXX \
18801 lt_prog_compiler_wl_CXX \
18802 lt_prog_compiler_static_CXX \
18803 lt_cv_prog_compiler_c_o_CXX \
18804 export_dynamic_flag_spec_CXX \
18805 whole_archive_flag_spec_CXX \
18806 compiler_needs_object_CXX \
18808 allow_undefined_flag_CXX \
18809 no_undefined_flag_CXX \
18810 hardcode_libdir_flag_spec_CXX \
18811 hardcode_libdir_separator_CXX \
18812 exclude_expsyms_CXX \
18813 include_expsyms_CXX \
18814 file_list_spec_CXX \
18815 compiler_lib_search_dirs_CXX \
18816 predep_objects_CXX \
18817 postdep_objects_CXX \
18820 compiler_lib_search_path_CXX; do
18821 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18822 *[\\\\\\\`\\"\\\$]*)
18823 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18826 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18831 # Double-quote double-evaled strings.
18832 for var in reload_cmds \
18833 old_postinstall_cmds \
18834 old_postuninstall_cmds \
18836 extract_expsyms_cmds \
18837 old_archive_from_new_cmds \
18838 old_archive_from_expsyms_cmds \
18840 archive_expsym_cmds \
18842 module_expsym_cmds \
18843 export_symbols_cmds \
18847 postuninstall_cmds \
18849 sys_lib_search_path_spec \
18850 sys_lib_dlsearch_path_spec \
18852 old_archive_cmds_CXX \
18853 old_archive_from_new_cmds_CXX \
18854 old_archive_from_expsyms_cmds_CXX \
18856 archive_expsym_cmds_CXX \
18858 module_expsym_cmds_CXX \
18859 export_symbols_cmds_CXX \
18861 postlink_cmds_CXX; do
18862 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18863 *[\\\\\\\`\\"\\\$]*)
18864 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18867 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18872 ac_aux_dir='$ac_aux_dir'
18873 xsi_shell='$xsi_shell'
18874 lt_shell_append='$lt_shell_append'
18876 # See if we are running on zsh, and set the options which allow our
18877 # commands through without removal of \ escapes INIT.
18878 if test -n "\${ZSH_VERSION+set}" ; then
18879 setopt NO_GLOB_SUBST
18885 TIMESTAMP='$TIMESTAMP'
18896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18898 # Handling of arguments.
18899 for ac_config_target in $ac_config_targets
18901 case $ac_config_target in
18902 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18903 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18904 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18905 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18906 "harfbuzz.pc") CONFIG_FILES="$CONFIG_FILES harfbuzz.pc" ;;
18907 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18908 "src/hb-version.h") CONFIG_FILES="$CONFIG_FILES src/hb-version.h" ;;
18909 "src/hb-icu-le/Makefile") CONFIG_FILES="$CONFIG_FILES src/hb-icu-le/Makefile" ;;
18910 "src/hb-old/Makefile") CONFIG_FILES="$CONFIG_FILES src/hb-old/Makefile" ;;
18911 "src/hb-ucdn/Makefile") CONFIG_FILES="$CONFIG_FILES src/hb-ucdn/Makefile" ;;
18912 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
18913 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
18914 "test/api/Makefile") CONFIG_FILES="$CONFIG_FILES test/api/Makefile" ;;
18915 "test/shaping/Makefile") CONFIG_FILES="$CONFIG_FILES test/shaping/Makefile" ;;
18917 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18922 # If the user did not use the arguments to specify the items to instantiate,
18923 # then the envvar interface is used. Set only those that are not.
18924 # We use the long form for the default assignment because of an extremely
18925 # bizarre bug on SunOS 4.1.3.
18926 if $ac_need_defaults; then
18927 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18928 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18929 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18932 # Have a temporary directory for convenience. Make it in the build tree
18933 # simply because there is no reason against having it here, and in addition,
18934 # creating and moving files from /tmp can sometimes cause problems.
18935 # Hook for its removal unless debugging.
18936 # Note that there is a small window in which the directory will not be cleaned:
18937 # after its creation but before its name has been assigned to `$tmp'.
18941 trap 'exit_status=$?
18942 : "${ac_tmp:=$tmp}"
18943 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18945 trap 'as_fn_exit 1' 1 2 13 15
18947 # Create a (secure) tmp directory for tmp files.
18950 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18954 tmp=./conf$$-$RANDOM
18955 (umask 077 && mkdir "$tmp")
18956 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18959 # Set up the scripts for CONFIG_FILES section.
18960 # No need to generate them if there are no CONFIG_FILES.
18961 # This happens for instance with `./config.status config.h'.
18962 if test -n "$CONFIG_FILES"; then
18965 ac_cr=`echo X | tr X '\015'`
18966 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18967 # But we know of no other shell where ac_cr would be empty at this
18968 # point, so we can use a bashism as a fallback.
18969 if test "x$ac_cr" = x; then
18970 eval ac_cr=\$\'\\r\'
18972 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18973 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18976 ac_cs_awk_cr=$ac_cr
18979 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18984 echo "cat >conf$$subs.awk <<_ACEOF" &&
18985 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18987 } >conf$$subs.sh ||
18988 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18989 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18991 for ac_last_try in false false false false false :; do
18992 . ./conf$$subs.sh ||
18993 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18995 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18996 if test $ac_delim_n = $ac_delim_num; then
18998 elif $ac_last_try; then
18999 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19001 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19004 rm -f conf$$subs.sh
19006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19007 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19011 s/^/S["/; s/!.*/"]=/
19021 s/\(.\{148\}\)..*/\1/
19023 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19028 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19035 s/\(.\{148\}\)..*/\1/
19037 s/["\\]/\\&/g; s/^/"/; s/$/"/
19041 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19046 ' <conf$$subs.awk | sed '
19051 ' >>$CONFIG_STATUS || ac_write_fail=1
19052 rm -f conf$$subs.awk
19053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19055 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19056 for (key in S) S_is_set[key] = 1
19062 nfields = split(line, field, "@")
19064 len = length(field[1])
19065 for (i = 2; i < nfields; i++) {
19067 keylen = length(key)
19068 if (S_is_set[key]) {
19070 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19071 len += length(value) + length(field[++i])
19082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19083 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19084 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19087 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19088 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19091 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19092 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19093 # trailing colons and then remove the whole line if VPATH becomes empty
19094 # (actually we leave an empty line to preserve line numbers).
19095 if test "x$srcdir" = x.; then
19096 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19115 fi # test -n "$CONFIG_FILES"
19117 # Set up the scripts for CONFIG_HEADERS section.
19118 # No need to generate them if there are no CONFIG_HEADERS.
19119 # This happens for instance with `./config.status Makefile'.
19120 if test -n "$CONFIG_HEADERS"; then
19121 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19125 # Transform confdefs.h into an awk script `defines.awk', embedded as
19126 # here-document in config.status, that substitutes the proper values into
19127 # config.h.in to produce config.h.
19129 # Create a delimiter string that does not exist in confdefs.h, to ease
19130 # handling of long lines.
19132 for ac_last_try in false false :; do
19133 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19134 if test -z "$ac_tt"; then
19136 elif $ac_last_try; then
19137 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19139 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19143 # For the awk script, D is an array of macro values keyed by name,
19144 # likewise P contains macro parameters if any. Preserve backslash
19145 # newline sequences.
19147 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19149 s/.\{148\}/&'"$ac_delim"'/g
19152 s/^[ ]*#[ ]*define[ ][ ]*/ /
19159 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19161 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19165 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19166 D["\1"]=" \3\\\\\\n"\\/p
19168 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19173 s/.\{148\}/&'"$ac_delim"'/g
19178 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19181 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19183 ' <confdefs.h | sed '
19184 s/'"$ac_delim"'/"\\\
19185 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19188 for (key in D) D_is_set[key] = 1
19191 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19193 split(line, arg, " ")
19194 if (arg[1] == "#") {
19198 defundef = substr(arg[1], 2)
19201 split(mac1, mac2, "(") #)
19203 prefix = substr(line, 1, index(line, defundef) - 1)
19204 if (D_is_set[macro]) {
19205 # Preserve the white space surrounding the "#".
19206 print prefix "define", macro P[macro] D[macro]
19209 # Replace #undef with comments. This is necessary, for example,
19210 # in the case of _POSIX_SOURCE, which is predefined and required
19211 # on some systems where configure will not decide to define it.
19212 if (defundef == "undef") {
19213 print "/*", prefix defundef, macro, "*/"
19221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19222 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19223 fi # test -n "$CONFIG_HEADERS"
19226 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19231 :[FHLC]) ac_mode=$ac_tag; continue;;
19233 case $ac_mode$ac_tag in
19235 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19236 :[FH]-) ac_tag=-:-;;
19237 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19254 -) ac_f="$ac_tmp/stdin";;
19255 *) # Look for the file first in the build tree, then in the source tree
19256 # (if the path is not absolute). The absolute path cannot be DOS-style,
19257 # because $ac_f cannot contain `:'.
19261 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19263 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19265 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19266 as_fn_append ac_file_inputs " '$ac_f'"
19269 # Let's still pretend it is `configure' which instantiates (i.e., don't
19270 # use $as_me), people would be surprised to read:
19271 # /* config.h. Generated by config.status. */
19272 configure_input='Generated from '`
19273 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19275 if test x"$ac_file" != x-; then
19276 configure_input="$ac_file. $configure_input"
19277 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19278 $as_echo "$as_me: creating $ac_file" >&6;}
19280 # Neutralize special characters interpreted by sed in replacement strings.
19281 case $configure_input in #(
19282 *\&* | *\|* | *\\* )
19283 ac_sed_conf_input=`$as_echo "$configure_input" |
19284 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19285 *) ac_sed_conf_input=$configure_input;;
19289 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19290 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19295 ac_dir=`$as_dirname -- "$ac_file" ||
19296 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19297 X"$ac_file" : 'X\(//\)[^/]' \| \
19298 X"$ac_file" : 'X\(//\)$' \| \
19299 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19300 $as_echo X"$ac_file" |
19301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19305 /^X\(\/\/\)[^/].*/{
19318 as_dir="$ac_dir"; as_fn_mkdir_p
19322 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19324 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19325 # A ".." for each directory in $ac_dir_suffix.
19326 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19327 case $ac_top_builddir_sub in
19328 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19329 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19332 ac_abs_top_builddir=$ac_pwd
19333 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19334 # for backward compatibility:
19335 ac_top_builddir=$ac_top_build_prefix
19338 .) # We are building in place.
19340 ac_top_srcdir=$ac_top_builddir_sub
19341 ac_abs_top_srcdir=$ac_pwd ;;
19342 [\\/]* | ?:[\\/]* ) # Absolute name.
19343 ac_srcdir=$srcdir$ac_dir_suffix;
19344 ac_top_srcdir=$srcdir
19345 ac_abs_top_srcdir=$srcdir ;;
19346 *) # Relative name.
19347 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19348 ac_top_srcdir=$ac_top_build_prefix$srcdir
19349 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19351 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19361 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19362 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19364 ac_MKDIR_P=$MKDIR_P
19366 [\\/$]* | ?:[\\/]* ) ;;
19367 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19372 # If the template does not know about datarootdir, expand it.
19373 # FIXME: This hack should be removed a few years after 2.60.
19374 ac_datarootdir_hack=; ac_datarootdir_seen=
19385 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19386 *datarootdir*) ac_datarootdir_seen=yes;;
19387 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19389 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19392 ac_datarootdir_hack='
19393 s&@datadir@&$datadir&g
19394 s&@docdir@&$docdir&g
19395 s&@infodir@&$infodir&g
19396 s&@localedir@&$localedir&g
19397 s&@mandir@&$mandir&g
19398 s&\\\${datarootdir}&$datarootdir&g' ;;
19402 # Neutralize VPATH when `$srcdir' = `.'.
19403 # Shell code in configure.ac might set extrasub.
19404 # FIXME: do we really want to maintain this feature?
19405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19406 ac_sed_extra="$ac_vpsub
19409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19411 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19412 s|@configure_input@|$ac_sed_conf_input|;t t
19413 s&@top_builddir@&$ac_top_builddir_sub&;t t
19414 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19415 s&@srcdir@&$ac_srcdir&;t t
19416 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19417 s&@top_srcdir@&$ac_top_srcdir&;t t
19418 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19419 s&@builddir@&$ac_builddir&;t t
19420 s&@abs_builddir@&$ac_abs_builddir&;t t
19421 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19422 s&@INSTALL@&$ac_INSTALL&;t t
19423 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19424 $ac_datarootdir_hack
19426 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19427 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19429 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19430 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19431 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19432 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19434 which seems to be undefined. Please make sure it is defined" >&5
19435 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19436 which seems to be undefined. Please make sure it is defined" >&2;}
19438 rm -f "$ac_tmp/stdin"
19440 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19441 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19443 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19449 if test x"$ac_file" != x-; then
19451 $as_echo "/* $configure_input */" \
19452 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19453 } >"$ac_tmp/config.h" \
19454 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19455 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19456 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19457 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19460 mv "$ac_tmp/config.h" "$ac_file" \
19461 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19464 $as_echo "/* $configure_input */" \
19465 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19466 || as_fn_error $? "could not create -" "$LINENO" 5
19468 # Compute "$ac_file"'s index in $config_headers.
19471 for _am_header in $config_headers :; do
19472 case $_am_header in
19473 $_am_arg | $_am_arg:* )
19476 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19479 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19480 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19481 X"$_am_arg" : 'X\(//\)[^/]' \| \
19482 X"$_am_arg" : 'X\(//\)$' \| \
19483 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19484 $as_echo X"$_am_arg" |
19485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19489 /^X\(\/\/\)[^/].*/{
19501 s/.*/./; q'`/stamp-h$_am_stamp_count
19504 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19505 $as_echo "$as_me: executing $ac_file commands" >&6;}
19510 case $ac_file$ac_mode in
19511 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19512 # Autoconf 2.62 quotes --file arguments for eval, but not when files
19513 # are listed without --file. Let's play safe and only enable the eval
19514 # if we detect the quoting.
19515 case $CONFIG_FILES in
19516 *\'*) eval set x "$CONFIG_FILES" ;;
19517 *) set x $CONFIG_FILES ;;
19522 # Strip MF so we end up with the name of the file.
19523 mf=`echo "$mf" | sed -e 's/:.*$//'`
19524 # Check whether this is an Automake generated Makefile or not.
19525 # We used to match only the files named `Makefile.in', but
19526 # some people rename them; so instead we look at the file content.
19527 # Grep'ing the first line is not enough: some people post-process
19528 # each Makefile.in and add a new line on top of each file to say so.
19529 # Grep'ing the whole file is not good either: AIX grep has a line
19530 # limit of 2048, but all sed's we know have understand at least 4000.
19531 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19532 dirpart=`$as_dirname -- "$mf" ||
19533 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19534 X"$mf" : 'X\(//\)[^/]' \| \
19535 X"$mf" : 'X\(//\)$' \| \
19536 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19538 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19542 /^X\(\/\/\)[^/].*/{
19558 # Extract the definition of DEPDIR, am__include, and am__quote
19559 # from the Makefile without running `make'.
19560 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19561 test -z "$DEPDIR" && continue
19562 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19563 test -z "am__include" && continue
19564 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19565 # When using ansi2knr, U may be empty or an underscore; expand it
19566 U=`sed -n 's/^U = //p' < "$mf"`
19567 # Find all dependency output files, they are included files with
19568 # $(DEPDIR) in their names. We invoke sed twice because it is the
19569 # simplest approach to changing $(DEPDIR) to its actual value in the
19571 for file in `sed -n "
19572 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19573 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19574 # Make sure the directory exists.
19575 test -f "$dirpart/$file" && continue
19576 fdir=`$as_dirname -- "$file" ||
19577 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19578 X"$file" : 'X\(//\)[^/]' \| \
19579 X"$file" : 'X\(//\)$' \| \
19580 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19581 $as_echo X"$file" |
19582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19586 /^X\(\/\/\)[^/].*/{
19599 as_dir=$dirpart/$fdir; as_fn_mkdir_p
19600 # echo "creating $dirpart/$file"
19601 echo '# dummy' > "$dirpart/$file"
19608 # See if we are running on zsh, and set the options which allow our
19609 # commands through without removal of \ escapes.
19610 if test -n "${ZSH_VERSION+set}" ; then
19611 setopt NO_GLOB_SUBST
19614 cfgfile="${ofile}T"
19615 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19618 cat <<_LT_EOF >> "$cfgfile"
19621 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19622 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19623 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19624 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19626 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19627 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
19629 # Written by Gordon Matzigkeit, 1996
19631 # This file is part of GNU Libtool.
19633 # GNU Libtool is free software; you can redistribute it and/or
19634 # modify it under the terms of the GNU General Public License as
19635 # published by the Free Software Foundation; either version 2 of
19636 # the License, or (at your option) any later version.
19638 # As a special exception to the GNU General Public License,
19639 # if you distribute this file as part of a program or library that
19640 # is built using GNU Libtool, you may include this file under the
19641 # same distribution terms that you use for the rest of that program.
19643 # GNU Libtool is distributed in the hope that it will be useful,
19644 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19645 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19646 # GNU General Public License for more details.
19648 # You should have received a copy of the GNU General Public License
19649 # along with GNU Libtool; see the file COPYING. If not, a copy
19650 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19651 # obtained by writing to the Free Software Foundation, Inc.,
19652 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19655 # The names of the tagged configurations supported by this script.
19656 available_tags="CXX "
19658 # ### BEGIN LIBTOOL CONFIG
19660 # Which release of libtool.m4 was used?
19661 macro_version=$macro_version
19662 macro_revision=$macro_revision
19664 # Whether or not to build static libraries.
19665 build_old_libs=$enable_static
19667 # Whether or not to build shared libraries.
19668 build_libtool_libs=$enable_shared
19670 # What type of objects to build.
19673 # Whether or not to optimize for fast installation.
19674 fast_install=$enable_fast_install
19676 # Shell to use when invoking shell scripts.
19679 # An echo program that protects backslashes.
19682 # The PATH separator for the build system.
19683 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19686 host_alias=$host_alias
19690 # The build system.
19691 build_alias=$build_alias
19695 # A sed program that does not truncate output.
19698 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19699 Xsed="\$SED -e 1s/^X//"
19701 # A grep program that handles long lines.
19707 # A literal string matcher.
19710 # A BSD- or MS-compatible name lister.
19713 # Whether we need soft or hard links.
19716 # What is the maximum length of a command?
19717 max_cmd_len=$max_cmd_len
19719 # Object file suffix (normally "o").
19722 # Executable file suffix (normally "").
19725 # whether the shell understands "unset".
19728 # turn spaces into newlines.
19731 # turn newlines into spaces.
19734 # convert \$build file names to \$host format.
19735 to_host_file_cmd=$lt_cv_to_host_file_cmd
19737 # convert \$build files to toolchain format.
19738 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19740 # An object symbol dumper.
19741 OBJDUMP=$lt_OBJDUMP
19743 # Method to check whether dependent libraries are shared objects.
19744 deplibs_check_method=$lt_deplibs_check_method
19746 # Command to use when deplibs_check_method = "file_magic".
19747 file_magic_cmd=$lt_file_magic_cmd
19749 # How to find potential files when deplibs_check_method = "file_magic".
19750 file_magic_glob=$lt_file_magic_glob
19752 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19753 want_nocaseglob=$lt_want_nocaseglob
19755 # DLL creation program.
19756 DLLTOOL=$lt_DLLTOOL
19758 # Command to associate shared and link libraries.
19759 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19764 # Flags to create an archive.
19765 AR_FLAGS=$lt_AR_FLAGS
19767 # How to feed a file listing to the archiver.
19768 archiver_list_spec=$lt_archiver_list_spec
19770 # A symbol stripping program.
19773 # Commands used to install an old-style archive.
19775 old_postinstall_cmds=$lt_old_postinstall_cmds
19776 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19778 # Whether to use a lock for old archive extraction.
19779 lock_old_archive_extraction=$lock_old_archive_extraction
19784 # LTCC compiler flags.
19785 LTCFLAGS=$lt_CFLAGS
19787 # Take the output of nm and produce a listing of raw symbols and C names.
19788 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19790 # Transform the output of nm in a proper C declaration.
19791 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19793 # Transform the output of nm in a C name address pair.
19794 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19796 # Transform the output of nm in a C name address pair when lib prefix is needed.
19797 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19799 # Specify filename containing input files for \$NM.
19800 nm_file_list_spec=$lt_nm_file_list_spec
19802 # The root where to search for dependent libraries,and in which our libraries should be installed.
19803 lt_sysroot=$lt_sysroot
19805 # The name of the directory that contains temporary libtool files.
19808 # Used to examine libraries when file_magic_cmd begins with "file".
19809 MAGIC_CMD=$MAGIC_CMD
19811 # Must we lock files when doing compilation?
19812 need_locks=$lt_need_locks
19815 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19817 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19818 DSYMUTIL=$lt_DSYMUTIL
19820 # Tool to change global to local symbols on Mac OS X.
19823 # Tool to manipulate fat objects and archives on Mac OS X.
19826 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19829 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19830 OTOOL64=$lt_OTOOL64
19832 # Old archive suffix (normally "a").
19835 # Shared library suffix (normally ".so").
19836 shrext_cmds=$lt_shrext_cmds
19838 # The commands to extract the exported symbol list from a shared archive.
19839 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19841 # Variables whose values should be saved in libtool wrapper scripts and
19842 # restored at link time.
19843 variables_saved_for_relink=$lt_variables_saved_for_relink
19845 # Do we need the "lib" prefix for modules?
19846 need_lib_prefix=$need_lib_prefix
19848 # Do we need a version for libraries?
19849 need_version=$need_version
19851 # Library versioning type.
19852 version_type=$version_type
19854 # Shared library runtime path variable.
19855 runpath_var=$runpath_var
19857 # Shared library path variable.
19858 shlibpath_var=$shlibpath_var
19860 # Is shlibpath searched before the hard-coded library search path?
19861 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19863 # Format of library name prefix.
19864 libname_spec=$lt_libname_spec
19866 # List of archive names. First name is the real one, the rest are links.
19867 # The last name is the one that the linker finds with -lNAME
19868 library_names_spec=$lt_library_names_spec
19870 # The coded name of the library, if different from the real name.
19871 soname_spec=$lt_soname_spec
19873 # Permission mode override for installation of shared libraries.
19874 install_override_mode=$lt_install_override_mode
19876 # Command to use after installation of a shared archive.
19877 postinstall_cmds=$lt_postinstall_cmds
19879 # Command to use after uninstallation of a shared archive.
19880 postuninstall_cmds=$lt_postuninstall_cmds
19882 # Commands used to finish a libtool library installation in a directory.
19883 finish_cmds=$lt_finish_cmds
19885 # As "finish_cmds", except a single script fragment to be evaled but
19887 finish_eval=$lt_finish_eval
19889 # Whether we should hardcode library paths into libraries.
19890 hardcode_into_libs=$hardcode_into_libs
19892 # Compile-time system search path for libraries.
19893 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19895 # Run-time system search path for libraries.
19896 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19898 # Whether dlopen is supported.
19899 dlopen_support=$enable_dlopen
19901 # Whether dlopen of programs is supported.
19902 dlopen_self=$enable_dlopen_self
19904 # Whether dlopen of statically linked programs is supported.
19905 dlopen_self_static=$enable_dlopen_self_static
19907 # Commands to strip libraries.
19908 old_striplib=$lt_old_striplib
19909 striplib=$lt_striplib
19912 # The linker used to build libraries.
19915 # How to create reloadable object files.
19916 reload_flag=$lt_reload_flag
19917 reload_cmds=$lt_reload_cmds
19919 # Commands used to build an old-style archive.
19920 old_archive_cmds=$lt_old_archive_cmds
19922 # A language specific compiler.
19925 # Is the compiler the GNU compiler?
19928 # Compiler flag to turn off builtin functions.
19929 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19931 # Additional compiler flags for building library objects.
19932 pic_flag=$lt_lt_prog_compiler_pic
19934 # How to pass a linker flag through the compiler.
19935 wl=$lt_lt_prog_compiler_wl
19937 # Compiler flag to prevent dynamic linking.
19938 link_static_flag=$lt_lt_prog_compiler_static
19940 # Does compiler simultaneously support -c and -o options?
19941 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19943 # Whether or not to add -lc for building shared libraries.
19944 build_libtool_need_lc=$archive_cmds_need_lc
19946 # Whether or not to disallow shared libs when runtime libs are static.
19947 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19949 # Compiler flag to allow reflexive dlopens.
19950 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19952 # Compiler flag to generate shared objects directly from archives.
19953 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19955 # Whether the compiler copes with passing no objects directly.
19956 compiler_needs_object=$lt_compiler_needs_object
19958 # Create an old-style archive from a shared archive.
19959 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19961 # Create a temporary old-style archive to link instead of a shared archive.
19962 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19964 # Commands used to build a shared archive.
19965 archive_cmds=$lt_archive_cmds
19966 archive_expsym_cmds=$lt_archive_expsym_cmds
19968 # Commands used to build a loadable module if different from building
19969 # a shared archive.
19970 module_cmds=$lt_module_cmds
19971 module_expsym_cmds=$lt_module_expsym_cmds
19973 # Whether we are building with GNU ld or not.
19974 with_gnu_ld=$lt_with_gnu_ld
19976 # Flag that allows shared libraries with undefined symbols to be built.
19977 allow_undefined_flag=$lt_allow_undefined_flag
19979 # Flag that enforces no undefined symbols.
19980 no_undefined_flag=$lt_no_undefined_flag
19982 # Flag to hardcode \$libdir into a binary during linking.
19983 # This must work even if \$libdir does not exist
19984 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19986 # Whether we need a single "-rpath" flag with a separated argument.
19987 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19989 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19990 # DIR into the resulting binary.
19991 hardcode_direct=$hardcode_direct
19993 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19994 # DIR into the resulting binary and the resulting library dependency is
19995 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19996 # library is relocated.
19997 hardcode_direct_absolute=$hardcode_direct_absolute
19999 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20000 # into the resulting binary.
20001 hardcode_minus_L=$hardcode_minus_L
20003 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20004 # into the resulting binary.
20005 hardcode_shlibpath_var=$hardcode_shlibpath_var
20007 # Set to "yes" if building a shared library automatically hardcodes DIR
20008 # into the library and all subsequent libraries and executables linked
20010 hardcode_automatic=$hardcode_automatic
20012 # Set to yes if linker adds runtime paths of dependent libraries
20013 # to runtime path list.
20014 inherit_rpath=$inherit_rpath
20016 # Whether libtool must link a program against all its dependency libraries.
20017 link_all_deplibs=$link_all_deplibs
20019 # Set to "yes" if exported symbols are required.
20020 always_export_symbols=$always_export_symbols
20022 # The commands to list exported symbols.
20023 export_symbols_cmds=$lt_export_symbols_cmds
20025 # Symbols that should not be listed in the preloaded symbols.
20026 exclude_expsyms=$lt_exclude_expsyms
20028 # Symbols that must always be exported.
20029 include_expsyms=$lt_include_expsyms
20031 # Commands necessary for linking programs (against libraries) with templates.
20032 prelink_cmds=$lt_prelink_cmds
20034 # Commands necessary for finishing linking programs.
20035 postlink_cmds=$lt_postlink_cmds
20037 # Specify filename containing input files.
20038 file_list_spec=$lt_file_list_spec
20040 # How to hardcode a shared library path into an executable.
20041 hardcode_action=$hardcode_action
20043 # The directories searched by this compiler when creating a shared library.
20044 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20046 # Dependencies to place before and after the objects being linked to
20047 # create a shared library.
20048 predep_objects=$lt_predep_objects
20049 postdep_objects=$lt_postdep_objects
20050 predeps=$lt_predeps
20051 postdeps=$lt_postdeps
20053 # The library search path used internally by the compiler when linking
20054 # a shared library.
20055 compiler_lib_search_path=$lt_compiler_lib_search_path
20057 # ### END LIBTOOL CONFIG
20063 cat <<\_LT_EOF >> "$cfgfile"
20064 # AIX sometimes has problems with the GCC collect2 program. For some
20065 # reason, if we set the COLLECT_NAMES environment variable, the problems
20066 # vanish in a puff of smoke.
20067 if test "X${COLLECT_NAMES+set}" != Xset; then
20069 export COLLECT_NAMES
20076 ltmain="$ac_aux_dir/ltmain.sh"
20079 # We use sed instead of cat because bash on DJGPP gets confused if
20080 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20081 # text mode, it properly converts lines to CR/LF. This bash problem
20082 # is reportedly fixed, but why not run on old versions too?
20083 sed '$q' "$ltmain" >> "$cfgfile" \
20084 || (rm -f "$cfgfile"; exit 1)
20086 if test x"$xsi_shell" = xyes; then
20087 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20091 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20092 \ * ) func_dirname_result="${3}" ;;\
20094 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20095 && mv -f "$cfgfile.tmp" "$cfgfile" \
20096 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20097 test 0 -eq $? || _lt_function_replace_fail=:
20100 sed -e '/^func_basename ()$/,/^} # func_basename /c\
20103 \ func_basename_result="${1##*/}"\
20104 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20105 && mv -f "$cfgfile.tmp" "$cfgfile" \
20106 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20107 test 0 -eq $? || _lt_function_replace_fail=:
20110 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20111 func_dirname_and_basename ()\
20114 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20115 \ * ) func_dirname_result="${3}" ;;\
20117 \ func_basename_result="${1##*/}"\
20118 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
20119 && mv -f "$cfgfile.tmp" "$cfgfile" \
20120 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20121 test 0 -eq $? || _lt_function_replace_fail=:
20124 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20127 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
20128 \ # positional parameters, so assign one to ordinary parameter first.\
20129 \ func_stripname_result=${3}\
20130 \ func_stripname_result=${func_stripname_result#"${1}"}\
20131 \ func_stripname_result=${func_stripname_result%"${2}"}\
20132 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
20133 && mv -f "$cfgfile.tmp" "$cfgfile" \
20134 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20135 test 0 -eq $? || _lt_function_replace_fail=:
20138 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20139 func_split_long_opt ()\
20141 \ func_split_long_opt_name=${1%%=*}\
20142 \ func_split_long_opt_arg=${1#*=}\
20143 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
20144 && mv -f "$cfgfile.tmp" "$cfgfile" \
20145 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20146 test 0 -eq $? || _lt_function_replace_fail=:
20149 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20150 func_split_short_opt ()\
20152 \ func_split_short_opt_arg=${1#??}\
20153 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
20154 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
20155 && mv -f "$cfgfile.tmp" "$cfgfile" \
20156 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20157 test 0 -eq $? || _lt_function_replace_fail=:
20160 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20164 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20165 \ *) func_lo2o_result=${1} ;;\
20167 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20168 && mv -f "$cfgfile.tmp" "$cfgfile" \
20169 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20170 test 0 -eq $? || _lt_function_replace_fail=:
20173 sed -e '/^func_xform ()$/,/^} # func_xform /c\
20176 func_xform_result=${1%.*}.lo\
20177 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20178 && mv -f "$cfgfile.tmp" "$cfgfile" \
20179 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20180 test 0 -eq $? || _lt_function_replace_fail=:
20183 sed -e '/^func_arith ()$/,/^} # func_arith /c\
20186 func_arith_result=$(( $* ))\
20187 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20188 && mv -f "$cfgfile.tmp" "$cfgfile" \
20189 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20190 test 0 -eq $? || _lt_function_replace_fail=:
20193 sed -e '/^func_len ()$/,/^} # func_len /c\
20196 func_len_result=${#1}\
20197 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20198 && mv -f "$cfgfile.tmp" "$cfgfile" \
20199 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20200 test 0 -eq $? || _lt_function_replace_fail=:
20204 if test x"$lt_shell_append" = xyes; then
20205 sed -e '/^func_append ()$/,/^} # func_append /c\
20208 eval "${1}+=\\${2}"\
20209 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20210 && mv -f "$cfgfile.tmp" "$cfgfile" \
20211 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20212 test 0 -eq $? || _lt_function_replace_fail=:
20215 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20216 func_append_quoted ()\
20218 \ func_quote_for_eval "${2}"\
20219 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20220 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20221 && mv -f "$cfgfile.tmp" "$cfgfile" \
20222 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20223 test 0 -eq $? || _lt_function_replace_fail=:
20226 # Save a `func_append' function call where possible by direct use of '+='
20227 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20228 && mv -f "$cfgfile.tmp" "$cfgfile" \
20229 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20230 test 0 -eq $? || _lt_function_replace_fail=:
20232 # Save a `func_append' function call even when '+=' is not available
20233 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20234 && mv -f "$cfgfile.tmp" "$cfgfile" \
20235 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20236 test 0 -eq $? || _lt_function_replace_fail=:
20239 if test x"$_lt_function_replace_fail" = x":"; then
20240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20241 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20245 mv -f "$cfgfile" "$ofile" ||
20246 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20250 cat <<_LT_EOF >> "$ofile"
20252 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20254 # The linker used to build libraries.
20257 # How to create reloadable object files.
20258 reload_flag=$lt_reload_flag_CXX
20259 reload_cmds=$lt_reload_cmds_CXX
20261 # Commands used to build an old-style archive.
20262 old_archive_cmds=$lt_old_archive_cmds_CXX
20264 # A language specific compiler.
20265 CC=$lt_compiler_CXX
20267 # Is the compiler the GNU compiler?
20270 # Compiler flag to turn off builtin functions.
20271 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20273 # Additional compiler flags for building library objects.
20274 pic_flag=$lt_lt_prog_compiler_pic_CXX
20276 # How to pass a linker flag through the compiler.
20277 wl=$lt_lt_prog_compiler_wl_CXX
20279 # Compiler flag to prevent dynamic linking.
20280 link_static_flag=$lt_lt_prog_compiler_static_CXX
20282 # Does compiler simultaneously support -c and -o options?
20283 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20285 # Whether or not to add -lc for building shared libraries.
20286 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20288 # Whether or not to disallow shared libs when runtime libs are static.
20289 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20291 # Compiler flag to allow reflexive dlopens.
20292 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20294 # Compiler flag to generate shared objects directly from archives.
20295 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20297 # Whether the compiler copes with passing no objects directly.
20298 compiler_needs_object=$lt_compiler_needs_object_CXX
20300 # Create an old-style archive from a shared archive.
20301 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20303 # Create a temporary old-style archive to link instead of a shared archive.
20304 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20306 # Commands used to build a shared archive.
20307 archive_cmds=$lt_archive_cmds_CXX
20308 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20310 # Commands used to build a loadable module if different from building
20311 # a shared archive.
20312 module_cmds=$lt_module_cmds_CXX
20313 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20315 # Whether we are building with GNU ld or not.
20316 with_gnu_ld=$lt_with_gnu_ld_CXX
20318 # Flag that allows shared libraries with undefined symbols to be built.
20319 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20321 # Flag that enforces no undefined symbols.
20322 no_undefined_flag=$lt_no_undefined_flag_CXX
20324 # Flag to hardcode \$libdir into a binary during linking.
20325 # This must work even if \$libdir does not exist
20326 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20328 # Whether we need a single "-rpath" flag with a separated argument.
20329 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20331 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20332 # DIR into the resulting binary.
20333 hardcode_direct=$hardcode_direct_CXX
20335 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20336 # DIR into the resulting binary and the resulting library dependency is
20337 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20338 # library is relocated.
20339 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20341 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20342 # into the resulting binary.
20343 hardcode_minus_L=$hardcode_minus_L_CXX
20345 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20346 # into the resulting binary.
20347 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20349 # Set to "yes" if building a shared library automatically hardcodes DIR
20350 # into the library and all subsequent libraries and executables linked
20352 hardcode_automatic=$hardcode_automatic_CXX
20354 # Set to yes if linker adds runtime paths of dependent libraries
20355 # to runtime path list.
20356 inherit_rpath=$inherit_rpath_CXX
20358 # Whether libtool must link a program against all its dependency libraries.
20359 link_all_deplibs=$link_all_deplibs_CXX
20361 # Set to "yes" if exported symbols are required.
20362 always_export_symbols=$always_export_symbols_CXX
20364 # The commands to list exported symbols.
20365 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20367 # Symbols that should not be listed in the preloaded symbols.
20368 exclude_expsyms=$lt_exclude_expsyms_CXX
20370 # Symbols that must always be exported.
20371 include_expsyms=$lt_include_expsyms_CXX
20373 # Commands necessary for linking programs (against libraries) with templates.
20374 prelink_cmds=$lt_prelink_cmds_CXX
20376 # Commands necessary for finishing linking programs.
20377 postlink_cmds=$lt_postlink_cmds_CXX
20379 # Specify filename containing input files.
20380 file_list_spec=$lt_file_list_spec_CXX
20382 # How to hardcode a shared library path into an executable.
20383 hardcode_action=$hardcode_action_CXX
20385 # The directories searched by this compiler when creating a shared library.
20386 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20388 # Dependencies to place before and after the objects being linked to
20389 # create a shared library.
20390 predep_objects=$lt_predep_objects_CXX
20391 postdep_objects=$lt_postdep_objects_CXX
20392 predeps=$lt_predeps_CXX
20393 postdeps=$lt_postdeps_CXX
20395 # The library search path used internally by the compiler when linking
20396 # a shared library.
20397 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20399 # ### END LIBTOOL TAG CONFIG: CXX
20410 ac_clean_files=$ac_clean_files_save
20412 test $ac_write_fail = 0 ||
20413 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20416 # configure is writing to config.log, and then calls config.status.
20417 # config.status does its own redirection, appending to config.log.
20418 # Unfortunately, on DOS this fails, as config.log is still kept open
20419 # by configure, so config.status won't be able to write to it; its
20420 # output is simply discarded. So we exec the FD to /dev/null,
20421 # effectively closing config.log, so it can be properly (re)opened and
20422 # appended to by config.status. When coming back to configure, we
20423 # need to make the FD available again.
20424 if test "$no_create" != yes; then
20426 ac_config_status_args=
20427 test "$silent" = yes &&
20428 ac_config_status_args="$ac_config_status_args --quiet"
20430 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20432 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20433 # would make configure fail if this is the last instruction.
20434 $ac_cs_success || as_fn_exit 1
20436 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20438 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20442 { $as_echo "$as_me:${as_lineno-$LINENO}:
20444 Build configuration:
20446 Unicode callbacks (you want at least one):
20451 Font callbacks (the more the better):
20452 FreeType: ${have_freetype}
20454 Tools used for command-line utilities:
20455 Cairo: ${have_cairo}
20457 Additional shapers (the more the better):
20458 Graphite2: ${have_graphite}
20460 Test / platform shapers (not normally needed):
20461 CoreText: ${have_coretext}
20462 ICU Layout Engine: ${have_icu_le}
20463 Old HarfBuzz: ${have_hb_old}
20464 Uniscribe: ${have_uniscribe}
20468 Build configuration:
20470 Unicode callbacks (you want at least one):
20475 Font callbacks (the more the better):
20476 FreeType: ${have_freetype}
20478 Tools used for command-line utilities:
20479 Cairo: ${have_cairo}
20481 Additional shapers (the more the better):
20482 Graphite2: ${have_graphite}
20484 Test / platform shapers (not normally needed):
20485 CoreText: ${have_coretext}
20486 ICU Layout Engine: ${have_icu_le}
20487 Old HarfBuzz: ${have_hb_old}
20488 Uniscribe: ${have_uniscribe}