2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for HarfBuzz 1.2.7.
5 # Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" || exec 7<&0 </dev/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix=/usr/local
584 ac_config_libobj_dir=.
591 # Identity of this package.
592 PACKAGE_NAME='HarfBuzz'
593 PACKAGE_TARNAME='harfbuzz'
594 PACKAGE_VERSION='1.2.7'
595 PACKAGE_STRING='HarfBuzz 1.2.7'
596 PACKAGE_BUGREPORT='http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz'
597 PACKAGE_URL='http://harfbuzz.org/'
599 ac_unique_file="src/harfbuzz.pc.in"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 ac_subst_vars='am__EXEEXT_FALSE
644 HAVE_DIRECTWRITE_FALSE
645 HAVE_DIRECTWRITE_TRUE
664 HAVE_ICU_BUILTIN_FALSE
665 HAVE_ICU_BUILTIN_TRUE
671 HAVE_FONTCONFIG_FALSE
683 HAVE_INTROSPECTION_FALSE
684 HAVE_INTROSPECTION_TRUE
685 INTROSPECTION_MAKEFILE
688 INTROSPECTION_TYPELIBDIR
690 INTROSPECTION_GENERATE
691 INTROSPECTION_COMPILER
692 INTROSPECTION_SCANNER
717 GTK_DOC_USE_REBASE_FALSE
718 GTK_DOC_USE_REBASE_TRUE
719 GTK_DOC_USE_LIBTOOL_FALSE
720 GTK_DOC_USE_LIBTOOL_TRUE
721 GTK_DOC_BUILD_PDF_FALSE
722 GTK_DOC_BUILD_PDF_TRUE
723 GTK_DOC_BUILD_HTML_FALSE
724 GTK_DOC_BUILD_HTML_TRUE
736 HB_LIBTOOL_VERSION_INFO
798 AUTOMAKE_OLDER_THAN_1_13_FALSE
799 AUTOMAKE_OLDER_THAN_1_13_TRUE
812 INSTALL_STRIP_PROGRAM
854 program_transform_name
867 enable_option_checking
869 enable_dependency_tracking
893 ac_precious_vars='build_alias
927 # Initialize some variables set by options.
929 ac_init_version=false
930 ac_unrecognized_opts=
932 # The variables have the same names as the options, with
933 # dashes changed to underlines.
941 program_transform_name=s,x,x,
949 # Installation directory options.
950 # These are left unexpanded so users can "make install exec_prefix=/foo"
951 # and all the variables that are supposed to be based on exec_prefix
952 # by default will actually change.
953 # Use braces instead of parens because sh, perl, etc. also accept them.
954 # (The list follows the same order as the GNU Coding Standards.)
955 bindir='${exec_prefix}/bin'
956 sbindir='${exec_prefix}/sbin'
957 libexecdir='${exec_prefix}/libexec'
958 datarootdir='${prefix}/share'
959 datadir='${datarootdir}'
960 sysconfdir='${prefix}/etc'
961 sharedstatedir='${prefix}/com'
962 localstatedir='${prefix}/var'
963 includedir='${prefix}/include'
964 oldincludedir='/usr/include'
965 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
966 infodir='${datarootdir}/info'
971 libdir='${exec_prefix}/lib'
972 localedir='${datarootdir}/locale'
973 mandir='${datarootdir}/man'
979 # If the previous option needs an argument, assign it.
980 if test -n "$ac_prev"; then
981 eval $ac_prev=\$ac_option
987 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
992 # Accept the important Cygnus configure options, so we can diagnose typos.
994 case $ac_dashdash$ac_option in
998 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1000 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1001 bindir=$ac_optarg ;;
1003 -build | --build | --buil | --bui | --bu)
1004 ac_prev=build_alias ;;
1005 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1006 build_alias=$ac_optarg ;;
1008 -cache-file | --cache-file | --cache-fil | --cache-fi \
1009 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1010 ac_prev=cache_file ;;
1011 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1012 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1013 cache_file=$ac_optarg ;;
1015 --config-cache | -C)
1016 cache_file=config.cache ;;
1018 -datadir | --datadir | --datadi | --datad)
1020 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1021 datadir=$ac_optarg ;;
1023 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1024 | --dataroo | --dataro | --datar)
1025 ac_prev=datarootdir ;;
1026 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1027 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1028 datarootdir=$ac_optarg ;;
1030 -disable-* | --disable-*)
1031 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1034 as_fn_error $? "invalid feature name: $ac_useropt"
1035 ac_useropt_orig=$ac_useropt
1036 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037 case $ac_user_opts in
1039 "enable_$ac_useropt"
1041 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1042 ac_unrecognized_sep=', ';;
1044 eval enable_$ac_useropt=no ;;
1046 -docdir | --docdir | --docdi | --doc | --do)
1048 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1049 docdir=$ac_optarg ;;
1051 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1053 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1054 dvidir=$ac_optarg ;;
1056 -enable-* | --enable-*)
1057 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060 as_fn_error $? "invalid feature name: $ac_useropt"
1061 ac_useropt_orig=$ac_useropt
1062 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063 case $ac_user_opts in
1065 "enable_$ac_useropt"
1067 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1068 ac_unrecognized_sep=', ';;
1070 eval enable_$ac_useropt=\$ac_optarg ;;
1072 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1073 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1074 | --exec | --exe | --ex)
1075 ac_prev=exec_prefix ;;
1076 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1077 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1078 | --exec=* | --exe=* | --ex=*)
1079 exec_prefix=$ac_optarg ;;
1081 -gas | --gas | --ga | --g)
1082 # Obsolete; use --with-gas.
1085 -help | --help | --hel | --he | -h)
1086 ac_init_help=long ;;
1087 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1088 ac_init_help=recursive ;;
1089 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1090 ac_init_help=short ;;
1092 -host | --host | --hos | --ho)
1093 ac_prev=host_alias ;;
1094 -host=* | --host=* | --hos=* | --ho=*)
1095 host_alias=$ac_optarg ;;
1097 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1099 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1101 htmldir=$ac_optarg ;;
1103 -includedir | --includedir | --includedi | --included | --include \
1104 | --includ | --inclu | --incl | --inc)
1105 ac_prev=includedir ;;
1106 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1107 | --includ=* | --inclu=* | --incl=* | --inc=*)
1108 includedir=$ac_optarg ;;
1110 -infodir | --infodir | --infodi | --infod | --info | --inf)
1112 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1113 infodir=$ac_optarg ;;
1115 -libdir | --libdir | --libdi | --libd)
1117 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1118 libdir=$ac_optarg ;;
1120 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1121 | --libexe | --libex | --libe)
1122 ac_prev=libexecdir ;;
1123 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1124 | --libexe=* | --libex=* | --libe=*)
1125 libexecdir=$ac_optarg ;;
1127 -localedir | --localedir | --localedi | --localed | --locale)
1128 ac_prev=localedir ;;
1129 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1130 localedir=$ac_optarg ;;
1132 -localstatedir | --localstatedir | --localstatedi | --localstated \
1133 | --localstate | --localstat | --localsta | --localst | --locals)
1134 ac_prev=localstatedir ;;
1135 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1136 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1137 localstatedir=$ac_optarg ;;
1139 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1141 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1142 mandir=$ac_optarg ;;
1144 -nfp | --nfp | --nf)
1145 # Obsolete; use --without-fp.
1148 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1149 | --no-cr | --no-c | -n)
1152 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1153 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1156 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1157 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1158 | --oldin | --oldi | --old | --ol | --o)
1159 ac_prev=oldincludedir ;;
1160 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1161 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1162 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1163 oldincludedir=$ac_optarg ;;
1165 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1167 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1168 prefix=$ac_optarg ;;
1170 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1171 | --program-pre | --program-pr | --program-p)
1172 ac_prev=program_prefix ;;
1173 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1174 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1175 program_prefix=$ac_optarg ;;
1177 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1178 | --program-suf | --program-su | --program-s)
1179 ac_prev=program_suffix ;;
1180 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1181 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1182 program_suffix=$ac_optarg ;;
1184 -program-transform-name | --program-transform-name \
1185 | --program-transform-nam | --program-transform-na \
1186 | --program-transform-n | --program-transform- \
1187 | --program-transform | --program-transfor \
1188 | --program-transfo | --program-transf \
1189 | --program-trans | --program-tran \
1190 | --progr-tra | --program-tr | --program-t)
1191 ac_prev=program_transform_name ;;
1192 -program-transform-name=* | --program-transform-name=* \
1193 | --program-transform-nam=* | --program-transform-na=* \
1194 | --program-transform-n=* | --program-transform-=* \
1195 | --program-transform=* | --program-transfor=* \
1196 | --program-transfo=* | --program-transf=* \
1197 | --program-trans=* | --program-tran=* \
1198 | --progr-tra=* | --program-tr=* | --program-t=*)
1199 program_transform_name=$ac_optarg ;;
1201 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1203 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1204 pdfdir=$ac_optarg ;;
1206 -psdir | --psdir | --psdi | --psd | --ps)
1208 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1211 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1212 | -silent | --silent | --silen | --sile | --sil)
1215 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1217 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1219 sbindir=$ac_optarg ;;
1221 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1222 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1223 | --sharedst | --shareds | --shared | --share | --shar \
1225 ac_prev=sharedstatedir ;;
1226 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1227 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1228 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1230 sharedstatedir=$ac_optarg ;;
1232 -site | --site | --sit)
1234 -site=* | --site=* | --sit=*)
1237 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1239 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1240 srcdir=$ac_optarg ;;
1242 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1243 | --syscon | --sysco | --sysc | --sys | --sy)
1244 ac_prev=sysconfdir ;;
1245 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1246 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1247 sysconfdir=$ac_optarg ;;
1249 -target | --target | --targe | --targ | --tar | --ta | --t)
1250 ac_prev=target_alias ;;
1251 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1252 target_alias=$ac_optarg ;;
1254 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1257 -version | --version | --versio | --versi | --vers | -V)
1258 ac_init_version=: ;;
1261 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1262 # Reject names that are not valid shell variable names.
1263 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1264 as_fn_error $? "invalid package name: $ac_useropt"
1265 ac_useropt_orig=$ac_useropt
1266 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1267 case $ac_user_opts in
1271 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1272 ac_unrecognized_sep=', ';;
1274 eval with_$ac_useropt=\$ac_optarg ;;
1276 -without-* | --without-*)
1277 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1278 # Reject names that are not valid shell variable names.
1279 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1280 as_fn_error $? "invalid package name: $ac_useropt"
1281 ac_useropt_orig=$ac_useropt
1282 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1283 case $ac_user_opts in
1287 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1288 ac_unrecognized_sep=', ';;
1290 eval with_$ac_useropt=no ;;
1293 # Obsolete; use --with-x.
1296 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1297 | --x-incl | --x-inc | --x-in | --x-i)
1298 ac_prev=x_includes ;;
1299 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1300 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1301 x_includes=$ac_optarg ;;
1303 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1304 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1305 ac_prev=x_libraries ;;
1306 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1307 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1308 x_libraries=$ac_optarg ;;
1310 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1311 Try \`$0 --help' for more information"
1315 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1316 # Reject names that are not valid shell variable names.
1317 case $ac_envvar in #(
1318 '' | [0-9]* | *[!_$as_cr_alnum]* )
1319 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1321 eval $ac_envvar=\$ac_optarg
1322 export $ac_envvar ;;
1325 # FIXME: should be removed in autoconf 3.0.
1326 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1327 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1328 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1329 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1335 if test -n "$ac_prev"; then
1336 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1337 as_fn_error $? "missing argument to $ac_option"
1340 if test -n "$ac_unrecognized_opts"; then
1341 case $enable_option_checking in
1343 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1344 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1348 # Check all directory arguments for consistency.
1349 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1350 datadir sysconfdir sharedstatedir localstatedir includedir \
1351 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1352 libdir localedir mandir
1354 eval ac_val=\$$ac_var
1355 # Remove trailing slashes.
1358 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1359 eval $ac_var=\$ac_val;;
1361 # Be sure to have absolute directory names.
1363 [\\/$]* | ?:[\\/]* ) continue;;
1364 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1366 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1369 # There might be people who depend on the old broken behavior: `$host'
1370 # used to hold the argument of --host etc.
1371 # FIXME: To remove some day.
1374 target=$target_alias
1376 # FIXME: To remove some day.
1377 if test "x$host_alias" != x; then
1378 if test "x$build_alias" = x; then
1379 cross_compiling=maybe
1380 elif test "x$build_alias" != "x$host_alias"; then
1386 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1388 test "$silent" = yes && exec 6>/dev/null
1391 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1392 ac_ls_di=`ls -di .` &&
1393 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1394 as_fn_error $? "working directory cannot be determined"
1395 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1396 as_fn_error $? "pwd does not report name of working directory"
1399 # Find the source files, if location was not specified.
1400 if test -z "$srcdir"; then
1401 ac_srcdir_defaulted=yes
1402 # Try the directory containing this script, then the parent directory.
1403 ac_confdir=`$as_dirname -- "$as_myself" ||
1404 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1405 X"$as_myself" : 'X\(//\)[^/]' \| \
1406 X"$as_myself" : 'X\(//\)$' \| \
1407 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1408 $as_echo X"$as_myself" |
1409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1427 if test ! -r "$srcdir/$ac_unique_file"; then
1431 ac_srcdir_defaulted=no
1433 if test ! -r "$srcdir/$ac_unique_file"; then
1434 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1435 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1437 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1439 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1441 # When building in place, set srcdir=.
1442 if test "$ac_abs_confdir" = "$ac_pwd"; then
1445 # Remove unnecessary trailing slashes from srcdir.
1446 # Double slashes in file names in object file debugging info
1447 # mess up M-x gdb in Emacs.
1449 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1451 for ac_var in $ac_precious_vars; do
1452 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1453 eval ac_env_${ac_var}_value=\$${ac_var}
1454 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1455 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1459 # Report the --help message.
1461 if test "$ac_init_help" = "long"; then
1462 # Omit some internal or obsolete options to make the list less imposing.
1463 # This message is too long to be a string in the A/UX 3.1 sh.
1465 \`configure' configures HarfBuzz 1.2.7 to adapt to many kinds of systems.
1467 Usage: $0 [OPTION]... [VAR=VALUE]...
1469 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1470 VAR=VALUE. See below for descriptions of some of the useful variables.
1472 Defaults for the options are specified in brackets.
1475 -h, --help display this help and exit
1476 --help=short display options specific to this package
1477 --help=recursive display the short help of all the included packages
1478 -V, --version display version information and exit
1479 -q, --quiet, --silent do not print \`checking ...' messages
1480 --cache-file=FILE cache test results in FILE [disabled]
1481 -C, --config-cache alias for \`--cache-file=config.cache'
1482 -n, --no-create do not create output files
1483 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1485 Installation directories:
1486 --prefix=PREFIX install architecture-independent files in PREFIX
1487 [$ac_default_prefix]
1488 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1491 By default, \`make install' will install all the files in
1492 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1493 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1494 for instance \`--prefix=\$HOME'.
1496 For better control, use the options below.
1498 Fine tuning of the installation directories:
1499 --bindir=DIR user executables [EPREFIX/bin]
1500 --sbindir=DIR system admin executables [EPREFIX/sbin]
1501 --libexecdir=DIR program executables [EPREFIX/libexec]
1502 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1503 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1504 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1505 --libdir=DIR object code libraries [EPREFIX/lib]
1506 --includedir=DIR C header files [PREFIX/include]
1507 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1508 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1509 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1510 --infodir=DIR info documentation [DATAROOTDIR/info]
1511 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1512 --mandir=DIR man documentation [DATAROOTDIR/man]
1513 --docdir=DIR documentation root [DATAROOTDIR/doc/harfbuzz]
1514 --htmldir=DIR html documentation [DOCDIR]
1515 --dvidir=DIR dvi documentation [DOCDIR]
1516 --pdfdir=DIR pdf documentation [DOCDIR]
1517 --psdir=DIR ps documentation [DOCDIR]
1523 --program-prefix=PREFIX prepend PREFIX to installed program names
1524 --program-suffix=SUFFIX append SUFFIX to installed program names
1525 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1528 --build=BUILD configure for building on BUILD [guessed]
1529 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1533 if test -n "$ac_init_help"; then
1534 case $ac_init_help in
1535 short | recursive ) echo "Configuration of HarfBuzz 1.2.7:";;
1540 --disable-option-checking ignore unrecognized --enable/--with options
1541 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1542 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1543 --enable-silent-rules less verbose build output (undo: "make V=1")
1544 --disable-silent-rules verbose build output (undo: "make V=0")
1545 --enable-dependency-tracking
1546 do not reject slow dependency extractors
1547 --disable-dependency-tracking
1548 speeds up one-time build
1549 --enable-static[=PKGS] build static libraries [default=no]
1550 --enable-shared[=PKGS] build shared libraries [default=yes]
1551 --enable-fast-install[=PKGS]
1552 optimize for fast installation [default=yes]
1553 --disable-libtool-lock avoid locking (might break parallel builds)
1554 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1555 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1556 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1557 --enable-introspection=[no/auto/yes]
1558 Enable introspection for this build
1561 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1562 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1563 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1565 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1566 --with-sysroot=DIR Search for dependent libraries within DIR
1567 (or the compiler's sysroot if not specified).
1568 --with-html-dir=PATH path to installed docs
1569 --with-glib=[yes/no/auto]
1570 Use glib [default=auto]
1571 --with-gobject=[yes/no/auto]
1572 Use gobject [default=auto]
1573 --with-cairo=[yes/no/auto]
1574 Use cairo [default=auto]
1575 --with-fontconfig=[yes/no/auto]
1576 Use fontconfig [default=auto]
1577 --with-icu=[yes/no/builtin/auto]
1578 Use ICU [default=auto]
1579 --with-graphite2=[yes/no/auto]
1580 Use the graphite2 library [default=no]
1581 --with-freetype=[yes/no/auto]
1582 Use the FreeType library [default=auto]
1583 --with-uniscribe=[yes/no/auto]
1584 Use the Uniscribe library [default=no]
1585 --with-directwrite=[yes/no/auto]
1586 Use the DirectWrite library (experimental)
1588 --with-coretext=[yes/no/auto]
1589 Use CoreText [default=no]
1591 Some influential environment variables:
1592 CC C compiler command
1593 CFLAGS C compiler flags
1594 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1595 nonstandard directory <lib dir>
1596 LIBS libraries to pass to the linker, e.g. -l<library>
1597 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1598 you have headers in a nonstandard directory <include dir>
1600 CXX C++ compiler command
1601 CXXFLAGS C++ compiler flags
1602 CXXCPP C++ preprocessor
1603 PKG_CONFIG path to pkg-config utility
1605 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1607 linker flags for GTKDOC_DEPS, overriding pkg-config
1608 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1609 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1611 C compiler flags for GOBJECT, overriding pkg-config
1613 linker flags for GOBJECT, overriding pkg-config
1615 C compiler flags for CAIRO, overriding pkg-config
1616 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1618 C compiler flags for CAIRO_FT, overriding pkg-config
1620 linker flags for CAIRO_FT, overriding pkg-config
1622 C compiler flags for FONTCONFIG, overriding pkg-config
1624 linker flags for FONTCONFIG, overriding pkg-config
1625 ICU_CFLAGS C compiler flags for ICU, overriding pkg-config
1626 ICU_LIBS linker flags for ICU, overriding pkg-config
1628 C compiler flags for GRAPHITE2, overriding pkg-config
1630 linker flags for GRAPHITE2, overriding pkg-config
1632 C compiler flags for FREETYPE, overriding pkg-config
1634 linker flags for FREETYPE, overriding pkg-config
1636 Use these variables to override the choices made by `configure' or to help
1637 it to find libraries and programs with nonstandard names/locations.
1639 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz>.
1640 HarfBuzz home page: <http://harfbuzz.org/>.
1645 if test "$ac_init_help" = "recursive"; then
1646 # If there are subdirs, report their specific --help.
1647 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1648 test -d "$ac_dir" ||
1649 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1654 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1656 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1657 # A ".." for each directory in $ac_dir_suffix.
1658 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1659 case $ac_top_builddir_sub in
1660 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1661 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1664 ac_abs_top_builddir=$ac_pwd
1665 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1666 # for backward compatibility:
1667 ac_top_builddir=$ac_top_build_prefix
1670 .) # We are building in place.
1672 ac_top_srcdir=$ac_top_builddir_sub
1673 ac_abs_top_srcdir=$ac_pwd ;;
1674 [\\/]* | ?:[\\/]* ) # Absolute name.
1675 ac_srcdir=$srcdir$ac_dir_suffix;
1676 ac_top_srcdir=$srcdir
1677 ac_abs_top_srcdir=$srcdir ;;
1679 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1680 ac_top_srcdir=$ac_top_build_prefix$srcdir
1681 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1683 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1685 cd "$ac_dir" || { ac_status=$?; continue; }
1686 # Check for guested configure.
1687 if test -f "$ac_srcdir/configure.gnu"; then
1689 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1690 elif test -f "$ac_srcdir/configure"; then
1692 $SHELL "$ac_srcdir/configure" --help=recursive
1694 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1696 cd "$ac_pwd" || { ac_status=$?; break; }
1700 test -n "$ac_init_help" && exit $ac_status
1701 if $ac_init_version; then
1703 HarfBuzz configure 1.2.7
1704 generated by GNU Autoconf 2.69
1706 Copyright (C) 2012 Free Software Foundation, Inc.
1707 This configure script is free software; the Free Software Foundation
1708 gives unlimited permission to copy, distribute and modify it.
1713 ## ------------------------ ##
1714 ## Autoconf initialization. ##
1715 ## ------------------------ ##
1717 # ac_fn_c_try_compile LINENO
1718 # --------------------------
1719 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1720 ac_fn_c_try_compile ()
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 rm -f conftest.$ac_objext
1724 if { { ac_try="$ac_compile"
1726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727 *) ac_try_echo=$ac_try;;
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_compile") 2>conftest.err
1733 if test -s conftest.err; then
1734 grep -v '^ *+' conftest.err >conftest.er1
1735 cat conftest.er1 >&5
1736 mv -f conftest.er1 conftest.err
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; } && {
1740 test -z "$ac_c_werror_flag" ||
1741 test ! -s conftest.err
1742 } && test -s conftest.$ac_objext; then :
1745 $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.$ac_ext >&5
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 as_fn_set_status $ac_retval
1753 } # ac_fn_c_try_compile
1755 # ac_fn_c_try_link LINENO
1756 # -----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded.
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 rm -f conftest.$ac_objext conftest$ac_exeext
1762 if { { ac_try="$ac_link"
1764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765 *) ac_try_echo=$ac_try;;
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_link") 2>conftest.err
1771 if test -s conftest.err; then
1772 grep -v '^ *+' conftest.err >conftest.er1
1773 cat conftest.er1 >&5
1774 mv -f conftest.er1 conftest.err
1776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777 test $ac_status = 0; } && {
1778 test -z "$ac_c_werror_flag" ||
1779 test ! -s conftest.err
1780 } && test -s conftest$ac_exeext && {
1781 test "$cross_compiling" = yes ||
1782 test -x conftest$ac_exeext
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1791 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1792 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1793 # interfere with the next link command; also delete a directory that is
1794 # left behind by Apple's compiler. We do this before executing the actions.
1795 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797 as_fn_set_status $ac_retval
1799 } # ac_fn_c_try_link
1801 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1802 # -------------------------------------------------------
1803 # Tests whether HEADER exists and can be compiled using the include files in
1804 # INCLUDES, setting the cache variable VAR accordingly.
1805 ac_fn_c_check_header_compile ()
1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809 $as_echo_n "checking for $2... " >&6; }
1810 if eval \${$3+:} false; then :
1811 $as_echo_n "(cached) " >&6
1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1818 if ac_fn_c_try_compile "$LINENO"; then :
1823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1827 $as_echo "$ac_res" >&6; }
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830 } # ac_fn_c_check_header_compile
1832 # ac_fn_c_try_cpp LINENO
1833 # ----------------------
1834 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 if { { ac_try="$ac_cpp conftest.$ac_ext"
1840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1841 *) ac_try_echo=$ac_try;;
1843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844 $as_echo "$ac_try_echo"; } >&5
1845 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1847 if test -s conftest.err; then
1848 grep -v '^ *+' conftest.err >conftest.er1
1849 cat conftest.er1 >&5
1850 mv -f conftest.er1 conftest.err
1852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1853 test $ac_status = 0; } > conftest.i && {
1854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1855 test ! -s conftest.err
1859 $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.$ac_ext >&5
1864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1865 as_fn_set_status $ac_retval
1869 # ac_fn_c_try_run LINENO
1870 # ----------------------
1871 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1872 # that executables *can* be run.
1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876 if { { ac_try="$ac_link"
1878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1879 *) ac_try_echo=$ac_try;;
1881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882 $as_echo "$ac_try_echo"; } >&5
1883 (eval "$ac_link") 2>&5
1885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1887 { { case "(($ac_try" in
1888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1889 *) ac_try_echo=$ac_try;;
1891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_try") 2>&5
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896 test $ac_status = 0; }; }; then :
1899 $as_echo "$as_me: program exited with status $ac_status" >&5
1900 $as_echo "$as_me: failed program was:" >&5
1901 sed 's/^/| /' conftest.$ac_ext >&5
1903 ac_retval=$ac_status
1905 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1907 as_fn_set_status $ac_retval
1911 # ac_fn_c_check_func LINENO FUNC VAR
1912 # ----------------------------------
1913 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1914 ac_fn_c_check_func ()
1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1918 $as_echo_n "checking for $2... " >&6; }
1919 if eval \${$3+:} false; then :
1920 $as_echo_n "(cached) " >&6
1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923 /* end confdefs.h. */
1924 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1926 #define $2 innocuous_$2
1928 /* System header to define __stub macros and hopefully few prototypes,
1929 which can conflict with char $2 (); below.
1930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1931 <limits.h> exists even on freestanding compilers. */
1934 # include <limits.h>
1936 # include <assert.h>
1941 /* Override any GCC internal prototype to avoid an error.
1942 Use char because int might match the return type of a GCC
1943 builtin and then its argument prototype would still apply. */
1948 /* The GNU C library defines this for functions which it implements
1949 to always fail with ENOSYS. Some functions are actually named
1950 something starting with __ and the normal name is an alias. */
1951 #if defined __stub_$2 || defined __stub___$2
1963 if ac_fn_c_try_link "$LINENO"; then :
1968 rm -f core conftest.err conftest.$ac_objext \
1969 conftest$ac_exeext conftest.$ac_ext
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1973 $as_echo "$ac_res" >&6; }
1974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1976 } # ac_fn_c_check_func
1978 # ac_fn_cxx_try_compile LINENO
1979 # ----------------------------
1980 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1981 ac_fn_cxx_try_compile ()
1983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1984 rm -f conftest.$ac_objext
1985 if { { ac_try="$ac_compile"
1987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1988 *) ac_try_echo=$ac_try;;
1990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1991 $as_echo "$ac_try_echo"; } >&5
1992 (eval "$ac_compile") 2>conftest.err
1994 if test -s conftest.err; then
1995 grep -v '^ *+' conftest.err >conftest.er1
1996 cat conftest.er1 >&5
1997 mv -f conftest.er1 conftest.err
1999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2000 test $ac_status = 0; } && {
2001 test -z "$ac_cxx_werror_flag" ||
2002 test ! -s conftest.err
2003 } && test -s conftest.$ac_objext; then :
2006 $as_echo "$as_me: failed program was:" >&5
2007 sed 's/^/| /' conftest.$ac_ext >&5
2011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2012 as_fn_set_status $ac_retval
2014 } # ac_fn_cxx_try_compile
2016 # ac_fn_cxx_try_cpp LINENO
2017 # ------------------------
2018 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2019 ac_fn_cxx_try_cpp ()
2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022 if { { ac_try="$ac_cpp conftest.$ac_ext"
2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2025 *) ac_try_echo=$ac_try;;
2027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2028 $as_echo "$ac_try_echo"; } >&5
2029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2031 if test -s conftest.err; then
2032 grep -v '^ *+' conftest.err >conftest.er1
2033 cat conftest.er1 >&5
2034 mv -f conftest.er1 conftest.err
2036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2037 test $ac_status = 0; } > conftest.i && {
2038 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2039 test ! -s conftest.err
2043 $as_echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.$ac_ext >&5
2048 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2049 as_fn_set_status $ac_retval
2051 } # ac_fn_cxx_try_cpp
2053 # ac_fn_cxx_try_link LINENO
2054 # -------------------------
2055 # Try to link conftest.$ac_ext, and return whether this succeeded.
2056 ac_fn_cxx_try_link ()
2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059 rm -f conftest.$ac_objext conftest$ac_exeext
2060 if { { ac_try="$ac_link"
2062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2063 *) ac_try_echo=$ac_try;;
2065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2066 $as_echo "$ac_try_echo"; } >&5
2067 (eval "$ac_link") 2>conftest.err
2069 if test -s conftest.err; then
2070 grep -v '^ *+' conftest.err >conftest.er1
2071 cat conftest.er1 >&5
2072 mv -f conftest.er1 conftest.err
2074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2075 test $ac_status = 0; } && {
2076 test -z "$ac_cxx_werror_flag" ||
2077 test ! -s conftest.err
2078 } && test -s conftest$ac_exeext && {
2079 test "$cross_compiling" = yes ||
2080 test -x conftest$ac_exeext
2084 $as_echo "$as_me: failed program was:" >&5
2085 sed 's/^/| /' conftest.$ac_ext >&5
2089 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2090 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2091 # interfere with the next link command; also delete a directory that is
2092 # left behind by Apple's compiler. We do this before executing the actions.
2093 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2094 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2095 as_fn_set_status $ac_retval
2097 } # ac_fn_cxx_try_link
2099 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2100 # -------------------------------------------------------
2101 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2102 # the include files in INCLUDES and setting the cache variable VAR
2104 ac_fn_c_check_header_mongrel ()
2106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2107 if eval \${$3+:} false; then :
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2109 $as_echo_n "checking for $2... " >&6; }
2110 if eval \${$3+:} false; then :
2111 $as_echo_n "(cached) " >&6
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2115 $as_echo "$ac_res" >&6; }
2117 # Is the header compilable?
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2119 $as_echo_n "checking $2 usability... " >&6; }
2120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
2125 if ac_fn_c_try_compile "$LINENO"; then :
2126 ac_header_compiler=yes
2128 ac_header_compiler=no
2130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2132 $as_echo "$ac_header_compiler" >&6; }
2134 # Is the header present?
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2136 $as_echo_n "checking $2 presence... " >&6; }
2137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h. */
2141 if ac_fn_c_try_cpp "$LINENO"; then :
2142 ac_header_preproc=yes
2144 ac_header_preproc=no
2146 rm -f conftest.err conftest.i conftest.$ac_ext
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2148 $as_echo "$ac_header_preproc" >&6; }
2150 # So? What about this header?
2151 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2154 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2156 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2160 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2162 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2164 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2166 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2168 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2169 ( $as_echo "## ------------------------------------------------------------------------- ##
2170 ## Report this to http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz ##
2171 ## ------------------------------------------------------------------------- ##"
2172 ) | sed "s/^/$as_me: WARNING: /" >&2
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2176 $as_echo_n "checking for $2... " >&6; }
2177 if eval \${$3+:} false; then :
2178 $as_echo_n "(cached) " >&6
2180 eval "$3=\$ac_header_compiler"
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2184 $as_echo "$ac_res" >&6; }
2186 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2188 } # ac_fn_c_check_header_mongrel
2190 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2191 # --------------------------------------------
2192 # Tries to find the compile-time value of EXPR in a program that includes
2193 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2195 ac_fn_c_compute_int ()
2197 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2198 if test "$cross_compiling" = yes; then
2199 # Depending upon the size, compute the lo and hi bounds.
2200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2201 /* end confdefs.h. */
2206 static int test_array [1 - 2 * !(($2) >= 0)];
2208 return test_array [0];
2214 if ac_fn_c_try_compile "$LINENO"; then :
2217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2218 /* end confdefs.h. */
2223 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2225 return test_array [0];
2231 if ac_fn_c_try_compile "$LINENO"; then :
2232 ac_hi=$ac_mid; break
2234 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2235 if test $ac_lo -le $ac_mid; then
2239 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2245 /* end confdefs.h. */
2250 static int test_array [1 - 2 * !(($2) < 0)];
2252 return test_array [0];
2258 if ac_fn_c_try_compile "$LINENO"; then :
2261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2262 /* end confdefs.h. */
2267 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2269 return test_array [0];
2275 if ac_fn_c_try_compile "$LINENO"; then :
2276 ac_lo=$ac_mid; break
2278 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2279 if test $ac_mid -le $ac_hi; then
2283 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2293 # Binary search between lo and hi bounds.
2294 while test "x$ac_lo" != "x$ac_hi"; do
2295 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2297 /* end confdefs.h. */
2302 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2304 return test_array [0];
2310 if ac_fn_c_try_compile "$LINENO"; then :
2313 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2318 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2323 /* end confdefs.h. */
2325 static long int longval () { return $2; }
2326 static unsigned long int ulongval () { return $2; }
2333 FILE *f = fopen ("conftest.val", "w");
2338 long int i = longval ();
2341 fprintf (f, "%ld", i);
2345 unsigned long int i = ulongval ();
2348 fprintf (f, "%lu", i);
2350 /* Do not output a trailing newline, as this causes \r\n confusion
2351 on some platforms. */
2352 return ferror (f) || fclose (f) != 0;
2358 if ac_fn_c_try_run "$LINENO"; then :
2359 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2364 conftest.$ac_objext conftest.beam conftest.$ac_ext
2368 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2369 as_fn_set_status $ac_retval
2371 } # ac_fn_c_compute_int
2373 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2374 # ---------------------------------------------------------
2375 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2376 # the include files in INCLUDES and setting the cache variable VAR
2378 ac_fn_cxx_check_header_mongrel ()
2380 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2381 if eval \${$3+:} false; then :
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2383 $as_echo_n "checking for $2... " >&6; }
2384 if eval \${$3+:} false; then :
2385 $as_echo_n "(cached) " >&6
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2389 $as_echo "$ac_res" >&6; }
2391 # Is the header compilable?
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2393 $as_echo_n "checking $2 usability... " >&6; }
2394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2395 /* end confdefs.h. */
2399 if ac_fn_cxx_try_compile "$LINENO"; then :
2400 ac_header_compiler=yes
2402 ac_header_compiler=no
2404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2406 $as_echo "$ac_header_compiler" >&6; }
2408 # Is the header present?
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2410 $as_echo_n "checking $2 presence... " >&6; }
2411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2412 /* end confdefs.h. */
2415 if ac_fn_cxx_try_cpp "$LINENO"; then :
2416 ac_header_preproc=yes
2418 ac_header_preproc=no
2420 rm -f conftest.err conftest.i conftest.$ac_ext
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2422 $as_echo "$ac_header_preproc" >&6; }
2424 # So? What about this header?
2425 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2428 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2430 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2434 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2436 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2438 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2440 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2442 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2443 ( $as_echo "## ------------------------------------------------------------------------- ##
2444 ## Report this to http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz ##
2445 ## ------------------------------------------------------------------------- ##"
2446 ) | sed "s/^/$as_me: WARNING: /" >&2
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2450 $as_echo_n "checking for $2... " >&6; }
2451 if eval \${$3+:} false; then :
2452 $as_echo_n "(cached) " >&6
2454 eval "$3=\$ac_header_compiler"
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2458 $as_echo "$ac_res" >&6; }
2460 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2462 } # ac_fn_cxx_check_header_mongrel
2464 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2465 # -------------------------------------------
2466 # Tests whether TYPE exists after having included INCLUDES, setting cache
2467 # variable VAR accordingly.
2468 ac_fn_c_check_type ()
2470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2472 $as_echo_n "checking for $2... " >&6; }
2473 if eval \${$3+:} false; then :
2474 $as_echo_n "(cached) " >&6
2477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h. */
2489 if ac_fn_c_try_compile "$LINENO"; then :
2490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2491 /* end confdefs.h. */
2502 if ac_fn_c_try_compile "$LINENO"; then :
2507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2513 $as_echo "$ac_res" >&6; }
2514 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2516 } # ac_fn_c_check_type
2517 cat >config.log <<_ACEOF
2518 This file contains any messages produced by compilers while
2519 running configure, to aid debugging if configure makes a mistake.
2521 It was created by HarfBuzz $as_me 1.2.7, which was
2522 generated by GNU Autoconf 2.69. Invocation command line was
2534 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2535 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2536 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2537 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2538 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2540 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2541 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2543 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2544 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2545 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2546 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2547 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2548 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2549 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2557 test -z "$as_dir" && as_dir=.
2558 $as_echo "PATH: $as_dir"
2574 # Keep a trace of the command line.
2575 # Strip out --no-create and --no-recursion so they do not pile up.
2576 # Strip out --silent because we don't want to record it for future runs.
2577 # Also quote any args containing shell meta-characters.
2578 # Make two passes to allow for proper duplicate-argument suppression.
2582 ac_must_keep_next=false
2588 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2589 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2590 | -silent | --silent | --silen | --sile | --sil)
2593 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2596 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2598 as_fn_append ac_configure_args1 " '$ac_arg'"
2599 if test $ac_must_keep_next = true; then
2600 ac_must_keep_next=false # Got value, back to normal.
2603 *=* | --config-cache | -C | -disable-* | --disable-* \
2604 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2605 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2606 | -with-* | --with-* | -without-* | --without-* | --x)
2607 case "$ac_configure_args0 " in
2608 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2611 -* ) ac_must_keep_next=true ;;
2614 as_fn_append ac_configure_args " '$ac_arg'"
2619 { ac_configure_args0=; unset ac_configure_args0;}
2620 { ac_configure_args1=; unset ac_configure_args1;}
2622 # When interrupted or exit'd, cleanup temporary files, and complete
2623 # config.log. We remove comments because anyway the quotes in there
2624 # would cause problems or look ugly.
2625 # WARNING: Use '\'' to represent an apostrophe within the trap.
2626 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2627 trap 'exit_status=$?
2628 # Save into config.log some information that might help in debugging.
2632 $as_echo "## ---------------- ##
2633 ## Cache variables. ##
2634 ## ---------------- ##"
2636 # The following way of writing the cache mishandles newlines in values,
2638 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2639 eval ac_val=\$$ac_var
2643 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2644 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2647 _ | IFS | as_nl) ;; #(
2648 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2649 *) { eval $ac_var=; unset $ac_var;} ;;
2654 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2655 *${as_nl}ac_space=\ *)
2657 "s/'\''/'\''\\\\'\'''\''/g;
2658 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2661 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2668 $as_echo "## ----------------- ##
2669 ## Output variables. ##
2670 ## ----------------- ##"
2672 for ac_var in $ac_subst_vars
2674 eval ac_val=\$$ac_var
2676 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2678 $as_echo "$ac_var='\''$ac_val'\''"
2682 if test -n "$ac_subst_files"; then
2683 $as_echo "## ------------------- ##
2684 ## File substitutions. ##
2685 ## ------------------- ##"
2687 for ac_var in $ac_subst_files
2689 eval ac_val=\$$ac_var
2691 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2693 $as_echo "$ac_var='\''$ac_val'\''"
2698 if test -s confdefs.h; then
2699 $as_echo "## ----------- ##
2706 test "$ac_signal" != 0 &&
2707 $as_echo "$as_me: caught signal $ac_signal"
2708 $as_echo "$as_me: exit $exit_status"
2710 rm -f core *.core core.conftest.* &&
2711 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2714 for ac_signal in 1 2 13 15; do
2715 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2719 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2720 rm -f -r conftest* confdefs.h
2722 $as_echo "/* confdefs.h */" > confdefs.h
2724 # Predefined preprocessor variables.
2726 cat >>confdefs.h <<_ACEOF
2727 #define PACKAGE_NAME "$PACKAGE_NAME"
2730 cat >>confdefs.h <<_ACEOF
2731 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2734 cat >>confdefs.h <<_ACEOF
2735 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2738 cat >>confdefs.h <<_ACEOF
2739 #define PACKAGE_STRING "$PACKAGE_STRING"
2742 cat >>confdefs.h <<_ACEOF
2743 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2746 cat >>confdefs.h <<_ACEOF
2747 #define PACKAGE_URL "$PACKAGE_URL"
2751 # Let the site file select an alternate cache file if it wants to.
2752 # Prefer an explicitly selected file to automatically selected ones.
2755 if test -n "$CONFIG_SITE"; then
2756 # We do not want a PATH search for config.site.
2757 case $CONFIG_SITE in #((
2758 -*) ac_site_file1=./$CONFIG_SITE;;
2759 */*) ac_site_file1=$CONFIG_SITE;;
2760 *) ac_site_file1=./$CONFIG_SITE;;
2762 elif test "x$prefix" != xNONE; then
2763 ac_site_file1=$prefix/share/config.site
2764 ac_site_file2=$prefix/etc/config.site
2766 ac_site_file1=$ac_default_prefix/share/config.site
2767 ac_site_file2=$ac_default_prefix/etc/config.site
2769 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2771 test "x$ac_site_file" = xNONE && continue
2772 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2774 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2775 sed 's/^/| /' "$ac_site_file" >&5
2777 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2779 as_fn_error $? "failed to load site script $ac_site_file
2780 See \`config.log' for more details" "$LINENO" 5; }
2784 if test -r "$cache_file"; then
2785 # Some versions of bash will fail to source /dev/null (special files
2786 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2787 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2789 $as_echo "$as_me: loading cache $cache_file" >&6;}
2791 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2792 *) . "./$cache_file";;
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2797 $as_echo "$as_me: creating cache $cache_file" >&6;}
2801 # Check that the precious variables saved in the cache have kept the same
2803 ac_cache_corrupted=false
2804 for ac_var in $ac_precious_vars; do
2805 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2806 eval ac_new_set=\$ac_env_${ac_var}_set
2807 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2808 eval ac_new_val=\$ac_env_${ac_var}_value
2809 case $ac_old_set,$ac_new_set in
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2812 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2813 ac_cache_corrupted=: ;;
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2816 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2817 ac_cache_corrupted=: ;;
2820 if test "x$ac_old_val" != "x$ac_new_val"; then
2821 # differences in whitespace do not lead to failure.
2822 ac_old_val_w=`echo x $ac_old_val`
2823 ac_new_val_w=`echo x $ac_new_val`
2824 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2826 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2827 ac_cache_corrupted=:
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2830 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2831 eval $ac_var=\$ac_old_val
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2834 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2836 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2839 # Pass precious variables to config.status.
2840 if test "$ac_new_set" = set; then
2842 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2843 *) ac_arg=$ac_var=$ac_new_val ;;
2845 case " $ac_configure_args " in
2846 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2847 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2851 if $ac_cache_corrupted; then
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2855 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2856 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2858 ## -------------------- ##
2859 ## Main body of script. ##
2860 ## -------------------- ##
2863 ac_cpp='$CPP $CPPFLAGS'
2864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2872 ac_config_headers="$ac_config_headers config.h"
2875 am__api_version='1.14'
2878 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2879 if test -f "$ac_dir/install-sh"; then
2881 ac_install_sh="$ac_aux_dir/install-sh -c"
2883 elif test -f "$ac_dir/install.sh"; then
2885 ac_install_sh="$ac_aux_dir/install.sh -c"
2887 elif test -f "$ac_dir/shtool"; then
2889 ac_install_sh="$ac_aux_dir/shtool install -c"
2893 if test -z "$ac_aux_dir"; then
2894 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2897 # These three variables are undocumented and unsupported,
2898 # and are intended to be withdrawn in a future Autoconf release.
2899 # They can cause serious problems if a builder's source tree is in a directory
2900 # whose full name contains unusual characters.
2901 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2902 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2903 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2906 # Find a good install program. We prefer a C program (faster),
2907 # so one script is as good as another. But avoid the broken or
2908 # incompatible versions:
2909 # SysV /etc/install, /usr/sbin/install
2910 # SunOS /usr/etc/install
2911 # IRIX /sbin/install
2913 # AmigaOS /C/install, which installs bootblocks on floppy discs
2914 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2915 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2916 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2917 # OS/2's system install, which has a completely different semantic
2918 # ./install, which can be erroneously created by make from ./install.sh.
2919 # Reject install programs that cannot install multiple files.
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2921 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2922 if test -z "$INSTALL"; then
2923 if ${ac_cv_path_install+:} false; then :
2924 $as_echo_n "(cached) " >&6
2926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2930 test -z "$as_dir" && as_dir=.
2931 # Account for people who put trailing slashes in PATH elements.
2932 case $as_dir/ in #((
2933 ./ | .// | /[cC]/* | \
2934 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2935 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2938 # OSF1 and SCO ODT 3.0 have their own names for install.
2939 # Don't use installbsd from OSF since it installs stuff as root
2941 for ac_prog in ginstall scoinst install; do
2942 for ac_exec_ext in '' $ac_executable_extensions; do
2943 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2944 if test $ac_prog = install &&
2945 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2946 # AIX install. It has an incompatible calling convention.
2948 elif test $ac_prog = install &&
2949 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2950 # program-specific install script used by HP pwplus--don't use.
2953 rm -rf conftest.one conftest.two conftest.dir
2954 echo one > conftest.one
2955 echo two > conftest.two
2957 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2958 test -s conftest.one && test -s conftest.two &&
2959 test -s conftest.dir/conftest.one &&
2960 test -s conftest.dir/conftest.two
2962 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2975 rm -rf conftest.one conftest.two conftest.dir
2978 if test "${ac_cv_path_install+set}" = set; then
2979 INSTALL=$ac_cv_path_install
2981 # As a last resort, use the slow shell script. Don't cache a
2982 # value for INSTALL within a source directory, because that will
2983 # break other packages using the cache if that directory is
2984 # removed, or if the value is a relative name.
2985 INSTALL=$ac_install_sh
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2989 $as_echo "$INSTALL" >&6; }
2991 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2992 # It thinks the first close brace ends the variable substitution.
2993 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2995 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2997 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3000 $as_echo_n "checking whether build environment is sane... " >&6; }
3001 # Reject unsafe characters in $srcdir or the absolute working directory
3002 # name. Accept space and tab only in the latter.
3006 *[\\\"\#\$\&\'\`$am_lf]*)
3007 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3010 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3011 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3014 # Do 'set' in a subshell so we don't clobber the current shell's
3015 # arguments. Must try -L first in case configure is actually a
3016 # symlink; some systems play weird games with the mod time of symlinks
3017 # (eg FreeBSD returns the mod time of the symlink's containing
3021 for am_try in 1 2; do
3022 echo "timestamp, slept: $am_has_slept" > conftest.file
3023 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3024 if test "$*" = "X"; then
3026 set X `ls -t "$srcdir/configure" conftest.file`
3028 if test "$*" != "X $srcdir/configure conftest.file" \
3029 && test "$*" != "X conftest.file $srcdir/configure"; then
3031 # If neither matched, then we have a broken ls. This can happen
3032 # if, for instance, CONFIG_SHELL is bash and it inherits a
3033 # broken ls alias from the environment. This has actually
3034 # happened. Such a system could not be considered "sane".
3035 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3036 alias in your environment" "$LINENO" 5
3038 if test "$2" = conftest.file || test $am_try -eq 2; then
3045 test "$2" = conftest.file
3051 as_fn_error $? "newly created file is older than distributed files!
3052 Check your system clock" "$LINENO" 5
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3055 $as_echo "yes" >&6; }
3056 # If we didn't sleep, we still need to ensure time stamps of config.status and
3057 # generated files are strictly newer.
3059 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3066 test "$program_prefix" != NONE &&
3067 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3068 # Use a double $ so make ignores it.
3069 test "$program_suffix" != NONE &&
3070 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3071 # Double any \ or $.
3072 # By default was `s,x,x', remove it if useless.
3073 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3074 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3076 # expand $ac_aux_dir to an absolute path
3077 am_aux_dir=`cd $ac_aux_dir && pwd`
3079 if test x"${MISSING+set}" != xset; then
3082 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3084 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3087 # Use eval to expand $SHELL
3088 if eval "$MISSING --is-lightweight"; then
3089 am_missing_run="$MISSING "
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3093 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3096 if test x"${install_sh}" != xset; then
3099 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3101 install_sh="\${SHELL} $am_aux_dir/install-sh"
3105 # Installed binaries are usually stripped using 'strip' when the user
3106 # run "make install-strip". However 'strip' might not be the right
3107 # tool to use in cross-compilation environments, therefore Automake
3108 # will honor the 'STRIP' environment variable to overrule this program.
3109 if test "$cross_compiling" != no; then
3110 if test -n "$ac_tool_prefix"; then
3111 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3112 set dummy ${ac_tool_prefix}strip; ac_word=$2
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114 $as_echo_n "checking for $ac_word... " >&6; }
3115 if ${ac_cv_prog_STRIP+:} false; then :
3116 $as_echo_n "(cached) " >&6
3118 if test -n "$STRIP"; then
3119 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3125 test -z "$as_dir" && as_dir=.
3126 for ac_exec_ext in '' $ac_executable_extensions; do
3127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3128 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138 STRIP=$ac_cv_prog_STRIP
3139 if test -n "$STRIP"; then
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3141 $as_echo "$STRIP" >&6; }
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3149 if test -z "$ac_cv_prog_STRIP"; then
3151 # Extract the first word of "strip", so it can be a program name with args.
3152 set dummy strip; ac_word=$2
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154 $as_echo_n "checking for $ac_word... " >&6; }
3155 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3156 $as_echo_n "(cached) " >&6
3158 if test -n "$ac_ct_STRIP"; then
3159 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165 test -z "$as_dir" && as_dir=.
3166 for ac_exec_ext in '' $ac_executable_extensions; do
3167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3168 ac_cv_prog_ac_ct_STRIP="strip"
3169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3179 if test -n "$ac_ct_STRIP"; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3181 $as_echo "$ac_ct_STRIP" >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3187 if test "x$ac_ct_STRIP" = x; then
3190 case $cross_compiling:$ac_tool_warned in
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3194 ac_tool_warned=yes ;;
3199 STRIP="$ac_cv_prog_STRIP"
3203 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3206 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3207 if test -z "$MKDIR_P"; then
3208 if ${ac_cv_path_mkdir+:} false; then :
3209 $as_echo_n "(cached) " >&6
3211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3212 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3215 test -z "$as_dir" && as_dir=.
3216 for ac_prog in mkdir gmkdir; do
3217 for ac_exec_ext in '' $ac_executable_extensions; do
3218 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3219 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3220 'mkdir (GNU coreutils) '* | \
3221 'mkdir (coreutils) '* | \
3222 'mkdir (fileutils) '4.1*)
3223 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3233 test -d ./--version && rmdir ./--version
3234 if test "${ac_cv_path_mkdir+set}" = set; then
3235 MKDIR_P="$ac_cv_path_mkdir -p"
3237 # As a last resort, use the slow shell script. Don't cache a
3238 # value for MKDIR_P within a source directory, because that will
3239 # break other packages using the cache if that directory is
3240 # removed, or if the value is a relative name.
3241 MKDIR_P="$ac_install_sh -d"
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3245 $as_echo "$MKDIR_P" >&6; }
3247 for ac_prog in gawk mawk nawk awk
3249 # Extract the first word of "$ac_prog", so it can be a program name with args.
3250 set dummy $ac_prog; ac_word=$2
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if ${ac_cv_prog_AWK+:} false; then :
3254 $as_echo_n "(cached) " >&6
3256 if test -n "$AWK"; then
3257 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266 ac_cv_prog_AWK="$ac_prog"
3267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3277 if test -n "$AWK"; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3279 $as_echo "$AWK" >&6; }
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3286 test -n "$AWK" && break
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3290 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3292 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3293 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3294 $as_echo_n "(cached) " >&6
3296 cat >conftest.make <<\_ACEOF
3299 @echo '@@@%%%=$(MAKE)=@@@%%%'
3301 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3302 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3304 eval ac_cv_prog_make_${ac_make}_set=yes;;
3306 eval ac_cv_prog_make_${ac_make}_set=no;;
3310 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3312 $as_echo "yes" >&6; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3317 SET_MAKE="MAKE=${MAKE-make}"
3320 rm -rf .tst 2>/dev/null
3321 mkdir .tst 2>/dev/null
3322 if test -d .tst; then
3327 rmdir .tst 2>/dev/null
3329 # Check whether --enable-silent-rules was given.
3330 if test "${enable_silent_rules+set}" = set; then :
3331 enableval=$enable_silent_rules;
3334 case $enable_silent_rules in # (((
3335 yes) AM_DEFAULT_VERBOSITY=0;;
3336 no) AM_DEFAULT_VERBOSITY=1;;
3337 *) AM_DEFAULT_VERBOSITY=1;;
3339 am_make=${MAKE-make}
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3341 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3342 if ${am_cv_make_support_nested_variables+:} false; then :
3343 $as_echo_n "(cached) " >&6
3345 if $as_echo 'TRUE=$(BAR$(V))
3351 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3352 am_cv_make_support_nested_variables=yes
3354 am_cv_make_support_nested_variables=no
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3358 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3359 if test $am_cv_make_support_nested_variables = yes; then
3361 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3363 AM_V=$AM_DEFAULT_VERBOSITY
3364 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3368 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3369 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3370 # is not polluted with repeated "-I."
3371 am__isrc=' -I$(srcdir)'
3372 # test to see if srcdir already configured
3373 if test -f $srcdir/config.status; then
3374 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3378 # test whether we have cygpath
3379 if test -z "$CYGPATH_W"; then
3380 if (cygpath --version) >/dev/null 2>/dev/null; then
3381 CYGPATH_W='cygpath -w'
3388 # Define the identity of the package.
3393 # Some tools Automake needs.
3395 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3398 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3401 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3404 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3407 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3409 # For better backward compatibility. To be removed once Automake 1.9.x
3410 # dies out for good. For more background, see:
3411 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3412 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3413 mkdir_p='$(MKDIR_P)'
3415 # We need awk for the "check" target. The system "awk" is bad on
3417 # Always define AMTAR for backward compatibility. Yes, it's still used
3418 # in the wild :-( We should find a proper way to deprecate it ...
3422 # We'll loop over all known methods to create a tar archive until one works.
3423 _am_tools='gnutar plaintar pax cpio none'
3425 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
3426 # There is notably a 21 bits limit for the UID and the GID. In fact,
3427 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3429 am_max_uid=2097151 # 2^21 - 1
3430 am_max_gid=$am_max_uid
3431 # The $UID and $GID variables are not portable, so we need to resort
3432 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
3433 # below are definitely unexpected, so allow the users to see them
3434 # (that is, avoid stderr redirection).
3435 am_uid=`id -u || echo unknown`
3436 am_gid=`id -g || echo unknown`
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3438 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3439 if test $am_uid -le $am_max_uid; then
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3441 $as_echo "yes" >&6; }
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3444 $as_echo "no" >&6; }
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3448 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3449 if test $am_gid -le $am_max_gid; then
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3451 $as_echo "yes" >&6; }
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3454 $as_echo "no" >&6; }
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3459 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3461 # Go ahead even if we have the value already cached. We do so because we
3462 # need to set the values for the 'am__tar' and 'am__untar' variables.
3463 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3465 for _am_tool in $_am_tools; do
3468 for _am_tar in tar gnutar gtar; do
3469 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3470 ($_am_tar --version) >&5 2>&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); } && break
3475 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3476 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3477 am__untar="$_am_tar -xf -"
3480 # Must skip GNU tar: if it does not support --format= it doesn't create
3481 # ustar tarball either.
3482 (tar --version) >/dev/null 2>&1 && continue
3483 am__tar='tar chf - "$$tardir"'
3484 am__tar_='tar chf - "$tardir"'
3485 am__untar='tar xf -'
3488 am__tar='pax -L -x ustar -w "$$tardir"'
3489 am__tar_='pax -L -x ustar -w "$tardir"'
3493 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3494 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3495 am__untar='cpio -i -H ustar -d'
3504 # If the value was cached, stop now. We just wanted to have am__tar
3505 # and am__untar set.
3506 test -n "${am_cv_prog_tar_ustar}" && break
3508 # tar/untar a dummy directory, and stop if the command works.
3511 echo GrepMe > conftest.dir/file
3512 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3513 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); }
3518 if test -s conftest.tar; then
3519 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3520 ($am__untar <conftest.tar) >&5 2>&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); }
3524 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3525 (cat conftest.dir/file) >&5 2>&5
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); }
3529 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3534 if ${am_cv_prog_tar_ustar+:} false; then :
3535 $as_echo_n "(cached) " >&6
3537 am_cv_prog_tar_ustar=$_am_tool
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3541 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3548 # POSIX will say in a future version that running "rm -f" with no argument
3549 # is OK; and we want to be able to make that assumption in our Makefile
3550 # recipes. So use an aggressive probe to check that the usage we want is
3551 # actually supported "in the wild" to an acceptable degree.
3552 # See automake bug#10828.
3553 # To make any issue more visible, cause the running configure to be aborted
3554 # by default if the 'rm' program in use doesn't match our expectations; the
3555 # user can still override this though.
3556 if rm -f && rm -fr && rm -rf; then : OK; else
3560 Your 'rm' program seems unable to run without file operands specified
3561 on the command line, even when the '-f' option is present. This is contrary
3562 to the behaviour of most rm programs out there, and not conforming with
3563 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3565 Please tell bug-automake@gnu.org about your system, including the value
3566 of your $PATH and any error possibly output before this message. This
3567 can help us improve future automake versions.
3570 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3571 echo 'Configuration will proceed anyway, since you have set the' >&2
3572 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3576 Aborting the configuration process, to ensure you take notice of the issue.
3578 You can download and install GNU coreutils to get an 'rm' implementation
3579 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3581 If you want to complete the configuration process using your problematic
3582 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3583 to "yes", and re-run configure.
3586 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3589 if test $am__api_version = 1.11 -o $am__api_version = 1.12; then
3590 AUTOMAKE_OLDER_THAN_1_13_TRUE=
3591 AUTOMAKE_OLDER_THAN_1_13_FALSE='#'
3593 AUTOMAKE_OLDER_THAN_1_13_TRUE='#'
3594 AUTOMAKE_OLDER_THAN_1_13_FALSE=
3597 # Check whether --enable-silent-rules was given.
3598 if test "${enable_silent_rules+set}" = set; then :
3599 enableval=$enable_silent_rules;
3602 case $enable_silent_rules in # (((
3603 yes) AM_DEFAULT_VERBOSITY=0;;
3604 no) AM_DEFAULT_VERBOSITY=1;;
3605 *) AM_DEFAULT_VERBOSITY=0;;
3607 am_make=${MAKE-make}
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3609 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3610 if ${am_cv_make_support_nested_variables+:} false; then :
3611 $as_echo_n "(cached) " >&6
3613 if $as_echo 'TRUE=$(BAR$(V))
3619 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3620 am_cv_make_support_nested_variables=yes
3622 am_cv_make_support_nested_variables=no
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3626 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3627 if test $am_cv_make_support_nested_variables = yes; then
3629 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3631 AM_V=$AM_DEFAULT_VERBOSITY
3632 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3637 # Initialize libtool
3638 DEPDIR="${am__leading_dot}deps"
3640 ac_config_commands="$ac_config_commands depfiles"
3643 am_make=${MAKE-make}
3644 cat > confinc << 'END'
3646 @echo this is the am__doit target
3649 # If we don't find an include directive, just comment out the code.
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3651 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3655 # First try GNU make style include.
3656 echo "include confinc" > confmf
3657 # Ignore all kinds of additional output from 'make'.
3658 case `$am_make -s -f confmf 2> /dev/null` in #(
3659 *the\ am__doit\ target*)
3665 # Now try BSD make style include.
3666 if test "$am__include" = "#"; then
3667 echo '.include "confinc"' > confmf
3668 case `$am_make -s -f confmf 2> /dev/null` in #(
3669 *the\ am__doit\ target*)
3670 am__include=.include
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3679 $as_echo "$_am_result" >&6; }
3680 rm -f confinc confmf
3682 # Check whether --enable-dependency-tracking was given.
3683 if test "${enable_dependency_tracking+set}" = set; then :
3684 enableval=$enable_dependency_tracking;
3687 if test "x$enable_dependency_tracking" != xno; then
3688 am_depcomp="$ac_aux_dir/depcomp"
3692 if test "x$enable_dependency_tracking" != xno; then
3702 ac_cpp='$CPP $CPPFLAGS'
3703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3706 if test -n "$ac_tool_prefix"; then
3707 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3708 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if ${ac_cv_prog_CC+:} false; then :
3712 $as_echo_n "(cached) " >&6
3714 if test -n "$CC"; then
3715 ac_cv_prog_CC="$CC" # Let the user override the test.
3717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3721 test -z "$as_dir" && as_dir=.
3722 for ac_exec_ext in '' $ac_executable_extensions; do
3723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3724 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3735 if test -n "$CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3745 if test -z "$ac_cv_prog_CC"; then
3747 # Extract the first word of "gcc", so it can be a program name with args.
3748 set dummy gcc; ac_word=$2
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3750 $as_echo_n "checking for $ac_word... " >&6; }
3751 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3752 $as_echo_n "(cached) " >&6
3754 if test -n "$ac_ct_CC"; then
3755 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3761 test -z "$as_dir" && as_dir=.
3762 for ac_exec_ext in '' $ac_executable_extensions; do
3763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3764 ac_cv_prog_ac_ct_CC="gcc"
3765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3774 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3775 if test -n "$ac_ct_CC"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3777 $as_echo "$ac_ct_CC" >&6; }
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3783 if test "x$ac_ct_CC" = x; then
3786 case $cross_compiling:$ac_tool_warned in
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3790 ac_tool_warned=yes ;;
3798 if test -z "$CC"; then
3799 if test -n "$ac_tool_prefix"; then
3800 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3801 set dummy ${ac_tool_prefix}cc; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if ${ac_cv_prog_CC+:} false; then :
3805 $as_echo_n "(cached) " >&6
3807 if test -n "$CC"; then
3808 ac_cv_prog_CC="$CC" # Let the user override the test.
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3817 ac_cv_prog_CC="${ac_tool_prefix}cc"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3828 if test -n "$CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3830 $as_echo "$CC" >&6; }
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3839 if test -z "$CC"; then
3840 # Extract the first word of "cc", so it can be a program name with args.
3841 set dummy cc; ac_word=$2
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3843 $as_echo_n "checking for $ac_word... " >&6; }
3844 if ${ac_cv_prog_CC+:} false; then :
3845 $as_echo_n "(cached) " >&6
3847 if test -n "$CC"; then
3848 ac_cv_prog_CC="$CC" # Let the user override the test.
3851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855 test -z "$as_dir" && as_dir=.
3856 for ac_exec_ext in '' $ac_executable_extensions; do
3857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3858 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3859 ac_prog_rejected=yes
3863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3870 if test $ac_prog_rejected = yes; then
3871 # We found a bogon in the path, so make sure we never use it.
3872 set dummy $ac_cv_prog_CC
3874 if test $# != 0; then
3875 # We chose a different compiler from the bogus one.
3876 # However, it has the same basename, so the bogon will be chosen
3877 # first if we set CC to just the basename; use the full file name.
3879 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3885 if test -n "$CC"; then
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3887 $as_echo "$CC" >&6; }
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3890 $as_echo "no" >&6; }
3895 if test -z "$CC"; then
3896 if test -n "$ac_tool_prefix"; then
3897 for ac_prog in cl.exe
3899 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3900 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3902 $as_echo_n "checking for $ac_word... " >&6; }
3903 if ${ac_cv_prog_CC+:} false; then :
3904 $as_echo_n "(cached) " >&6
3906 if test -n "$CC"; then
3907 ac_cv_prog_CC="$CC" # Let the user override the test.
3909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3913 test -z "$as_dir" && as_dir=.
3914 for ac_exec_ext in '' $ac_executable_extensions; do
3915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3916 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3927 if test -n "$CC"; then
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3929 $as_echo "$CC" >&6; }
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3932 $as_echo "no" >&6; }
3936 test -n "$CC" && break
3939 if test -z "$CC"; then
3941 for ac_prog in cl.exe
3943 # Extract the first word of "$ac_prog", so it can be a program name with args.
3944 set dummy $ac_prog; ac_word=$2
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3946 $as_echo_n "checking for $ac_word... " >&6; }
3947 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3948 $as_echo_n "(cached) " >&6
3950 if test -n "$ac_ct_CC"; then
3951 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3957 test -z "$as_dir" && as_dir=.
3958 for ac_exec_ext in '' $ac_executable_extensions; do
3959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3960 ac_cv_prog_ac_ct_CC="$ac_prog"
3961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3970 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3971 if test -n "$ac_ct_CC"; then
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3973 $as_echo "$ac_ct_CC" >&6; }
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3980 test -n "$ac_ct_CC" && break
3983 if test "x$ac_ct_CC" = x; then
3986 case $cross_compiling:$ac_tool_warned in
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3990 ac_tool_warned=yes ;;
3999 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4001 as_fn_error $? "no acceptable C compiler found in \$PATH
4002 See \`config.log' for more details" "$LINENO" 5; }
4004 # Provide some information about the compiler.
4005 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4008 for ac_option in --version -v -V -qversion; do
4009 { { ac_try="$ac_compiler $ac_option >&5"
4011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4012 *) ac_try_echo=$ac_try;;
4014 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4015 $as_echo "$ac_try_echo"; } >&5
4016 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4018 if test -s conftest.err; then
4020 ... rest of stderr output deleted ...
4021 10q' conftest.err >conftest.er1
4022 cat conftest.er1 >&5
4024 rm -f conftest.er1 conftest.err
4025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4026 test $ac_status = 0; }
4029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4030 /* end confdefs.h. */
4040 ac_clean_files_save=$ac_clean_files
4041 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4042 # Try to create an executable without -o first, disregard a.out.
4043 # It will help us diagnose broken compilers, and finding out an intuition
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4046 $as_echo_n "checking whether the C compiler works... " >&6; }
4047 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4049 # The possible output files:
4050 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4053 for ac_file in $ac_files
4056 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4057 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4062 if { { ac_try="$ac_link_default"
4064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4065 *) ac_try_echo=$ac_try;;
4067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4068 $as_echo "$ac_try_echo"; } >&5
4069 (eval "$ac_link_default") 2>&5
4071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4072 test $ac_status = 0; }; then :
4073 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4074 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4075 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4076 # so that the user can short-circuit this test for compilers unknown to
4078 for ac_file in $ac_files ''
4080 test -f "$ac_file" || continue
4082 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4085 # We found the default executable, but exeext='' is most
4089 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4091 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4093 # We set ac_cv_exeext here because the later test for it is not
4094 # safe: cross compilers may not add the suffix if given an `-o'
4095 # argument, so we may need to know it at that point already.
4096 # Even if this section looks crufty: it has the advantage of
4103 test "$ac_cv_exeext" = no && ac_cv_exeext=
4108 if test -z "$ac_file"; then :
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4110 $as_echo "no" >&6; }
4111 $as_echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.$ac_ext >&5
4114 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4116 as_fn_error 77 "C compiler cannot create executables
4117 See \`config.log' for more details" "$LINENO" 5; }
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4120 $as_echo "yes" >&6; }
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4123 $as_echo_n "checking for C compiler default output file name... " >&6; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4125 $as_echo "$ac_file" >&6; }
4126 ac_exeext=$ac_cv_exeext
4128 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4129 ac_clean_files=$ac_clean_files_save
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4131 $as_echo_n "checking for suffix of executables... " >&6; }
4132 if { { ac_try="$ac_link"
4134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4135 *) ac_try_echo=$ac_try;;
4137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4138 $as_echo "$ac_try_echo"; } >&5
4139 (eval "$ac_link") 2>&5
4141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4142 test $ac_status = 0; }; then :
4143 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4144 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4145 # work properly (i.e., refer to `conftest.exe'), while it won't with
4147 for ac_file in conftest.exe conftest conftest.*; do
4148 test -f "$ac_file" || continue
4150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4151 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4159 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4160 See \`config.log' for more details" "$LINENO" 5; }
4162 rm -f conftest conftest$ac_cv_exeext
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4164 $as_echo "$ac_cv_exeext" >&6; }
4166 rm -f conftest.$ac_ext
4167 EXEEXT=$ac_cv_exeext
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4175 FILE *f = fopen ("conftest.out", "w");
4176 return ferror (f) || fclose (f) != 0;
4182 ac_clean_files="$ac_clean_files conftest.out"
4183 # Check that the compiler produces executables we can run. If not, either
4184 # the compiler is broken, or we cross compile.
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4186 $as_echo_n "checking whether we are cross compiling... " >&6; }
4187 if test "$cross_compiling" != yes; then
4188 { { ac_try="$ac_link"
4190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4191 *) ac_try_echo=$ac_try;;
4193 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4194 $as_echo "$ac_try_echo"; } >&5
4195 (eval "$ac_link") 2>&5
4197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4198 test $ac_status = 0; }
4199 if { ac_try='./conftest$ac_cv_exeext'
4200 { { case "(($ac_try" in
4201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4202 *) ac_try_echo=$ac_try;;
4204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4205 $as_echo "$ac_try_echo"; } >&5
4206 (eval "$ac_try") 2>&5
4208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4209 test $ac_status = 0; }; }; then
4212 if test "$cross_compiling" = maybe; then
4215 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4217 as_fn_error $? "cannot run C compiled programs.
4218 If you meant to cross compile, use \`--host'.
4219 See \`config.log' for more details" "$LINENO" 5; }
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4224 $as_echo "$cross_compiling" >&6; }
4226 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4227 ac_clean_files=$ac_clean_files_save
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4229 $as_echo_n "checking for suffix of object files... " >&6; }
4230 if ${ac_cv_objext+:} false; then :
4231 $as_echo_n "(cached) " >&6
4233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234 /* end confdefs.h. */
4244 rm -f conftest.o conftest.obj
4245 if { { ac_try="$ac_compile"
4247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4248 *) ac_try_echo=$ac_try;;
4250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4251 $as_echo "$ac_try_echo"; } >&5
4252 (eval "$ac_compile") 2>&5
4254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4255 test $ac_status = 0; }; then :
4256 for ac_file in conftest.o conftest.obj conftest.*; do
4257 test -f "$ac_file" || continue;
4259 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4260 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4265 $as_echo "$as_me: failed program was:" >&5
4266 sed 's/^/| /' conftest.$ac_ext >&5
4268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4270 as_fn_error $? "cannot compute suffix of object files: cannot compile
4271 See \`config.log' for more details" "$LINENO" 5; }
4273 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4276 $as_echo "$ac_cv_objext" >&6; }
4277 OBJEXT=$ac_cv_objext
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4280 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4281 if ${ac_cv_c_compiler_gnu+:} false; then :
4282 $as_echo_n "(cached) " >&6
4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4285 /* end confdefs.h. */
4298 if ac_fn_c_try_compile "$LINENO"; then :
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4308 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4309 if test $ac_compiler_gnu = yes; then
4314 ac_test_CFLAGS=${CFLAGS+set}
4315 ac_save_CFLAGS=$CFLAGS
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4317 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4318 if ${ac_cv_prog_cc_g+:} false; then :
4319 $as_echo_n "(cached) " >&6
4321 ac_save_c_werror_flag=$ac_c_werror_flag
4322 ac_c_werror_flag=yes
4325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4326 /* end confdefs.h. */
4336 if ac_fn_c_try_compile "$LINENO"; then :
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4351 if ac_fn_c_try_compile "$LINENO"; then :
4354 ac_c_werror_flag=$ac_save_c_werror_flag
4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4367 if ac_fn_c_try_compile "$LINENO"; then :
4370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4375 ac_c_werror_flag=$ac_save_c_werror_flag
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4378 $as_echo "$ac_cv_prog_cc_g" >&6; }
4379 if test "$ac_test_CFLAGS" = set; then
4380 CFLAGS=$ac_save_CFLAGS
4381 elif test $ac_cv_prog_cc_g = yes; then
4382 if test "$GCC" = yes; then
4388 if test "$GCC" = yes; then
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4395 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4396 if ${ac_cv_prog_cc_c89+:} false; then :
4397 $as_echo_n "(cached) " >&6
4399 ac_cv_prog_cc_c89=no
4401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4402 /* end confdefs.h. */
4406 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4407 struct buf { int x; };
4408 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4409 static char *e (p, i)
4415 static char *f (char * (*g) (char **, int), char **p, ...)
4420 s = g (p, va_arg (v,int));
4425 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4426 function prototypes and stuff, but not '\xHH' hex character constants.
4427 These don't provoke an error unfortunately, instead are silently treated
4428 as 'x'. The following induces an error, until -std is added to get
4429 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4430 array size at least. It's necessary to write '\x00'==0 to get something
4431 that's true only with -std. */
4432 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4434 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4435 inside strings and character constants. */
4437 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4439 int test (int i, double x);
4440 struct s1 {int (*f) (int a);};
4441 struct s2 {int (*f) (double a);};
4442 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4448 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4453 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4454 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4456 CC="$ac_save_CC $ac_arg"
4457 if ac_fn_c_try_compile "$LINENO"; then :
4458 ac_cv_prog_cc_c89=$ac_arg
4460 rm -f core conftest.err conftest.$ac_objext
4461 test "x$ac_cv_prog_cc_c89" != "xno" && break
4463 rm -f conftest.$ac_ext
4468 case "x$ac_cv_prog_cc_c89" in
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4471 $as_echo "none needed" >&6; } ;;
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4474 $as_echo "unsupported" >&6; } ;;
4476 CC="$CC $ac_cv_prog_cc_c89"
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4478 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4480 if test "x$ac_cv_prog_cc_c89" != xno; then :
4485 ac_cpp='$CPP $CPPFLAGS'
4486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4491 ac_cpp='$CPP $CPPFLAGS'
4492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4496 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4497 if ${am_cv_prog_cc_c_o+:} false; then :
4498 $as_echo_n "(cached) " >&6
4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4511 # Make sure it works both with $CC and with simple cc.
4512 # Following AC_PROG_CC_C_O, we do the test twice because some
4513 # compilers refuse to overwrite an existing .o file with -o,
4514 # though they will create one.
4515 am_cv_prog_cc_c_o=yes
4517 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4518 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); } \
4522 && test -f conftest2.$ac_objext; then
4525 am_cv_prog_cc_c_o=no
4529 rm -f core conftest*
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4533 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4534 if test "$am_cv_prog_cc_c_o" != yes; then
4535 # Losing compiler, so override with the script.
4536 # FIXME: It is wrong to rewrite CC.
4537 # But if we don't then we get into trouble of one sort or another.
4538 # A longer-term fix would be to have automake use am__CC in this case,
4539 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4540 CC="$am_aux_dir/compile $CC"
4543 ac_cpp='$CPP $CPPFLAGS'
4544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4549 depcc="$CC" am_compiler_list=
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4552 $as_echo_n "checking dependency style of $depcc... " >&6; }
4553 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4554 $as_echo_n "(cached) " >&6
4556 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4557 # We make a subdir and do the tests there. Otherwise we can end up
4558 # making bogus files that we don't know about and never remove. For
4559 # instance it was reported that on HP-UX the gcc test will end up
4560 # making a dummy file named 'D' -- because '-MD' means "put the output
4564 # Copy depcomp to subdir because otherwise we won't find it if we're
4565 # using a relative directory.
4566 cp "$am_depcomp" conftest.dir
4568 # We will build objects and dependencies in a subdirectory because
4569 # it helps to detect inapplicable dependency modes. For instance
4570 # both Tru64's cc and ICC support -MD to output dependencies as a
4571 # side effect of compilation, but ICC will put the dependencies in
4572 # the current directory while Tru64 will put them in the object
4576 am_cv_CC_dependencies_compiler_type=none
4577 if test "$am_compiler_list" = ""; then
4578 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4581 case " $depcc " in #(
4582 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4585 for depmode in $am_compiler_list; do
4586 # Setup a source with many dependencies, because some compilers
4587 # like to wrap large dependency lists on column 80 (with \), and
4588 # we should not choose a depcomp mode which is confused by this.
4590 # We need to recreate these files for each test, as the compiler may
4591 # overwrite some of them when testing with obscure command lines.
4592 # This happens at least with the AIX C compiler.
4594 for i in 1 2 3 4 5 6; do
4595 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4596 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4597 # Solaris 10 /bin/sh.
4598 echo '/* dummy */' > sub/conftst$i.h
4600 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4602 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4603 # mode. It turns out that the SunPro C++ compiler does not properly
4604 # handle '-M -o', and we need to detect this. Also, some Intel
4605 # versions had trouble with output in subdirs.
4606 am__obj=sub/conftest.${OBJEXT-o}
4607 am__minus_obj="-o $am__obj"
4610 # This depmode causes a compiler race in universal mode.
4611 test "$am__universal" = false || continue
4614 # After this tag, mechanisms are not by side-effect, so they'll
4615 # only be used when explicitly requested.
4616 if test "x$enable_dependency_tracking" = xyes; then
4622 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4623 # This compiler won't grok '-c -o', but also, the minuso test has
4624 # not run yet. These depmodes are late enough in the game, and
4625 # so weak that their functioning should not be impacted.
4626 am__obj=conftest.${OBJEXT-o}
4631 if depmode=$depmode \
4632 source=sub/conftest.c object=$am__obj \
4633 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4634 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4635 >/dev/null 2>conftest.err &&
4636 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4637 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4638 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4639 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4640 # icc doesn't choke on unknown options, it will just issue warnings
4641 # or remarks (even with -Werror). So we grep stderr for any message
4642 # that says an option was ignored or not supported.
4643 # When given -MP, icc 7.0 and 7.1 complain thusly:
4644 # icc: Command line warning: ignoring option '-M'; no argument required
4645 # The diagnosis changed in icc 8.0:
4646 # icc: Command line remark: option '-MP' not supported
4647 if (grep 'ignoring option' conftest.err ||
4648 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4649 am_cv_CC_dependencies_compiler_type=$depmode
4658 am_cv_CC_dependencies_compiler_type=none
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4663 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4664 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4667 test "x$enable_dependency_tracking" != xno \
4668 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4670 am__fastdepCC_FALSE='#'
4672 am__fastdepCC_TRUE='#'
4673 am__fastdepCC_FALSE=
4678 if test -n "$ac_tool_prefix"; then
4679 for ac_prog in ar lib "link -lib"
4681 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4682 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4684 $as_echo_n "checking for $ac_word... " >&6; }
4685 if ${ac_cv_prog_AR+:} false; then :
4686 $as_echo_n "(cached) " >&6
4688 if test -n "$AR"; then
4689 ac_cv_prog_AR="$AR" # Let the user override the test.
4691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 test -z "$as_dir" && as_dir=.
4696 for ac_exec_ext in '' $ac_executable_extensions; do
4697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4698 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4709 if test -n "$AR"; then
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4711 $as_echo "$AR" >&6; }
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4714 $as_echo "no" >&6; }
4718 test -n "$AR" && break
4721 if test -z "$AR"; then
4723 for ac_prog in ar lib "link -lib"
4725 # Extract the first word of "$ac_prog", so it can be a program name with args.
4726 set dummy $ac_prog; ac_word=$2
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4728 $as_echo_n "checking for $ac_word... " >&6; }
4729 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4730 $as_echo_n "(cached) " >&6
4732 if test -n "$ac_ct_AR"; then
4733 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4739 test -z "$as_dir" && as_dir=.
4740 for ac_exec_ext in '' $ac_executable_extensions; do
4741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4742 ac_cv_prog_ac_ct_AR="$ac_prog"
4743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4752 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4753 if test -n "$ac_ct_AR"; then
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4755 $as_echo "$ac_ct_AR" >&6; }
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4758 $as_echo "no" >&6; }
4762 test -n "$ac_ct_AR" && break
4765 if test "x$ac_ct_AR" = x; then
4768 case $cross_compiling:$ac_tool_warned in
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4772 ac_tool_warned=yes ;;
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4781 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4782 if ${am_cv_ar_interface+:} false; then :
4783 $as_echo_n "(cached) " >&6
4786 ac_cpp='$CPP $CPPFLAGS'
4787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4791 am_cv_ar_interface=ar
4792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4793 /* end confdefs.h. */
4794 int some_variable = 0;
4796 if ac_fn_c_try_compile "$LINENO"; then :
4797 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4798 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4799 (eval $am_ar_try) 2>&5
4801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4802 test $ac_status = 0; }
4803 if test "$ac_status" -eq 0; then
4804 am_cv_ar_interface=ar
4806 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4807 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4808 (eval $am_ar_try) 2>&5
4810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4811 test $ac_status = 0; }
4812 if test "$ac_status" -eq 0; then
4813 am_cv_ar_interface=lib
4815 am_cv_ar_interface=unknown
4818 rm -f conftest.lib libconftest.a
4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4823 ac_cpp='$CPP $CPPFLAGS'
4824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4830 $as_echo "$am_cv_ar_interface" >&6; }
4832 case $am_cv_ar_interface in
4836 # Microsoft lib, so override with the ar-lib wrapper script.
4837 # FIXME: It is wrong to rewrite AR.
4838 # But if we don't then we get into trouble of one sort or another.
4839 # A longer-term fix would be to have automake use am__AR in this case,
4840 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4842 AR="$am_aux_dir/ar-lib $AR"
4845 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4853 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4858 macro_version='2.4.2'
4859 macro_revision='1.3337'
4873 ltmain="$ac_aux_dir/ltmain.sh"
4875 # Make sure we can run config.sub.
4876 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4877 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4880 $as_echo_n "checking build system type... " >&6; }
4881 if ${ac_cv_build+:} false; then :
4882 $as_echo_n "(cached) " >&6
4884 ac_build_alias=$build_alias
4885 test "x$ac_build_alias" = x &&
4886 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4887 test "x$ac_build_alias" = x &&
4888 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4889 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4890 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4894 $as_echo "$ac_cv_build" >&6; }
4895 case $ac_cv_build in
4897 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4900 ac_save_IFS=$IFS; IFS='-'
4906 # Remember, the first character of IFS is used to create $*,
4907 # except with old shells:
4910 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4914 $as_echo_n "checking host system type... " >&6; }
4915 if ${ac_cv_host+:} false; then :
4916 $as_echo_n "(cached) " >&6
4918 if test "x$host_alias" = x; then
4919 ac_cv_host=$ac_cv_build
4921 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4922 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4927 $as_echo "$ac_cv_host" >&6; }
4930 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4933 ac_save_IFS=$IFS; IFS='-'
4939 # Remember, the first character of IFS is used to create $*,
4940 # except with old shells:
4943 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4946 # Backslashify metacharacters that are still active within
4947 # double-quoted strings.
4948 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4950 # Same as above, but do not quote variable references.
4951 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4953 # Sed substitution to delay expansion of an escaped shell variable in a
4954 # double_quote_subst'ed string.
4955 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4957 # Sed substitution to delay expansion of an escaped single quote.
4958 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4960 # Sed substitution to avoid accidental globbing in evaled expressions
4961 no_glob_subst='s/\*/\\\*/g'
4963 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4964 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4965 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4968 $as_echo_n "checking how to print strings... " >&6; }
4969 # Test print first, because it will be a builtin if present.
4970 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4971 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4973 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4976 # Use this function as a fallback that always works.
4977 func_fallback_echo ()
4979 eval 'cat <<_LTECHO_EOF
4983 ECHO='func_fallback_echo'
4986 # func_echo_all arg...
4987 # Invoke $ECHO with all args, space-separated.
4994 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4995 $as_echo "printf" >&6; } ;;
4996 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4997 $as_echo "print -r" >&6; } ;;
4998 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4999 $as_echo "cat" >&6; } ;;
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5016 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5017 if ${ac_cv_path_SED+:} false; then :
5018 $as_echo_n "(cached) " >&6
5020 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5021 for ac_i in 1 2 3 4 5 6 7; do
5022 ac_script="$ac_script$as_nl$ac_script"
5024 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5025 { ac_script=; unset ac_script;}
5026 if test -z "$SED"; then
5027 ac_path_SED_found=false
5028 # Loop through the user's path and test for each of PROGNAME-LIST
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 test -z "$as_dir" && as_dir=.
5034 for ac_prog in sed gsed; do
5035 for ac_exec_ext in '' $ac_executable_extensions; do
5036 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5037 as_fn_executable_p "$ac_path_SED" || continue
5038 # Check for GNU ac_path_SED and select it if it is found.
5039 # Check for GNU $ac_path_SED
5040 case `"$ac_path_SED" --version 2>&1` in
5042 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5045 $as_echo_n 0123456789 >"conftest.in"
5048 cat "conftest.in" "conftest.in" >"conftest.tmp"
5049 mv "conftest.tmp" "conftest.in"
5050 cp "conftest.in" "conftest.nl"
5051 $as_echo '' >> "conftest.nl"
5052 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5053 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5054 as_fn_arith $ac_count + 1 && ac_count=$as_val
5055 if test $ac_count -gt ${ac_path_SED_max-0}; then
5056 # Best one so far, save it but keep looking for a better one
5057 ac_cv_path_SED="$ac_path_SED"
5058 ac_path_SED_max=$ac_count
5060 # 10*(2^10) chars as input seems more than enough
5061 test $ac_count -gt 10 && break
5063 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5066 $ac_path_SED_found && break 3
5071 if test -z "$ac_cv_path_SED"; then
5072 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5080 $as_echo "$ac_cv_path_SED" >&6; }
5081 SED="$ac_cv_path_SED"
5084 test -z "$SED" && SED=sed
5085 Xsed="$SED -e 1s/^X//"
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5098 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5099 if ${ac_cv_path_GREP+:} false; then :
5100 $as_echo_n "(cached) " >&6
5102 if test -z "$GREP"; then
5103 ac_path_GREP_found=false
5104 # Loop through the user's path and test for each of PROGNAME-LIST
5105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5106 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5109 test -z "$as_dir" && as_dir=.
5110 for ac_prog in grep ggrep; do
5111 for ac_exec_ext in '' $ac_executable_extensions; do
5112 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5113 as_fn_executable_p "$ac_path_GREP" || continue
5114 # Check for GNU ac_path_GREP and select it if it is found.
5115 # Check for GNU $ac_path_GREP
5116 case `"$ac_path_GREP" --version 2>&1` in
5118 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5121 $as_echo_n 0123456789 >"conftest.in"
5124 cat "conftest.in" "conftest.in" >"conftest.tmp"
5125 mv "conftest.tmp" "conftest.in"
5126 cp "conftest.in" "conftest.nl"
5127 $as_echo 'GREP' >> "conftest.nl"
5128 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5129 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5130 as_fn_arith $ac_count + 1 && ac_count=$as_val
5131 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5132 # Best one so far, save it but keep looking for a better one
5133 ac_cv_path_GREP="$ac_path_GREP"
5134 ac_path_GREP_max=$ac_count
5136 # 10*(2^10) chars as input seems more than enough
5137 test $ac_count -gt 10 && break
5139 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5142 $ac_path_GREP_found && break 3
5147 if test -z "$ac_cv_path_GREP"; then
5148 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5151 ac_cv_path_GREP=$GREP
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5156 $as_echo "$ac_cv_path_GREP" >&6; }
5157 GREP="$ac_cv_path_GREP"
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5161 $as_echo_n "checking for egrep... " >&6; }
5162 if ${ac_cv_path_EGREP+:} false; then :
5163 $as_echo_n "(cached) " >&6
5165 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5166 then ac_cv_path_EGREP="$GREP -E"
5168 if test -z "$EGREP"; then
5169 ac_path_EGREP_found=false
5170 # Loop through the user's path and test for each of PROGNAME-LIST
5171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5175 test -z "$as_dir" && as_dir=.
5176 for ac_prog in egrep; do
5177 for ac_exec_ext in '' $ac_executable_extensions; do
5178 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5179 as_fn_executable_p "$ac_path_EGREP" || continue
5180 # Check for GNU ac_path_EGREP and select it if it is found.
5181 # Check for GNU $ac_path_EGREP
5182 case `"$ac_path_EGREP" --version 2>&1` in
5184 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5187 $as_echo_n 0123456789 >"conftest.in"
5190 cat "conftest.in" "conftest.in" >"conftest.tmp"
5191 mv "conftest.tmp" "conftest.in"
5192 cp "conftest.in" "conftest.nl"
5193 $as_echo 'EGREP' >> "conftest.nl"
5194 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5195 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5196 as_fn_arith $ac_count + 1 && ac_count=$as_val
5197 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5198 # Best one so far, save it but keep looking for a better one
5199 ac_cv_path_EGREP="$ac_path_EGREP"
5200 ac_path_EGREP_max=$ac_count
5202 # 10*(2^10) chars as input seems more than enough
5203 test $ac_count -gt 10 && break
5205 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5208 $ac_path_EGREP_found && break 3
5213 if test -z "$ac_cv_path_EGREP"; then
5214 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5217 ac_cv_path_EGREP=$EGREP
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5223 $as_echo "$ac_cv_path_EGREP" >&6; }
5224 EGREP="$ac_cv_path_EGREP"
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5228 $as_echo_n "checking for fgrep... " >&6; }
5229 if ${ac_cv_path_FGREP+:} false; then :
5230 $as_echo_n "(cached) " >&6
5232 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5233 then ac_cv_path_FGREP="$GREP -F"
5235 if test -z "$FGREP"; then
5236 ac_path_FGREP_found=false
5237 # Loop through the user's path and test for each of PROGNAME-LIST
5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5239 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5242 test -z "$as_dir" && as_dir=.
5243 for ac_prog in fgrep; do
5244 for ac_exec_ext in '' $ac_executable_extensions; do
5245 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5246 as_fn_executable_p "$ac_path_FGREP" || continue
5247 # Check for GNU ac_path_FGREP and select it if it is found.
5248 # Check for GNU $ac_path_FGREP
5249 case `"$ac_path_FGREP" --version 2>&1` in
5251 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5254 $as_echo_n 0123456789 >"conftest.in"
5257 cat "conftest.in" "conftest.in" >"conftest.tmp"
5258 mv "conftest.tmp" "conftest.in"
5259 cp "conftest.in" "conftest.nl"
5260 $as_echo 'FGREP' >> "conftest.nl"
5261 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5262 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5263 as_fn_arith $ac_count + 1 && ac_count=$as_val
5264 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5265 # Best one so far, save it but keep looking for a better one
5266 ac_cv_path_FGREP="$ac_path_FGREP"
5267 ac_path_FGREP_max=$ac_count
5269 # 10*(2^10) chars as input seems more than enough
5270 test $ac_count -gt 10 && break
5272 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5275 $ac_path_FGREP_found && break 3
5280 if test -z "$ac_cv_path_FGREP"; then
5281 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5284 ac_cv_path_FGREP=$FGREP
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5290 $as_echo "$ac_cv_path_FGREP" >&6; }
5291 FGREP="$ac_cv_path_FGREP"
5294 test -z "$GREP" && GREP=grep
5314 # Check whether --with-gnu-ld was given.
5315 if test "${with_gnu_ld+set}" = set; then :
5316 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5322 if test "$GCC" = yes; then
5323 # Check if gcc -print-prog-name=ld gives a path.
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5325 $as_echo_n "checking for ld used by $CC... " >&6; }
5328 # gcc leaves a trailing carriage return which upsets mingw
5329 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5331 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5334 # Accept absolute paths.
5336 re_direlt='/[^/][^/]*/\.\./'
5337 # Canonicalize the pathname of ld
5338 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5339 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5340 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5342 test -z "$LD" && LD="$ac_prog"
5345 # If it fails, then pretend we aren't using GCC.
5349 # If it is relative, then search for the first ld in PATH.
5353 elif test "$with_gnu_ld" = yes; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5355 $as_echo_n "checking for GNU ld... " >&6; }
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5358 $as_echo_n "checking for non-GNU ld... " >&6; }
5360 if ${lt_cv_path_LD+:} false; then :
5361 $as_echo_n "(cached) " >&6
5363 if test -z "$LD"; then
5364 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5365 for ac_dir in $PATH; do
5367 test -z "$ac_dir" && ac_dir=.
5368 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5369 lt_cv_path_LD="$ac_dir/$ac_prog"
5370 # Check to see if the program is GNU ld. I'd rather use --version,
5371 # but apparently some variants of GNU ld only accept -v.
5372 # Break only if it was the GNU/non-GNU ld that we prefer.
5373 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5374 *GNU* | *'with BFD'*)
5375 test "$with_gnu_ld" != no && break
5378 test "$with_gnu_ld" != yes && break
5385 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5390 if test -n "$LD"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5392 $as_echo "$LD" >&6; }
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5397 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5399 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5400 if ${lt_cv_prog_gnu_ld+:} false; then :
5401 $as_echo_n "(cached) " >&6
5403 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5404 case `$LD -v 2>&1 </dev/null` in
5405 *GNU* | *'with BFD'*)
5406 lt_cv_prog_gnu_ld=yes
5409 lt_cv_prog_gnu_ld=no
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5414 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5415 with_gnu_ld=$lt_cv_prog_gnu_ld
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5426 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5427 if ${lt_cv_path_NM+:} false; then :
5428 $as_echo_n "(cached) " >&6
5430 if test -n "$NM"; then
5431 # Let the user override the test.
5434 lt_nm_to_check="${ac_tool_prefix}nm"
5435 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5436 lt_nm_to_check="$lt_nm_to_check nm"
5438 for lt_tmp_nm in $lt_nm_to_check; do
5439 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5440 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5442 test -z "$ac_dir" && ac_dir=.
5443 tmp_nm="$ac_dir/$lt_tmp_nm"
5444 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5445 # Check to see if the nm accepts a BSD-compat flag.
5446 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5447 # nm: unknown option "B" ignored
5448 # Tru64's nm complains that /dev/null is an invalid object file
5449 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5450 */dev/null* | *'Invalid file or object type'*)
5451 lt_cv_path_NM="$tmp_nm -B"
5455 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5457 lt_cv_path_NM="$tmp_nm -p"
5461 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5462 continue # so that we can try to find one that supports BSD flags
5471 : ${lt_cv_path_NM=no}
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5475 $as_echo "$lt_cv_path_NM" >&6; }
5476 if test "$lt_cv_path_NM" != "no"; then
5479 # Didn't find any BSD compatible name lister, look for dumpbin.
5480 if test -n "$DUMPBIN"; then :
5481 # Let the user override the test.
5483 if test -n "$ac_tool_prefix"; then
5484 for ac_prog in dumpbin "link -dump"
5486 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5487 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5489 $as_echo_n "checking for $ac_word... " >&6; }
5490 if ${ac_cv_prog_DUMPBIN+:} false; then :
5491 $as_echo_n "(cached) " >&6
5493 if test -n "$DUMPBIN"; then
5494 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500 test -z "$as_dir" && as_dir=.
5501 for ac_exec_ext in '' $ac_executable_extensions; do
5502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5503 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 DUMPBIN=$ac_cv_prog_DUMPBIN
5514 if test -n "$DUMPBIN"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5516 $as_echo "$DUMPBIN" >&6; }
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 $as_echo "no" >&6; }
5523 test -n "$DUMPBIN" && break
5526 if test -z "$DUMPBIN"; then
5527 ac_ct_DUMPBIN=$DUMPBIN
5528 for ac_prog in dumpbin "link -dump"
5530 # Extract the first word of "$ac_prog", so it can be a program name with args.
5531 set dummy $ac_prog; ac_word=$2
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5533 $as_echo_n "checking for $ac_word... " >&6; }
5534 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5535 $as_echo_n "(cached) " >&6
5537 if test -n "$ac_ct_DUMPBIN"; then
5538 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5544 test -z "$as_dir" && as_dir=.
5545 for ac_exec_ext in '' $ac_executable_extensions; do
5546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5547 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5558 if test -n "$ac_ct_DUMPBIN"; then
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5560 $as_echo "$ac_ct_DUMPBIN" >&6; }
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5563 $as_echo "no" >&6; }
5567 test -n "$ac_ct_DUMPBIN" && break
5570 if test "x$ac_ct_DUMPBIN" = x; then
5573 case $cross_compiling:$ac_tool_warned in
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5576 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5577 ac_tool_warned=yes ;;
5579 DUMPBIN=$ac_ct_DUMPBIN
5583 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5585 DUMPBIN="$DUMPBIN -symbols"
5593 if test "$DUMPBIN" != ":"; then
5597 test -z "$NM" && NM=nm
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5605 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5606 if ${lt_cv_nm_interface+:} false; then :
5607 $as_echo_n "(cached) " >&6
5609 lt_cv_nm_interface="BSD nm"
5610 echo "int some_variable = 0;" > conftest.$ac_ext
5611 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5612 (eval "$ac_compile" 2>conftest.err)
5613 cat conftest.err >&5
5614 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5615 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5616 cat conftest.err >&5
5617 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5618 cat conftest.out >&5
5619 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5620 lt_cv_nm_interface="MS dumpbin"
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5625 $as_echo "$lt_cv_nm_interface" >&6; }
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5628 $as_echo_n "checking whether ln -s works... " >&6; }
5630 if test "$LN_S" = "ln -s"; then
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5632 $as_echo "yes" >&6; }
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5635 $as_echo "no, using $LN_S" >&6; }
5638 # find the maximum length of command line arguments
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5640 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5641 if ${lt_cv_sys_max_cmd_len+:} false; then :
5642 $as_echo_n "(cached) " >&6
5649 # On DJGPP, this test can blow up pretty badly due to problems in libc
5650 # (any single argument exceeding 2000 bytes causes a buffer overrun
5651 # during glob expansion). Even if it were fixed, the result of this
5652 # check would be larger than it should be.
5653 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5657 # Under GNU Hurd, this test is not required because there is
5658 # no limit to the length of command line arguments.
5659 # Libtool will interpret -1 as no limit whatsoever
5660 lt_cv_sys_max_cmd_len=-1;
5663 cygwin* | mingw* | cegcc*)
5664 # On Win9x/ME, this test blows up -- it succeeds, but takes
5665 # about 5 minutes as the teststring grows exponentially.
5666 # Worse, since 9x/ME are not pre-emptively multitasking,
5667 # you end up with a "frozen" computer, even though with patience
5668 # the test eventually succeeds (with a max line length of 256k).
5669 # Instead, let's just punt: use the minimum linelength reported by
5670 # all of the supported platforms: 8192 (on NT/2K/XP).
5671 lt_cv_sys_max_cmd_len=8192;
5675 # On MiNT this can take a long time and run out of memory.
5676 lt_cv_sys_max_cmd_len=8192;
5680 # On AmigaOS with pdksh, this test takes hours, literally.
5681 # So we just punt and use a minimum line length of 8192.
5682 lt_cv_sys_max_cmd_len=8192;
5685 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5686 # This has been around since 386BSD, at least. Likely further.
5687 if test -x /sbin/sysctl; then
5688 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5689 elif test -x /usr/sbin/sysctl; then
5690 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5692 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5694 # And add a safety zone
5695 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5696 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5700 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5701 lt_cv_sys_max_cmd_len=196608
5705 # The test takes a long time on OS/2.
5706 lt_cv_sys_max_cmd_len=8192
5710 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5711 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5712 # nice to cause kernel panics so lets avoid the loop below.
5713 # First set a reasonable default.
5714 lt_cv_sys_max_cmd_len=16384
5716 if test -x /sbin/sysconfig; then
5717 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5718 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5723 lt_cv_sys_max_cmd_len=102400
5725 sysv5* | sco5v6* | sysv4.2uw2*)
5726 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5727 if test -n "$kargmax"; then
5728 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5730 lt_cv_sys_max_cmd_len=32768
5734 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5735 if test -n "$lt_cv_sys_max_cmd_len" && \
5736 test undefined != "$lt_cv_sys_max_cmd_len"; then
5737 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5738 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5740 # Make teststring a little bigger before we do anything with it.
5741 # a 1K string should be a reasonable start.
5742 for i in 1 2 3 4 5 6 7 8 ; do
5743 teststring=$teststring$teststring
5745 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5746 # If test is not a shell built-in, we'll probably end up computing a
5747 # maximum length that is only half of the actual maximum length, but
5749 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5750 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5751 test $i != 17 # 1/2 MB should be enough
5754 teststring=$teststring$teststring
5756 # Only check the string length outside the loop.
5757 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5759 # Add a significant safety factor because C++ compilers can tack on
5760 # massive amounts of additional arguments before passing them to the
5761 # linker. It appears as though 1/2 is a usable value.
5762 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5769 if test -n $lt_cv_sys_max_cmd_len ; then
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5771 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5774 $as_echo "none" >&6; }
5776 max_cmd_len=$lt_cv_sys_max_cmd_len
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5788 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5789 # Try some XSI features
5792 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5794 && eval 'test $(( 1 + 1 )) -eq 2 \
5795 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5798 $as_echo "$xsi_shell" >&6; }
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5802 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5804 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5806 && lt_shell_append=yes
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5808 $as_echo "$lt_shell_append" >&6; }
5811 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5821 # test EBCDIC or ASCII
5822 case `echo X|tr X '\101'` in
5823 A) # ASCII based system
5824 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5825 lt_SP2NL='tr \040 \012'
5826 lt_NL2SP='tr \015\012 \040\040'
5828 *) # EBCDIC based system
5829 lt_SP2NL='tr \100 \n'
5830 lt_NL2SP='tr \r\n \100\100'
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5843 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5844 if ${lt_cv_to_host_file_cmd+:} false; then :
5845 $as_echo_n "(cached) " >&6
5850 *-*-mingw* ) # actually msys
5851 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5854 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5856 * ) # otherwise, assume *nix
5857 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5863 *-*-mingw* ) # actually msys
5864 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5867 lt_cv_to_host_file_cmd=func_convert_file_noop
5869 * ) # otherwise, assume *nix
5870 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5874 * ) # unhandled hosts (and "normal" native builds)
5875 lt_cv_to_host_file_cmd=func_convert_file_noop
5881 to_host_file_cmd=$lt_cv_to_host_file_cmd
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5883 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5890 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5891 if ${lt_cv_to_tool_file_cmd+:} false; then :
5892 $as_echo_n "(cached) " >&6
5894 #assume ordinary cross tools, or native build.
5895 lt_cv_to_tool_file_cmd=func_convert_file_noop
5899 *-*-mingw* ) # actually msys
5900 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5908 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5910 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5917 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5918 if ${lt_cv_ld_reload_flag+:} false; then :
5919 $as_echo_n "(cached) " >&6
5921 lt_cv_ld_reload_flag='-r'
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5924 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5925 reload_flag=$lt_cv_ld_reload_flag
5926 case $reload_flag in
5928 *) reload_flag=" $reload_flag" ;;
5930 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5932 cygwin* | mingw* | pw32* | cegcc*)
5933 if test "$GCC" != yes; then
5938 if test "$GCC" = yes; then
5939 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5941 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5954 if test -n "$ac_tool_prefix"; then
5955 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5956 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 $as_echo_n "checking for $ac_word... " >&6; }
5959 if ${ac_cv_prog_OBJDUMP+:} false; then :
5960 $as_echo_n "(cached) " >&6
5962 if test -n "$OBJDUMP"; then
5963 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 test -z "$as_dir" && as_dir=.
5970 for ac_exec_ext in '' $ac_executable_extensions; do
5971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5972 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5982 OBJDUMP=$ac_cv_prog_OBJDUMP
5983 if test -n "$OBJDUMP"; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5985 $as_echo "$OBJDUMP" >&6; }
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
5993 if test -z "$ac_cv_prog_OBJDUMP"; then
5994 ac_ct_OBJDUMP=$OBJDUMP
5995 # Extract the first word of "objdump", so it can be a program name with args.
5996 set dummy objdump; ac_word=$2
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5998 $as_echo_n "checking for $ac_word... " >&6; }
5999 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6000 $as_echo_n "(cached) " >&6
6002 if test -n "$ac_ct_OBJDUMP"; then
6003 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6012 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6022 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6023 if test -n "$ac_ct_OBJDUMP"; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6025 $as_echo "$ac_ct_OBJDUMP" >&6; }
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6028 $as_echo "no" >&6; }
6031 if test "x$ac_ct_OBJDUMP" = x; then
6034 case $cross_compiling:$ac_tool_warned in
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6038 ac_tool_warned=yes ;;
6040 OBJDUMP=$ac_ct_OBJDUMP
6043 OBJDUMP="$ac_cv_prog_OBJDUMP"
6046 test -z "$OBJDUMP" && OBJDUMP=objdump
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6057 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6058 if ${lt_cv_deplibs_check_method+:} false; then :
6059 $as_echo_n "(cached) " >&6
6061 lt_cv_file_magic_cmd='$MAGIC_CMD'
6062 lt_cv_file_magic_test_file=
6063 lt_cv_deplibs_check_method='unknown'
6064 # Need to set the preceding variable on all platforms that support
6065 # interlibrary dependencies.
6066 # 'none' -- dependencies not supported.
6067 # `unknown' -- same as none, but documents that we really don't know.
6068 # 'pass_all' -- all dependencies passed with no checks.
6069 # 'test_compile' -- check by making test program.
6070 # 'file_magic [[regex]]' -- check by looking for files in library path
6071 # which responds to the $file_magic_cmd with a given extended regex.
6072 # If you have `file' or equivalent on your system and you're not sure
6073 # whether `pass_all' will *always* work, you probably want this one.
6077 lt_cv_deplibs_check_method=pass_all
6081 lt_cv_deplibs_check_method=pass_all
6085 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6086 lt_cv_file_magic_cmd='/usr/bin/file -L'
6087 lt_cv_file_magic_test_file=/shlib/libc.so
6091 # func_win32_libid is a shell function defined in ltmain.sh
6092 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6093 lt_cv_file_magic_cmd='func_win32_libid'
6097 # Base MSYS/MinGW do not provide the 'file' command needed by
6098 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6099 # unless we find 'file', for example because we are cross-compiling.
6100 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6101 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6102 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6103 lt_cv_file_magic_cmd='func_win32_libid'
6105 # Keep this pattern in sync with the one in func_win32_libid.
6106 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6107 lt_cv_file_magic_cmd='$OBJDUMP -f'
6112 # use the weaker test based on 'objdump'. See mingw*.
6113 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6114 lt_cv_file_magic_cmd='$OBJDUMP -f'
6117 darwin* | rhapsody*)
6118 lt_cv_deplibs_check_method=pass_all
6121 freebsd* | dragonfly*)
6122 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6125 # Not sure whether the presence of OpenBSD here was a mistake.
6126 # Let's accept both of them until this is cleared up.
6127 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6128 lt_cv_file_magic_cmd=/usr/bin/file
6129 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6133 lt_cv_deplibs_check_method=pass_all
6138 lt_cv_deplibs_check_method=pass_all
6141 hpux10.20* | hpux11*)
6142 lt_cv_file_magic_cmd=/usr/bin/file
6145 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6146 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6149 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]'
6150 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6153 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6154 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6160 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6161 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6164 irix5* | irix6* | nonstopux*)
6166 *-32|*"-32 ") libmagic=32-bit;;
6167 *-n32|*"-n32 ") libmagic=N32;;
6168 *-64|*"-64 ") libmagic=64-bit;;
6169 *) libmagic=never-match;;
6171 lt_cv_deplibs_check_method=pass_all
6174 # This must be glibc/ELF.
6175 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6176 lt_cv_deplibs_check_method=pass_all
6179 netbsd* | netbsdelf*-gnu)
6180 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6181 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6183 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6188 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6189 lt_cv_file_magic_cmd=/usr/bin/file
6190 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6194 lt_cv_deplibs_check_method=pass_all
6198 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6199 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6201 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6205 osf3* | osf4* | osf5*)
6206 lt_cv_deplibs_check_method=pass_all
6210 lt_cv_deplibs_check_method=pass_all
6214 lt_cv_deplibs_check_method=pass_all
6217 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6218 lt_cv_deplibs_check_method=pass_all
6222 case $host_vendor in
6224 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]'
6225 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6228 lt_cv_deplibs_check_method=pass_all
6231 lt_cv_file_magic_cmd='/bin/file'
6232 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6235 lt_cv_file_magic_cmd='/bin/file'
6236 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6237 lt_cv_file_magic_test_file=/lib/libc.so
6240 lt_cv_deplibs_check_method=pass_all
6243 lt_cv_deplibs_check_method=pass_all
6249 lt_cv_deplibs_check_method=pass_all
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6255 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6259 if test "$build" = "$host"; then
6262 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6265 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6271 file_magic_cmd=$lt_cv_file_magic_cmd
6272 deplibs_check_method=$lt_cv_deplibs_check_method
6273 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6296 if test -n "$ac_tool_prefix"; then
6297 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6298 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6300 $as_echo_n "checking for $ac_word... " >&6; }
6301 if ${ac_cv_prog_DLLTOOL+:} false; then :
6302 $as_echo_n "(cached) " >&6
6304 if test -n "$DLLTOOL"; then
6305 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 test -z "$as_dir" && as_dir=.
6312 for ac_exec_ext in '' $ac_executable_extensions; do
6313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6314 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6324 DLLTOOL=$ac_cv_prog_DLLTOOL
6325 if test -n "$DLLTOOL"; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6327 $as_echo "$DLLTOOL" >&6; }
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6330 $as_echo "no" >&6; }
6335 if test -z "$ac_cv_prog_DLLTOOL"; then
6336 ac_ct_DLLTOOL=$DLLTOOL
6337 # Extract the first word of "dlltool", so it can be a program name with args.
6338 set dummy dlltool; ac_word=$2
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6340 $as_echo_n "checking for $ac_word... " >&6; }
6341 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6342 $as_echo_n "(cached) " >&6
6344 if test -n "$ac_ct_DLLTOOL"; then
6345 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir=.
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6354 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6364 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6365 if test -n "$ac_ct_DLLTOOL"; then
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6367 $as_echo "$ac_ct_DLLTOOL" >&6; }
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6370 $as_echo "no" >&6; }
6373 if test "x$ac_ct_DLLTOOL" = x; then
6376 case $cross_compiling:$ac_tool_warned in
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6380 ac_tool_warned=yes ;;
6382 DLLTOOL=$ac_ct_DLLTOOL
6385 DLLTOOL="$ac_cv_prog_DLLTOOL"
6388 test -z "$DLLTOOL" && DLLTOOL=dlltool
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6400 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6401 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6402 $as_echo_n "(cached) " >&6
6404 lt_cv_sharedlib_from_linklib_cmd='unknown'
6407 cygwin* | mingw* | pw32* | cegcc*)
6408 # two different shell functions defined in ltmain.sh
6409 # decide which to use based on capabilities of $DLLTOOL
6410 case `$DLLTOOL --help 2>&1` in
6411 *--identify-strict*)
6412 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6415 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6420 # fallback: assume linklib IS sharedlib
6421 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6427 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6428 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6429 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6437 if test -n "$ac_tool_prefix"; then
6440 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6441 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6443 $as_echo_n "checking for $ac_word... " >&6; }
6444 if ${ac_cv_prog_AR+:} false; then :
6445 $as_echo_n "(cached) " >&6
6447 if test -n "$AR"; then
6448 ac_cv_prog_AR="$AR" # Let the user override the test.
6450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454 test -z "$as_dir" && as_dir=.
6455 for ac_exec_ext in '' $ac_executable_extensions; do
6456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6457 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468 if test -n "$AR"; then
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6470 $as_echo "$AR" >&6; }
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6473 $as_echo "no" >&6; }
6477 test -n "$AR" && break
6480 if test -z "$AR"; then
6484 # Extract the first word of "$ac_prog", so it can be a program name with args.
6485 set dummy $ac_prog; ac_word=$2
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6487 $as_echo_n "checking for $ac_word... " >&6; }
6488 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6489 $as_echo_n "(cached) " >&6
6491 if test -n "$ac_ct_AR"; then
6492 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6498 test -z "$as_dir" && as_dir=.
6499 for ac_exec_ext in '' $ac_executable_extensions; do
6500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6501 ac_cv_prog_ac_ct_AR="$ac_prog"
6502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6511 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6512 if test -n "$ac_ct_AR"; then
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6514 $as_echo "$ac_ct_AR" >&6; }
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6517 $as_echo "no" >&6; }
6521 test -n "$ac_ct_AR" && break
6524 if test "x$ac_ct_AR" = x; then
6527 case $cross_compiling:$ac_tool_warned in
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6531 ac_tool_warned=yes ;;
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6551 $as_echo_n "checking for archiver @FILE support... " >&6; }
6552 if ${lt_cv_ar_at_file+:} false; then :
6553 $as_echo_n "(cached) " >&6
6556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6557 /* end confdefs.h. */
6567 if ac_fn_c_try_compile "$LINENO"; then :
6568 echo conftest.$ac_objext > conftest.lst
6569 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6570 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6571 (eval $lt_ar_try) 2>&5
6573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6574 test $ac_status = 0; }
6575 if test "$ac_status" -eq 0; then
6576 # Ensure the archiver fails upon bogus file names.
6577 rm -f conftest.$ac_objext libconftest.a
6578 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6579 (eval $lt_ar_try) 2>&5
6581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6582 test $ac_status = 0; }
6583 if test "$ac_status" -ne 0; then
6587 rm -f conftest.* libconftest.a
6590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6594 $as_echo "$lt_cv_ar_at_file" >&6; }
6596 if test "x$lt_cv_ar_at_file" = xno; then
6599 archiver_list_spec=$lt_cv_ar_at_file
6608 if test -n "$ac_tool_prefix"; then
6609 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6610 set dummy ${ac_tool_prefix}strip; ac_word=$2
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6612 $as_echo_n "checking for $ac_word... " >&6; }
6613 if ${ac_cv_prog_STRIP+:} false; then :
6614 $as_echo_n "(cached) " >&6
6616 if test -n "$STRIP"; then
6617 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6623 test -z "$as_dir" && as_dir=.
6624 for ac_exec_ext in '' $ac_executable_extensions; do
6625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6626 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6636 STRIP=$ac_cv_prog_STRIP
6637 if test -n "$STRIP"; then
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6639 $as_echo "$STRIP" >&6; }
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6642 $as_echo "no" >&6; }
6647 if test -z "$ac_cv_prog_STRIP"; then
6649 # Extract the first word of "strip", so it can be a program name with args.
6650 set dummy strip; ac_word=$2
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6652 $as_echo_n "checking for $ac_word... " >&6; }
6653 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6654 $as_echo_n "(cached) " >&6
6656 if test -n "$ac_ct_STRIP"; then
6657 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6663 test -z "$as_dir" && as_dir=.
6664 for ac_exec_ext in '' $ac_executable_extensions; do
6665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6666 ac_cv_prog_ac_ct_STRIP="strip"
6667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6676 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6677 if test -n "$ac_ct_STRIP"; then
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6679 $as_echo "$ac_ct_STRIP" >&6; }
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6682 $as_echo "no" >&6; }
6685 if test "x$ac_ct_STRIP" = x; then
6688 case $cross_compiling:$ac_tool_warned in
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6692 ac_tool_warned=yes ;;
6697 STRIP="$ac_cv_prog_STRIP"
6700 test -z "$STRIP" && STRIP=:
6707 if test -n "$ac_tool_prefix"; then
6708 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6709 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6711 $as_echo_n "checking for $ac_word... " >&6; }
6712 if ${ac_cv_prog_RANLIB+:} false; then :
6713 $as_echo_n "(cached) " >&6
6715 if test -n "$RANLIB"; then
6716 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 test -z "$as_dir" && as_dir=.
6723 for ac_exec_ext in '' $ac_executable_extensions; do
6724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6725 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6735 RANLIB=$ac_cv_prog_RANLIB
6736 if test -n "$RANLIB"; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6738 $as_echo "$RANLIB" >&6; }
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6741 $as_echo "no" >&6; }
6746 if test -z "$ac_cv_prog_RANLIB"; then
6747 ac_ct_RANLIB=$RANLIB
6748 # Extract the first word of "ranlib", so it can be a program name with args.
6749 set dummy ranlib; ac_word=$2
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6751 $as_echo_n "checking for $ac_word... " >&6; }
6752 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6753 $as_echo_n "(cached) " >&6
6755 if test -n "$ac_ct_RANLIB"; then
6756 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 test -z "$as_dir" && as_dir=.
6763 for ac_exec_ext in '' $ac_executable_extensions; do
6764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6765 ac_cv_prog_ac_ct_RANLIB="ranlib"
6766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6775 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6776 if test -n "$ac_ct_RANLIB"; then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6778 $as_echo "$ac_ct_RANLIB" >&6; }
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6781 $as_echo "no" >&6; }
6784 if test "x$ac_ct_RANLIB" = x; then
6787 case $cross_compiling:$ac_tool_warned in
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6791 ac_tool_warned=yes ;;
6793 RANLIB=$ac_ct_RANLIB
6796 RANLIB="$ac_cv_prog_RANLIB"
6799 test -z "$RANLIB" && RANLIB=:
6806 # Determine commands to create old-style static archives.
6807 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6808 old_postinstall_cmds='chmod 644 $oldlib'
6809 old_postuninstall_cmds=
6811 if test -n "$RANLIB"; then
6814 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6817 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6820 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6825 lock_old_archive_extraction=yes ;;
6827 lock_old_archive_extraction=no ;;
6868 # If no C compiler was specified, use CC.
6871 # If no C compiler flags were specified, use CFLAGS.
6872 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6874 # Allow CC to be a program name with arguments.
6878 # Check for command to grab the raw symbol name followed by C symbol from nm.
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6880 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6881 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6882 $as_echo_n "(cached) " >&6
6885 # These are sane defaults that work on at least a few old systems.
6886 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6888 # Character class describing NM global symbol codes.
6889 symcode='[BCDEGRST]'
6891 # Regexp to match symbols that can be accessed directly from C.
6892 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6894 # Define system-specific variables.
6899 cygwin* | mingw* | pw32* | cegcc*)
6900 symcode='[ABCDGISTW]'
6903 if test "$host_cpu" = ia64; then
6904 symcode='[ABCDEGRST]'
6908 symcode='[BCDEGRST]'
6911 symcode='[BCDEGQRST]'
6922 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6930 # If we're using GNU nm, then use its standard symbol codes.
6931 case `$NM -V 2>&1` in
6932 *GNU* | *'with BFD'*)
6933 symcode='[ABCDGIRSTW]' ;;
6936 # Transform an extracted symbol line into a proper C declaration.
6937 # Some systems (esp. on ia64) link data and code symbols differently,
6938 # so use this general approach.
6939 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6941 # Transform an extracted symbol line into symbol name and symbol address
6942 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6943 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'"
6945 # Handle CRLF in mingw tool chain
6949 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6953 # Try without a prefix underscore, then with it.
6954 for ac_symprfx in "" "_"; do
6956 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6957 symxfrm="\\1 $ac_symprfx\\2 \\2"
6959 # Write the raw and C identifiers.
6960 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6961 # Fake it for dumpbin and say T for any non-static function
6962 # and D for any global variable.
6963 # Also find C++ and __fastcall symbols from MSVC++,
6964 # which start with @ or ?.
6965 lt_cv_sys_global_symbol_pipe="$AWK '"\
6966 " {last_section=section; section=\$ 3};"\
6967 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6968 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6969 " \$ 0!~/External *\|/{next};"\
6970 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6971 " {if(hide[section]) next};"\
6972 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6973 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6974 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6975 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6976 " ' prfx=^$ac_symprfx"
6978 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6980 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6982 # Check to see that the pipe works correctly.
6986 cat > conftest.$ac_ext <<_LT_EOF
6991 void nm_test_func(void);
6992 void nm_test_func(void){}
6996 int main(){nm_test_var='a';nm_test_func();return(0);}
6999 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7000 (eval $ac_compile) 2>&5
7002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7003 test $ac_status = 0; }; then
7004 # Now try to grab the symbols.
7006 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7007 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7010 test $ac_status = 0; } && test -s "$nlist"; then
7011 # Try sorting and uniquifying the output.
7012 if sort "$nlist" | uniq > "$nlist"T; then
7013 mv -f "$nlist"T "$nlist"
7018 # Make sure that we snagged all the symbols we need.
7019 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7020 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7021 cat <<_LT_EOF > conftest.$ac_ext
7022 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7023 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7024 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7025 relocations are performed -- see ld's documentation on pseudo-relocs. */
7026 # define LT_DLSYM_CONST
7027 #elif defined(__osf__)
7028 /* This system does not cope well with relocations in const data. */
7029 # define LT_DLSYM_CONST
7031 # define LT_DLSYM_CONST const
7039 # Now generate the symbol file.
7040 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7042 cat <<_LT_EOF >> conftest.$ac_ext
7044 /* The mapping between symbol names and symbols. */
7045 LT_DLSYM_CONST struct {
7049 lt__PROGRAM__LTX_preloaded_symbols[] =
7051 { "@PROGRAM@", (void *) 0 },
7053 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7054 cat <<\_LT_EOF >> conftest.$ac_ext
7058 /* This works around a problem in FreeBSD linker */
7059 #ifdef FREEBSD_WORKAROUND
7060 static const void *lt_preloaded_setup() {
7061 return lt__PROGRAM__LTX_preloaded_symbols;
7069 # Now try linking the two files.
7070 mv conftest.$ac_objext conftstm.$ac_objext
7071 lt_globsym_save_LIBS=$LIBS
7072 lt_globsym_save_CFLAGS=$CFLAGS
7073 LIBS="conftstm.$ac_objext"
7074 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7075 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7076 (eval $ac_link) 2>&5
7078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7079 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7082 LIBS=$lt_globsym_save_LIBS
7083 CFLAGS=$lt_globsym_save_CFLAGS
7085 echo "cannot find nm_test_func in $nlist" >&5
7088 echo "cannot find nm_test_var in $nlist" >&5
7091 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7094 echo "$progname: failed program was:" >&5
7095 cat conftest.$ac_ext >&5
7097 rm -rf conftest* conftst*
7099 # Do not use the global_symbol_pipe unless it works.
7100 if test "$pipe_works" = yes; then
7103 lt_cv_sys_global_symbol_pipe=
7109 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7110 lt_cv_sys_global_symbol_to_cdecl=
7112 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7114 $as_echo "failed" >&6; }
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7117 $as_echo "ok" >&6; }
7120 # Response file support.
7121 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7122 nm_file_list_spec='@'
7123 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7124 nm_file_list_spec='@'
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7154 $as_echo_n "checking for sysroot... " >&6; }
7156 # Check whether --with-sysroot was given.
7157 if test "${with_sysroot+set}" = set; then :
7158 withval=$with_sysroot;
7165 case ${with_sysroot} in #(
7167 if test "$GCC" = yes; then
7168 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7172 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7178 $as_echo "${with_sysroot}" >&6; }
7179 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7184 $as_echo "${lt_sysroot:-no}" >&6; }
7190 # Check whether --enable-libtool-lock was given.
7191 if test "${enable_libtool_lock+set}" = set; then :
7192 enableval=$enable_libtool_lock;
7195 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7197 # Some flags need to be propagated to the compiler or linker for good
7201 # Find out which ABI we are using.
7202 echo 'int i;' > conftest.$ac_ext
7203 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7204 (eval $ac_compile) 2>&5
7206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7207 test $ac_status = 0; }; then
7208 case `/usr/bin/file conftest.$ac_objext` in
7220 # Find out which ABI we are using.
7221 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7222 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7223 (eval $ac_compile) 2>&5
7225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7226 test $ac_status = 0; }; then
7227 if test "$lt_cv_prog_gnu_ld" = yes; then
7228 case `/usr/bin/file conftest.$ac_objext` in
7230 LD="${LD-ld} -melf32bsmip"
7233 LD="${LD-ld} -melf32bmipn32"
7236 LD="${LD-ld} -melf64bmip"
7240 case `/usr/bin/file conftest.$ac_objext` in
7256 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7257 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7258 # Find out which ABI we are using.
7259 echo 'int i;' > conftest.$ac_ext
7260 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7261 (eval $ac_compile) 2>&5
7263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7264 test $ac_status = 0; }; then
7265 case `/usr/bin/file conftest.o` in
7268 x86_64-*kfreebsd*-gnu)
7269 LD="${LD-ld} -m elf_i386_fbsd"
7272 case `/usr/bin/file conftest.o` in
7274 LD="${LD-ld} -m elf32_x86_64"
7277 LD="${LD-ld} -m elf_i386"
7282 LD="${LD-ld} -m elf32lppclinux"
7285 LD="${LD-ld} -m elf32ppclinux"
7288 LD="${LD-ld} -m elf_s390"
7291 LD="${LD-ld} -m elf32_sparc"
7297 x86_64-*kfreebsd*-gnu)
7298 LD="${LD-ld} -m elf_x86_64_fbsd"
7301 LD="${LD-ld} -m elf_x86_64"
7304 LD="${LD-ld} -m elf64lppc"
7307 LD="${LD-ld} -m elf64ppc"
7309 s390*-*linux*|s390*-*tpf*)
7310 LD="${LD-ld} -m elf64_s390"
7313 LD="${LD-ld} -m elf64_sparc"
7323 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7324 SAVE_CFLAGS="$CFLAGS"
7325 CFLAGS="$CFLAGS -belf"
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7327 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7328 if ${lt_cv_cc_needs_belf+:} false; then :
7329 $as_echo_n "(cached) " >&6
7332 ac_cpp='$CPP $CPPFLAGS'
7333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7338 /* end confdefs.h. */
7348 if ac_fn_c_try_link "$LINENO"; then :
7349 lt_cv_cc_needs_belf=yes
7351 lt_cv_cc_needs_belf=no
7353 rm -f core conftest.err conftest.$ac_objext \
7354 conftest$ac_exeext conftest.$ac_ext
7356 ac_cpp='$CPP $CPPFLAGS'
7357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7363 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7364 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7365 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7366 CFLAGS="$SAVE_CFLAGS"
7370 # Find out which ABI we are using.
7371 echo 'int i;' > conftest.$ac_ext
7372 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7373 (eval $ac_compile) 2>&5
7375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7376 test $ac_status = 0; }; then
7377 case `/usr/bin/file conftest.o` in
7379 case $lt_cv_prog_gnu_ld in
7383 LD="${LD-ld} -m elf_x86_64"
7386 LD="${LD-ld} -m elf64_sparc"
7389 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7390 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7395 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7407 need_locks="$enable_libtool_lock"
7409 if test -n "$ac_tool_prefix"; then
7410 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7411 set dummy ${ac_tool_prefix}mt; ac_word=$2
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7413 $as_echo_n "checking for $ac_word... " >&6; }
7414 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7415 $as_echo_n "(cached) " >&6
7417 if test -n "$MANIFEST_TOOL"; then
7418 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 test -z "$as_dir" && as_dir=.
7425 for ac_exec_ext in '' $ac_executable_extensions; do
7426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7427 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7437 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7438 if test -n "$MANIFEST_TOOL"; then
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7440 $as_echo "$MANIFEST_TOOL" >&6; }
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7443 $as_echo "no" >&6; }
7448 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7449 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7450 # Extract the first word of "mt", so it can be a program name with args.
7451 set dummy mt; ac_word=$2
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7453 $as_echo_n "checking for $ac_word... " >&6; }
7454 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7455 $as_echo_n "(cached) " >&6
7457 if test -n "$ac_ct_MANIFEST_TOOL"; then
7458 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7464 test -z "$as_dir" && as_dir=.
7465 for ac_exec_ext in '' $ac_executable_extensions; do
7466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7467 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7477 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7478 if test -n "$ac_ct_MANIFEST_TOOL"; then
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7480 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7483 $as_echo "no" >&6; }
7486 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7489 case $cross_compiling:$ac_tool_warned in
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7493 ac_tool_warned=yes ;;
7495 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7498 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7501 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7503 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7504 if ${lt_cv_path_mainfest_tool+:} false; then :
7505 $as_echo_n "(cached) " >&6
7507 lt_cv_path_mainfest_tool=no
7508 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7509 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7510 cat conftest.err >&5
7511 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7512 lt_cv_path_mainfest_tool=yes
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7517 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7518 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7528 rhapsody* | darwin*)
7529 if test -n "$ac_tool_prefix"; then
7530 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7531 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7533 $as_echo_n "checking for $ac_word... " >&6; }
7534 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7535 $as_echo_n "(cached) " >&6
7537 if test -n "$DSYMUTIL"; then
7538 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7544 test -z "$as_dir" && as_dir=.
7545 for ac_exec_ext in '' $ac_executable_extensions; do
7546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7547 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7557 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7558 if test -n "$DSYMUTIL"; then
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7560 $as_echo "$DSYMUTIL" >&6; }
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7563 $as_echo "no" >&6; }
7568 if test -z "$ac_cv_prog_DSYMUTIL"; then
7569 ac_ct_DSYMUTIL=$DSYMUTIL
7570 # Extract the first word of "dsymutil", so it can be a program name with args.
7571 set dummy dsymutil; ac_word=$2
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7573 $as_echo_n "checking for $ac_word... " >&6; }
7574 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7575 $as_echo_n "(cached) " >&6
7577 if test -n "$ac_ct_DSYMUTIL"; then
7578 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7584 test -z "$as_dir" && as_dir=.
7585 for ac_exec_ext in '' $ac_executable_extensions; do
7586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7587 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7597 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7598 if test -n "$ac_ct_DSYMUTIL"; then
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7600 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7603 $as_echo "no" >&6; }
7606 if test "x$ac_ct_DSYMUTIL" = x; then
7609 case $cross_compiling:$ac_tool_warned in
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7613 ac_tool_warned=yes ;;
7615 DSYMUTIL=$ac_ct_DSYMUTIL
7618 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7621 if test -n "$ac_tool_prefix"; then
7622 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7623 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7625 $as_echo_n "checking for $ac_word... " >&6; }
7626 if ${ac_cv_prog_NMEDIT+:} false; then :
7627 $as_echo_n "(cached) " >&6
7629 if test -n "$NMEDIT"; then
7630 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 test -z "$as_dir" && as_dir=.
7637 for ac_exec_ext in '' $ac_executable_extensions; do
7638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7639 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7649 NMEDIT=$ac_cv_prog_NMEDIT
7650 if test -n "$NMEDIT"; then
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7652 $as_echo "$NMEDIT" >&6; }
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655 $as_echo "no" >&6; }
7660 if test -z "$ac_cv_prog_NMEDIT"; then
7661 ac_ct_NMEDIT=$NMEDIT
7662 # Extract the first word of "nmedit", so it can be a program name with args.
7663 set dummy nmedit; ac_word=$2
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7665 $as_echo_n "checking for $ac_word... " >&6; }
7666 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7667 $as_echo_n "(cached) " >&6
7669 if test -n "$ac_ct_NMEDIT"; then
7670 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7676 test -z "$as_dir" && as_dir=.
7677 for ac_exec_ext in '' $ac_executable_extensions; do
7678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7679 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7689 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7690 if test -n "$ac_ct_NMEDIT"; then
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7692 $as_echo "$ac_ct_NMEDIT" >&6; }
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7695 $as_echo "no" >&6; }
7698 if test "x$ac_ct_NMEDIT" = x; then
7701 case $cross_compiling:$ac_tool_warned in
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7705 ac_tool_warned=yes ;;
7707 NMEDIT=$ac_ct_NMEDIT
7710 NMEDIT="$ac_cv_prog_NMEDIT"
7713 if test -n "$ac_tool_prefix"; then
7714 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7715 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7717 $as_echo_n "checking for $ac_word... " >&6; }
7718 if ${ac_cv_prog_LIPO+:} false; then :
7719 $as_echo_n "(cached) " >&6
7721 if test -n "$LIPO"; then
7722 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7728 test -z "$as_dir" && as_dir=.
7729 for ac_exec_ext in '' $ac_executable_extensions; do
7730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7731 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7741 LIPO=$ac_cv_prog_LIPO
7742 if test -n "$LIPO"; then
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7744 $as_echo "$LIPO" >&6; }
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7747 $as_echo "no" >&6; }
7752 if test -z "$ac_cv_prog_LIPO"; then
7754 # Extract the first word of "lipo", so it can be a program name with args.
7755 set dummy lipo; ac_word=$2
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7757 $as_echo_n "checking for $ac_word... " >&6; }
7758 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7759 $as_echo_n "(cached) " >&6
7761 if test -n "$ac_ct_LIPO"; then
7762 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7768 test -z "$as_dir" && as_dir=.
7769 for ac_exec_ext in '' $ac_executable_extensions; do
7770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7771 ac_cv_prog_ac_ct_LIPO="lipo"
7772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7781 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7782 if test -n "$ac_ct_LIPO"; then
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7784 $as_echo "$ac_ct_LIPO" >&6; }
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7787 $as_echo "no" >&6; }
7790 if test "x$ac_ct_LIPO" = x; then
7793 case $cross_compiling:$ac_tool_warned in
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7797 ac_tool_warned=yes ;;
7802 LIPO="$ac_cv_prog_LIPO"
7805 if test -n "$ac_tool_prefix"; then
7806 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7807 set dummy ${ac_tool_prefix}otool; ac_word=$2
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7809 $as_echo_n "checking for $ac_word... " >&6; }
7810 if ${ac_cv_prog_OTOOL+:} false; then :
7811 $as_echo_n "(cached) " >&6
7813 if test -n "$OTOOL"; then
7814 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7820 test -z "$as_dir" && as_dir=.
7821 for ac_exec_ext in '' $ac_executable_extensions; do
7822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7823 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7833 OTOOL=$ac_cv_prog_OTOOL
7834 if test -n "$OTOOL"; then
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7836 $as_echo "$OTOOL" >&6; }
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7839 $as_echo "no" >&6; }
7844 if test -z "$ac_cv_prog_OTOOL"; then
7846 # Extract the first word of "otool", so it can be a program name with args.
7847 set dummy otool; ac_word=$2
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7849 $as_echo_n "checking for $ac_word... " >&6; }
7850 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7851 $as_echo_n "(cached) " >&6
7853 if test -n "$ac_ct_OTOOL"; then
7854 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7860 test -z "$as_dir" && as_dir=.
7861 for ac_exec_ext in '' $ac_executable_extensions; do
7862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7863 ac_cv_prog_ac_ct_OTOOL="otool"
7864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7873 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7874 if test -n "$ac_ct_OTOOL"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7876 $as_echo "$ac_ct_OTOOL" >&6; }
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7879 $as_echo "no" >&6; }
7882 if test "x$ac_ct_OTOOL" = x; then
7885 case $cross_compiling:$ac_tool_warned in
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7889 ac_tool_warned=yes ;;
7894 OTOOL="$ac_cv_prog_OTOOL"
7897 if test -n "$ac_tool_prefix"; then
7898 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7899 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7901 $as_echo_n "checking for $ac_word... " >&6; }
7902 if ${ac_cv_prog_OTOOL64+:} false; then :
7903 $as_echo_n "(cached) " >&6
7905 if test -n "$OTOOL64"; then
7906 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7912 test -z "$as_dir" && as_dir=.
7913 for ac_exec_ext in '' $ac_executable_extensions; do
7914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7915 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7925 OTOOL64=$ac_cv_prog_OTOOL64
7926 if test -n "$OTOOL64"; then
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7928 $as_echo "$OTOOL64" >&6; }
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7931 $as_echo "no" >&6; }
7936 if test -z "$ac_cv_prog_OTOOL64"; then
7937 ac_ct_OTOOL64=$OTOOL64
7938 # Extract the first word of "otool64", so it can be a program name with args.
7939 set dummy otool64; ac_word=$2
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7941 $as_echo_n "checking for $ac_word... " >&6; }
7942 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7943 $as_echo_n "(cached) " >&6
7945 if test -n "$ac_ct_OTOOL64"; then
7946 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7952 test -z "$as_dir" && as_dir=.
7953 for ac_exec_ext in '' $ac_executable_extensions; do
7954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7955 ac_cv_prog_ac_ct_OTOOL64="otool64"
7956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7965 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7966 if test -n "$ac_ct_OTOOL64"; then
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7968 $as_echo "$ac_ct_OTOOL64" >&6; }
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7971 $as_echo "no" >&6; }
7974 if test "x$ac_ct_OTOOL64" = x; then
7977 case $cross_compiling:$ac_tool_warned in
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7981 ac_tool_warned=yes ;;
7983 OTOOL64=$ac_ct_OTOOL64
7986 OTOOL64="$ac_cv_prog_OTOOL64"
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8016 $as_echo_n "checking for -single_module linker flag... " >&6; }
8017 if ${lt_cv_apple_cc_single_mod+:} false; then :
8018 $as_echo_n "(cached) " >&6
8020 lt_cv_apple_cc_single_mod=no
8021 if test -z "${LT_MULTI_MODULE}"; then
8022 # By default we will add the -single_module flag. You can override
8023 # by either setting the environment variable LT_MULTI_MODULE
8024 # non-empty at configure time, or by adding -multi_module to the
8026 rm -rf libconftest.dylib*
8027 echo "int foo(void){return 1;}" > conftest.c
8028 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8029 -dynamiclib -Wl,-single_module conftest.c" >&5
8030 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8031 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8033 # If there is a non-empty error log, and "single_module"
8034 # appears in it, assume the flag caused a linker warning
8035 if test -s conftest.err && $GREP single_module conftest.err; then
8036 cat conftest.err >&5
8037 # Otherwise, if the output was created with a 0 exit code from
8038 # the compiler, it worked.
8039 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8040 lt_cv_apple_cc_single_mod=yes
8042 cat conftest.err >&5
8044 rm -rf libconftest.dylib*
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8049 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8052 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8053 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8054 $as_echo_n "(cached) " >&6
8056 lt_cv_ld_exported_symbols_list=no
8057 save_LDFLAGS=$LDFLAGS
8058 echo "_main" > conftest.sym
8059 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8061 /* end confdefs.h. */
8071 if ac_fn_c_try_link "$LINENO"; then :
8072 lt_cv_ld_exported_symbols_list=yes
8074 lt_cv_ld_exported_symbols_list=no
8076 rm -f core conftest.err conftest.$ac_objext \
8077 conftest$ac_exeext conftest.$ac_ext
8078 LDFLAGS="$save_LDFLAGS"
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8082 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8085 $as_echo_n "checking for -force_load linker flag... " >&6; }
8086 if ${lt_cv_ld_force_load+:} false; then :
8087 $as_echo_n "(cached) " >&6
8089 lt_cv_ld_force_load=no
8090 cat > conftest.c << _LT_EOF
8091 int forced_loaded() { return 2;}
8093 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8094 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8095 echo "$AR cru libconftest.a conftest.o" >&5
8096 $AR cru libconftest.a conftest.o 2>&5
8097 echo "$RANLIB libconftest.a" >&5
8098 $RANLIB libconftest.a 2>&5
8099 cat > conftest.c << _LT_EOF
8100 int main() { return 0;}
8102 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8103 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8105 if test -s conftest.err && $GREP force_load conftest.err; then
8106 cat conftest.err >&5
8107 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8108 lt_cv_ld_force_load=yes
8110 cat conftest.err >&5
8112 rm -f conftest.err libconftest.a conftest conftest.c
8113 rm -rf conftest.dSYM
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8117 $as_echo "$lt_cv_ld_force_load" >&6; }
8119 rhapsody* | darwin1.[012])
8120 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8122 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8123 darwin*) # darwin 5.x on
8124 # if running on 10.5 or later, the deployment target defaults
8125 # to the OS version, if on x86, and 10.4, the deployment
8126 # target defaults to 10.4. Don't you love it?
8127 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8128 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8129 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8131 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8133 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8137 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8138 _lt_dar_single_mod='$single_module'
8140 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8141 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8143 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8145 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8146 _lt_dsymutil='~$DSYMUTIL $lib || :'
8154 ac_cpp='$CPP $CPPFLAGS'
8155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8159 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8160 # On Suns, sometimes $CPP names a directory.
8161 if test -n "$CPP" && test -d "$CPP"; then
8164 if test -z "$CPP"; then
8165 if ${ac_cv_prog_CPP+:} false; then :
8166 $as_echo_n "(cached) " >&6
8168 # Double quotes because CPP needs to be expanded
8169 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8172 for ac_c_preproc_warn_flag in '' yes
8174 # Use a header file that comes with gcc, so configuring glibc
8175 # with a fresh cross-compiler works.
8176 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8177 # <limits.h> exists even on freestanding compilers.
8178 # On the NeXT, cc -E runs the code through the compiler's parser,
8179 # not just through cpp. "Syntax error" is here to catch this case.
8180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8181 /* end confdefs.h. */
8183 # include <limits.h>
8185 # include <assert.h>
8189 if ac_fn_c_try_cpp "$LINENO"; then :
8192 # Broken: fails on valid input.
8195 rm -f conftest.err conftest.i conftest.$ac_ext
8197 # OK, works on sane cases. Now check whether nonexistent headers
8198 # can be detected and how.
8199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8200 /* end confdefs.h. */
8201 #include <ac_nonexistent.h>
8203 if ac_fn_c_try_cpp "$LINENO"; then :
8204 # Broken: success on invalid input.
8207 # Passes both tests.
8211 rm -f conftest.err conftest.i conftest.$ac_ext
8214 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8215 rm -f conftest.i conftest.err conftest.$ac_ext
8216 if $ac_preproc_ok; then :
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8229 $as_echo "$CPP" >&6; }
8231 for ac_c_preproc_warn_flag in '' yes
8233 # Use a header file that comes with gcc, so configuring glibc
8234 # with a fresh cross-compiler works.
8235 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8236 # <limits.h> exists even on freestanding compilers.
8237 # On the NeXT, cc -E runs the code through the compiler's parser,
8238 # not just through cpp. "Syntax error" is here to catch this case.
8239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8240 /* end confdefs.h. */
8242 # include <limits.h>
8244 # include <assert.h>
8248 if ac_fn_c_try_cpp "$LINENO"; then :
8251 # Broken: fails on valid input.
8254 rm -f conftest.err conftest.i conftest.$ac_ext
8256 # OK, works on sane cases. Now check whether nonexistent headers
8257 # can be detected and how.
8258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8259 /* end confdefs.h. */
8260 #include <ac_nonexistent.h>
8262 if ac_fn_c_try_cpp "$LINENO"; then :
8263 # Broken: success on invalid input.
8266 # Passes both tests.
8270 rm -f conftest.err conftest.i conftest.$ac_ext
8273 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8274 rm -f conftest.i conftest.err conftest.$ac_ext
8275 if $ac_preproc_ok; then :
8278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8280 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8281 See \`config.log' for more details" "$LINENO" 5; }
8285 ac_cpp='$CPP $CPPFLAGS'
8286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8292 $as_echo_n "checking for ANSI C header files... " >&6; }
8293 if ${ac_cv_header_stdc+:} false; then :
8294 $as_echo_n "(cached) " >&6
8296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8297 /* end confdefs.h. */
8311 if ac_fn_c_try_compile "$LINENO"; then :
8312 ac_cv_header_stdc=yes
8314 ac_cv_header_stdc=no
8316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8318 if test $ac_cv_header_stdc = yes; then
8319 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8321 /* end confdefs.h. */
8325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8326 $EGREP "memchr" >/dev/null 2>&1; then :
8329 ac_cv_header_stdc=no
8335 if test $ac_cv_header_stdc = yes; then
8336 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8338 /* end confdefs.h. */
8342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8343 $EGREP "free" >/dev/null 2>&1; then :
8346 ac_cv_header_stdc=no
8352 if test $ac_cv_header_stdc = yes; then
8353 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8354 if test "$cross_compiling" = yes; then :
8357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8358 /* end confdefs.h. */
8361 #if ((' ' & 0x0FF) == 0x020)
8362 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8363 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8365 # define ISLOWER(c) \
8366 (('a' <= (c) && (c) <= 'i') \
8367 || ('j' <= (c) && (c) <= 'r') \
8368 || ('s' <= (c) && (c) <= 'z'))
8369 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8372 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8377 for (i = 0; i < 256; i++)
8378 if (XOR (islower (i), ISLOWER (i))
8379 || toupper (i) != TOUPPER (i))
8384 if ac_fn_c_try_run "$LINENO"; then :
8387 ac_cv_header_stdc=no
8389 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8390 conftest.$ac_objext conftest.beam conftest.$ac_ext
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8396 $as_echo "$ac_cv_header_stdc" >&6; }
8397 if test $ac_cv_header_stdc = yes; then
8399 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8403 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8404 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8405 inttypes.h stdint.h unistd.h
8407 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8408 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8410 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8411 cat >>confdefs.h <<_ACEOF
8412 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8420 for ac_header in dlfcn.h
8422 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8424 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8425 cat >>confdefs.h <<_ACEOF
8426 #define HAVE_DLFCN_H 1
8438 # Check whether --enable-static was given.
8439 if test "${enable_static+set}" = set; then :
8440 enableval=$enable_static; p=${PACKAGE-default}
8442 yes) enable_static=yes ;;
8443 no) enable_static=no ;;
8446 # Look at the argument we got. We use all the common list separators.
8447 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8448 for pkg in $enableval; do
8450 if test "X$pkg" = "X$p"; then
8476 # Check whether --enable-shared was given.
8477 if test "${enable_shared+set}" = set; then :
8478 enableval=$enable_shared; p=${PACKAGE-default}
8480 yes) enable_shared=yes ;;
8481 no) enable_shared=no ;;
8484 # Look at the argument we got. We use all the common list separators.
8485 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8486 for pkg in $enableval; do
8488 if test "X$pkg" = "X$p"; then
8509 # Check whether --with-pic was given.
8510 if test "${with_pic+set}" = set; then :
8511 withval=$with_pic; lt_p=${PACKAGE-default}
8513 yes|no) pic_mode=$withval ;;
8516 # Look at the argument we got. We use all the common list separators.
8517 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8518 for lt_pkg in $withval; do
8520 if test "X$lt_pkg" = "X$lt_p"; then
8532 test -z "$pic_mode" && pic_mode=default
8540 # Check whether --enable-fast-install was given.
8541 if test "${enable_fast_install+set}" = set; then :
8542 enableval=$enable_fast_install; p=${PACKAGE-default}
8544 yes) enable_fast_install=yes ;;
8545 no) enable_fast_install=no ;;
8547 enable_fast_install=no
8548 # Look at the argument we got. We use all the common list separators.
8549 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8550 for pkg in $enableval; do
8552 if test "X$pkg" = "X$p"; then
8553 enable_fast_install=yes
8560 enable_fast_install=yes
8573 # This can be used to rebuild libtool when needed
8574 LIBTOOL_DEPS="$ltmain"
8576 # Always use our own libtool.
8577 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8608 test -z "$LN_S" && LN_S="ln -s"
8623 if test -n "${ZSH_VERSION+set}" ; then
8624 setopt NO_GLOB_SUBST
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8628 $as_echo_n "checking for objdir... " >&6; }
8629 if ${lt_cv_objdir+:} false; then :
8630 $as_echo_n "(cached) " >&6
8632 rm -f .libs 2>/dev/null
8633 mkdir .libs 2>/dev/null
8634 if test -d .libs; then
8637 # MS-DOS does not allow filenames that begin with a dot.
8640 rmdir .libs 2>/dev/null
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8643 $as_echo "$lt_cv_objdir" >&6; }
8644 objdir=$lt_cv_objdir
8650 cat >>confdefs.h <<_ACEOF
8651 #define LT_OBJDIR "$lt_cv_objdir/"
8659 # AIX sometimes has problems with the GCC collect2 program. For some
8660 # reason, if we set the COLLECT_NAMES environment variable, the problems
8661 # vanish in a puff of smoke.
8662 if test "X${COLLECT_NAMES+set}" != Xset; then
8664 export COLLECT_NAMES
8671 can_build_shared=yes
8673 # All known linkers require a `.a' archive for static linking (except MSVC,
8674 # which needs '.lib').
8677 with_gnu_ld="$lt_cv_prog_gnu_ld"
8680 old_CFLAGS="$CFLAGS"
8682 # Set sane defaults for various variables
8683 test -z "$CC" && CC=cc
8684 test -z "$LTCC" && LTCC=$CC
8685 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8686 test -z "$LD" && LD=ld
8687 test -z "$ac_objext" && ac_objext=o
8689 for cc_temp in $compiler""; do
8691 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8692 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8697 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8700 # Only perform the check for file, if the check method requires it
8701 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8702 case $deplibs_check_method in
8704 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8706 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8707 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8708 $as_echo_n "(cached) " >&6
8712 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8715 lt_save_MAGIC_CMD="$MAGIC_CMD"
8716 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8717 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8718 for ac_dir in $ac_dummy; do
8720 test -z "$ac_dir" && ac_dir=.
8721 if test -f $ac_dir/${ac_tool_prefix}file; then
8722 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8723 if test -n "$file_magic_test_file"; then
8724 case $deplibs_check_method in
8726 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8727 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8728 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8729 $EGREP "$file_magic_regex" > /dev/null; then
8734 *** Warning: the command libtool uses to detect shared libraries,
8735 *** $file_magic_cmd, produces output that libtool cannot recognize.
8736 *** The result is that libtool may fail to recognize shared libraries
8737 *** as such. This will affect the creation of libtool libraries that
8738 *** depend on shared libraries, but programs linked with such libtool
8739 *** libraries will work regardless of this problem. Nevertheless, you
8740 *** may want to report the problem to your system manager and/or to
8741 *** bug-libtool@gnu.org
8751 MAGIC_CMD="$lt_save_MAGIC_CMD"
8756 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8757 if test -n "$MAGIC_CMD"; then
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8759 $as_echo "$MAGIC_CMD" >&6; }
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8762 $as_echo "no" >&6; }
8769 if test -z "$lt_cv_path_MAGIC_CMD"; then
8770 if test -n "$ac_tool_prefix"; then
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8772 $as_echo_n "checking for file... " >&6; }
8773 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8774 $as_echo_n "(cached) " >&6
8778 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8781 lt_save_MAGIC_CMD="$MAGIC_CMD"
8782 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8783 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8784 for ac_dir in $ac_dummy; do
8786 test -z "$ac_dir" && ac_dir=.
8787 if test -f $ac_dir/file; then
8788 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8789 if test -n "$file_magic_test_file"; then
8790 case $deplibs_check_method in
8792 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8793 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8794 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8795 $EGREP "$file_magic_regex" > /dev/null; then
8800 *** Warning: the command libtool uses to detect shared libraries,
8801 *** $file_magic_cmd, produces output that libtool cannot recognize.
8802 *** The result is that libtool may fail to recognize shared libraries
8803 *** as such. This will affect the creation of libtool libraries that
8804 *** depend on shared libraries, but programs linked with such libtool
8805 *** libraries will work regardless of this problem. Nevertheless, you
8806 *** may want to report the problem to your system manager and/or to
8807 *** bug-libtool@gnu.org
8817 MAGIC_CMD="$lt_save_MAGIC_CMD"
8822 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8823 if test -n "$MAGIC_CMD"; then
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8825 $as_echo "$MAGIC_CMD" >&6; }
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8828 $as_echo "no" >&6; }
8841 # Use C for the default configuration in the libtool script
8845 ac_cpp='$CPP $CPPFLAGS'
8846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8851 # Source file extension for C test sources.
8854 # Object file extension for compiled C test sources.
8858 # Code to be used in simple compile tests
8859 lt_simple_compile_test_code="int some_variable = 0;"
8861 # Code to be used in simple link tests
8862 lt_simple_link_test_code='int main(){return(0);}'
8870 # If no C compiler was specified, use CC.
8873 # If no C compiler flags were specified, use CFLAGS.
8874 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8876 # Allow CC to be a program name with arguments.
8879 # Save the default compiler, since it gets overwritten when the other
8880 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8881 compiler_DEFAULT=$CC
8883 # save warnings/boilerplate of simple test code
8884 ac_outfile=conftest.$ac_objext
8885 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8886 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8887 _lt_compiler_boilerplate=`cat conftest.err`
8890 ac_outfile=conftest.$ac_objext
8891 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8892 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8893 _lt_linker_boilerplate=`cat conftest.err`
8898 ## There is no encapsulation within the following macros, do not change
8899 ## the running order or otherwise move them around unless you know exactly
8900 ## what you are doing...
8901 if test -n "$compiler"; then
8903 lt_prog_compiler_no_builtin_flag=
8905 if test "$GCC" = yes; then
8906 case $cc_basename in
8908 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8910 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8914 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8915 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8916 $as_echo_n "(cached) " >&6
8918 lt_cv_prog_compiler_rtti_exceptions=no
8919 ac_outfile=conftest.$ac_objext
8920 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8921 lt_compiler_flag="-fno-rtti -fno-exceptions"
8922 # Insert the option either (1) after the last *FLAGS variable, or
8923 # (2) before a word containing "conftest.", or (3) at the end.
8924 # Note that $ac_compile itself does not contain backslashes and begins
8925 # with a dollar sign (not a hyphen), so the echo should work correctly.
8926 # The option is referenced via a variable to avoid confusing sed.
8927 lt_compile=`echo "$ac_compile" | $SED \
8928 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8929 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8930 -e 's:$: $lt_compiler_flag:'`
8931 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8932 (eval "$lt_compile" 2>conftest.err)
8934 cat conftest.err >&5
8935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8936 if (exit $ac_status) && test -s "$ac_outfile"; then
8937 # The compiler can only warn and ignore the option if not recognized
8938 # So say no if there are warnings other than the usual output.
8939 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8940 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8941 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8942 lt_cv_prog_compiler_rtti_exceptions=yes
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8949 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8951 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8952 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8964 lt_prog_compiler_wl=
8965 lt_prog_compiler_pic=
8966 lt_prog_compiler_static=
8969 if test "$GCC" = yes; then
8970 lt_prog_compiler_wl='-Wl,'
8971 lt_prog_compiler_static='-static'
8975 # All AIX code is PIC.
8976 if test "$host_cpu" = ia64; then
8977 # AIX 5 now supports IA64 processor
8978 lt_prog_compiler_static='-Bstatic'
8985 # see comment about AmigaOS4 .so support
8986 lt_prog_compiler_pic='-fPIC'
8989 # FIXME: we need at least 68020 code to build shared libraries, but
8990 # adding the `-m68020' flag to GCC prevents building anything better,
8992 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8997 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8998 # PIC is the default for these OSes.
9001 mingw* | cygwin* | pw32* | os2* | cegcc*)
9002 # This hack is so that the source file can tell whether it is being
9003 # built for inclusion in a dll (and should export symbols for example).
9004 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9005 # (--disable-auto-import) libraries
9006 lt_prog_compiler_pic='-DDLL_EXPORT'
9009 darwin* | rhapsody*)
9010 # PIC is the default on this platform
9011 # Common symbols not allowed in MH_DYLIB files
9012 lt_prog_compiler_pic='-fno-common'
9016 # PIC is the default for Haiku.
9017 # The "-static" flag exists, but is broken.
9018 lt_prog_compiler_static=
9022 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9023 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9024 # sets the default TLS model and affects inlining.
9030 lt_prog_compiler_pic='-fPIC'
9036 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9037 # Instead, we relocate shared libraries at runtime.
9041 # Just because we use GCC doesn't mean we suddenly get shared libraries
9042 # on systems that don't support them.
9043 lt_prog_compiler_can_build_shared=no
9048 # QNX uses GNU C++, but need to define -shared option too, otherwise
9050 lt_prog_compiler_pic='-fPIC -shared'
9054 if test -d /usr/nec; then
9055 lt_prog_compiler_pic=-Kconform_pic
9060 lt_prog_compiler_pic='-fPIC'
9064 case $cc_basename in
9065 nvcc*) # Cuda Compiler Driver 2.2
9066 lt_prog_compiler_wl='-Xlinker '
9067 if test -n "$lt_prog_compiler_pic"; then
9068 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9073 # PORTME Check for flag to pass linker flags through the system compiler.
9076 lt_prog_compiler_wl='-Wl,'
9077 if test "$host_cpu" = ia64; then
9078 # AIX 5 now supports IA64 processor
9079 lt_prog_compiler_static='-Bstatic'
9081 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9085 mingw* | cygwin* | pw32* | os2* | cegcc*)
9086 # This hack is so that the source file can tell whether it is being
9087 # built for inclusion in a dll (and should export symbols for example).
9088 lt_prog_compiler_pic='-DDLL_EXPORT'
9091 hpux9* | hpux10* | hpux11*)
9092 lt_prog_compiler_wl='-Wl,'
9093 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9100 lt_prog_compiler_pic='+Z'
9103 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9104 lt_prog_compiler_static='${wl}-a ${wl}archive'
9107 irix5* | irix6* | nonstopux*)
9108 lt_prog_compiler_wl='-Wl,'
9109 # PIC (with -KPIC) is the default.
9110 lt_prog_compiler_static='-non_shared'
9113 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9114 case $cc_basename in
9115 # old Intel for x86_64 which still supported -KPIC.
9117 lt_prog_compiler_wl='-Wl,'
9118 lt_prog_compiler_pic='-KPIC'
9119 lt_prog_compiler_static='-static'
9121 # icc used to be incompatible with GCC.
9122 # ICC 10 doesn't accept -KPIC any more.
9124 lt_prog_compiler_wl='-Wl,'
9125 lt_prog_compiler_pic='-fPIC'
9126 lt_prog_compiler_static='-static'
9128 # Lahey Fortran 8.1.
9130 lt_prog_compiler_wl='-Wl,'
9131 lt_prog_compiler_pic='--shared'
9132 lt_prog_compiler_static='--static'
9135 # NAG Fortran compiler
9136 lt_prog_compiler_wl='-Wl,-Wl,,'
9137 lt_prog_compiler_pic='-PIC'
9138 lt_prog_compiler_static='-Bstatic'
9140 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9141 # Portland Group compilers (*not* the Pentium gcc compiler,
9142 # which looks to be a dead project)
9143 lt_prog_compiler_wl='-Wl,'
9144 lt_prog_compiler_pic='-fpic'
9145 lt_prog_compiler_static='-Bstatic'
9148 lt_prog_compiler_wl='-Wl,'
9149 # All Alpha code is PIC.
9150 lt_prog_compiler_static='-non_shared'
9152 xl* | bgxl* | bgf* | mpixl*)
9153 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9154 lt_prog_compiler_wl='-Wl,'
9155 lt_prog_compiler_pic='-qpic'
9156 lt_prog_compiler_static='-qstaticlink'
9159 case `$CC -V 2>&1 | sed 5q` in
9160 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9161 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9162 lt_prog_compiler_pic='-KPIC'
9163 lt_prog_compiler_static='-Bstatic'
9164 lt_prog_compiler_wl=''
9166 *Sun\ F* | *Sun*Fortran*)
9167 lt_prog_compiler_pic='-KPIC'
9168 lt_prog_compiler_static='-Bstatic'
9169 lt_prog_compiler_wl='-Qoption ld '
9173 lt_prog_compiler_pic='-KPIC'
9174 lt_prog_compiler_static='-Bstatic'
9175 lt_prog_compiler_wl='-Wl,'
9177 *Intel*\ [CF]*Compiler*)
9178 lt_prog_compiler_wl='-Wl,'
9179 lt_prog_compiler_pic='-fPIC'
9180 lt_prog_compiler_static='-static'
9183 lt_prog_compiler_wl='-Wl,'
9184 lt_prog_compiler_pic='-fpic'
9185 lt_prog_compiler_static='-Bstatic'
9193 lt_prog_compiler_pic='-KPIC'
9194 lt_prog_compiler_static='-Bstatic'
9198 # QNX uses GNU C++, but need to define -shared option too, otherwise
9200 lt_prog_compiler_pic='-fPIC -shared'
9203 osf3* | osf4* | osf5*)
9204 lt_prog_compiler_wl='-Wl,'
9205 # All OSF/1 code is PIC.
9206 lt_prog_compiler_static='-non_shared'
9210 lt_prog_compiler_static='-non_shared'
9214 lt_prog_compiler_pic='-KPIC'
9215 lt_prog_compiler_static='-Bstatic'
9216 case $cc_basename in
9217 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9218 lt_prog_compiler_wl='-Qoption ld ';;
9220 lt_prog_compiler_wl='-Wl,';;
9225 lt_prog_compiler_wl='-Qoption ld '
9226 lt_prog_compiler_pic='-PIC'
9227 lt_prog_compiler_static='-Bstatic'
9230 sysv4 | sysv4.2uw2* | sysv4.3*)
9231 lt_prog_compiler_wl='-Wl,'
9232 lt_prog_compiler_pic='-KPIC'
9233 lt_prog_compiler_static='-Bstatic'
9237 if test -d /usr/nec ;then
9238 lt_prog_compiler_pic='-Kconform_pic'
9239 lt_prog_compiler_static='-Bstatic'
9243 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9244 lt_prog_compiler_wl='-Wl,'
9245 lt_prog_compiler_pic='-KPIC'
9246 lt_prog_compiler_static='-Bstatic'
9250 lt_prog_compiler_wl='-Wl,'
9251 lt_prog_compiler_can_build_shared=no
9255 lt_prog_compiler_pic='-pic'
9256 lt_prog_compiler_static='-Bstatic'
9260 lt_prog_compiler_can_build_shared=no
9266 # For platforms which do not support PIC, -DPIC is meaningless:
9268 lt_prog_compiler_pic=
9271 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9276 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9277 if ${lt_cv_prog_compiler_pic+:} false; then :
9278 $as_echo_n "(cached) " >&6
9280 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9283 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9284 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9287 # Check to make sure the PIC flag actually works.
9289 if test -n "$lt_prog_compiler_pic"; then
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9291 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9292 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9293 $as_echo_n "(cached) " >&6
9295 lt_cv_prog_compiler_pic_works=no
9296 ac_outfile=conftest.$ac_objext
9297 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9298 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9299 # Insert the option either (1) after the last *FLAGS variable, or
9300 # (2) before a word containing "conftest.", or (3) at the end.
9301 # Note that $ac_compile itself does not contain backslashes and begins
9302 # with a dollar sign (not a hyphen), so the echo should work correctly.
9303 # The option is referenced via a variable to avoid confusing sed.
9304 lt_compile=`echo "$ac_compile" | $SED \
9305 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9306 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9307 -e 's:$: $lt_compiler_flag:'`
9308 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9309 (eval "$lt_compile" 2>conftest.err)
9311 cat conftest.err >&5
9312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 if (exit $ac_status) && test -s "$ac_outfile"; then
9314 # The compiler can only warn and ignore the option if not recognized
9315 # So say no if there are warnings other than the usual output.
9316 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9317 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9318 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9319 lt_cv_prog_compiler_pic_works=yes
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9326 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9328 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9329 case $lt_prog_compiler_pic in
9331 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9334 lt_prog_compiler_pic=
9335 lt_prog_compiler_can_build_shared=no
9351 # Check to make sure the static flag actually works.
9353 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9355 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9356 if ${lt_cv_prog_compiler_static_works+:} false; then :
9357 $as_echo_n "(cached) " >&6
9359 lt_cv_prog_compiler_static_works=no
9360 save_LDFLAGS="$LDFLAGS"
9361 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9362 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9363 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9364 # The linker can only warn and ignore the option if not recognized
9365 # So say no if there are warnings
9366 if test -s conftest.err; then
9367 # Append any errors to the config.log.
9368 cat conftest.err 1>&5
9369 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9370 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9371 if diff conftest.exp conftest.er2 >/dev/null; then
9372 lt_cv_prog_compiler_static_works=yes
9375 lt_cv_prog_compiler_static_works=yes
9379 LDFLAGS="$save_LDFLAGS"
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9383 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9385 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9388 lt_prog_compiler_static=
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9398 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9399 if ${lt_cv_prog_compiler_c_o+:} false; then :
9400 $as_echo_n "(cached) " >&6
9402 lt_cv_prog_compiler_c_o=no
9403 $RM -r conftest 2>/dev/null
9407 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9409 lt_compiler_flag="-o out/conftest2.$ac_objext"
9410 # Insert the option either (1) after the last *FLAGS variable, or
9411 # (2) before a word containing "conftest.", or (3) at the end.
9412 # Note that $ac_compile itself does not contain backslashes and begins
9413 # with a dollar sign (not a hyphen), so the echo should work correctly.
9414 lt_compile=`echo "$ac_compile" | $SED \
9415 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9416 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9417 -e 's:$: $lt_compiler_flag:'`
9418 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9419 (eval "$lt_compile" 2>out/conftest.err)
9421 cat out/conftest.err >&5
9422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9425 # The compiler can only warn and ignore the option if not recognized
9426 # So say no if there are warnings
9427 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9428 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9429 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9430 lt_cv_prog_compiler_c_o=yes
9435 # SGI C++ compiler will create directory out/ii_files/ for
9436 # template instantiation
9437 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9438 $RM out/* && rmdir out
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9445 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9453 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9454 if ${lt_cv_prog_compiler_c_o+:} false; then :
9455 $as_echo_n "(cached) " >&6
9457 lt_cv_prog_compiler_c_o=no
9458 $RM -r conftest 2>/dev/null
9462 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9464 lt_compiler_flag="-o out/conftest2.$ac_objext"
9465 # Insert the option either (1) after the last *FLAGS variable, or
9466 # (2) before a word containing "conftest.", or (3) at the end.
9467 # Note that $ac_compile itself does not contain backslashes and begins
9468 # with a dollar sign (not a hyphen), so the echo should work correctly.
9469 lt_compile=`echo "$ac_compile" | $SED \
9470 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9471 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9472 -e 's:$: $lt_compiler_flag:'`
9473 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9474 (eval "$lt_compile" 2>out/conftest.err)
9476 cat out/conftest.err >&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9480 # The compiler can only warn and ignore the option if not recognized
9481 # So say no if there are warnings
9482 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9483 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9484 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9485 lt_cv_prog_compiler_c_o=yes
9490 # SGI C++ compiler will create directory out/ii_files/ for
9491 # template instantiation
9492 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9493 $RM out/* && rmdir out
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9500 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9505 hard_links="nottested"
9506 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9507 # do not overwrite the value of need_locks provided by the user
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9509 $as_echo_n "checking if we can lock with hard links... " >&6; }
9512 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9514 ln conftest.a conftest.b 2>&5 || hard_links=no
9515 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9517 $as_echo "$hard_links" >&6; }
9518 if test "$hard_links" = no; then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9520 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9533 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9536 allow_undefined_flag=
9537 always_export_symbols=no
9539 archive_expsym_cmds=
9540 compiler_needs_object=no
9541 enable_shared_with_static_runtimes=no
9542 export_dynamic_flag_spec=
9543 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9544 hardcode_automatic=no
9546 hardcode_direct_absolute=no
9547 hardcode_libdir_flag_spec=
9548 hardcode_libdir_separator=
9550 hardcode_shlibpath_var=unsupported
9552 link_all_deplibs=unknown
9555 old_archive_from_new_cmds=
9556 old_archive_from_expsyms_cmds=
9557 thread_safe_flag_spec=
9558 whole_archive_flag_spec=
9559 # include_expsyms should be a list of space-separated symbols to be *always*
9560 # included in the symbol list
9562 # exclude_expsyms can be an extended regexp of symbols to exclude
9563 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9564 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9565 # as well as any symbol that contains `d'.
9566 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9567 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9568 # platforms (ab)use it in PIC code, but their linkers get confused if
9569 # the symbol is explicitly referenced. Since portable code cannot
9570 # rely on this symbol name, it's probably fine to never include it in
9571 # preloaded symbol tables.
9572 # Exclude shared library initialization/finalization symbols.
9573 extract_expsyms_cmds=
9576 cygwin* | mingw* | pw32* | cegcc*)
9577 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9578 # When not using gcc, we currently assume that we are using
9579 # Microsoft Visual C++.
9580 if test "$GCC" != yes; then
9585 # we just hope/assume this is gcc and not c89 (= MSVC++)
9591 linux* | k*bsd*-gnu | gnu*)
9598 # On some targets, GNU ld is compatible enough with the native linker
9599 # that we're better off using the native interface for both.
9600 lt_use_gnu_ld_interface=no
9601 if test "$with_gnu_ld" = yes; then
9604 # The AIX port of GNU ld has always aspired to compatibility
9605 # with the native linker. However, as the warning in the GNU ld
9606 # block says, versions before 2.19.5* couldn't really create working
9607 # shared libraries, regardless of the interface used.
9608 case `$LD -v 2>&1` in
9609 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9610 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9611 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9613 lt_use_gnu_ld_interface=yes
9618 lt_use_gnu_ld_interface=yes
9623 if test "$lt_use_gnu_ld_interface" = yes; then
9624 # If archive_cmds runs LD, not CC, wlarc should be empty
9627 # Set some defaults for GNU ld with shared library support. These
9628 # are reset later if shared libraries are not supported. Putting them
9629 # here allows them to be overridden if necessary.
9630 runpath_var=LD_RUN_PATH
9631 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9632 export_dynamic_flag_spec='${wl}--export-dynamic'
9633 # ancient GNU ld didn't support --whole-archive et. al.
9634 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9635 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9637 whole_archive_flag_spec=
9639 supports_anon_versioning=no
9640 case `$LD -v 2>&1` in
9641 *GNU\ gold*) supports_anon_versioning=yes ;;
9642 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9643 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9644 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9645 *\ 2.11.*) ;; # other 2.11 versions
9646 *) supports_anon_versioning=yes ;;
9649 # See if GNU ld supports shared libraries.
9652 # On AIX/PPC, the GNU linker is very broken
9653 if test "$host_cpu" != ia64; then
9657 *** Warning: the GNU linker, at least up to release 2.19, is reported
9658 *** to be unable to reliably create shared libraries on AIX.
9659 *** Therefore, libtool is disabling shared libraries support. If you
9660 *** really care for shared libraries, you may want to install binutils
9661 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9662 *** You will then need to restart the configuration process.
9671 # see comment about AmigaOS4 .so support
9672 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9673 archive_expsym_cmds=''
9676 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)'
9677 hardcode_libdir_flag_spec='-L$libdir'
9678 hardcode_minus_L=yes
9684 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9685 allow_undefined_flag=unsupported
9686 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9687 # support --undefined. This deserves some investigation. FIXME
9688 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9694 cygwin* | mingw* | pw32* | cegcc*)
9695 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9696 # as there is no search path for DLLs.
9697 hardcode_libdir_flag_spec='-L$libdir'
9698 export_dynamic_flag_spec='${wl}--export-all-symbols'
9699 allow_undefined_flag=unsupported
9700 always_export_symbols=no
9701 enable_shared_with_static_runtimes=yes
9702 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'
9703 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9705 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9706 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9707 # If the export-symbols file already is a .def file (1st line
9708 # is EXPORTS), use it as is; otherwise, prepend...
9709 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9710 cp $export_symbols $output_objdir/$soname.def;
9712 echo EXPORTS > $output_objdir/$soname.def;
9713 cat $export_symbols >> $output_objdir/$soname.def;
9715 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9722 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9723 link_all_deplibs=yes
9728 hardcode_shlibpath_var=no
9729 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9730 export_dynamic_flag_spec='${wl}-E'
9731 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9732 # Instead, shared libraries are loaded at an image base (0x10000000 by
9733 # default) and relocated if they conflict, which is a slow very memory
9734 # consuming and fragmenting process. To avoid this, we pick a random,
9735 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9736 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9737 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9738 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'
9741 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9743 if test "$host_os" = linux-dietlibc; then
9744 case $cc_basename in
9745 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9748 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9749 && test "$tmp_diet" = no
9751 tmp_addflag=' $pic_flag'
9752 tmp_sharedflag='-shared'
9753 case $cc_basename,$host_cpu in
9754 pgcc*) # Portland Group C compiler
9755 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'
9756 tmp_addflag=' $pic_flag'
9758 pgf77* | pgf90* | pgf95* | pgfortran*)
9759 # Portland Group f77 and f90 compilers
9760 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'
9761 tmp_addflag=' $pic_flag -Mnomain' ;;
9762 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9763 tmp_addflag=' -i_dynamic' ;;
9764 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9765 tmp_addflag=' -i_dynamic -nofor_main' ;;
9766 ifc* | ifort*) # Intel Fortran compiler
9767 tmp_addflag=' -nofor_main' ;;
9768 lf95*) # Lahey Fortran 8.1
9769 whole_archive_flag_spec=
9770 tmp_sharedflag='--shared' ;;
9771 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9772 tmp_sharedflag='-qmkshrobj'
9774 nvcc*) # Cuda Compiler Driver 2.2
9775 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'
9776 compiler_needs_object=yes
9779 case `$CC -V 2>&1 | sed 5q` in
9780 *Sun\ C*) # Sun C 5.9
9781 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'
9782 compiler_needs_object=yes
9783 tmp_sharedflag='-G' ;;
9784 *Sun\ F*) # Sun Fortran 8.3
9785 tmp_sharedflag='-G' ;;
9787 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9789 if test "x$supports_anon_versioning" = xyes; then
9790 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9791 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9792 echo "local: *; };" >> $output_objdir/$libname.ver~
9793 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9796 case $cc_basename in
9797 xlf* | bgf* | bgxlf* | mpixlf*)
9798 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9799 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9800 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9801 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9802 if test "x$supports_anon_versioning" = xyes; then
9803 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9804 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9805 echo "local: *; };" >> $output_objdir/$libname.ver~
9806 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9815 netbsd* | netbsdelf*-gnu)
9816 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9817 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9820 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9821 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9826 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9830 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9831 *** create shared libraries on Solaris systems. Therefore, libtool
9832 *** is disabling shared libraries support. We urge you to upgrade GNU
9833 *** binutils to release 2.9.1 or newer. Another option is to modify
9834 *** your PATH or compiler configuration so that the native linker is
9835 *** used, and then restart.
9838 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9839 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9840 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9846 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9847 case `$LD -v 2>&1` in
9848 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9852 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9853 *** reliably create shared libraries on SCO systems. Therefore, libtool
9854 *** is disabling shared libraries support. We urge you to upgrade GNU
9855 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9856 *** your PATH or compiler configuration so that the native linker is
9857 *** used, and then restart.
9862 # For security reasons, it is highly recommended that you always
9863 # use absolute paths for naming shared libraries, and exclude the
9864 # DT_RUNPATH tag from executables and libraries. But doing so
9865 # requires that you compile everything twice, which is a pain.
9866 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9867 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9868 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9869 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9878 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9881 hardcode_shlibpath_var=no
9885 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9886 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9887 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9894 if test "$ld_shlibs" = no; then
9896 hardcode_libdir_flag_spec=
9897 export_dynamic_flag_spec=
9898 whole_archive_flag_spec=
9901 # PORTME fill in a description of your system's linker (not GNU ld)
9904 allow_undefined_flag=unsupported
9905 always_export_symbols=yes
9906 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'
9907 # Note: this linker hardcodes the directories in LIBPATH if there
9908 # are no directories specified by -L.
9909 hardcode_minus_L=yes
9910 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9911 # Neither direct hardcoding nor static linking is supported with a
9913 hardcode_direct=unsupported
9918 if test "$host_cpu" = ia64; then
9919 # On IA64, the linker does run time linking by default, so we don't
9920 # have to do anything special.
9921 aix_use_runtimelinking=no
9922 exp_sym_flag='-Bexport'
9925 # If we're using GNU nm, then we don't want the "-C" option.
9926 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9927 # Also, AIX nm treats weak defined symbols like other global
9928 # defined symbols, whereas GNU nm marks them as "W".
9929 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9930 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'
9932 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'
9934 aix_use_runtimelinking=no
9936 # Test if we are trying to use run time linking or normal
9937 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9938 # need to do runtime linking.
9939 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9940 for ld_flag in $LDFLAGS; do
9941 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9942 aix_use_runtimelinking=yes
9949 exp_sym_flag='-bexport'
9950 no_entry_flag='-bnoentry'
9953 # When large executables or shared objects are built, AIX ld can
9954 # have problems creating the table of contents. If linking a library
9955 # or program results in "error TOC overflow" add -mminimal-toc to
9956 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9957 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9961 hardcode_direct_absolute=yes
9962 hardcode_libdir_separator=':'
9963 link_all_deplibs=yes
9964 file_list_spec='${wl}-f,'
9966 if test "$GCC" = yes; then
9967 case $host_os in aix4.[012]|aix4.[012].*)
9968 # We only want to do this on AIX 4.2 and lower, the check
9969 # below for broken collect2 doesn't work under 4.3+
9970 collect2name=`${CC} -print-prog-name=collect2`
9971 if test -f "$collect2name" &&
9972 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9974 # We have reworked collect2
9977 # We have old collect2
9978 hardcode_direct=unsupported
9979 # It fails to find uninstalled libraries when the uninstalled
9980 # path is not listed in the libpath. Setting hardcode_minus_L
9981 # to unsupported forces relinking
9982 hardcode_minus_L=yes
9983 hardcode_libdir_flag_spec='-L$libdir'
9984 hardcode_libdir_separator=
9988 shared_flag='-shared'
9989 if test "$aix_use_runtimelinking" = yes; then
9990 shared_flag="$shared_flag "'${wl}-G'
9995 if test "$host_cpu" = ia64; then
9996 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9997 # chokes on -Wl,-G. The following line is correct:
10000 if test "$aix_use_runtimelinking" = yes; then
10001 shared_flag='${wl}-G'
10003 shared_flag='${wl}-bM:SRE'
10008 export_dynamic_flag_spec='${wl}-bexpall'
10009 # It seems that -bexpall does not export symbols beginning with
10010 # underscore (_), so it is better to generate a list of symbols to export.
10011 always_export_symbols=yes
10012 if test "$aix_use_runtimelinking" = yes; then
10013 # Warning - without using the other runtime loading flags (-brtl),
10014 # -berok will link without error, but may produce a broken library.
10015 allow_undefined_flag='-berok'
10016 # Determine the default libpath from the value encoded in an
10017 # empty executable.
10018 if test "${lt_cv_aix_libpath+set}" = set; then
10019 aix_libpath=$lt_cv_aix_libpath
10021 if ${lt_cv_aix_libpath_+:} false; then :
10022 $as_echo_n "(cached) " >&6
10024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10025 /* end confdefs.h. */
10035 if ac_fn_c_try_link "$LINENO"; then :
10037 lt_aix_libpath_sed='
10038 /Import File Strings/,/^$/ {
10040 s/^0 *\([^ ]*\) *$/\1/
10044 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10045 # Check for a 64-bit object if we didn't find anything.
10046 if test -z "$lt_cv_aix_libpath_"; then
10047 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10050 rm -f core conftest.err conftest.$ac_objext \
10051 conftest$ac_exeext conftest.$ac_ext
10052 if test -z "$lt_cv_aix_libpath_"; then
10053 lt_cv_aix_libpath_="/usr/lib:/lib"
10058 aix_libpath=$lt_cv_aix_libpath_
10061 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10062 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"
10064 if test "$host_cpu" = ia64; then
10065 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10066 allow_undefined_flag="-z nodefs"
10067 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"
10069 # Determine the default libpath from the value encoded in an
10070 # empty executable.
10071 if test "${lt_cv_aix_libpath+set}" = set; then
10072 aix_libpath=$lt_cv_aix_libpath
10074 if ${lt_cv_aix_libpath_+:} false; then :
10075 $as_echo_n "(cached) " >&6
10077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078 /* end confdefs.h. */
10088 if ac_fn_c_try_link "$LINENO"; then :
10090 lt_aix_libpath_sed='
10091 /Import File Strings/,/^$/ {
10093 s/^0 *\([^ ]*\) *$/\1/
10097 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10098 # Check for a 64-bit object if we didn't find anything.
10099 if test -z "$lt_cv_aix_libpath_"; then
10100 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10103 rm -f core conftest.err conftest.$ac_objext \
10104 conftest$ac_exeext conftest.$ac_ext
10105 if test -z "$lt_cv_aix_libpath_"; then
10106 lt_cv_aix_libpath_="/usr/lib:/lib"
10111 aix_libpath=$lt_cv_aix_libpath_
10114 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10115 # Warning - without using the other run time loading flags,
10116 # -berok will link without error, but may produce a broken library.
10117 no_undefined_flag=' ${wl}-bernotok'
10118 allow_undefined_flag=' ${wl}-berok'
10119 if test "$with_gnu_ld" = yes; then
10120 # We only use this code for GNU lds that support --whole-archive.
10121 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10123 # Exported symbols can be pulled into shared objects from archives
10124 whole_archive_flag_spec='$convenience'
10126 archive_cmds_need_lc=yes
10127 # This is similar to how AIX traditionally builds its shared libraries.
10128 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'
10136 # see comment about AmigaOS4 .so support
10137 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10138 archive_expsym_cmds=''
10141 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)'
10142 hardcode_libdir_flag_spec='-L$libdir'
10143 hardcode_minus_L=yes
10149 export_dynamic_flag_spec=-rdynamic
10152 cygwin* | mingw* | pw32* | cegcc*)
10153 # When not using gcc, we currently assume that we are using
10154 # Microsoft Visual C++.
10155 # hardcode_libdir_flag_spec is actually meaningless, as there is
10156 # no search path for DLLs.
10157 case $cc_basename in
10160 hardcode_libdir_flag_spec=' '
10161 allow_undefined_flag=unsupported
10162 always_export_symbols=yes
10164 # Tell ltmain to make .lib files, not .a files.
10166 # Tell ltmain to make .dll files, not .so files.
10168 # FIXME: Setting linknames here is a bad hack.
10169 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10170 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10171 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10173 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10175 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10177 # The linker will not automatically build a static lib if we build a DLL.
10178 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10179 enable_shared_with_static_runtimes=yes
10180 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10181 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10183 old_postinstall_cmds='chmod 644 $oldlib'
10184 postlink_cmds='lt_outputfile="@OUTPUT@"~
10185 lt_tool_outputfile="@TOOL_OUTPUT@"~
10186 case $lt_outputfile in
10189 lt_outputfile="$lt_outputfile.exe"
10190 lt_tool_outputfile="$lt_tool_outputfile.exe"
10193 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10194 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10195 $RM "$lt_outputfile.manifest";
10199 # Assume MSVC wrapper
10200 hardcode_libdir_flag_spec=' '
10201 allow_undefined_flag=unsupported
10202 # Tell ltmain to make .lib files, not .a files.
10204 # Tell ltmain to make .dll files, not .so files.
10206 # FIXME: Setting linknames here is a bad hack.
10207 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10208 # The linker will automatically build a .lib file if we build a DLL.
10209 old_archive_from_new_cmds='true'
10210 # FIXME: Should let the user specify the lib program.
10211 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10212 enable_shared_with_static_runtimes=yes
10217 darwin* | rhapsody*)
10220 archive_cmds_need_lc=no
10222 hardcode_automatic=yes
10223 hardcode_shlibpath_var=unsupported
10224 if test "$lt_cv_ld_force_load" = "yes"; then
10225 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\"`'
10228 whole_archive_flag_spec=''
10230 link_all_deplibs=yes
10231 allow_undefined_flag="$_lt_dar_allow_undefined"
10232 case $cc_basename in
10233 ifort*) _lt_dar_can_shared=yes ;;
10234 *) _lt_dar_can_shared=$GCC ;;
10236 if test "$_lt_dar_can_shared" = "yes"; then
10237 output_verbose_link_cmd=func_echo_all
10238 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10239 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10240 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}"
10241 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}"
10250 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10251 hardcode_libdir_flag_spec='-L$libdir'
10252 hardcode_shlibpath_var=no
10255 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10256 # support. Future versions do this automatically, but an explicit c++rt0.o
10257 # does not break anything, and helps significantly (at the cost of a little
10260 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10261 hardcode_libdir_flag_spec='-R$libdir'
10262 hardcode_direct=yes
10263 hardcode_shlibpath_var=no
10266 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10268 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10269 hardcode_direct=yes
10270 hardcode_minus_L=yes
10271 hardcode_shlibpath_var=no
10274 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10275 freebsd* | dragonfly*)
10276 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10277 hardcode_libdir_flag_spec='-R$libdir'
10278 hardcode_direct=yes
10279 hardcode_shlibpath_var=no
10283 if test "$GCC" = yes; then
10284 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'
10286 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'
10288 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10289 hardcode_libdir_separator=:
10290 hardcode_direct=yes
10292 # hardcode_minus_L: Not really in the search PATH,
10293 # but as the default location of the library.
10294 hardcode_minus_L=yes
10295 export_dynamic_flag_spec='${wl}-E'
10299 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10300 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10302 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10304 if test "$with_gnu_ld" = no; then
10305 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10306 hardcode_libdir_separator=:
10307 hardcode_direct=yes
10308 hardcode_direct_absolute=yes
10309 export_dynamic_flag_spec='${wl}-E'
10310 # hardcode_minus_L: Not really in the search PATH,
10311 # but as the default location of the library.
10312 hardcode_minus_L=yes
10317 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10320 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10323 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10326 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10332 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10335 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10339 # Older versions of the 11.00 compiler do not understand -b yet
10340 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10342 $as_echo_n "checking if $CC understands -b... " >&6; }
10343 if ${lt_cv_prog_compiler__b+:} false; then :
10344 $as_echo_n "(cached) " >&6
10346 lt_cv_prog_compiler__b=no
10347 save_LDFLAGS="$LDFLAGS"
10348 LDFLAGS="$LDFLAGS -b"
10349 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10350 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10351 # The linker can only warn and ignore the option if not recognized
10352 # So say no if there are warnings
10353 if test -s conftest.err; then
10354 # Append any errors to the config.log.
10355 cat conftest.err 1>&5
10356 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10357 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10358 if diff conftest.exp conftest.er2 >/dev/null; then
10359 lt_cv_prog_compiler__b=yes
10362 lt_cv_prog_compiler__b=yes
10366 LDFLAGS="$save_LDFLAGS"
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10370 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10372 if test x"$lt_cv_prog_compiler__b" = xyes; then
10373 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10375 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10381 if test "$with_gnu_ld" = no; then
10382 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10383 hardcode_libdir_separator=:
10388 hardcode_shlibpath_var=no
10391 hardcode_direct=yes
10392 hardcode_direct_absolute=yes
10393 export_dynamic_flag_spec='${wl}-E'
10395 # hardcode_minus_L: Not really in the search PATH,
10396 # but as the default location of the library.
10397 hardcode_minus_L=yes
10403 irix5* | irix6* | nonstopux*)
10404 if test "$GCC" = yes; then
10405 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'
10406 # Try to use the -exported_symbol ld option, if it does not
10407 # work, assume that -exports_file does not work either and
10408 # implicitly export all symbols.
10409 # This should be the same for all languages, so no per-tag cache variable.
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10411 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10412 if ${lt_cv_irix_exported_symbol+:} false; then :
10413 $as_echo_n "(cached) " >&6
10415 save_LDFLAGS="$LDFLAGS"
10416 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10418 /* end confdefs.h. */
10419 int foo (void) { return 0; }
10421 if ac_fn_c_try_link "$LINENO"; then :
10422 lt_cv_irix_exported_symbol=yes
10424 lt_cv_irix_exported_symbol=no
10426 rm -f core conftest.err conftest.$ac_objext \
10427 conftest$ac_exeext conftest.$ac_ext
10428 LDFLAGS="$save_LDFLAGS"
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10431 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10432 if test "$lt_cv_irix_exported_symbol" = yes; then
10433 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'
10436 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'
10437 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'
10439 archive_cmds_need_lc='no'
10440 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10441 hardcode_libdir_separator=:
10443 link_all_deplibs=yes
10446 netbsd* | netbsdelf*-gnu)
10447 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10448 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10450 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10452 hardcode_libdir_flag_spec='-R$libdir'
10453 hardcode_direct=yes
10454 hardcode_shlibpath_var=no
10458 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10459 hardcode_direct=yes
10460 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10461 hardcode_libdir_separator=:
10462 hardcode_shlibpath_var=no
10469 if test -f /usr/libexec/ld.so; then
10470 hardcode_direct=yes
10471 hardcode_shlibpath_var=no
10472 hardcode_direct_absolute=yes
10473 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10474 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10475 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10476 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10477 export_dynamic_flag_spec='${wl}-E'
10480 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10481 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10482 hardcode_libdir_flag_spec='-R$libdir'
10485 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10486 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10496 hardcode_libdir_flag_spec='-L$libdir'
10497 hardcode_minus_L=yes
10498 allow_undefined_flag=unsupported
10499 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'
10500 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10504 if test "$GCC" = yes; then
10505 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10506 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'
10508 allow_undefined_flag=' -expect_unresolved \*'
10509 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'
10511 archive_cmds_need_lc='no'
10512 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10513 hardcode_libdir_separator=:
10516 osf4* | osf5*) # as osf3* with the addition of -msym flag
10517 if test "$GCC" = yes; then
10518 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10519 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'
10520 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10522 allow_undefined_flag=' -expect_unresolved \*'
10523 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'
10524 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~
10525 $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'
10527 # Both c and cxx compiler support -rpath directly
10528 hardcode_libdir_flag_spec='-rpath $libdir'
10530 archive_cmds_need_lc='no'
10531 hardcode_libdir_separator=:
10535 no_undefined_flag=' -z defs'
10536 if test "$GCC" = yes; then
10538 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10539 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10540 $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'
10542 case `$CC -V 2>&1` in
10545 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10546 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10547 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10551 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10552 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10553 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10557 hardcode_libdir_flag_spec='-R$libdir'
10558 hardcode_shlibpath_var=no
10560 solaris2.[0-5] | solaris2.[0-5].*) ;;
10562 # The compiler driver will combine and reorder linker options,
10563 # but understands `-z linker_flag'. GCC discards it without `$wl',
10564 # but is careful enough not to reorder.
10565 # Supported since Solaris 2.6 (maybe 2.5.1?)
10566 if test "$GCC" = yes; then
10567 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10569 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10573 link_all_deplibs=yes
10577 if test "x$host_vendor" = xsequent; then
10578 # Use $CC to link under sequent, because it throws in some extra .o
10579 # files that make .init and .fini sections work.
10580 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10582 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10584 hardcode_libdir_flag_spec='-L$libdir'
10585 hardcode_direct=yes
10586 hardcode_minus_L=yes
10587 hardcode_shlibpath_var=no
10591 case $host_vendor in
10593 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10594 hardcode_direct=yes # is this really true???
10597 ## LD is ld it makes a PLAMLIB
10598 ## CC just makes a GrossModule.
10599 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10600 reload_cmds='$CC -r -o $output$reload_objs'
10604 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10605 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10608 runpath_var='LD_RUN_PATH'
10609 hardcode_shlibpath_var=no
10613 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10614 hardcode_shlibpath_var=no
10615 export_dynamic_flag_spec='-Bexport'
10619 if test -d /usr/nec; then
10620 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10621 hardcode_shlibpath_var=no
10622 runpath_var=LD_RUN_PATH
10623 hardcode_runpath_var=yes
10628 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10629 no_undefined_flag='${wl}-z,text'
10630 archive_cmds_need_lc=no
10631 hardcode_shlibpath_var=no
10632 runpath_var='LD_RUN_PATH'
10634 if test "$GCC" = yes; then
10635 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10636 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10638 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10639 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10643 sysv5* | sco3.2v5* | sco5v6*)
10644 # Note: We can NOT use -z defs as we might desire, because we do not
10645 # link with -lc, and that would cause any symbols used from libc to
10646 # always be unresolved, which means just about no library would
10647 # ever link correctly. If we're not using GNU ld we use -z text
10648 # though, which does catch some bad symbols but isn't as heavy-handed
10650 no_undefined_flag='${wl}-z,text'
10651 allow_undefined_flag='${wl}-z,nodefs'
10652 archive_cmds_need_lc=no
10653 hardcode_shlibpath_var=no
10654 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10655 hardcode_libdir_separator=':'
10656 link_all_deplibs=yes
10657 export_dynamic_flag_spec='${wl}-Bexport'
10658 runpath_var='LD_RUN_PATH'
10660 if test "$GCC" = yes; then
10661 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10662 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10664 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10665 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10670 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10671 hardcode_libdir_flag_spec='-L$libdir'
10672 hardcode_shlibpath_var=no
10680 if test x$host_vendor = xsni; then
10682 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10683 export_dynamic_flag_spec='${wl}-Blargedynsym'
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10690 $as_echo "$ld_shlibs" >&6; }
10691 test "$ld_shlibs" = no && can_build_shared=no
10693 with_gnu_ld=$with_gnu_ld
10710 # Do we need to explicitly link libc?
10712 case "x$archive_cmds_need_lc" in
10714 # Assume -lc should be added
10715 archive_cmds_need_lc=yes
10717 if test "$enable_shared" = yes && test "$GCC" = yes; then
10718 case $archive_cmds in
10720 # FIXME: we may have to deal with multi-command sequences.
10723 # Test whether the compiler implicitly links with -lc since on some
10724 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10725 # to ld, don't add -lc before -lgcc.
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10727 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10728 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10729 $as_echo_n "(cached) " >&6
10732 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10734 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10735 (eval $ac_compile) 2>&5
10737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10738 test $ac_status = 0; } 2>conftest.err; then
10741 libobjs=conftest.$ac_objext
10743 wl=$lt_prog_compiler_wl
10744 pic_flag=$lt_prog_compiler_pic
10750 lt_save_allow_undefined_flag=$allow_undefined_flag
10751 allow_undefined_flag=
10752 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10753 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10756 test $ac_status = 0; }
10758 lt_cv_archive_cmds_need_lc=no
10760 lt_cv_archive_cmds_need_lc=yes
10762 allow_undefined_flag=$lt_save_allow_undefined_flag
10764 cat conftest.err 1>&5
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10770 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10771 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10930 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10932 if test "$GCC" = yes; then
10934 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10935 *) lt_awk_arg="/^libraries:/" ;;
10938 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10939 *) lt_sed_strip_eq="s,=/,/,g" ;;
10941 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10942 case $lt_search_path_spec in
10944 # if the path contains ";" then we assume it to be the separator
10945 # otherwise default to the standard path separator (i.e. ":") - it is
10946 # assumed that no part of a normal pathname contains ";" but that should
10947 # okay in the real world where ";" in dirpaths is itself problematic.
10948 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10951 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10954 # Ok, now we have the path, separated by spaces, we can step through it
10955 # and add multilib dir if necessary.
10956 lt_tmp_lt_search_path_spec=
10957 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10958 for lt_sys_path in $lt_search_path_spec; do
10959 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10960 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10962 test -d "$lt_sys_path" && \
10963 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10966 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10967 BEGIN {RS=" "; FS="/|\n";} {
10970 for (lt_i = NF; lt_i > 0; lt_i--) {
10971 if ($lt_i != "" && $lt_i != ".") {
10972 if ($lt_i == "..") {
10975 if (lt_count == 0) {
10976 lt_foo="/" $lt_i lt_foo;
10983 if (lt_foo != "") { lt_freq[lt_foo]++; }
10984 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10986 # AWK program above erroneously prepends '/' to C:/dos/paths
10989 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10990 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10992 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10994 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10996 library_names_spec=
10997 libname_spec='lib$name'
11001 postuninstall_cmds=
11005 shlibpath_overrides_runpath=unknown
11007 dynamic_linker="$host_os ld.so"
11008 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11009 need_lib_prefix=unknown
11010 hardcode_into_libs=no
11012 # when you set need_version to no, make sure it does not cause -set_version
11013 # flags to be left without arguments
11014 need_version=unknown
11018 version_type=linux # correct to gnu/linux during the next big refactor
11019 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11020 shlibpath_var=LIBPATH
11022 # AIX 3 has no versioning support, so we append a major version to the name.
11023 soname_spec='${libname}${release}${shared_ext}$major'
11027 version_type=linux # correct to gnu/linux during the next big refactor
11030 hardcode_into_libs=yes
11031 if test "$host_cpu" = ia64; then
11032 # AIX 5 supports IA64
11033 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11034 shlibpath_var=LD_LIBRARY_PATH
11036 # With GCC up to 2.95.x, collect2 would create an import file
11037 # for dependence libraries. The import file would start with
11038 # the line `#! .'. This would cause the generated library to
11039 # depend on `.', always an invalid library. This was fixed in
11040 # development snapshots of GCC prior to 3.0.
11042 aix4 | aix4.[01] | aix4.[01].*)
11043 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11045 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11048 can_build_shared=no
11052 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11053 # soname into executable. Probably we can add versioning support to
11054 # collect2, so additional links can be useful in future.
11055 if test "$aix_use_runtimelinking" = yes; then
11056 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11057 # instead of lib<name>.a to let people know that these are not
11058 # typical AIX shared libraries.
11059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061 # We preserve .a as extension for shared libraries through AIX4.2
11062 # and later when we are not doing run time linking.
11063 library_names_spec='${libname}${release}.a $libname.a'
11064 soname_spec='${libname}${release}${shared_ext}$major'
11066 shlibpath_var=LIBPATH
11073 # Since July 2007 AmigaOS4 officially supports .so libraries.
11074 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11078 library_names_spec='$libname.ixlibrary $libname.a'
11079 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11080 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'
11086 library_names_spec='${libname}${shared_ext}'
11087 dynamic_linker="$host_os ld.so"
11088 shlibpath_var=LIBRARY_PATH
11092 version_type=linux # correct to gnu/linux during the next big refactor
11094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11095 soname_spec='${libname}${release}${shared_ext}$major'
11096 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11097 shlibpath_var=LD_LIBRARY_PATH
11098 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11099 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11100 # the default ld.so.conf also contains /usr/contrib/lib and
11101 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11102 # libtool to hard-code these into programs
11105 cygwin* | mingw* | pw32* | cegcc*)
11106 version_type=windows
11111 case $GCC,$cc_basename in
11114 library_names_spec='$libname.dll.a'
11115 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11116 postinstall_cmds='base_file=`basename \${file}`~
11117 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11118 dldir=$destdir/`dirname \$dlpath`~
11119 test -d \$dldir || mkdir -p \$dldir~
11120 $install_prog $dir/$dlname \$dldir/$dlname~
11121 chmod a+x \$dldir/$dlname~
11122 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11123 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11125 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11126 dlpath=$dir/\$dldll~
11128 shlibpath_overrides_runpath=yes
11132 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11133 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11135 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11138 # MinGW DLLs use traditional 'lib' prefix
11139 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11142 # pw32 DLLs use 'pw' prefix rather than 'lib'
11143 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11146 dynamic_linker='Win32 ld.exe'
11151 libname_spec='$name'
11152 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11153 library_names_spec='${libname}.dll.lib'
11157 sys_lib_search_path_spec=
11160 for lt_path in $LIB
11163 # Let DOS variable expansion print the short 8.3 style file name.
11164 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11165 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11168 # Convert to MSYS style.
11169 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11172 # Convert to unix form, then to dos form, then back to unix form
11173 # but this time dos style (no spaces!) so that the unix form looks
11174 # like /cygdrive/c/PROGRA~1:/cygdr...
11175 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11176 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11177 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11180 sys_lib_search_path_spec="$LIB"
11181 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11182 # It is most probably a Windows format PATH.
11183 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11185 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11187 # FIXME: find the short name or the path components, as spaces are
11188 # common. (e.g. "Program Files" -> "PROGRA~1")
11192 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11193 postinstall_cmds='base_file=`basename \${file}`~
11194 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11195 dldir=$destdir/`dirname \$dlpath`~
11196 test -d \$dldir || mkdir -p \$dldir~
11197 $install_prog $dir/$dlname \$dldir/$dlname'
11198 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11199 dlpath=$dir/\$dldll~
11201 shlibpath_overrides_runpath=yes
11202 dynamic_linker='Win32 link.exe'
11206 # Assume MSVC wrapper
11207 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11208 dynamic_linker='Win32 ld.exe'
11211 # FIXME: first we should search . and the directory the executable is in
11215 darwin* | rhapsody*)
11216 dynamic_linker="$host_os dyld"
11217 version_type=darwin
11220 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11221 soname_spec='${libname}${release}${major}$shared_ext'
11222 shlibpath_overrides_runpath=yes
11223 shlibpath_var=DYLD_LIBRARY_PATH
11224 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11226 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11227 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11231 version_type=linux # correct to gnu/linux during the next big refactor
11234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11235 soname_spec='${libname}${release}${shared_ext}$major'
11236 shlibpath_var=LD_LIBRARY_PATH
11239 freebsd* | dragonfly*)
11240 # DragonFly does not have aout. When/if they implement a new
11241 # versioning mechanism, adjust this.
11242 if test -x /usr/bin/objformat; then
11243 objformat=`/usr/bin/objformat`
11246 freebsd[23].*) objformat=aout ;;
11247 *) objformat=elf ;;
11250 version_type=freebsd-$objformat
11251 case $version_type in
11253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11258 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11262 shlibpath_var=LD_LIBRARY_PATH
11265 shlibpath_overrides_runpath=yes
11267 freebsd3.[01]* | freebsdelf3.[01]*)
11268 shlibpath_overrides_runpath=yes
11269 hardcode_into_libs=yes
11271 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11272 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11273 shlibpath_overrides_runpath=no
11274 hardcode_into_libs=yes
11276 *) # from 4.6 on, and DragonFly
11277 shlibpath_overrides_runpath=yes
11278 hardcode_into_libs=yes
11284 version_type=linux # correct to gnu/linux during the next big refactor
11287 dynamic_linker="$host_os runtime_loader"
11288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11289 soname_spec='${libname}${release}${shared_ext}$major'
11290 shlibpath_var=LIBRARY_PATH
11291 shlibpath_overrides_runpath=yes
11292 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11293 hardcode_into_libs=yes
11296 hpux9* | hpux10* | hpux11*)
11297 # Give a soname corresponding to the major version so that dld.sl refuses to
11298 # link against other versions.
11305 hardcode_into_libs=yes
11306 dynamic_linker="$host_os dld.so"
11307 shlibpath_var=LD_LIBRARY_PATH
11308 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11310 soname_spec='${libname}${release}${shared_ext}$major'
11311 if test "X$HPUX_IA64_MODE" = X32; then
11312 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11314 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11316 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11320 hardcode_into_libs=yes
11321 dynamic_linker="$host_os dld.sl"
11322 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11323 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11325 soname_spec='${libname}${release}${shared_ext}$major'
11326 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11327 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11331 dynamic_linker="$host_os dld.sl"
11332 shlibpath_var=SHLIB_PATH
11333 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11335 soname_spec='${libname}${release}${shared_ext}$major'
11338 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11339 postinstall_cmds='chmod 555 $lib'
11340 # or fails outright, so override atomically:
11341 install_override_mode=555
11345 version_type=linux # correct to gnu/linux during the next big refactor
11348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11349 soname_spec='${libname}${release}${shared_ext}$major'
11350 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11351 shlibpath_var=LD_LIBRARY_PATH
11352 shlibpath_overrides_runpath=no
11353 hardcode_into_libs=yes
11356 irix5* | irix6* | nonstopux*)
11358 nonstopux*) version_type=nonstopux ;;
11360 if test "$lt_cv_prog_gnu_ld" = yes; then
11361 version_type=linux # correct to gnu/linux during the next big refactor
11368 soname_spec='${libname}${release}${shared_ext}$major'
11369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11371 irix5* | nonstopux*)
11372 libsuff= shlibsuff=
11375 case $LD in # libtool.m4 will add one of these switches to LD
11376 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11377 libsuff= shlibsuff= libmagic=32-bit;;
11378 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11379 libsuff=32 shlibsuff=N32 libmagic=N32;;
11380 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11381 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11382 *) libsuff= shlibsuff= libmagic=never-match;;
11386 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11387 shlibpath_overrides_runpath=no
11388 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11389 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11390 hardcode_into_libs=yes
11393 # No shared lib support for Linux oldld, aout, or coff.
11394 linux*oldld* | linux*aout* | linux*coff*)
11398 # This must be glibc/ELF.
11399 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11400 version_type=linux # correct to gnu/linux during the next big refactor
11403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11404 soname_spec='${libname}${release}${shared_ext}$major'
11405 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11406 shlibpath_var=LD_LIBRARY_PATH
11407 shlibpath_overrides_runpath=no
11409 # Some binutils ld are patched to set DT_RUNPATH
11410 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11411 $as_echo_n "(cached) " >&6
11413 lt_cv_shlibpath_overrides_runpath=no
11414 save_LDFLAGS=$LDFLAGS
11415 save_libdir=$libdir
11416 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11417 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11419 /* end confdefs.h. */
11429 if ac_fn_c_try_link "$LINENO"; then :
11430 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11431 lt_cv_shlibpath_overrides_runpath=yes
11434 rm -f core conftest.err conftest.$ac_objext \
11435 conftest$ac_exeext conftest.$ac_ext
11436 LDFLAGS=$save_LDFLAGS
11437 libdir=$save_libdir
11441 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11443 # This implies no fast_install, which is unacceptable.
11444 # Some rework will be needed to allow for fast_install
11445 # before this can be enabled.
11446 hardcode_into_libs=yes
11448 # Append ld.so.conf contents to the search path
11449 if test -f /etc/ld.so.conf; then
11450 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' ' '`
11451 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11454 # We used to test for /lib/ld.so.1 and disable shared libraries on
11455 # powerpc, because MkLinux only supported shared libraries with the
11456 # GNU dynamic linker. Since this was broken with cross compilers,
11457 # most powerpc-linux boxes support dynamic linking these days and
11458 # people can always --disable-shared, the test was removed, and we
11459 # assume the GNU/Linux dynamic linker is in use.
11460 dynamic_linker='GNU/Linux ld.so'
11467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11468 soname_spec='${libname}${release}${shared_ext}$major'
11469 shlibpath_var=LD_LIBRARY_PATH
11470 shlibpath_overrides_runpath=no
11471 hardcode_into_libs=yes
11472 dynamic_linker='NetBSD ld.elf_so'
11479 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11481 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11482 dynamic_linker='NetBSD (a.out) ld.so'
11484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11485 soname_spec='${libname}${release}${shared_ext}$major'
11486 dynamic_linker='NetBSD ld.elf_so'
11488 shlibpath_var=LD_LIBRARY_PATH
11489 shlibpath_overrides_runpath=yes
11490 hardcode_into_libs=yes
11494 version_type=linux # correct to gnu/linux during the next big refactor
11495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11496 shlibpath_var=LD_LIBRARY_PATH
11497 shlibpath_overrides_runpath=yes
11504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11505 soname_spec='${libname}${release}${shared_ext}$major'
11506 shlibpath_var=LD_LIBRARY_PATH
11507 shlibpath_overrides_runpath=no
11508 hardcode_into_libs=yes
11509 dynamic_linker='ldqnx.so'
11514 sys_lib_dlsearch_path_spec="/usr/lib"
11516 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11518 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11519 *) need_version=no ;;
11521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11522 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11523 shlibpath_var=LD_LIBRARY_PATH
11524 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11526 openbsd2.[89] | openbsd2.[89].*)
11527 shlibpath_overrides_runpath=no
11530 shlibpath_overrides_runpath=yes
11534 shlibpath_overrides_runpath=yes
11539 libname_spec='$name'
11542 library_names_spec='$libname${shared_ext} $libname.a'
11543 dynamic_linker='OS/2 ld.exe'
11544 shlibpath_var=LIBPATH
11547 osf3* | osf4* | osf5*)
11551 soname_spec='${libname}${release}${shared_ext}$major'
11552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11553 shlibpath_var=LD_LIBRARY_PATH
11554 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11555 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11563 version_type=linux # correct to gnu/linux during the next big refactor
11566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11567 soname_spec='${libname}${release}${shared_ext}$major'
11568 shlibpath_var=LD_LIBRARY_PATH
11569 shlibpath_overrides_runpath=yes
11570 hardcode_into_libs=yes
11571 # ldd complains unless libraries are executable
11572 postinstall_cmds='chmod +x $lib'
11577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11578 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11579 shlibpath_var=LD_LIBRARY_PATH
11580 shlibpath_overrides_runpath=yes
11581 if test "$with_gnu_ld" = yes; then
11588 version_type=linux # correct to gnu/linux during the next big refactor
11589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11590 soname_spec='${libname}${release}${shared_ext}$major'
11591 shlibpath_var=LD_LIBRARY_PATH
11592 case $host_vendor in
11594 shlibpath_overrides_runpath=no
11596 runpath_var=LD_RUN_PATH
11604 shlibpath_overrides_runpath=no
11605 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11611 if test -d /usr/nec ;then
11612 version_type=linux # correct to gnu/linux during the next big refactor
11613 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11614 soname_spec='$libname${shared_ext}.$major'
11615 shlibpath_var=LD_LIBRARY_PATH
11619 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11620 version_type=freebsd-elf
11623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11624 soname_spec='${libname}${release}${shared_ext}$major'
11625 shlibpath_var=LD_LIBRARY_PATH
11626 shlibpath_overrides_runpath=yes
11627 hardcode_into_libs=yes
11628 if test "$with_gnu_ld" = yes; then
11629 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11631 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11634 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11638 sys_lib_dlsearch_path_spec='/usr/lib'
11642 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11643 version_type=linux # correct to gnu/linux during the next big refactor
11646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11647 shlibpath_var=LD_LIBRARY_PATH
11648 shlibpath_overrides_runpath=no
11649 hardcode_into_libs=yes
11653 version_type=linux # correct to gnu/linux during the next big refactor
11654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11655 soname_spec='${libname}${release}${shared_ext}$major'
11656 shlibpath_var=LD_LIBRARY_PATH
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11664 $as_echo "$dynamic_linker" >&6; }
11665 test "$dynamic_linker" = no && can_build_shared=no
11667 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11668 if test "$GCC" = yes; then
11669 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11672 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11673 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11675 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11676 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11771 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11773 if test -n "$hardcode_libdir_flag_spec" ||
11774 test -n "$runpath_var" ||
11775 test "X$hardcode_automatic" = "Xyes" ; then
11777 # We can hardcode non-existent directories.
11778 if test "$hardcode_direct" != no &&
11779 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11780 # have to relink, otherwise we might link with an installed library
11781 # when we should be linking with a yet-to-be-installed one
11782 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11783 test "$hardcode_minus_L" != no; then
11784 # Linking always hardcodes the temporary library directory.
11785 hardcode_action=relink
11787 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11788 hardcode_action=immediate
11791 # We cannot hardcode anything, or else we can only hardcode existing
11793 hardcode_action=unsupported
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11796 $as_echo "$hardcode_action" >&6; }
11798 if test "$hardcode_action" = relink ||
11799 test "$inherit_rpath" = yes; then
11800 # Fast installation is not supported
11801 enable_fast_install=no
11802 elif test "$shlibpath_overrides_runpath" = yes ||
11803 test "$enable_shared" = no; then
11804 # Fast installation is not necessary
11805 enable_fast_install=needless
11813 if test "x$enable_dlopen" != xyes; then
11814 enable_dlopen=unknown
11815 enable_dlopen_self=unknown
11816 enable_dlopen_self_static=unknown
11823 lt_cv_dlopen="load_add_on"
11825 lt_cv_dlopen_self=yes
11828 mingw* | pw32* | cegcc*)
11829 lt_cv_dlopen="LoadLibrary"
11834 lt_cv_dlopen="dlopen"
11839 # if libdl is installed we need to link against it
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11841 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11842 if ${ac_cv_lib_dl_dlopen+:} false; then :
11843 $as_echo_n "(cached) " >&6
11845 ac_check_lib_save_LIBS=$LIBS
11847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h. */
11850 /* Override any GCC internal prototype to avoid an error.
11851 Use char because int might match the return type of a GCC
11852 builtin and then its argument prototype would still apply. */
11865 if ac_fn_c_try_link "$LINENO"; then :
11866 ac_cv_lib_dl_dlopen=yes
11868 ac_cv_lib_dl_dlopen=no
11870 rm -f core conftest.err conftest.$ac_objext \
11871 conftest$ac_exeext conftest.$ac_ext
11872 LIBS=$ac_check_lib_save_LIBS
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11875 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11876 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11877 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11880 lt_cv_dlopen="dyld"
11882 lt_cv_dlopen_self=yes
11889 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11890 if test "x$ac_cv_func_shl_load" = xyes; then :
11891 lt_cv_dlopen="shl_load"
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11894 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11895 if ${ac_cv_lib_dld_shl_load+:} false; then :
11896 $as_echo_n "(cached) " >&6
11898 ac_check_lib_save_LIBS=$LIBS
11900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11903 /* Override any GCC internal prototype to avoid an error.
11904 Use char because int might match the return type of a GCC
11905 builtin and then its argument prototype would still apply. */
11913 return shl_load ();
11918 if ac_fn_c_try_link "$LINENO"; then :
11919 ac_cv_lib_dld_shl_load=yes
11921 ac_cv_lib_dld_shl_load=no
11923 rm -f core conftest.err conftest.$ac_objext \
11924 conftest$ac_exeext conftest.$ac_ext
11925 LIBS=$ac_check_lib_save_LIBS
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11928 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11929 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11930 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11932 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11933 if test "x$ac_cv_func_dlopen" = xyes; then :
11934 lt_cv_dlopen="dlopen"
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11937 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11938 if ${ac_cv_lib_dl_dlopen+:} false; then :
11939 $as_echo_n "(cached) " >&6
11941 ac_check_lib_save_LIBS=$LIBS
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11946 /* Override any GCC internal prototype to avoid an error.
11947 Use char because int might match the return type of a GCC
11948 builtin and then its argument prototype would still apply. */
11961 if ac_fn_c_try_link "$LINENO"; then :
11962 ac_cv_lib_dl_dlopen=yes
11964 ac_cv_lib_dl_dlopen=no
11966 rm -f core conftest.err conftest.$ac_objext \
11967 conftest$ac_exeext conftest.$ac_ext
11968 LIBS=$ac_check_lib_save_LIBS
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11971 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11972 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11973 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11976 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11977 if ${ac_cv_lib_svld_dlopen+:} false; then :
11978 $as_echo_n "(cached) " >&6
11980 ac_check_lib_save_LIBS=$LIBS
11981 LIBS="-lsvld $LIBS"
11982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h. */
11985 /* Override any GCC internal prototype to avoid an error.
11986 Use char because int might match the return type of a GCC
11987 builtin and then its argument prototype would still apply. */
12000 if ac_fn_c_try_link "$LINENO"; then :
12001 ac_cv_lib_svld_dlopen=yes
12003 ac_cv_lib_svld_dlopen=no
12005 rm -f core conftest.err conftest.$ac_objext \
12006 conftest$ac_exeext conftest.$ac_ext
12007 LIBS=$ac_check_lib_save_LIBS
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12010 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12011 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12012 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12015 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12016 if ${ac_cv_lib_dld_dld_link+:} false; then :
12017 $as_echo_n "(cached) " >&6
12019 ac_check_lib_save_LIBS=$LIBS
12021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12022 /* end confdefs.h. */
12024 /* Override any GCC internal prototype to avoid an error.
12025 Use char because int might match the return type of a GCC
12026 builtin and then its argument prototype would still apply. */
12034 return dld_link ();
12039 if ac_fn_c_try_link "$LINENO"; then :
12040 ac_cv_lib_dld_dld_link=yes
12042 ac_cv_lib_dld_dld_link=no
12044 rm -f core conftest.err conftest.$ac_objext \
12045 conftest$ac_exeext conftest.$ac_ext
12046 LIBS=$ac_check_lib_save_LIBS
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12049 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12050 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12051 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12072 if test "x$lt_cv_dlopen" != xno; then
12078 case $lt_cv_dlopen in
12080 save_CPPFLAGS="$CPPFLAGS"
12081 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12083 save_LDFLAGS="$LDFLAGS"
12084 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12087 LIBS="$lt_cv_dlopen_libs $LIBS"
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12090 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12091 if ${lt_cv_dlopen_self+:} false; then :
12092 $as_echo_n "(cached) " >&6
12094 if test "$cross_compiling" = yes; then :
12095 lt_cv_dlopen_self=cross
12097 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12098 lt_status=$lt_dlunknown
12099 cat > conftest.$ac_ext <<_LT_EOF
12100 #line $LINENO "configure"
12101 #include "confdefs.h"
12110 # define LT_DLGLOBAL RTLD_GLOBAL
12113 # define LT_DLGLOBAL DL_GLOBAL
12115 # define LT_DLGLOBAL 0
12119 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12120 find out it does not work in some platform. */
12121 #ifndef LT_DLLAZY_OR_NOW
12123 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12126 # define LT_DLLAZY_OR_NOW DL_LAZY
12129 # define LT_DLLAZY_OR_NOW RTLD_NOW
12132 # define LT_DLLAZY_OR_NOW DL_NOW
12134 # define LT_DLLAZY_OR_NOW 0
12141 /* When -fvisbility=hidden is used, assume the code has been annotated
12142 correspondingly for the symbols needed. */
12143 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12144 int fnord () __attribute__((visibility("default")));
12147 int fnord () { return 42; }
12150 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12151 int status = $lt_dlunknown;
12155 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12158 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12159 else puts (dlerror ());
12161 /* dlclose (self); */
12169 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12170 (eval $ac_link) 2>&5
12172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12173 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12174 (./conftest; exit; ) >&5 2>/dev/null
12176 case x$lt_status in
12177 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12178 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12179 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12182 # compilation failed
12183 lt_cv_dlopen_self=no
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12191 $as_echo "$lt_cv_dlopen_self" >&6; }
12193 if test "x$lt_cv_dlopen_self" = xyes; then
12194 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12196 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12197 if ${lt_cv_dlopen_self_static+:} false; then :
12198 $as_echo_n "(cached) " >&6
12200 if test "$cross_compiling" = yes; then :
12201 lt_cv_dlopen_self_static=cross
12203 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12204 lt_status=$lt_dlunknown
12205 cat > conftest.$ac_ext <<_LT_EOF
12206 #line $LINENO "configure"
12207 #include "confdefs.h"
12216 # define LT_DLGLOBAL RTLD_GLOBAL
12219 # define LT_DLGLOBAL DL_GLOBAL
12221 # define LT_DLGLOBAL 0
12225 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12226 find out it does not work in some platform. */
12227 #ifndef LT_DLLAZY_OR_NOW
12229 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12232 # define LT_DLLAZY_OR_NOW DL_LAZY
12235 # define LT_DLLAZY_OR_NOW RTLD_NOW
12238 # define LT_DLLAZY_OR_NOW DL_NOW
12240 # define LT_DLLAZY_OR_NOW 0
12247 /* When -fvisbility=hidden is used, assume the code has been annotated
12248 correspondingly for the symbols needed. */
12249 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12250 int fnord () __attribute__((visibility("default")));
12253 int fnord () { return 42; }
12256 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12257 int status = $lt_dlunknown;
12261 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12264 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12265 else puts (dlerror ());
12267 /* dlclose (self); */
12275 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12276 (eval $ac_link) 2>&5
12278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12279 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12280 (./conftest; exit; ) >&5 2>/dev/null
12282 case x$lt_status in
12283 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12284 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12285 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12288 # compilation failed
12289 lt_cv_dlopen_self_static=no
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12297 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12300 CPPFLAGS="$save_CPPFLAGS"
12301 LDFLAGS="$save_LDFLAGS"
12306 case $lt_cv_dlopen_self in
12307 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12308 *) enable_dlopen_self=unknown ;;
12311 case $lt_cv_dlopen_self_static in
12312 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12313 *) enable_dlopen_self_static=unknown ;;
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12336 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12337 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12338 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12339 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12341 $as_echo "yes" >&6; }
12343 # FIXME - insert some real tests, host_os isn't really good enough
12346 if test -n "$STRIP" ; then
12347 striplib="$STRIP -x"
12348 old_striplib="$STRIP -S"
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12350 $as_echo "yes" >&6; }
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12353 $as_echo "no" >&6; }
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12358 $as_echo "no" >&6; }
12374 # Report which library types will actually be built
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12376 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12378 $as_echo "$can_build_shared" >&6; }
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12381 $as_echo_n "checking whether to build shared libraries... " >&6; }
12382 test "$can_build_shared" = "no" && enable_shared=no
12384 # On AIX, shared libraries and static libraries use the same namespace, and
12385 # are all built from PIC.
12388 test "$enable_shared" = yes && enable_static=no
12389 if test -n "$RANLIB"; then
12390 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12391 postinstall_cmds='$RANLIB $lib'
12396 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12397 test "$enable_shared" = yes && enable_static=no
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12402 $as_echo "$enable_shared" >&6; }
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12405 $as_echo_n "checking whether to build static libraries... " >&6; }
12406 # Make sure either enable_shared or enable_static is yes.
12407 test "$enable_shared" = yes || enable_static=yes
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12409 $as_echo "$enable_static" >&6; }
12416 ac_cpp='$CPP $CPPFLAGS'
12417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12437 ac_config_commands="$ac_config_commands libtool"
12442 # Only expand once:
12446 # Check for programs
12448 ac_cpp='$CPP $CPPFLAGS'
12449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12452 if test -n "$ac_tool_prefix"; then
12453 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12454 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12456 $as_echo_n "checking for $ac_word... " >&6; }
12457 if ${ac_cv_prog_CC+:} false; then :
12458 $as_echo_n "(cached) " >&6
12460 if test -n "$CC"; then
12461 ac_cv_prog_CC="$CC" # Let the user override the test.
12463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12464 for as_dir in $PATH
12467 test -z "$as_dir" && as_dir=.
12468 for ac_exec_ext in '' $ac_executable_extensions; do
12469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12470 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12481 if test -n "$CC"; then
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12483 $as_echo "$CC" >&6; }
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12486 $as_echo "no" >&6; }
12491 if test -z "$ac_cv_prog_CC"; then
12493 # Extract the first word of "gcc", so it can be a program name with args.
12494 set dummy gcc; ac_word=$2
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12496 $as_echo_n "checking for $ac_word... " >&6; }
12497 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12498 $as_echo_n "(cached) " >&6
12500 if test -n "$ac_ct_CC"; then
12501 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12504 for as_dir in $PATH
12507 test -z "$as_dir" && as_dir=.
12508 for ac_exec_ext in '' $ac_executable_extensions; do
12509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12510 ac_cv_prog_ac_ct_CC="gcc"
12511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12520 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12521 if test -n "$ac_ct_CC"; then
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12523 $as_echo "$ac_ct_CC" >&6; }
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12526 $as_echo "no" >&6; }
12529 if test "x$ac_ct_CC" = x; then
12532 case $cross_compiling:$ac_tool_warned in
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12536 ac_tool_warned=yes ;;
12541 CC="$ac_cv_prog_CC"
12544 if test -z "$CC"; then
12545 if test -n "$ac_tool_prefix"; then
12546 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12547 set dummy ${ac_tool_prefix}cc; ac_word=$2
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12549 $as_echo_n "checking for $ac_word... " >&6; }
12550 if ${ac_cv_prog_CC+:} false; then :
12551 $as_echo_n "(cached) " >&6
12553 if test -n "$CC"; then
12554 ac_cv_prog_CC="$CC" # Let the user override the test.
12556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12557 for as_dir in $PATH
12560 test -z "$as_dir" && as_dir=.
12561 for ac_exec_ext in '' $ac_executable_extensions; do
12562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12563 ac_cv_prog_CC="${ac_tool_prefix}cc"
12564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12574 if test -n "$CC"; then
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12576 $as_echo "$CC" >&6; }
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12579 $as_echo "no" >&6; }
12585 if test -z "$CC"; then
12586 # Extract the first word of "cc", so it can be a program name with args.
12587 set dummy cc; ac_word=$2
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12589 $as_echo_n "checking for $ac_word... " >&6; }
12590 if ${ac_cv_prog_CC+:} false; then :
12591 $as_echo_n "(cached) " >&6
12593 if test -n "$CC"; then
12594 ac_cv_prog_CC="$CC" # Let the user override the test.
12596 ac_prog_rejected=no
12597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12598 for as_dir in $PATH
12601 test -z "$as_dir" && as_dir=.
12602 for ac_exec_ext in '' $ac_executable_extensions; do
12603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12604 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12605 ac_prog_rejected=yes
12609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12616 if test $ac_prog_rejected = yes; then
12617 # We found a bogon in the path, so make sure we never use it.
12618 set dummy $ac_cv_prog_CC
12620 if test $# != 0; then
12621 # We chose a different compiler from the bogus one.
12622 # However, it has the same basename, so the bogon will be chosen
12623 # first if we set CC to just the basename; use the full file name.
12625 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12631 if test -n "$CC"; then
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12633 $as_echo "$CC" >&6; }
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12636 $as_echo "no" >&6; }
12641 if test -z "$CC"; then
12642 if test -n "$ac_tool_prefix"; then
12643 for ac_prog in cl.exe
12645 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12646 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12648 $as_echo_n "checking for $ac_word... " >&6; }
12649 if ${ac_cv_prog_CC+:} false; then :
12650 $as_echo_n "(cached) " >&6
12652 if test -n "$CC"; then
12653 ac_cv_prog_CC="$CC" # Let the user override the test.
12655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12656 for as_dir in $PATH
12659 test -z "$as_dir" && as_dir=.
12660 for ac_exec_ext in '' $ac_executable_extensions; do
12661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12662 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12673 if test -n "$CC"; then
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12675 $as_echo "$CC" >&6; }
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12678 $as_echo "no" >&6; }
12682 test -n "$CC" && break
12685 if test -z "$CC"; then
12687 for ac_prog in cl.exe
12689 # Extract the first word of "$ac_prog", so it can be a program name with args.
12690 set dummy $ac_prog; ac_word=$2
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12692 $as_echo_n "checking for $ac_word... " >&6; }
12693 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12694 $as_echo_n "(cached) " >&6
12696 if test -n "$ac_ct_CC"; then
12697 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12700 for as_dir in $PATH
12703 test -z "$as_dir" && as_dir=.
12704 for ac_exec_ext in '' $ac_executable_extensions; do
12705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12706 ac_cv_prog_ac_ct_CC="$ac_prog"
12707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12716 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12717 if test -n "$ac_ct_CC"; then
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12719 $as_echo "$ac_ct_CC" >&6; }
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12722 $as_echo "no" >&6; }
12726 test -n "$ac_ct_CC" && break
12729 if test "x$ac_ct_CC" = x; then
12732 case $cross_compiling:$ac_tool_warned in
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12736 ac_tool_warned=yes ;;
12745 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12747 as_fn_error $? "no acceptable C compiler found in \$PATH
12748 See \`config.log' for more details" "$LINENO" 5; }
12750 # Provide some information about the compiler.
12751 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12754 for ac_option in --version -v -V -qversion; do
12755 { { ac_try="$ac_compiler $ac_option >&5"
12756 case "(($ac_try" in
12757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12758 *) ac_try_echo=$ac_try;;
12760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12761 $as_echo "$ac_try_echo"; } >&5
12762 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12764 if test -s conftest.err; then
12766 ... rest of stderr output deleted ...
12767 10q' conftest.err >conftest.er1
12768 cat conftest.er1 >&5
12770 rm -f conftest.er1 conftest.err
12771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12772 test $ac_status = 0; }
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12776 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12777 if ${ac_cv_c_compiler_gnu+:} false; then :
12778 $as_echo_n "(cached) " >&6
12780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12781 /* end confdefs.h. */
12794 if ac_fn_c_try_compile "$LINENO"; then :
12795 ac_compiler_gnu=yes
12799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12800 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12804 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12805 if test $ac_compiler_gnu = yes; then
12810 ac_test_CFLAGS=${CFLAGS+set}
12811 ac_save_CFLAGS=$CFLAGS
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12813 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12814 if ${ac_cv_prog_cc_g+:} false; then :
12815 $as_echo_n "(cached) " >&6
12817 ac_save_c_werror_flag=$ac_c_werror_flag
12818 ac_c_werror_flag=yes
12821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12822 /* end confdefs.h. */
12832 if ac_fn_c_try_compile "$LINENO"; then :
12833 ac_cv_prog_cc_g=yes
12836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12837 /* end confdefs.h. */
12847 if ac_fn_c_try_compile "$LINENO"; then :
12850 ac_c_werror_flag=$ac_save_c_werror_flag
12852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12853 /* end confdefs.h. */
12863 if ac_fn_c_try_compile "$LINENO"; then :
12864 ac_cv_prog_cc_g=yes
12866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12871 ac_c_werror_flag=$ac_save_c_werror_flag
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12874 $as_echo "$ac_cv_prog_cc_g" >&6; }
12875 if test "$ac_test_CFLAGS" = set; then
12876 CFLAGS=$ac_save_CFLAGS
12877 elif test $ac_cv_prog_cc_g = yes; then
12878 if test "$GCC" = yes; then
12884 if test "$GCC" = yes; then
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12891 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12892 if ${ac_cv_prog_cc_c89+:} false; then :
12893 $as_echo_n "(cached) " >&6
12895 ac_cv_prog_cc_c89=no
12897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12898 /* end confdefs.h. */
12899 #include <stdarg.h>
12902 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12903 struct buf { int x; };
12904 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12905 static char *e (p, i)
12911 static char *f (char * (*g) (char **, int), char **p, ...)
12916 s = g (p, va_arg (v,int));
12921 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12922 function prototypes and stuff, but not '\xHH' hex character constants.
12923 These don't provoke an error unfortunately, instead are silently treated
12924 as 'x'. The following induces an error, until -std is added to get
12925 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12926 array size at least. It's necessary to write '\x00'==0 to get something
12927 that's true only with -std. */
12928 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12930 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12931 inside strings and character constants. */
12933 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12935 int test (int i, double x);
12936 struct s1 {int (*f) (int a);};
12937 struct s2 {int (*f) (double a);};
12938 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12944 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12949 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12950 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12952 CC="$ac_save_CC $ac_arg"
12953 if ac_fn_c_try_compile "$LINENO"; then :
12954 ac_cv_prog_cc_c89=$ac_arg
12956 rm -f core conftest.err conftest.$ac_objext
12957 test "x$ac_cv_prog_cc_c89" != "xno" && break
12959 rm -f conftest.$ac_ext
12964 case "x$ac_cv_prog_cc_c89" in
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12967 $as_echo "none needed" >&6; } ;;
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12970 $as_echo "unsupported" >&6; } ;;
12972 CC="$CC $ac_cv_prog_cc_c89"
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12974 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12976 if test "x$ac_cv_prog_cc_c89" != xno; then :
12981 ac_cpp='$CPP $CPPFLAGS'
12982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12987 ac_cpp='$CPP $CPPFLAGS'
12988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12992 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12993 if ${am_cv_prog_cc_c_o+:} false; then :
12994 $as_echo_n "(cached) " >&6
12996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12997 /* end confdefs.h. */
13007 # Make sure it works both with $CC and with simple cc.
13008 # Following AC_PROG_CC_C_O, we do the test twice because some
13009 # compilers refuse to overwrite an existing .o file with -o,
13010 # though they will create one.
13011 am_cv_prog_cc_c_o=yes
13012 for am_i in 1 2; do
13013 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
13014 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
13016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13017 (exit $ac_status); } \
13018 && test -f conftest2.$ac_objext; then
13021 am_cv_prog_cc_c_o=no
13025 rm -f core conftest*
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
13029 $as_echo "$am_cv_prog_cc_c_o" >&6; }
13030 if test "$am_cv_prog_cc_c_o" != yes; then
13031 # Losing compiler, so override with the script.
13032 # FIXME: It is wrong to rewrite CC.
13033 # But if we don't then we get into trouble of one sort or another.
13034 # A longer-term fix would be to have automake use am__CC in this case,
13035 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13036 CC="$am_aux_dir/compile $CC"
13039 ac_cpp='$CPP $CPPFLAGS'
13040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13045 depcc="$CC" am_compiler_list=
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13048 $as_echo_n "checking dependency style of $depcc... " >&6; }
13049 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13050 $as_echo_n "(cached) " >&6
13052 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13053 # We make a subdir and do the tests there. Otherwise we can end up
13054 # making bogus files that we don't know about and never remove. For
13055 # instance it was reported that on HP-UX the gcc test will end up
13056 # making a dummy file named 'D' -- because '-MD' means "put the output
13058 rm -rf conftest.dir
13060 # Copy depcomp to subdir because otherwise we won't find it if we're
13061 # using a relative directory.
13062 cp "$am_depcomp" conftest.dir
13064 # We will build objects and dependencies in a subdirectory because
13065 # it helps to detect inapplicable dependency modes. For instance
13066 # both Tru64's cc and ICC support -MD to output dependencies as a
13067 # side effect of compilation, but ICC will put the dependencies in
13068 # the current directory while Tru64 will put them in the object
13072 am_cv_CC_dependencies_compiler_type=none
13073 if test "$am_compiler_list" = ""; then
13074 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13076 am__universal=false
13077 case " $depcc " in #(
13078 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13081 for depmode in $am_compiler_list; do
13082 # Setup a source with many dependencies, because some compilers
13083 # like to wrap large dependency lists on column 80 (with \), and
13084 # we should not choose a depcomp mode which is confused by this.
13086 # We need to recreate these files for each test, as the compiler may
13087 # overwrite some of them when testing with obscure command lines.
13088 # This happens at least with the AIX C compiler.
13090 for i in 1 2 3 4 5 6; do
13091 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13092 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13093 # Solaris 10 /bin/sh.
13094 echo '/* dummy */' > sub/conftst$i.h
13096 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13098 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13099 # mode. It turns out that the SunPro C++ compiler does not properly
13100 # handle '-M -o', and we need to detect this. Also, some Intel
13101 # versions had trouble with output in subdirs.
13102 am__obj=sub/conftest.${OBJEXT-o}
13103 am__minus_obj="-o $am__obj"
13106 # This depmode causes a compiler race in universal mode.
13107 test "$am__universal" = false || continue
13110 # After this tag, mechanisms are not by side-effect, so they'll
13111 # only be used when explicitly requested.
13112 if test "x$enable_dependency_tracking" = xyes; then
13118 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13119 # This compiler won't grok '-c -o', but also, the minuso test has
13120 # not run yet. These depmodes are late enough in the game, and
13121 # so weak that their functioning should not be impacted.
13122 am__obj=conftest.${OBJEXT-o}
13127 if depmode=$depmode \
13128 source=sub/conftest.c object=$am__obj \
13129 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13130 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13131 >/dev/null 2>conftest.err &&
13132 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13133 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13134 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13135 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13136 # icc doesn't choke on unknown options, it will just issue warnings
13137 # or remarks (even with -Werror). So we grep stderr for any message
13138 # that says an option was ignored or not supported.
13139 # When given -MP, icc 7.0 and 7.1 complain thusly:
13140 # icc: Command line warning: ignoring option '-M'; no argument required
13141 # The diagnosis changed in icc 8.0:
13142 # icc: Command line remark: option '-MP' not supported
13143 if (grep 'ignoring option' conftest.err ||
13144 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13145 am_cv_CC_dependencies_compiler_type=$depmode
13152 rm -rf conftest.dir
13154 am_cv_CC_dependencies_compiler_type=none
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13159 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13160 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13163 test "x$enable_dependency_tracking" != xno \
13164 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13165 am__fastdepCC_TRUE=
13166 am__fastdepCC_FALSE='#'
13168 am__fastdepCC_TRUE='#'
13169 am__fastdepCC_FALSE=
13175 ac_cpp='$CXXCPP $CPPFLAGS'
13176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13179 if test -z "$CXX"; then
13180 if test -n "$CCC"; then
13183 if test -n "$ac_tool_prefix"; then
13184 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13186 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13187 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13189 $as_echo_n "checking for $ac_word... " >&6; }
13190 if ${ac_cv_prog_CXX+:} false; then :
13191 $as_echo_n "(cached) " >&6
13193 if test -n "$CXX"; then
13194 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13197 for as_dir in $PATH
13200 test -z "$as_dir" && as_dir=.
13201 for ac_exec_ext in '' $ac_executable_extensions; do
13202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13203 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13213 CXX=$ac_cv_prog_CXX
13214 if test -n "$CXX"; then
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13216 $as_echo "$CXX" >&6; }
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13219 $as_echo "no" >&6; }
13223 test -n "$CXX" && break
13226 if test -z "$CXX"; then
13228 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13230 # Extract the first word of "$ac_prog", so it can be a program name with args.
13231 set dummy $ac_prog; ac_word=$2
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13233 $as_echo_n "checking for $ac_word... " >&6; }
13234 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
13235 $as_echo_n "(cached) " >&6
13237 if test -n "$ac_ct_CXX"; then
13238 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13241 for as_dir in $PATH
13244 test -z "$as_dir" && as_dir=.
13245 for ac_exec_ext in '' $ac_executable_extensions; do
13246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13247 ac_cv_prog_ac_ct_CXX="$ac_prog"
13248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13257 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13258 if test -n "$ac_ct_CXX"; then
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13260 $as_echo "$ac_ct_CXX" >&6; }
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13263 $as_echo "no" >&6; }
13267 test -n "$ac_ct_CXX" && break
13270 if test "x$ac_ct_CXX" = x; then
13273 case $cross_compiling:$ac_tool_warned in
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13277 ac_tool_warned=yes ;;
13285 # Provide some information about the compiler.
13286 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13289 for ac_option in --version -v -V -qversion; do
13290 { { ac_try="$ac_compiler $ac_option >&5"
13291 case "(($ac_try" in
13292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13293 *) ac_try_echo=$ac_try;;
13295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13296 $as_echo "$ac_try_echo"; } >&5
13297 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13299 if test -s conftest.err; then
13301 ... rest of stderr output deleted ...
13302 10q' conftest.err >conftest.er1
13303 cat conftest.er1 >&5
13305 rm -f conftest.er1 conftest.err
13306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13307 test $ac_status = 0; }
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13311 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13312 if ${ac_cv_cxx_compiler_gnu+:} false; then :
13313 $as_echo_n "(cached) " >&6
13315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13316 /* end confdefs.h. */
13329 if ac_fn_cxx_try_compile "$LINENO"; then :
13330 ac_compiler_gnu=yes
13334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13335 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13339 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13340 if test $ac_compiler_gnu = yes; then
13345 ac_test_CXXFLAGS=${CXXFLAGS+set}
13346 ac_save_CXXFLAGS=$CXXFLAGS
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13348 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13349 if ${ac_cv_prog_cxx_g+:} false; then :
13350 $as_echo_n "(cached) " >&6
13352 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13353 ac_cxx_werror_flag=yes
13354 ac_cv_prog_cxx_g=no
13356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13357 /* end confdefs.h. */
13367 if ac_fn_cxx_try_compile "$LINENO"; then :
13368 ac_cv_prog_cxx_g=yes
13371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13372 /* end confdefs.h. */
13382 if ac_fn_cxx_try_compile "$LINENO"; then :
13385 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13388 /* end confdefs.h. */
13398 if ac_fn_cxx_try_compile "$LINENO"; then :
13399 ac_cv_prog_cxx_g=yes
13401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13406 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13409 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13410 if test "$ac_test_CXXFLAGS" = set; then
13411 CXXFLAGS=$ac_save_CXXFLAGS
13412 elif test $ac_cv_prog_cxx_g = yes; then
13413 if test "$GXX" = yes; then
13419 if test "$GXX" = yes; then
13426 ac_cpp='$CPP $CPPFLAGS'
13427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13431 depcc="$CXX" am_compiler_list=
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13434 $as_echo_n "checking dependency style of $depcc... " >&6; }
13435 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
13436 $as_echo_n "(cached) " >&6
13438 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13439 # We make a subdir and do the tests there. Otherwise we can end up
13440 # making bogus files that we don't know about and never remove. For
13441 # instance it was reported that on HP-UX the gcc test will end up
13442 # making a dummy file named 'D' -- because '-MD' means "put the output
13444 rm -rf conftest.dir
13446 # Copy depcomp to subdir because otherwise we won't find it if we're
13447 # using a relative directory.
13448 cp "$am_depcomp" conftest.dir
13450 # We will build objects and dependencies in a subdirectory because
13451 # it helps to detect inapplicable dependency modes. For instance
13452 # both Tru64's cc and ICC support -MD to output dependencies as a
13453 # side effect of compilation, but ICC will put the dependencies in
13454 # the current directory while Tru64 will put them in the object
13458 am_cv_CXX_dependencies_compiler_type=none
13459 if test "$am_compiler_list" = ""; then
13460 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13462 am__universal=false
13463 case " $depcc " in #(
13464 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13467 for depmode in $am_compiler_list; do
13468 # Setup a source with many dependencies, because some compilers
13469 # like to wrap large dependency lists on column 80 (with \), and
13470 # we should not choose a depcomp mode which is confused by this.
13472 # We need to recreate these files for each test, as the compiler may
13473 # overwrite some of them when testing with obscure command lines.
13474 # This happens at least with the AIX C compiler.
13476 for i in 1 2 3 4 5 6; do
13477 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13478 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13479 # Solaris 10 /bin/sh.
13480 echo '/* dummy */' > sub/conftst$i.h
13482 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13484 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13485 # mode. It turns out that the SunPro C++ compiler does not properly
13486 # handle '-M -o', and we need to detect this. Also, some Intel
13487 # versions had trouble with output in subdirs.
13488 am__obj=sub/conftest.${OBJEXT-o}
13489 am__minus_obj="-o $am__obj"
13492 # This depmode causes a compiler race in universal mode.
13493 test "$am__universal" = false || continue
13496 # After this tag, mechanisms are not by side-effect, so they'll
13497 # only be used when explicitly requested.
13498 if test "x$enable_dependency_tracking" = xyes; then
13504 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13505 # This compiler won't grok '-c -o', but also, the minuso test has
13506 # not run yet. These depmodes are late enough in the game, and
13507 # so weak that their functioning should not be impacted.
13508 am__obj=conftest.${OBJEXT-o}
13513 if depmode=$depmode \
13514 source=sub/conftest.c object=$am__obj \
13515 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13516 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13517 >/dev/null 2>conftest.err &&
13518 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13519 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13520 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13521 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13522 # icc doesn't choke on unknown options, it will just issue warnings
13523 # or remarks (even with -Werror). So we grep stderr for any message
13524 # that says an option was ignored or not supported.
13525 # When given -MP, icc 7.0 and 7.1 complain thusly:
13526 # icc: Command line warning: ignoring option '-M'; no argument required
13527 # The diagnosis changed in icc 8.0:
13528 # icc: Command line remark: option '-MP' not supported
13529 if (grep 'ignoring option' conftest.err ||
13530 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13531 am_cv_CXX_dependencies_compiler_type=$depmode
13538 rm -rf conftest.dir
13540 am_cv_CXX_dependencies_compiler_type=none
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13545 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13546 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13549 test "x$enable_dependency_tracking" != xno \
13550 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13551 am__fastdepCXX_TRUE=
13552 am__fastdepCXX_FALSE='#'
13554 am__fastdepCXX_TRUE='#'
13555 am__fastdepCXX_FALSE=
13561 func_stripname_cnf ()
13564 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13565 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13567 } # func_stripname_cnf
13569 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13570 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13571 (test "X$CXX" != "Xg++"))) ; then
13573 ac_cpp='$CXXCPP $CPPFLAGS'
13574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13578 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13579 if test -z "$CXXCPP"; then
13580 if ${ac_cv_prog_CXXCPP+:} false; then :
13581 $as_echo_n "(cached) " >&6
13583 # Double quotes because CXXCPP needs to be expanded
13584 for CXXCPP in "$CXX -E" "/lib/cpp"
13586 ac_preproc_ok=false
13587 for ac_cxx_preproc_warn_flag in '' yes
13589 # Use a header file that comes with gcc, so configuring glibc
13590 # with a fresh cross-compiler works.
13591 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13592 # <limits.h> exists even on freestanding compilers.
13593 # On the NeXT, cc -E runs the code through the compiler's parser,
13594 # not just through cpp. "Syntax error" is here to catch this case.
13595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13598 # include <limits.h>
13600 # include <assert.h>
13604 if ac_fn_cxx_try_cpp "$LINENO"; then :
13607 # Broken: fails on valid input.
13610 rm -f conftest.err conftest.i conftest.$ac_ext
13612 # OK, works on sane cases. Now check whether nonexistent headers
13613 # can be detected and how.
13614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13615 /* end confdefs.h. */
13616 #include <ac_nonexistent.h>
13618 if ac_fn_cxx_try_cpp "$LINENO"; then :
13619 # Broken: success on invalid input.
13622 # Passes both tests.
13626 rm -f conftest.err conftest.i conftest.$ac_ext
13629 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13630 rm -f conftest.i conftest.err conftest.$ac_ext
13631 if $ac_preproc_ok; then :
13636 ac_cv_prog_CXXCPP=$CXXCPP
13639 CXXCPP=$ac_cv_prog_CXXCPP
13641 ac_cv_prog_CXXCPP=$CXXCPP
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13644 $as_echo "$CXXCPP" >&6; }
13645 ac_preproc_ok=false
13646 for ac_cxx_preproc_warn_flag in '' yes
13648 # Use a header file that comes with gcc, so configuring glibc
13649 # with a fresh cross-compiler works.
13650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13651 # <limits.h> exists even on freestanding compilers.
13652 # On the NeXT, cc -E runs the code through the compiler's parser,
13653 # not just through cpp. "Syntax error" is here to catch this case.
13654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13657 # include <limits.h>
13659 # include <assert.h>
13663 if ac_fn_cxx_try_cpp "$LINENO"; then :
13666 # Broken: fails on valid input.
13669 rm -f conftest.err conftest.i conftest.$ac_ext
13671 # OK, works on sane cases. Now check whether nonexistent headers
13672 # can be detected and how.
13673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13675 #include <ac_nonexistent.h>
13677 if ac_fn_cxx_try_cpp "$LINENO"; then :
13678 # Broken: success on invalid input.
13681 # Passes both tests.
13685 rm -f conftest.err conftest.i conftest.$ac_ext
13688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13689 rm -f conftest.i conftest.err conftest.$ac_ext
13690 if $ac_preproc_ok; then :
13693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13695 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13696 See \`config.log' for more details" "$LINENO" 5; }
13700 ac_cpp='$CPP $CPPFLAGS'
13701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13706 _lt_caught_CXX_error=yes
13710 ac_cpp='$CXXCPP $CPPFLAGS'
13711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13715 archive_cmds_need_lc_CXX=no
13716 allow_undefined_flag_CXX=
13717 always_export_symbols_CXX=no
13718 archive_expsym_cmds_CXX=
13719 compiler_needs_object_CXX=no
13720 export_dynamic_flag_spec_CXX=
13721 hardcode_direct_CXX=no
13722 hardcode_direct_absolute_CXX=no
13723 hardcode_libdir_flag_spec_CXX=
13724 hardcode_libdir_separator_CXX=
13725 hardcode_minus_L_CXX=no
13726 hardcode_shlibpath_var_CXX=unsupported
13727 hardcode_automatic_CXX=no
13728 inherit_rpath_CXX=no
13730 module_expsym_cmds_CXX=
13731 link_all_deplibs_CXX=unknown
13732 old_archive_cmds_CXX=$old_archive_cmds
13733 reload_flag_CXX=$reload_flag
13734 reload_cmds_CXX=$reload_cmds
13735 no_undefined_flag_CXX=
13736 whole_archive_flag_spec_CXX=
13737 enable_shared_with_static_runtimes_CXX=no
13739 # Source file extension for C++ test sources.
13742 # Object file extension for compiled C++ test sources.
13746 # No sense in running all these tests if we already determined that
13747 # the CXX compiler isn't working. Some variables (like enable_shared)
13748 # are currently assumed to apply to all compilers on this platform,
13749 # and will be corrupted by setting them based on a non-working compiler.
13750 if test "$_lt_caught_CXX_error" != yes; then
13751 # Code to be used in simple compile tests
13752 lt_simple_compile_test_code="int some_variable = 0;"
13754 # Code to be used in simple link tests
13755 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13757 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13764 # If no C compiler was specified, use CC.
13767 # If no C compiler flags were specified, use CFLAGS.
13768 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13770 # Allow CC to be a program name with arguments.
13774 # save warnings/boilerplate of simple test code
13775 ac_outfile=conftest.$ac_objext
13776 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13777 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13778 _lt_compiler_boilerplate=`cat conftest.err`
13781 ac_outfile=conftest.$ac_objext
13782 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13783 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13784 _lt_linker_boilerplate=`cat conftest.err`
13788 # Allow CC to be a program name with arguments.
13790 lt_save_CFLAGS=$CFLAGS
13794 lt_save_with_gnu_ld=$with_gnu_ld
13795 lt_save_path_LD=$lt_cv_path_LD
13796 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13797 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13799 $as_unset lt_cv_prog_gnu_ld
13801 if test -n "${lt_cv_path_LDCXX+set}"; then
13802 lt_cv_path_LD=$lt_cv_path_LDCXX
13804 $as_unset lt_cv_path_LD
13806 test -z "${LDCXX+set}" || LD=$LDCXX
13811 for cc_temp in $compiler""; do
13813 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13814 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13819 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13822 if test -n "$compiler"; then
13823 # We don't want -fno-exception when compiling C++ code, so set the
13824 # no_builtin_flag separately
13825 if test "$GXX" = yes; then
13826 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13828 lt_prog_compiler_no_builtin_flag_CXX=
13831 if test "$GXX" = yes; then
13832 # Set up default GNU C++ configuration
13836 # Check whether --with-gnu-ld was given.
13837 if test "${with_gnu_ld+set}" = set; then :
13838 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13844 if test "$GCC" = yes; then
13845 # Check if gcc -print-prog-name=ld gives a path.
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13847 $as_echo_n "checking for ld used by $CC... " >&6; }
13850 # gcc leaves a trailing carriage return which upsets mingw
13851 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13853 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13856 # Accept absolute paths.
13858 re_direlt='/[^/][^/]*/\.\./'
13859 # Canonicalize the pathname of ld
13860 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13861 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13862 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13864 test -z "$LD" && LD="$ac_prog"
13867 # If it fails, then pretend we aren't using GCC.
13871 # If it is relative, then search for the first ld in PATH.
13872 with_gnu_ld=unknown
13875 elif test "$with_gnu_ld" = yes; then
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13877 $as_echo_n "checking for GNU ld... " >&6; }
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13880 $as_echo_n "checking for non-GNU ld... " >&6; }
13882 if ${lt_cv_path_LD+:} false; then :
13883 $as_echo_n "(cached) " >&6
13885 if test -z "$LD"; then
13886 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13887 for ac_dir in $PATH; do
13889 test -z "$ac_dir" && ac_dir=.
13890 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13891 lt_cv_path_LD="$ac_dir/$ac_prog"
13892 # Check to see if the program is GNU ld. I'd rather use --version,
13893 # but apparently some variants of GNU ld only accept -v.
13894 # Break only if it was the GNU/non-GNU ld that we prefer.
13895 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13896 *GNU* | *'with BFD'*)
13897 test "$with_gnu_ld" != no && break
13900 test "$with_gnu_ld" != yes && break
13907 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13911 LD="$lt_cv_path_LD"
13912 if test -n "$LD"; then
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13914 $as_echo "$LD" >&6; }
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13917 $as_echo "no" >&6; }
13919 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13921 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13922 if ${lt_cv_prog_gnu_ld+:} false; then :
13923 $as_echo_n "(cached) " >&6
13925 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13926 case `$LD -v 2>&1 </dev/null` in
13927 *GNU* | *'with BFD'*)
13928 lt_cv_prog_gnu_ld=yes
13931 lt_cv_prog_gnu_ld=no
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13936 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13937 with_gnu_ld=$lt_cv_prog_gnu_ld
13945 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13946 # archiving commands below assume that GNU ld is being used.
13947 if test "$with_gnu_ld" = yes; then
13948 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13949 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'
13951 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13952 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13954 # If archive_cmds runs LD, not CC, wlarc should be empty
13955 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13956 # investigate it a little bit more. (MM)
13959 # ancient GNU ld didn't support --whole-archive et. al.
13960 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13961 $GREP 'no-whole-archive' > /dev/null; then
13962 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13964 whole_archive_flag_spec_CXX=
13970 # A generic and very simple default shared library creation
13971 # command for GNU C++ for the case where it uses the native
13972 # linker, instead of GNU ld. If possible, this setting should
13973 # overridden to take advantage of the native linker features on
13974 # the platform it is being used on.
13975 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13978 # Commands to make compiler produce verbose output that lists
13979 # what "hidden" libraries, object files and flags are used when
13980 # linking a shared library.
13981 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13989 # PORTME: fill in a description of your system's C++ link characteristics
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13991 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13995 # FIXME: insert proper C++ library support
13999 if test "$host_cpu" = ia64; then
14000 # On IA64, the linker does run time linking by default, so we don't
14001 # have to do anything special.
14002 aix_use_runtimelinking=no
14003 exp_sym_flag='-Bexport'
14006 aix_use_runtimelinking=no
14008 # Test if we are trying to use run time linking or normal
14009 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14010 # need to do runtime linking.
14011 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14012 for ld_flag in $LDFLAGS; do
14015 aix_use_runtimelinking=yes
14023 exp_sym_flag='-bexport'
14024 no_entry_flag='-bnoentry'
14027 # When large executables or shared objects are built, AIX ld can
14028 # have problems creating the table of contents. If linking a library
14029 # or program results in "error TOC overflow" add -mminimal-toc to
14030 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14031 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14033 archive_cmds_CXX=''
14034 hardcode_direct_CXX=yes
14035 hardcode_direct_absolute_CXX=yes
14036 hardcode_libdir_separator_CXX=':'
14037 link_all_deplibs_CXX=yes
14038 file_list_spec_CXX='${wl}-f,'
14040 if test "$GXX" = yes; then
14041 case $host_os in aix4.[012]|aix4.[012].*)
14042 # We only want to do this on AIX 4.2 and lower, the check
14043 # below for broken collect2 doesn't work under 4.3+
14044 collect2name=`${CC} -print-prog-name=collect2`
14045 if test -f "$collect2name" &&
14046 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14048 # We have reworked collect2
14051 # We have old collect2
14052 hardcode_direct_CXX=unsupported
14053 # It fails to find uninstalled libraries when the uninstalled
14054 # path is not listed in the libpath. Setting hardcode_minus_L
14055 # to unsupported forces relinking
14056 hardcode_minus_L_CXX=yes
14057 hardcode_libdir_flag_spec_CXX='-L$libdir'
14058 hardcode_libdir_separator_CXX=
14061 shared_flag='-shared'
14062 if test "$aix_use_runtimelinking" = yes; then
14063 shared_flag="$shared_flag "'${wl}-G'
14067 if test "$host_cpu" = ia64; then
14068 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14069 # chokes on -Wl,-G. The following line is correct:
14072 if test "$aix_use_runtimelinking" = yes; then
14073 shared_flag='${wl}-G'
14075 shared_flag='${wl}-bM:SRE'
14080 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14081 # It seems that -bexpall does not export symbols beginning with
14082 # underscore (_), so it is better to generate a list of symbols to
14084 always_export_symbols_CXX=yes
14085 if test "$aix_use_runtimelinking" = yes; then
14086 # Warning - without using the other runtime loading flags (-brtl),
14087 # -berok will link without error, but may produce a broken library.
14088 allow_undefined_flag_CXX='-berok'
14089 # Determine the default libpath from the value encoded in an empty
14091 if test "${lt_cv_aix_libpath+set}" = set; then
14092 aix_libpath=$lt_cv_aix_libpath
14094 if ${lt_cv_aix_libpath__CXX+:} false; then :
14095 $as_echo_n "(cached) " >&6
14097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14098 /* end confdefs.h. */
14108 if ac_fn_cxx_try_link "$LINENO"; then :
14110 lt_aix_libpath_sed='
14111 /Import File Strings/,/^$/ {
14113 s/^0 *\([^ ]*\) *$/\1/
14117 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14118 # Check for a 64-bit object if we didn't find anything.
14119 if test -z "$lt_cv_aix_libpath__CXX"; then
14120 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14123 rm -f core conftest.err conftest.$ac_objext \
14124 conftest$ac_exeext conftest.$ac_ext
14125 if test -z "$lt_cv_aix_libpath__CXX"; then
14126 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14131 aix_libpath=$lt_cv_aix_libpath__CXX
14134 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14136 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"
14138 if test "$host_cpu" = ia64; then
14139 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14140 allow_undefined_flag_CXX="-z nodefs"
14141 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"
14143 # Determine the default libpath from the value encoded in an
14144 # empty executable.
14145 if test "${lt_cv_aix_libpath+set}" = set; then
14146 aix_libpath=$lt_cv_aix_libpath
14148 if ${lt_cv_aix_libpath__CXX+:} false; then :
14149 $as_echo_n "(cached) " >&6
14151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14152 /* end confdefs.h. */
14162 if ac_fn_cxx_try_link "$LINENO"; then :
14164 lt_aix_libpath_sed='
14165 /Import File Strings/,/^$/ {
14167 s/^0 *\([^ ]*\) *$/\1/
14171 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14172 # Check for a 64-bit object if we didn't find anything.
14173 if test -z "$lt_cv_aix_libpath__CXX"; then
14174 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14177 rm -f core conftest.err conftest.$ac_objext \
14178 conftest$ac_exeext conftest.$ac_ext
14179 if test -z "$lt_cv_aix_libpath__CXX"; then
14180 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14185 aix_libpath=$lt_cv_aix_libpath__CXX
14188 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14189 # Warning - without using the other run time loading flags,
14190 # -berok will link without error, but may produce a broken library.
14191 no_undefined_flag_CXX=' ${wl}-bernotok'
14192 allow_undefined_flag_CXX=' ${wl}-berok'
14193 if test "$with_gnu_ld" = yes; then
14194 # We only use this code for GNU lds that support --whole-archive.
14195 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14197 # Exported symbols can be pulled into shared objects from archives
14198 whole_archive_flag_spec_CXX='$convenience'
14200 archive_cmds_need_lc_CXX=yes
14201 # This is similar to how AIX traditionally builds its shared
14203 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'
14209 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14210 allow_undefined_flag_CXX=unsupported
14211 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14212 # support --undefined. This deserves some investigation. FIXME
14213 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14220 case $cc_basename in
14222 # FIXME: insert proper C++ library support
14228 cygwin* | mingw* | pw32* | cegcc*)
14229 case $GXX,$cc_basename in
14232 # hardcode_libdir_flag_spec is actually meaningless, as there is
14233 # no search path for DLLs.
14234 hardcode_libdir_flag_spec_CXX=' '
14235 allow_undefined_flag_CXX=unsupported
14236 always_export_symbols_CXX=yes
14237 file_list_spec_CXX='@'
14238 # Tell ltmain to make .lib files, not .a files.
14240 # Tell ltmain to make .dll files, not .so files.
14242 # FIXME: Setting linknames here is a bad hack.
14243 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
14244 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14245 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
14247 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
14249 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14251 # The linker will not automatically build a static lib if we build a DLL.
14252 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14253 enable_shared_with_static_runtimes_CXX=yes
14255 old_postinstall_cmds_CXX='chmod 644 $oldlib'
14256 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14257 lt_tool_outputfile="@TOOL_OUTPUT@"~
14258 case $lt_outputfile in
14261 lt_outputfile="$lt_outputfile.exe"
14262 lt_tool_outputfile="$lt_tool_outputfile.exe"
14265 func_to_tool_file "$lt_outputfile"~
14266 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
14267 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14268 $RM "$lt_outputfile.manifest";
14273 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14274 # as there is no search path for DLLs.
14275 hardcode_libdir_flag_spec_CXX='-L$libdir'
14276 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
14277 allow_undefined_flag_CXX=unsupported
14278 always_export_symbols_CXX=no
14279 enable_shared_with_static_runtimes_CXX=yes
14281 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14282 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'
14283 # If the export-symbols file already is a .def file (1st line
14284 # is EXPORTS), use it as is; otherwise, prepend...
14285 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14286 cp $export_symbols $output_objdir/$soname.def;
14288 echo EXPORTS > $output_objdir/$soname.def;
14289 cat $export_symbols >> $output_objdir/$soname.def;
14291 $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'
14298 darwin* | rhapsody*)
14301 archive_cmds_need_lc_CXX=no
14302 hardcode_direct_CXX=no
14303 hardcode_automatic_CXX=yes
14304 hardcode_shlibpath_var_CXX=unsupported
14305 if test "$lt_cv_ld_force_load" = "yes"; then
14306 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\"`'
14309 whole_archive_flag_spec_CXX=''
14311 link_all_deplibs_CXX=yes
14312 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14313 case $cc_basename in
14314 ifort*) _lt_dar_can_shared=yes ;;
14315 *) _lt_dar_can_shared=$GCC ;;
14317 if test "$_lt_dar_can_shared" = "yes"; then
14318 output_verbose_link_cmd=func_echo_all
14319 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}"
14320 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14321 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}"
14322 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}"
14323 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14324 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}"
14325 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}"
14335 case $cc_basename in
14337 # FIXME: insert proper C++ library support
14341 # Green Hills C++ Compiler
14342 # FIXME: insert proper C++ library support
14346 # FIXME: insert proper C++ library support
14353 # C++ shared libraries reported to be fairly broken before
14359 archive_cmds_need_lc_CXX=no
14362 freebsd* | dragonfly*)
14363 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14369 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14370 link_all_deplibs_CXX=yes
14374 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14375 hardcode_libdir_separator_CXX=:
14376 export_dynamic_flag_spec_CXX='${wl}-E'
14377 hardcode_direct_CXX=yes
14378 hardcode_minus_L_CXX=yes # Not in the search PATH,
14379 # but as the default
14380 # location of the library.
14382 case $cc_basename in
14384 # FIXME: insert proper C++ library support
14388 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'
14389 # Commands to make compiler produce verbose output that lists
14390 # what "hidden" libraries, object files and flags are used when
14391 # linking a shared library.
14393 # There doesn't appear to be a way to prevent this compiler from
14394 # explicitly linking system object files so we need to strip them
14395 # from the output so that they don't get included in the library
14397 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"'
14400 if test "$GXX" = yes; then
14401 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'
14403 # FIXME: insert proper C++ library support
14411 if test $with_gnu_ld = no; then
14412 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14413 hardcode_libdir_separator_CXX=:
14419 export_dynamic_flag_spec_CXX='${wl}-E'
14425 hardcode_direct_CXX=no
14426 hardcode_shlibpath_var_CXX=no
14429 hardcode_direct_CXX=yes
14430 hardcode_direct_absolute_CXX=yes
14431 hardcode_minus_L_CXX=yes # Not in the search PATH,
14432 # but as the default
14433 # location of the library.
14437 case $cc_basename in
14439 # FIXME: insert proper C++ library support
14445 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14448 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14451 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14454 # Commands to make compiler produce verbose output that lists
14455 # what "hidden" libraries, object files and flags are used when
14456 # linking a shared library.
14458 # There doesn't appear to be a way to prevent this compiler from
14459 # explicitly linking system object files so we need to strip them
14460 # from the output so that they don't get included in the library
14462 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"'
14465 if test "$GXX" = yes; then
14466 if test $with_gnu_ld = no; then
14469 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14472 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14475 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'
14480 # FIXME: insert proper C++ library support
14488 hardcode_direct_CXX=no
14489 hardcode_shlibpath_var_CXX=no
14490 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14491 export_dynamic_flag_spec_CXX='${wl}-E'
14492 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14493 # Instead, shared libraries are loaded at an image base (0x10000000 by
14494 # default) and relocated if they conflict, which is a slow very memory
14495 # consuming and fragmenting process. To avoid this, we pick a random,
14496 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14497 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14498 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'
14499 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'
14502 case $cc_basename in
14505 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'
14507 # Archives containing C++ object files must be created using
14508 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14509 # necessary to make sure instantiated templates are included
14511 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14514 if test "$GXX" = yes; then
14515 if test "$with_gnu_ld" = no; then
14516 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'
14518 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'
14521 link_all_deplibs_CXX=yes
14524 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14525 hardcode_libdir_separator_CXX=:
14526 inherit_rpath_CXX=yes
14529 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14530 case $cc_basename in
14532 # Kuck and Associates, Inc. (KAI) C++ Compiler
14534 # KCC will only create a shared library if the output file
14535 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14536 # to its proper name (with version) after linking.
14537 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'
14538 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'
14539 # Commands to make compiler produce verbose output that lists
14540 # what "hidden" libraries, object files and flags are used when
14541 # linking a shared library.
14543 # There doesn't appear to be a way to prevent this compiler from
14544 # explicitly linking system object files so we need to strip them
14545 # from the output so that they don't get included in the library
14547 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"'
14549 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14550 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14552 # Archives containing C++ object files must be created using
14553 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14554 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14559 # version 8.0 and above of icpc choke on multiply defined symbols
14560 # if we add $predep_objects and $postdep_objects, however 7.1 and
14561 # earlier do not add the objects themselves.
14562 case `$CC -V 2>&1` in
14564 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14565 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'
14567 *) # Version 8.0 or newer
14570 ia64*) tmp_idyn=' -i_dynamic';;
14572 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14573 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'
14576 archive_cmds_need_lc_CXX=no
14577 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14578 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14579 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14582 # Portland Group C++ compiler
14584 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14585 prelink_cmds_CXX='tpldir=Template.dir~
14587 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14588 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14589 old_archive_cmds_CXX='tpldir=Template.dir~
14591 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14592 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14594 archive_cmds_CXX='tpldir=Template.dir~
14596 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14597 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14598 archive_expsym_cmds_CXX='tpldir=Template.dir~
14600 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14601 $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'
14603 *) # Version 6 and above use weak symbols
14604 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14605 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'
14609 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14610 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14611 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'
14615 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14616 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'
14618 runpath_var=LD_RUN_PATH
14619 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14620 hardcode_libdir_separator_CXX=:
14622 # Commands to make compiler produce verbose output that lists
14623 # what "hidden" libraries, object files and flags are used when
14624 # linking a shared library.
14626 # There doesn't appear to be a way to prevent this compiler from
14627 # explicitly linking system object files so we need to strip them
14628 # from the output so that they don't get included in the library
14630 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'
14632 xl* | mpixl* | bgxl*)
14633 # IBM XL 8.0 on PPC, with GNU ld
14634 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14635 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14636 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14637 if test "x$supports_anon_versioning" = xyes; then
14638 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14639 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14640 echo "local: *; };" >> $output_objdir/$libname.ver~
14641 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14645 case `$CC -V 2>&1 | sed 5q` in
14648 no_undefined_flag_CXX=' -zdefs'
14649 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14650 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'
14651 hardcode_libdir_flag_spec_CXX='-R$libdir'
14652 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'
14653 compiler_needs_object_CXX=yes
14655 # Not sure whether something based on
14656 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14658 output_verbose_link_cmd='func_echo_all'
14660 # Archives containing C++ object files must be created using
14661 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14662 # necessary to make sure instantiated templates are included
14664 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14672 # FIXME: insert proper C++ library support
14677 # FIXME: insert proper C++ library support
14682 case $cc_basename in
14684 # FIXME: insert proper C++ library support
14688 # FIXME: insert proper C++ library support
14695 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14696 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14698 hardcode_libdir_flag_spec_CXX='-R$libdir'
14699 hardcode_direct_CXX=yes
14700 hardcode_shlibpath_var_CXX=no
14702 # Workaround some broken pre-1.5 toolchains
14703 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14711 # C++ shared libraries are fairly broken
14716 if test -f /usr/libexec/ld.so; then
14717 hardcode_direct_CXX=yes
14718 hardcode_shlibpath_var_CXX=no
14719 hardcode_direct_absolute_CXX=yes
14720 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14721 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14722 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14723 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14724 export_dynamic_flag_spec_CXX='${wl}-E'
14725 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14727 output_verbose_link_cmd=func_echo_all
14733 osf3* | osf4* | osf5*)
14734 case $cc_basename in
14736 # Kuck and Associates, Inc. (KAI) C++ Compiler
14738 # KCC will only create a shared library if the output file
14739 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14740 # to its proper name (with version) after linking.
14741 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'
14743 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14744 hardcode_libdir_separator_CXX=:
14746 # Archives containing C++ object files must be created using
14747 # the KAI C++ compiler.
14749 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14750 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14754 # Rational C++ 2.4.1
14755 # FIXME: insert proper C++ library support
14761 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14762 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'
14763 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14766 allow_undefined_flag_CXX=' -expect_unresolved \*'
14767 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'
14768 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14769 echo "-hidden">> $lib.exp~
14770 $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~
14772 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14776 hardcode_libdir_separator_CXX=:
14778 # Commands to make compiler produce verbose output that lists
14779 # what "hidden" libraries, object files and flags are used when
14780 # linking a shared library.
14782 # There doesn't appear to be a way to prevent this compiler from
14783 # explicitly linking system object files so we need to strip them
14784 # from the output so that they don't get included in the library
14786 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"'
14789 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14790 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14793 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'
14796 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'
14800 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14801 hardcode_libdir_separator_CXX=:
14803 # Commands to make compiler produce verbose output that lists
14804 # what "hidden" libraries, object files and flags are used when
14805 # linking a shared library.
14806 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14809 # FIXME: insert proper C++ library support
14817 # FIXME: insert proper C++ library support
14822 case $cc_basename in
14825 # FIXME: insert proper C++ library support
14830 # FIXME: insert proper C++ library support
14834 # FIXME: insert proper C++ library support
14841 case $cc_basename in
14843 # Sun C++ 4.2, 5.x and Centerline C++
14844 archive_cmds_need_lc_CXX=yes
14845 no_undefined_flag_CXX=' -zdefs'
14846 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14847 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14848 $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'
14850 hardcode_libdir_flag_spec_CXX='-R$libdir'
14851 hardcode_shlibpath_var_CXX=no
14853 solaris2.[0-5] | solaris2.[0-5].*) ;;
14855 # The compiler driver will combine and reorder linker options,
14856 # but understands `-z linker_flag'.
14857 # Supported since Solaris 2.6 (maybe 2.5.1?)
14858 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14861 link_all_deplibs_CXX=yes
14863 output_verbose_link_cmd='func_echo_all'
14865 # Archives containing C++ object files must be created using
14866 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14867 # necessary to make sure instantiated templates are included
14869 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14872 # Green Hills C++ Compiler
14873 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14875 # The C++ compiler must be used to create the archive.
14876 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14879 # GNU C++ compiler with Solaris linker
14880 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14881 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14882 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14883 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14884 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14885 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14887 # Commands to make compiler produce verbose output that lists
14888 # what "hidden" libraries, object files and flags are used when
14889 # linking a shared library.
14890 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14892 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14894 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14895 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14896 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14898 # Commands to make compiler produce verbose output that lists
14899 # what "hidden" libraries, object files and flags are used when
14900 # linking a shared library.
14901 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14904 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14906 solaris2.[0-5] | solaris2.[0-5].*) ;;
14908 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14916 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14917 no_undefined_flag_CXX='${wl}-z,text'
14918 archive_cmds_need_lc_CXX=no
14919 hardcode_shlibpath_var_CXX=no
14920 runpath_var='LD_RUN_PATH'
14922 case $cc_basename in
14924 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14925 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14928 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14929 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14934 sysv5* | sco3.2v5* | sco5v6*)
14935 # Note: We can NOT use -z defs as we might desire, because we do not
14936 # link with -lc, and that would cause any symbols used from libc to
14937 # always be unresolved, which means just about no library would
14938 # ever link correctly. If we're not using GNU ld we use -z text
14939 # though, which does catch some bad symbols but isn't as heavy-handed
14941 no_undefined_flag_CXX='${wl}-z,text'
14942 allow_undefined_flag_CXX='${wl}-z,nodefs'
14943 archive_cmds_need_lc_CXX=no
14944 hardcode_shlibpath_var_CXX=no
14945 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14946 hardcode_libdir_separator_CXX=':'
14947 link_all_deplibs_CXX=yes
14948 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14949 runpath_var='LD_RUN_PATH'
14951 case $cc_basename in
14953 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14954 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14955 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14956 '"$old_archive_cmds_CXX"
14957 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14958 '"$reload_cmds_CXX"
14961 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14962 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14968 case $cc_basename in
14970 # NonStop-UX NCC 3.20
14971 # FIXME: insert proper C++ library support
14975 # FIXME: insert proper C++ library support
14982 # FIXME: insert proper C++ library support
14987 # FIXME: insert proper C++ library support
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14993 $as_echo "$ld_shlibs_CXX" >&6; }
14994 test "$ld_shlibs_CXX" = no && can_build_shared=no
15000 ## There is no encapsulation within the following macros, do not change
15001 ## the running order or otherwise move them around unless you know exactly
15002 ## what you are doing...
15003 # Dependencies to place before and after the object being linked:
15004 predep_objects_CXX=
15005 postdep_objects_CXX=
15008 compiler_lib_search_path_CXX=
15010 cat > conftest.$ac_ext <<_LT_EOF
15014 Foo (void) { a = 0; }
15021 _lt_libdeps_save_CFLAGS=$CFLAGS
15022 case "$CC $CFLAGS " in #(
15023 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15024 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15025 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15028 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15029 (eval $ac_compile) 2>&5
15031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15032 test $ac_status = 0; }; then
15033 # Parse the compiler output and extract the necessary
15034 # objects, libraries and library flags.
15036 # Sentinel used to keep track of whether or not we are before
15037 # the conftest object file.
15038 pre_test_object_deps_done=no
15040 for p in `eval "$output_verbose_link_cmd"`; do
15041 case ${prev}${p} in
15044 # Some compilers place space between "-{L,R}" and the path.
15045 # Remove the space.
15046 if test $p = "-L" ||
15047 test $p = "-R"; then
15052 # Expand the sysroot to ease extracting the directories later.
15053 if test -z "$prev"; then
15055 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15056 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15057 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15061 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15063 if test "$pre_test_object_deps_done" = no; then
15066 # Internal compiler library paths should come after those
15067 # provided the user. The postdeps already come after the
15068 # user supplied libs so there is no need to process them.
15069 if test -z "$compiler_lib_search_path_CXX"; then
15070 compiler_lib_search_path_CXX="${prev}${p}"
15072 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15075 # The "-l" case would never come before the object being
15076 # linked, so don't bother handling this case.
15079 if test -z "$postdeps_CXX"; then
15080 postdeps_CXX="${prev}${p}"
15082 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15088 *.lto.$objext) ;; # Ignore GCC LTO objects
15090 # This assumes that the test object file only shows up
15091 # once in the compiler output.
15092 if test "$p" = "conftest.$objext"; then
15093 pre_test_object_deps_done=yes
15097 if test "$pre_test_object_deps_done" = no; then
15098 if test -z "$predep_objects_CXX"; then
15099 predep_objects_CXX="$p"
15101 predep_objects_CXX="$predep_objects_CXX $p"
15104 if test -z "$postdep_objects_CXX"; then
15105 postdep_objects_CXX="$p"
15107 postdep_objects_CXX="$postdep_objects_CXX $p"
15112 *) ;; # Ignore the rest.
15120 echo "libtool.m4: error: problem compiling CXX test program"
15123 $RM -f confest.$objext
15124 CFLAGS=$_lt_libdeps_save_CFLAGS
15126 # PORTME: override above test on systems where it is broken
15129 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15130 # hack all around it, let's just trust "g++" to DTRT.
15131 predep_objects_CXX=
15132 postdep_objects_CXX=
15137 case `$CC -V 2>&1 | sed 5q` in
15141 # The more standards-conforming stlport4 library is
15142 # incompatible with the Cstd library. Avoid specifying
15143 # it if it's in CXXFLAGS. Ignore libCrun as
15144 # -library=stlport4 depends on it.
15145 case " $CXX $CXXFLAGS " in
15146 *" -library=stlport4 "*)
15147 solaris_use_stlport4=yes
15151 if test "$solaris_use_stlport4" != yes; then
15152 postdeps_CXX='-library=Cstd -library=Crun'
15159 case $cc_basename in
15161 # The more standards-conforming stlport4 library is
15162 # incompatible with the Cstd library. Avoid specifying
15163 # it if it's in CXXFLAGS. Ignore libCrun as
15164 # -library=stlport4 depends on it.
15165 case " $CXX $CXXFLAGS " in
15166 *" -library=stlport4 "*)
15167 solaris_use_stlport4=yes
15171 # Adding this requires a known-good setup of shared libraries for
15172 # Sun compiler versions before 5.6, else PIC objects from an old
15173 # archive will be linked into the output, leading to subtle bugs.
15174 if test "$solaris_use_stlport4" != yes; then
15175 postdeps_CXX='-library=Cstd -library=Crun'
15183 case " $postdeps_CXX " in
15184 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15186 compiler_lib_search_dirs_CXX=
15187 if test -n "${compiler_lib_search_path_CXX}"; then
15188 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15221 lt_prog_compiler_wl_CXX=
15222 lt_prog_compiler_pic_CXX=
15223 lt_prog_compiler_static_CXX=
15226 # C++ specific cases for pic, static, wl, etc.
15227 if test "$GXX" = yes; then
15228 lt_prog_compiler_wl_CXX='-Wl,'
15229 lt_prog_compiler_static_CXX='-static'
15233 # All AIX code is PIC.
15234 if test "$host_cpu" = ia64; then
15235 # AIX 5 now supports IA64 processor
15236 lt_prog_compiler_static_CXX='-Bstatic'
15243 # see comment about AmigaOS4 .so support
15244 lt_prog_compiler_pic_CXX='-fPIC'
15247 # FIXME: we need at least 68020 code to build shared libraries, but
15248 # adding the `-m68020' flag to GCC prevents building anything better,
15250 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15255 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15256 # PIC is the default for these OSes.
15258 mingw* | cygwin* | os2* | pw32* | cegcc*)
15259 # This hack is so that the source file can tell whether it is being
15260 # built for inclusion in a dll (and should export symbols for example).
15261 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15262 # (--disable-auto-import) libraries
15263 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15265 darwin* | rhapsody*)
15266 # PIC is the default on this platform
15267 # Common symbols not allowed in MH_DYLIB files
15268 lt_prog_compiler_pic_CXX='-fno-common'
15271 # DJGPP does not support shared libraries at all
15272 lt_prog_compiler_pic_CXX=
15275 # PIC is the default for Haiku.
15276 # The "-static" flag exists, but is broken.
15277 lt_prog_compiler_static_CXX=
15280 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15281 # Instead, we relocate shared libraries at runtime.
15284 if test -d /usr/nec; then
15285 lt_prog_compiler_pic_CXX=-Kconform_pic
15289 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15290 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15291 # sets the default TLS model and affects inlining.
15296 lt_prog_compiler_pic_CXX='-fPIC'
15301 # QNX uses GNU C++, but need to define -shared option too, otherwise
15302 # it will coredump.
15303 lt_prog_compiler_pic_CXX='-fPIC -shared'
15306 lt_prog_compiler_pic_CXX='-fPIC'
15312 # All AIX code is PIC.
15313 if test "$host_cpu" = ia64; then
15314 # AIX 5 now supports IA64 processor
15315 lt_prog_compiler_static_CXX='-Bstatic'
15317 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15321 case $cc_basename in
15323 # Green Hills C++ Compiler
15324 # _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"
15328 mingw* | cygwin* | os2* | pw32* | cegcc*)
15329 # This hack is so that the source file can tell whether it is being
15330 # built for inclusion in a dll (and should export symbols for example).
15331 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15334 case $cc_basename in
15336 lt_prog_compiler_pic_CXX='-KPIC'
15339 # Green Hills C++ Compiler
15340 lt_prog_compiler_pic_CXX='-pic'
15346 freebsd* | dragonfly*)
15347 # FreeBSD uses GNU C++
15349 hpux9* | hpux10* | hpux11*)
15350 case $cc_basename in
15352 lt_prog_compiler_wl_CXX='-Wl,'
15353 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15354 if test "$host_cpu" != ia64; then
15355 lt_prog_compiler_pic_CXX='+Z'
15359 lt_prog_compiler_wl_CXX='-Wl,'
15360 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15366 lt_prog_compiler_pic_CXX='+Z'
15375 # This is c89, which is MS Visual C++ (no shared libs)
15376 # Anyone wants to do a port?
15378 irix5* | irix6* | nonstopux*)
15379 case $cc_basename in
15381 lt_prog_compiler_wl_CXX='-Wl,'
15382 lt_prog_compiler_static_CXX='-non_shared'
15383 # CC pic flag -KPIC is the default.
15389 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15390 case $cc_basename in
15393 lt_prog_compiler_wl_CXX='--backend -Wl,'
15394 lt_prog_compiler_pic_CXX='-fPIC'
15397 # old Intel C++ for x86_64 which still supported -KPIC.
15398 lt_prog_compiler_wl_CXX='-Wl,'
15399 lt_prog_compiler_pic_CXX='-KPIC'
15400 lt_prog_compiler_static_CXX='-static'
15403 # Intel C++, used to be incompatible with GCC.
15404 # ICC 10 doesn't accept -KPIC any more.
15405 lt_prog_compiler_wl_CXX='-Wl,'
15406 lt_prog_compiler_pic_CXX='-fPIC'
15407 lt_prog_compiler_static_CXX='-static'
15410 # Portland Group C++ compiler
15411 lt_prog_compiler_wl_CXX='-Wl,'
15412 lt_prog_compiler_pic_CXX='-fpic'
15413 lt_prog_compiler_static_CXX='-Bstatic'
15417 # Make sure the PIC flag is empty. It appears that all Alpha
15418 # Linux and Compaq Tru64 Unix objects are PIC.
15419 lt_prog_compiler_pic_CXX=
15420 lt_prog_compiler_static_CXX='-non_shared'
15422 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15423 # IBM XL 8.0, 9.0 on PPC and BlueGene
15424 lt_prog_compiler_wl_CXX='-Wl,'
15425 lt_prog_compiler_pic_CXX='-qpic'
15426 lt_prog_compiler_static_CXX='-qstaticlink'
15429 case `$CC -V 2>&1 | sed 5q` in
15432 lt_prog_compiler_pic_CXX='-KPIC'
15433 lt_prog_compiler_static_CXX='-Bstatic'
15434 lt_prog_compiler_wl_CXX='-Qoption ld '
15445 case $cc_basename in
15447 lt_prog_compiler_pic_CXX='-W c,exportall'
15453 netbsd* | netbsdelf*-gnu)
15456 # QNX uses GNU C++, but need to define -shared option too, otherwise
15457 # it will coredump.
15458 lt_prog_compiler_pic_CXX='-fPIC -shared'
15460 osf3* | osf4* | osf5*)
15461 case $cc_basename in
15463 lt_prog_compiler_wl_CXX='--backend -Wl,'
15466 # Rational C++ 2.4.1
15467 lt_prog_compiler_pic_CXX='-pic'
15470 # Digital/Compaq C++
15471 lt_prog_compiler_wl_CXX='-Wl,'
15472 # Make sure the PIC flag is empty. It appears that all Alpha
15473 # Linux and Compaq Tru64 Unix objects are PIC.
15474 lt_prog_compiler_pic_CXX=
15475 lt_prog_compiler_static_CXX='-non_shared'
15484 case $cc_basename in
15486 # Sun C++ 4.2, 5.x and Centerline C++
15487 lt_prog_compiler_pic_CXX='-KPIC'
15488 lt_prog_compiler_static_CXX='-Bstatic'
15489 lt_prog_compiler_wl_CXX='-Qoption ld '
15492 # Green Hills C++ Compiler
15493 lt_prog_compiler_pic_CXX='-PIC'
15500 case $cc_basename in
15503 lt_prog_compiler_pic_CXX='-pic'
15504 lt_prog_compiler_static_CXX='-Bstatic'
15508 lt_prog_compiler_pic_CXX='-pic'
15514 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15515 case $cc_basename in
15517 lt_prog_compiler_wl_CXX='-Wl,'
15518 lt_prog_compiler_pic_CXX='-KPIC'
15519 lt_prog_compiler_static_CXX='-Bstatic'
15524 case $cc_basename in
15526 # NonStop-UX NCC 3.20
15527 lt_prog_compiler_pic_CXX='-KPIC'
15536 lt_prog_compiler_can_build_shared_CXX=no
15542 # For platforms which do not support PIC, -DPIC is meaningless:
15544 lt_prog_compiler_pic_CXX=
15547 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15552 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15553 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15554 $as_echo_n "(cached) " >&6
15556 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15559 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15560 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15563 # Check to make sure the PIC flag actually works.
15565 if test -n "$lt_prog_compiler_pic_CXX"; then
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15567 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15568 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15569 $as_echo_n "(cached) " >&6
15571 lt_cv_prog_compiler_pic_works_CXX=no
15572 ac_outfile=conftest.$ac_objext
15573 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15574 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15575 # Insert the option either (1) after the last *FLAGS variable, or
15576 # (2) before a word containing "conftest.", or (3) at the end.
15577 # Note that $ac_compile itself does not contain backslashes and begins
15578 # with a dollar sign (not a hyphen), so the echo should work correctly.
15579 # The option is referenced via a variable to avoid confusing sed.
15580 lt_compile=`echo "$ac_compile" | $SED \
15581 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15582 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15583 -e 's:$: $lt_compiler_flag:'`
15584 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15585 (eval "$lt_compile" 2>conftest.err)
15587 cat conftest.err >&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 if (exit $ac_status) && test -s "$ac_outfile"; then
15590 # The compiler can only warn and ignore the option if not recognized
15591 # So say no if there are warnings other than the usual output.
15592 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15593 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15594 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15595 lt_cv_prog_compiler_pic_works_CXX=yes
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15602 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15604 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15605 case $lt_prog_compiler_pic_CXX in
15607 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15610 lt_prog_compiler_pic_CXX=
15611 lt_prog_compiler_can_build_shared_CXX=no
15621 # Check to make sure the static flag actually works.
15623 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15625 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15626 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15627 $as_echo_n "(cached) " >&6
15629 lt_cv_prog_compiler_static_works_CXX=no
15630 save_LDFLAGS="$LDFLAGS"
15631 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15632 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15633 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15634 # The linker can only warn and ignore the option if not recognized
15635 # So say no if there are warnings
15636 if test -s conftest.err; then
15637 # Append any errors to the config.log.
15638 cat conftest.err 1>&5
15639 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15640 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15641 if diff conftest.exp conftest.er2 >/dev/null; then
15642 lt_cv_prog_compiler_static_works_CXX=yes
15645 lt_cv_prog_compiler_static_works_CXX=yes
15649 LDFLAGS="$save_LDFLAGS"
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15653 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15655 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15658 lt_prog_compiler_static_CXX=
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15665 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15666 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15667 $as_echo_n "(cached) " >&6
15669 lt_cv_prog_compiler_c_o_CXX=no
15670 $RM -r conftest 2>/dev/null
15674 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15676 lt_compiler_flag="-o out/conftest2.$ac_objext"
15677 # Insert the option either (1) after the last *FLAGS variable, or
15678 # (2) before a word containing "conftest.", or (3) at the end.
15679 # Note that $ac_compile itself does not contain backslashes and begins
15680 # with a dollar sign (not a hyphen), so the echo should work correctly.
15681 lt_compile=`echo "$ac_compile" | $SED \
15682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15684 -e 's:$: $lt_compiler_flag:'`
15685 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15686 (eval "$lt_compile" 2>out/conftest.err)
15688 cat out/conftest.err >&5
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15692 # The compiler can only warn and ignore the option if not recognized
15693 # So say no if there are warnings
15694 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15695 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15696 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15697 lt_cv_prog_compiler_c_o_CXX=yes
15702 # SGI C++ compiler will create directory out/ii_files/ for
15703 # template instantiation
15704 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15705 $RM out/* && rmdir out
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15712 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15717 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15718 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15719 $as_echo_n "(cached) " >&6
15721 lt_cv_prog_compiler_c_o_CXX=no
15722 $RM -r conftest 2>/dev/null
15726 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15728 lt_compiler_flag="-o out/conftest2.$ac_objext"
15729 # Insert the option either (1) after the last *FLAGS variable, or
15730 # (2) before a word containing "conftest.", or (3) at the end.
15731 # Note that $ac_compile itself does not contain backslashes and begins
15732 # with a dollar sign (not a hyphen), so the echo should work correctly.
15733 lt_compile=`echo "$ac_compile" | $SED \
15734 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15735 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15736 -e 's:$: $lt_compiler_flag:'`
15737 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15738 (eval "$lt_compile" 2>out/conftest.err)
15740 cat out/conftest.err >&5
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15744 # The compiler can only warn and ignore the option if not recognized
15745 # So say no if there are warnings
15746 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15747 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15748 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15749 lt_cv_prog_compiler_c_o_CXX=yes
15754 # SGI C++ compiler will create directory out/ii_files/ for
15755 # template instantiation
15756 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15757 $RM out/* && rmdir out
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15764 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15769 hard_links="nottested"
15770 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15771 # do not overwrite the value of need_locks provided by the user
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15773 $as_echo_n "checking if we can lock with hard links... " >&6; }
15776 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15778 ln conftest.a conftest.b 2>&5 || hard_links=no
15779 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15781 $as_echo "$hard_links" >&6; }
15782 if test "$hard_links" = no; then
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15784 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15794 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15796 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15797 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15800 # If we're using GNU nm, then we don't want the "-C" option.
15801 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15802 # Also, AIX nm treats weak defined symbols like other global defined
15803 # symbols, whereas GNU nm marks them as "W".
15804 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15805 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'
15807 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'
15811 export_symbols_cmds_CXX="$ltdll_cmds"
15813 cygwin* | mingw* | cegcc*)
15814 case $cc_basename in
15816 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15819 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'
15820 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15824 linux* | k*bsd*-gnu | gnu*)
15825 link_all_deplibs_CXX=no
15828 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15833 $as_echo "$ld_shlibs_CXX" >&6; }
15834 test "$ld_shlibs_CXX" = no && can_build_shared=no
15836 with_gnu_ld_CXX=$with_gnu_ld
15844 # Do we need to explicitly link libc?
15846 case "x$archive_cmds_need_lc_CXX" in
15848 # Assume -lc should be added
15849 archive_cmds_need_lc_CXX=yes
15851 if test "$enable_shared" = yes && test "$GCC" = yes; then
15852 case $archive_cmds_CXX in
15854 # FIXME: we may have to deal with multi-command sequences.
15857 # Test whether the compiler implicitly links with -lc since on some
15858 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15859 # to ld, don't add -lc before -lgcc.
15860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15861 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15862 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15863 $as_echo_n "(cached) " >&6
15866 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15868 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15869 (eval $ac_compile) 2>&5
15871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15872 test $ac_status = 0; } 2>conftest.err; then
15875 libobjs=conftest.$ac_objext
15877 wl=$lt_prog_compiler_wl_CXX
15878 pic_flag=$lt_prog_compiler_pic_CXX
15884 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15885 allow_undefined_flag_CXX=
15886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15887 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15890 test $ac_status = 0; }
15892 lt_cv_archive_cmds_need_lc_CXX=no
15894 lt_cv_archive_cmds_need_lc_CXX=yes
15896 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15898 cat conftest.err 1>&5
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15904 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15905 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15974 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15976 library_names_spec=
15977 libname_spec='lib$name'
15981 postuninstall_cmds=
15985 shlibpath_overrides_runpath=unknown
15987 dynamic_linker="$host_os ld.so"
15988 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15989 need_lib_prefix=unknown
15990 hardcode_into_libs=no
15992 # when you set need_version to no, make sure it does not cause -set_version
15993 # flags to be left without arguments
15994 need_version=unknown
15998 version_type=linux # correct to gnu/linux during the next big refactor
15999 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16000 shlibpath_var=LIBPATH
16002 # AIX 3 has no versioning support, so we append a major version to the name.
16003 soname_spec='${libname}${release}${shared_ext}$major'
16007 version_type=linux # correct to gnu/linux during the next big refactor
16010 hardcode_into_libs=yes
16011 if test "$host_cpu" = ia64; then
16012 # AIX 5 supports IA64
16013 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16014 shlibpath_var=LD_LIBRARY_PATH
16016 # With GCC up to 2.95.x, collect2 would create an import file
16017 # for dependence libraries. The import file would start with
16018 # the line `#! .'. This would cause the generated library to
16019 # depend on `.', always an invalid library. This was fixed in
16020 # development snapshots of GCC prior to 3.0.
16022 aix4 | aix4.[01] | aix4.[01].*)
16023 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16025 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16028 can_build_shared=no
16032 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16033 # soname into executable. Probably we can add versioning support to
16034 # collect2, so additional links can be useful in future.
16035 if test "$aix_use_runtimelinking" = yes; then
16036 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16037 # instead of lib<name>.a to let people know that these are not
16038 # typical AIX shared libraries.
16039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16041 # We preserve .a as extension for shared libraries through AIX4.2
16042 # and later when we are not doing run time linking.
16043 library_names_spec='${libname}${release}.a $libname.a'
16044 soname_spec='${libname}${release}${shared_ext}$major'
16046 shlibpath_var=LIBPATH
16053 # Since July 2007 AmigaOS4 officially supports .so libraries.
16054 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16058 library_names_spec='$libname.ixlibrary $libname.a'
16059 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16060 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'
16066 library_names_spec='${libname}${shared_ext}'
16067 dynamic_linker="$host_os ld.so"
16068 shlibpath_var=LIBRARY_PATH
16072 version_type=linux # correct to gnu/linux during the next big refactor
16074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16075 soname_spec='${libname}${release}${shared_ext}$major'
16076 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16077 shlibpath_var=LD_LIBRARY_PATH
16078 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16079 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16080 # the default ld.so.conf also contains /usr/contrib/lib and
16081 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16082 # libtool to hard-code these into programs
16085 cygwin* | mingw* | pw32* | cegcc*)
16086 version_type=windows
16091 case $GCC,$cc_basename in
16094 library_names_spec='$libname.dll.a'
16095 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16096 postinstall_cmds='base_file=`basename \${file}`~
16097 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16098 dldir=$destdir/`dirname \$dlpath`~
16099 test -d \$dldir || mkdir -p \$dldir~
16100 $install_prog $dir/$dlname \$dldir/$dlname~
16101 chmod a+x \$dldir/$dlname~
16102 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16103 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16105 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16106 dlpath=$dir/\$dldll~
16108 shlibpath_overrides_runpath=yes
16112 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16113 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16117 # MinGW DLLs use traditional 'lib' prefix
16118 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16121 # pw32 DLLs use 'pw' prefix rather than 'lib'
16122 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16125 dynamic_linker='Win32 ld.exe'
16130 libname_spec='$name'
16131 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16132 library_names_spec='${libname}.dll.lib'
16136 sys_lib_search_path_spec=
16139 for lt_path in $LIB
16142 # Let DOS variable expansion print the short 8.3 style file name.
16143 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16144 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16147 # Convert to MSYS style.
16148 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16151 # Convert to unix form, then to dos form, then back to unix form
16152 # but this time dos style (no spaces!) so that the unix form looks
16153 # like /cygdrive/c/PROGRA~1:/cygdr...
16154 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16155 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16156 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16159 sys_lib_search_path_spec="$LIB"
16160 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16161 # It is most probably a Windows format PATH.
16162 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16164 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16166 # FIXME: find the short name or the path components, as spaces are
16167 # common. (e.g. "Program Files" -> "PROGRA~1")
16171 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16172 postinstall_cmds='base_file=`basename \${file}`~
16173 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16174 dldir=$destdir/`dirname \$dlpath`~
16175 test -d \$dldir || mkdir -p \$dldir~
16176 $install_prog $dir/$dlname \$dldir/$dlname'
16177 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16178 dlpath=$dir/\$dldll~
16180 shlibpath_overrides_runpath=yes
16181 dynamic_linker='Win32 link.exe'
16185 # Assume MSVC wrapper
16186 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16187 dynamic_linker='Win32 ld.exe'
16190 # FIXME: first we should search . and the directory the executable is in
16194 darwin* | rhapsody*)
16195 dynamic_linker="$host_os dyld"
16196 version_type=darwin
16199 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16200 soname_spec='${libname}${release}${major}$shared_ext'
16201 shlibpath_overrides_runpath=yes
16202 shlibpath_var=DYLD_LIBRARY_PATH
16203 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16205 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16209 version_type=linux # correct to gnu/linux during the next big refactor
16212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16213 soname_spec='${libname}${release}${shared_ext}$major'
16214 shlibpath_var=LD_LIBRARY_PATH
16217 freebsd* | dragonfly*)
16218 # DragonFly does not have aout. When/if they implement a new
16219 # versioning mechanism, adjust this.
16220 if test -x /usr/bin/objformat; then
16221 objformat=`/usr/bin/objformat`
16224 freebsd[23].*) objformat=aout ;;
16225 *) objformat=elf ;;
16228 version_type=freebsd-$objformat
16229 case $version_type in
16231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16236 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16240 shlibpath_var=LD_LIBRARY_PATH
16243 shlibpath_overrides_runpath=yes
16245 freebsd3.[01]* | freebsdelf3.[01]*)
16246 shlibpath_overrides_runpath=yes
16247 hardcode_into_libs=yes
16249 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16250 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16251 shlibpath_overrides_runpath=no
16252 hardcode_into_libs=yes
16254 *) # from 4.6 on, and DragonFly
16255 shlibpath_overrides_runpath=yes
16256 hardcode_into_libs=yes
16262 version_type=linux # correct to gnu/linux during the next big refactor
16265 dynamic_linker="$host_os runtime_loader"
16266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16267 soname_spec='${libname}${release}${shared_ext}$major'
16268 shlibpath_var=LIBRARY_PATH
16269 shlibpath_overrides_runpath=yes
16270 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16271 hardcode_into_libs=yes
16274 hpux9* | hpux10* | hpux11*)
16275 # Give a soname corresponding to the major version so that dld.sl refuses to
16276 # link against other versions.
16283 hardcode_into_libs=yes
16284 dynamic_linker="$host_os dld.so"
16285 shlibpath_var=LD_LIBRARY_PATH
16286 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16288 soname_spec='${libname}${release}${shared_ext}$major'
16289 if test "X$HPUX_IA64_MODE" = X32; then
16290 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16292 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16294 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16298 hardcode_into_libs=yes
16299 dynamic_linker="$host_os dld.sl"
16300 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16301 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16303 soname_spec='${libname}${release}${shared_ext}$major'
16304 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16305 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16309 dynamic_linker="$host_os dld.sl"
16310 shlibpath_var=SHLIB_PATH
16311 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16313 soname_spec='${libname}${release}${shared_ext}$major'
16316 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16317 postinstall_cmds='chmod 555 $lib'
16318 # or fails outright, so override atomically:
16319 install_override_mode=555
16323 version_type=linux # correct to gnu/linux during the next big refactor
16326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16327 soname_spec='${libname}${release}${shared_ext}$major'
16328 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16329 shlibpath_var=LD_LIBRARY_PATH
16330 shlibpath_overrides_runpath=no
16331 hardcode_into_libs=yes
16334 irix5* | irix6* | nonstopux*)
16336 nonstopux*) version_type=nonstopux ;;
16338 if test "$lt_cv_prog_gnu_ld" = yes; then
16339 version_type=linux # correct to gnu/linux during the next big refactor
16346 soname_spec='${libname}${release}${shared_ext}$major'
16347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16349 irix5* | nonstopux*)
16350 libsuff= shlibsuff=
16353 case $LD in # libtool.m4 will add one of these switches to LD
16354 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16355 libsuff= shlibsuff= libmagic=32-bit;;
16356 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16357 libsuff=32 shlibsuff=N32 libmagic=N32;;
16358 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16359 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16360 *) libsuff= shlibsuff= libmagic=never-match;;
16364 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16365 shlibpath_overrides_runpath=no
16366 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16367 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16368 hardcode_into_libs=yes
16371 # No shared lib support for Linux oldld, aout, or coff.
16372 linux*oldld* | linux*aout* | linux*coff*)
16376 # This must be glibc/ELF.
16377 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16378 version_type=linux # correct to gnu/linux during the next big refactor
16381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16382 soname_spec='${libname}${release}${shared_ext}$major'
16383 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16384 shlibpath_var=LD_LIBRARY_PATH
16385 shlibpath_overrides_runpath=no
16387 # Some binutils ld are patched to set DT_RUNPATH
16388 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16389 $as_echo_n "(cached) " >&6
16391 lt_cv_shlibpath_overrides_runpath=no
16392 save_LDFLAGS=$LDFLAGS
16393 save_libdir=$libdir
16394 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16395 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16397 /* end confdefs.h. */
16407 if ac_fn_cxx_try_link "$LINENO"; then :
16408 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16409 lt_cv_shlibpath_overrides_runpath=yes
16412 rm -f core conftest.err conftest.$ac_objext \
16413 conftest$ac_exeext conftest.$ac_ext
16414 LDFLAGS=$save_LDFLAGS
16415 libdir=$save_libdir
16419 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16421 # This implies no fast_install, which is unacceptable.
16422 # Some rework will be needed to allow for fast_install
16423 # before this can be enabled.
16424 hardcode_into_libs=yes
16426 # Append ld.so.conf contents to the search path
16427 if test -f /etc/ld.so.conf; then
16428 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' ' '`
16429 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16432 # We used to test for /lib/ld.so.1 and disable shared libraries on
16433 # powerpc, because MkLinux only supported shared libraries with the
16434 # GNU dynamic linker. Since this was broken with cross compilers,
16435 # most powerpc-linux boxes support dynamic linking these days and
16436 # people can always --disable-shared, the test was removed, and we
16437 # assume the GNU/Linux dynamic linker is in use.
16438 dynamic_linker='GNU/Linux ld.so'
16445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16446 soname_spec='${libname}${release}${shared_ext}$major'
16447 shlibpath_var=LD_LIBRARY_PATH
16448 shlibpath_overrides_runpath=no
16449 hardcode_into_libs=yes
16450 dynamic_linker='NetBSD ld.elf_so'
16457 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16459 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16460 dynamic_linker='NetBSD (a.out) ld.so'
16462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16463 soname_spec='${libname}${release}${shared_ext}$major'
16464 dynamic_linker='NetBSD ld.elf_so'
16466 shlibpath_var=LD_LIBRARY_PATH
16467 shlibpath_overrides_runpath=yes
16468 hardcode_into_libs=yes
16472 version_type=linux # correct to gnu/linux during the next big refactor
16473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16474 shlibpath_var=LD_LIBRARY_PATH
16475 shlibpath_overrides_runpath=yes
16482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16483 soname_spec='${libname}${release}${shared_ext}$major'
16484 shlibpath_var=LD_LIBRARY_PATH
16485 shlibpath_overrides_runpath=no
16486 hardcode_into_libs=yes
16487 dynamic_linker='ldqnx.so'
16492 sys_lib_dlsearch_path_spec="/usr/lib"
16494 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16496 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16497 *) need_version=no ;;
16499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16500 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16501 shlibpath_var=LD_LIBRARY_PATH
16502 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16504 openbsd2.[89] | openbsd2.[89].*)
16505 shlibpath_overrides_runpath=no
16508 shlibpath_overrides_runpath=yes
16512 shlibpath_overrides_runpath=yes
16517 libname_spec='$name'
16520 library_names_spec='$libname${shared_ext} $libname.a'
16521 dynamic_linker='OS/2 ld.exe'
16522 shlibpath_var=LIBPATH
16525 osf3* | osf4* | osf5*)
16529 soname_spec='${libname}${release}${shared_ext}$major'
16530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16531 shlibpath_var=LD_LIBRARY_PATH
16532 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16533 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16541 version_type=linux # correct to gnu/linux during the next big refactor
16544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16545 soname_spec='${libname}${release}${shared_ext}$major'
16546 shlibpath_var=LD_LIBRARY_PATH
16547 shlibpath_overrides_runpath=yes
16548 hardcode_into_libs=yes
16549 # ldd complains unless libraries are executable
16550 postinstall_cmds='chmod +x $lib'
16555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16556 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16557 shlibpath_var=LD_LIBRARY_PATH
16558 shlibpath_overrides_runpath=yes
16559 if test "$with_gnu_ld" = yes; then
16566 version_type=linux # correct to gnu/linux during the next big refactor
16567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16568 soname_spec='${libname}${release}${shared_ext}$major'
16569 shlibpath_var=LD_LIBRARY_PATH
16570 case $host_vendor in
16572 shlibpath_overrides_runpath=no
16574 runpath_var=LD_RUN_PATH
16582 shlibpath_overrides_runpath=no
16583 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16589 if test -d /usr/nec ;then
16590 version_type=linux # correct to gnu/linux during the next big refactor
16591 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16592 soname_spec='$libname${shared_ext}.$major'
16593 shlibpath_var=LD_LIBRARY_PATH
16597 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16598 version_type=freebsd-elf
16601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16602 soname_spec='${libname}${release}${shared_ext}$major'
16603 shlibpath_var=LD_LIBRARY_PATH
16604 shlibpath_overrides_runpath=yes
16605 hardcode_into_libs=yes
16606 if test "$with_gnu_ld" = yes; then
16607 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16609 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16612 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16616 sys_lib_dlsearch_path_spec='/usr/lib'
16620 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16621 version_type=linux # correct to gnu/linux during the next big refactor
16624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16625 shlibpath_var=LD_LIBRARY_PATH
16626 shlibpath_overrides_runpath=no
16627 hardcode_into_libs=yes
16631 version_type=linux # correct to gnu/linux during the next big refactor
16632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16633 soname_spec='${libname}${release}${shared_ext}$major'
16634 shlibpath_var=LD_LIBRARY_PATH
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16642 $as_echo "$dynamic_linker" >&6; }
16643 test "$dynamic_linker" = no && can_build_shared=no
16645 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16646 if test "$GCC" = yes; then
16647 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16650 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16651 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16653 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16654 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16695 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16696 hardcode_action_CXX=
16697 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16698 test -n "$runpath_var_CXX" ||
16699 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16701 # We can hardcode non-existent directories.
16702 if test "$hardcode_direct_CXX" != no &&
16703 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16704 # have to relink, otherwise we might link with an installed library
16705 # when we should be linking with a yet-to-be-installed one
16706 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16707 test "$hardcode_minus_L_CXX" != no; then
16708 # Linking always hardcodes the temporary library directory.
16709 hardcode_action_CXX=relink
16711 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16712 hardcode_action_CXX=immediate
16715 # We cannot hardcode anything, or else we can only hardcode existing
16717 hardcode_action_CXX=unsupported
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16720 $as_echo "$hardcode_action_CXX" >&6; }
16722 if test "$hardcode_action_CXX" = relink ||
16723 test "$inherit_rpath_CXX" = yes; then
16724 # Fast installation is not supported
16725 enable_fast_install=no
16726 elif test "$shlibpath_overrides_runpath" = yes ||
16727 test "$enable_shared" = no; then
16728 # Fast installation is not necessary
16729 enable_fast_install=needless
16738 fi # test -n "$compiler"
16741 CFLAGS=$lt_save_CFLAGS
16745 with_gnu_ld=$lt_save_with_gnu_ld
16746 lt_cv_path_LDCXX=$lt_cv_path_LD
16747 lt_cv_path_LD=$lt_save_path_LD
16748 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16749 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16750 fi # test "$_lt_caught_CXX_error" != yes
16753 ac_cpp='$CPP $CPPFLAGS'
16754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16761 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16762 if test -n "$ac_tool_prefix"; then
16763 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16764 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16766 $as_echo_n "checking for $ac_word... " >&6; }
16767 if ${ac_cv_path_PKG_CONFIG+:} false; then :
16768 $as_echo_n "(cached) " >&6
16770 case $PKG_CONFIG in
16772 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16776 for as_dir in $PATH
16779 test -z "$as_dir" && as_dir=.
16780 for ac_exec_ext in '' $ac_executable_extensions; do
16781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16782 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16793 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16794 if test -n "$PKG_CONFIG"; then
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16796 $as_echo "$PKG_CONFIG" >&6; }
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16799 $as_echo "no" >&6; }
16804 if test -z "$ac_cv_path_PKG_CONFIG"; then
16805 ac_pt_PKG_CONFIG=$PKG_CONFIG
16806 # Extract the first word of "pkg-config", so it can be a program name with args.
16807 set dummy pkg-config; ac_word=$2
16808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16809 $as_echo_n "checking for $ac_word... " >&6; }
16810 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16811 $as_echo_n "(cached) " >&6
16813 case $ac_pt_PKG_CONFIG in
16815 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16819 for as_dir in $PATH
16822 test -z "$as_dir" && as_dir=.
16823 for ac_exec_ext in '' $ac_executable_extensions; do
16824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16825 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16836 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16837 if test -n "$ac_pt_PKG_CONFIG"; then
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16839 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16842 $as_echo "no" >&6; }
16845 if test "x$ac_pt_PKG_CONFIG" = x; then
16848 case $cross_compiling:$ac_tool_warned in
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16851 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16852 ac_tool_warned=yes ;;
16854 PKG_CONFIG=$ac_pt_PKG_CONFIG
16857 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16861 if test -n "$PKG_CONFIG"; then
16862 _pkg_min_version=0.20
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16864 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16865 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16867 $as_echo "yes" >&6; }
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16870 $as_echo "no" >&6; }
16876 RAGEL=${RAGEL-"${am_missing_run}ragel"}
16879 GIT=${GIT-"${am_missing_run}git"}
16901 HB_LIBTOOL_VERSION_INFO=10200:7:10200
16910 gtk_doc_requires="gtk-doc >= 1.15"
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
16912 $as_echo_n "checking for gtk-doc... " >&6; }
16913 if test -n "$PKG_CONFIG" && \
16914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
16915 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
16917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16918 test $ac_status = 0; }; then
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
16924 $as_echo "$have_gtk_doc" >&6; }
16926 if test "$have_gtk_doc" = "no"; then
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
16928 You will not be able to create source packages with 'make dist'
16929 because $gtk_doc_requires is not found." >&5
16930 $as_echo "$as_me: WARNING:
16931 You will not be able to create source packages with 'make dist'
16932 because $gtk_doc_requires is not found." >&2;}
16935 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
16936 set dummy gtkdoc-check; ac_word=$2
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16938 $as_echo_n "checking for $ac_word... " >&6; }
16939 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
16940 $as_echo_n "(cached) " >&6
16942 if test -n "$GTKDOC_CHECK"; then
16943 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
16945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16946 for as_dir in $PATH
16949 test -z "$as_dir" && as_dir=.
16950 for ac_exec_ext in '' $ac_executable_extensions; do
16951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16952 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
16953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16962 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
16963 if test -n "$GTKDOC_CHECK"; then
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
16965 $as_echo "$GTKDOC_CHECK" >&6; }
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16968 $as_echo "no" >&6; }
16972 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
16973 set dummy gtkdoc-check; ac_word=$2
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16975 $as_echo_n "checking for $ac_word... " >&6; }
16976 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
16977 $as_echo_n "(cached) " >&6
16979 case $GTKDOC_CHECK_PATH in
16981 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
16984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16985 for as_dir in $PATH
16988 test -z "$as_dir" && as_dir=.
16989 for ac_exec_ext in '' $ac_executable_extensions; do
16990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16991 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
16992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17002 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
17003 if test -n "$GTKDOC_CHECK_PATH"; then
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
17005 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17008 $as_echo "no" >&6; }
17012 for ac_prog in gtkdoc-rebase
17014 # Extract the first word of "$ac_prog", so it can be a program name with args.
17015 set dummy $ac_prog; ac_word=$2
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17017 $as_echo_n "checking for $ac_word... " >&6; }
17018 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
17019 $as_echo_n "(cached) " >&6
17021 case $GTKDOC_REBASE in
17023 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
17026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17027 for as_dir in $PATH
17030 test -z "$as_dir" && as_dir=.
17031 for ac_exec_ext in '' $ac_executable_extensions; do
17032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17033 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
17034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17044 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
17045 if test -n "$GTKDOC_REBASE"; then
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
17047 $as_echo "$GTKDOC_REBASE" >&6; }
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17050 $as_echo "no" >&6; }
17054 test -n "$GTKDOC_REBASE" && break
17056 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
17058 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
17059 set dummy gtkdoc-mkpdf; ac_word=$2
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17061 $as_echo_n "checking for $ac_word... " >&6; }
17062 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
17063 $as_echo_n "(cached) " >&6
17065 case $GTKDOC_MKPDF in
17067 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
17070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17071 for as_dir in $PATH
17074 test -z "$as_dir" && as_dir=.
17075 for ac_exec_ext in '' $ac_executable_extensions; do
17076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17077 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
17078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17088 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
17089 if test -n "$GTKDOC_MKPDF"; then
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
17091 $as_echo "$GTKDOC_MKPDF" >&6; }
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17094 $as_echo "no" >&6; }
17100 # Check whether --with-html-dir was given.
17101 if test "${with_html_dir+set}" = set; then :
17102 withval=$with_html_dir;
17104 with_html_dir='${datadir}/gtk-doc/html'
17107 HTML_DIR="$with_html_dir"
17110 # Check whether --enable-gtk-doc was given.
17111 if test "${enable_gtk_doc+set}" = set; then :
17112 enableval=$enable_gtk_doc;
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
17119 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
17121 $as_echo "$enable_gtk_doc" >&6; }
17123 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
17125 You must have $gtk_doc_requires installed to build documentation for
17126 $PACKAGE_NAME. Please install gtk-doc or disable building the
17127 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
17130 if test "x$PACKAGE_NAME" != "xglib"; then
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
17134 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
17136 if test -n "$PKG_CONFIG"; then
17137 if test -n "$GTKDOC_DEPS_CFLAGS"; then
17138 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
17140 if test -n "$PKG_CONFIG" && \
17141 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
17142 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
17144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17145 test $ac_status = 0; }; then
17146 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
17154 if test -n "$PKG_CONFIG"; then
17155 if test -n "$GTKDOC_DEPS_LIBS"; then
17156 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
17158 if test -n "$PKG_CONFIG" && \
17159 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
17160 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
17162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17163 test $ac_status = 0; }; then
17164 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
17175 if test $pkg_failed = yes; then
17177 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17178 _pkg_short_errors_supported=yes
17180 _pkg_short_errors_supported=no
17182 if test $_pkg_short_errors_supported = yes; then
17183 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0"`
17185 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0"`
17187 # Put the nasty error message in config.log where it belongs
17188 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17191 $as_echo "no" >&6; }
17193 elif test $pkg_failed = untried; then
17196 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
17197 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17199 $as_echo "yes" >&6; }
17204 # Check whether --enable-gtk-doc-html was given.
17205 if test "${enable_gtk_doc_html+set}" = set; then :
17206 enableval=$enable_gtk_doc_html;
17208 enable_gtk_doc_html=yes
17211 # Check whether --enable-gtk-doc-pdf was given.
17212 if test "${enable_gtk_doc_pdf+set}" = set; then :
17213 enableval=$enable_gtk_doc_pdf;
17215 enable_gtk_doc_pdf=no
17219 if test -z "$GTKDOC_MKPDF"; then
17220 enable_gtk_doc_pdf=no
17223 if test -z "$AM_DEFAULT_VERBOSITY"; then
17224 AM_DEFAULT_VERBOSITY=1
17228 if test x$have_gtk_doc = xyes; then
17230 HAVE_GTK_DOC_FALSE='#'
17232 HAVE_GTK_DOC_TRUE='#'
17233 HAVE_GTK_DOC_FALSE=
17236 if test x$enable_gtk_doc = xyes; then
17237 ENABLE_GTK_DOC_TRUE=
17238 ENABLE_GTK_DOC_FALSE='#'
17240 ENABLE_GTK_DOC_TRUE='#'
17241 ENABLE_GTK_DOC_FALSE=
17244 if test x$enable_gtk_doc_html = xyes; then
17245 GTK_DOC_BUILD_HTML_TRUE=
17246 GTK_DOC_BUILD_HTML_FALSE='#'
17248 GTK_DOC_BUILD_HTML_TRUE='#'
17249 GTK_DOC_BUILD_HTML_FALSE=
17252 if test x$enable_gtk_doc_pdf = xyes; then
17253 GTK_DOC_BUILD_PDF_TRUE=
17254 GTK_DOC_BUILD_PDF_FALSE='#'
17256 GTK_DOC_BUILD_PDF_TRUE='#'
17257 GTK_DOC_BUILD_PDF_FALSE=
17260 if test -n "$LIBTOOL"; then
17261 GTK_DOC_USE_LIBTOOL_TRUE=
17262 GTK_DOC_USE_LIBTOOL_FALSE='#'
17264 GTK_DOC_USE_LIBTOOL_TRUE='#'
17265 GTK_DOC_USE_LIBTOOL_FALSE=
17268 if test -n "$GTKDOC_REBASE"; then
17269 GTK_DOC_USE_REBASE_TRUE=
17270 GTK_DOC_USE_REBASE_FALSE='#'
17272 GTK_DOC_USE_REBASE_TRUE='#'
17273 GTK_DOC_USE_REBASE_FALSE=
17277 if test "x$enable_gtk_doc" = xyes; then
17282 # Functions and headers
17283 for ac_func in atexit mprotect sysconf getpagesize mmap isatty
17285 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17286 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17287 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17288 cat >>confdefs.h <<_ACEOF
17289 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17295 for ac_header in unistd.h sys/mman.h
17297 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17298 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17299 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17300 cat >>confdefs.h <<_ACEOF
17301 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17311 # The cast to long int works around a bug in the HP C Compiler,
17312 # see AC_CHECK_SIZEOF for more information.
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of struct{char;}" >&5
17314 $as_echo_n "checking alignment of struct{char;}... " >&6; }
17315 if ${ac_cv_alignof_struct_char__+:} false; then :
17316 $as_echo_n "(cached) " >&6
17318 if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_struct_char__" "$ac_includes_default
17320 # define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
17322 typedef struct { char x; struct{char;} y; } ac__type_alignof_;"; then :
17325 if test "$ac_cv_type_struct_char__" = yes; then
17326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17328 as_fn_error 77 "cannot compute alignment of struct{char;}
17329 See \`config.log' for more details" "$LINENO" 5; }
17331 ac_cv_alignof_struct_char__=0
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_struct_char__" >&5
17337 $as_echo "$ac_cv_alignof_struct_char__" >&6; }
17341 cat >>confdefs.h <<_ACEOF
17342 #define ALIGNOF_STRUCT_CHAR__ $ac_cv_alignof_struct_char__
17346 if test "x$GCC" = "xyes"; then
17348 # Make symbols link locally
17349 LDFLAGS="$LDFLAGS -Bsymbolic-functions"
17351 # Make sure we don't link to libstdc++
17352 CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
17354 # Assorted warnings
17355 CXXFLAGS="$CXXFLAGS -Wcast-align"
17361 # Hide inline methods
17362 CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
17368 if test "x$ac_cv_alignof_struct_char__" != x1; then
17369 # Request byte alignment
17370 CXXFLAGS="$CXXFLAGS -mstructure-size-boundary=8"
17376 if test "x$GCC" = "xyes"; then
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
17387 $as_echo_n "checking for native Win32... " >&6; }
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hb_os_win32" >&5
17394 $as_echo "$hb_os_win32" >&6; }
17395 if test "$hb_os_win32" = "yes"; then
17405 if test "$hb_os_win32" = no; then
17409 ac_cpp='$CPP $CPPFLAGS'
17410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17416 # We used to check for pthread.h first, but this fails if pthread.h
17417 # requires special compiler flags (e.g. on True64 or Sequent).
17418 # It gets checked for in the link test anyway.
17420 # First of all, check if the user has set any of the PTHREAD_LIBS,
17421 # etcetera environment variables, and if threads linking works using
17423 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
17424 save_CFLAGS="$CFLAGS"
17425 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17427 LIBS="$PTHREAD_LIBS $LIBS"
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17429 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17433 /* Override any GCC internal prototype to avoid an error.
17434 Use char because int might match the return type of a GCC
17435 builtin and then its argument prototype would still apply. */
17439 char pthread_join ();
17443 return pthread_join ();
17448 if ac_fn_c_try_link "$LINENO"; then :
17451 rm -f core conftest.err conftest.$ac_objext \
17452 conftest$ac_exeext conftest.$ac_ext
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
17454 $as_echo "$ax_pthread_ok" >&6; }
17455 if test x"$ax_pthread_ok" = xno; then
17460 CFLAGS="$save_CFLAGS"
17463 # We must check for the threads library under a number of different
17464 # names; the ordering is very important because some systems
17465 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17466 # libraries is broken (non-POSIX).
17468 # Create a list of thread flags to try. Items starting with a "-" are
17469 # C compiler flags, and other items are library names, except for "none"
17470 # which indicates that we try without any flags at all, and "pthread-config"
17471 # which is a program returning the flags for the Pth emulation library.
17473 ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17475 # The ordering *is* (sometimes) important. Some notes on the
17476 # individual items follow:
17478 # pthreads: AIX (must check this before -lpthread)
17479 # none: in case threads are in libc; should be tried before -Kthread and
17480 # other compiler flags to prevent continual compiler warnings
17481 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17482 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17483 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
17484 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
17485 # -pthreads: Solaris/gcc
17486 # -mthreads: Mingw32/gcc, Lynx/gcc
17487 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
17488 # doesn't hurt to check since this sometimes defines pthreads too;
17489 # also defines -D_REENTRANT)
17490 # ... -mt is also the pthreads flag for HP/aCC
17491 # pthread: Linux, etcetera
17492 # --thread-safe: KAI C++
17493 # pthread-config: use pthread-config program (for GNU Pth library)
17498 # On Solaris (at least, for some versions), libc contains stubbed
17499 # (non-functional) versions of the pthreads routines, so link-based
17500 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
17501 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
17502 # a function called by this macro, so we could check for that, but
17503 # who knows whether they'll stub that too in a future libc.) So,
17504 # we'll just look for -pthreads and -lpthread first:
17506 ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
17510 ax_pthread_flags="-pthread $ax_pthread_flags"
17514 if test x"$ax_pthread_ok" = xno; then
17515 for flag in $ax_pthread_flags; do
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
17520 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
17525 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
17526 PTHREAD_CFLAGS="$flag"
17530 # Extract the first word of "pthread-config", so it can be a program name with args.
17531 set dummy pthread-config; ac_word=$2
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17533 $as_echo_n "checking for $ac_word... " >&6; }
17534 if ${ac_cv_prog_ax_pthread_config+:} false; then :
17535 $as_echo_n "(cached) " >&6
17537 if test -n "$ax_pthread_config"; then
17538 ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
17540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17541 for as_dir in $PATH
17544 test -z "$as_dir" && as_dir=.
17545 for ac_exec_ext in '' $ac_executable_extensions; do
17546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17547 ac_cv_prog_ax_pthread_config="yes"
17548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17555 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
17558 ax_pthread_config=$ac_cv_prog_ax_pthread_config
17559 if test -n "$ax_pthread_config"; then
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
17561 $as_echo "$ax_pthread_config" >&6; }
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17564 $as_echo "no" >&6; }
17568 if test x"$ax_pthread_config" = xno; then continue; fi
17569 PTHREAD_CFLAGS="`pthread-config --cflags`"
17570 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
17575 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
17576 PTHREAD_LIBS="-l$flag"
17581 save_CFLAGS="$CFLAGS"
17582 LIBS="$PTHREAD_LIBS $LIBS"
17583 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17585 # Check for various functions. We must include pthread.h,
17586 # since some functions may be macros. (On the Sequent, we
17587 # need a special flag -Kthread to make this header compile.)
17588 # We check for pthread_join because it is in -lpthread on IRIX
17589 # while pthread_create is in libc. We check for pthread_attr_init
17590 # due to DEC craziness with -lpthreads. We check for
17591 # pthread_cleanup_push because it is one of the few pthread
17592 # functions on Solaris that doesn't have a non-functional libc stub.
17593 # We try pthread_create on general principles.
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17596 #include <pthread.h>
17597 static void routine(void *a) { a = 0; }
17598 static void *start_routine(void *a) { return a; }
17602 pthread_t th; pthread_attr_t attr;
17603 pthread_create(&th, 0, start_routine, 0);
17604 pthread_join(th, 0);
17605 pthread_attr_init(&attr);
17606 pthread_cleanup_push(routine, 0);
17607 pthread_cleanup_pop(0) /* ; */
17612 if ac_fn_c_try_link "$LINENO"; then :
17615 rm -f core conftest.err conftest.$ac_objext \
17616 conftest$ac_exeext conftest.$ac_ext
17619 CFLAGS="$save_CFLAGS"
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
17622 $as_echo "$ax_pthread_ok" >&6; }
17623 if test "x$ax_pthread_ok" = xyes; then
17632 # Various other checks:
17633 if test "x$ax_pthread_ok" = xyes; then
17635 LIBS="$PTHREAD_LIBS $LIBS"
17636 save_CFLAGS="$CFLAGS"
17637 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17639 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
17641 $as_echo_n "checking for joinable pthread attribute... " >&6; }
17643 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
17644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17645 /* end confdefs.h. */
17646 #include <pthread.h>
17650 int attr = $attr; return attr /* ; */
17655 if ac_fn_c_try_link "$LINENO"; then :
17656 attr_name=$attr; break
17658 rm -f core conftest.err conftest.$ac_objext \
17659 conftest$ac_exeext conftest.$ac_ext
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
17662 $as_echo "$attr_name" >&6; }
17663 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
17665 cat >>confdefs.h <<_ACEOF
17666 #define PTHREAD_CREATE_JOINABLE $attr_name
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
17672 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
17675 aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
17676 osf* | hpux*) flag="-D_REENTRANT";;
17678 if test "$GCC" = "yes"; then
17679 flag="-D_REENTRANT"
17681 flag="-mt -D_REENTRANT"
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
17686 $as_echo "${flag}" >&6; }
17687 if test "x$flag" != xno; then
17688 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
17692 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
17693 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
17694 $as_echo_n "(cached) " >&6
17697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17698 /* end confdefs.h. */
17700 #include <pthread.h>
17704 int i = PTHREAD_PRIO_INHERIT;
17709 if ac_fn_c_try_link "$LINENO"; then :
17710 ax_cv_PTHREAD_PRIO_INHERIT=yes
17712 ax_cv_PTHREAD_PRIO_INHERIT=no
17714 rm -f core conftest.err conftest.$ac_objext \
17715 conftest$ac_exeext conftest.$ac_ext
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
17719 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
17720 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
17722 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
17727 CFLAGS="$save_CFLAGS"
17729 # More AIX lossage: must compile with xlc_r or cc_r
17730 if test x"$GCC" != xyes; then
17731 for ac_prog in xlc_r cc_r
17733 # Extract the first word of "$ac_prog", so it can be a program name with args.
17734 set dummy $ac_prog; ac_word=$2
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17736 $as_echo_n "checking for $ac_word... " >&6; }
17737 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
17738 $as_echo_n "(cached) " >&6
17740 if test -n "$PTHREAD_CC"; then
17741 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
17743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17744 for as_dir in $PATH
17747 test -z "$as_dir" && as_dir=.
17748 for ac_exec_ext in '' $ac_executable_extensions; do
17749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17750 ac_cv_prog_PTHREAD_CC="$ac_prog"
17751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17760 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
17761 if test -n "$PTHREAD_CC"; then
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
17763 $as_echo "$PTHREAD_CC" >&6; }
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17766 $as_echo "no" >&6; }
17770 test -n "$PTHREAD_CC" && break
17772 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
17785 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17786 if test x"$ax_pthread_ok" = xyes; then
17794 ac_cpp='$CPP $CPPFLAGS'
17795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17801 if $have_pthread; then
17803 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
17806 if $have_pthread; then
17808 HAVE_PTHREAD_FALSE='#'
17810 HAVE_PTHREAD_TRUE='#'
17811 HAVE_PTHREAD_FALSE=
17819 $as_echo "#define HAVE_OT 1" >>confdefs.h
17832 if $have_fallback; then
17834 $as_echo "#define HAVE_FALLBACK 1" >>confdefs.h
17837 if $have_fallback; then
17838 HAVE_FALLBACK_TRUE=
17839 HAVE_FALLBACK_FALSE='#'
17841 HAVE_FALLBACK_TRUE='#'
17842 HAVE_FALLBACK_FALSE=
17848 # Check whether --with-glib was given.
17849 if test "${with_glib+set}" = set; then :
17850 withval=$with_glib;
17856 GLIB_DEPS="glib-2.0 >= 2.16"
17858 if test "x$with_glib" = "xyes" -o "x$with_glib" = "xauto"; then
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
17862 $as_echo_n "checking for GLIB... " >&6; }
17864 if test -n "$PKG_CONFIG"; then
17865 if test -n "$GLIB_CFLAGS"; then
17866 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
17868 if test -n "$PKG_CONFIG" && \
17869 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_DEPS\""; } >&5
17870 ($PKG_CONFIG --exists --print-errors "$GLIB_DEPS") 2>&5
17872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17873 test $ac_status = 0; }; then
17874 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$GLIB_DEPS" 2>/dev/null`
17882 if test -n "$PKG_CONFIG"; then
17883 if test -n "$GLIB_LIBS"; then
17884 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
17886 if test -n "$PKG_CONFIG" && \
17887 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_DEPS\""; } >&5
17888 ($PKG_CONFIG --exists --print-errors "$GLIB_DEPS") 2>&5
17890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17891 test $ac_status = 0; }; then
17892 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$GLIB_DEPS" 2>/dev/null`
17903 if test $pkg_failed = yes; then
17905 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17906 _pkg_short_errors_supported=yes
17908 _pkg_short_errors_supported=no
17910 if test $_pkg_short_errors_supported = yes; then
17911 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$GLIB_DEPS"`
17913 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GLIB_DEPS"`
17915 # Put the nasty error message in config.log where it belongs
17916 echo "$GLIB_PKG_ERRORS" >&5
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17919 $as_echo "no" >&6; }
17921 elif test $pkg_failed = untried; then
17924 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
17925 GLIB_LIBS=$pkg_cv_GLIB_LIBS
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17927 $as_echo "yes" >&6; }
17931 if test "x$with_glib" = "xyes" -a "x$have_glib" != "xtrue"; then
17932 as_fn_error $? "glib support requested but glib-2.0 not found" "$LINENO" 5
17934 if $have_glib; then
17936 $as_echo "#define HAVE_GLIB 1" >>confdefs.h
17939 if $have_glib; then
17941 HAVE_GLIB_FALSE='#'
17950 # Check whether --with-gobject was given.
17951 if test "${with_gobject+set}" = set; then :
17952 withval=$with_gobject;
17958 if test "x$with_gobject" = "xyes" -o "x$with_gobject" = "xauto"; then
17961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
17962 $as_echo_n "checking for GOBJECT... " >&6; }
17964 if test -n "$PKG_CONFIG"; then
17965 if test -n "$GOBJECT_CFLAGS"; then
17966 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
17968 if test -n "$PKG_CONFIG" && \
17969 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 glib-2.0\""; } >&5
17970 ($PKG_CONFIG --exists --print-errors "gobject-2.0 glib-2.0") 2>&5
17972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17973 test $ac_status = 0; }; then
17974 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 glib-2.0" 2>/dev/null`
17982 if test -n "$PKG_CONFIG"; then
17983 if test -n "$GOBJECT_LIBS"; then
17984 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
17986 if test -n "$PKG_CONFIG" && \
17987 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 glib-2.0\""; } >&5
17988 ($PKG_CONFIG --exists --print-errors "gobject-2.0 glib-2.0") 2>&5
17990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17991 test $ac_status = 0; }; then
17992 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 glib-2.0" 2>/dev/null`
18003 if test $pkg_failed = yes; then
18005 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18006 _pkg_short_errors_supported=yes
18008 _pkg_short_errors_supported=no
18010 if test $_pkg_short_errors_supported = yes; then
18011 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gobject-2.0 glib-2.0"`
18013 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-2.0 glib-2.0"`
18015 # Put the nasty error message in config.log where it belongs
18016 echo "$GOBJECT_PKG_ERRORS" >&5
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18019 $as_echo "no" >&6; }
18021 elif test $pkg_failed = untried; then
18024 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
18025 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
18026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18027 $as_echo "yes" >&6; }
18031 if test "x$with_gobject" = "xyes" -a "x$have_gobject" != "xtrue"; then
18032 as_fn_error $? "gobject support requested but gobject-2.0 / glib-2.0 not found" "$LINENO" 5
18034 if $have_gobject; then
18036 $as_echo "#define HAVE_GOBJECT 1" >>confdefs.h
18038 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
18041 if $have_gobject; then
18043 HAVE_GOBJECT_FALSE='#'
18045 HAVE_GOBJECT_TRUE='#'
18046 HAVE_GOBJECT_FALSE=
18052 # Gobject-Introspection
18053 have_introspection=false
18055 if $have_gobject; then
18059 # Check whether --enable-introspection was given.
18060 if test "${enable_introspection+set}" = set; then :
18061 enableval=$enable_introspection;
18063 enable_introspection=auto
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
18068 $as_echo_n "checking for gobject-introspection... " >&6; }
18070 case $enable_introspection in #(
18072 found_introspection="no (disabled, use --enable-introspection to enable)"
18075 if test -n "$PKG_CONFIG" && \
18076 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
18077 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
18079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18080 test $ac_status = 0; }; then
18083 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
18085 if test -n "$PKG_CONFIG" && \
18086 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.34.0\""; } >&5
18087 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.34.0") 2>&5
18089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18090 test $ac_status = 0; }; then
18091 found_introspection=yes
18093 as_fn_error $? "You need to have gobject-introspection >= 1.34.0 installed to build HarfBuzz" "$LINENO" 5
18097 if test -n "$PKG_CONFIG" && \
18098 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.34.0\""; } >&5
18099 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.34.0") 2>&5
18101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18102 test $ac_status = 0; }; then
18103 found_introspection=yes
18105 found_introspection=no
18107 enable_introspection=$found_introspection
18110 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
18113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
18114 $as_echo "$found_introspection" >&6; }
18116 INTROSPECTION_SCANNER=
18117 INTROSPECTION_COMPILER=
18118 INTROSPECTION_GENERATE=
18119 INTROSPECTION_GIRDIR=
18120 INTROSPECTION_TYPELIBDIR=
18121 if test "x$found_introspection" = "xyes"; then
18122 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
18123 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
18124 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
18125 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
18126 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
18127 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
18128 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
18129 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
18140 if test "x$found_introspection" = "xyes"; then
18141 HAVE_INTROSPECTION_TRUE=
18142 HAVE_INTROSPECTION_FALSE='#'
18144 HAVE_INTROSPECTION_TRUE='#'
18145 HAVE_INTROSPECTION_FALSE=
18150 if test "x$found_introspection" = xyes; then
18151 have_introspection=true
18155 HAVE_INTROSPECTION_TRUE=
18156 HAVE_INTROSPECTION_FALSE='#'
18158 HAVE_INTROSPECTION_TRUE='#'
18159 HAVE_INTROSPECTION_FALSE=
18167 # Check whether --with-cairo was given.
18168 if test "${with_cairo+set}" = set; then :
18169 withval=$with_cairo;
18175 if test "x$with_cairo" = "xyes" -o "x$with_cairo" = "xauto"; then
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
18179 $as_echo_n "checking for CAIRO... " >&6; }
18181 if test -n "$PKG_CONFIG"; then
18182 if test -n "$CAIRO_CFLAGS"; then
18183 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
18185 if test -n "$PKG_CONFIG" && \
18186 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.8.0\""; } >&5
18187 ($PKG_CONFIG --exists --print-errors "cairo >= 1.8.0") 2>&5
18189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18190 test $ac_status = 0; }; then
18191 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.8.0" 2>/dev/null`
18199 if test -n "$PKG_CONFIG"; then
18200 if test -n "$CAIRO_LIBS"; then
18201 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
18203 if test -n "$PKG_CONFIG" && \
18204 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.8.0\""; } >&5
18205 ($PKG_CONFIG --exists --print-errors "cairo >= 1.8.0") 2>&5
18207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18208 test $ac_status = 0; }; then
18209 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.8.0" 2>/dev/null`
18220 if test $pkg_failed = yes; then
18222 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18223 _pkg_short_errors_supported=yes
18225 _pkg_short_errors_supported=no
18227 if test $_pkg_short_errors_supported = yes; then
18228 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo >= 1.8.0"`
18230 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.8.0"`
18232 # Put the nasty error message in config.log where it belongs
18233 echo "$CAIRO_PKG_ERRORS" >&5
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18236 $as_echo "no" >&6; }
18238 elif test $pkg_failed = untried; then
18241 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
18242 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18244 $as_echo "yes" >&6; }
18248 if test "x$with_cairo" = "xyes" -a "x$have_cairo" != "xtrue"; then
18249 as_fn_error $? "cairo support requested but not found" "$LINENO" 5
18251 if $have_cairo; then
18253 $as_echo "#define HAVE_CAIRO 1" >>confdefs.h
18256 if $have_cairo; then
18258 HAVE_CAIRO_FALSE='#'
18260 HAVE_CAIRO_TRUE='#'
18265 have_cairo_ft=false
18266 if $have_cairo; then
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_FT" >&5
18270 $as_echo_n "checking for CAIRO_FT... " >&6; }
18272 if test -n "$PKG_CONFIG"; then
18273 if test -n "$CAIRO_FT_CFLAGS"; then
18274 pkg_cv_CAIRO_FT_CFLAGS="$CAIRO_FT_CFLAGS"
18276 if test -n "$PKG_CONFIG" && \
18277 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft\""; } >&5
18278 ($PKG_CONFIG --exists --print-errors "cairo-ft") 2>&5
18280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18281 test $ac_status = 0; }; then
18282 pkg_cv_CAIRO_FT_CFLAGS=`$PKG_CONFIG --cflags "cairo-ft" 2>/dev/null`
18290 if test -n "$PKG_CONFIG"; then
18291 if test -n "$CAIRO_FT_LIBS"; then
18292 pkg_cv_CAIRO_FT_LIBS="$CAIRO_FT_LIBS"
18294 if test -n "$PKG_CONFIG" && \
18295 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft\""; } >&5
18296 ($PKG_CONFIG --exists --print-errors "cairo-ft") 2>&5
18298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18299 test $ac_status = 0; }; then
18300 pkg_cv_CAIRO_FT_LIBS=`$PKG_CONFIG --libs "cairo-ft" 2>/dev/null`
18311 if test $pkg_failed = yes; then
18313 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18314 _pkg_short_errors_supported=yes
18316 _pkg_short_errors_supported=no
18318 if test $_pkg_short_errors_supported = yes; then
18319 CAIRO_FT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo-ft"`
18321 CAIRO_FT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo-ft"`
18323 # Put the nasty error message in config.log where it belongs
18324 echo "$CAIRO_FT_PKG_ERRORS" >&5
18326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18327 $as_echo "no" >&6; }
18329 elif test $pkg_failed = untried; then
18332 CAIRO_FT_CFLAGS=$pkg_cv_CAIRO_FT_CFLAGS
18333 CAIRO_FT_LIBS=$pkg_cv_CAIRO_FT_LIBS
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18335 $as_echo "yes" >&6; }
18339 if $have_cairo_ft; then
18341 $as_echo "#define HAVE_CAIRO_FT 1" >>confdefs.h
18344 if $have_cairo_ft; then
18345 HAVE_CAIRO_FT_TRUE=
18346 HAVE_CAIRO_FT_FALSE='#'
18348 HAVE_CAIRO_FT_TRUE='#'
18349 HAVE_CAIRO_FT_FALSE=
18355 # Check whether --with-fontconfig was given.
18356 if test "${with_fontconfig+set}" = set; then :
18357 withval=$with_fontconfig;
18359 with_fontconfig=auto
18362 have_fontconfig=false
18363 if test "x$with_fontconfig" = "xyes" -o "x$with_fontconfig" = "xauto"; then
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
18367 $as_echo_n "checking for FONTCONFIG... " >&6; }
18369 if test -n "$PKG_CONFIG"; then
18370 if test -n "$FONTCONFIG_CFLAGS"; then
18371 pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
18373 if test -n "$PKG_CONFIG" && \
18374 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
18375 ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
18377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18378 test $ac_status = 0; }; then
18379 pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig" 2>/dev/null`
18387 if test -n "$PKG_CONFIG"; then
18388 if test -n "$FONTCONFIG_LIBS"; then
18389 pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
18391 if test -n "$PKG_CONFIG" && \
18392 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
18393 ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
18395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18396 test $ac_status = 0; }; then
18397 pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig" 2>/dev/null`
18408 if test $pkg_failed = yes; then
18410 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18411 _pkg_short_errors_supported=yes
18413 _pkg_short_errors_supported=no
18415 if test $_pkg_short_errors_supported = yes; then
18416 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fontconfig"`
18418 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fontconfig"`
18420 # Put the nasty error message in config.log where it belongs
18421 echo "$FONTCONFIG_PKG_ERRORS" >&5
18423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18424 $as_echo "no" >&6; }
18426 elif test $pkg_failed = untried; then
18429 FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
18430 FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18432 $as_echo "yes" >&6; }
18433 have_fontconfig=true
18436 if test "x$with_fontconfig" = "xyes" -a "x$have_fontconfig" != "xtrue"; then
18437 as_fn_error $? "fontconfig support requested but not found" "$LINENO" 5
18439 if $have_fontconfig; then
18441 $as_echo "#define HAVE_FONTCONFIG 1" >>confdefs.h
18444 if $have_fontconfig; then
18445 HAVE_FONTCONFIG_TRUE=
18446 HAVE_FONTCONFIG_FALSE='#'
18448 HAVE_FONTCONFIG_TRUE='#'
18449 HAVE_FONTCONFIG_FALSE=
18455 # Check whether --with-icu was given.
18456 if test "${with_icu+set}" = set; then :
18463 if test "x$with_icu" = "xyes" -o "x$with_icu" = "xbuiltin" -o "x$with_icu" = "xauto"; then
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU" >&5
18467 $as_echo_n "checking for ICU... " >&6; }
18469 if test -n "$PKG_CONFIG"; then
18470 if test -n "$ICU_CFLAGS"; then
18471 pkg_cv_ICU_CFLAGS="$ICU_CFLAGS"
18473 if test -n "$PKG_CONFIG" && \
18474 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5
18475 ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5
18477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18478 test $ac_status = 0; }; then
18479 pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-uc" 2>/dev/null`
18487 if test -n "$PKG_CONFIG"; then
18488 if test -n "$ICU_LIBS"; then
18489 pkg_cv_ICU_LIBS="$ICU_LIBS"
18491 if test -n "$PKG_CONFIG" && \
18492 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5
18493 ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5
18495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18496 test $ac_status = 0; }; then
18497 pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-uc" 2>/dev/null`
18508 if test $pkg_failed = yes; then
18510 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18511 _pkg_short_errors_supported=yes
18513 _pkg_short_errors_supported=no
18515 if test $_pkg_short_errors_supported = yes; then
18516 ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "icu-uc"`
18518 ICU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "icu-uc"`
18520 # Put the nasty error message in config.log where it belongs
18521 echo "$ICU_PKG_ERRORS" >&5
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18524 $as_echo "no" >&6; }
18526 elif test $pkg_failed = untried; then
18529 ICU_CFLAGS=$pkg_cv_ICU_CFLAGS
18530 ICU_LIBS=$pkg_cv_ICU_LIBS
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18532 $as_echo "yes" >&6; }
18536 if test "$have_icu" != "true"; then
18537 if test -n "$ac_tool_prefix"; then
18538 # Extract the first word of "${ac_tool_prefix}icu-config", so it can be a program name with args.
18539 set dummy ${ac_tool_prefix}icu-config; ac_word=$2
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18541 $as_echo_n "checking for $ac_word... " >&6; }
18542 if ${ac_cv_prog_ICU_CONFIG+:} false; then :
18543 $as_echo_n "(cached) " >&6
18545 if test -n "$ICU_CONFIG"; then
18546 ac_cv_prog_ICU_CONFIG="$ICU_CONFIG" # Let the user override the test.
18548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18549 for as_dir in $PATH
18552 test -z "$as_dir" && as_dir=.
18553 for ac_exec_ext in '' $ac_executable_extensions; do
18554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18555 ac_cv_prog_ICU_CONFIG="${ac_tool_prefix}icu-config"
18556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18565 ICU_CONFIG=$ac_cv_prog_ICU_CONFIG
18566 if test -n "$ICU_CONFIG"; then
18567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICU_CONFIG" >&5
18568 $as_echo "$ICU_CONFIG" >&6; }
18570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18571 $as_echo "no" >&6; }
18576 if test -z "$ac_cv_prog_ICU_CONFIG"; then
18577 ac_ct_ICU_CONFIG=$ICU_CONFIG
18578 # Extract the first word of "icu-config", so it can be a program name with args.
18579 set dummy icu-config; ac_word=$2
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18581 $as_echo_n "checking for $ac_word... " >&6; }
18582 if ${ac_cv_prog_ac_ct_ICU_CONFIG+:} false; then :
18583 $as_echo_n "(cached) " >&6
18585 if test -n "$ac_ct_ICU_CONFIG"; then
18586 ac_cv_prog_ac_ct_ICU_CONFIG="$ac_ct_ICU_CONFIG" # Let the user override the test.
18588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18589 for as_dir in $PATH
18592 test -z "$as_dir" && as_dir=.
18593 for ac_exec_ext in '' $ac_executable_extensions; do
18594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18595 ac_cv_prog_ac_ct_ICU_CONFIG="icu-config"
18596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18605 ac_ct_ICU_CONFIG=$ac_cv_prog_ac_ct_ICU_CONFIG
18606 if test -n "$ac_ct_ICU_CONFIG"; then
18607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ICU_CONFIG" >&5
18608 $as_echo "$ac_ct_ICU_CONFIG" >&6; }
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18611 $as_echo "no" >&6; }
18614 if test "x$ac_ct_ICU_CONFIG" = x; then
18617 case $cross_compiling:$ac_tool_warned in
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18621 ac_tool_warned=yes ;;
18623 ICU_CONFIG=$ac_ct_ICU_CONFIG
18626 ICU_CONFIG="$ac_cv_prog_ICU_CONFIG"
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU by using icu-config fallback" >&5
18630 $as_echo_n "checking for ICU by using icu-config fallback... " >&6; }
18631 if test "$ICU_CONFIG" != "no" && "$ICU_CONFIG" --version >/dev/null; then
18633 # We don't use --cflags as this gives us a lot of things that we don't
18634 # necessarily want, like debugging and optimization flags
18635 # See man (1) icu-config for more info.
18636 ICU_CFLAGS=`$ICU_CONFIG --cppflags`
18637 ICU_LIBS=`$ICU_CONFIG --ldflags-searchpath --ldflags-libsonly`
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18641 $as_echo "yes" >&6; }
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18644 $as_echo "no" >&6; }
18648 if test \( "x$with_icu" = "xyes" -o "x$with_icu" = "xbuiltin" \) -a "x$have_icu" != "xtrue"; then
18649 as_fn_error $? "icu support requested but icu-uc not found" "$LINENO" 5
18653 CXXFLAGS="$CXXFLAGS `$PKG_CONFIG --variable=CXXFLAGS icu-uc`"
18655 $as_echo "#define HAVE_ICU 1" >>confdefs.h
18657 if test "x$with_icu" = "xbuiltin"; then
18659 $as_echo "#define HAVE_ICU_BUILTIN 1" >>confdefs.h
18671 if $have_icu && test "x$with_icu" = "xbuiltin"; then
18672 HAVE_ICU_BUILTIN_TRUE=
18673 HAVE_ICU_BUILTIN_FALSE='#'
18675 HAVE_ICU_BUILTIN_TRUE='#'
18676 HAVE_ICU_BUILTIN_FALSE=
18682 if $have_glib || $have_icu && test "x$with_icu" = "xbuiltin"; then
18685 if $have_ucdn; then
18687 $as_echo "#define HAVE_UCDN 1" >>confdefs.h
18690 if $have_ucdn; then
18692 HAVE_UCDN_FALSE='#'
18701 # Check whether --with-graphite2 was given.
18702 if test "${with_graphite2+set}" = set; then :
18703 withval=$with_graphite2;
18708 have_graphite2=false
18709 GRAPHITE2_DEPS="graphite2"
18711 if test "x$with_graphite2" = "xyes" -o "x$with_graphite2" = "xauto"; then
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GRAPHITE2" >&5
18715 $as_echo_n "checking for GRAPHITE2... " >&6; }
18717 if test -n "$PKG_CONFIG"; then
18718 if test -n "$GRAPHITE2_CFLAGS"; then
18719 pkg_cv_GRAPHITE2_CFLAGS="$GRAPHITE2_CFLAGS"
18721 if test -n "$PKG_CONFIG" && \
18722 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GRAPHITE2_DEPS\""; } >&5
18723 ($PKG_CONFIG --exists --print-errors "$GRAPHITE2_DEPS") 2>&5
18725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18726 test $ac_status = 0; }; then
18727 pkg_cv_GRAPHITE2_CFLAGS=`$PKG_CONFIG --cflags "$GRAPHITE2_DEPS" 2>/dev/null`
18735 if test -n "$PKG_CONFIG"; then
18736 if test -n "$GRAPHITE2_LIBS"; then
18737 pkg_cv_GRAPHITE2_LIBS="$GRAPHITE2_LIBS"
18739 if test -n "$PKG_CONFIG" && \
18740 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GRAPHITE2_DEPS\""; } >&5
18741 ($PKG_CONFIG --exists --print-errors "$GRAPHITE2_DEPS") 2>&5
18743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18744 test $ac_status = 0; }; then
18745 pkg_cv_GRAPHITE2_LIBS=`$PKG_CONFIG --libs "$GRAPHITE2_DEPS" 2>/dev/null`
18756 if test $pkg_failed = yes; then
18758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18759 _pkg_short_errors_supported=yes
18761 _pkg_short_errors_supported=no
18763 if test $_pkg_short_errors_supported = yes; then
18764 GRAPHITE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$GRAPHITE2_DEPS"`
18766 GRAPHITE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GRAPHITE2_DEPS"`
18768 # Put the nasty error message in config.log where it belongs
18769 echo "$GRAPHITE2_PKG_ERRORS" >&5
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18772 $as_echo "no" >&6; }
18774 elif test $pkg_failed = untried; then
18777 GRAPHITE2_CFLAGS=$pkg_cv_GRAPHITE2_CFLAGS
18778 GRAPHITE2_LIBS=$pkg_cv_GRAPHITE2_LIBS
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18780 $as_echo "yes" >&6; }
18781 have_graphite2=true
18784 if test "x$with_graphite2" = "xyes" -a "x$have_graphite2" != "xtrue"; then
18785 as_fn_error $? "graphite2 support requested but libgraphite2 not found" "$LINENO" 5
18787 if $have_graphite2; then
18789 $as_echo "#define HAVE_GRAPHITE2 1" >>confdefs.h
18792 if $have_graphite2; then
18793 HAVE_GRAPHITE2_TRUE=
18794 HAVE_GRAPHITE2_FALSE='#'
18796 HAVE_GRAPHITE2_TRUE='#'
18797 HAVE_GRAPHITE2_FALSE=
18803 # Check whether --with-freetype was given.
18804 if test "${with_freetype+set}" = set; then :
18805 withval=$with_freetype;
18810 have_freetype=false
18811 FREETYPE_DEPS="freetype2 >= 12.0.6"
18813 if test "x$with_freetype" = "xyes" -o "x$with_freetype" = "xauto"; then
18814 # See freetype/docs/VERSION.DLL; 12.0.6 means freetype-2.4.2
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
18818 $as_echo_n "checking for FREETYPE... " >&6; }
18820 if test -n "$PKG_CONFIG"; then
18821 if test -n "$FREETYPE_CFLAGS"; then
18822 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
18824 if test -n "$PKG_CONFIG" && \
18825 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$FREETYPE_DEPS\""; } >&5
18826 ($PKG_CONFIG --exists --print-errors "$FREETYPE_DEPS") 2>&5
18828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18829 test $ac_status = 0; }; then
18830 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "$FREETYPE_DEPS" 2>/dev/null`
18838 if test -n "$PKG_CONFIG"; then
18839 if test -n "$FREETYPE_LIBS"; then
18840 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
18842 if test -n "$PKG_CONFIG" && \
18843 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$FREETYPE_DEPS\""; } >&5
18844 ($PKG_CONFIG --exists --print-errors "$FREETYPE_DEPS") 2>&5
18846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18847 test $ac_status = 0; }; then
18848 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "$FREETYPE_DEPS" 2>/dev/null`
18859 if test $pkg_failed = yes; then
18861 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18862 _pkg_short_errors_supported=yes
18864 _pkg_short_errors_supported=no
18866 if test $_pkg_short_errors_supported = yes; then
18867 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$FREETYPE_DEPS"`
18869 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$FREETYPE_DEPS"`
18871 # Put the nasty error message in config.log where it belongs
18872 echo "$FREETYPE_PKG_ERRORS" >&5
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18875 $as_echo "no" >&6; }
18877 elif test $pkg_failed = untried; then
18880 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
18881 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
18882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18883 $as_echo "yes" >&6; }
18887 if test "x$with_freetype" = "xyes" -a "x$have_freetype" != "xtrue"; then
18888 as_fn_error $? "FreeType support requested but libfreetype2 not found" "$LINENO" 5
18890 if $have_freetype; then
18892 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
18895 if $have_freetype; then
18896 HAVE_FREETYPE_TRUE=
18897 HAVE_FREETYPE_FALSE='#'
18899 HAVE_FREETYPE_TRUE='#'
18900 HAVE_FREETYPE_FALSE=
18906 # Check whether --with-uniscribe was given.
18907 if test "${with_uniscribe+set}" = set; then :
18908 withval=$with_uniscribe;
18913 have_uniscribe=false
18914 if test "x$with_uniscribe" = "xyes" -o "x$with_uniscribe" = "xauto"; then
18915 for ac_header in usp10.h windows.h
18917 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18918 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18919 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18920 cat >>confdefs.h <<_ACEOF
18921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18923 have_uniscribe=true
18929 if test "x$with_uniscribe" = "xyes" -a "x$have_uniscribe" != "xtrue"; then
18930 as_fn_error $? "uniscribe support requested but not found" "$LINENO" 5
18932 if $have_uniscribe; then
18934 UNISCRIBE_LIBS="-lusp10 -lgdi32 -lrpcrt4"
18938 $as_echo "#define HAVE_UNISCRIBE 1" >>confdefs.h
18941 if $have_uniscribe; then
18942 HAVE_UNISCRIBE_TRUE=
18943 HAVE_UNISCRIBE_FALSE='#'
18945 HAVE_UNISCRIBE_TRUE='#'
18946 HAVE_UNISCRIBE_FALSE=
18952 # Check whether --with-directwrite was given.
18953 if test "${with_directwrite+set}" = set; then :
18954 withval=$with_directwrite;
18956 with_directwrite=no
18959 have_directwrite=false
18961 ac_cpp='$CXXCPP $CPPFLAGS'
18962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18966 if test "x$with_directwrite" = "xyes" -o "x$with_directwrite" = "xauto"; then
18968 for ac_header in dwrite.h
18970 ac_fn_cxx_check_header_mongrel "$LINENO" "dwrite.h" "ac_cv_header_dwrite_h" "$ac_includes_default"
18971 if test "x$ac_cv_header_dwrite_h" = xyes; then :
18972 cat >>confdefs.h <<_ACEOF
18973 #define HAVE_DWRITE_H 1
18975 have_directwrite=true
18982 ac_cpp='$CPP $CPPFLAGS'
18983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18987 if test "x$with_directwrite" = "xyes" -a "x$have_directwrite" != "xtrue"; then
18988 as_fn_error $? "directwrite support requested but not found" "$LINENO" 5
18990 if $have_directwrite; then
18991 DIRECTWRITE_CXXFLAGS=
18992 DIRECTWRITE_LIBS="-ldwrite"
18996 $as_echo "#define HAVE_DIRECTWRITE 1" >>confdefs.h
18999 if $have_directwrite; then
19000 HAVE_DIRECTWRITE_TRUE=
19001 HAVE_DIRECTWRITE_FALSE='#'
19003 HAVE_DIRECTWRITE_TRUE='#'
19004 HAVE_DIRECTWRITE_FALSE=
19010 # Check whether --with-coretext was given.
19011 if test "${with_coretext+set}" = set; then :
19012 withval=$with_coretext;
19017 have_coretext=false
19018 if test "x$with_coretext" = "xyes" -o "x$with_coretext" = "xauto"; then
19019 ac_fn_c_check_type "$LINENO" "CTFontRef" "ac_cv_type_CTFontRef" "#include <ApplicationServices/ApplicationServices.h>
19021 if test "x$ac_cv_type_CTFontRef" = xyes; then :
19026 if $have_coretext; then
19028 CORETEXT_LIBS="-framework ApplicationServices"
19032 # On iOS CoreText and CoreGraphics are stand-alone frameworks
19033 if test "x$have_coretext" != "xtrue"; then
19034 ac_fn_c_check_type "$LINENO" "CTFontRef" "ac_cv_type_CTFontRef" "#include <CoreText/CoreText.h>
19036 if test "x$ac_cv_type_CTFontRef" = xyes; then :
19042 if $have_coretext; then
19044 CORETEXT_LIBS="-framework CoreText -framework CoreGraphics"
19050 if test "x$with_coretext" = "xyes" -a "x$have_coretext" != "xtrue"; then
19051 as_fn_error $? "CoreText support requested but libcoretext not found" "$LINENO" 5
19053 if $have_coretext; then
19055 $as_echo "#define HAVE_CORETEXT 1" >>confdefs.h
19058 if $have_coretext; then
19059 HAVE_CORETEXT_TRUE=
19060 HAVE_CORETEXT_FALSE='#'
19062 HAVE_CORETEXT_TRUE='#'
19063 HAVE_CORETEXT_FALSE=
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Intel atomic primitives" >&5
19069 $as_echo_n "checking for Intel atomic primitives... " >&6; }
19070 if ${hb_cv_have_intel_atomic_primitives+:} false; then :
19071 $as_echo_n "(cached) " >&6
19074 hb_cv_have_intel_atomic_primitives=false
19075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19076 /* end confdefs.h. */
19078 void memory_barrier (void) { __sync_synchronize (); }
19079 int atomic_add (int *i) { return __sync_fetch_and_add (i, 1); }
19080 int mutex_trylock (int *m) { return __sync_lock_test_and_set (m, 1); }
19081 void mutex_unlock (int *m) { __sync_lock_release (m); }
19091 if ac_fn_c_try_link "$LINENO"; then :
19092 hb_cv_have_intel_atomic_primitives=true
19095 rm -f core conftest.err conftest.$ac_objext \
19096 conftest$ac_exeext conftest.$ac_ext
19099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hb_cv_have_intel_atomic_primitives" >&5
19100 $as_echo "$hb_cv_have_intel_atomic_primitives" >&6; }
19101 if $hb_cv_have_intel_atomic_primitives; then
19103 $as_echo "#define HAVE_INTEL_ATOMIC_PRIMITIVES 1" >>confdefs.h
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Solaris atomic operations" >&5
19109 $as_echo_n "checking for Solaris atomic operations... " >&6; }
19110 if ${hb_cv_have_solaris_atomic_ops+:} false; then :
19111 $as_echo_n "(cached) " >&6
19114 hb_cv_have_solaris_atomic_ops=false
19115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19116 /* end confdefs.h. */
19118 #include <atomic.h>
19119 /* This requires Solaris Studio 12.2 or newer: */
19120 #include <mbarrier.h>
19121 void memory_barrier (void) { __machine_rw_barrier (); }
19122 int atomic_add (volatile unsigned *i) { return atomic_add_int_nv (i, 1); }
19123 void *atomic_ptr_cmpxchg (volatile void **target, void *cmp, void *newval) { return atomic_cas_ptr (target, cmp, newval); }
19133 if ac_fn_c_try_link "$LINENO"; then :
19134 hb_cv_have_solaris_atomic_ops=true
19137 rm -f core conftest.err conftest.$ac_objext \
19138 conftest$ac_exeext conftest.$ac_ext
19141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hb_cv_have_solaris_atomic_ops" >&5
19142 $as_echo "$hb_cv_have_solaris_atomic_ops" >&6; }
19143 if $hb_cv_have_solaris_atomic_ops; then
19145 $as_echo "#define HAVE_SOLARIS_ATOMIC_OPS 1" >>confdefs.h
19149 if test "$os_win32" = no && ! $have_pthread; then
19150 for ac_header in sched.h
19152 ac_fn_c_check_header_mongrel "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
19153 if test "x$ac_cv_header_sched_h" = xyes; then :
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_SCHED_H 1
19162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19163 $as_echo_n "checking for library containing sched_yield... " >&6; }
19164 if ${ac_cv_search_sched_yield+:} false; then :
19165 $as_echo_n "(cached) " >&6
19167 ac_func_search_save_LIBS=$LIBS
19168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19169 /* end confdefs.h. */
19171 /* Override any GCC internal prototype to avoid an error.
19172 Use char because int might match the return type of a GCC
19173 builtin and then its argument prototype would still apply. */
19177 char sched_yield ();
19181 return sched_yield ();
19186 for ac_lib in '' rt; do
19187 if test -z "$ac_lib"; then
19188 ac_res="none required"
19191 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19193 if ac_fn_c_try_link "$LINENO"; then :
19194 ac_cv_search_sched_yield=$ac_res
19196 rm -f core conftest.err conftest.$ac_objext \
19198 if ${ac_cv_search_sched_yield+:} false; then :
19202 if ${ac_cv_search_sched_yield+:} false; then :
19205 ac_cv_search_sched_yield=no
19207 rm conftest.$ac_ext
19208 LIBS=$ac_func_search_save_LIBS
19210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19211 $as_echo "$ac_cv_search_sched_yield" >&6; }
19212 ac_res=$ac_cv_search_sched_yield
19213 if test "$ac_res" != no; then :
19214 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19216 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19223 ac_config_files="$ac_config_files Makefile src/Makefile src/hb-version.h src/hb-ucdn/Makefile util/Makefile test/Makefile test/api/Makefile test/fuzzing/Makefile test/shaping/Makefile docs/Makefile docs/version.xml win32/Makefile win32/config.h.win32"
19226 cat >confcache <<\_ACEOF
19227 # This file is a shell script that caches the results of configure
19228 # tests run on this system so they can be shared between configure
19229 # scripts and configure runs, see configure's option --config-cache.
19230 # It is not useful on other systems. If it contains results you don't
19231 # want to keep, you may remove or edit it.
19233 # config.status only pays attention to the cache file if you give it
19234 # the --recheck option to rerun configure.
19236 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19237 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19238 # following values.
19242 # The following way of writing the cache mishandles newlines in values,
19243 # but we know of no workaround that is simple, portable, and efficient.
19244 # So, we kill variables containing newlines.
19245 # Ultrix sh set writes to stderr and can't be redirected directly,
19246 # and sets the high bit in the cache file unless we assign to the vars.
19248 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19249 eval ac_val=\$$ac_var
19253 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19254 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19257 _ | IFS | as_nl) ;; #(
19258 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19259 *) { eval $ac_var=; unset $ac_var;} ;;
19265 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19266 *${as_nl}ac_space=\ *)
19267 # `set' does not quote correctly, so add quotes: double-quote
19268 # substitution turns \\\\ into \\, and sed turns \\ into \.
19271 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19274 # `set' quotes correctly as required by POSIX, so do not add quotes.
19275 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19284 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19286 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19288 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19289 if test -w "$cache_file"; then
19290 if test "x$cache_file" != "x/dev/null"; then
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19292 $as_echo "$as_me: updating cache $cache_file" >&6;}
19293 if test ! -f "$cache_file" || test -h "$cache_file"; then
19294 cat confcache >"$cache_file"
19296 case $cache_file in #(
19298 mv -f confcache "$cache_file"$$ &&
19299 mv -f "$cache_file"$$ "$cache_file" ;; #(
19301 mv -f confcache "$cache_file" ;;
19306 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19307 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19312 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19313 # Let make expand exec_prefix.
19314 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19316 DEFS=-DHAVE_CONFIG_H
19321 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19322 # 1. Remove the extension, and $U if already installed.
19323 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19324 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19325 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19326 # will be set to the directory where LIBOBJS objects are built.
19327 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19328 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19330 LIBOBJS=$ac_libobjs
19332 LTLIBOBJS=$ac_ltlibobjs
19335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19336 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19337 if test -n "$am_sleep_pid"; then
19338 # Hide warnings about reused PIDs.
19339 wait $am_sleep_pid 2>/dev/null
19341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19342 $as_echo "done" >&6; }
19343 if test -n "$EXEEXT"; then
19345 am__EXEEXT_FALSE='#'
19347 am__EXEEXT_TRUE='#'
19351 if test -z "${AUTOMAKE_OLDER_THAN_1_13_TRUE}" && test -z "${AUTOMAKE_OLDER_THAN_1_13_FALSE}"; then
19352 as_fn_error $? "conditional \"AUTOMAKE_OLDER_THAN_1_13\" was never defined.
19353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19355 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19356 as_fn_error $? "conditional \"AMDEP\" was never defined.
19357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19359 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19360 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19363 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19364 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19367 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19368 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19371 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
19372 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
19373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19375 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
19376 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
19377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19379 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
19380 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
19381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19383 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
19384 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
19385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19387 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
19388 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
19389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19391 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
19392 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
19393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19395 if test -z "${HAVE_GCC_TRUE}" && test -z "${HAVE_GCC_FALSE}"; then
19396 as_fn_error $? "conditional \"HAVE_GCC\" was never defined.
19397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19399 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
19400 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
19401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19403 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
19404 as_fn_error $? "conditional \"HAVE_PTHREAD\" was never defined.
19405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19407 if test -z "${HAVE_OT_TRUE}" && test -z "${HAVE_OT_FALSE}"; then
19408 as_fn_error $? "conditional \"HAVE_OT\" was never defined.
19409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19411 if test -z "${HAVE_FALLBACK_TRUE}" && test -z "${HAVE_FALLBACK_FALSE}"; then
19412 as_fn_error $? "conditional \"HAVE_FALLBACK\" was never defined.
19413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19415 if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
19416 as_fn_error $? "conditional \"HAVE_GLIB\" was never defined.
19417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19419 if test -z "${HAVE_GOBJECT_TRUE}" && test -z "${HAVE_GOBJECT_FALSE}"; then
19420 as_fn_error $? "conditional \"HAVE_GOBJECT\" was never defined.
19421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19423 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
19424 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
19425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19427 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
19428 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
19429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19431 if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then
19432 as_fn_error $? "conditional \"HAVE_CAIRO\" was never defined.
19433 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19435 if test -z "${HAVE_CAIRO_FT_TRUE}" && test -z "${HAVE_CAIRO_FT_FALSE}"; then
19436 as_fn_error $? "conditional \"HAVE_CAIRO_FT\" was never defined.
19437 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19439 if test -z "${HAVE_FONTCONFIG_TRUE}" && test -z "${HAVE_FONTCONFIG_FALSE}"; then
19440 as_fn_error $? "conditional \"HAVE_FONTCONFIG\" was never defined.
19441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19443 if test -z "${HAVE_ICU_TRUE}" && test -z "${HAVE_ICU_FALSE}"; then
19444 as_fn_error $? "conditional \"HAVE_ICU\" was never defined.
19445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19447 if test -z "${HAVE_ICU_BUILTIN_TRUE}" && test -z "${HAVE_ICU_BUILTIN_FALSE}"; then
19448 as_fn_error $? "conditional \"HAVE_ICU_BUILTIN\" was never defined.
19449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19451 if test -z "${HAVE_UCDN_TRUE}" && test -z "${HAVE_UCDN_FALSE}"; then
19452 as_fn_error $? "conditional \"HAVE_UCDN\" was never defined.
19453 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19455 if test -z "${HAVE_GRAPHITE2_TRUE}" && test -z "${HAVE_GRAPHITE2_FALSE}"; then
19456 as_fn_error $? "conditional \"HAVE_GRAPHITE2\" was never defined.
19457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19459 if test -z "${HAVE_FREETYPE_TRUE}" && test -z "${HAVE_FREETYPE_FALSE}"; then
19460 as_fn_error $? "conditional \"HAVE_FREETYPE\" was never defined.
19461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19463 if test -z "${HAVE_UNISCRIBE_TRUE}" && test -z "${HAVE_UNISCRIBE_FALSE}"; then
19464 as_fn_error $? "conditional \"HAVE_UNISCRIBE\" was never defined.
19465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19467 if test -z "${HAVE_DIRECTWRITE_TRUE}" && test -z "${HAVE_DIRECTWRITE_FALSE}"; then
19468 as_fn_error $? "conditional \"HAVE_DIRECTWRITE\" was never defined.
19469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19471 if test -z "${HAVE_CORETEXT_TRUE}" && test -z "${HAVE_CORETEXT_FALSE}"; then
19472 as_fn_error $? "conditional \"HAVE_CORETEXT\" was never defined.
19473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19476 : "${CONFIG_STATUS=./config.status}"
19478 ac_clean_files_save=$ac_clean_files
19479 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19480 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19481 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19483 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19485 # Generated by $as_me.
19486 # Run this file to recreate the current configuration.
19487 # Compiler output produced by configure, useful for debugging
19488 # configure, is in config.log if it exists.
19491 ac_cs_recheck=false
19494 SHELL=\${CONFIG_SHELL-$SHELL}
19497 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19498 ## -------------------- ##
19499 ## M4sh Initialization. ##
19500 ## -------------------- ##
19502 # Be more Bourne compatible
19503 DUALCASE=1; export DUALCASE # for MKS sh
19504 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19507 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19508 # is contrary to our usage. Disable this feature.
19509 alias -g '${1+"$@"}'='"$@"'
19510 setopt NO_GLOB_SUBST
19512 case `(set -o) 2>/dev/null` in #(
19524 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19525 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19526 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19527 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19528 # Prefer a ksh shell builtin over an external printf program on Solaris,
19529 # but without wasting forks for bash or zsh.
19530 if test -z "$BASH_VERSION$ZSH_VERSION" \
19531 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19532 as_echo='print -r --'
19533 as_echo_n='print -rn --'
19534 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19535 as_echo='printf %s\n'
19536 as_echo_n='printf %s'
19538 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19539 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19540 as_echo_n='/usr/ucb/echo -n'
19542 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19543 as_echo_n_body='eval
19547 expr "X$arg" : "X\\(.*\\)$as_nl";
19548 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19550 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19552 export as_echo_n_body
19553 as_echo_n='sh -c $as_echo_n_body as_echo'
19555 export as_echo_body
19556 as_echo='sh -c $as_echo_body as_echo'
19559 # The user is always right.
19560 if test "${PATH_SEPARATOR+set}" != set; then
19562 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19563 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19570 # We need space, tab and new line, in precisely that order. Quoting is
19571 # there to prevent editors from complaining about space-tab.
19572 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19573 # splitting by setting IFS to empty value.)
19576 # Find who we are. Look in the path if we contain no directory separator.
19579 *[\\/]* ) as_myself=$0 ;;
19580 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19581 for as_dir in $PATH
19584 test -z "$as_dir" && as_dir=.
19585 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19591 # We did not find ourselves, most probably we were run as `sh COMMAND'
19592 # in which case we are not to be found in the path.
19593 if test "x$as_myself" = x; then
19596 if test ! -f "$as_myself"; then
19597 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19601 # Unset variables that we do not need and which cause bugs (e.g. in
19602 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19603 # suppresses any "Segmentation fault" message there. '((' could
19604 # trigger a bug in pdksh 5.2.14.
19605 for as_var in BASH_ENV ENV MAIL MAILPATH
19606 do eval test x\${$as_var+set} = xset \
19607 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19620 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19623 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19624 # ----------------------------------------
19625 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19626 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19627 # script with STATUS, using 1 if that was 0.
19630 as_status=$1; test $as_status -eq 0 && as_status=1
19632 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19633 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19635 $as_echo "$as_me: error: $2" >&2
19636 as_fn_exit $as_status
19640 # as_fn_set_status STATUS
19641 # -----------------------
19642 # Set $? to STATUS, without forking.
19643 as_fn_set_status ()
19646 } # as_fn_set_status
19648 # as_fn_exit STATUS
19649 # -----------------
19650 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19654 as_fn_set_status $1
19660 # Portably unset VAR.
19663 { eval $1=; unset $1;}
19665 as_unset=as_fn_unset
19666 # as_fn_append VAR VALUE
19667 # ----------------------
19668 # Append the text in VALUE to the end of the definition contained in VAR. Take
19669 # advantage of any shell optimizations that allow amortized linear growth over
19670 # repeated appends, instead of the typical quadratic growth present in naive
19672 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19673 eval 'as_fn_append ()
19684 # as_fn_arith ARG...
19685 # ------------------
19686 # Perform arithmetic evaluation on the ARGs, and store the result in the
19687 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19688 # must be portable across $(()) and expr.
19689 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19690 eval 'as_fn_arith ()
19697 as_val=`expr "$@" || test $? -eq 1`
19702 if expr a : '\(a\)' >/dev/null 2>&1 &&
19703 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19709 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19710 as_basename=basename
19715 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19721 as_me=`$as_basename -- "$0" ||
19722 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19723 X"$0" : 'X\(//\)$' \| \
19724 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19726 sed '/^.*\/\([^/][^/]*\)\/*$/{
19740 # Avoid depending upon Character Ranges.
19741 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19742 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19743 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19744 as_cr_digits='0123456789'
19745 as_cr_alnum=$as_cr_Letters$as_cr_digits
19747 ECHO_C= ECHO_N= ECHO_T=
19748 case `echo -n x` in #(((((
19750 case `echo 'xy\c'` in
19751 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19753 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19760 rm -f conf$$ conf$$.exe conf$$.file
19761 if test -d conf$$.dir; then
19762 rm -f conf$$.dir/conf$$.file
19765 mkdir conf$$.dir 2>/dev/null
19767 if (echo >conf$$.file) 2>/dev/null; then
19768 if ln -s conf$$.file conf$$ 2>/dev/null; then
19770 # ... but there are two gotchas:
19771 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19772 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19773 # In both cases, we have to default to `cp -pR'.
19774 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19776 elif ln conf$$.file conf$$ 2>/dev/null; then
19784 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19785 rmdir conf$$.dir 2>/dev/null
19790 # Create "$as_dir" as a directory, including parents if necessary.
19795 -*) as_dir=./$as_dir;;
19797 test -d "$as_dir" || eval $as_mkdir_p || {
19801 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19802 *) as_qdir=$as_dir;;
19804 as_dirs="'$as_qdir' $as_dirs"
19805 as_dir=`$as_dirname -- "$as_dir" ||
19806 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19807 X"$as_dir" : 'X\(//\)[^/]' \| \
19808 X"$as_dir" : 'X\(//\)$' \| \
19809 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19810 $as_echo X"$as_dir" |
19811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19815 /^X\(\/\/\)[^/].*/{
19828 test -d "$as_dir" && break
19830 test -z "$as_dirs" || eval "mkdir $as_dirs"
19831 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19835 if mkdir -p . 2>/dev/null; then
19836 as_mkdir_p='mkdir -p "$as_dir"'
19838 test -d ./-p && rmdir ./-p
19843 # as_fn_executable_p FILE
19844 # -----------------------
19845 # Test if FILE is an executable regular file.
19846 as_fn_executable_p ()
19848 test -f "$1" && test -x "$1"
19849 } # as_fn_executable_p
19850 as_test_x='test -x'
19851 as_executable_p=as_fn_executable_p
19853 # Sed expression to map a string onto a valid CPP name.
19854 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19856 # Sed expression to map a string onto a valid variable name.
19857 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19861 ## ----------------------------------- ##
19862 ## Main body of $CONFIG_STATUS script. ##
19863 ## ----------------------------------- ##
19865 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19868 # Save the log message, to keep $0 and so on meaningful, and to
19869 # report actual input values of CONFIG_FILES etc. instead of their
19870 # values after options handling.
19872 This file was extended by HarfBuzz $as_me 1.2.7, which was
19873 generated by GNU Autoconf 2.69. Invocation command line was
19875 CONFIG_FILES = $CONFIG_FILES
19876 CONFIG_HEADERS = $CONFIG_HEADERS
19877 CONFIG_LINKS = $CONFIG_LINKS
19878 CONFIG_COMMANDS = $CONFIG_COMMANDS
19881 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19886 case $ac_config_files in *"
19887 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19890 case $ac_config_headers in *"
19891 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19896 # Files that config.status was made for.
19897 config_files="$ac_config_files"
19898 config_headers="$ac_config_headers"
19899 config_commands="$ac_config_commands"
19903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19905 \`$as_me' instantiates files and other configuration actions
19906 from templates according to the current configuration. Unless the files
19907 and actions are specified as TAGs, all are instantiated by default.
19909 Usage: $0 [OPTION]... [TAG]...
19911 -h, --help print this help, then exit
19912 -V, --version print version number and configuration settings, then exit
19913 --config print configuration, then exit
19914 -q, --quiet, --silent
19915 do not print progress messages
19916 -d, --debug don't remove temporary files
19917 --recheck update $as_me by reconfiguring in the same conditions
19918 --file=FILE[:TEMPLATE]
19919 instantiate the configuration file FILE
19920 --header=FILE[:TEMPLATE]
19921 instantiate the configuration header FILE
19923 Configuration files:
19926 Configuration headers:
19929 Configuration commands:
19932 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz>.
19933 HarfBuzz home page: <http://harfbuzz.org/>."
19936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19937 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19939 HarfBuzz config.status 1.2.7
19940 configured by $0, generated by GNU Autoconf 2.69,
19941 with options \\"\$ac_cs_config\\"
19943 Copyright (C) 2012 Free Software Foundation, Inc.
19944 This config.status script is free software; the Free Software Foundation
19945 gives unlimited permission to copy, distribute and modify it."
19952 test -n "\$AWK" || AWK=awk
19955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19956 # The default lists apply if the user does not specify any file.
19962 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19963 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19967 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19979 # Handling of the options.
19980 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19982 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19983 $as_echo "$ac_cs_version"; exit ;;
19984 --config | --confi | --conf | --con | --co | --c )
19985 $as_echo "$ac_cs_config"; exit ;;
19986 --debug | --debu | --deb | --de | --d | -d )
19988 --file | --fil | --fi | --f )
19991 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19992 '') as_fn_error $? "missing file argument" ;;
19994 as_fn_append CONFIG_FILES " '$ac_optarg'"
19995 ac_need_defaults=false;;
19996 --header | --heade | --head | --hea )
19999 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20001 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20002 ac_need_defaults=false;;
20004 # Conflict between --help and --header
20005 as_fn_error $? "ambiguous option: \`$1'
20006 Try \`$0 --help' for more information.";;
20007 --help | --hel | -h )
20008 $as_echo "$ac_cs_usage"; exit ;;
20009 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20010 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20013 # This is an error.
20014 -*) as_fn_error $? "unrecognized option: \`$1'
20015 Try \`$0 --help' for more information." ;;
20017 *) as_fn_append ac_config_targets " $1"
20018 ac_need_defaults=false ;;
20024 ac_configure_extra_args=
20026 if $ac_cs_silent; then
20028 ac_configure_extra_args="$ac_configure_extra_args --silent"
20032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20033 if \$ac_cs_recheck; then
20034 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20036 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20037 CONFIG_SHELL='$SHELL'
20038 export CONFIG_SHELL
20043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20047 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20048 ## Running $as_me. ##
20054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20058 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20061 # The HP-UX ksh and POSIX shell print the target directory to stdout
20062 # if CDPATH is set.
20063 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20065 sed_quote_subst='$sed_quote_subst'
20066 double_quote_subst='$double_quote_subst'
20067 delay_variable_subst='$delay_variable_subst'
20068 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20069 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20070 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20071 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20072 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20073 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20074 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20075 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20076 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20077 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20078 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20079 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20080 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20081 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20082 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20083 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20084 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20085 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20086 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20087 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20088 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20089 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20090 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20091 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20092 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20093 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20094 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20095 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20096 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20097 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20098 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20099 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20100 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20101 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20102 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20103 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20104 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20105 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20106 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20107 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20108 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20109 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20110 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20111 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20112 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20113 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20114 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20115 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20116 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20117 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20118 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20119 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20120 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20121 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20122 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20123 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20124 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"`'
20125 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20126 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20127 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20128 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20129 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20130 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20131 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20132 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20133 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20134 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20135 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20136 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20137 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20138 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20139 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20140 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20141 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20142 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20143 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20144 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20145 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20146 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20147 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20148 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20149 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20150 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20151 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20152 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20153 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20154 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20155 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20156 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20157 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20158 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20159 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20160 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20161 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20162 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20163 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20164 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20165 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20166 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20167 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20168 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20169 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20170 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20171 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20172 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20173 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20174 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20175 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20176 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20177 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20178 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20179 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20180 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20181 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20182 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20183 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20184 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20185 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20186 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20187 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20188 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20189 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20190 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20191 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20192 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20193 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20194 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20195 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20196 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20197 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20198 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20199 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20200 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20201 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20202 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20203 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20204 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20205 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20206 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20207 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20208 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20209 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20210 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20211 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20212 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20213 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20214 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20215 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20216 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20217 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20218 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20219 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20220 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20221 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20222 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20223 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20224 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20225 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20226 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20227 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20228 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20229 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20230 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20231 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20232 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20233 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20234 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20235 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20236 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20237 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20238 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20239 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20240 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20241 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20242 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20243 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20244 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20245 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20246 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20247 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20248 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20249 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20250 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20251 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20254 LTCFLAGS='$LTCFLAGS'
20255 compiler='$compiler_DEFAULT'
20257 # A function that is used when there is no print builtin or printf.
20258 func_fallback_echo ()
20260 eval 'cat <<_LTECHO_EOF
20265 # Quote evaled strings.
20280 deplibs_check_method \
20285 sharedlib_from_linklib_cmd \
20288 archiver_list_spec \
20294 lt_cv_sys_global_symbol_pipe \
20295 lt_cv_sys_global_symbol_to_cdecl \
20296 lt_cv_sys_global_symbol_to_c_name_address \
20297 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20298 nm_file_list_spec \
20299 lt_prog_compiler_no_builtin_flag \
20300 lt_prog_compiler_pic \
20301 lt_prog_compiler_wl \
20302 lt_prog_compiler_static \
20303 lt_cv_prog_compiler_c_o \
20312 export_dynamic_flag_spec \
20313 whole_archive_flag_spec \
20314 compiler_needs_object \
20316 allow_undefined_flag \
20317 no_undefined_flag \
20318 hardcode_libdir_flag_spec \
20319 hardcode_libdir_separator \
20323 variables_saved_for_relink \
20325 library_names_spec \
20327 install_override_mode \
20331 compiler_lib_search_dirs \
20336 compiler_lib_search_path \
20340 lt_prog_compiler_no_builtin_flag_CXX \
20341 lt_prog_compiler_pic_CXX \
20342 lt_prog_compiler_wl_CXX \
20343 lt_prog_compiler_static_CXX \
20344 lt_cv_prog_compiler_c_o_CXX \
20345 export_dynamic_flag_spec_CXX \
20346 whole_archive_flag_spec_CXX \
20347 compiler_needs_object_CXX \
20349 allow_undefined_flag_CXX \
20350 no_undefined_flag_CXX \
20351 hardcode_libdir_flag_spec_CXX \
20352 hardcode_libdir_separator_CXX \
20353 exclude_expsyms_CXX \
20354 include_expsyms_CXX \
20355 file_list_spec_CXX \
20356 compiler_lib_search_dirs_CXX \
20357 predep_objects_CXX \
20358 postdep_objects_CXX \
20361 compiler_lib_search_path_CXX; do
20362 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20363 *[\\\\\\\`\\"\\\$]*)
20364 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20367 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20372 # Double-quote double-evaled strings.
20373 for var in reload_cmds \
20374 old_postinstall_cmds \
20375 old_postuninstall_cmds \
20377 extract_expsyms_cmds \
20378 old_archive_from_new_cmds \
20379 old_archive_from_expsyms_cmds \
20381 archive_expsym_cmds \
20383 module_expsym_cmds \
20384 export_symbols_cmds \
20388 postuninstall_cmds \
20390 sys_lib_search_path_spec \
20391 sys_lib_dlsearch_path_spec \
20393 old_archive_cmds_CXX \
20394 old_archive_from_new_cmds_CXX \
20395 old_archive_from_expsyms_cmds_CXX \
20397 archive_expsym_cmds_CXX \
20399 module_expsym_cmds_CXX \
20400 export_symbols_cmds_CXX \
20402 postlink_cmds_CXX; do
20403 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20404 *[\\\\\\\`\\"\\\$]*)
20405 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20408 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20413 ac_aux_dir='$ac_aux_dir'
20414 xsi_shell='$xsi_shell'
20415 lt_shell_append='$lt_shell_append'
20417 # See if we are running on zsh, and set the options which allow our
20418 # commands through without removal of \ escapes INIT.
20419 if test -n "\${ZSH_VERSION+set}" ; then
20420 setopt NO_GLOB_SUBST
20426 TIMESTAMP='$TIMESTAMP'
20437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20439 # Handling of arguments.
20440 for ac_config_target in $ac_config_targets
20442 case $ac_config_target in
20443 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20444 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20445 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20446 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20447 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20448 "src/hb-version.h") CONFIG_FILES="$CONFIG_FILES src/hb-version.h" ;;
20449 "src/hb-ucdn/Makefile") CONFIG_FILES="$CONFIG_FILES src/hb-ucdn/Makefile" ;;
20450 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
20451 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
20452 "test/api/Makefile") CONFIG_FILES="$CONFIG_FILES test/api/Makefile" ;;
20453 "test/fuzzing/Makefile") CONFIG_FILES="$CONFIG_FILES test/fuzzing/Makefile" ;;
20454 "test/shaping/Makefile") CONFIG_FILES="$CONFIG_FILES test/shaping/Makefile" ;;
20455 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
20456 "docs/version.xml") CONFIG_FILES="$CONFIG_FILES docs/version.xml" ;;
20457 "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
20458 "win32/config.h.win32") CONFIG_FILES="$CONFIG_FILES win32/config.h.win32" ;;
20460 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20465 # If the user did not use the arguments to specify the items to instantiate,
20466 # then the envvar interface is used. Set only those that are not.
20467 # We use the long form for the default assignment because of an extremely
20468 # bizarre bug on SunOS 4.1.3.
20469 if $ac_need_defaults; then
20470 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20471 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20472 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20475 # Have a temporary directory for convenience. Make it in the build tree
20476 # simply because there is no reason against having it here, and in addition,
20477 # creating and moving files from /tmp can sometimes cause problems.
20478 # Hook for its removal unless debugging.
20479 # Note that there is a small window in which the directory will not be cleaned:
20480 # after its creation but before its name has been assigned to `$tmp'.
20484 trap 'exit_status=$?
20485 : "${ac_tmp:=$tmp}"
20486 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20488 trap 'as_fn_exit 1' 1 2 13 15
20490 # Create a (secure) tmp directory for tmp files.
20493 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20497 tmp=./conf$$-$RANDOM
20498 (umask 077 && mkdir "$tmp")
20499 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20502 # Set up the scripts for CONFIG_FILES section.
20503 # No need to generate them if there are no CONFIG_FILES.
20504 # This happens for instance with `./config.status config.h'.
20505 if test -n "$CONFIG_FILES"; then
20508 ac_cr=`echo X | tr X '\015'`
20509 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20510 # But we know of no other shell where ac_cr would be empty at this
20511 # point, so we can use a bashism as a fallback.
20512 if test "x$ac_cr" = x; then
20513 eval ac_cr=\$\'\\r\'
20515 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20516 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20519 ac_cs_awk_cr=$ac_cr
20522 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20527 echo "cat >conf$$subs.awk <<_ACEOF" &&
20528 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20530 } >conf$$subs.sh ||
20531 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20532 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20534 for ac_last_try in false false false false false :; do
20535 . ./conf$$subs.sh ||
20536 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20538 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20539 if test $ac_delim_n = $ac_delim_num; then
20541 elif $ac_last_try; then
20542 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20544 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20547 rm -f conf$$subs.sh
20549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20550 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20554 s/^/S["/; s/!.*/"]=/
20564 s/\(.\{148\}\)..*/\1/
20566 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20571 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20578 s/\(.\{148\}\)..*/\1/
20580 s/["\\]/\\&/g; s/^/"/; s/$/"/
20584 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20589 ' <conf$$subs.awk | sed '
20594 ' >>$CONFIG_STATUS || ac_write_fail=1
20595 rm -f conf$$subs.awk
20596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20598 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20599 for (key in S) S_is_set[key] = 1
20605 nfields = split(line, field, "@")
20607 len = length(field[1])
20608 for (i = 2; i < nfields; i++) {
20610 keylen = length(key)
20611 if (S_is_set[key]) {
20613 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20614 len += length(value) + length(field[++i])
20625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20626 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20627 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20630 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20631 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20634 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20635 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20636 # trailing colons and then remove the whole line if VPATH becomes empty
20637 # (actually we leave an empty line to preserve line numbers).
20638 if test "x$srcdir" = x.; then
20639 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20658 fi # test -n "$CONFIG_FILES"
20660 # Set up the scripts for CONFIG_HEADERS section.
20661 # No need to generate them if there are no CONFIG_HEADERS.
20662 # This happens for instance with `./config.status Makefile'.
20663 if test -n "$CONFIG_HEADERS"; then
20664 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20668 # Transform confdefs.h into an awk script `defines.awk', embedded as
20669 # here-document in config.status, that substitutes the proper values into
20670 # config.h.in to produce config.h.
20672 # Create a delimiter string that does not exist in confdefs.h, to ease
20673 # handling of long lines.
20675 for ac_last_try in false false :; do
20676 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20677 if test -z "$ac_tt"; then
20679 elif $ac_last_try; then
20680 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20682 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20686 # For the awk script, D is an array of macro values keyed by name,
20687 # likewise P contains macro parameters if any. Preserve backslash
20688 # newline sequences.
20690 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20692 s/.\{148\}/&'"$ac_delim"'/g
20695 s/^[ ]*#[ ]*define[ ][ ]*/ /
20702 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20704 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20708 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20709 D["\1"]=" \3\\\\\\n"\\/p
20711 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20716 s/.\{148\}/&'"$ac_delim"'/g
20721 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20724 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20726 ' <confdefs.h | sed '
20727 s/'"$ac_delim"'/"\\\
20728 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20731 for (key in D) D_is_set[key] = 1
20734 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20736 split(line, arg, " ")
20737 if (arg[1] == "#") {
20741 defundef = substr(arg[1], 2)
20744 split(mac1, mac2, "(") #)
20746 prefix = substr(line, 1, index(line, defundef) - 1)
20747 if (D_is_set[macro]) {
20748 # Preserve the white space surrounding the "#".
20749 print prefix "define", macro P[macro] D[macro]
20752 # Replace #undef with comments. This is necessary, for example,
20753 # in the case of _POSIX_SOURCE, which is predefined and required
20754 # on some systems where configure will not decide to define it.
20755 if (defundef == "undef") {
20756 print "/*", prefix defundef, macro, "*/"
20764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20765 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20766 fi # test -n "$CONFIG_HEADERS"
20769 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20774 :[FHLC]) ac_mode=$ac_tag; continue;;
20776 case $ac_mode$ac_tag in
20778 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20779 :[FH]-) ac_tag=-:-;;
20780 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20797 -) ac_f="$ac_tmp/stdin";;
20798 *) # Look for the file first in the build tree, then in the source tree
20799 # (if the path is not absolute). The absolute path cannot be DOS-style,
20800 # because $ac_f cannot contain `:'.
20804 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20806 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20808 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20809 as_fn_append ac_file_inputs " '$ac_f'"
20812 # Let's still pretend it is `configure' which instantiates (i.e., don't
20813 # use $as_me), people would be surprised to read:
20814 # /* config.h. Generated by config.status. */
20815 configure_input='Generated from '`
20816 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20818 if test x"$ac_file" != x-; then
20819 configure_input="$ac_file. $configure_input"
20820 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20821 $as_echo "$as_me: creating $ac_file" >&6;}
20823 # Neutralize special characters interpreted by sed in replacement strings.
20824 case $configure_input in #(
20825 *\&* | *\|* | *\\* )
20826 ac_sed_conf_input=`$as_echo "$configure_input" |
20827 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20828 *) ac_sed_conf_input=$configure_input;;
20832 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20833 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20838 ac_dir=`$as_dirname -- "$ac_file" ||
20839 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20840 X"$ac_file" : 'X\(//\)[^/]' \| \
20841 X"$ac_file" : 'X\(//\)$' \| \
20842 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20843 $as_echo X"$ac_file" |
20844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20848 /^X\(\/\/\)[^/].*/{
20861 as_dir="$ac_dir"; as_fn_mkdir_p
20865 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20867 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20868 # A ".." for each directory in $ac_dir_suffix.
20869 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20870 case $ac_top_builddir_sub in
20871 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20872 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20875 ac_abs_top_builddir=$ac_pwd
20876 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20877 # for backward compatibility:
20878 ac_top_builddir=$ac_top_build_prefix
20881 .) # We are building in place.
20883 ac_top_srcdir=$ac_top_builddir_sub
20884 ac_abs_top_srcdir=$ac_pwd ;;
20885 [\\/]* | ?:[\\/]* ) # Absolute name.
20886 ac_srcdir=$srcdir$ac_dir_suffix;
20887 ac_top_srcdir=$srcdir
20888 ac_abs_top_srcdir=$srcdir ;;
20889 *) # Relative name.
20890 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20891 ac_top_srcdir=$ac_top_build_prefix$srcdir
20892 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20894 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20904 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20905 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20907 ac_MKDIR_P=$MKDIR_P
20909 [\\/$]* | ?:[\\/]* ) ;;
20910 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20915 # If the template does not know about datarootdir, expand it.
20916 # FIXME: This hack should be removed a few years after 2.60.
20917 ac_datarootdir_hack=; ac_datarootdir_seen=
20928 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20929 *datarootdir*) ac_datarootdir_seen=yes;;
20930 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20932 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20935 ac_datarootdir_hack='
20936 s&@datadir@&$datadir&g
20937 s&@docdir@&$docdir&g
20938 s&@infodir@&$infodir&g
20939 s&@localedir@&$localedir&g
20940 s&@mandir@&$mandir&g
20941 s&\\\${datarootdir}&$datarootdir&g' ;;
20945 # Neutralize VPATH when `$srcdir' = `.'.
20946 # Shell code in configure.ac might set extrasub.
20947 # FIXME: do we really want to maintain this feature?
20948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20949 ac_sed_extra="$ac_vpsub
20952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20954 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20955 s|@configure_input@|$ac_sed_conf_input|;t t
20956 s&@top_builddir@&$ac_top_builddir_sub&;t t
20957 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20958 s&@srcdir@&$ac_srcdir&;t t
20959 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20960 s&@top_srcdir@&$ac_top_srcdir&;t t
20961 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20962 s&@builddir@&$ac_builddir&;t t
20963 s&@abs_builddir@&$ac_abs_builddir&;t t
20964 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20965 s&@INSTALL@&$ac_INSTALL&;t t
20966 s&@MKDIR_P@&$ac_MKDIR_P&;t t
20967 $ac_datarootdir_hack
20969 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20970 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20972 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20973 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20974 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20975 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20977 which seems to be undefined. Please make sure it is defined" >&5
20978 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20979 which seems to be undefined. Please make sure it is defined" >&2;}
20981 rm -f "$ac_tmp/stdin"
20983 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20984 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20986 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20992 if test x"$ac_file" != x-; then
20994 $as_echo "/* $configure_input */" \
20995 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20996 } >"$ac_tmp/config.h" \
20997 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20998 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20999 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21000 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21003 mv "$ac_tmp/config.h" "$ac_file" \
21004 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21007 $as_echo "/* $configure_input */" \
21008 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21009 || as_fn_error $? "could not create -" "$LINENO" 5
21011 # Compute "$ac_file"'s index in $config_headers.
21014 for _am_header in $config_headers :; do
21015 case $_am_header in
21016 $_am_arg | $_am_arg:* )
21019 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21022 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21023 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21024 X"$_am_arg" : 'X\(//\)[^/]' \| \
21025 X"$_am_arg" : 'X\(//\)$' \| \
21026 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21027 $as_echo X"$_am_arg" |
21028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21032 /^X\(\/\/\)[^/].*/{
21044 s/.*/./; q'`/stamp-h$_am_stamp_count
21047 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21048 $as_echo "$as_me: executing $ac_file commands" >&6;}
21053 case $ac_file$ac_mode in
21054 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21055 # Older Autoconf quotes --file arguments for eval, but not when files
21056 # are listed without --file. Let's play safe and only enable the eval
21057 # if we detect the quoting.
21058 case $CONFIG_FILES in
21059 *\'*) eval set x "$CONFIG_FILES" ;;
21060 *) set x $CONFIG_FILES ;;
21065 # Strip MF so we end up with the name of the file.
21066 mf=`echo "$mf" | sed -e 's/:.*$//'`
21067 # Check whether this is an Automake generated Makefile or not.
21068 # We used to match only the files named 'Makefile.in', but
21069 # some people rename them; so instead we look at the file content.
21070 # Grep'ing the first line is not enough: some people post-process
21071 # each Makefile.in and add a new line on top of each file to say so.
21072 # Grep'ing the whole file is not good either: AIX grep has a line
21073 # limit of 2048, but all sed's we know have understand at least 4000.
21074 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21075 dirpart=`$as_dirname -- "$mf" ||
21076 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21077 X"$mf" : 'X\(//\)[^/]' \| \
21078 X"$mf" : 'X\(//\)$' \| \
21079 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21085 /^X\(\/\/\)[^/].*/{
21101 # Extract the definition of DEPDIR, am__include, and am__quote
21102 # from the Makefile without running 'make'.
21103 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21104 test -z "$DEPDIR" && continue
21105 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21106 test -z "$am__include" && continue
21107 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21108 # Find all dependency output files, they are included files with
21109 # $(DEPDIR) in their names. We invoke sed twice because it is the
21110 # simplest approach to changing $(DEPDIR) to its actual value in the
21112 for file in `sed -n "
21113 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21114 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21115 # Make sure the directory exists.
21116 test -f "$dirpart/$file" && continue
21117 fdir=`$as_dirname -- "$file" ||
21118 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21119 X"$file" : 'X\(//\)[^/]' \| \
21120 X"$file" : 'X\(//\)$' \| \
21121 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21122 $as_echo X"$file" |
21123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21127 /^X\(\/\/\)[^/].*/{
21140 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21141 # echo "creating $dirpart/$file"
21142 echo '# dummy' > "$dirpart/$file"
21149 # See if we are running on zsh, and set the options which allow our
21150 # commands through without removal of \ escapes.
21151 if test -n "${ZSH_VERSION+set}" ; then
21152 setopt NO_GLOB_SUBST
21155 cfgfile="${ofile}T"
21156 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21159 cat <<_LT_EOF >> "$cfgfile"
21162 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21163 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21164 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21165 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21167 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21168 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21170 # Written by Gordon Matzigkeit, 1996
21172 # This file is part of GNU Libtool.
21174 # GNU Libtool is free software; you can redistribute it and/or
21175 # modify it under the terms of the GNU General Public License as
21176 # published by the Free Software Foundation; either version 2 of
21177 # the License, or (at your option) any later version.
21179 # As a special exception to the GNU General Public License,
21180 # if you distribute this file as part of a program or library that
21181 # is built using GNU Libtool, you may include this file under the
21182 # same distribution terms that you use for the rest of that program.
21184 # GNU Libtool is distributed in the hope that it will be useful,
21185 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21186 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21187 # GNU General Public License for more details.
21189 # You should have received a copy of the GNU General Public License
21190 # along with GNU Libtool; see the file COPYING. If not, a copy
21191 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21192 # obtained by writing to the Free Software Foundation, Inc.,
21193 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21196 # The names of the tagged configurations supported by this script.
21197 available_tags="CXX "
21199 # ### BEGIN LIBTOOL CONFIG
21201 # Which release of libtool.m4 was used?
21202 macro_version=$macro_version
21203 macro_revision=$macro_revision
21205 # Whether or not to build static libraries.
21206 build_old_libs=$enable_static
21208 # Whether or not to build shared libraries.
21209 build_libtool_libs=$enable_shared
21211 # What type of objects to build.
21214 # Whether or not to optimize for fast installation.
21215 fast_install=$enable_fast_install
21217 # Shell to use when invoking shell scripts.
21220 # An echo program that protects backslashes.
21223 # The PATH separator for the build system.
21224 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21227 host_alias=$host_alias
21231 # The build system.
21232 build_alias=$build_alias
21236 # A sed program that does not truncate output.
21239 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21240 Xsed="\$SED -e 1s/^X//"
21242 # A grep program that handles long lines.
21248 # A literal string matcher.
21251 # A BSD- or MS-compatible name lister.
21254 # Whether we need soft or hard links.
21257 # What is the maximum length of a command?
21258 max_cmd_len=$max_cmd_len
21260 # Object file suffix (normally "o").
21263 # Executable file suffix (normally "").
21266 # whether the shell understands "unset".
21269 # turn spaces into newlines.
21272 # turn newlines into spaces.
21275 # convert \$build file names to \$host format.
21276 to_host_file_cmd=$lt_cv_to_host_file_cmd
21278 # convert \$build files to toolchain format.
21279 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21281 # An object symbol dumper.
21282 OBJDUMP=$lt_OBJDUMP
21284 # Method to check whether dependent libraries are shared objects.
21285 deplibs_check_method=$lt_deplibs_check_method
21287 # Command to use when deplibs_check_method = "file_magic".
21288 file_magic_cmd=$lt_file_magic_cmd
21290 # How to find potential files when deplibs_check_method = "file_magic".
21291 file_magic_glob=$lt_file_magic_glob
21293 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21294 want_nocaseglob=$lt_want_nocaseglob
21296 # DLL creation program.
21297 DLLTOOL=$lt_DLLTOOL
21299 # Command to associate shared and link libraries.
21300 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21305 # Flags to create an archive.
21306 AR_FLAGS=$lt_AR_FLAGS
21308 # How to feed a file listing to the archiver.
21309 archiver_list_spec=$lt_archiver_list_spec
21311 # A symbol stripping program.
21314 # Commands used to install an old-style archive.
21316 old_postinstall_cmds=$lt_old_postinstall_cmds
21317 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21319 # Whether to use a lock for old archive extraction.
21320 lock_old_archive_extraction=$lock_old_archive_extraction
21325 # LTCC compiler flags.
21326 LTCFLAGS=$lt_CFLAGS
21328 # Take the output of nm and produce a listing of raw symbols and C names.
21329 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21331 # Transform the output of nm in a proper C declaration.
21332 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21334 # Transform the output of nm in a C name address pair.
21335 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21337 # Transform the output of nm in a C name address pair when lib prefix is needed.
21338 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21340 # Specify filename containing input files for \$NM.
21341 nm_file_list_spec=$lt_nm_file_list_spec
21343 # The root where to search for dependent libraries,and in which our libraries should be installed.
21344 lt_sysroot=$lt_sysroot
21346 # The name of the directory that contains temporary libtool files.
21349 # Used to examine libraries when file_magic_cmd begins with "file".
21350 MAGIC_CMD=$MAGIC_CMD
21352 # Must we lock files when doing compilation?
21353 need_locks=$lt_need_locks
21356 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21358 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21359 DSYMUTIL=$lt_DSYMUTIL
21361 # Tool to change global to local symbols on Mac OS X.
21364 # Tool to manipulate fat objects and archives on Mac OS X.
21367 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21370 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21371 OTOOL64=$lt_OTOOL64
21373 # Old archive suffix (normally "a").
21376 # Shared library suffix (normally ".so").
21377 shrext_cmds=$lt_shrext_cmds
21379 # The commands to extract the exported symbol list from a shared archive.
21380 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21382 # Variables whose values should be saved in libtool wrapper scripts and
21383 # restored at link time.
21384 variables_saved_for_relink=$lt_variables_saved_for_relink
21386 # Do we need the "lib" prefix for modules?
21387 need_lib_prefix=$need_lib_prefix
21389 # Do we need a version for libraries?
21390 need_version=$need_version
21392 # Library versioning type.
21393 version_type=$version_type
21395 # Shared library runtime path variable.
21396 runpath_var=$runpath_var
21398 # Shared library path variable.
21399 shlibpath_var=$shlibpath_var
21401 # Is shlibpath searched before the hard-coded library search path?
21402 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21404 # Format of library name prefix.
21405 libname_spec=$lt_libname_spec
21407 # List of archive names. First name is the real one, the rest are links.
21408 # The last name is the one that the linker finds with -lNAME
21409 library_names_spec=$lt_library_names_spec
21411 # The coded name of the library, if different from the real name.
21412 soname_spec=$lt_soname_spec
21414 # Permission mode override for installation of shared libraries.
21415 install_override_mode=$lt_install_override_mode
21417 # Command to use after installation of a shared archive.
21418 postinstall_cmds=$lt_postinstall_cmds
21420 # Command to use after uninstallation of a shared archive.
21421 postuninstall_cmds=$lt_postuninstall_cmds
21423 # Commands used to finish a libtool library installation in a directory.
21424 finish_cmds=$lt_finish_cmds
21426 # As "finish_cmds", except a single script fragment to be evaled but
21428 finish_eval=$lt_finish_eval
21430 # Whether we should hardcode library paths into libraries.
21431 hardcode_into_libs=$hardcode_into_libs
21433 # Compile-time system search path for libraries.
21434 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21436 # Run-time system search path for libraries.
21437 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21439 # Whether dlopen is supported.
21440 dlopen_support=$enable_dlopen
21442 # Whether dlopen of programs is supported.
21443 dlopen_self=$enable_dlopen_self
21445 # Whether dlopen of statically linked programs is supported.
21446 dlopen_self_static=$enable_dlopen_self_static
21448 # Commands to strip libraries.
21449 old_striplib=$lt_old_striplib
21450 striplib=$lt_striplib
21453 # The linker used to build libraries.
21456 # How to create reloadable object files.
21457 reload_flag=$lt_reload_flag
21458 reload_cmds=$lt_reload_cmds
21460 # Commands used to build an old-style archive.
21461 old_archive_cmds=$lt_old_archive_cmds
21463 # A language specific compiler.
21466 # Is the compiler the GNU compiler?
21469 # Compiler flag to turn off builtin functions.
21470 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21472 # Additional compiler flags for building library objects.
21473 pic_flag=$lt_lt_prog_compiler_pic
21475 # How to pass a linker flag through the compiler.
21476 wl=$lt_lt_prog_compiler_wl
21478 # Compiler flag to prevent dynamic linking.
21479 link_static_flag=$lt_lt_prog_compiler_static
21481 # Does compiler simultaneously support -c and -o options?
21482 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21484 # Whether or not to add -lc for building shared libraries.
21485 build_libtool_need_lc=$archive_cmds_need_lc
21487 # Whether or not to disallow shared libs when runtime libs are static.
21488 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21490 # Compiler flag to allow reflexive dlopens.
21491 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21493 # Compiler flag to generate shared objects directly from archives.
21494 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21496 # Whether the compiler copes with passing no objects directly.
21497 compiler_needs_object=$lt_compiler_needs_object
21499 # Create an old-style archive from a shared archive.
21500 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21502 # Create a temporary old-style archive to link instead of a shared archive.
21503 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21505 # Commands used to build a shared archive.
21506 archive_cmds=$lt_archive_cmds
21507 archive_expsym_cmds=$lt_archive_expsym_cmds
21509 # Commands used to build a loadable module if different from building
21510 # a shared archive.
21511 module_cmds=$lt_module_cmds
21512 module_expsym_cmds=$lt_module_expsym_cmds
21514 # Whether we are building with GNU ld or not.
21515 with_gnu_ld=$lt_with_gnu_ld
21517 # Flag that allows shared libraries with undefined symbols to be built.
21518 allow_undefined_flag=$lt_allow_undefined_flag
21520 # Flag that enforces no undefined symbols.
21521 no_undefined_flag=$lt_no_undefined_flag
21523 # Flag to hardcode \$libdir into a binary during linking.
21524 # This must work even if \$libdir does not exist
21525 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21527 # Whether we need a single "-rpath" flag with a separated argument.
21528 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21530 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21531 # DIR into the resulting binary.
21532 hardcode_direct=$hardcode_direct
21534 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21535 # DIR into the resulting binary and the resulting library dependency is
21536 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21537 # library is relocated.
21538 hardcode_direct_absolute=$hardcode_direct_absolute
21540 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21541 # into the resulting binary.
21542 hardcode_minus_L=$hardcode_minus_L
21544 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21545 # into the resulting binary.
21546 hardcode_shlibpath_var=$hardcode_shlibpath_var
21548 # Set to "yes" if building a shared library automatically hardcodes DIR
21549 # into the library and all subsequent libraries and executables linked
21551 hardcode_automatic=$hardcode_automatic
21553 # Set to yes if linker adds runtime paths of dependent libraries
21554 # to runtime path list.
21555 inherit_rpath=$inherit_rpath
21557 # Whether libtool must link a program against all its dependency libraries.
21558 link_all_deplibs=$link_all_deplibs
21560 # Set to "yes" if exported symbols are required.
21561 always_export_symbols=$always_export_symbols
21563 # The commands to list exported symbols.
21564 export_symbols_cmds=$lt_export_symbols_cmds
21566 # Symbols that should not be listed in the preloaded symbols.
21567 exclude_expsyms=$lt_exclude_expsyms
21569 # Symbols that must always be exported.
21570 include_expsyms=$lt_include_expsyms
21572 # Commands necessary for linking programs (against libraries) with templates.
21573 prelink_cmds=$lt_prelink_cmds
21575 # Commands necessary for finishing linking programs.
21576 postlink_cmds=$lt_postlink_cmds
21578 # Specify filename containing input files.
21579 file_list_spec=$lt_file_list_spec
21581 # How to hardcode a shared library path into an executable.
21582 hardcode_action=$hardcode_action
21584 # The directories searched by this compiler when creating a shared library.
21585 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21587 # Dependencies to place before and after the objects being linked to
21588 # create a shared library.
21589 predep_objects=$lt_predep_objects
21590 postdep_objects=$lt_postdep_objects
21591 predeps=$lt_predeps
21592 postdeps=$lt_postdeps
21594 # The library search path used internally by the compiler when linking
21595 # a shared library.
21596 compiler_lib_search_path=$lt_compiler_lib_search_path
21598 # ### END LIBTOOL CONFIG
21604 cat <<\_LT_EOF >> "$cfgfile"
21605 # AIX sometimes has problems with the GCC collect2 program. For some
21606 # reason, if we set the COLLECT_NAMES environment variable, the problems
21607 # vanish in a puff of smoke.
21608 if test "X${COLLECT_NAMES+set}" != Xset; then
21610 export COLLECT_NAMES
21617 ltmain="$ac_aux_dir/ltmain.sh"
21620 # We use sed instead of cat because bash on DJGPP gets confused if
21621 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21622 # text mode, it properly converts lines to CR/LF. This bash problem
21623 # is reportedly fixed, but why not run on old versions too?
21624 sed '$q' "$ltmain" >> "$cfgfile" \
21625 || (rm -f "$cfgfile"; exit 1)
21627 if test x"$xsi_shell" = xyes; then
21628 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21632 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21633 \ * ) func_dirname_result="${3}" ;;\
21635 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21636 && mv -f "$cfgfile.tmp" "$cfgfile" \
21637 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21638 test 0 -eq $? || _lt_function_replace_fail=:
21641 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21644 \ func_basename_result="${1##*/}"\
21645 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21646 && mv -f "$cfgfile.tmp" "$cfgfile" \
21647 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21648 test 0 -eq $? || _lt_function_replace_fail=:
21651 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21652 func_dirname_and_basename ()\
21655 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21656 \ * ) func_dirname_result="${3}" ;;\
21658 \ func_basename_result="${1##*/}"\
21659 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21660 && mv -f "$cfgfile.tmp" "$cfgfile" \
21661 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21662 test 0 -eq $? || _lt_function_replace_fail=:
21665 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21668 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21669 \ # positional parameters, so assign one to ordinary parameter first.\
21670 \ func_stripname_result=${3}\
21671 \ func_stripname_result=${func_stripname_result#"${1}"}\
21672 \ func_stripname_result=${func_stripname_result%"${2}"}\
21673 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21674 && mv -f "$cfgfile.tmp" "$cfgfile" \
21675 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21676 test 0 -eq $? || _lt_function_replace_fail=:
21679 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21680 func_split_long_opt ()\
21682 \ func_split_long_opt_name=${1%%=*}\
21683 \ func_split_long_opt_arg=${1#*=}\
21684 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21685 && mv -f "$cfgfile.tmp" "$cfgfile" \
21686 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21687 test 0 -eq $? || _lt_function_replace_fail=:
21690 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21691 func_split_short_opt ()\
21693 \ func_split_short_opt_arg=${1#??}\
21694 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21695 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21696 && mv -f "$cfgfile.tmp" "$cfgfile" \
21697 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21698 test 0 -eq $? || _lt_function_replace_fail=:
21701 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21705 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21706 \ *) func_lo2o_result=${1} ;;\
21708 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21709 && mv -f "$cfgfile.tmp" "$cfgfile" \
21710 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21711 test 0 -eq $? || _lt_function_replace_fail=:
21714 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21717 func_xform_result=${1%.*}.lo\
21718 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21719 && mv -f "$cfgfile.tmp" "$cfgfile" \
21720 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21721 test 0 -eq $? || _lt_function_replace_fail=:
21724 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21727 func_arith_result=$(( $* ))\
21728 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21729 && mv -f "$cfgfile.tmp" "$cfgfile" \
21730 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21731 test 0 -eq $? || _lt_function_replace_fail=:
21734 sed -e '/^func_len ()$/,/^} # func_len /c\
21737 func_len_result=${#1}\
21738 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21739 && mv -f "$cfgfile.tmp" "$cfgfile" \
21740 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21741 test 0 -eq $? || _lt_function_replace_fail=:
21745 if test x"$lt_shell_append" = xyes; then
21746 sed -e '/^func_append ()$/,/^} # func_append /c\
21749 eval "${1}+=\\${2}"\
21750 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21751 && mv -f "$cfgfile.tmp" "$cfgfile" \
21752 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21753 test 0 -eq $? || _lt_function_replace_fail=:
21756 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21757 func_append_quoted ()\
21759 \ func_quote_for_eval "${2}"\
21760 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21761 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21762 && mv -f "$cfgfile.tmp" "$cfgfile" \
21763 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21764 test 0 -eq $? || _lt_function_replace_fail=:
21767 # Save a `func_append' function call where possible by direct use of '+='
21768 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21769 && mv -f "$cfgfile.tmp" "$cfgfile" \
21770 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21771 test 0 -eq $? || _lt_function_replace_fail=:
21773 # Save a `func_append' function call even when '+=' is not available
21774 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21775 && mv -f "$cfgfile.tmp" "$cfgfile" \
21776 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21777 test 0 -eq $? || _lt_function_replace_fail=:
21780 if test x"$_lt_function_replace_fail" = x":"; then
21781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21782 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21786 mv -f "$cfgfile" "$ofile" ||
21787 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21791 cat <<_LT_EOF >> "$ofile"
21793 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21795 # The linker used to build libraries.
21798 # How to create reloadable object files.
21799 reload_flag=$lt_reload_flag_CXX
21800 reload_cmds=$lt_reload_cmds_CXX
21802 # Commands used to build an old-style archive.
21803 old_archive_cmds=$lt_old_archive_cmds_CXX
21805 # A language specific compiler.
21806 CC=$lt_compiler_CXX
21808 # Is the compiler the GNU compiler?
21811 # Compiler flag to turn off builtin functions.
21812 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21814 # Additional compiler flags for building library objects.
21815 pic_flag=$lt_lt_prog_compiler_pic_CXX
21817 # How to pass a linker flag through the compiler.
21818 wl=$lt_lt_prog_compiler_wl_CXX
21820 # Compiler flag to prevent dynamic linking.
21821 link_static_flag=$lt_lt_prog_compiler_static_CXX
21823 # Does compiler simultaneously support -c and -o options?
21824 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21826 # Whether or not to add -lc for building shared libraries.
21827 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21829 # Whether or not to disallow shared libs when runtime libs are static.
21830 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21832 # Compiler flag to allow reflexive dlopens.
21833 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21835 # Compiler flag to generate shared objects directly from archives.
21836 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21838 # Whether the compiler copes with passing no objects directly.
21839 compiler_needs_object=$lt_compiler_needs_object_CXX
21841 # Create an old-style archive from a shared archive.
21842 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21844 # Create a temporary old-style archive to link instead of a shared archive.
21845 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21847 # Commands used to build a shared archive.
21848 archive_cmds=$lt_archive_cmds_CXX
21849 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21851 # Commands used to build a loadable module if different from building
21852 # a shared archive.
21853 module_cmds=$lt_module_cmds_CXX
21854 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21856 # Whether we are building with GNU ld or not.
21857 with_gnu_ld=$lt_with_gnu_ld_CXX
21859 # Flag that allows shared libraries with undefined symbols to be built.
21860 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21862 # Flag that enforces no undefined symbols.
21863 no_undefined_flag=$lt_no_undefined_flag_CXX
21865 # Flag to hardcode \$libdir into a binary during linking.
21866 # This must work even if \$libdir does not exist
21867 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21869 # Whether we need a single "-rpath" flag with a separated argument.
21870 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21872 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21873 # DIR into the resulting binary.
21874 hardcode_direct=$hardcode_direct_CXX
21876 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21877 # DIR into the resulting binary and the resulting library dependency is
21878 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21879 # library is relocated.
21880 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21882 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21883 # into the resulting binary.
21884 hardcode_minus_L=$hardcode_minus_L_CXX
21886 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21887 # into the resulting binary.
21888 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21890 # Set to "yes" if building a shared library automatically hardcodes DIR
21891 # into the library and all subsequent libraries and executables linked
21893 hardcode_automatic=$hardcode_automatic_CXX
21895 # Set to yes if linker adds runtime paths of dependent libraries
21896 # to runtime path list.
21897 inherit_rpath=$inherit_rpath_CXX
21899 # Whether libtool must link a program against all its dependency libraries.
21900 link_all_deplibs=$link_all_deplibs_CXX
21902 # Set to "yes" if exported symbols are required.
21903 always_export_symbols=$always_export_symbols_CXX
21905 # The commands to list exported symbols.
21906 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21908 # Symbols that should not be listed in the preloaded symbols.
21909 exclude_expsyms=$lt_exclude_expsyms_CXX
21911 # Symbols that must always be exported.
21912 include_expsyms=$lt_include_expsyms_CXX
21914 # Commands necessary for linking programs (against libraries) with templates.
21915 prelink_cmds=$lt_prelink_cmds_CXX
21917 # Commands necessary for finishing linking programs.
21918 postlink_cmds=$lt_postlink_cmds_CXX
21920 # Specify filename containing input files.
21921 file_list_spec=$lt_file_list_spec_CXX
21923 # How to hardcode a shared library path into an executable.
21924 hardcode_action=$hardcode_action_CXX
21926 # The directories searched by this compiler when creating a shared library.
21927 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21929 # Dependencies to place before and after the objects being linked to
21930 # create a shared library.
21931 predep_objects=$lt_predep_objects_CXX
21932 postdep_objects=$lt_postdep_objects_CXX
21933 predeps=$lt_predeps_CXX
21934 postdeps=$lt_postdeps_CXX
21936 # The library search path used internally by the compiler when linking
21937 # a shared library.
21938 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21940 # ### END LIBTOOL TAG CONFIG: CXX
21951 ac_clean_files=$ac_clean_files_save
21953 test $ac_write_fail = 0 ||
21954 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21957 # configure is writing to config.log, and then calls config.status.
21958 # config.status does its own redirection, appending to config.log.
21959 # Unfortunately, on DOS this fails, as config.log is still kept open
21960 # by configure, so config.status won't be able to write to it; its
21961 # output is simply discarded. So we exec the FD to /dev/null,
21962 # effectively closing config.log, so it can be properly (re)opened and
21963 # appended to by config.status. When coming back to configure, we
21964 # need to make the FD available again.
21965 if test "$no_create" != yes; then
21967 ac_config_status_args=
21968 test "$silent" = yes &&
21969 ac_config_status_args="$ac_config_status_args --quiet"
21971 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21973 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21974 # would make configure fail if this is the last instruction.
21975 $ac_cs_success || as_fn_exit 1
21977 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21979 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21983 { $as_echo "$as_me:${as_lineno-$LINENO}:
21985 Build configuration:
21987 Unicode callbacks (you want at least one):
21992 Font callbacks (the more the better):
21993 FreeType: ${have_freetype}
21995 Tools used for command-line utilities:
21996 Cairo: ${have_cairo}
21997 Fontconfig: ${have_fontconfig}
21999 Additional shapers (the more the better):
22000 Graphite2: ${have_graphite2}
22002 Platform shapers (not normally needed):
22003 CoreText: ${have_coretext}
22004 Uniscribe: ${have_uniscribe}
22005 DirectWrite: ${have_directwrite}
22008 Documentation: ${have_gtk_doc}
22009 GObject bindings: ${have_gobject}
22010 Introspection: ${have_introspection}
22014 Build configuration:
22016 Unicode callbacks (you want at least one):
22021 Font callbacks (the more the better):
22022 FreeType: ${have_freetype}
22024 Tools used for command-line utilities:
22025 Cairo: ${have_cairo}
22026 Fontconfig: ${have_fontconfig}
22028 Additional shapers (the more the better):
22029 Graphite2: ${have_graphite2}
22031 Platform shapers (not normally needed):
22032 CoreText: ${have_coretext}
22033 Uniscribe: ${have_uniscribe}
22034 DirectWrite: ${have_directwrite}
22037 Documentation: ${have_gtk_doc}
22038 GObject bindings: ${have_gobject}
22039 Introspection: ${have_introspection}