2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for HarfBuzz 1.4.6.
5 # Report bugs to <https://github.com/behdad/harfbuzz/issues/new>.
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: https://github.com/behdad/harfbuzz/issues/new about
279 $0: your system, including any error possibly output before
280 $0: this message. Then install a modern shell, or manually
281 $0: run the script under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='HarfBuzz'
592 PACKAGE_TARNAME='harfbuzz'
593 PACKAGE_VERSION='1.4.6'
594 PACKAGE_STRING='HarfBuzz 1.4.6'
595 PACKAGE_BUGREPORT='https://github.com/behdad/harfbuzz/issues/new'
596 PACKAGE_URL='http://harfbuzz.org/'
598 ac_unique_file="src/harfbuzz.pc.in"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars='am__EXEEXT_FALSE
643 HAVE_DIRECTWRITE_FALSE
644 HAVE_DIRECTWRITE_TRUE
663 HAVE_ICU_BUILTIN_FALSE
664 HAVE_ICU_BUILTIN_TRUE
670 HAVE_FONTCONFIG_FALSE
682 HAVE_INTROSPECTION_FALSE
683 HAVE_INTROSPECTION_TRUE
684 INTROSPECTION_MAKEFILE
687 INTROSPECTION_TYPELIBDIR
689 INTROSPECTION_GENERATE
690 INTROSPECTION_COMPILER
691 INTROSPECTION_SCANNER
716 GTK_DOC_USE_REBASE_FALSE
717 GTK_DOC_USE_REBASE_TRUE
718 GTK_DOC_USE_LIBTOOL_FALSE
719 GTK_DOC_USE_LIBTOOL_TRUE
720 GTK_DOC_BUILD_PDF_FALSE
721 GTK_DOC_BUILD_PDF_TRUE
722 GTK_DOC_BUILD_HTML_FALSE
723 GTK_DOC_BUILD_HTML_TRUE
735 HB_LIBTOOL_VERSION_INFO
797 AUTOMAKE_OLDER_THAN_1_13_FALSE
798 AUTOMAKE_OLDER_THAN_1_13_TRUE
811 INSTALL_STRIP_PROGRAM
853 program_transform_name
866 enable_option_checking
868 enable_dependency_tracking
894 ac_precious_vars='build_alias
928 # Initialize some variables set by options.
930 ac_init_version=false
931 ac_unrecognized_opts=
933 # The variables have the same names as the options, with
934 # dashes changed to underlines.
942 program_transform_name=s,x,x,
950 # Installation directory options.
951 # These are left unexpanded so users can "make install exec_prefix=/foo"
952 # and all the variables that are supposed to be based on exec_prefix
953 # by default will actually change.
954 # Use braces instead of parens because sh, perl, etc. also accept them.
955 # (The list follows the same order as the GNU Coding Standards.)
956 bindir='${exec_prefix}/bin'
957 sbindir='${exec_prefix}/sbin'
958 libexecdir='${exec_prefix}/libexec'
959 datarootdir='${prefix}/share'
960 datadir='${datarootdir}'
961 sysconfdir='${prefix}/etc'
962 sharedstatedir='${prefix}/com'
963 localstatedir='${prefix}/var'
964 includedir='${prefix}/include'
965 oldincludedir='/usr/include'
966 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
967 infodir='${datarootdir}/info'
972 libdir='${exec_prefix}/lib'
973 localedir='${datarootdir}/locale'
974 mandir='${datarootdir}/man'
980 # If the previous option needs an argument, assign it.
981 if test -n "$ac_prev"; then
982 eval $ac_prev=\$ac_option
988 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
993 # Accept the important Cygnus configure options, so we can diagnose typos.
995 case $ac_dashdash$ac_option in
999 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1001 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1002 bindir=$ac_optarg ;;
1004 -build | --build | --buil | --bui | --bu)
1005 ac_prev=build_alias ;;
1006 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1007 build_alias=$ac_optarg ;;
1009 -cache-file | --cache-file | --cache-fil | --cache-fi \
1010 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1011 ac_prev=cache_file ;;
1012 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1013 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1014 cache_file=$ac_optarg ;;
1016 --config-cache | -C)
1017 cache_file=config.cache ;;
1019 -datadir | --datadir | --datadi | --datad)
1021 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1022 datadir=$ac_optarg ;;
1024 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1025 | --dataroo | --dataro | --datar)
1026 ac_prev=datarootdir ;;
1027 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1028 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1029 datarootdir=$ac_optarg ;;
1031 -disable-* | --disable-*)
1032 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035 as_fn_error $? "invalid feature name: $ac_useropt"
1036 ac_useropt_orig=$ac_useropt
1037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "enable_$ac_useropt"
1042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1043 ac_unrecognized_sep=', ';;
1045 eval enable_$ac_useropt=no ;;
1047 -docdir | --docdir | --docdi | --doc | --do)
1049 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1050 docdir=$ac_optarg ;;
1052 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1054 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1055 dvidir=$ac_optarg ;;
1057 -enable-* | --enable-*)
1058 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1061 as_fn_error $? "invalid feature name: $ac_useropt"
1062 ac_useropt_orig=$ac_useropt
1063 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1066 "enable_$ac_useropt"
1068 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1069 ac_unrecognized_sep=', ';;
1071 eval enable_$ac_useropt=\$ac_optarg ;;
1073 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1074 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1075 | --exec | --exe | --ex)
1076 ac_prev=exec_prefix ;;
1077 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1078 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1079 | --exec=* | --exe=* | --ex=*)
1080 exec_prefix=$ac_optarg ;;
1082 -gas | --gas | --ga | --g)
1083 # Obsolete; use --with-gas.
1086 -help | --help | --hel | --he | -h)
1087 ac_init_help=long ;;
1088 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1089 ac_init_help=recursive ;;
1090 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1091 ac_init_help=short ;;
1093 -host | --host | --hos | --ho)
1094 ac_prev=host_alias ;;
1095 -host=* | --host=* | --hos=* | --ho=*)
1096 host_alias=$ac_optarg ;;
1098 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1100 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1102 htmldir=$ac_optarg ;;
1104 -includedir | --includedir | --includedi | --included | --include \
1105 | --includ | --inclu | --incl | --inc)
1106 ac_prev=includedir ;;
1107 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1108 | --includ=* | --inclu=* | --incl=* | --inc=*)
1109 includedir=$ac_optarg ;;
1111 -infodir | --infodir | --infodi | --infod | --info | --inf)
1113 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1114 infodir=$ac_optarg ;;
1116 -libdir | --libdir | --libdi | --libd)
1118 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1119 libdir=$ac_optarg ;;
1121 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1122 | --libexe | --libex | --libe)
1123 ac_prev=libexecdir ;;
1124 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1125 | --libexe=* | --libex=* | --libe=*)
1126 libexecdir=$ac_optarg ;;
1128 -localedir | --localedir | --localedi | --localed | --locale)
1129 ac_prev=localedir ;;
1130 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1131 localedir=$ac_optarg ;;
1133 -localstatedir | --localstatedir | --localstatedi | --localstated \
1134 | --localstate | --localstat | --localsta | --localst | --locals)
1135 ac_prev=localstatedir ;;
1136 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1137 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1138 localstatedir=$ac_optarg ;;
1140 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1142 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1143 mandir=$ac_optarg ;;
1145 -nfp | --nfp | --nf)
1146 # Obsolete; use --without-fp.
1149 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1150 | --no-cr | --no-c | -n)
1153 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1154 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1157 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1158 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1159 | --oldin | --oldi | --old | --ol | --o)
1160 ac_prev=oldincludedir ;;
1161 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1162 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1163 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1164 oldincludedir=$ac_optarg ;;
1166 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1168 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1169 prefix=$ac_optarg ;;
1171 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1172 | --program-pre | --program-pr | --program-p)
1173 ac_prev=program_prefix ;;
1174 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1175 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1176 program_prefix=$ac_optarg ;;
1178 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1179 | --program-suf | --program-su | --program-s)
1180 ac_prev=program_suffix ;;
1181 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1182 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1183 program_suffix=$ac_optarg ;;
1185 -program-transform-name | --program-transform-name \
1186 | --program-transform-nam | --program-transform-na \
1187 | --program-transform-n | --program-transform- \
1188 | --program-transform | --program-transfor \
1189 | --program-transfo | --program-transf \
1190 | --program-trans | --program-tran \
1191 | --progr-tra | --program-tr | --program-t)
1192 ac_prev=program_transform_name ;;
1193 -program-transform-name=* | --program-transform-name=* \
1194 | --program-transform-nam=* | --program-transform-na=* \
1195 | --program-transform-n=* | --program-transform-=* \
1196 | --program-transform=* | --program-transfor=* \
1197 | --program-transfo=* | --program-transf=* \
1198 | --program-trans=* | --program-tran=* \
1199 | --progr-tra=* | --program-tr=* | --program-t=*)
1200 program_transform_name=$ac_optarg ;;
1202 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1204 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1205 pdfdir=$ac_optarg ;;
1207 -psdir | --psdir | --psdi | --psd | --ps)
1209 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1212 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1213 | -silent | --silent | --silen | --sile | --sil)
1216 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1218 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1220 sbindir=$ac_optarg ;;
1222 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1223 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1224 | --sharedst | --shareds | --shared | --share | --shar \
1226 ac_prev=sharedstatedir ;;
1227 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1228 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1229 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1231 sharedstatedir=$ac_optarg ;;
1233 -site | --site | --sit)
1235 -site=* | --site=* | --sit=*)
1238 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1240 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1241 srcdir=$ac_optarg ;;
1243 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1244 | --syscon | --sysco | --sysc | --sys | --sy)
1245 ac_prev=sysconfdir ;;
1246 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1247 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1248 sysconfdir=$ac_optarg ;;
1250 -target | --target | --targe | --targ | --tar | --ta | --t)
1251 ac_prev=target_alias ;;
1252 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1253 target_alias=$ac_optarg ;;
1255 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1258 -version | --version | --versio | --versi | --vers | -V)
1259 ac_init_version=: ;;
1262 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1263 # Reject names that are not valid shell variable names.
1264 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1265 as_fn_error $? "invalid package name: $ac_useropt"
1266 ac_useropt_orig=$ac_useropt
1267 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1268 case $ac_user_opts in
1272 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1273 ac_unrecognized_sep=', ';;
1275 eval with_$ac_useropt=\$ac_optarg ;;
1277 -without-* | --without-*)
1278 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1279 # Reject names that are not valid shell variable names.
1280 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1281 as_fn_error $? "invalid package name: $ac_useropt"
1282 ac_useropt_orig=$ac_useropt
1283 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1284 case $ac_user_opts in
1288 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1289 ac_unrecognized_sep=', ';;
1291 eval with_$ac_useropt=no ;;
1294 # Obsolete; use --with-x.
1297 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1298 | --x-incl | --x-inc | --x-in | --x-i)
1299 ac_prev=x_includes ;;
1300 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1301 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1302 x_includes=$ac_optarg ;;
1304 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1305 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1306 ac_prev=x_libraries ;;
1307 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1308 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1309 x_libraries=$ac_optarg ;;
1311 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1312 Try \`$0 --help' for more information"
1316 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1317 # Reject names that are not valid shell variable names.
1318 case $ac_envvar in #(
1319 '' | [0-9]* | *[!_$as_cr_alnum]* )
1320 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1322 eval $ac_envvar=\$ac_optarg
1323 export $ac_envvar ;;
1326 # FIXME: should be removed in autoconf 3.0.
1327 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1328 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1329 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1330 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1336 if test -n "$ac_prev"; then
1337 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1338 as_fn_error $? "missing argument to $ac_option"
1341 if test -n "$ac_unrecognized_opts"; then
1342 case $enable_option_checking in
1344 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1345 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1349 # Check all directory arguments for consistency.
1350 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1351 datadir sysconfdir sharedstatedir localstatedir includedir \
1352 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1353 libdir localedir mandir
1355 eval ac_val=\$$ac_var
1356 # Remove trailing slashes.
1359 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1360 eval $ac_var=\$ac_val;;
1362 # Be sure to have absolute directory names.
1364 [\\/$]* | ?:[\\/]* ) continue;;
1365 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1367 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1370 # There might be people who depend on the old broken behavior: `$host'
1371 # used to hold the argument of --host etc.
1372 # FIXME: To remove some day.
1375 target=$target_alias
1377 # FIXME: To remove some day.
1378 if test "x$host_alias" != x; then
1379 if test "x$build_alias" = x; then
1380 cross_compiling=maybe
1381 elif test "x$build_alias" != "x$host_alias"; then
1387 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1389 test "$silent" = yes && exec 6>/dev/null
1392 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1393 ac_ls_di=`ls -di .` &&
1394 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1395 as_fn_error $? "working directory cannot be determined"
1396 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1397 as_fn_error $? "pwd does not report name of working directory"
1400 # Find the source files, if location was not specified.
1401 if test -z "$srcdir"; then
1402 ac_srcdir_defaulted=yes
1403 # Try the directory containing this script, then the parent directory.
1404 ac_confdir=`$as_dirname -- "$as_myself" ||
1405 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1406 X"$as_myself" : 'X\(//\)[^/]' \| \
1407 X"$as_myself" : 'X\(//\)$' \| \
1408 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1409 $as_echo X"$as_myself" |
1410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1428 if test ! -r "$srcdir/$ac_unique_file"; then
1432 ac_srcdir_defaulted=no
1434 if test ! -r "$srcdir/$ac_unique_file"; then
1435 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1436 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1438 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1440 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1442 # When building in place, set srcdir=.
1443 if test "$ac_abs_confdir" = "$ac_pwd"; then
1446 # Remove unnecessary trailing slashes from srcdir.
1447 # Double slashes in file names in object file debugging info
1448 # mess up M-x gdb in Emacs.
1450 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1452 for ac_var in $ac_precious_vars; do
1453 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1454 eval ac_env_${ac_var}_value=\$${ac_var}
1455 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1456 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1460 # Report the --help message.
1462 if test "$ac_init_help" = "long"; then
1463 # Omit some internal or obsolete options to make the list less imposing.
1464 # This message is too long to be a string in the A/UX 3.1 sh.
1466 \`configure' configures HarfBuzz 1.4.6 to adapt to many kinds of systems.
1468 Usage: $0 [OPTION]... [VAR=VALUE]...
1470 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1471 VAR=VALUE. See below for descriptions of some of the useful variables.
1473 Defaults for the options are specified in brackets.
1476 -h, --help display this help and exit
1477 --help=short display options specific to this package
1478 --help=recursive display the short help of all the included packages
1479 -V, --version display version information and exit
1480 -q, --quiet, --silent do not print \`checking ...' messages
1481 --cache-file=FILE cache test results in FILE [disabled]
1482 -C, --config-cache alias for \`--cache-file=config.cache'
1483 -n, --no-create do not create output files
1484 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1486 Installation directories:
1487 --prefix=PREFIX install architecture-independent files in PREFIX
1488 [$ac_default_prefix]
1489 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1492 By default, \`make install' will install all the files in
1493 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1494 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1495 for instance \`--prefix=\$HOME'.
1497 For better control, use the options below.
1499 Fine tuning of the installation directories:
1500 --bindir=DIR user executables [EPREFIX/bin]
1501 --sbindir=DIR system admin executables [EPREFIX/sbin]
1502 --libexecdir=DIR program executables [EPREFIX/libexec]
1503 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1504 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1505 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1506 --libdir=DIR object code libraries [EPREFIX/lib]
1507 --includedir=DIR C header files [PREFIX/include]
1508 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1509 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1510 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1511 --infodir=DIR info documentation [DATAROOTDIR/info]
1512 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1513 --mandir=DIR man documentation [DATAROOTDIR/man]
1514 --docdir=DIR documentation root [DATAROOTDIR/doc/harfbuzz]
1515 --htmldir=DIR html documentation [DOCDIR]
1516 --dvidir=DIR dvi documentation [DOCDIR]
1517 --pdfdir=DIR pdf documentation [DOCDIR]
1518 --psdir=DIR ps documentation [DOCDIR]
1524 --program-prefix=PREFIX prepend PREFIX to installed program names
1525 --program-suffix=SUFFIX append SUFFIX to installed program names
1526 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1529 --build=BUILD configure for building on BUILD [guessed]
1530 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1534 if test -n "$ac_init_help"; then
1535 case $ac_init_help in
1536 short | recursive ) echo "Configuration of HarfBuzz 1.4.6:";;
1541 --disable-option-checking ignore unrecognized --enable/--with options
1542 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1543 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1544 --enable-silent-rules less verbose build output (undo: "make V=1")
1545 --disable-silent-rules verbose build output (undo: "make V=0")
1546 --enable-dependency-tracking
1547 do not reject slow dependency extractors
1548 --disable-dependency-tracking
1549 speeds up one-time build
1550 --enable-static[=PKGS] build static libraries [default=no]
1551 --enable-shared[=PKGS] build shared libraries [default=yes]
1552 --enable-fast-install[=PKGS]
1553 optimize for fast installation [default=yes]
1554 --disable-libtool-lock avoid locking (might break parallel builds)
1555 --disable-largefile omit support for large files
1556 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1557 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1558 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1559 --enable-introspection=[no/auto/yes]
1560 Enable introspection for this build
1563 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1564 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1565 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1567 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1568 --with-sysroot=DIR Search for dependent libraries within DIR
1569 (or the compiler's sysroot if not specified).
1570 --with-html-dir=PATH path to installed docs
1571 --with-glib=[yes/no/auto]
1572 Use glib [default=auto]
1573 --with-gobject=[yes/no/auto]
1574 Use gobject [default=auto]
1575 --with-cairo=[yes/no/auto]
1576 Use cairo [default=auto]
1577 --with-fontconfig=[yes/no/auto]
1578 Use fontconfig [default=auto]
1579 --with-icu=[yes/no/builtin/auto]
1580 Use ICU [default=auto]
1581 --with-ucdn=[yes/no] Use builtin UCDN library [default=yes]
1582 --with-graphite2=[yes/no/auto]
1583 Use the graphite2 library [default=no]
1584 --with-freetype=[yes/no/auto]
1585 Use the FreeType library [default=auto]
1586 --with-uniscribe=[yes/no/auto]
1587 Use the Uniscribe library [default=no]
1588 --with-directwrite=[yes/no/auto]
1589 Use the DirectWrite library (experimental)
1591 --with-coretext=[yes/no/auto]
1592 Use CoreText [default=no]
1594 Some influential environment variables:
1595 CC C compiler command
1596 CFLAGS C compiler flags
1597 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1598 nonstandard directory <lib dir>
1599 LIBS libraries to pass to the linker, e.g. -l<library>
1600 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1601 you have headers in a nonstandard directory <include dir>
1603 CXX C++ compiler command
1604 CXXFLAGS C++ compiler flags
1605 CXXCPP C++ preprocessor
1606 PKG_CONFIG path to pkg-config utility
1608 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1610 linker flags for GTKDOC_DEPS, overriding pkg-config
1611 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1612 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1614 C compiler flags for GOBJECT, overriding pkg-config
1616 linker flags for GOBJECT, overriding pkg-config
1618 C compiler flags for CAIRO, overriding pkg-config
1619 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1621 C compiler flags for CAIRO_FT, overriding pkg-config
1623 linker flags for CAIRO_FT, overriding pkg-config
1625 C compiler flags for FONTCONFIG, overriding pkg-config
1627 linker flags for FONTCONFIG, overriding pkg-config
1628 ICU_CFLAGS C compiler flags for ICU, overriding pkg-config
1629 ICU_LIBS linker flags for ICU, overriding pkg-config
1631 C compiler flags for GRAPHITE2, overriding pkg-config
1633 linker flags for GRAPHITE2, overriding pkg-config
1635 C compiler flags for FREETYPE, overriding pkg-config
1637 linker flags for FREETYPE, overriding pkg-config
1639 Use these variables to override the choices made by `configure' or to help
1640 it to find libraries and programs with nonstandard names/locations.
1642 Report bugs to <https://github.com/behdad/harfbuzz/issues/new>.
1643 HarfBuzz home page: <http://harfbuzz.org/>.
1648 if test "$ac_init_help" = "recursive"; then
1649 # If there are subdirs, report their specific --help.
1650 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1651 test -d "$ac_dir" ||
1652 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1657 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1659 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1660 # A ".." for each directory in $ac_dir_suffix.
1661 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1662 case $ac_top_builddir_sub in
1663 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1664 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1667 ac_abs_top_builddir=$ac_pwd
1668 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1669 # for backward compatibility:
1670 ac_top_builddir=$ac_top_build_prefix
1673 .) # We are building in place.
1675 ac_top_srcdir=$ac_top_builddir_sub
1676 ac_abs_top_srcdir=$ac_pwd ;;
1677 [\\/]* | ?:[\\/]* ) # Absolute name.
1678 ac_srcdir=$srcdir$ac_dir_suffix;
1679 ac_top_srcdir=$srcdir
1680 ac_abs_top_srcdir=$srcdir ;;
1682 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1683 ac_top_srcdir=$ac_top_build_prefix$srcdir
1684 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1686 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1688 cd "$ac_dir" || { ac_status=$?; continue; }
1689 # Check for guested configure.
1690 if test -f "$ac_srcdir/configure.gnu"; then
1692 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1693 elif test -f "$ac_srcdir/configure"; then
1695 $SHELL "$ac_srcdir/configure" --help=recursive
1697 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1699 cd "$ac_pwd" || { ac_status=$?; break; }
1703 test -n "$ac_init_help" && exit $ac_status
1704 if $ac_init_version; then
1706 HarfBuzz configure 1.4.6
1707 generated by GNU Autoconf 2.69
1709 Copyright (C) 2012 Free Software Foundation, Inc.
1710 This configure script is free software; the Free Software Foundation
1711 gives unlimited permission to copy, distribute and modify it.
1716 ## ------------------------ ##
1717 ## Autoconf initialization. ##
1718 ## ------------------------ ##
1720 # ac_fn_c_try_compile LINENO
1721 # --------------------------
1722 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1723 ac_fn_c_try_compile ()
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 rm -f conftest.$ac_objext
1727 if { { ac_try="$ac_compile"
1729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730 *) ac_try_echo=$ac_try;;
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_compile") 2>conftest.err
1736 if test -s conftest.err; then
1737 grep -v '^ *+' conftest.err >conftest.er1
1738 cat conftest.er1 >&5
1739 mv -f conftest.er1 conftest.err
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; } && {
1743 test -z "$ac_c_werror_flag" ||
1744 test ! -s conftest.err
1745 } && test -s conftest.$ac_objext; then :
1748 $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 as_fn_set_status $ac_retval
1756 } # ac_fn_c_try_compile
1758 # ac_fn_c_try_link LINENO
1759 # -----------------------
1760 # Try to link conftest.$ac_ext, and return whether this succeeded.
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 rm -f conftest.$ac_objext conftest$ac_exeext
1765 if { { ac_try="$ac_link"
1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768 *) ac_try_echo=$ac_try;;
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_link") 2>conftest.err
1774 if test -s conftest.err; then
1775 grep -v '^ *+' conftest.err >conftest.er1
1776 cat conftest.er1 >&5
1777 mv -f conftest.er1 conftest.err
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; } && {
1781 test -z "$ac_c_werror_flag" ||
1782 test ! -s conftest.err
1783 } && test -s conftest$ac_exeext && {
1784 test "$cross_compiling" = yes ||
1785 test -x conftest$ac_exeext
1789 $as_echo "$as_me: failed program was:" >&5
1790 sed 's/^/| /' conftest.$ac_ext >&5
1794 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1795 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1796 # interfere with the next link command; also delete a directory that is
1797 # left behind by Apple's compiler. We do this before executing the actions.
1798 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800 as_fn_set_status $ac_retval
1802 } # ac_fn_c_try_link
1804 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1805 # -------------------------------------------------------
1806 # Tests whether HEADER exists and can be compiled using the include files in
1807 # INCLUDES, setting the cache variable VAR accordingly.
1808 ac_fn_c_check_header_compile ()
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812 $as_echo_n "checking for $2... " >&6; }
1813 if eval \${$3+:} false; then :
1814 $as_echo_n "(cached) " >&6
1816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h. */
1821 if ac_fn_c_try_compile "$LINENO"; then :
1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830 $as_echo "$ac_res" >&6; }
1831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1833 } # ac_fn_c_check_header_compile
1835 # ac_fn_c_try_cpp LINENO
1836 # ----------------------
1837 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 if { { ac_try="$ac_cpp conftest.$ac_ext"
1843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1844 *) ac_try_echo=$ac_try;;
1846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1850 if test -s conftest.err; then
1851 grep -v '^ *+' conftest.err >conftest.er1
1852 cat conftest.er1 >&5
1853 mv -f conftest.er1 conftest.err
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } > conftest.i && {
1857 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1858 test ! -s conftest.err
1862 $as_echo "$as_me: failed program was:" >&5
1863 sed 's/^/| /' conftest.$ac_ext >&5
1867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868 as_fn_set_status $ac_retval
1872 # ac_fn_c_try_run LINENO
1873 # ----------------------
1874 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1875 # that executables *can* be run.
1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879 if { { ac_try="$ac_link"
1881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1882 *) ac_try_echo=$ac_try;;
1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886 (eval "$ac_link") 2>&5
1888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1890 { { case "(($ac_try" in
1891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1892 *) ac_try_echo=$ac_try;;
1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895 $as_echo "$ac_try_echo"; } >&5
1896 (eval "$ac_try") 2>&5
1898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1899 test $ac_status = 0; }; }; then :
1902 $as_echo "$as_me: program exited with status $ac_status" >&5
1903 $as_echo "$as_me: failed program was:" >&5
1904 sed 's/^/| /' conftest.$ac_ext >&5
1906 ac_retval=$ac_status
1908 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 as_fn_set_status $ac_retval
1914 # ac_fn_c_check_func LINENO FUNC VAR
1915 # ----------------------------------
1916 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1917 ac_fn_c_check_func ()
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921 $as_echo_n "checking for $2... " >&6; }
1922 if eval \${$3+:} false; then :
1923 $as_echo_n "(cached) " >&6
1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */
1927 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1929 #define $2 innocuous_$2
1931 /* System header to define __stub macros and hopefully few prototypes,
1932 which can conflict with char $2 (); below.
1933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1934 <limits.h> exists even on freestanding compilers. */
1937 # include <limits.h>
1939 # include <assert.h>
1944 /* Override any GCC internal prototype to avoid an error.
1945 Use char because int might match the return type of a GCC
1946 builtin and then its argument prototype would still apply. */
1951 /* The GNU C library defines this for functions which it implements
1952 to always fail with ENOSYS. Some functions are actually named
1953 something starting with __ and the normal name is an alias. */
1954 #if defined __stub_$2 || defined __stub___$2
1966 if ac_fn_c_try_link "$LINENO"; then :
1971 rm -f core conftest.err conftest.$ac_objext \
1972 conftest$ac_exeext conftest.$ac_ext
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976 $as_echo "$ac_res" >&6; }
1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1979 } # ac_fn_c_check_func
1981 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1982 # -------------------------------------------------------
1983 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1984 # the include files in INCLUDES and setting the cache variable VAR
1986 ac_fn_c_check_header_mongrel ()
1988 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1989 if eval \${$3+:} false; then :
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1991 $as_echo_n "checking for $2... " >&6; }
1992 if eval \${$3+:} false; then :
1993 $as_echo_n "(cached) " >&6
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1997 $as_echo "$ac_res" >&6; }
1999 # Is the header compilable?
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2001 $as_echo_n "checking $2 usability... " >&6; }
2002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2003 /* end confdefs.h. */
2007 if ac_fn_c_try_compile "$LINENO"; then :
2008 ac_header_compiler=yes
2010 ac_header_compiler=no
2012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2014 $as_echo "$ac_header_compiler" >&6; }
2016 # Is the header present?
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2018 $as_echo_n "checking $2 presence... " >&6; }
2019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2020 /* end confdefs.h. */
2023 if ac_fn_c_try_cpp "$LINENO"; then :
2024 ac_header_preproc=yes
2026 ac_header_preproc=no
2028 rm -f conftest.err conftest.i conftest.$ac_ext
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2030 $as_echo "$ac_header_preproc" >&6; }
2032 # So? What about this header?
2033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2036 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2038 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2042 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2044 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2046 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2048 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2050 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2051 ( $as_echo "## ------------------------------------------------------------ ##
2052 ## Report this to https://github.com/behdad/harfbuzz/issues/new ##
2053 ## ------------------------------------------------------------ ##"
2054 ) | sed "s/^/$as_me: WARNING: /" >&2
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2058 $as_echo_n "checking for $2... " >&6; }
2059 if eval \${$3+:} false; then :
2060 $as_echo_n "(cached) " >&6
2062 eval "$3=\$ac_header_compiler"
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2066 $as_echo "$ac_res" >&6; }
2068 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2070 } # ac_fn_c_check_header_mongrel
2072 # ac_fn_cxx_try_compile LINENO
2073 # ----------------------------
2074 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2075 ac_fn_cxx_try_compile ()
2077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2078 rm -f conftest.$ac_objext
2079 if { { ac_try="$ac_compile"
2081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2082 *) ac_try_echo=$ac_try;;
2084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2085 $as_echo "$ac_try_echo"; } >&5
2086 (eval "$ac_compile") 2>conftest.err
2088 if test -s conftest.err; then
2089 grep -v '^ *+' conftest.err >conftest.er1
2090 cat conftest.er1 >&5
2091 mv -f conftest.er1 conftest.err
2093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2094 test $ac_status = 0; } && {
2095 test -z "$ac_cxx_werror_flag" ||
2096 test ! -s conftest.err
2097 } && test -s conftest.$ac_objext; then :
2100 $as_echo "$as_me: failed program was:" >&5
2101 sed 's/^/| /' conftest.$ac_ext >&5
2105 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2106 as_fn_set_status $ac_retval
2108 } # ac_fn_cxx_try_compile
2110 # ac_fn_cxx_try_cpp LINENO
2111 # ------------------------
2112 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2113 ac_fn_cxx_try_cpp ()
2115 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2116 if { { ac_try="$ac_cpp conftest.$ac_ext"
2118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2119 *) ac_try_echo=$ac_try;;
2121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2122 $as_echo "$ac_try_echo"; } >&5
2123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2125 if test -s conftest.err; then
2126 grep -v '^ *+' conftest.err >conftest.er1
2127 cat conftest.er1 >&5
2128 mv -f conftest.er1 conftest.err
2130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2131 test $ac_status = 0; } > conftest.i && {
2132 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2133 test ! -s conftest.err
2137 $as_echo "$as_me: failed program was:" >&5
2138 sed 's/^/| /' conftest.$ac_ext >&5
2142 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2143 as_fn_set_status $ac_retval
2145 } # ac_fn_cxx_try_cpp
2147 # ac_fn_cxx_try_link LINENO
2148 # -------------------------
2149 # Try to link conftest.$ac_ext, and return whether this succeeded.
2150 ac_fn_cxx_try_link ()
2152 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2153 rm -f conftest.$ac_objext conftest$ac_exeext
2154 if { { ac_try="$ac_link"
2156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2157 *) ac_try_echo=$ac_try;;
2159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2160 $as_echo "$ac_try_echo"; } >&5
2161 (eval "$ac_link") 2>conftest.err
2163 if test -s conftest.err; then
2164 grep -v '^ *+' conftest.err >conftest.er1
2165 cat conftest.er1 >&5
2166 mv -f conftest.er1 conftest.err
2168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2169 test $ac_status = 0; } && {
2170 test -z "$ac_cxx_werror_flag" ||
2171 test ! -s conftest.err
2172 } && test -s conftest$ac_exeext && {
2173 test "$cross_compiling" = yes ||
2174 test -x conftest$ac_exeext
2178 $as_echo "$as_me: failed program was:" >&5
2179 sed 's/^/| /' conftest.$ac_ext >&5
2183 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2184 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2185 # interfere with the next link command; also delete a directory that is
2186 # left behind by Apple's compiler. We do this before executing the actions.
2187 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2188 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2189 as_fn_set_status $ac_retval
2191 } # ac_fn_cxx_try_link
2193 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2194 # --------------------------------------------
2195 # Tries to find the compile-time value of EXPR in a program that includes
2196 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2198 ac_fn_c_compute_int ()
2200 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2201 if test "$cross_compiling" = yes; then
2202 # Depending upon the size, compute the lo and hi bounds.
2203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2204 /* end confdefs.h. */
2209 static int test_array [1 - 2 * !(($2) >= 0)];
2211 return test_array [0];
2217 if ac_fn_c_try_compile "$LINENO"; then :
2220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2221 /* end confdefs.h. */
2226 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2228 return test_array [0];
2234 if ac_fn_c_try_compile "$LINENO"; then :
2235 ac_hi=$ac_mid; break
2237 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2238 if test $ac_lo -le $ac_mid; then
2242 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2248 /* end confdefs.h. */
2253 static int test_array [1 - 2 * !(($2) < 0)];
2255 return test_array [0];
2261 if ac_fn_c_try_compile "$LINENO"; then :
2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2265 /* end confdefs.h. */
2270 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2272 return test_array [0];
2278 if ac_fn_c_try_compile "$LINENO"; then :
2279 ac_lo=$ac_mid; break
2281 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2282 if test $ac_mid -le $ac_hi; then
2286 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2296 # Binary search between lo and hi bounds.
2297 while test "x$ac_lo" != "x$ac_hi"; do
2298 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2300 /* end confdefs.h. */
2305 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2307 return test_array [0];
2313 if ac_fn_c_try_compile "$LINENO"; then :
2316 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2321 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2328 static long int longval () { return $2; }
2329 static unsigned long int ulongval () { return $2; }
2336 FILE *f = fopen ("conftest.val", "w");
2341 long int i = longval ();
2344 fprintf (f, "%ld", i);
2348 unsigned long int i = ulongval ();
2351 fprintf (f, "%lu", i);
2353 /* Do not output a trailing newline, as this causes \r\n confusion
2354 on some platforms. */
2355 return ferror (f) || fclose (f) != 0;
2361 if ac_fn_c_try_run "$LINENO"; then :
2362 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2366 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2367 conftest.$ac_objext conftest.beam conftest.$ac_ext
2371 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2372 as_fn_set_status $ac_retval
2374 } # ac_fn_c_compute_int
2376 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2377 # ---------------------------------------------------------
2378 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2379 # the include files in INCLUDES and setting the cache variable VAR
2381 ac_fn_cxx_check_header_mongrel ()
2383 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2384 if eval \${$3+:} false; then :
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2386 $as_echo_n "checking for $2... " >&6; }
2387 if eval \${$3+:} false; then :
2388 $as_echo_n "(cached) " >&6
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2392 $as_echo "$ac_res" >&6; }
2394 # Is the header compilable?
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2396 $as_echo_n "checking $2 usability... " >&6; }
2397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2398 /* end confdefs.h. */
2402 if ac_fn_cxx_try_compile "$LINENO"; then :
2403 ac_header_compiler=yes
2405 ac_header_compiler=no
2407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2409 $as_echo "$ac_header_compiler" >&6; }
2411 # Is the header present?
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2413 $as_echo_n "checking $2 presence... " >&6; }
2414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2415 /* end confdefs.h. */
2418 if ac_fn_cxx_try_cpp "$LINENO"; then :
2419 ac_header_preproc=yes
2421 ac_header_preproc=no
2423 rm -f conftest.err conftest.i conftest.$ac_ext
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2425 $as_echo "$ac_header_preproc" >&6; }
2427 # So? What about this header?
2428 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2431 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2433 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2437 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2439 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2441 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2443 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2445 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2446 ( $as_echo "## ------------------------------------------------------------ ##
2447 ## Report this to https://github.com/behdad/harfbuzz/issues/new ##
2448 ## ------------------------------------------------------------ ##"
2449 ) | sed "s/^/$as_me: WARNING: /" >&2
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2453 $as_echo_n "checking for $2... " >&6; }
2454 if eval \${$3+:} false; then :
2455 $as_echo_n "(cached) " >&6
2457 eval "$3=\$ac_header_compiler"
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2461 $as_echo "$ac_res" >&6; }
2463 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2465 } # ac_fn_cxx_check_header_mongrel
2467 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2468 # -------------------------------------------
2469 # Tests whether TYPE exists after having included INCLUDES, setting cache
2470 # variable VAR accordingly.
2471 ac_fn_c_check_type ()
2473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2475 $as_echo_n "checking for $2... " >&6; }
2476 if eval \${$3+:} false; then :
2477 $as_echo_n "(cached) " >&6
2480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2481 /* end confdefs.h. */
2492 if ac_fn_c_try_compile "$LINENO"; then :
2493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2494 /* end confdefs.h. */
2505 if ac_fn_c_try_compile "$LINENO"; then :
2510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2516 $as_echo "$ac_res" >&6; }
2517 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2519 } # ac_fn_c_check_type
2520 cat >config.log <<_ACEOF
2521 This file contains any messages produced by compilers while
2522 running configure, to aid debugging if configure makes a mistake.
2524 It was created by HarfBuzz $as_me 1.4.6, which was
2525 generated by GNU Autoconf 2.69. Invocation command line was
2537 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2538 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2539 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2540 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2541 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2543 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2544 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2546 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2547 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2548 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2549 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2550 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2551 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2552 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560 test -z "$as_dir" && as_dir=.
2561 $as_echo "PATH: $as_dir"
2577 # Keep a trace of the command line.
2578 # Strip out --no-create and --no-recursion so they do not pile up.
2579 # Strip out --silent because we don't want to record it for future runs.
2580 # Also quote any args containing shell meta-characters.
2581 # Make two passes to allow for proper duplicate-argument suppression.
2585 ac_must_keep_next=false
2591 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2592 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2593 | -silent | --silent | --silen | --sile | --sil)
2596 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2599 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2601 as_fn_append ac_configure_args1 " '$ac_arg'"
2602 if test $ac_must_keep_next = true; then
2603 ac_must_keep_next=false # Got value, back to normal.
2606 *=* | --config-cache | -C | -disable-* | --disable-* \
2607 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2608 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2609 | -with-* | --with-* | -without-* | --without-* | --x)
2610 case "$ac_configure_args0 " in
2611 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2614 -* ) ac_must_keep_next=true ;;
2617 as_fn_append ac_configure_args " '$ac_arg'"
2622 { ac_configure_args0=; unset ac_configure_args0;}
2623 { ac_configure_args1=; unset ac_configure_args1;}
2625 # When interrupted or exit'd, cleanup temporary files, and complete
2626 # config.log. We remove comments because anyway the quotes in there
2627 # would cause problems or look ugly.
2628 # WARNING: Use '\'' to represent an apostrophe within the trap.
2629 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2630 trap 'exit_status=$?
2631 # Save into config.log some information that might help in debugging.
2635 $as_echo "## ---------------- ##
2636 ## Cache variables. ##
2637 ## ---------------- ##"
2639 # The following way of writing the cache mishandles newlines in values,
2641 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2642 eval ac_val=\$$ac_var
2646 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2647 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2650 _ | IFS | as_nl) ;; #(
2651 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2652 *) { eval $ac_var=; unset $ac_var;} ;;
2657 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2658 *${as_nl}ac_space=\ *)
2660 "s/'\''/'\''\\\\'\'''\''/g;
2661 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2664 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2671 $as_echo "## ----------------- ##
2672 ## Output variables. ##
2673 ## ----------------- ##"
2675 for ac_var in $ac_subst_vars
2677 eval ac_val=\$$ac_var
2679 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2681 $as_echo "$ac_var='\''$ac_val'\''"
2685 if test -n "$ac_subst_files"; then
2686 $as_echo "## ------------------- ##
2687 ## File substitutions. ##
2688 ## ------------------- ##"
2690 for ac_var in $ac_subst_files
2692 eval ac_val=\$$ac_var
2694 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2696 $as_echo "$ac_var='\''$ac_val'\''"
2701 if test -s confdefs.h; then
2702 $as_echo "## ----------- ##
2709 test "$ac_signal" != 0 &&
2710 $as_echo "$as_me: caught signal $ac_signal"
2711 $as_echo "$as_me: exit $exit_status"
2713 rm -f core *.core core.conftest.* &&
2714 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2717 for ac_signal in 1 2 13 15; do
2718 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2722 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2723 rm -f -r conftest* confdefs.h
2725 $as_echo "/* confdefs.h */" > confdefs.h
2727 # Predefined preprocessor variables.
2729 cat >>confdefs.h <<_ACEOF
2730 #define PACKAGE_NAME "$PACKAGE_NAME"
2733 cat >>confdefs.h <<_ACEOF
2734 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2737 cat >>confdefs.h <<_ACEOF
2738 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2741 cat >>confdefs.h <<_ACEOF
2742 #define PACKAGE_STRING "$PACKAGE_STRING"
2745 cat >>confdefs.h <<_ACEOF
2746 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2749 cat >>confdefs.h <<_ACEOF
2750 #define PACKAGE_URL "$PACKAGE_URL"
2754 # Let the site file select an alternate cache file if it wants to.
2755 # Prefer an explicitly selected file to automatically selected ones.
2758 if test -n "$CONFIG_SITE"; then
2759 # We do not want a PATH search for config.site.
2760 case $CONFIG_SITE in #((
2761 -*) ac_site_file1=./$CONFIG_SITE;;
2762 */*) ac_site_file1=$CONFIG_SITE;;
2763 *) ac_site_file1=./$CONFIG_SITE;;
2765 elif test "x$prefix" != xNONE; then
2766 ac_site_file1=$prefix/share/config.site
2767 ac_site_file2=$prefix/etc/config.site
2769 ac_site_file1=$ac_default_prefix/share/config.site
2770 ac_site_file2=$ac_default_prefix/etc/config.site
2772 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2774 test "x$ac_site_file" = xNONE && continue
2775 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2777 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2778 sed 's/^/| /' "$ac_site_file" >&5
2780 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2782 as_fn_error $? "failed to load site script $ac_site_file
2783 See \`config.log' for more details" "$LINENO" 5; }
2787 if test -r "$cache_file"; then
2788 # Some versions of bash will fail to source /dev/null (special files
2789 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2790 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2792 $as_echo "$as_me: loading cache $cache_file" >&6;}
2794 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2795 *) . "./$cache_file";;
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2800 $as_echo "$as_me: creating cache $cache_file" >&6;}
2804 # Check that the precious variables saved in the cache have kept the same
2806 ac_cache_corrupted=false
2807 for ac_var in $ac_precious_vars; do
2808 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2809 eval ac_new_set=\$ac_env_${ac_var}_set
2810 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2811 eval ac_new_val=\$ac_env_${ac_var}_value
2812 case $ac_old_set,$ac_new_set in
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2815 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2816 ac_cache_corrupted=: ;;
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2819 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2820 ac_cache_corrupted=: ;;
2823 if test "x$ac_old_val" != "x$ac_new_val"; then
2824 # differences in whitespace do not lead to failure.
2825 ac_old_val_w=`echo x $ac_old_val`
2826 ac_new_val_w=`echo x $ac_new_val`
2827 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2829 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2830 ac_cache_corrupted=:
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2833 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2834 eval $ac_var=\$ac_old_val
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2837 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2839 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2842 # Pass precious variables to config.status.
2843 if test "$ac_new_set" = set; then
2845 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2846 *) ac_arg=$ac_var=$ac_new_val ;;
2848 case " $ac_configure_args " in
2849 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2850 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2854 if $ac_cache_corrupted; then
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2858 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2859 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2861 ## -------------------- ##
2862 ## Main body of script. ##
2863 ## -------------------- ##
2866 ac_cpp='$CPP $CPPFLAGS'
2867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2875 ac_config_headers="$ac_config_headers config.h"
2878 am__api_version='1.14'
2881 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2882 if test -f "$ac_dir/install-sh"; then
2884 ac_install_sh="$ac_aux_dir/install-sh -c"
2886 elif test -f "$ac_dir/install.sh"; then
2888 ac_install_sh="$ac_aux_dir/install.sh -c"
2890 elif test -f "$ac_dir/shtool"; then
2892 ac_install_sh="$ac_aux_dir/shtool install -c"
2896 if test -z "$ac_aux_dir"; then
2897 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2900 # These three variables are undocumented and unsupported,
2901 # and are intended to be withdrawn in a future Autoconf release.
2902 # They can cause serious problems if a builder's source tree is in a directory
2903 # whose full name contains unusual characters.
2904 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2905 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2906 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2909 # Find a good install program. We prefer a C program (faster),
2910 # so one script is as good as another. But avoid the broken or
2911 # incompatible versions:
2912 # SysV /etc/install, /usr/sbin/install
2913 # SunOS /usr/etc/install
2914 # IRIX /sbin/install
2916 # AmigaOS /C/install, which installs bootblocks on floppy discs
2917 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2918 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2919 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2920 # OS/2's system install, which has a completely different semantic
2921 # ./install, which can be erroneously created by make from ./install.sh.
2922 # Reject install programs that cannot install multiple files.
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2924 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2925 if test -z "$INSTALL"; then
2926 if ${ac_cv_path_install+:} false; then :
2927 $as_echo_n "(cached) " >&6
2929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2933 test -z "$as_dir" && as_dir=.
2934 # Account for people who put trailing slashes in PATH elements.
2935 case $as_dir/ in #((
2936 ./ | .// | /[cC]/* | \
2937 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2938 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2941 # OSF1 and SCO ODT 3.0 have their own names for install.
2942 # Don't use installbsd from OSF since it installs stuff as root
2944 for ac_prog in ginstall scoinst install; do
2945 for ac_exec_ext in '' $ac_executable_extensions; do
2946 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2947 if test $ac_prog = install &&
2948 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2949 # AIX install. It has an incompatible calling convention.
2951 elif test $ac_prog = install &&
2952 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2953 # program-specific install script used by HP pwplus--don't use.
2956 rm -rf conftest.one conftest.two conftest.dir
2957 echo one > conftest.one
2958 echo two > conftest.two
2960 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2961 test -s conftest.one && test -s conftest.two &&
2962 test -s conftest.dir/conftest.one &&
2963 test -s conftest.dir/conftest.two
2965 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2978 rm -rf conftest.one conftest.two conftest.dir
2981 if test "${ac_cv_path_install+set}" = set; then
2982 INSTALL=$ac_cv_path_install
2984 # As a last resort, use the slow shell script. Don't cache a
2985 # value for INSTALL within a source directory, because that will
2986 # break other packages using the cache if that directory is
2987 # removed, or if the value is a relative name.
2988 INSTALL=$ac_install_sh
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2992 $as_echo "$INSTALL" >&6; }
2994 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2995 # It thinks the first close brace ends the variable substitution.
2996 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2998 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3000 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3003 $as_echo_n "checking whether build environment is sane... " >&6; }
3004 # Reject unsafe characters in $srcdir or the absolute working directory
3005 # name. Accept space and tab only in the latter.
3009 *[\\\"\#\$\&\'\`$am_lf]*)
3010 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3013 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3014 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3017 # Do 'set' in a subshell so we don't clobber the current shell's
3018 # arguments. Must try -L first in case configure is actually a
3019 # symlink; some systems play weird games with the mod time of symlinks
3020 # (eg FreeBSD returns the mod time of the symlink's containing
3024 for am_try in 1 2; do
3025 echo "timestamp, slept: $am_has_slept" > conftest.file
3026 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3027 if test "$*" = "X"; then
3029 set X `ls -t "$srcdir/configure" conftest.file`
3031 if test "$*" != "X $srcdir/configure conftest.file" \
3032 && test "$*" != "X conftest.file $srcdir/configure"; then
3034 # If neither matched, then we have a broken ls. This can happen
3035 # if, for instance, CONFIG_SHELL is bash and it inherits a
3036 # broken ls alias from the environment. This has actually
3037 # happened. Such a system could not be considered "sane".
3038 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3039 alias in your environment" "$LINENO" 5
3041 if test "$2" = conftest.file || test $am_try -eq 2; then
3048 test "$2" = conftest.file
3054 as_fn_error $? "newly created file is older than distributed files!
3055 Check your system clock" "$LINENO" 5
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3058 $as_echo "yes" >&6; }
3059 # If we didn't sleep, we still need to ensure time stamps of config.status and
3060 # generated files are strictly newer.
3062 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3069 test "$program_prefix" != NONE &&
3070 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3071 # Use a double $ so make ignores it.
3072 test "$program_suffix" != NONE &&
3073 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3074 # Double any \ or $.
3075 # By default was `s,x,x', remove it if useless.
3076 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3077 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3079 # expand $ac_aux_dir to an absolute path
3080 am_aux_dir=`cd $ac_aux_dir && pwd`
3082 if test x"${MISSING+set}" != xset; then
3085 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3087 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3090 # Use eval to expand $SHELL
3091 if eval "$MISSING --is-lightweight"; then
3092 am_missing_run="$MISSING "
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3096 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3099 if test x"${install_sh}" != xset; then
3102 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3104 install_sh="\${SHELL} $am_aux_dir/install-sh"
3108 # Installed binaries are usually stripped using 'strip' when the user
3109 # run "make install-strip". However 'strip' might not be the right
3110 # tool to use in cross-compilation environments, therefore Automake
3111 # will honor the 'STRIP' environment variable to overrule this program.
3112 if test "$cross_compiling" != no; then
3113 if test -n "$ac_tool_prefix"; then
3114 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3115 set dummy ${ac_tool_prefix}strip; ac_word=$2
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3117 $as_echo_n "checking for $ac_word... " >&6; }
3118 if ${ac_cv_prog_STRIP+:} false; then :
3119 $as_echo_n "(cached) " >&6
3121 if test -n "$STRIP"; then
3122 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3128 test -z "$as_dir" && as_dir=.
3129 for ac_exec_ext in '' $ac_executable_extensions; do
3130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3131 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3141 STRIP=$ac_cv_prog_STRIP
3142 if test -n "$STRIP"; then
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3144 $as_echo "$STRIP" >&6; }
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3147 $as_echo "no" >&6; }
3152 if test -z "$ac_cv_prog_STRIP"; then
3154 # Extract the first word of "strip", so it can be a program name with args.
3155 set dummy strip; ac_word=$2
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3159 $as_echo_n "(cached) " >&6
3161 if test -n "$ac_ct_STRIP"; then
3162 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168 test -z "$as_dir" && as_dir=.
3169 for ac_exec_ext in '' $ac_executable_extensions; do
3170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3171 ac_cv_prog_ac_ct_STRIP="strip"
3172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3181 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3182 if test -n "$ac_ct_STRIP"; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3184 $as_echo "$ac_ct_STRIP" >&6; }
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3190 if test "x$ac_ct_STRIP" = x; then
3193 case $cross_compiling:$ac_tool_warned in
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3197 ac_tool_warned=yes ;;
3202 STRIP="$ac_cv_prog_STRIP"
3206 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3209 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3210 if test -z "$MKDIR_P"; then
3211 if ${ac_cv_path_mkdir+:} false; then :
3212 $as_echo_n "(cached) " >&6
3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3215 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3218 test -z "$as_dir" && as_dir=.
3219 for ac_prog in mkdir gmkdir; do
3220 for ac_exec_ext in '' $ac_executable_extensions; do
3221 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3222 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3223 'mkdir (GNU coreutils) '* | \
3224 'mkdir (coreutils) '* | \
3225 'mkdir (fileutils) '4.1*)
3226 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3236 test -d ./--version && rmdir ./--version
3237 if test "${ac_cv_path_mkdir+set}" = set; then
3238 MKDIR_P="$ac_cv_path_mkdir -p"
3240 # As a last resort, use the slow shell script. Don't cache a
3241 # value for MKDIR_P within a source directory, because that will
3242 # break other packages using the cache if that directory is
3243 # removed, or if the value is a relative name.
3244 MKDIR_P="$ac_install_sh -d"
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3248 $as_echo "$MKDIR_P" >&6; }
3250 for ac_prog in gawk mawk nawk awk
3252 # Extract the first word of "$ac_prog", so it can be a program name with args.
3253 set dummy $ac_prog; ac_word=$2
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255 $as_echo_n "checking for $ac_word... " >&6; }
3256 if ${ac_cv_prog_AWK+:} false; then :
3257 $as_echo_n "(cached) " >&6
3259 if test -n "$AWK"; then
3260 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 test -z "$as_dir" && as_dir=.
3267 for ac_exec_ext in '' $ac_executable_extensions; do
3268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3269 ac_cv_prog_AWK="$ac_prog"
3270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3280 if test -n "$AWK"; then
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3282 $as_echo "$AWK" >&6; }
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3285 $as_echo "no" >&6; }
3289 test -n "$AWK" && break
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3293 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3295 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3296 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3297 $as_echo_n "(cached) " >&6
3299 cat >conftest.make <<\_ACEOF
3302 @echo '@@@%%%=$(MAKE)=@@@%%%'
3304 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3305 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3307 eval ac_cv_prog_make_${ac_make}_set=yes;;
3309 eval ac_cv_prog_make_${ac_make}_set=no;;
3313 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3315 $as_echo "yes" >&6; }
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319 $as_echo "no" >&6; }
3320 SET_MAKE="MAKE=${MAKE-make}"
3323 rm -rf .tst 2>/dev/null
3324 mkdir .tst 2>/dev/null
3325 if test -d .tst; then
3330 rmdir .tst 2>/dev/null
3332 # Check whether --enable-silent-rules was given.
3333 if test "${enable_silent_rules+set}" = set; then :
3334 enableval=$enable_silent_rules;
3337 case $enable_silent_rules in # (((
3338 yes) AM_DEFAULT_VERBOSITY=0;;
3339 no) AM_DEFAULT_VERBOSITY=1;;
3340 *) AM_DEFAULT_VERBOSITY=1;;
3342 am_make=${MAKE-make}
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3344 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3345 if ${am_cv_make_support_nested_variables+:} false; then :
3346 $as_echo_n "(cached) " >&6
3348 if $as_echo 'TRUE=$(BAR$(V))
3354 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3355 am_cv_make_support_nested_variables=yes
3357 am_cv_make_support_nested_variables=no
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3361 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3362 if test $am_cv_make_support_nested_variables = yes; then
3364 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3366 AM_V=$AM_DEFAULT_VERBOSITY
3367 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3371 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3372 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3373 # is not polluted with repeated "-I."
3374 am__isrc=' -I$(srcdir)'
3375 # test to see if srcdir already configured
3376 if test -f $srcdir/config.status; then
3377 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3381 # test whether we have cygpath
3382 if test -z "$CYGPATH_W"; then
3383 if (cygpath --version) >/dev/null 2>/dev/null; then
3384 CYGPATH_W='cygpath -w'
3391 # Define the identity of the package.
3396 # Some tools Automake needs.
3398 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3401 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3404 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3407 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3410 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3412 # For better backward compatibility. To be removed once Automake 1.9.x
3413 # dies out for good. For more background, see:
3414 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3415 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3416 mkdir_p='$(MKDIR_P)'
3418 # We need awk for the "check" target. The system "awk" is bad on
3420 # Always define AMTAR for backward compatibility. Yes, it's still used
3421 # in the wild :-( We should find a proper way to deprecate it ...
3425 # We'll loop over all known methods to create a tar archive until one works.
3426 _am_tools='gnutar plaintar pax cpio none'
3428 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
3429 # There is notably a 21 bits limit for the UID and the GID. In fact,
3430 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3432 am_max_uid=2097151 # 2^21 - 1
3433 am_max_gid=$am_max_uid
3434 # The $UID and $GID variables are not portable, so we need to resort
3435 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
3436 # below are definitely unexpected, so allow the users to see them
3437 # (that is, avoid stderr redirection).
3438 am_uid=`id -u || echo unknown`
3439 am_gid=`id -g || echo unknown`
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3441 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3442 if test $am_uid -le $am_max_uid; then
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3444 $as_echo "yes" >&6; }
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447 $as_echo "no" >&6; }
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3451 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3452 if test $am_gid -le $am_max_gid; then
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3454 $as_echo "yes" >&6; }
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3457 $as_echo "no" >&6; }
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3462 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3464 # Go ahead even if we have the value already cached. We do so because we
3465 # need to set the values for the 'am__tar' and 'am__untar' variables.
3466 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3468 for _am_tool in $_am_tools; do
3471 for _am_tar in tar gnutar gtar; do
3472 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3473 ($_am_tar --version) >&5 2>&5
3475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476 (exit $ac_status); } && break
3478 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3479 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3480 am__untar="$_am_tar -xf -"
3483 # Must skip GNU tar: if it does not support --format= it doesn't create
3484 # ustar tarball either.
3485 (tar --version) >/dev/null 2>&1 && continue
3486 am__tar='tar chf - "$$tardir"'
3487 am__tar_='tar chf - "$tardir"'
3488 am__untar='tar xf -'
3491 am__tar='pax -L -x ustar -w "$$tardir"'
3492 am__tar_='pax -L -x ustar -w "$tardir"'
3496 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3497 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3498 am__untar='cpio -i -H ustar -d'
3507 # If the value was cached, stop now. We just wanted to have am__tar
3508 # and am__untar set.
3509 test -n "${am_cv_prog_tar_ustar}" && break
3511 # tar/untar a dummy directory, and stop if the command works.
3514 echo GrepMe > conftest.dir/file
3515 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3516 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); }
3521 if test -s conftest.tar; then
3522 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3523 ($am__untar <conftest.tar) >&5 2>&5
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); }
3527 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3528 (cat conftest.dir/file) >&5 2>&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); }
3532 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3537 if ${am_cv_prog_tar_ustar+:} false; then :
3538 $as_echo_n "(cached) " >&6
3540 am_cv_prog_tar_ustar=$_am_tool
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3544 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3551 # POSIX will say in a future version that running "rm -f" with no argument
3552 # is OK; and we want to be able to make that assumption in our Makefile
3553 # recipes. So use an aggressive probe to check that the usage we want is
3554 # actually supported "in the wild" to an acceptable degree.
3555 # See automake bug#10828.
3556 # To make any issue more visible, cause the running configure to be aborted
3557 # by default if the 'rm' program in use doesn't match our expectations; the
3558 # user can still override this though.
3559 if rm -f && rm -fr && rm -rf; then : OK; else
3563 Your 'rm' program seems unable to run without file operands specified
3564 on the command line, even when the '-f' option is present. This is contrary
3565 to the behaviour of most rm programs out there, and not conforming with
3566 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3568 Please tell bug-automake@gnu.org about your system, including the value
3569 of your $PATH and any error possibly output before this message. This
3570 can help us improve future automake versions.
3573 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3574 echo 'Configuration will proceed anyway, since you have set the' >&2
3575 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3579 Aborting the configuration process, to ensure you take notice of the issue.
3581 You can download and install GNU coreutils to get an 'rm' implementation
3582 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3584 If you want to complete the configuration process using your problematic
3585 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3586 to "yes", and re-run configure.
3589 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3592 if test $am__api_version = 1.11 -o $am__api_version = 1.12; then
3593 AUTOMAKE_OLDER_THAN_1_13_TRUE=
3594 AUTOMAKE_OLDER_THAN_1_13_FALSE='#'
3596 AUTOMAKE_OLDER_THAN_1_13_TRUE='#'
3597 AUTOMAKE_OLDER_THAN_1_13_FALSE=
3600 # Check whether --enable-silent-rules was given.
3601 if test "${enable_silent_rules+set}" = set; then :
3602 enableval=$enable_silent_rules;
3605 case $enable_silent_rules in # (((
3606 yes) AM_DEFAULT_VERBOSITY=0;;
3607 no) AM_DEFAULT_VERBOSITY=1;;
3608 *) AM_DEFAULT_VERBOSITY=0;;
3610 am_make=${MAKE-make}
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3612 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3613 if ${am_cv_make_support_nested_variables+:} false; then :
3614 $as_echo_n "(cached) " >&6
3616 if $as_echo 'TRUE=$(BAR$(V))
3622 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3623 am_cv_make_support_nested_variables=yes
3625 am_cv_make_support_nested_variables=no
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3629 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3630 if test $am_cv_make_support_nested_variables = yes; then
3632 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3634 AM_V=$AM_DEFAULT_VERBOSITY
3635 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3640 # Initialize libtool
3641 DEPDIR="${am__leading_dot}deps"
3643 ac_config_commands="$ac_config_commands depfiles"
3646 am_make=${MAKE-make}
3647 cat > confinc << 'END'
3649 @echo this is the am__doit target
3652 # If we don't find an include directive, just comment out the code.
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3654 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3658 # First try GNU make style include.
3659 echo "include confinc" > confmf
3660 # Ignore all kinds of additional output from 'make'.
3661 case `$am_make -s -f confmf 2> /dev/null` in #(
3662 *the\ am__doit\ target*)
3668 # Now try BSD make style include.
3669 if test "$am__include" = "#"; then
3670 echo '.include "confinc"' > confmf
3671 case `$am_make -s -f confmf 2> /dev/null` in #(
3672 *the\ am__doit\ target*)
3673 am__include=.include
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3682 $as_echo "$_am_result" >&6; }
3683 rm -f confinc confmf
3685 # Check whether --enable-dependency-tracking was given.
3686 if test "${enable_dependency_tracking+set}" = set; then :
3687 enableval=$enable_dependency_tracking;
3690 if test "x$enable_dependency_tracking" != xno; then
3691 am_depcomp="$ac_aux_dir/depcomp"
3695 if test "x$enable_dependency_tracking" != xno; then
3705 ac_cpp='$CPP $CPPFLAGS'
3706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3709 if test -n "$ac_tool_prefix"; then
3710 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3711 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if ${ac_cv_prog_CC+:} false; then :
3715 $as_echo_n "(cached) " >&6
3717 if test -n "$CC"; then
3718 ac_cv_prog_CC="$CC" # Let the user override the test.
3720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3724 test -z "$as_dir" && as_dir=.
3725 for ac_exec_ext in '' $ac_executable_extensions; do
3726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3727 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3738 if test -n "$CC"; then
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3740 $as_echo "$CC" >&6; }
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743 $as_echo "no" >&6; }
3748 if test -z "$ac_cv_prog_CC"; then
3750 # Extract the first word of "gcc", so it can be a program name with args.
3751 set dummy gcc; ac_word=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3755 $as_echo_n "(cached) " >&6
3757 if test -n "$ac_ct_CC"; then
3758 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3764 test -z "$as_dir" && as_dir=.
3765 for ac_exec_ext in '' $ac_executable_extensions; do
3766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3767 ac_cv_prog_ac_ct_CC="gcc"
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3777 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3778 if test -n "$ac_ct_CC"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3780 $as_echo "$ac_ct_CC" >&6; }
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3786 if test "x$ac_ct_CC" = x; then
3789 case $cross_compiling:$ac_tool_warned in
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3793 ac_tool_warned=yes ;;
3801 if test -z "$CC"; then
3802 if test -n "$ac_tool_prefix"; then
3803 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3804 set dummy ${ac_tool_prefix}cc; ac_word=$2
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3806 $as_echo_n "checking for $ac_word... " >&6; }
3807 if ${ac_cv_prog_CC+:} false; then :
3808 $as_echo_n "(cached) " >&6
3810 if test -n "$CC"; then
3811 ac_cv_prog_CC="$CC" # Let the user override the test.
3813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3817 test -z "$as_dir" && as_dir=.
3818 for ac_exec_ext in '' $ac_executable_extensions; do
3819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3820 ac_cv_prog_CC="${ac_tool_prefix}cc"
3821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3831 if test -n "$CC"; then
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3833 $as_echo "$CC" >&6; }
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3836 $as_echo "no" >&6; }
3842 if test -z "$CC"; then
3843 # Extract the first word of "cc", so it can be a program name with args.
3844 set dummy cc; ac_word=$2
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3846 $as_echo_n "checking for $ac_word... " >&6; }
3847 if ${ac_cv_prog_CC+:} false; then :
3848 $as_echo_n "(cached) " >&6
3850 if test -n "$CC"; then
3851 ac_cv_prog_CC="$CC" # Let the user override the test.
3854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3858 test -z "$as_dir" && as_dir=.
3859 for ac_exec_ext in '' $ac_executable_extensions; do
3860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3861 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3862 ac_prog_rejected=yes
3866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3873 if test $ac_prog_rejected = yes; then
3874 # We found a bogon in the path, so make sure we never use it.
3875 set dummy $ac_cv_prog_CC
3877 if test $# != 0; then
3878 # We chose a different compiler from the bogus one.
3879 # However, it has the same basename, so the bogon will be chosen
3880 # first if we set CC to just the basename; use the full file name.
3882 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3888 if test -n "$CC"; then
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3890 $as_echo "$CC" >&6; }
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3893 $as_echo "no" >&6; }
3898 if test -z "$CC"; then
3899 if test -n "$ac_tool_prefix"; then
3900 for ac_prog in cl.exe
3902 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3903 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3905 $as_echo_n "checking for $ac_word... " >&6; }
3906 if ${ac_cv_prog_CC+:} false; then :
3907 $as_echo_n "(cached) " >&6
3909 if test -n "$CC"; then
3910 ac_cv_prog_CC="$CC" # Let the user override the test.
3912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3916 test -z "$as_dir" && as_dir=.
3917 for ac_exec_ext in '' $ac_executable_extensions; do
3918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3919 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3930 if test -n "$CC"; then
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3932 $as_echo "$CC" >&6; }
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3935 $as_echo "no" >&6; }
3939 test -n "$CC" && break
3942 if test -z "$CC"; then
3944 for ac_prog in cl.exe
3946 # Extract the first word of "$ac_prog", so it can be a program name with args.
3947 set dummy $ac_prog; ac_word=$2
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3949 $as_echo_n "checking for $ac_word... " >&6; }
3950 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3951 $as_echo_n "(cached) " >&6
3953 if test -n "$ac_ct_CC"; then
3954 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3960 test -z "$as_dir" && as_dir=.
3961 for ac_exec_ext in '' $ac_executable_extensions; do
3962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3963 ac_cv_prog_ac_ct_CC="$ac_prog"
3964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3973 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3974 if test -n "$ac_ct_CC"; then
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3976 $as_echo "$ac_ct_CC" >&6; }
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979 $as_echo "no" >&6; }
3983 test -n "$ac_ct_CC" && break
3986 if test "x$ac_ct_CC" = x; then
3989 case $cross_compiling:$ac_tool_warned in
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3993 ac_tool_warned=yes ;;
4002 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4004 as_fn_error $? "no acceptable C compiler found in \$PATH
4005 See \`config.log' for more details" "$LINENO" 5; }
4007 # Provide some information about the compiler.
4008 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4011 for ac_option in --version -v -V -qversion; do
4012 { { ac_try="$ac_compiler $ac_option >&5"
4014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4015 *) ac_try_echo=$ac_try;;
4017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4018 $as_echo "$ac_try_echo"; } >&5
4019 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4021 if test -s conftest.err; then
4023 ... rest of stderr output deleted ...
4024 10q' conftest.err >conftest.er1
4025 cat conftest.er1 >&5
4027 rm -f conftest.er1 conftest.err
4028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4029 test $ac_status = 0; }
4032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4033 /* end confdefs.h. */
4043 ac_clean_files_save=$ac_clean_files
4044 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4045 # Try to create an executable without -o first, disregard a.out.
4046 # It will help us diagnose broken compilers, and finding out an intuition
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4049 $as_echo_n "checking whether the C compiler works... " >&6; }
4050 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4052 # The possible output files:
4053 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4056 for ac_file in $ac_files
4059 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4060 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4065 if { { ac_try="$ac_link_default"
4067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4068 *) ac_try_echo=$ac_try;;
4070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4071 $as_echo "$ac_try_echo"; } >&5
4072 (eval "$ac_link_default") 2>&5
4074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4075 test $ac_status = 0; }; then :
4076 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4077 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4078 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4079 # so that the user can short-circuit this test for compilers unknown to
4081 for ac_file in $ac_files ''
4083 test -f "$ac_file" || continue
4085 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4088 # We found the default executable, but exeext='' is most
4092 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4094 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4096 # We set ac_cv_exeext here because the later test for it is not
4097 # safe: cross compilers may not add the suffix if given an `-o'
4098 # argument, so we may need to know it at that point already.
4099 # Even if this section looks crufty: it has the advantage of
4106 test "$ac_cv_exeext" = no && ac_cv_exeext=
4111 if test -z "$ac_file"; then :
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113 $as_echo "no" >&6; }
4114 $as_echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.$ac_ext >&5
4117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119 as_fn_error 77 "C compiler cannot create executables
4120 See \`config.log' for more details" "$LINENO" 5; }
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4123 $as_echo "yes" >&6; }
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4126 $as_echo_n "checking for C compiler default output file name... " >&6; }
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4128 $as_echo "$ac_file" >&6; }
4129 ac_exeext=$ac_cv_exeext
4131 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4132 ac_clean_files=$ac_clean_files_save
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4134 $as_echo_n "checking for suffix of executables... " >&6; }
4135 if { { ac_try="$ac_link"
4137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4138 *) ac_try_echo=$ac_try;;
4140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4141 $as_echo "$ac_try_echo"; } >&5
4142 (eval "$ac_link") 2>&5
4144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4145 test $ac_status = 0; }; then :
4146 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4147 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4148 # work properly (i.e., refer to `conftest.exe'), while it won't with
4150 for ac_file in conftest.exe conftest conftest.*; do
4151 test -f "$ac_file" || continue
4153 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4154 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4162 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4163 See \`config.log' for more details" "$LINENO" 5; }
4165 rm -f conftest conftest$ac_cv_exeext
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4167 $as_echo "$ac_cv_exeext" >&6; }
4169 rm -f conftest.$ac_ext
4170 EXEEXT=$ac_cv_exeext
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4178 FILE *f = fopen ("conftest.out", "w");
4179 return ferror (f) || fclose (f) != 0;
4185 ac_clean_files="$ac_clean_files conftest.out"
4186 # Check that the compiler produces executables we can run. If not, either
4187 # the compiler is broken, or we cross compile.
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4189 $as_echo_n "checking whether we are cross compiling... " >&6; }
4190 if test "$cross_compiling" != yes; then
4191 { { ac_try="$ac_link"
4193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194 *) ac_try_echo=$ac_try;;
4196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4197 $as_echo "$ac_try_echo"; } >&5
4198 (eval "$ac_link") 2>&5
4200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4201 test $ac_status = 0; }
4202 if { ac_try='./conftest$ac_cv_exeext'
4203 { { case "(($ac_try" in
4204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4205 *) ac_try_echo=$ac_try;;
4207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4208 $as_echo "$ac_try_echo"; } >&5
4209 (eval "$ac_try") 2>&5
4211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4212 test $ac_status = 0; }; }; then
4215 if test "$cross_compiling" = maybe; then
4218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4220 as_fn_error $? "cannot run C compiled programs.
4221 If you meant to cross compile, use \`--host'.
4222 See \`config.log' for more details" "$LINENO" 5; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4227 $as_echo "$cross_compiling" >&6; }
4229 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4230 ac_clean_files=$ac_clean_files_save
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4232 $as_echo_n "checking for suffix of object files... " >&6; }
4233 if ${ac_cv_objext+:} false; then :
4234 $as_echo_n "(cached) " >&6
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4247 rm -f conftest.o conftest.obj
4248 if { { ac_try="$ac_compile"
4250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4251 *) ac_try_echo=$ac_try;;
4253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4254 $as_echo "$ac_try_echo"; } >&5
4255 (eval "$ac_compile") 2>&5
4257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4258 test $ac_status = 0; }; then :
4259 for ac_file in conftest.o conftest.obj conftest.*; do
4260 test -f "$ac_file" || continue;
4262 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4263 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4268 $as_echo "$as_me: failed program was:" >&5
4269 sed 's/^/| /' conftest.$ac_ext >&5
4271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4273 as_fn_error $? "cannot compute suffix of object files: cannot compile
4274 See \`config.log' for more details" "$LINENO" 5; }
4276 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4279 $as_echo "$ac_cv_objext" >&6; }
4280 OBJEXT=$ac_cv_objext
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4283 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4284 if ${ac_cv_c_compiler_gnu+:} false; then :
4285 $as_echo_n "(cached) " >&6
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4301 if ac_fn_c_try_compile "$LINENO"; then :
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4307 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4311 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4312 if test $ac_compiler_gnu = yes; then
4317 ac_test_CFLAGS=${CFLAGS+set}
4318 ac_save_CFLAGS=$CFLAGS
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4320 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4321 if ${ac_cv_prog_cc_g+:} false; then :
4322 $as_echo_n "(cached) " >&6
4324 ac_save_c_werror_flag=$ac_c_werror_flag
4325 ac_c_werror_flag=yes
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4339 if ac_fn_c_try_compile "$LINENO"; then :
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4354 if ac_fn_c_try_compile "$LINENO"; then :
4357 ac_c_werror_flag=$ac_save_c_werror_flag
4359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4370 if ac_fn_c_try_compile "$LINENO"; then :
4373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4378 ac_c_werror_flag=$ac_save_c_werror_flag
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4381 $as_echo "$ac_cv_prog_cc_g" >&6; }
4382 if test "$ac_test_CFLAGS" = set; then
4383 CFLAGS=$ac_save_CFLAGS
4384 elif test $ac_cv_prog_cc_g = yes; then
4385 if test "$GCC" = yes; then
4391 if test "$GCC" = yes; then
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4398 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4399 if ${ac_cv_prog_cc_c89+:} false; then :
4400 $as_echo_n "(cached) " >&6
4402 ac_cv_prog_cc_c89=no
4404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4405 /* end confdefs.h. */
4409 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4410 struct buf { int x; };
4411 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4412 static char *e (p, i)
4418 static char *f (char * (*g) (char **, int), char **p, ...)
4423 s = g (p, va_arg (v,int));
4428 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4429 function prototypes and stuff, but not '\xHH' hex character constants.
4430 These don't provoke an error unfortunately, instead are silently treated
4431 as 'x'. The following induces an error, until -std is added to get
4432 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4433 array size at least. It's necessary to write '\x00'==0 to get something
4434 that's true only with -std. */
4435 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4437 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4438 inside strings and character constants. */
4440 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4442 int test (int i, double x);
4443 struct s1 {int (*f) (int a);};
4444 struct s2 {int (*f) (double a);};
4445 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4451 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4456 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4457 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4459 CC="$ac_save_CC $ac_arg"
4460 if ac_fn_c_try_compile "$LINENO"; then :
4461 ac_cv_prog_cc_c89=$ac_arg
4463 rm -f core conftest.err conftest.$ac_objext
4464 test "x$ac_cv_prog_cc_c89" != "xno" && break
4466 rm -f conftest.$ac_ext
4471 case "x$ac_cv_prog_cc_c89" in
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4474 $as_echo "none needed" >&6; } ;;
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4477 $as_echo "unsupported" >&6; } ;;
4479 CC="$CC $ac_cv_prog_cc_c89"
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4481 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4483 if test "x$ac_cv_prog_cc_c89" != xno; then :
4488 ac_cpp='$CPP $CPPFLAGS'
4489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4494 ac_cpp='$CPP $CPPFLAGS'
4495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4499 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4500 if ${am_cv_prog_cc_c_o+:} false; then :
4501 $as_echo_n "(cached) " >&6
4503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h. */
4514 # Make sure it works both with $CC and with simple cc.
4515 # Following AC_PROG_CC_C_O, we do the test twice because some
4516 # compilers refuse to overwrite an existing .o file with -o,
4517 # though they will create one.
4518 am_cv_prog_cc_c_o=yes
4520 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4521 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); } \
4525 && test -f conftest2.$ac_objext; then
4528 am_cv_prog_cc_c_o=no
4532 rm -f core conftest*
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4536 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4537 if test "$am_cv_prog_cc_c_o" != yes; then
4538 # Losing compiler, so override with the script.
4539 # FIXME: It is wrong to rewrite CC.
4540 # But if we don't then we get into trouble of one sort or another.
4541 # A longer-term fix would be to have automake use am__CC in this case,
4542 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4543 CC="$am_aux_dir/compile $CC"
4546 ac_cpp='$CPP $CPPFLAGS'
4547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4552 depcc="$CC" am_compiler_list=
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4555 $as_echo_n "checking dependency style of $depcc... " >&6; }
4556 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4557 $as_echo_n "(cached) " >&6
4559 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4560 # We make a subdir and do the tests there. Otherwise we can end up
4561 # making bogus files that we don't know about and never remove. For
4562 # instance it was reported that on HP-UX the gcc test will end up
4563 # making a dummy file named 'D' -- because '-MD' means "put the output
4567 # Copy depcomp to subdir because otherwise we won't find it if we're
4568 # using a relative directory.
4569 cp "$am_depcomp" conftest.dir
4571 # We will build objects and dependencies in a subdirectory because
4572 # it helps to detect inapplicable dependency modes. For instance
4573 # both Tru64's cc and ICC support -MD to output dependencies as a
4574 # side effect of compilation, but ICC will put the dependencies in
4575 # the current directory while Tru64 will put them in the object
4579 am_cv_CC_dependencies_compiler_type=none
4580 if test "$am_compiler_list" = ""; then
4581 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4584 case " $depcc " in #(
4585 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4588 for depmode in $am_compiler_list; do
4589 # Setup a source with many dependencies, because some compilers
4590 # like to wrap large dependency lists on column 80 (with \), and
4591 # we should not choose a depcomp mode which is confused by this.
4593 # We need to recreate these files for each test, as the compiler may
4594 # overwrite some of them when testing with obscure command lines.
4595 # This happens at least with the AIX C compiler.
4597 for i in 1 2 3 4 5 6; do
4598 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4599 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4600 # Solaris 10 /bin/sh.
4601 echo '/* dummy */' > sub/conftst$i.h
4603 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4605 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4606 # mode. It turns out that the SunPro C++ compiler does not properly
4607 # handle '-M -o', and we need to detect this. Also, some Intel
4608 # versions had trouble with output in subdirs.
4609 am__obj=sub/conftest.${OBJEXT-o}
4610 am__minus_obj="-o $am__obj"
4613 # This depmode causes a compiler race in universal mode.
4614 test "$am__universal" = false || continue
4617 # After this tag, mechanisms are not by side-effect, so they'll
4618 # only be used when explicitly requested.
4619 if test "x$enable_dependency_tracking" = xyes; then
4625 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4626 # This compiler won't grok '-c -o', but also, the minuso test has
4627 # not run yet. These depmodes are late enough in the game, and
4628 # so weak that their functioning should not be impacted.
4629 am__obj=conftest.${OBJEXT-o}
4634 if depmode=$depmode \
4635 source=sub/conftest.c object=$am__obj \
4636 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4637 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4638 >/dev/null 2>conftest.err &&
4639 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4640 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4641 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4642 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4643 # icc doesn't choke on unknown options, it will just issue warnings
4644 # or remarks (even with -Werror). So we grep stderr for any message
4645 # that says an option was ignored or not supported.
4646 # When given -MP, icc 7.0 and 7.1 complain thusly:
4647 # icc: Command line warning: ignoring option '-M'; no argument required
4648 # The diagnosis changed in icc 8.0:
4649 # icc: Command line remark: option '-MP' not supported
4650 if (grep 'ignoring option' conftest.err ||
4651 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4652 am_cv_CC_dependencies_compiler_type=$depmode
4661 am_cv_CC_dependencies_compiler_type=none
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4666 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4667 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4670 test "x$enable_dependency_tracking" != xno \
4671 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4673 am__fastdepCC_FALSE='#'
4675 am__fastdepCC_TRUE='#'
4676 am__fastdepCC_FALSE=
4681 if test -n "$ac_tool_prefix"; then
4682 for ac_prog in ar lib "link -lib"
4684 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4685 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687 $as_echo_n "checking for $ac_word... " >&6; }
4688 if ${ac_cv_prog_AR+:} false; then :
4689 $as_echo_n "(cached) " >&6
4691 if test -n "$AR"; then
4692 ac_cv_prog_AR="$AR" # Let the user override the test.
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4698 test -z "$as_dir" && as_dir=.
4699 for ac_exec_ext in '' $ac_executable_extensions; do
4700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4701 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4712 if test -n "$AR"; then
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4714 $as_echo "$AR" >&6; }
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4717 $as_echo "no" >&6; }
4721 test -n "$AR" && break
4724 if test -z "$AR"; then
4726 for ac_prog in ar lib "link -lib"
4728 # Extract the first word of "$ac_prog", so it can be a program name with args.
4729 set dummy $ac_prog; ac_word=$2
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4731 $as_echo_n "checking for $ac_word... " >&6; }
4732 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4733 $as_echo_n "(cached) " >&6
4735 if test -n "$ac_ct_AR"; then
4736 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4742 test -z "$as_dir" && as_dir=.
4743 for ac_exec_ext in '' $ac_executable_extensions; do
4744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4745 ac_cv_prog_ac_ct_AR="$ac_prog"
4746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4755 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4756 if test -n "$ac_ct_AR"; then
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4758 $as_echo "$ac_ct_AR" >&6; }
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4761 $as_echo "no" >&6; }
4765 test -n "$ac_ct_AR" && break
4768 if test "x$ac_ct_AR" = x; then
4771 case $cross_compiling:$ac_tool_warned in
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4775 ac_tool_warned=yes ;;
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4784 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4785 if ${am_cv_ar_interface+:} false; then :
4786 $as_echo_n "(cached) " >&6
4789 ac_cpp='$CPP $CPPFLAGS'
4790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4794 am_cv_ar_interface=ar
4795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4797 int some_variable = 0;
4799 if ac_fn_c_try_compile "$LINENO"; then :
4800 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4801 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4802 (eval $am_ar_try) 2>&5
4804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4805 test $ac_status = 0; }
4806 if test "$ac_status" -eq 0; then
4807 am_cv_ar_interface=ar
4809 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4810 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4811 (eval $am_ar_try) 2>&5
4813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4814 test $ac_status = 0; }
4815 if test "$ac_status" -eq 0; then
4816 am_cv_ar_interface=lib
4818 am_cv_ar_interface=unknown
4821 rm -f conftest.lib libconftest.a
4824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4826 ac_cpp='$CPP $CPPFLAGS'
4827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4833 $as_echo "$am_cv_ar_interface" >&6; }
4835 case $am_cv_ar_interface in
4839 # Microsoft lib, so override with the ar-lib wrapper script.
4840 # FIXME: It is wrong to rewrite AR.
4841 # But if we don't then we get into trouble of one sort or another.
4842 # A longer-term fix would be to have automake use am__AR in this case,
4843 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4845 AR="$am_aux_dir/ar-lib $AR"
4848 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4856 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4861 macro_version='2.4.2'
4862 macro_revision='1.3337'
4876 ltmain="$ac_aux_dir/ltmain.sh"
4878 # Make sure we can run config.sub.
4879 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4880 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4883 $as_echo_n "checking build system type... " >&6; }
4884 if ${ac_cv_build+:} false; then :
4885 $as_echo_n "(cached) " >&6
4887 ac_build_alias=$build_alias
4888 test "x$ac_build_alias" = x &&
4889 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4890 test "x$ac_build_alias" = x &&
4891 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4892 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4893 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4897 $as_echo "$ac_cv_build" >&6; }
4898 case $ac_cv_build in
4900 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4903 ac_save_IFS=$IFS; IFS='-'
4909 # Remember, the first character of IFS is used to create $*,
4910 # except with old shells:
4913 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4917 $as_echo_n "checking host system type... " >&6; }
4918 if ${ac_cv_host+:} false; then :
4919 $as_echo_n "(cached) " >&6
4921 if test "x$host_alias" = x; then
4922 ac_cv_host=$ac_cv_build
4924 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4925 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4930 $as_echo "$ac_cv_host" >&6; }
4933 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4936 ac_save_IFS=$IFS; IFS='-'
4942 # Remember, the first character of IFS is used to create $*,
4943 # except with old shells:
4946 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4949 # Backslashify metacharacters that are still active within
4950 # double-quoted strings.
4951 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4953 # Same as above, but do not quote variable references.
4954 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4956 # Sed substitution to delay expansion of an escaped shell variable in a
4957 # double_quote_subst'ed string.
4958 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4960 # Sed substitution to delay expansion of an escaped single quote.
4961 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4963 # Sed substitution to avoid accidental globbing in evaled expressions
4964 no_glob_subst='s/\*/\\\*/g'
4966 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4967 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4968 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4971 $as_echo_n "checking how to print strings... " >&6; }
4972 # Test print first, because it will be a builtin if present.
4973 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4974 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4976 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4979 # Use this function as a fallback that always works.
4980 func_fallback_echo ()
4982 eval 'cat <<_LTECHO_EOF
4986 ECHO='func_fallback_echo'
4989 # func_echo_all arg...
4990 # Invoke $ECHO with all args, space-separated.
4997 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4998 $as_echo "printf" >&6; } ;;
4999 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5000 $as_echo "print -r" >&6; } ;;
5001 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5002 $as_echo "cat" >&6; } ;;
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5019 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5020 if ${ac_cv_path_SED+:} false; then :
5021 $as_echo_n "(cached) " >&6
5023 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5024 for ac_i in 1 2 3 4 5 6 7; do
5025 ac_script="$ac_script$as_nl$ac_script"
5027 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5028 { ac_script=; unset ac_script;}
5029 if test -z "$SED"; then
5030 ac_path_SED_found=false
5031 # Loop through the user's path and test for each of PROGNAME-LIST
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036 test -z "$as_dir" && as_dir=.
5037 for ac_prog in sed gsed; do
5038 for ac_exec_ext in '' $ac_executable_extensions; do
5039 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5040 as_fn_executable_p "$ac_path_SED" || continue
5041 # Check for GNU ac_path_SED and select it if it is found.
5042 # Check for GNU $ac_path_SED
5043 case `"$ac_path_SED" --version 2>&1` in
5045 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5048 $as_echo_n 0123456789 >"conftest.in"
5051 cat "conftest.in" "conftest.in" >"conftest.tmp"
5052 mv "conftest.tmp" "conftest.in"
5053 cp "conftest.in" "conftest.nl"
5054 $as_echo '' >> "conftest.nl"
5055 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5056 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5057 as_fn_arith $ac_count + 1 && ac_count=$as_val
5058 if test $ac_count -gt ${ac_path_SED_max-0}; then
5059 # Best one so far, save it but keep looking for a better one
5060 ac_cv_path_SED="$ac_path_SED"
5061 ac_path_SED_max=$ac_count
5063 # 10*(2^10) chars as input seems more than enough
5064 test $ac_count -gt 10 && break
5066 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5069 $ac_path_SED_found && break 3
5074 if test -z "$ac_cv_path_SED"; then
5075 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5083 $as_echo "$ac_cv_path_SED" >&6; }
5084 SED="$ac_cv_path_SED"
5087 test -z "$SED" && SED=sed
5088 Xsed="$SED -e 1s/^X//"
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5101 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5102 if ${ac_cv_path_GREP+:} false; then :
5103 $as_echo_n "(cached) " >&6
5105 if test -z "$GREP"; then
5106 ac_path_GREP_found=false
5107 # Loop through the user's path and test for each of PROGNAME-LIST
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5112 test -z "$as_dir" && as_dir=.
5113 for ac_prog in grep ggrep; do
5114 for ac_exec_ext in '' $ac_executable_extensions; do
5115 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5116 as_fn_executable_p "$ac_path_GREP" || continue
5117 # Check for GNU ac_path_GREP and select it if it is found.
5118 # Check for GNU $ac_path_GREP
5119 case `"$ac_path_GREP" --version 2>&1` in
5121 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5124 $as_echo_n 0123456789 >"conftest.in"
5127 cat "conftest.in" "conftest.in" >"conftest.tmp"
5128 mv "conftest.tmp" "conftest.in"
5129 cp "conftest.in" "conftest.nl"
5130 $as_echo 'GREP' >> "conftest.nl"
5131 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5132 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5133 as_fn_arith $ac_count + 1 && ac_count=$as_val
5134 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5135 # Best one so far, save it but keep looking for a better one
5136 ac_cv_path_GREP="$ac_path_GREP"
5137 ac_path_GREP_max=$ac_count
5139 # 10*(2^10) chars as input seems more than enough
5140 test $ac_count -gt 10 && break
5142 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5145 $ac_path_GREP_found && break 3
5150 if test -z "$ac_cv_path_GREP"; then
5151 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5154 ac_cv_path_GREP=$GREP
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5159 $as_echo "$ac_cv_path_GREP" >&6; }
5160 GREP="$ac_cv_path_GREP"
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5164 $as_echo_n "checking for egrep... " >&6; }
5165 if ${ac_cv_path_EGREP+:} false; then :
5166 $as_echo_n "(cached) " >&6
5168 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5169 then ac_cv_path_EGREP="$GREP -E"
5171 if test -z "$EGREP"; then
5172 ac_path_EGREP_found=false
5173 # Loop through the user's path and test for each of PROGNAME-LIST
5174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5178 test -z "$as_dir" && as_dir=.
5179 for ac_prog in egrep; do
5180 for ac_exec_ext in '' $ac_executable_extensions; do
5181 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5182 as_fn_executable_p "$ac_path_EGREP" || continue
5183 # Check for GNU ac_path_EGREP and select it if it is found.
5184 # Check for GNU $ac_path_EGREP
5185 case `"$ac_path_EGREP" --version 2>&1` in
5187 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5190 $as_echo_n 0123456789 >"conftest.in"
5193 cat "conftest.in" "conftest.in" >"conftest.tmp"
5194 mv "conftest.tmp" "conftest.in"
5195 cp "conftest.in" "conftest.nl"
5196 $as_echo 'EGREP' >> "conftest.nl"
5197 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5198 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5199 as_fn_arith $ac_count + 1 && ac_count=$as_val
5200 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5201 # Best one so far, save it but keep looking for a better one
5202 ac_cv_path_EGREP="$ac_path_EGREP"
5203 ac_path_EGREP_max=$ac_count
5205 # 10*(2^10) chars as input seems more than enough
5206 test $ac_count -gt 10 && break
5208 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5211 $ac_path_EGREP_found && break 3
5216 if test -z "$ac_cv_path_EGREP"; then
5217 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5220 ac_cv_path_EGREP=$EGREP
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5226 $as_echo "$ac_cv_path_EGREP" >&6; }
5227 EGREP="$ac_cv_path_EGREP"
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5231 $as_echo_n "checking for fgrep... " >&6; }
5232 if ${ac_cv_path_FGREP+:} false; then :
5233 $as_echo_n "(cached) " >&6
5235 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5236 then ac_cv_path_FGREP="$GREP -F"
5238 if test -z "$FGREP"; then
5239 ac_path_FGREP_found=false
5240 # Loop through the user's path and test for each of PROGNAME-LIST
5241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5242 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5245 test -z "$as_dir" && as_dir=.
5246 for ac_prog in fgrep; do
5247 for ac_exec_ext in '' $ac_executable_extensions; do
5248 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5249 as_fn_executable_p "$ac_path_FGREP" || continue
5250 # Check for GNU ac_path_FGREP and select it if it is found.
5251 # Check for GNU $ac_path_FGREP
5252 case `"$ac_path_FGREP" --version 2>&1` in
5254 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5257 $as_echo_n 0123456789 >"conftest.in"
5260 cat "conftest.in" "conftest.in" >"conftest.tmp"
5261 mv "conftest.tmp" "conftest.in"
5262 cp "conftest.in" "conftest.nl"
5263 $as_echo 'FGREP' >> "conftest.nl"
5264 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5265 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5266 as_fn_arith $ac_count + 1 && ac_count=$as_val
5267 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5268 # Best one so far, save it but keep looking for a better one
5269 ac_cv_path_FGREP="$ac_path_FGREP"
5270 ac_path_FGREP_max=$ac_count
5272 # 10*(2^10) chars as input seems more than enough
5273 test $ac_count -gt 10 && break
5275 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5278 $ac_path_FGREP_found && break 3
5283 if test -z "$ac_cv_path_FGREP"; then
5284 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5287 ac_cv_path_FGREP=$FGREP
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5293 $as_echo "$ac_cv_path_FGREP" >&6; }
5294 FGREP="$ac_cv_path_FGREP"
5297 test -z "$GREP" && GREP=grep
5317 # Check whether --with-gnu-ld was given.
5318 if test "${with_gnu_ld+set}" = set; then :
5319 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5325 if test "$GCC" = yes; then
5326 # Check if gcc -print-prog-name=ld gives a path.
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5328 $as_echo_n "checking for ld used by $CC... " >&6; }
5331 # gcc leaves a trailing carriage return which upsets mingw
5332 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5334 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5337 # Accept absolute paths.
5339 re_direlt='/[^/][^/]*/\.\./'
5340 # Canonicalize the pathname of ld
5341 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5342 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5343 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5345 test -z "$LD" && LD="$ac_prog"
5348 # If it fails, then pretend we aren't using GCC.
5352 # If it is relative, then search for the first ld in PATH.
5356 elif test "$with_gnu_ld" = yes; then
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5358 $as_echo_n "checking for GNU ld... " >&6; }
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5361 $as_echo_n "checking for non-GNU ld... " >&6; }
5363 if ${lt_cv_path_LD+:} false; then :
5364 $as_echo_n "(cached) " >&6
5366 if test -z "$LD"; then
5367 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5368 for ac_dir in $PATH; do
5370 test -z "$ac_dir" && ac_dir=.
5371 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5372 lt_cv_path_LD="$ac_dir/$ac_prog"
5373 # Check to see if the program is GNU ld. I'd rather use --version,
5374 # but apparently some variants of GNU ld only accept -v.
5375 # Break only if it was the GNU/non-GNU ld that we prefer.
5376 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5377 *GNU* | *'with BFD'*)
5378 test "$with_gnu_ld" != no && break
5381 test "$with_gnu_ld" != yes && break
5388 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5393 if test -n "$LD"; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5395 $as_echo "$LD" >&6; }
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398 $as_echo "no" >&6; }
5400 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5402 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5403 if ${lt_cv_prog_gnu_ld+:} false; then :
5404 $as_echo_n "(cached) " >&6
5406 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5407 case `$LD -v 2>&1 </dev/null` in
5408 *GNU* | *'with BFD'*)
5409 lt_cv_prog_gnu_ld=yes
5412 lt_cv_prog_gnu_ld=no
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5417 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5418 with_gnu_ld=$lt_cv_prog_gnu_ld
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5429 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5430 if ${lt_cv_path_NM+:} false; then :
5431 $as_echo_n "(cached) " >&6
5433 if test -n "$NM"; then
5434 # Let the user override the test.
5437 lt_nm_to_check="${ac_tool_prefix}nm"
5438 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5439 lt_nm_to_check="$lt_nm_to_check nm"
5441 for lt_tmp_nm in $lt_nm_to_check; do
5442 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5443 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5445 test -z "$ac_dir" && ac_dir=.
5446 tmp_nm="$ac_dir/$lt_tmp_nm"
5447 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5448 # Check to see if the nm accepts a BSD-compat flag.
5449 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5450 # nm: unknown option "B" ignored
5451 # Tru64's nm complains that /dev/null is an invalid object file
5452 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5453 */dev/null* | *'Invalid file or object type'*)
5454 lt_cv_path_NM="$tmp_nm -B"
5458 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5460 lt_cv_path_NM="$tmp_nm -p"
5464 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5465 continue # so that we can try to find one that supports BSD flags
5474 : ${lt_cv_path_NM=no}
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5478 $as_echo "$lt_cv_path_NM" >&6; }
5479 if test "$lt_cv_path_NM" != "no"; then
5482 # Didn't find any BSD compatible name lister, look for dumpbin.
5483 if test -n "$DUMPBIN"; then :
5484 # Let the user override the test.
5486 if test -n "$ac_tool_prefix"; then
5487 for ac_prog in dumpbin "link -dump"
5489 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5490 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5492 $as_echo_n "checking for $ac_word... " >&6; }
5493 if ${ac_cv_prog_DUMPBIN+:} false; then :
5494 $as_echo_n "(cached) " >&6
5496 if test -n "$DUMPBIN"; then
5497 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 test -z "$as_dir" && as_dir=.
5504 for ac_exec_ext in '' $ac_executable_extensions; do
5505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5506 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5516 DUMPBIN=$ac_cv_prog_DUMPBIN
5517 if test -n "$DUMPBIN"; then
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5519 $as_echo "$DUMPBIN" >&6; }
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5522 $as_echo "no" >&6; }
5526 test -n "$DUMPBIN" && break
5529 if test -z "$DUMPBIN"; then
5530 ac_ct_DUMPBIN=$DUMPBIN
5531 for ac_prog in dumpbin "link -dump"
5533 # Extract the first word of "$ac_prog", so it can be a program name with args.
5534 set dummy $ac_prog; ac_word=$2
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5536 $as_echo_n "checking for $ac_word... " >&6; }
5537 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5538 $as_echo_n "(cached) " >&6
5540 if test -n "$ac_ct_DUMPBIN"; then
5541 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5547 test -z "$as_dir" && as_dir=.
5548 for ac_exec_ext in '' $ac_executable_extensions; do
5549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5550 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5560 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5561 if test -n "$ac_ct_DUMPBIN"; then
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5563 $as_echo "$ac_ct_DUMPBIN" >&6; }
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5566 $as_echo "no" >&6; }
5570 test -n "$ac_ct_DUMPBIN" && break
5573 if test "x$ac_ct_DUMPBIN" = x; then
5576 case $cross_compiling:$ac_tool_warned in
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5580 ac_tool_warned=yes ;;
5582 DUMPBIN=$ac_ct_DUMPBIN
5586 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5588 DUMPBIN="$DUMPBIN -symbols"
5596 if test "$DUMPBIN" != ":"; then
5600 test -z "$NM" && NM=nm
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5608 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5609 if ${lt_cv_nm_interface+:} false; then :
5610 $as_echo_n "(cached) " >&6
5612 lt_cv_nm_interface="BSD nm"
5613 echo "int some_variable = 0;" > conftest.$ac_ext
5614 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5615 (eval "$ac_compile" 2>conftest.err)
5616 cat conftest.err >&5
5617 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5618 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5619 cat conftest.err >&5
5620 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5621 cat conftest.out >&5
5622 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5623 lt_cv_nm_interface="MS dumpbin"
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5628 $as_echo "$lt_cv_nm_interface" >&6; }
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5631 $as_echo_n "checking whether ln -s works... " >&6; }
5633 if test "$LN_S" = "ln -s"; then
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5635 $as_echo "yes" >&6; }
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5638 $as_echo "no, using $LN_S" >&6; }
5641 # find the maximum length of command line arguments
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5643 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5644 if ${lt_cv_sys_max_cmd_len+:} false; then :
5645 $as_echo_n "(cached) " >&6
5652 # On DJGPP, this test can blow up pretty badly due to problems in libc
5653 # (any single argument exceeding 2000 bytes causes a buffer overrun
5654 # during glob expansion). Even if it were fixed, the result of this
5655 # check would be larger than it should be.
5656 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5660 # Under GNU Hurd, this test is not required because there is
5661 # no limit to the length of command line arguments.
5662 # Libtool will interpret -1 as no limit whatsoever
5663 lt_cv_sys_max_cmd_len=-1;
5666 cygwin* | mingw* | cegcc*)
5667 # On Win9x/ME, this test blows up -- it succeeds, but takes
5668 # about 5 minutes as the teststring grows exponentially.
5669 # Worse, since 9x/ME are not pre-emptively multitasking,
5670 # you end up with a "frozen" computer, even though with patience
5671 # the test eventually succeeds (with a max line length of 256k).
5672 # Instead, let's just punt: use the minimum linelength reported by
5673 # all of the supported platforms: 8192 (on NT/2K/XP).
5674 lt_cv_sys_max_cmd_len=8192;
5678 # On MiNT this can take a long time and run out of memory.
5679 lt_cv_sys_max_cmd_len=8192;
5683 # On AmigaOS with pdksh, this test takes hours, literally.
5684 # So we just punt and use a minimum line length of 8192.
5685 lt_cv_sys_max_cmd_len=8192;
5688 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5689 # This has been around since 386BSD, at least. Likely further.
5690 if test -x /sbin/sysctl; then
5691 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5692 elif test -x /usr/sbin/sysctl; then
5693 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5695 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5697 # And add a safety zone
5698 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5699 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5703 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5704 lt_cv_sys_max_cmd_len=196608
5708 # The test takes a long time on OS/2.
5709 lt_cv_sys_max_cmd_len=8192
5713 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5714 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5715 # nice to cause kernel panics so lets avoid the loop below.
5716 # First set a reasonable default.
5717 lt_cv_sys_max_cmd_len=16384
5719 if test -x /sbin/sysconfig; then
5720 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5721 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5726 lt_cv_sys_max_cmd_len=102400
5728 sysv5* | sco5v6* | sysv4.2uw2*)
5729 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5730 if test -n "$kargmax"; then
5731 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5733 lt_cv_sys_max_cmd_len=32768
5737 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5738 if test -n "$lt_cv_sys_max_cmd_len" && \
5739 test undefined != "$lt_cv_sys_max_cmd_len"; then
5740 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5741 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5743 # Make teststring a little bigger before we do anything with it.
5744 # a 1K string should be a reasonable start.
5745 for i in 1 2 3 4 5 6 7 8 ; do
5746 teststring=$teststring$teststring
5748 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5749 # If test is not a shell built-in, we'll probably end up computing a
5750 # maximum length that is only half of the actual maximum length, but
5752 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5753 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5754 test $i != 17 # 1/2 MB should be enough
5757 teststring=$teststring$teststring
5759 # Only check the string length outside the loop.
5760 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5762 # Add a significant safety factor because C++ compilers can tack on
5763 # massive amounts of additional arguments before passing them to the
5764 # linker. It appears as though 1/2 is a usable value.
5765 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5772 if test -n $lt_cv_sys_max_cmd_len ; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5774 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5777 $as_echo "none" >&6; }
5779 max_cmd_len=$lt_cv_sys_max_cmd_len
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5791 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5792 # Try some XSI features
5795 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5797 && eval 'test $(( 1 + 1 )) -eq 2 \
5798 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5801 $as_echo "$xsi_shell" >&6; }
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5805 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5807 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5809 && lt_shell_append=yes
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5811 $as_echo "$lt_shell_append" >&6; }
5814 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5824 # test EBCDIC or ASCII
5825 case `echo X|tr X '\101'` in
5826 A) # ASCII based system
5827 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5828 lt_SP2NL='tr \040 \012'
5829 lt_NL2SP='tr \015\012 \040\040'
5831 *) # EBCDIC based system
5832 lt_SP2NL='tr \100 \n'
5833 lt_NL2SP='tr \r\n \100\100'
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5846 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5847 if ${lt_cv_to_host_file_cmd+:} false; then :
5848 $as_echo_n "(cached) " >&6
5853 *-*-mingw* ) # actually msys
5854 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5857 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5859 * ) # otherwise, assume *nix
5860 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5866 *-*-mingw* ) # actually msys
5867 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5870 lt_cv_to_host_file_cmd=func_convert_file_noop
5872 * ) # otherwise, assume *nix
5873 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5877 * ) # unhandled hosts (and "normal" native builds)
5878 lt_cv_to_host_file_cmd=func_convert_file_noop
5884 to_host_file_cmd=$lt_cv_to_host_file_cmd
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5886 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5893 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5894 if ${lt_cv_to_tool_file_cmd+:} false; then :
5895 $as_echo_n "(cached) " >&6
5897 #assume ordinary cross tools, or native build.
5898 lt_cv_to_tool_file_cmd=func_convert_file_noop
5902 *-*-mingw* ) # actually msys
5903 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5911 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5913 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5920 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5921 if ${lt_cv_ld_reload_flag+:} false; then :
5922 $as_echo_n "(cached) " >&6
5924 lt_cv_ld_reload_flag='-r'
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5927 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5928 reload_flag=$lt_cv_ld_reload_flag
5929 case $reload_flag in
5931 *) reload_flag=" $reload_flag" ;;
5933 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5935 cygwin* | mingw* | pw32* | cegcc*)
5936 if test "$GCC" != yes; then
5941 if test "$GCC" = yes; then
5942 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5944 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5957 if test -n "$ac_tool_prefix"; then
5958 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5959 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5961 $as_echo_n "checking for $ac_word... " >&6; }
5962 if ${ac_cv_prog_OBJDUMP+:} false; then :
5963 $as_echo_n "(cached) " >&6
5965 if test -n "$OBJDUMP"; then
5966 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972 test -z "$as_dir" && as_dir=.
5973 for ac_exec_ext in '' $ac_executable_extensions; do
5974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5975 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5985 OBJDUMP=$ac_cv_prog_OBJDUMP
5986 if test -n "$OBJDUMP"; then
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5988 $as_echo "$OBJDUMP" >&6; }
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5991 $as_echo "no" >&6; }
5996 if test -z "$ac_cv_prog_OBJDUMP"; then
5997 ac_ct_OBJDUMP=$OBJDUMP
5998 # Extract the first word of "objdump", so it can be a program name with args.
5999 set dummy objdump; ac_word=$2
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001 $as_echo_n "checking for $ac_word... " >&6; }
6002 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6003 $as_echo_n "(cached) " >&6
6005 if test -n "$ac_ct_OBJDUMP"; then
6006 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6015 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6025 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6026 if test -n "$ac_ct_OBJDUMP"; then
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6028 $as_echo "$ac_ct_OBJDUMP" >&6; }
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031 $as_echo "no" >&6; }
6034 if test "x$ac_ct_OBJDUMP" = x; then
6037 case $cross_compiling:$ac_tool_warned in
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6041 ac_tool_warned=yes ;;
6043 OBJDUMP=$ac_ct_OBJDUMP
6046 OBJDUMP="$ac_cv_prog_OBJDUMP"
6049 test -z "$OBJDUMP" && OBJDUMP=objdump
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6060 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6061 if ${lt_cv_deplibs_check_method+:} false; then :
6062 $as_echo_n "(cached) " >&6
6064 lt_cv_file_magic_cmd='$MAGIC_CMD'
6065 lt_cv_file_magic_test_file=
6066 lt_cv_deplibs_check_method='unknown'
6067 # Need to set the preceding variable on all platforms that support
6068 # interlibrary dependencies.
6069 # 'none' -- dependencies not supported.
6070 # `unknown' -- same as none, but documents that we really don't know.
6071 # 'pass_all' -- all dependencies passed with no checks.
6072 # 'test_compile' -- check by making test program.
6073 # 'file_magic [[regex]]' -- check by looking for files in library path
6074 # which responds to the $file_magic_cmd with a given extended regex.
6075 # If you have `file' or equivalent on your system and you're not sure
6076 # whether `pass_all' will *always* work, you probably want this one.
6080 lt_cv_deplibs_check_method=pass_all
6084 lt_cv_deplibs_check_method=pass_all
6088 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6089 lt_cv_file_magic_cmd='/usr/bin/file -L'
6090 lt_cv_file_magic_test_file=/shlib/libc.so
6094 # func_win32_libid is a shell function defined in ltmain.sh
6095 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6096 lt_cv_file_magic_cmd='func_win32_libid'
6100 # Base MSYS/MinGW do not provide the 'file' command needed by
6101 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6102 # unless we find 'file', for example because we are cross-compiling.
6103 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6104 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6105 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6106 lt_cv_file_magic_cmd='func_win32_libid'
6108 # Keep this pattern in sync with the one in func_win32_libid.
6109 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6110 lt_cv_file_magic_cmd='$OBJDUMP -f'
6115 # use the weaker test based on 'objdump'. See mingw*.
6116 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6117 lt_cv_file_magic_cmd='$OBJDUMP -f'
6120 darwin* | rhapsody*)
6121 lt_cv_deplibs_check_method=pass_all
6124 freebsd* | dragonfly*)
6125 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6128 # Not sure whether the presence of OpenBSD here was a mistake.
6129 # Let's accept both of them until this is cleared up.
6130 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6131 lt_cv_file_magic_cmd=/usr/bin/file
6132 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6136 lt_cv_deplibs_check_method=pass_all
6141 lt_cv_deplibs_check_method=pass_all
6144 hpux10.20* | hpux11*)
6145 lt_cv_file_magic_cmd=/usr/bin/file
6148 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6149 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6152 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]'
6153 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6156 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6157 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6163 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6164 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6167 irix5* | irix6* | nonstopux*)
6169 *-32|*"-32 ") libmagic=32-bit;;
6170 *-n32|*"-n32 ") libmagic=N32;;
6171 *-64|*"-64 ") libmagic=64-bit;;
6172 *) libmagic=never-match;;
6174 lt_cv_deplibs_check_method=pass_all
6177 # This must be glibc/ELF.
6178 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6179 lt_cv_deplibs_check_method=pass_all
6182 netbsd* | netbsdelf*-gnu)
6183 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6184 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6186 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6191 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6192 lt_cv_file_magic_cmd=/usr/bin/file
6193 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6197 lt_cv_deplibs_check_method=pass_all
6201 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6202 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6204 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6208 osf3* | osf4* | osf5*)
6209 lt_cv_deplibs_check_method=pass_all
6213 lt_cv_deplibs_check_method=pass_all
6217 lt_cv_deplibs_check_method=pass_all
6220 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6221 lt_cv_deplibs_check_method=pass_all
6225 case $host_vendor in
6227 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]'
6228 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6231 lt_cv_deplibs_check_method=pass_all
6234 lt_cv_file_magic_cmd='/bin/file'
6235 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6238 lt_cv_file_magic_cmd='/bin/file'
6239 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6240 lt_cv_file_magic_test_file=/lib/libc.so
6243 lt_cv_deplibs_check_method=pass_all
6246 lt_cv_deplibs_check_method=pass_all
6252 lt_cv_deplibs_check_method=pass_all
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6258 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6262 if test "$build" = "$host"; then
6265 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6268 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6274 file_magic_cmd=$lt_cv_file_magic_cmd
6275 deplibs_check_method=$lt_cv_deplibs_check_method
6276 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6299 if test -n "$ac_tool_prefix"; then
6300 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6301 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6303 $as_echo_n "checking for $ac_word... " >&6; }
6304 if ${ac_cv_prog_DLLTOOL+:} false; then :
6305 $as_echo_n "(cached) " >&6
6307 if test -n "$DLLTOOL"; then
6308 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314 test -z "$as_dir" && as_dir=.
6315 for ac_exec_ext in '' $ac_executable_extensions; do
6316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6317 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6327 DLLTOOL=$ac_cv_prog_DLLTOOL
6328 if test -n "$DLLTOOL"; then
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6330 $as_echo "$DLLTOOL" >&6; }
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6333 $as_echo "no" >&6; }
6338 if test -z "$ac_cv_prog_DLLTOOL"; then
6339 ac_ct_DLLTOOL=$DLLTOOL
6340 # Extract the first word of "dlltool", so it can be a program name with args.
6341 set dummy dlltool; ac_word=$2
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6343 $as_echo_n "checking for $ac_word... " >&6; }
6344 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6345 $as_echo_n "(cached) " >&6
6347 if test -n "$ac_ct_DLLTOOL"; then
6348 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354 test -z "$as_dir" && as_dir=.
6355 for ac_exec_ext in '' $ac_executable_extensions; do
6356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6357 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6367 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6368 if test -n "$ac_ct_DLLTOOL"; then
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6370 $as_echo "$ac_ct_DLLTOOL" >&6; }
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6373 $as_echo "no" >&6; }
6376 if test "x$ac_ct_DLLTOOL" = x; then
6379 case $cross_compiling:$ac_tool_warned in
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6383 ac_tool_warned=yes ;;
6385 DLLTOOL=$ac_ct_DLLTOOL
6388 DLLTOOL="$ac_cv_prog_DLLTOOL"
6391 test -z "$DLLTOOL" && DLLTOOL=dlltool
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6403 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6404 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6405 $as_echo_n "(cached) " >&6
6407 lt_cv_sharedlib_from_linklib_cmd='unknown'
6410 cygwin* | mingw* | pw32* | cegcc*)
6411 # two different shell functions defined in ltmain.sh
6412 # decide which to use based on capabilities of $DLLTOOL
6413 case `$DLLTOOL --help 2>&1` in
6414 *--identify-strict*)
6415 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6418 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6423 # fallback: assume linklib IS sharedlib
6424 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6430 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6431 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6432 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6440 if test -n "$ac_tool_prefix"; then
6443 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6444 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6446 $as_echo_n "checking for $ac_word... " >&6; }
6447 if ${ac_cv_prog_AR+:} false; then :
6448 $as_echo_n "(cached) " >&6
6450 if test -n "$AR"; then
6451 ac_cv_prog_AR="$AR" # Let the user override the test.
6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6457 test -z "$as_dir" && as_dir=.
6458 for ac_exec_ext in '' $ac_executable_extensions; do
6459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6460 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6471 if test -n "$AR"; then
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6473 $as_echo "$AR" >&6; }
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6476 $as_echo "no" >&6; }
6480 test -n "$AR" && break
6483 if test -z "$AR"; then
6487 # Extract the first word of "$ac_prog", so it can be a program name with args.
6488 set dummy $ac_prog; ac_word=$2
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6490 $as_echo_n "checking for $ac_word... " >&6; }
6491 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6492 $as_echo_n "(cached) " >&6
6494 if test -n "$ac_ct_AR"; then
6495 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6501 test -z "$as_dir" && as_dir=.
6502 for ac_exec_ext in '' $ac_executable_extensions; do
6503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6504 ac_cv_prog_ac_ct_AR="$ac_prog"
6505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6514 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6515 if test -n "$ac_ct_AR"; then
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6517 $as_echo "$ac_ct_AR" >&6; }
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6520 $as_echo "no" >&6; }
6524 test -n "$ac_ct_AR" && break
6527 if test "x$ac_ct_AR" = x; then
6530 case $cross_compiling:$ac_tool_warned in
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6534 ac_tool_warned=yes ;;
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6554 $as_echo_n "checking for archiver @FILE support... " >&6; }
6555 if ${lt_cv_ar_at_file+:} false; then :
6556 $as_echo_n "(cached) " >&6
6559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6560 /* end confdefs.h. */
6570 if ac_fn_c_try_compile "$LINENO"; then :
6571 echo conftest.$ac_objext > conftest.lst
6572 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6573 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6574 (eval $lt_ar_try) 2>&5
6576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6577 test $ac_status = 0; }
6578 if test "$ac_status" -eq 0; then
6579 # Ensure the archiver fails upon bogus file names.
6580 rm -f conftest.$ac_objext libconftest.a
6581 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6582 (eval $lt_ar_try) 2>&5
6584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6585 test $ac_status = 0; }
6586 if test "$ac_status" -ne 0; then
6590 rm -f conftest.* libconftest.a
6593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6597 $as_echo "$lt_cv_ar_at_file" >&6; }
6599 if test "x$lt_cv_ar_at_file" = xno; then
6602 archiver_list_spec=$lt_cv_ar_at_file
6611 if test -n "$ac_tool_prefix"; then
6612 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6613 set dummy ${ac_tool_prefix}strip; ac_word=$2
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6615 $as_echo_n "checking for $ac_word... " >&6; }
6616 if ${ac_cv_prog_STRIP+:} false; then :
6617 $as_echo_n "(cached) " >&6
6619 if test -n "$STRIP"; then
6620 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6626 test -z "$as_dir" && as_dir=.
6627 for ac_exec_ext in '' $ac_executable_extensions; do
6628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6629 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6639 STRIP=$ac_cv_prog_STRIP
6640 if test -n "$STRIP"; then
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6642 $as_echo "$STRIP" >&6; }
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6645 $as_echo "no" >&6; }
6650 if test -z "$ac_cv_prog_STRIP"; then
6652 # Extract the first word of "strip", so it can be a program name with args.
6653 set dummy strip; ac_word=$2
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6655 $as_echo_n "checking for $ac_word... " >&6; }
6656 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6657 $as_echo_n "(cached) " >&6
6659 if test -n "$ac_ct_STRIP"; then
6660 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6666 test -z "$as_dir" && as_dir=.
6667 for ac_exec_ext in '' $ac_executable_extensions; do
6668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6669 ac_cv_prog_ac_ct_STRIP="strip"
6670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6679 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6680 if test -n "$ac_ct_STRIP"; then
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6682 $as_echo "$ac_ct_STRIP" >&6; }
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6685 $as_echo "no" >&6; }
6688 if test "x$ac_ct_STRIP" = x; then
6691 case $cross_compiling:$ac_tool_warned in
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6695 ac_tool_warned=yes ;;
6700 STRIP="$ac_cv_prog_STRIP"
6703 test -z "$STRIP" && STRIP=:
6710 if test -n "$ac_tool_prefix"; then
6711 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6712 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6714 $as_echo_n "checking for $ac_word... " >&6; }
6715 if ${ac_cv_prog_RANLIB+:} false; then :
6716 $as_echo_n "(cached) " >&6
6718 if test -n "$RANLIB"; then
6719 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6725 test -z "$as_dir" && as_dir=.
6726 for ac_exec_ext in '' $ac_executable_extensions; do
6727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6728 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6738 RANLIB=$ac_cv_prog_RANLIB
6739 if test -n "$RANLIB"; then
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6741 $as_echo "$RANLIB" >&6; }
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6744 $as_echo "no" >&6; }
6749 if test -z "$ac_cv_prog_RANLIB"; then
6750 ac_ct_RANLIB=$RANLIB
6751 # Extract the first word of "ranlib", so it can be a program name with args.
6752 set dummy ranlib; ac_word=$2
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6754 $as_echo_n "checking for $ac_word... " >&6; }
6755 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6756 $as_echo_n "(cached) " >&6
6758 if test -n "$ac_ct_RANLIB"; then
6759 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6765 test -z "$as_dir" && as_dir=.
6766 for ac_exec_ext in '' $ac_executable_extensions; do
6767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6768 ac_cv_prog_ac_ct_RANLIB="ranlib"
6769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6778 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6779 if test -n "$ac_ct_RANLIB"; then
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6781 $as_echo "$ac_ct_RANLIB" >&6; }
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6784 $as_echo "no" >&6; }
6787 if test "x$ac_ct_RANLIB" = x; then
6790 case $cross_compiling:$ac_tool_warned in
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6794 ac_tool_warned=yes ;;
6796 RANLIB=$ac_ct_RANLIB
6799 RANLIB="$ac_cv_prog_RANLIB"
6802 test -z "$RANLIB" && RANLIB=:
6809 # Determine commands to create old-style static archives.
6810 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6811 old_postinstall_cmds='chmod 644 $oldlib'
6812 old_postuninstall_cmds=
6814 if test -n "$RANLIB"; then
6817 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6820 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6823 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6828 lock_old_archive_extraction=yes ;;
6830 lock_old_archive_extraction=no ;;
6871 # If no C compiler was specified, use CC.
6874 # If no C compiler flags were specified, use CFLAGS.
6875 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6877 # Allow CC to be a program name with arguments.
6881 # Check for command to grab the raw symbol name followed by C symbol from nm.
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6883 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6884 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6885 $as_echo_n "(cached) " >&6
6888 # These are sane defaults that work on at least a few old systems.
6889 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6891 # Character class describing NM global symbol codes.
6892 symcode='[BCDEGRST]'
6894 # Regexp to match symbols that can be accessed directly from C.
6895 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6897 # Define system-specific variables.
6902 cygwin* | mingw* | pw32* | cegcc*)
6903 symcode='[ABCDGISTW]'
6906 if test "$host_cpu" = ia64; then
6907 symcode='[ABCDEGRST]'
6911 symcode='[BCDEGRST]'
6914 symcode='[BCDEGQRST]'
6925 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6933 # If we're using GNU nm, then use its standard symbol codes.
6934 case `$NM -V 2>&1` in
6935 *GNU* | *'with BFD'*)
6936 symcode='[ABCDGIRSTW]' ;;
6939 # Transform an extracted symbol line into a proper C declaration.
6940 # Some systems (esp. on ia64) link data and code symbols differently,
6941 # so use this general approach.
6942 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6944 # Transform an extracted symbol line into symbol name and symbol address
6945 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6946 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'"
6948 # Handle CRLF in mingw tool chain
6952 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6956 # Try without a prefix underscore, then with it.
6957 for ac_symprfx in "" "_"; do
6959 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6960 symxfrm="\\1 $ac_symprfx\\2 \\2"
6962 # Write the raw and C identifiers.
6963 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6964 # Fake it for dumpbin and say T for any non-static function
6965 # and D for any global variable.
6966 # Also find C++ and __fastcall symbols from MSVC++,
6967 # which start with @ or ?.
6968 lt_cv_sys_global_symbol_pipe="$AWK '"\
6969 " {last_section=section; section=\$ 3};"\
6970 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6971 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6972 " \$ 0!~/External *\|/{next};"\
6973 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6974 " {if(hide[section]) next};"\
6975 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6976 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6977 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6978 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6979 " ' prfx=^$ac_symprfx"
6981 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6983 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6985 # Check to see that the pipe works correctly.
6989 cat > conftest.$ac_ext <<_LT_EOF
6994 void nm_test_func(void);
6995 void nm_test_func(void){}
6999 int main(){nm_test_var='a';nm_test_func();return(0);}
7002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7003 (eval $ac_compile) 2>&5
7005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7006 test $ac_status = 0; }; then
7007 # Now try to grab the symbols.
7009 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7010 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7013 test $ac_status = 0; } && test -s "$nlist"; then
7014 # Try sorting and uniquifying the output.
7015 if sort "$nlist" | uniq > "$nlist"T; then
7016 mv -f "$nlist"T "$nlist"
7021 # Make sure that we snagged all the symbols we need.
7022 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7023 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7024 cat <<_LT_EOF > conftest.$ac_ext
7025 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7026 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7027 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7028 relocations are performed -- see ld's documentation on pseudo-relocs. */
7029 # define LT_DLSYM_CONST
7030 #elif defined(__osf__)
7031 /* This system does not cope well with relocations in const data. */
7032 # define LT_DLSYM_CONST
7034 # define LT_DLSYM_CONST const
7042 # Now generate the symbol file.
7043 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7045 cat <<_LT_EOF >> conftest.$ac_ext
7047 /* The mapping between symbol names and symbols. */
7048 LT_DLSYM_CONST struct {
7052 lt__PROGRAM__LTX_preloaded_symbols[] =
7054 { "@PROGRAM@", (void *) 0 },
7056 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7057 cat <<\_LT_EOF >> conftest.$ac_ext
7061 /* This works around a problem in FreeBSD linker */
7062 #ifdef FREEBSD_WORKAROUND
7063 static const void *lt_preloaded_setup() {
7064 return lt__PROGRAM__LTX_preloaded_symbols;
7072 # Now try linking the two files.
7073 mv conftest.$ac_objext conftstm.$ac_objext
7074 lt_globsym_save_LIBS=$LIBS
7075 lt_globsym_save_CFLAGS=$CFLAGS
7076 LIBS="conftstm.$ac_objext"
7077 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7078 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7079 (eval $ac_link) 2>&5
7081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7082 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7085 LIBS=$lt_globsym_save_LIBS
7086 CFLAGS=$lt_globsym_save_CFLAGS
7088 echo "cannot find nm_test_func in $nlist" >&5
7091 echo "cannot find nm_test_var in $nlist" >&5
7094 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7097 echo "$progname: failed program was:" >&5
7098 cat conftest.$ac_ext >&5
7100 rm -rf conftest* conftst*
7102 # Do not use the global_symbol_pipe unless it works.
7103 if test "$pipe_works" = yes; then
7106 lt_cv_sys_global_symbol_pipe=
7112 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7113 lt_cv_sys_global_symbol_to_cdecl=
7115 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7117 $as_echo "failed" >&6; }
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7120 $as_echo "ok" >&6; }
7123 # Response file support.
7124 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7125 nm_file_list_spec='@'
7126 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7127 nm_file_list_spec='@'
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7157 $as_echo_n "checking for sysroot... " >&6; }
7159 # Check whether --with-sysroot was given.
7160 if test "${with_sysroot+set}" = set; then :
7161 withval=$with_sysroot;
7168 case ${with_sysroot} in #(
7170 if test "$GCC" = yes; then
7171 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7175 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7181 $as_echo "${with_sysroot}" >&6; }
7182 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7187 $as_echo "${lt_sysroot:-no}" >&6; }
7193 # Check whether --enable-libtool-lock was given.
7194 if test "${enable_libtool_lock+set}" = set; then :
7195 enableval=$enable_libtool_lock;
7198 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7200 # Some flags need to be propagated to the compiler or linker for good
7204 # Find out which ABI we are using.
7205 echo 'int i;' > conftest.$ac_ext
7206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7207 (eval $ac_compile) 2>&5
7209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7210 test $ac_status = 0; }; then
7211 case `/usr/bin/file conftest.$ac_objext` in
7223 # Find out which ABI we are using.
7224 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7226 (eval $ac_compile) 2>&5
7228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7229 test $ac_status = 0; }; then
7230 if test "$lt_cv_prog_gnu_ld" = yes; then
7231 case `/usr/bin/file conftest.$ac_objext` in
7233 LD="${LD-ld} -melf32bsmip"
7236 LD="${LD-ld} -melf32bmipn32"
7239 LD="${LD-ld} -melf64bmip"
7243 case `/usr/bin/file conftest.$ac_objext` in
7259 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7260 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7261 # Find out which ABI we are using.
7262 echo 'int i;' > conftest.$ac_ext
7263 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7264 (eval $ac_compile) 2>&5
7266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7267 test $ac_status = 0; }; then
7268 case `/usr/bin/file conftest.o` in
7271 x86_64-*kfreebsd*-gnu)
7272 LD="${LD-ld} -m elf_i386_fbsd"
7275 case `/usr/bin/file conftest.o` in
7277 LD="${LD-ld} -m elf32_x86_64"
7280 LD="${LD-ld} -m elf_i386"
7285 LD="${LD-ld} -m elf32lppclinux"
7288 LD="${LD-ld} -m elf32ppclinux"
7291 LD="${LD-ld} -m elf_s390"
7294 LD="${LD-ld} -m elf32_sparc"
7300 x86_64-*kfreebsd*-gnu)
7301 LD="${LD-ld} -m elf_x86_64_fbsd"
7304 LD="${LD-ld} -m elf_x86_64"
7307 LD="${LD-ld} -m elf64lppc"
7310 LD="${LD-ld} -m elf64ppc"
7312 s390*-*linux*|s390*-*tpf*)
7313 LD="${LD-ld} -m elf64_s390"
7316 LD="${LD-ld} -m elf64_sparc"
7326 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7327 SAVE_CFLAGS="$CFLAGS"
7328 CFLAGS="$CFLAGS -belf"
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7330 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7331 if ${lt_cv_cc_needs_belf+:} false; then :
7332 $as_echo_n "(cached) " >&6
7335 ac_cpp='$CPP $CPPFLAGS'
7336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7341 /* end confdefs.h. */
7351 if ac_fn_c_try_link "$LINENO"; then :
7352 lt_cv_cc_needs_belf=yes
7354 lt_cv_cc_needs_belf=no
7356 rm -f core conftest.err conftest.$ac_objext \
7357 conftest$ac_exeext conftest.$ac_ext
7359 ac_cpp='$CPP $CPPFLAGS'
7360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7366 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7367 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7368 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7369 CFLAGS="$SAVE_CFLAGS"
7373 # Find out which ABI we are using.
7374 echo 'int i;' > conftest.$ac_ext
7375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7376 (eval $ac_compile) 2>&5
7378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7379 test $ac_status = 0; }; then
7380 case `/usr/bin/file conftest.o` in
7382 case $lt_cv_prog_gnu_ld in
7386 LD="${LD-ld} -m elf_x86_64"
7389 LD="${LD-ld} -m elf64_sparc"
7392 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7393 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7398 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7410 need_locks="$enable_libtool_lock"
7412 if test -n "$ac_tool_prefix"; then
7413 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7414 set dummy ${ac_tool_prefix}mt; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7418 $as_echo_n "(cached) " >&6
7420 if test -n "$MANIFEST_TOOL"; then
7421 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7430 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7440 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7441 if test -n "$MANIFEST_TOOL"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7443 $as_echo "$MANIFEST_TOOL" >&6; }
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7451 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7452 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7453 # Extract the first word of "mt", so it can be a program name with args.
7454 set dummy mt; ac_word=$2
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7456 $as_echo_n "checking for $ac_word... " >&6; }
7457 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7458 $as_echo_n "(cached) " >&6
7460 if test -n "$ac_ct_MANIFEST_TOOL"; then
7461 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7467 test -z "$as_dir" && as_dir=.
7468 for ac_exec_ext in '' $ac_executable_extensions; do
7469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7470 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7480 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7481 if test -n "$ac_ct_MANIFEST_TOOL"; then
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7483 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 $as_echo "no" >&6; }
7489 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7492 case $cross_compiling:$ac_tool_warned in
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7496 ac_tool_warned=yes ;;
7498 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7501 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7504 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7506 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7507 if ${lt_cv_path_mainfest_tool+:} false; then :
7508 $as_echo_n "(cached) " >&6
7510 lt_cv_path_mainfest_tool=no
7511 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7512 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7513 cat conftest.err >&5
7514 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7515 lt_cv_path_mainfest_tool=yes
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7520 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7521 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7531 rhapsody* | darwin*)
7532 if test -n "$ac_tool_prefix"; then
7533 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7534 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7536 $as_echo_n "checking for $ac_word... " >&6; }
7537 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7538 $as_echo_n "(cached) " >&6
7540 if test -n "$DSYMUTIL"; then
7541 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7547 test -z "$as_dir" && as_dir=.
7548 for ac_exec_ext in '' $ac_executable_extensions; do
7549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7550 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7560 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7561 if test -n "$DSYMUTIL"; then
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7563 $as_echo "$DSYMUTIL" >&6; }
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7566 $as_echo "no" >&6; }
7571 if test -z "$ac_cv_prog_DSYMUTIL"; then
7572 ac_ct_DSYMUTIL=$DSYMUTIL
7573 # Extract the first word of "dsymutil", so it can be a program name with args.
7574 set dummy dsymutil; ac_word=$2
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7576 $as_echo_n "checking for $ac_word... " >&6; }
7577 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7578 $as_echo_n "(cached) " >&6
7580 if test -n "$ac_ct_DSYMUTIL"; then
7581 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7587 test -z "$as_dir" && as_dir=.
7588 for ac_exec_ext in '' $ac_executable_extensions; do
7589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7590 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7600 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7601 if test -n "$ac_ct_DSYMUTIL"; then
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7603 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606 $as_echo "no" >&6; }
7609 if test "x$ac_ct_DSYMUTIL" = x; then
7612 case $cross_compiling:$ac_tool_warned in
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7616 ac_tool_warned=yes ;;
7618 DSYMUTIL=$ac_ct_DSYMUTIL
7621 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7624 if test -n "$ac_tool_prefix"; then
7625 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7626 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if ${ac_cv_prog_NMEDIT+:} false; then :
7630 $as_echo_n "(cached) " >&6
7632 if test -n "$NMEDIT"; then
7633 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639 test -z "$as_dir" && as_dir=.
7640 for ac_exec_ext in '' $ac_executable_extensions; do
7641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7642 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7652 NMEDIT=$ac_cv_prog_NMEDIT
7653 if test -n "$NMEDIT"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7655 $as_echo "$NMEDIT" >&6; }
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7663 if test -z "$ac_cv_prog_NMEDIT"; then
7664 ac_ct_NMEDIT=$NMEDIT
7665 # Extract the first word of "nmedit", so it can be a program name with args.
7666 set dummy nmedit; ac_word=$2
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7668 $as_echo_n "checking for $ac_word... " >&6; }
7669 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7670 $as_echo_n "(cached) " >&6
7672 if test -n "$ac_ct_NMEDIT"; then
7673 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7679 test -z "$as_dir" && as_dir=.
7680 for ac_exec_ext in '' $ac_executable_extensions; do
7681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7682 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7692 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7693 if test -n "$ac_ct_NMEDIT"; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7695 $as_echo "$ac_ct_NMEDIT" >&6; }
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7698 $as_echo "no" >&6; }
7701 if test "x$ac_ct_NMEDIT" = x; then
7704 case $cross_compiling:$ac_tool_warned in
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7708 ac_tool_warned=yes ;;
7710 NMEDIT=$ac_ct_NMEDIT
7713 NMEDIT="$ac_cv_prog_NMEDIT"
7716 if test -n "$ac_tool_prefix"; then
7717 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7718 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7720 $as_echo_n "checking for $ac_word... " >&6; }
7721 if ${ac_cv_prog_LIPO+:} false; then :
7722 $as_echo_n "(cached) " >&6
7724 if test -n "$LIPO"; then
7725 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7731 test -z "$as_dir" && as_dir=.
7732 for ac_exec_ext in '' $ac_executable_extensions; do
7733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7734 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7744 LIPO=$ac_cv_prog_LIPO
7745 if test -n "$LIPO"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7747 $as_echo "$LIPO" >&6; }
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7755 if test -z "$ac_cv_prog_LIPO"; then
7757 # Extract the first word of "lipo", so it can be a program name with args.
7758 set dummy lipo; ac_word=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7760 $as_echo_n "checking for $ac_word... " >&6; }
7761 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7762 $as_echo_n "(cached) " >&6
7764 if test -n "$ac_ct_LIPO"; then
7765 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7771 test -z "$as_dir" && as_dir=.
7772 for ac_exec_ext in '' $ac_executable_extensions; do
7773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7774 ac_cv_prog_ac_ct_LIPO="lipo"
7775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7784 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7785 if test -n "$ac_ct_LIPO"; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7787 $as_echo "$ac_ct_LIPO" >&6; }
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7790 $as_echo "no" >&6; }
7793 if test "x$ac_ct_LIPO" = x; then
7796 case $cross_compiling:$ac_tool_warned in
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7800 ac_tool_warned=yes ;;
7805 LIPO="$ac_cv_prog_LIPO"
7808 if test -n "$ac_tool_prefix"; then
7809 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7810 set dummy ${ac_tool_prefix}otool; ac_word=$2
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7812 $as_echo_n "checking for $ac_word... " >&6; }
7813 if ${ac_cv_prog_OTOOL+:} false; then :
7814 $as_echo_n "(cached) " >&6
7816 if test -n "$OTOOL"; then
7817 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7823 test -z "$as_dir" && as_dir=.
7824 for ac_exec_ext in '' $ac_executable_extensions; do
7825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7826 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7836 OTOOL=$ac_cv_prog_OTOOL
7837 if test -n "$OTOOL"; then
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7839 $as_echo "$OTOOL" >&6; }
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7842 $as_echo "no" >&6; }
7847 if test -z "$ac_cv_prog_OTOOL"; then
7849 # Extract the first word of "otool", so it can be a program name with args.
7850 set dummy otool; ac_word=$2
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7852 $as_echo_n "checking for $ac_word... " >&6; }
7853 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7854 $as_echo_n "(cached) " >&6
7856 if test -n "$ac_ct_OTOOL"; then
7857 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7863 test -z "$as_dir" && as_dir=.
7864 for ac_exec_ext in '' $ac_executable_extensions; do
7865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7866 ac_cv_prog_ac_ct_OTOOL="otool"
7867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7876 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7877 if test -n "$ac_ct_OTOOL"; then
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7879 $as_echo "$ac_ct_OTOOL" >&6; }
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7882 $as_echo "no" >&6; }
7885 if test "x$ac_ct_OTOOL" = x; then
7888 case $cross_compiling:$ac_tool_warned in
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7892 ac_tool_warned=yes ;;
7897 OTOOL="$ac_cv_prog_OTOOL"
7900 if test -n "$ac_tool_prefix"; then
7901 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7902 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7904 $as_echo_n "checking for $ac_word... " >&6; }
7905 if ${ac_cv_prog_OTOOL64+:} false; then :
7906 $as_echo_n "(cached) " >&6
7908 if test -n "$OTOOL64"; then
7909 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7915 test -z "$as_dir" && as_dir=.
7916 for ac_exec_ext in '' $ac_executable_extensions; do
7917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7918 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7928 OTOOL64=$ac_cv_prog_OTOOL64
7929 if test -n "$OTOOL64"; then
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7931 $as_echo "$OTOOL64" >&6; }
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7934 $as_echo "no" >&6; }
7939 if test -z "$ac_cv_prog_OTOOL64"; then
7940 ac_ct_OTOOL64=$OTOOL64
7941 # Extract the first word of "otool64", so it can be a program name with args.
7942 set dummy otool64; ac_word=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7944 $as_echo_n "checking for $ac_word... " >&6; }
7945 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7946 $as_echo_n "(cached) " >&6
7948 if test -n "$ac_ct_OTOOL64"; then
7949 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7955 test -z "$as_dir" && as_dir=.
7956 for ac_exec_ext in '' $ac_executable_extensions; do
7957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7958 ac_cv_prog_ac_ct_OTOOL64="otool64"
7959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7968 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7969 if test -n "$ac_ct_OTOOL64"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7971 $as_echo "$ac_ct_OTOOL64" >&6; }
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7974 $as_echo "no" >&6; }
7977 if test "x$ac_ct_OTOOL64" = x; then
7980 case $cross_compiling:$ac_tool_warned in
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7984 ac_tool_warned=yes ;;
7986 OTOOL64=$ac_ct_OTOOL64
7989 OTOOL64="$ac_cv_prog_OTOOL64"
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8019 $as_echo_n "checking for -single_module linker flag... " >&6; }
8020 if ${lt_cv_apple_cc_single_mod+:} false; then :
8021 $as_echo_n "(cached) " >&6
8023 lt_cv_apple_cc_single_mod=no
8024 if test -z "${LT_MULTI_MODULE}"; then
8025 # By default we will add the -single_module flag. You can override
8026 # by either setting the environment variable LT_MULTI_MODULE
8027 # non-empty at configure time, or by adding -multi_module to the
8029 rm -rf libconftest.dylib*
8030 echo "int foo(void){return 1;}" > conftest.c
8031 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8032 -dynamiclib -Wl,-single_module conftest.c" >&5
8033 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8034 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8036 # If there is a non-empty error log, and "single_module"
8037 # appears in it, assume the flag caused a linker warning
8038 if test -s conftest.err && $GREP single_module conftest.err; then
8039 cat conftest.err >&5
8040 # Otherwise, if the output was created with a 0 exit code from
8041 # the compiler, it worked.
8042 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8043 lt_cv_apple_cc_single_mod=yes
8045 cat conftest.err >&5
8047 rm -rf libconftest.dylib*
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8052 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8055 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8056 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8057 $as_echo_n "(cached) " >&6
8059 lt_cv_ld_exported_symbols_list=no
8060 save_LDFLAGS=$LDFLAGS
8061 echo "_main" > conftest.sym
8062 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8064 /* end confdefs.h. */
8074 if ac_fn_c_try_link "$LINENO"; then :
8075 lt_cv_ld_exported_symbols_list=yes
8077 lt_cv_ld_exported_symbols_list=no
8079 rm -f core conftest.err conftest.$ac_objext \
8080 conftest$ac_exeext conftest.$ac_ext
8081 LDFLAGS="$save_LDFLAGS"
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8085 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8088 $as_echo_n "checking for -force_load linker flag... " >&6; }
8089 if ${lt_cv_ld_force_load+:} false; then :
8090 $as_echo_n "(cached) " >&6
8092 lt_cv_ld_force_load=no
8093 cat > conftest.c << _LT_EOF
8094 int forced_loaded() { return 2;}
8096 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8097 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8098 echo "$AR cru libconftest.a conftest.o" >&5
8099 $AR cru libconftest.a conftest.o 2>&5
8100 echo "$RANLIB libconftest.a" >&5
8101 $RANLIB libconftest.a 2>&5
8102 cat > conftest.c << _LT_EOF
8103 int main() { return 0;}
8105 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8106 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8108 if test -s conftest.err && $GREP force_load conftest.err; then
8109 cat conftest.err >&5
8110 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8111 lt_cv_ld_force_load=yes
8113 cat conftest.err >&5
8115 rm -f conftest.err libconftest.a conftest conftest.c
8116 rm -rf conftest.dSYM
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8120 $as_echo "$lt_cv_ld_force_load" >&6; }
8122 rhapsody* | darwin1.[012])
8123 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8125 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8126 darwin*) # darwin 5.x on
8127 # if running on 10.5 or later, the deployment target defaults
8128 # to the OS version, if on x86, and 10.4, the deployment
8129 # target defaults to 10.4. Don't you love it?
8130 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8131 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8132 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8134 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8136 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8140 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8141 _lt_dar_single_mod='$single_module'
8143 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8144 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8146 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8148 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8149 _lt_dsymutil='~$DSYMUTIL $lib || :'
8157 ac_cpp='$CPP $CPPFLAGS'
8158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8162 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8163 # On Suns, sometimes $CPP names a directory.
8164 if test -n "$CPP" && test -d "$CPP"; then
8167 if test -z "$CPP"; then
8168 if ${ac_cv_prog_CPP+:} false; then :
8169 $as_echo_n "(cached) " >&6
8171 # Double quotes because CPP needs to be expanded
8172 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8175 for ac_c_preproc_warn_flag in '' yes
8177 # Use a header file that comes with gcc, so configuring glibc
8178 # with a fresh cross-compiler works.
8179 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8180 # <limits.h> exists even on freestanding compilers.
8181 # On the NeXT, cc -E runs the code through the compiler's parser,
8182 # not just through cpp. "Syntax error" is here to catch this case.
8183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8184 /* end confdefs.h. */
8186 # include <limits.h>
8188 # include <assert.h>
8192 if ac_fn_c_try_cpp "$LINENO"; then :
8195 # Broken: fails on valid input.
8198 rm -f conftest.err conftest.i conftest.$ac_ext
8200 # OK, works on sane cases. Now check whether nonexistent headers
8201 # can be detected and how.
8202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8203 /* end confdefs.h. */
8204 #include <ac_nonexistent.h>
8206 if ac_fn_c_try_cpp "$LINENO"; then :
8207 # Broken: success on invalid input.
8210 # Passes both tests.
8214 rm -f conftest.err conftest.i conftest.$ac_ext
8217 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8218 rm -f conftest.i conftest.err conftest.$ac_ext
8219 if $ac_preproc_ok; then :
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8232 $as_echo "$CPP" >&6; }
8234 for ac_c_preproc_warn_flag in '' yes
8236 # Use a header file that comes with gcc, so configuring glibc
8237 # with a fresh cross-compiler works.
8238 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8239 # <limits.h> exists even on freestanding compilers.
8240 # On the NeXT, cc -E runs the code through the compiler's parser,
8241 # not just through cpp. "Syntax error" is here to catch this case.
8242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8243 /* end confdefs.h. */
8245 # include <limits.h>
8247 # include <assert.h>
8251 if ac_fn_c_try_cpp "$LINENO"; then :
8254 # Broken: fails on valid input.
8257 rm -f conftest.err conftest.i conftest.$ac_ext
8259 # OK, works on sane cases. Now check whether nonexistent headers
8260 # can be detected and how.
8261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8262 /* end confdefs.h. */
8263 #include <ac_nonexistent.h>
8265 if ac_fn_c_try_cpp "$LINENO"; then :
8266 # Broken: success on invalid input.
8269 # Passes both tests.
8273 rm -f conftest.err conftest.i conftest.$ac_ext
8276 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8277 rm -f conftest.i conftest.err conftest.$ac_ext
8278 if $ac_preproc_ok; then :
8281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8283 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8284 See \`config.log' for more details" "$LINENO" 5; }
8288 ac_cpp='$CPP $CPPFLAGS'
8289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8295 $as_echo_n "checking for ANSI C header files... " >&6; }
8296 if ${ac_cv_header_stdc+:} false; then :
8297 $as_echo_n "(cached) " >&6
8299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8300 /* end confdefs.h. */
8314 if ac_fn_c_try_compile "$LINENO"; then :
8315 ac_cv_header_stdc=yes
8317 ac_cv_header_stdc=no
8319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8321 if test $ac_cv_header_stdc = yes; then
8322 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8324 /* end confdefs.h. */
8328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8329 $EGREP "memchr" >/dev/null 2>&1; then :
8332 ac_cv_header_stdc=no
8338 if test $ac_cv_header_stdc = yes; then
8339 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8341 /* end confdefs.h. */
8345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8346 $EGREP "free" >/dev/null 2>&1; then :
8349 ac_cv_header_stdc=no
8355 if test $ac_cv_header_stdc = yes; then
8356 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8357 if test "$cross_compiling" = yes; then :
8360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8361 /* end confdefs.h. */
8364 #if ((' ' & 0x0FF) == 0x020)
8365 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8366 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8368 # define ISLOWER(c) \
8369 (('a' <= (c) && (c) <= 'i') \
8370 || ('j' <= (c) && (c) <= 'r') \
8371 || ('s' <= (c) && (c) <= 'z'))
8372 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8375 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8380 for (i = 0; i < 256; i++)
8381 if (XOR (islower (i), ISLOWER (i))
8382 || toupper (i) != TOUPPER (i))
8387 if ac_fn_c_try_run "$LINENO"; then :
8390 ac_cv_header_stdc=no
8392 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8393 conftest.$ac_objext conftest.beam conftest.$ac_ext
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8399 $as_echo "$ac_cv_header_stdc" >&6; }
8400 if test $ac_cv_header_stdc = yes; then
8402 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8406 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8407 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8408 inttypes.h stdint.h unistd.h
8410 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8411 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8413 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8414 cat >>confdefs.h <<_ACEOF
8415 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8423 for ac_header in dlfcn.h
8425 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8427 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8428 cat >>confdefs.h <<_ACEOF
8429 #define HAVE_DLFCN_H 1
8441 # Check whether --enable-static was given.
8442 if test "${enable_static+set}" = set; then :
8443 enableval=$enable_static; p=${PACKAGE-default}
8445 yes) enable_static=yes ;;
8446 no) enable_static=no ;;
8449 # Look at the argument we got. We use all the common list separators.
8450 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8451 for pkg in $enableval; do
8453 if test "X$pkg" = "X$p"; then
8479 # Check whether --enable-shared was given.
8480 if test "${enable_shared+set}" = set; then :
8481 enableval=$enable_shared; p=${PACKAGE-default}
8483 yes) enable_shared=yes ;;
8484 no) enable_shared=no ;;
8487 # Look at the argument we got. We use all the common list separators.
8488 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8489 for pkg in $enableval; do
8491 if test "X$pkg" = "X$p"; then
8512 # Check whether --with-pic was given.
8513 if test "${with_pic+set}" = set; then :
8514 withval=$with_pic; lt_p=${PACKAGE-default}
8516 yes|no) pic_mode=$withval ;;
8519 # Look at the argument we got. We use all the common list separators.
8520 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8521 for lt_pkg in $withval; do
8523 if test "X$lt_pkg" = "X$lt_p"; then
8535 test -z "$pic_mode" && pic_mode=default
8543 # Check whether --enable-fast-install was given.
8544 if test "${enable_fast_install+set}" = set; then :
8545 enableval=$enable_fast_install; p=${PACKAGE-default}
8547 yes) enable_fast_install=yes ;;
8548 no) enable_fast_install=no ;;
8550 enable_fast_install=no
8551 # Look at the argument we got. We use all the common list separators.
8552 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8553 for pkg in $enableval; do
8555 if test "X$pkg" = "X$p"; then
8556 enable_fast_install=yes
8563 enable_fast_install=yes
8576 # This can be used to rebuild libtool when needed
8577 LIBTOOL_DEPS="$ltmain"
8579 # Always use our own libtool.
8580 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8611 test -z "$LN_S" && LN_S="ln -s"
8626 if test -n "${ZSH_VERSION+set}" ; then
8627 setopt NO_GLOB_SUBST
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8631 $as_echo_n "checking for objdir... " >&6; }
8632 if ${lt_cv_objdir+:} false; then :
8633 $as_echo_n "(cached) " >&6
8635 rm -f .libs 2>/dev/null
8636 mkdir .libs 2>/dev/null
8637 if test -d .libs; then
8640 # MS-DOS does not allow filenames that begin with a dot.
8643 rmdir .libs 2>/dev/null
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8646 $as_echo "$lt_cv_objdir" >&6; }
8647 objdir=$lt_cv_objdir
8653 cat >>confdefs.h <<_ACEOF
8654 #define LT_OBJDIR "$lt_cv_objdir/"
8662 # AIX sometimes has problems with the GCC collect2 program. For some
8663 # reason, if we set the COLLECT_NAMES environment variable, the problems
8664 # vanish in a puff of smoke.
8665 if test "X${COLLECT_NAMES+set}" != Xset; then
8667 export COLLECT_NAMES
8674 can_build_shared=yes
8676 # All known linkers require a `.a' archive for static linking (except MSVC,
8677 # which needs '.lib').
8680 with_gnu_ld="$lt_cv_prog_gnu_ld"
8683 old_CFLAGS="$CFLAGS"
8685 # Set sane defaults for various variables
8686 test -z "$CC" && CC=cc
8687 test -z "$LTCC" && LTCC=$CC
8688 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8689 test -z "$LD" && LD=ld
8690 test -z "$ac_objext" && ac_objext=o
8692 for cc_temp in $compiler""; do
8694 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8695 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8700 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8703 # Only perform the check for file, if the check method requires it
8704 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8705 case $deplibs_check_method in
8707 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8709 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8710 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8711 $as_echo_n "(cached) " >&6
8715 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8718 lt_save_MAGIC_CMD="$MAGIC_CMD"
8719 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8720 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8721 for ac_dir in $ac_dummy; do
8723 test -z "$ac_dir" && ac_dir=.
8724 if test -f $ac_dir/${ac_tool_prefix}file; then
8725 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8726 if test -n "$file_magic_test_file"; then
8727 case $deplibs_check_method in
8729 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8730 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8731 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8732 $EGREP "$file_magic_regex" > /dev/null; then
8737 *** Warning: the command libtool uses to detect shared libraries,
8738 *** $file_magic_cmd, produces output that libtool cannot recognize.
8739 *** The result is that libtool may fail to recognize shared libraries
8740 *** as such. This will affect the creation of libtool libraries that
8741 *** depend on shared libraries, but programs linked with such libtool
8742 *** libraries will work regardless of this problem. Nevertheless, you
8743 *** may want to report the problem to your system manager and/or to
8744 *** bug-libtool@gnu.org
8754 MAGIC_CMD="$lt_save_MAGIC_CMD"
8759 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8760 if test -n "$MAGIC_CMD"; then
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8762 $as_echo "$MAGIC_CMD" >&6; }
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8765 $as_echo "no" >&6; }
8772 if test -z "$lt_cv_path_MAGIC_CMD"; then
8773 if test -n "$ac_tool_prefix"; then
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8775 $as_echo_n "checking for file... " >&6; }
8776 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8777 $as_echo_n "(cached) " >&6
8781 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8784 lt_save_MAGIC_CMD="$MAGIC_CMD"
8785 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8786 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8787 for ac_dir in $ac_dummy; do
8789 test -z "$ac_dir" && ac_dir=.
8790 if test -f $ac_dir/file; then
8791 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8792 if test -n "$file_magic_test_file"; then
8793 case $deplibs_check_method in
8795 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8796 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8797 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8798 $EGREP "$file_magic_regex" > /dev/null; then
8803 *** Warning: the command libtool uses to detect shared libraries,
8804 *** $file_magic_cmd, produces output that libtool cannot recognize.
8805 *** The result is that libtool may fail to recognize shared libraries
8806 *** as such. This will affect the creation of libtool libraries that
8807 *** depend on shared libraries, but programs linked with such libtool
8808 *** libraries will work regardless of this problem. Nevertheless, you
8809 *** may want to report the problem to your system manager and/or to
8810 *** bug-libtool@gnu.org
8820 MAGIC_CMD="$lt_save_MAGIC_CMD"
8825 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8826 if test -n "$MAGIC_CMD"; then
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8828 $as_echo "$MAGIC_CMD" >&6; }
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8831 $as_echo "no" >&6; }
8844 # Use C for the default configuration in the libtool script
8848 ac_cpp='$CPP $CPPFLAGS'
8849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8854 # Source file extension for C test sources.
8857 # Object file extension for compiled C test sources.
8861 # Code to be used in simple compile tests
8862 lt_simple_compile_test_code="int some_variable = 0;"
8864 # Code to be used in simple link tests
8865 lt_simple_link_test_code='int main(){return(0);}'
8873 # If no C compiler was specified, use CC.
8876 # If no C compiler flags were specified, use CFLAGS.
8877 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8879 # Allow CC to be a program name with arguments.
8882 # Save the default compiler, since it gets overwritten when the other
8883 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8884 compiler_DEFAULT=$CC
8886 # save warnings/boilerplate of simple test code
8887 ac_outfile=conftest.$ac_objext
8888 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8889 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8890 _lt_compiler_boilerplate=`cat conftest.err`
8893 ac_outfile=conftest.$ac_objext
8894 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8895 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8896 _lt_linker_boilerplate=`cat conftest.err`
8901 ## There is no encapsulation within the following macros, do not change
8902 ## the running order or otherwise move them around unless you know exactly
8903 ## what you are doing...
8904 if test -n "$compiler"; then
8906 lt_prog_compiler_no_builtin_flag=
8908 if test "$GCC" = yes; then
8909 case $cc_basename in
8911 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8913 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8917 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8918 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8919 $as_echo_n "(cached) " >&6
8921 lt_cv_prog_compiler_rtti_exceptions=no
8922 ac_outfile=conftest.$ac_objext
8923 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8924 lt_compiler_flag="-fno-rtti -fno-exceptions"
8925 # Insert the option either (1) after the last *FLAGS variable, or
8926 # (2) before a word containing "conftest.", or (3) at the end.
8927 # Note that $ac_compile itself does not contain backslashes and begins
8928 # with a dollar sign (not a hyphen), so the echo should work correctly.
8929 # The option is referenced via a variable to avoid confusing sed.
8930 lt_compile=`echo "$ac_compile" | $SED \
8931 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8932 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8933 -e 's:$: $lt_compiler_flag:'`
8934 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8935 (eval "$lt_compile" 2>conftest.err)
8937 cat conftest.err >&5
8938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 if (exit $ac_status) && test -s "$ac_outfile"; then
8940 # The compiler can only warn and ignore the option if not recognized
8941 # So say no if there are warnings other than the usual output.
8942 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8943 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8944 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8945 lt_cv_prog_compiler_rtti_exceptions=yes
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8952 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8954 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8955 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8967 lt_prog_compiler_wl=
8968 lt_prog_compiler_pic=
8969 lt_prog_compiler_static=
8972 if test "$GCC" = yes; then
8973 lt_prog_compiler_wl='-Wl,'
8974 lt_prog_compiler_static='-static'
8978 # All AIX code is PIC.
8979 if test "$host_cpu" = ia64; then
8980 # AIX 5 now supports IA64 processor
8981 lt_prog_compiler_static='-Bstatic'
8988 # see comment about AmigaOS4 .so support
8989 lt_prog_compiler_pic='-fPIC'
8992 # FIXME: we need at least 68020 code to build shared libraries, but
8993 # adding the `-m68020' flag to GCC prevents building anything better,
8995 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9000 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9001 # PIC is the default for these OSes.
9004 mingw* | cygwin* | pw32* | os2* | cegcc*)
9005 # This hack is so that the source file can tell whether it is being
9006 # built for inclusion in a dll (and should export symbols for example).
9007 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9008 # (--disable-auto-import) libraries
9009 lt_prog_compiler_pic='-DDLL_EXPORT'
9012 darwin* | rhapsody*)
9013 # PIC is the default on this platform
9014 # Common symbols not allowed in MH_DYLIB files
9015 lt_prog_compiler_pic='-fno-common'
9019 # PIC is the default for Haiku.
9020 # The "-static" flag exists, but is broken.
9021 lt_prog_compiler_static=
9025 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9026 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9027 # sets the default TLS model and affects inlining.
9033 lt_prog_compiler_pic='-fPIC'
9039 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9040 # Instead, we relocate shared libraries at runtime.
9044 # Just because we use GCC doesn't mean we suddenly get shared libraries
9045 # on systems that don't support them.
9046 lt_prog_compiler_can_build_shared=no
9051 # QNX uses GNU C++, but need to define -shared option too, otherwise
9053 lt_prog_compiler_pic='-fPIC -shared'
9057 if test -d /usr/nec; then
9058 lt_prog_compiler_pic=-Kconform_pic
9063 lt_prog_compiler_pic='-fPIC'
9067 case $cc_basename in
9068 nvcc*) # Cuda Compiler Driver 2.2
9069 lt_prog_compiler_wl='-Xlinker '
9070 if test -n "$lt_prog_compiler_pic"; then
9071 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9076 # PORTME Check for flag to pass linker flags through the system compiler.
9079 lt_prog_compiler_wl='-Wl,'
9080 if test "$host_cpu" = ia64; then
9081 # AIX 5 now supports IA64 processor
9082 lt_prog_compiler_static='-Bstatic'
9084 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9088 mingw* | cygwin* | pw32* | os2* | cegcc*)
9089 # This hack is so that the source file can tell whether it is being
9090 # built for inclusion in a dll (and should export symbols for example).
9091 lt_prog_compiler_pic='-DDLL_EXPORT'
9094 hpux9* | hpux10* | hpux11*)
9095 lt_prog_compiler_wl='-Wl,'
9096 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9103 lt_prog_compiler_pic='+Z'
9106 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9107 lt_prog_compiler_static='${wl}-a ${wl}archive'
9110 irix5* | irix6* | nonstopux*)
9111 lt_prog_compiler_wl='-Wl,'
9112 # PIC (with -KPIC) is the default.
9113 lt_prog_compiler_static='-non_shared'
9116 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9117 case $cc_basename in
9118 # old Intel for x86_64 which still supported -KPIC.
9120 lt_prog_compiler_wl='-Wl,'
9121 lt_prog_compiler_pic='-KPIC'
9122 lt_prog_compiler_static='-static'
9124 # icc used to be incompatible with GCC.
9125 # ICC 10 doesn't accept -KPIC any more.
9127 lt_prog_compiler_wl='-Wl,'
9128 lt_prog_compiler_pic='-fPIC'
9129 lt_prog_compiler_static='-static'
9131 # Lahey Fortran 8.1.
9133 lt_prog_compiler_wl='-Wl,'
9134 lt_prog_compiler_pic='--shared'
9135 lt_prog_compiler_static='--static'
9138 # NAG Fortran compiler
9139 lt_prog_compiler_wl='-Wl,-Wl,,'
9140 lt_prog_compiler_pic='-PIC'
9141 lt_prog_compiler_static='-Bstatic'
9143 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9144 # Portland Group compilers (*not* the Pentium gcc compiler,
9145 # which looks to be a dead project)
9146 lt_prog_compiler_wl='-Wl,'
9147 lt_prog_compiler_pic='-fpic'
9148 lt_prog_compiler_static='-Bstatic'
9151 lt_prog_compiler_wl='-Wl,'
9152 # All Alpha code is PIC.
9153 lt_prog_compiler_static='-non_shared'
9155 xl* | bgxl* | bgf* | mpixl*)
9156 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9157 lt_prog_compiler_wl='-Wl,'
9158 lt_prog_compiler_pic='-qpic'
9159 lt_prog_compiler_static='-qstaticlink'
9162 case `$CC -V 2>&1 | sed 5q` in
9163 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9164 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9165 lt_prog_compiler_pic='-KPIC'
9166 lt_prog_compiler_static='-Bstatic'
9167 lt_prog_compiler_wl=''
9169 *Sun\ F* | *Sun*Fortran*)
9170 lt_prog_compiler_pic='-KPIC'
9171 lt_prog_compiler_static='-Bstatic'
9172 lt_prog_compiler_wl='-Qoption ld '
9176 lt_prog_compiler_pic='-KPIC'
9177 lt_prog_compiler_static='-Bstatic'
9178 lt_prog_compiler_wl='-Wl,'
9180 *Intel*\ [CF]*Compiler*)
9181 lt_prog_compiler_wl='-Wl,'
9182 lt_prog_compiler_pic='-fPIC'
9183 lt_prog_compiler_static='-static'
9186 lt_prog_compiler_wl='-Wl,'
9187 lt_prog_compiler_pic='-fpic'
9188 lt_prog_compiler_static='-Bstatic'
9196 lt_prog_compiler_pic='-KPIC'
9197 lt_prog_compiler_static='-Bstatic'
9201 # QNX uses GNU C++, but need to define -shared option too, otherwise
9203 lt_prog_compiler_pic='-fPIC -shared'
9206 osf3* | osf4* | osf5*)
9207 lt_prog_compiler_wl='-Wl,'
9208 # All OSF/1 code is PIC.
9209 lt_prog_compiler_static='-non_shared'
9213 lt_prog_compiler_static='-non_shared'
9217 lt_prog_compiler_pic='-KPIC'
9218 lt_prog_compiler_static='-Bstatic'
9219 case $cc_basename in
9220 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9221 lt_prog_compiler_wl='-Qoption ld ';;
9223 lt_prog_compiler_wl='-Wl,';;
9228 lt_prog_compiler_wl='-Qoption ld '
9229 lt_prog_compiler_pic='-PIC'
9230 lt_prog_compiler_static='-Bstatic'
9233 sysv4 | sysv4.2uw2* | sysv4.3*)
9234 lt_prog_compiler_wl='-Wl,'
9235 lt_prog_compiler_pic='-KPIC'
9236 lt_prog_compiler_static='-Bstatic'
9240 if test -d /usr/nec ;then
9241 lt_prog_compiler_pic='-Kconform_pic'
9242 lt_prog_compiler_static='-Bstatic'
9246 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9247 lt_prog_compiler_wl='-Wl,'
9248 lt_prog_compiler_pic='-KPIC'
9249 lt_prog_compiler_static='-Bstatic'
9253 lt_prog_compiler_wl='-Wl,'
9254 lt_prog_compiler_can_build_shared=no
9258 lt_prog_compiler_pic='-pic'
9259 lt_prog_compiler_static='-Bstatic'
9263 lt_prog_compiler_can_build_shared=no
9269 # For platforms which do not support PIC, -DPIC is meaningless:
9271 lt_prog_compiler_pic=
9274 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9279 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9280 if ${lt_cv_prog_compiler_pic+:} false; then :
9281 $as_echo_n "(cached) " >&6
9283 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9286 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9287 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9290 # Check to make sure the PIC flag actually works.
9292 if test -n "$lt_prog_compiler_pic"; then
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9294 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9295 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9296 $as_echo_n "(cached) " >&6
9298 lt_cv_prog_compiler_pic_works=no
9299 ac_outfile=conftest.$ac_objext
9300 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9301 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9302 # Insert the option either (1) after the last *FLAGS variable, or
9303 # (2) before a word containing "conftest.", or (3) at the end.
9304 # Note that $ac_compile itself does not contain backslashes and begins
9305 # with a dollar sign (not a hyphen), so the echo should work correctly.
9306 # The option is referenced via a variable to avoid confusing sed.
9307 lt_compile=`echo "$ac_compile" | $SED \
9308 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9309 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9310 -e 's:$: $lt_compiler_flag:'`
9311 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9312 (eval "$lt_compile" 2>conftest.err)
9314 cat conftest.err >&5
9315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9316 if (exit $ac_status) && test -s "$ac_outfile"; then
9317 # The compiler can only warn and ignore the option if not recognized
9318 # So say no if there are warnings other than the usual output.
9319 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9320 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9321 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9322 lt_cv_prog_compiler_pic_works=yes
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9329 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9331 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9332 case $lt_prog_compiler_pic in
9334 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9337 lt_prog_compiler_pic=
9338 lt_prog_compiler_can_build_shared=no
9354 # Check to make sure the static flag actually works.
9356 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9358 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9359 if ${lt_cv_prog_compiler_static_works+:} false; then :
9360 $as_echo_n "(cached) " >&6
9362 lt_cv_prog_compiler_static_works=no
9363 save_LDFLAGS="$LDFLAGS"
9364 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9365 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9366 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9367 # The linker can only warn and ignore the option if not recognized
9368 # So say no if there are warnings
9369 if test -s conftest.err; then
9370 # Append any errors to the config.log.
9371 cat conftest.err 1>&5
9372 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9373 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9374 if diff conftest.exp conftest.er2 >/dev/null; then
9375 lt_cv_prog_compiler_static_works=yes
9378 lt_cv_prog_compiler_static_works=yes
9382 LDFLAGS="$save_LDFLAGS"
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9386 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9388 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9391 lt_prog_compiler_static=
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9401 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9402 if ${lt_cv_prog_compiler_c_o+:} false; then :
9403 $as_echo_n "(cached) " >&6
9405 lt_cv_prog_compiler_c_o=no
9406 $RM -r conftest 2>/dev/null
9410 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9412 lt_compiler_flag="-o out/conftest2.$ac_objext"
9413 # Insert the option either (1) after the last *FLAGS variable, or
9414 # (2) before a word containing "conftest.", or (3) at the end.
9415 # Note that $ac_compile itself does not contain backslashes and begins
9416 # with a dollar sign (not a hyphen), so the echo should work correctly.
9417 lt_compile=`echo "$ac_compile" | $SED \
9418 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9419 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9420 -e 's:$: $lt_compiler_flag:'`
9421 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9422 (eval "$lt_compile" 2>out/conftest.err)
9424 cat out/conftest.err >&5
9425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9426 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9428 # The compiler can only warn and ignore the option if not recognized
9429 # So say no if there are warnings
9430 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9431 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9432 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9433 lt_cv_prog_compiler_c_o=yes
9438 # SGI C++ compiler will create directory out/ii_files/ for
9439 # template instantiation
9440 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9441 $RM out/* && rmdir out
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9448 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9456 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9457 if ${lt_cv_prog_compiler_c_o+:} false; then :
9458 $as_echo_n "(cached) " >&6
9460 lt_cv_prog_compiler_c_o=no
9461 $RM -r conftest 2>/dev/null
9465 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9467 lt_compiler_flag="-o out/conftest2.$ac_objext"
9468 # Insert the option either (1) after the last *FLAGS variable, or
9469 # (2) before a word containing "conftest.", or (3) at the end.
9470 # Note that $ac_compile itself does not contain backslashes and begins
9471 # with a dollar sign (not a hyphen), so the echo should work correctly.
9472 lt_compile=`echo "$ac_compile" | $SED \
9473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9475 -e 's:$: $lt_compiler_flag:'`
9476 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9477 (eval "$lt_compile" 2>out/conftest.err)
9479 cat out/conftest.err >&5
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9483 # The compiler can only warn and ignore the option if not recognized
9484 # So say no if there are warnings
9485 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9486 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9487 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9488 lt_cv_prog_compiler_c_o=yes
9493 # SGI C++ compiler will create directory out/ii_files/ for
9494 # template instantiation
9495 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9496 $RM out/* && rmdir out
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9503 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9508 hard_links="nottested"
9509 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9510 # do not overwrite the value of need_locks provided by the user
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9512 $as_echo_n "checking if we can lock with hard links... " >&6; }
9515 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9517 ln conftest.a conftest.b 2>&5 || hard_links=no
9518 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9520 $as_echo "$hard_links" >&6; }
9521 if test "$hard_links" = no; then
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9523 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9536 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9539 allow_undefined_flag=
9540 always_export_symbols=no
9542 archive_expsym_cmds=
9543 compiler_needs_object=no
9544 enable_shared_with_static_runtimes=no
9545 export_dynamic_flag_spec=
9546 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9547 hardcode_automatic=no
9549 hardcode_direct_absolute=no
9550 hardcode_libdir_flag_spec=
9551 hardcode_libdir_separator=
9553 hardcode_shlibpath_var=unsupported
9555 link_all_deplibs=unknown
9558 old_archive_from_new_cmds=
9559 old_archive_from_expsyms_cmds=
9560 thread_safe_flag_spec=
9561 whole_archive_flag_spec=
9562 # include_expsyms should be a list of space-separated symbols to be *always*
9563 # included in the symbol list
9565 # exclude_expsyms can be an extended regexp of symbols to exclude
9566 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9567 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9568 # as well as any symbol that contains `d'.
9569 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9570 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9571 # platforms (ab)use it in PIC code, but their linkers get confused if
9572 # the symbol is explicitly referenced. Since portable code cannot
9573 # rely on this symbol name, it's probably fine to never include it in
9574 # preloaded symbol tables.
9575 # Exclude shared library initialization/finalization symbols.
9576 extract_expsyms_cmds=
9579 cygwin* | mingw* | pw32* | cegcc*)
9580 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9581 # When not using gcc, we currently assume that we are using
9582 # Microsoft Visual C++.
9583 if test "$GCC" != yes; then
9588 # we just hope/assume this is gcc and not c89 (= MSVC++)
9594 linux* | k*bsd*-gnu | gnu*)
9601 # On some targets, GNU ld is compatible enough with the native linker
9602 # that we're better off using the native interface for both.
9603 lt_use_gnu_ld_interface=no
9604 if test "$with_gnu_ld" = yes; then
9607 # The AIX port of GNU ld has always aspired to compatibility
9608 # with the native linker. However, as the warning in the GNU ld
9609 # block says, versions before 2.19.5* couldn't really create working
9610 # shared libraries, regardless of the interface used.
9611 case `$LD -v 2>&1` in
9612 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9613 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9614 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9616 lt_use_gnu_ld_interface=yes
9621 lt_use_gnu_ld_interface=yes
9626 if test "$lt_use_gnu_ld_interface" = yes; then
9627 # If archive_cmds runs LD, not CC, wlarc should be empty
9630 # Set some defaults for GNU ld with shared library support. These
9631 # are reset later if shared libraries are not supported. Putting them
9632 # here allows them to be overridden if necessary.
9633 runpath_var=LD_RUN_PATH
9634 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9635 export_dynamic_flag_spec='${wl}--export-dynamic'
9636 # ancient GNU ld didn't support --whole-archive et. al.
9637 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9638 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9640 whole_archive_flag_spec=
9642 supports_anon_versioning=no
9643 case `$LD -v 2>&1` in
9644 *GNU\ gold*) supports_anon_versioning=yes ;;
9645 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9646 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9647 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9648 *\ 2.11.*) ;; # other 2.11 versions
9649 *) supports_anon_versioning=yes ;;
9652 # See if GNU ld supports shared libraries.
9655 # On AIX/PPC, the GNU linker is very broken
9656 if test "$host_cpu" != ia64; then
9660 *** Warning: the GNU linker, at least up to release 2.19, is reported
9661 *** to be unable to reliably create shared libraries on AIX.
9662 *** Therefore, libtool is disabling shared libraries support. If you
9663 *** really care for shared libraries, you may want to install binutils
9664 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9665 *** You will then need to restart the configuration process.
9674 # see comment about AmigaOS4 .so support
9675 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9676 archive_expsym_cmds=''
9679 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)'
9680 hardcode_libdir_flag_spec='-L$libdir'
9681 hardcode_minus_L=yes
9687 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9688 allow_undefined_flag=unsupported
9689 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9690 # support --undefined. This deserves some investigation. FIXME
9691 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9697 cygwin* | mingw* | pw32* | cegcc*)
9698 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9699 # as there is no search path for DLLs.
9700 hardcode_libdir_flag_spec='-L$libdir'
9701 export_dynamic_flag_spec='${wl}--export-all-symbols'
9702 allow_undefined_flag=unsupported
9703 always_export_symbols=no
9704 enable_shared_with_static_runtimes=yes
9705 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'
9706 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9708 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9709 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9710 # If the export-symbols file already is a .def file (1st line
9711 # is EXPORTS), use it as is; otherwise, prepend...
9712 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9713 cp $export_symbols $output_objdir/$soname.def;
9715 echo EXPORTS > $output_objdir/$soname.def;
9716 cat $export_symbols >> $output_objdir/$soname.def;
9718 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9725 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9726 link_all_deplibs=yes
9731 hardcode_shlibpath_var=no
9732 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9733 export_dynamic_flag_spec='${wl}-E'
9734 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9735 # Instead, shared libraries are loaded at an image base (0x10000000 by
9736 # default) and relocated if they conflict, which is a slow very memory
9737 # consuming and fragmenting process. To avoid this, we pick a random,
9738 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9739 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9740 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9741 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'
9744 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9746 if test "$host_os" = linux-dietlibc; then
9747 case $cc_basename in
9748 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9751 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9752 && test "$tmp_diet" = no
9754 tmp_addflag=' $pic_flag'
9755 tmp_sharedflag='-shared'
9756 case $cc_basename,$host_cpu in
9757 pgcc*) # Portland Group C compiler
9758 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'
9759 tmp_addflag=' $pic_flag'
9761 pgf77* | pgf90* | pgf95* | pgfortran*)
9762 # Portland Group f77 and f90 compilers
9763 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'
9764 tmp_addflag=' $pic_flag -Mnomain' ;;
9765 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9766 tmp_addflag=' -i_dynamic' ;;
9767 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9768 tmp_addflag=' -i_dynamic -nofor_main' ;;
9769 ifc* | ifort*) # Intel Fortran compiler
9770 tmp_addflag=' -nofor_main' ;;
9771 lf95*) # Lahey Fortran 8.1
9772 whole_archive_flag_spec=
9773 tmp_sharedflag='--shared' ;;
9774 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9775 tmp_sharedflag='-qmkshrobj'
9777 nvcc*) # Cuda Compiler Driver 2.2
9778 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'
9779 compiler_needs_object=yes
9782 case `$CC -V 2>&1 | sed 5q` in
9783 *Sun\ C*) # Sun C 5.9
9784 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'
9785 compiler_needs_object=yes
9786 tmp_sharedflag='-G' ;;
9787 *Sun\ F*) # Sun Fortran 8.3
9788 tmp_sharedflag='-G' ;;
9790 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9792 if test "x$supports_anon_versioning" = xyes; then
9793 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9794 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9795 echo "local: *; };" >> $output_objdir/$libname.ver~
9796 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9799 case $cc_basename in
9800 xlf* | bgf* | bgxlf* | mpixlf*)
9801 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9802 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9803 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9804 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9805 if test "x$supports_anon_versioning" = xyes; then
9806 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9807 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9808 echo "local: *; };" >> $output_objdir/$libname.ver~
9809 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9818 netbsd* | netbsdelf*-gnu)
9819 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9820 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9823 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9824 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9829 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9833 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9834 *** create shared libraries on Solaris systems. Therefore, libtool
9835 *** is disabling shared libraries support. We urge you to upgrade GNU
9836 *** binutils to release 2.9.1 or newer. Another option is to modify
9837 *** your PATH or compiler configuration so that the native linker is
9838 *** used, and then restart.
9841 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9842 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9843 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9849 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9850 case `$LD -v 2>&1` in
9851 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9855 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9856 *** reliably create shared libraries on SCO systems. Therefore, libtool
9857 *** is disabling shared libraries support. We urge you to upgrade GNU
9858 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9859 *** your PATH or compiler configuration so that the native linker is
9860 *** used, and then restart.
9865 # For security reasons, it is highly recommended that you always
9866 # use absolute paths for naming shared libraries, and exclude the
9867 # DT_RUNPATH tag from executables and libraries. But doing so
9868 # requires that you compile everything twice, which is a pain.
9869 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9870 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9871 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9872 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9881 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9884 hardcode_shlibpath_var=no
9888 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9889 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9890 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9897 if test "$ld_shlibs" = no; then
9899 hardcode_libdir_flag_spec=
9900 export_dynamic_flag_spec=
9901 whole_archive_flag_spec=
9904 # PORTME fill in a description of your system's linker (not GNU ld)
9907 allow_undefined_flag=unsupported
9908 always_export_symbols=yes
9909 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'
9910 # Note: this linker hardcodes the directories in LIBPATH if there
9911 # are no directories specified by -L.
9912 hardcode_minus_L=yes
9913 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9914 # Neither direct hardcoding nor static linking is supported with a
9916 hardcode_direct=unsupported
9921 if test "$host_cpu" = ia64; then
9922 # On IA64, the linker does run time linking by default, so we don't
9923 # have to do anything special.
9924 aix_use_runtimelinking=no
9925 exp_sym_flag='-Bexport'
9928 # If we're using GNU nm, then we don't want the "-C" option.
9929 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9930 # Also, AIX nm treats weak defined symbols like other global
9931 # defined symbols, whereas GNU nm marks them as "W".
9932 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9933 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'
9935 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'
9937 aix_use_runtimelinking=no
9939 # Test if we are trying to use run time linking or normal
9940 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9941 # need to do runtime linking.
9942 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9943 for ld_flag in $LDFLAGS; do
9944 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9945 aix_use_runtimelinking=yes
9952 exp_sym_flag='-bexport'
9953 no_entry_flag='-bnoentry'
9956 # When large executables or shared objects are built, AIX ld can
9957 # have problems creating the table of contents. If linking a library
9958 # or program results in "error TOC overflow" add -mminimal-toc to
9959 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9960 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9964 hardcode_direct_absolute=yes
9965 hardcode_libdir_separator=':'
9966 link_all_deplibs=yes
9967 file_list_spec='${wl}-f,'
9969 if test "$GCC" = yes; then
9970 case $host_os in aix4.[012]|aix4.[012].*)
9971 # We only want to do this on AIX 4.2 and lower, the check
9972 # below for broken collect2 doesn't work under 4.3+
9973 collect2name=`${CC} -print-prog-name=collect2`
9974 if test -f "$collect2name" &&
9975 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9977 # We have reworked collect2
9980 # We have old collect2
9981 hardcode_direct=unsupported
9982 # It fails to find uninstalled libraries when the uninstalled
9983 # path is not listed in the libpath. Setting hardcode_minus_L
9984 # to unsupported forces relinking
9985 hardcode_minus_L=yes
9986 hardcode_libdir_flag_spec='-L$libdir'
9987 hardcode_libdir_separator=
9991 shared_flag='-shared'
9992 if test "$aix_use_runtimelinking" = yes; then
9993 shared_flag="$shared_flag "'${wl}-G'
9998 if test "$host_cpu" = ia64; then
9999 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10000 # chokes on -Wl,-G. The following line is correct:
10003 if test "$aix_use_runtimelinking" = yes; then
10004 shared_flag='${wl}-G'
10006 shared_flag='${wl}-bM:SRE'
10011 export_dynamic_flag_spec='${wl}-bexpall'
10012 # It seems that -bexpall does not export symbols beginning with
10013 # underscore (_), so it is better to generate a list of symbols to export.
10014 always_export_symbols=yes
10015 if test "$aix_use_runtimelinking" = yes; then
10016 # Warning - without using the other runtime loading flags (-brtl),
10017 # -berok will link without error, but may produce a broken library.
10018 allow_undefined_flag='-berok'
10019 # Determine the default libpath from the value encoded in an
10020 # empty executable.
10021 if test "${lt_cv_aix_libpath+set}" = set; then
10022 aix_libpath=$lt_cv_aix_libpath
10024 if ${lt_cv_aix_libpath_+:} false; then :
10025 $as_echo_n "(cached) " >&6
10027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10038 if ac_fn_c_try_link "$LINENO"; then :
10040 lt_aix_libpath_sed='
10041 /Import File Strings/,/^$/ {
10043 s/^0 *\([^ ]*\) *$/\1/
10047 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10048 # Check for a 64-bit object if we didn't find anything.
10049 if test -z "$lt_cv_aix_libpath_"; then
10050 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10053 rm -f core conftest.err conftest.$ac_objext \
10054 conftest$ac_exeext conftest.$ac_ext
10055 if test -z "$lt_cv_aix_libpath_"; then
10056 lt_cv_aix_libpath_="/usr/lib:/lib"
10061 aix_libpath=$lt_cv_aix_libpath_
10064 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10065 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"
10067 if test "$host_cpu" = ia64; then
10068 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10069 allow_undefined_flag="-z nodefs"
10070 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"
10072 # Determine the default libpath from the value encoded in an
10073 # empty executable.
10074 if test "${lt_cv_aix_libpath+set}" = set; then
10075 aix_libpath=$lt_cv_aix_libpath
10077 if ${lt_cv_aix_libpath_+:} false; then :
10078 $as_echo_n "(cached) " >&6
10080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10081 /* end confdefs.h. */
10091 if ac_fn_c_try_link "$LINENO"; then :
10093 lt_aix_libpath_sed='
10094 /Import File Strings/,/^$/ {
10096 s/^0 *\([^ ]*\) *$/\1/
10100 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10101 # Check for a 64-bit object if we didn't find anything.
10102 if test -z "$lt_cv_aix_libpath_"; then
10103 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10106 rm -f core conftest.err conftest.$ac_objext \
10107 conftest$ac_exeext conftest.$ac_ext
10108 if test -z "$lt_cv_aix_libpath_"; then
10109 lt_cv_aix_libpath_="/usr/lib:/lib"
10114 aix_libpath=$lt_cv_aix_libpath_
10117 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10118 # Warning - without using the other run time loading flags,
10119 # -berok will link without error, but may produce a broken library.
10120 no_undefined_flag=' ${wl}-bernotok'
10121 allow_undefined_flag=' ${wl}-berok'
10122 if test "$with_gnu_ld" = yes; then
10123 # We only use this code for GNU lds that support --whole-archive.
10124 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10126 # Exported symbols can be pulled into shared objects from archives
10127 whole_archive_flag_spec='$convenience'
10129 archive_cmds_need_lc=yes
10130 # This is similar to how AIX traditionally builds its shared libraries.
10131 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'
10139 # see comment about AmigaOS4 .so support
10140 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10141 archive_expsym_cmds=''
10144 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)'
10145 hardcode_libdir_flag_spec='-L$libdir'
10146 hardcode_minus_L=yes
10152 export_dynamic_flag_spec=-rdynamic
10155 cygwin* | mingw* | pw32* | cegcc*)
10156 # When not using gcc, we currently assume that we are using
10157 # Microsoft Visual C++.
10158 # hardcode_libdir_flag_spec is actually meaningless, as there is
10159 # no search path for DLLs.
10160 case $cc_basename in
10163 hardcode_libdir_flag_spec=' '
10164 allow_undefined_flag=unsupported
10165 always_export_symbols=yes
10167 # Tell ltmain to make .lib files, not .a files.
10169 # Tell ltmain to make .dll files, not .so files.
10171 # FIXME: Setting linknames here is a bad hack.
10172 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10173 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10174 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10176 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10178 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10180 # The linker will not automatically build a static lib if we build a DLL.
10181 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10182 enable_shared_with_static_runtimes=yes
10183 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10184 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10186 old_postinstall_cmds='chmod 644 $oldlib'
10187 postlink_cmds='lt_outputfile="@OUTPUT@"~
10188 lt_tool_outputfile="@TOOL_OUTPUT@"~
10189 case $lt_outputfile in
10192 lt_outputfile="$lt_outputfile.exe"
10193 lt_tool_outputfile="$lt_tool_outputfile.exe"
10196 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10197 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10198 $RM "$lt_outputfile.manifest";
10202 # Assume MSVC wrapper
10203 hardcode_libdir_flag_spec=' '
10204 allow_undefined_flag=unsupported
10205 # Tell ltmain to make .lib files, not .a files.
10207 # Tell ltmain to make .dll files, not .so files.
10209 # FIXME: Setting linknames here is a bad hack.
10210 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10211 # The linker will automatically build a .lib file if we build a DLL.
10212 old_archive_from_new_cmds='true'
10213 # FIXME: Should let the user specify the lib program.
10214 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10215 enable_shared_with_static_runtimes=yes
10220 darwin* | rhapsody*)
10223 archive_cmds_need_lc=no
10225 hardcode_automatic=yes
10226 hardcode_shlibpath_var=unsupported
10227 if test "$lt_cv_ld_force_load" = "yes"; then
10228 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\"`'
10231 whole_archive_flag_spec=''
10233 link_all_deplibs=yes
10234 allow_undefined_flag="$_lt_dar_allow_undefined"
10235 case $cc_basename in
10236 ifort*) _lt_dar_can_shared=yes ;;
10237 *) _lt_dar_can_shared=$GCC ;;
10239 if test "$_lt_dar_can_shared" = "yes"; then
10240 output_verbose_link_cmd=func_echo_all
10241 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10242 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10243 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}"
10244 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}"
10253 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10254 hardcode_libdir_flag_spec='-L$libdir'
10255 hardcode_shlibpath_var=no
10258 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10259 # support. Future versions do this automatically, but an explicit c++rt0.o
10260 # does not break anything, and helps significantly (at the cost of a little
10263 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10264 hardcode_libdir_flag_spec='-R$libdir'
10265 hardcode_direct=yes
10266 hardcode_shlibpath_var=no
10269 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10271 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10272 hardcode_direct=yes
10273 hardcode_minus_L=yes
10274 hardcode_shlibpath_var=no
10277 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10278 freebsd* | dragonfly*)
10279 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10280 hardcode_libdir_flag_spec='-R$libdir'
10281 hardcode_direct=yes
10282 hardcode_shlibpath_var=no
10286 if test "$GCC" = yes; then
10287 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'
10289 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'
10291 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10292 hardcode_libdir_separator=:
10293 hardcode_direct=yes
10295 # hardcode_minus_L: Not really in the search PATH,
10296 # but as the default location of the library.
10297 hardcode_minus_L=yes
10298 export_dynamic_flag_spec='${wl}-E'
10302 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10303 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10305 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10307 if test "$with_gnu_ld" = no; then
10308 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10309 hardcode_libdir_separator=:
10310 hardcode_direct=yes
10311 hardcode_direct_absolute=yes
10312 export_dynamic_flag_spec='${wl}-E'
10313 # hardcode_minus_L: Not really in the search PATH,
10314 # but as the default location of the library.
10315 hardcode_minus_L=yes
10320 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10323 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10326 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10329 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10335 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10338 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10342 # Older versions of the 11.00 compiler do not understand -b yet
10343 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10345 $as_echo_n "checking if $CC understands -b... " >&6; }
10346 if ${lt_cv_prog_compiler__b+:} false; then :
10347 $as_echo_n "(cached) " >&6
10349 lt_cv_prog_compiler__b=no
10350 save_LDFLAGS="$LDFLAGS"
10351 LDFLAGS="$LDFLAGS -b"
10352 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10353 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10354 # The linker can only warn and ignore the option if not recognized
10355 # So say no if there are warnings
10356 if test -s conftest.err; then
10357 # Append any errors to the config.log.
10358 cat conftest.err 1>&5
10359 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10360 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10361 if diff conftest.exp conftest.er2 >/dev/null; then
10362 lt_cv_prog_compiler__b=yes
10365 lt_cv_prog_compiler__b=yes
10369 LDFLAGS="$save_LDFLAGS"
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10373 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10375 if test x"$lt_cv_prog_compiler__b" = xyes; then
10376 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10378 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10384 if test "$with_gnu_ld" = no; then
10385 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10386 hardcode_libdir_separator=:
10391 hardcode_shlibpath_var=no
10394 hardcode_direct=yes
10395 hardcode_direct_absolute=yes
10396 export_dynamic_flag_spec='${wl}-E'
10398 # hardcode_minus_L: Not really in the search PATH,
10399 # but as the default location of the library.
10400 hardcode_minus_L=yes
10406 irix5* | irix6* | nonstopux*)
10407 if test "$GCC" = yes; then
10408 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'
10409 # Try to use the -exported_symbol ld option, if it does not
10410 # work, assume that -exports_file does not work either and
10411 # implicitly export all symbols.
10412 # This should be the same for all languages, so no per-tag cache variable.
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10414 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10415 if ${lt_cv_irix_exported_symbol+:} false; then :
10416 $as_echo_n "(cached) " >&6
10418 save_LDFLAGS="$LDFLAGS"
10419 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10422 int foo (void) { return 0; }
10424 if ac_fn_c_try_link "$LINENO"; then :
10425 lt_cv_irix_exported_symbol=yes
10427 lt_cv_irix_exported_symbol=no
10429 rm -f core conftest.err conftest.$ac_objext \
10430 conftest$ac_exeext conftest.$ac_ext
10431 LDFLAGS="$save_LDFLAGS"
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10434 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10435 if test "$lt_cv_irix_exported_symbol" = yes; then
10436 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'
10439 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'
10440 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'
10442 archive_cmds_need_lc='no'
10443 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10444 hardcode_libdir_separator=:
10446 link_all_deplibs=yes
10449 netbsd* | netbsdelf*-gnu)
10450 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10451 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10453 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10455 hardcode_libdir_flag_spec='-R$libdir'
10456 hardcode_direct=yes
10457 hardcode_shlibpath_var=no
10461 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10462 hardcode_direct=yes
10463 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10464 hardcode_libdir_separator=:
10465 hardcode_shlibpath_var=no
10472 if test -f /usr/libexec/ld.so; then
10473 hardcode_direct=yes
10474 hardcode_shlibpath_var=no
10475 hardcode_direct_absolute=yes
10476 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10477 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10478 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10479 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10480 export_dynamic_flag_spec='${wl}-E'
10483 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10484 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10485 hardcode_libdir_flag_spec='-R$libdir'
10488 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10489 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10499 hardcode_libdir_flag_spec='-L$libdir'
10500 hardcode_minus_L=yes
10501 allow_undefined_flag=unsupported
10502 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'
10503 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10507 if test "$GCC" = yes; then
10508 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10509 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'
10511 allow_undefined_flag=' -expect_unresolved \*'
10512 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'
10514 archive_cmds_need_lc='no'
10515 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10516 hardcode_libdir_separator=:
10519 osf4* | osf5*) # as osf3* with the addition of -msym flag
10520 if test "$GCC" = yes; then
10521 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10522 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'
10523 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10525 allow_undefined_flag=' -expect_unresolved \*'
10526 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'
10527 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~
10528 $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'
10530 # Both c and cxx compiler support -rpath directly
10531 hardcode_libdir_flag_spec='-rpath $libdir'
10533 archive_cmds_need_lc='no'
10534 hardcode_libdir_separator=:
10538 no_undefined_flag=' -z defs'
10539 if test "$GCC" = yes; then
10541 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10542 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10543 $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'
10545 case `$CC -V 2>&1` in
10548 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10549 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10550 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10554 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10555 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10556 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10560 hardcode_libdir_flag_spec='-R$libdir'
10561 hardcode_shlibpath_var=no
10563 solaris2.[0-5] | solaris2.[0-5].*) ;;
10565 # The compiler driver will combine and reorder linker options,
10566 # but understands `-z linker_flag'. GCC discards it without `$wl',
10567 # but is careful enough not to reorder.
10568 # Supported since Solaris 2.6 (maybe 2.5.1?)
10569 if test "$GCC" = yes; then
10570 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10572 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10576 link_all_deplibs=yes
10580 if test "x$host_vendor" = xsequent; then
10581 # Use $CC to link under sequent, because it throws in some extra .o
10582 # files that make .init and .fini sections work.
10583 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10585 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10587 hardcode_libdir_flag_spec='-L$libdir'
10588 hardcode_direct=yes
10589 hardcode_minus_L=yes
10590 hardcode_shlibpath_var=no
10594 case $host_vendor in
10596 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10597 hardcode_direct=yes # is this really true???
10600 ## LD is ld it makes a PLAMLIB
10601 ## CC just makes a GrossModule.
10602 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10603 reload_cmds='$CC -r -o $output$reload_objs'
10607 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10608 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10611 runpath_var='LD_RUN_PATH'
10612 hardcode_shlibpath_var=no
10616 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10617 hardcode_shlibpath_var=no
10618 export_dynamic_flag_spec='-Bexport'
10622 if test -d /usr/nec; then
10623 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10624 hardcode_shlibpath_var=no
10625 runpath_var=LD_RUN_PATH
10626 hardcode_runpath_var=yes
10631 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10632 no_undefined_flag='${wl}-z,text'
10633 archive_cmds_need_lc=no
10634 hardcode_shlibpath_var=no
10635 runpath_var='LD_RUN_PATH'
10637 if test "$GCC" = yes; then
10638 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10639 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10641 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10642 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10646 sysv5* | sco3.2v5* | sco5v6*)
10647 # Note: We can NOT use -z defs as we might desire, because we do not
10648 # link with -lc, and that would cause any symbols used from libc to
10649 # always be unresolved, which means just about no library would
10650 # ever link correctly. If we're not using GNU ld we use -z text
10651 # though, which does catch some bad symbols but isn't as heavy-handed
10653 no_undefined_flag='${wl}-z,text'
10654 allow_undefined_flag='${wl}-z,nodefs'
10655 archive_cmds_need_lc=no
10656 hardcode_shlibpath_var=no
10657 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10658 hardcode_libdir_separator=':'
10659 link_all_deplibs=yes
10660 export_dynamic_flag_spec='${wl}-Bexport'
10661 runpath_var='LD_RUN_PATH'
10663 if test "$GCC" = yes; then
10664 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10665 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10667 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10668 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10673 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10674 hardcode_libdir_flag_spec='-L$libdir'
10675 hardcode_shlibpath_var=no
10683 if test x$host_vendor = xsni; then
10685 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10686 export_dynamic_flag_spec='${wl}-Blargedynsym'
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10693 $as_echo "$ld_shlibs" >&6; }
10694 test "$ld_shlibs" = no && can_build_shared=no
10696 with_gnu_ld=$with_gnu_ld
10713 # Do we need to explicitly link libc?
10715 case "x$archive_cmds_need_lc" in
10717 # Assume -lc should be added
10718 archive_cmds_need_lc=yes
10720 if test "$enable_shared" = yes && test "$GCC" = yes; then
10721 case $archive_cmds in
10723 # FIXME: we may have to deal with multi-command sequences.
10726 # Test whether the compiler implicitly links with -lc since on some
10727 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10728 # to ld, don't add -lc before -lgcc.
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10730 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10731 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10732 $as_echo_n "(cached) " >&6
10735 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10737 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10738 (eval $ac_compile) 2>&5
10740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10741 test $ac_status = 0; } 2>conftest.err; then
10744 libobjs=conftest.$ac_objext
10746 wl=$lt_prog_compiler_wl
10747 pic_flag=$lt_prog_compiler_pic
10753 lt_save_allow_undefined_flag=$allow_undefined_flag
10754 allow_undefined_flag=
10755 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10756 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10759 test $ac_status = 0; }
10761 lt_cv_archive_cmds_need_lc=no
10763 lt_cv_archive_cmds_need_lc=yes
10765 allow_undefined_flag=$lt_save_allow_undefined_flag
10767 cat conftest.err 1>&5
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10773 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10774 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10933 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10935 if test "$GCC" = yes; then
10937 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10938 *) lt_awk_arg="/^libraries:/" ;;
10941 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10942 *) lt_sed_strip_eq="s,=/,/,g" ;;
10944 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10945 case $lt_search_path_spec in
10947 # if the path contains ";" then we assume it to be the separator
10948 # otherwise default to the standard path separator (i.e. ":") - it is
10949 # assumed that no part of a normal pathname contains ";" but that should
10950 # okay in the real world where ";" in dirpaths is itself problematic.
10951 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10954 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10957 # Ok, now we have the path, separated by spaces, we can step through it
10958 # and add multilib dir if necessary.
10959 lt_tmp_lt_search_path_spec=
10960 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10961 for lt_sys_path in $lt_search_path_spec; do
10962 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10963 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10965 test -d "$lt_sys_path" && \
10966 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10969 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10970 BEGIN {RS=" "; FS="/|\n";} {
10973 for (lt_i = NF; lt_i > 0; lt_i--) {
10974 if ($lt_i != "" && $lt_i != ".") {
10975 if ($lt_i == "..") {
10978 if (lt_count == 0) {
10979 lt_foo="/" $lt_i lt_foo;
10986 if (lt_foo != "") { lt_freq[lt_foo]++; }
10987 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10989 # AWK program above erroneously prepends '/' to C:/dos/paths
10992 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10993 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10995 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10997 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10999 library_names_spec=
11000 libname_spec='lib$name'
11004 postuninstall_cmds=
11008 shlibpath_overrides_runpath=unknown
11010 dynamic_linker="$host_os ld.so"
11011 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11012 need_lib_prefix=unknown
11013 hardcode_into_libs=no
11015 # when you set need_version to no, make sure it does not cause -set_version
11016 # flags to be left without arguments
11017 need_version=unknown
11021 version_type=linux # correct to gnu/linux during the next big refactor
11022 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11023 shlibpath_var=LIBPATH
11025 # AIX 3 has no versioning support, so we append a major version to the name.
11026 soname_spec='${libname}${release}${shared_ext}$major'
11030 version_type=linux # correct to gnu/linux during the next big refactor
11033 hardcode_into_libs=yes
11034 if test "$host_cpu" = ia64; then
11035 # AIX 5 supports IA64
11036 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11037 shlibpath_var=LD_LIBRARY_PATH
11039 # With GCC up to 2.95.x, collect2 would create an import file
11040 # for dependence libraries. The import file would start with
11041 # the line `#! .'. This would cause the generated library to
11042 # depend on `.', always an invalid library. This was fixed in
11043 # development snapshots of GCC prior to 3.0.
11045 aix4 | aix4.[01] | aix4.[01].*)
11046 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11048 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11051 can_build_shared=no
11055 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11056 # soname into executable. Probably we can add versioning support to
11057 # collect2, so additional links can be useful in future.
11058 if test "$aix_use_runtimelinking" = yes; then
11059 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11060 # instead of lib<name>.a to let people know that these are not
11061 # typical AIX shared libraries.
11062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11064 # We preserve .a as extension for shared libraries through AIX4.2
11065 # and later when we are not doing run time linking.
11066 library_names_spec='${libname}${release}.a $libname.a'
11067 soname_spec='${libname}${release}${shared_ext}$major'
11069 shlibpath_var=LIBPATH
11076 # Since July 2007 AmigaOS4 officially supports .so libraries.
11077 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11081 library_names_spec='$libname.ixlibrary $libname.a'
11082 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11083 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'
11089 library_names_spec='${libname}${shared_ext}'
11090 dynamic_linker="$host_os ld.so"
11091 shlibpath_var=LIBRARY_PATH
11095 version_type=linux # correct to gnu/linux during the next big refactor
11097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11098 soname_spec='${libname}${release}${shared_ext}$major'
11099 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11100 shlibpath_var=LD_LIBRARY_PATH
11101 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11102 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11103 # the default ld.so.conf also contains /usr/contrib/lib and
11104 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11105 # libtool to hard-code these into programs
11108 cygwin* | mingw* | pw32* | cegcc*)
11109 version_type=windows
11114 case $GCC,$cc_basename in
11117 library_names_spec='$libname.dll.a'
11118 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11119 postinstall_cmds='base_file=`basename \${file}`~
11120 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11121 dldir=$destdir/`dirname \$dlpath`~
11122 test -d \$dldir || mkdir -p \$dldir~
11123 $install_prog $dir/$dlname \$dldir/$dlname~
11124 chmod a+x \$dldir/$dlname~
11125 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11126 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11128 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11129 dlpath=$dir/\$dldll~
11131 shlibpath_overrides_runpath=yes
11135 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11136 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11138 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11141 # MinGW DLLs use traditional 'lib' prefix
11142 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11145 # pw32 DLLs use 'pw' prefix rather than 'lib'
11146 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11149 dynamic_linker='Win32 ld.exe'
11154 libname_spec='$name'
11155 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11156 library_names_spec='${libname}.dll.lib'
11160 sys_lib_search_path_spec=
11163 for lt_path in $LIB
11166 # Let DOS variable expansion print the short 8.3 style file name.
11167 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11168 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11171 # Convert to MSYS style.
11172 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11175 # Convert to unix form, then to dos form, then back to unix form
11176 # but this time dos style (no spaces!) so that the unix form looks
11177 # like /cygdrive/c/PROGRA~1:/cygdr...
11178 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11179 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11180 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11183 sys_lib_search_path_spec="$LIB"
11184 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11185 # It is most probably a Windows format PATH.
11186 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11188 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11190 # FIXME: find the short name or the path components, as spaces are
11191 # common. (e.g. "Program Files" -> "PROGRA~1")
11195 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11196 postinstall_cmds='base_file=`basename \${file}`~
11197 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11198 dldir=$destdir/`dirname \$dlpath`~
11199 test -d \$dldir || mkdir -p \$dldir~
11200 $install_prog $dir/$dlname \$dldir/$dlname'
11201 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11202 dlpath=$dir/\$dldll~
11204 shlibpath_overrides_runpath=yes
11205 dynamic_linker='Win32 link.exe'
11209 # Assume MSVC wrapper
11210 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11211 dynamic_linker='Win32 ld.exe'
11214 # FIXME: first we should search . and the directory the executable is in
11218 darwin* | rhapsody*)
11219 dynamic_linker="$host_os dyld"
11220 version_type=darwin
11223 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11224 soname_spec='${libname}${release}${major}$shared_ext'
11225 shlibpath_overrides_runpath=yes
11226 shlibpath_var=DYLD_LIBRARY_PATH
11227 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11229 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11230 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11234 version_type=linux # correct to gnu/linux during the next big refactor
11237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11238 soname_spec='${libname}${release}${shared_ext}$major'
11239 shlibpath_var=LD_LIBRARY_PATH
11242 freebsd* | dragonfly*)
11243 # DragonFly does not have aout. When/if they implement a new
11244 # versioning mechanism, adjust this.
11245 if test -x /usr/bin/objformat; then
11246 objformat=`/usr/bin/objformat`
11249 freebsd[23].*) objformat=aout ;;
11250 *) objformat=elf ;;
11253 version_type=freebsd-$objformat
11254 case $version_type in
11256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11261 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11265 shlibpath_var=LD_LIBRARY_PATH
11268 shlibpath_overrides_runpath=yes
11270 freebsd3.[01]* | freebsdelf3.[01]*)
11271 shlibpath_overrides_runpath=yes
11272 hardcode_into_libs=yes
11274 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11275 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11276 shlibpath_overrides_runpath=no
11277 hardcode_into_libs=yes
11279 *) # from 4.6 on, and DragonFly
11280 shlibpath_overrides_runpath=yes
11281 hardcode_into_libs=yes
11287 version_type=linux # correct to gnu/linux during the next big refactor
11290 dynamic_linker="$host_os runtime_loader"
11291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11292 soname_spec='${libname}${release}${shared_ext}$major'
11293 shlibpath_var=LIBRARY_PATH
11294 shlibpath_overrides_runpath=yes
11295 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11296 hardcode_into_libs=yes
11299 hpux9* | hpux10* | hpux11*)
11300 # Give a soname corresponding to the major version so that dld.sl refuses to
11301 # link against other versions.
11308 hardcode_into_libs=yes
11309 dynamic_linker="$host_os dld.so"
11310 shlibpath_var=LD_LIBRARY_PATH
11311 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11313 soname_spec='${libname}${release}${shared_ext}$major'
11314 if test "X$HPUX_IA64_MODE" = X32; then
11315 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11317 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11319 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11323 hardcode_into_libs=yes
11324 dynamic_linker="$host_os dld.sl"
11325 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11326 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11328 soname_spec='${libname}${release}${shared_ext}$major'
11329 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11330 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11334 dynamic_linker="$host_os dld.sl"
11335 shlibpath_var=SHLIB_PATH
11336 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11338 soname_spec='${libname}${release}${shared_ext}$major'
11341 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11342 postinstall_cmds='chmod 555 $lib'
11343 # or fails outright, so override atomically:
11344 install_override_mode=555
11348 version_type=linux # correct to gnu/linux during the next big refactor
11351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11352 soname_spec='${libname}${release}${shared_ext}$major'
11353 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11354 shlibpath_var=LD_LIBRARY_PATH
11355 shlibpath_overrides_runpath=no
11356 hardcode_into_libs=yes
11359 irix5* | irix6* | nonstopux*)
11361 nonstopux*) version_type=nonstopux ;;
11363 if test "$lt_cv_prog_gnu_ld" = yes; then
11364 version_type=linux # correct to gnu/linux during the next big refactor
11371 soname_spec='${libname}${release}${shared_ext}$major'
11372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11374 irix5* | nonstopux*)
11375 libsuff= shlibsuff=
11378 case $LD in # libtool.m4 will add one of these switches to LD
11379 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11380 libsuff= shlibsuff= libmagic=32-bit;;
11381 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11382 libsuff=32 shlibsuff=N32 libmagic=N32;;
11383 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11384 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11385 *) libsuff= shlibsuff= libmagic=never-match;;
11389 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11390 shlibpath_overrides_runpath=no
11391 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11392 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11393 hardcode_into_libs=yes
11396 # No shared lib support for Linux oldld, aout, or coff.
11397 linux*oldld* | linux*aout* | linux*coff*)
11401 # This must be glibc/ELF.
11402 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11403 version_type=linux # correct to gnu/linux during the next big refactor
11406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11407 soname_spec='${libname}${release}${shared_ext}$major'
11408 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11409 shlibpath_var=LD_LIBRARY_PATH
11410 shlibpath_overrides_runpath=no
11412 # Some binutils ld are patched to set DT_RUNPATH
11413 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11414 $as_echo_n "(cached) " >&6
11416 lt_cv_shlibpath_overrides_runpath=no
11417 save_LDFLAGS=$LDFLAGS
11418 save_libdir=$libdir
11419 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11420 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11432 if ac_fn_c_try_link "$LINENO"; then :
11433 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11434 lt_cv_shlibpath_overrides_runpath=yes
11437 rm -f core conftest.err conftest.$ac_objext \
11438 conftest$ac_exeext conftest.$ac_ext
11439 LDFLAGS=$save_LDFLAGS
11440 libdir=$save_libdir
11444 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11446 # This implies no fast_install, which is unacceptable.
11447 # Some rework will be needed to allow for fast_install
11448 # before this can be enabled.
11449 hardcode_into_libs=yes
11451 # Append ld.so.conf contents to the search path
11452 if test -f /etc/ld.so.conf; then
11453 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' ' '`
11454 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11457 # We used to test for /lib/ld.so.1 and disable shared libraries on
11458 # powerpc, because MkLinux only supported shared libraries with the
11459 # GNU dynamic linker. Since this was broken with cross compilers,
11460 # most powerpc-linux boxes support dynamic linking these days and
11461 # people can always --disable-shared, the test was removed, and we
11462 # assume the GNU/Linux dynamic linker is in use.
11463 dynamic_linker='GNU/Linux ld.so'
11470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11471 soname_spec='${libname}${release}${shared_ext}$major'
11472 shlibpath_var=LD_LIBRARY_PATH
11473 shlibpath_overrides_runpath=no
11474 hardcode_into_libs=yes
11475 dynamic_linker='NetBSD ld.elf_so'
11482 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11484 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11485 dynamic_linker='NetBSD (a.out) ld.so'
11487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11488 soname_spec='${libname}${release}${shared_ext}$major'
11489 dynamic_linker='NetBSD ld.elf_so'
11491 shlibpath_var=LD_LIBRARY_PATH
11492 shlibpath_overrides_runpath=yes
11493 hardcode_into_libs=yes
11497 version_type=linux # correct to gnu/linux during the next big refactor
11498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11499 shlibpath_var=LD_LIBRARY_PATH
11500 shlibpath_overrides_runpath=yes
11507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11508 soname_spec='${libname}${release}${shared_ext}$major'
11509 shlibpath_var=LD_LIBRARY_PATH
11510 shlibpath_overrides_runpath=no
11511 hardcode_into_libs=yes
11512 dynamic_linker='ldqnx.so'
11517 sys_lib_dlsearch_path_spec="/usr/lib"
11519 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11521 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11522 *) need_version=no ;;
11524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11525 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11526 shlibpath_var=LD_LIBRARY_PATH
11527 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11529 openbsd2.[89] | openbsd2.[89].*)
11530 shlibpath_overrides_runpath=no
11533 shlibpath_overrides_runpath=yes
11537 shlibpath_overrides_runpath=yes
11542 libname_spec='$name'
11545 library_names_spec='$libname${shared_ext} $libname.a'
11546 dynamic_linker='OS/2 ld.exe'
11547 shlibpath_var=LIBPATH
11550 osf3* | osf4* | osf5*)
11554 soname_spec='${libname}${release}${shared_ext}$major'
11555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11556 shlibpath_var=LD_LIBRARY_PATH
11557 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11558 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11566 version_type=linux # correct to gnu/linux during the next big refactor
11569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11570 soname_spec='${libname}${release}${shared_ext}$major'
11571 shlibpath_var=LD_LIBRARY_PATH
11572 shlibpath_overrides_runpath=yes
11573 hardcode_into_libs=yes
11574 # ldd complains unless libraries are executable
11575 postinstall_cmds='chmod +x $lib'
11580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11581 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11582 shlibpath_var=LD_LIBRARY_PATH
11583 shlibpath_overrides_runpath=yes
11584 if test "$with_gnu_ld" = yes; then
11591 version_type=linux # correct to gnu/linux during the next big refactor
11592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11593 soname_spec='${libname}${release}${shared_ext}$major'
11594 shlibpath_var=LD_LIBRARY_PATH
11595 case $host_vendor in
11597 shlibpath_overrides_runpath=no
11599 runpath_var=LD_RUN_PATH
11607 shlibpath_overrides_runpath=no
11608 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11614 if test -d /usr/nec ;then
11615 version_type=linux # correct to gnu/linux during the next big refactor
11616 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11617 soname_spec='$libname${shared_ext}.$major'
11618 shlibpath_var=LD_LIBRARY_PATH
11622 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11623 version_type=freebsd-elf
11626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11627 soname_spec='${libname}${release}${shared_ext}$major'
11628 shlibpath_var=LD_LIBRARY_PATH
11629 shlibpath_overrides_runpath=yes
11630 hardcode_into_libs=yes
11631 if test "$with_gnu_ld" = yes; then
11632 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11634 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11637 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11641 sys_lib_dlsearch_path_spec='/usr/lib'
11645 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11646 version_type=linux # correct to gnu/linux during the next big refactor
11649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11650 shlibpath_var=LD_LIBRARY_PATH
11651 shlibpath_overrides_runpath=no
11652 hardcode_into_libs=yes
11656 version_type=linux # correct to gnu/linux during the next big refactor
11657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11658 soname_spec='${libname}${release}${shared_ext}$major'
11659 shlibpath_var=LD_LIBRARY_PATH
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11667 $as_echo "$dynamic_linker" >&6; }
11668 test "$dynamic_linker" = no && can_build_shared=no
11670 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11671 if test "$GCC" = yes; then
11672 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11675 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11676 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11678 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11679 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11774 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11776 if test -n "$hardcode_libdir_flag_spec" ||
11777 test -n "$runpath_var" ||
11778 test "X$hardcode_automatic" = "Xyes" ; then
11780 # We can hardcode non-existent directories.
11781 if test "$hardcode_direct" != no &&
11782 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11783 # have to relink, otherwise we might link with an installed library
11784 # when we should be linking with a yet-to-be-installed one
11785 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11786 test "$hardcode_minus_L" != no; then
11787 # Linking always hardcodes the temporary library directory.
11788 hardcode_action=relink
11790 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11791 hardcode_action=immediate
11794 # We cannot hardcode anything, or else we can only hardcode existing
11796 hardcode_action=unsupported
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11799 $as_echo "$hardcode_action" >&6; }
11801 if test "$hardcode_action" = relink ||
11802 test "$inherit_rpath" = yes; then
11803 # Fast installation is not supported
11804 enable_fast_install=no
11805 elif test "$shlibpath_overrides_runpath" = yes ||
11806 test "$enable_shared" = no; then
11807 # Fast installation is not necessary
11808 enable_fast_install=needless
11816 if test "x$enable_dlopen" != xyes; then
11817 enable_dlopen=unknown
11818 enable_dlopen_self=unknown
11819 enable_dlopen_self_static=unknown
11826 lt_cv_dlopen="load_add_on"
11828 lt_cv_dlopen_self=yes
11831 mingw* | pw32* | cegcc*)
11832 lt_cv_dlopen="LoadLibrary"
11837 lt_cv_dlopen="dlopen"
11842 # if libdl is installed we need to link against it
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11844 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11845 if ${ac_cv_lib_dl_dlopen+:} false; then :
11846 $as_echo_n "(cached) " >&6
11848 ac_check_lib_save_LIBS=$LIBS
11850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11851 /* end confdefs.h. */
11853 /* Override any GCC internal prototype to avoid an error.
11854 Use char because int might match the return type of a GCC
11855 builtin and then its argument prototype would still apply. */
11868 if ac_fn_c_try_link "$LINENO"; then :
11869 ac_cv_lib_dl_dlopen=yes
11871 ac_cv_lib_dl_dlopen=no
11873 rm -f core conftest.err conftest.$ac_objext \
11874 conftest$ac_exeext conftest.$ac_ext
11875 LIBS=$ac_check_lib_save_LIBS
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11878 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11879 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11880 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11883 lt_cv_dlopen="dyld"
11885 lt_cv_dlopen_self=yes
11892 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11893 if test "x$ac_cv_func_shl_load" = xyes; then :
11894 lt_cv_dlopen="shl_load"
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11897 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11898 if ${ac_cv_lib_dld_shl_load+:} false; then :
11899 $as_echo_n "(cached) " >&6
11901 ac_check_lib_save_LIBS=$LIBS
11903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11904 /* end confdefs.h. */
11906 /* Override any GCC internal prototype to avoid an error.
11907 Use char because int might match the return type of a GCC
11908 builtin and then its argument prototype would still apply. */
11916 return shl_load ();
11921 if ac_fn_c_try_link "$LINENO"; then :
11922 ac_cv_lib_dld_shl_load=yes
11924 ac_cv_lib_dld_shl_load=no
11926 rm -f core conftest.err conftest.$ac_objext \
11927 conftest$ac_exeext conftest.$ac_ext
11928 LIBS=$ac_check_lib_save_LIBS
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11931 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11932 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11933 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11935 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11936 if test "x$ac_cv_func_dlopen" = xyes; then :
11937 lt_cv_dlopen="dlopen"
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11940 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11941 if ${ac_cv_lib_dl_dlopen+:} false; then :
11942 $as_echo_n "(cached) " >&6
11944 ac_check_lib_save_LIBS=$LIBS
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11949 /* Override any GCC internal prototype to avoid an error.
11950 Use char because int might match the return type of a GCC
11951 builtin and then its argument prototype would still apply. */
11964 if ac_fn_c_try_link "$LINENO"; then :
11965 ac_cv_lib_dl_dlopen=yes
11967 ac_cv_lib_dl_dlopen=no
11969 rm -f core conftest.err conftest.$ac_objext \
11970 conftest$ac_exeext conftest.$ac_ext
11971 LIBS=$ac_check_lib_save_LIBS
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11974 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11975 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11976 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11979 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11980 if ${ac_cv_lib_svld_dlopen+:} false; then :
11981 $as_echo_n "(cached) " >&6
11983 ac_check_lib_save_LIBS=$LIBS
11984 LIBS="-lsvld $LIBS"
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11988 /* Override any GCC internal prototype to avoid an error.
11989 Use char because int might match the return type of a GCC
11990 builtin and then its argument prototype would still apply. */
12003 if ac_fn_c_try_link "$LINENO"; then :
12004 ac_cv_lib_svld_dlopen=yes
12006 ac_cv_lib_svld_dlopen=no
12008 rm -f core conftest.err conftest.$ac_objext \
12009 conftest$ac_exeext conftest.$ac_ext
12010 LIBS=$ac_check_lib_save_LIBS
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12013 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12014 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12015 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12018 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12019 if ${ac_cv_lib_dld_dld_link+:} false; then :
12020 $as_echo_n "(cached) " >&6
12022 ac_check_lib_save_LIBS=$LIBS
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12027 /* Override any GCC internal prototype to avoid an error.
12028 Use char because int might match the return type of a GCC
12029 builtin and then its argument prototype would still apply. */
12037 return dld_link ();
12042 if ac_fn_c_try_link "$LINENO"; then :
12043 ac_cv_lib_dld_dld_link=yes
12045 ac_cv_lib_dld_dld_link=no
12047 rm -f core conftest.err conftest.$ac_objext \
12048 conftest$ac_exeext conftest.$ac_ext
12049 LIBS=$ac_check_lib_save_LIBS
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12052 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12053 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12054 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12075 if test "x$lt_cv_dlopen" != xno; then
12081 case $lt_cv_dlopen in
12083 save_CPPFLAGS="$CPPFLAGS"
12084 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12086 save_LDFLAGS="$LDFLAGS"
12087 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12090 LIBS="$lt_cv_dlopen_libs $LIBS"
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12093 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12094 if ${lt_cv_dlopen_self+:} false; then :
12095 $as_echo_n "(cached) " >&6
12097 if test "$cross_compiling" = yes; then :
12098 lt_cv_dlopen_self=cross
12100 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12101 lt_status=$lt_dlunknown
12102 cat > conftest.$ac_ext <<_LT_EOF
12103 #line $LINENO "configure"
12104 #include "confdefs.h"
12113 # define LT_DLGLOBAL RTLD_GLOBAL
12116 # define LT_DLGLOBAL DL_GLOBAL
12118 # define LT_DLGLOBAL 0
12122 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12123 find out it does not work in some platform. */
12124 #ifndef LT_DLLAZY_OR_NOW
12126 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12129 # define LT_DLLAZY_OR_NOW DL_LAZY
12132 # define LT_DLLAZY_OR_NOW RTLD_NOW
12135 # define LT_DLLAZY_OR_NOW DL_NOW
12137 # define LT_DLLAZY_OR_NOW 0
12144 /* When -fvisbility=hidden is used, assume the code has been annotated
12145 correspondingly for the symbols needed. */
12146 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12147 int fnord () __attribute__((visibility("default")));
12150 int fnord () { return 42; }
12153 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12154 int status = $lt_dlunknown;
12158 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12161 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12162 else puts (dlerror ());
12164 /* dlclose (self); */
12172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12173 (eval $ac_link) 2>&5
12175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12176 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12177 (./conftest; exit; ) >&5 2>/dev/null
12179 case x$lt_status in
12180 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12181 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12182 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12185 # compilation failed
12186 lt_cv_dlopen_self=no
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12194 $as_echo "$lt_cv_dlopen_self" >&6; }
12196 if test "x$lt_cv_dlopen_self" = xyes; then
12197 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12199 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12200 if ${lt_cv_dlopen_self_static+:} false; then :
12201 $as_echo_n "(cached) " >&6
12203 if test "$cross_compiling" = yes; then :
12204 lt_cv_dlopen_self_static=cross
12206 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12207 lt_status=$lt_dlunknown
12208 cat > conftest.$ac_ext <<_LT_EOF
12209 #line $LINENO "configure"
12210 #include "confdefs.h"
12219 # define LT_DLGLOBAL RTLD_GLOBAL
12222 # define LT_DLGLOBAL DL_GLOBAL
12224 # define LT_DLGLOBAL 0
12228 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12229 find out it does not work in some platform. */
12230 #ifndef LT_DLLAZY_OR_NOW
12232 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12235 # define LT_DLLAZY_OR_NOW DL_LAZY
12238 # define LT_DLLAZY_OR_NOW RTLD_NOW
12241 # define LT_DLLAZY_OR_NOW DL_NOW
12243 # define LT_DLLAZY_OR_NOW 0
12250 /* When -fvisbility=hidden is used, assume the code has been annotated
12251 correspondingly for the symbols needed. */
12252 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12253 int fnord () __attribute__((visibility("default")));
12256 int fnord () { return 42; }
12259 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12260 int status = $lt_dlunknown;
12264 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12267 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12268 else puts (dlerror ());
12270 /* dlclose (self); */
12278 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12279 (eval $ac_link) 2>&5
12281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12282 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12283 (./conftest; exit; ) >&5 2>/dev/null
12285 case x$lt_status in
12286 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12287 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12288 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12291 # compilation failed
12292 lt_cv_dlopen_self_static=no
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12300 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12303 CPPFLAGS="$save_CPPFLAGS"
12304 LDFLAGS="$save_LDFLAGS"
12309 case $lt_cv_dlopen_self in
12310 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12311 *) enable_dlopen_self=unknown ;;
12314 case $lt_cv_dlopen_self_static in
12315 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12316 *) enable_dlopen_self_static=unknown ;;
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12339 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12340 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12341 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12342 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12344 $as_echo "yes" >&6; }
12346 # FIXME - insert some real tests, host_os isn't really good enough
12349 if test -n "$STRIP" ; then
12350 striplib="$STRIP -x"
12351 old_striplib="$STRIP -S"
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12353 $as_echo "yes" >&6; }
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12356 $as_echo "no" >&6; }
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12361 $as_echo "no" >&6; }
12377 # Report which library types will actually be built
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12379 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12381 $as_echo "$can_build_shared" >&6; }
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12384 $as_echo_n "checking whether to build shared libraries... " >&6; }
12385 test "$can_build_shared" = "no" && enable_shared=no
12387 # On AIX, shared libraries and static libraries use the same namespace, and
12388 # are all built from PIC.
12391 test "$enable_shared" = yes && enable_static=no
12392 if test -n "$RANLIB"; then
12393 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12394 postinstall_cmds='$RANLIB $lib'
12399 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12400 test "$enable_shared" = yes && enable_static=no
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12405 $as_echo "$enable_shared" >&6; }
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12408 $as_echo_n "checking whether to build static libraries... " >&6; }
12409 # Make sure either enable_shared or enable_static is yes.
12410 test "$enable_shared" = yes || enable_static=yes
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12412 $as_echo "$enable_static" >&6; }
12419 ac_cpp='$CPP $CPPFLAGS'
12420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12440 ac_config_commands="$ac_config_commands libtool"
12445 # Only expand once:
12449 # Check for programs
12451 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
12452 if test "x$ac_cv_header_minix_config_h" = xyes; then :
12459 if test "$MINIX" = yes; then
12461 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
12464 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
12467 $as_echo "#define _MINIX 1" >>confdefs.h
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
12473 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
12474 if ${ac_cv_safe_to_define___extensions__+:} false; then :
12475 $as_echo_n "(cached) " >&6
12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12480 # define __EXTENSIONS__ 1
12481 $ac_includes_default
12490 if ac_fn_c_try_compile "$LINENO"; then :
12491 ac_cv_safe_to_define___extensions__=yes
12493 ac_cv_safe_to_define___extensions__=no
12495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
12498 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
12499 test $ac_cv_safe_to_define___extensions__ = yes &&
12500 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
12502 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
12504 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
12506 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
12508 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
12512 ac_cpp='$CPP $CPPFLAGS'
12513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12516 if test -n "$ac_tool_prefix"; then
12517 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12518 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12520 $as_echo_n "checking for $ac_word... " >&6; }
12521 if ${ac_cv_prog_CC+:} false; then :
12522 $as_echo_n "(cached) " >&6
12524 if test -n "$CC"; then
12525 ac_cv_prog_CC="$CC" # Let the user override the test.
12527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12528 for as_dir in $PATH
12531 test -z "$as_dir" && as_dir=.
12532 for ac_exec_ext in '' $ac_executable_extensions; do
12533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12534 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12545 if test -n "$CC"; then
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12547 $as_echo "$CC" >&6; }
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12550 $as_echo "no" >&6; }
12555 if test -z "$ac_cv_prog_CC"; then
12557 # Extract the first word of "gcc", so it can be a program name with args.
12558 set dummy gcc; ac_word=$2
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12560 $as_echo_n "checking for $ac_word... " >&6; }
12561 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12562 $as_echo_n "(cached) " >&6
12564 if test -n "$ac_ct_CC"; then
12565 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12568 for as_dir in $PATH
12571 test -z "$as_dir" && as_dir=.
12572 for ac_exec_ext in '' $ac_executable_extensions; do
12573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12574 ac_cv_prog_ac_ct_CC="gcc"
12575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12584 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12585 if test -n "$ac_ct_CC"; then
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12587 $as_echo "$ac_ct_CC" >&6; }
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12590 $as_echo "no" >&6; }
12593 if test "x$ac_ct_CC" = x; then
12596 case $cross_compiling:$ac_tool_warned in
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12600 ac_tool_warned=yes ;;
12605 CC="$ac_cv_prog_CC"
12608 if test -z "$CC"; then
12609 if test -n "$ac_tool_prefix"; then
12610 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12611 set dummy ${ac_tool_prefix}cc; ac_word=$2
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12613 $as_echo_n "checking for $ac_word... " >&6; }
12614 if ${ac_cv_prog_CC+:} false; then :
12615 $as_echo_n "(cached) " >&6
12617 if test -n "$CC"; then
12618 ac_cv_prog_CC="$CC" # Let the user override the test.
12620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12621 for as_dir in $PATH
12624 test -z "$as_dir" && as_dir=.
12625 for ac_exec_ext in '' $ac_executable_extensions; do
12626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12627 ac_cv_prog_CC="${ac_tool_prefix}cc"
12628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12638 if test -n "$CC"; then
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12640 $as_echo "$CC" >&6; }
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12643 $as_echo "no" >&6; }
12649 if test -z "$CC"; then
12650 # Extract the first word of "cc", so it can be a program name with args.
12651 set dummy cc; ac_word=$2
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12653 $as_echo_n "checking for $ac_word... " >&6; }
12654 if ${ac_cv_prog_CC+:} false; then :
12655 $as_echo_n "(cached) " >&6
12657 if test -n "$CC"; then
12658 ac_cv_prog_CC="$CC" # Let the user override the test.
12660 ac_prog_rejected=no
12661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12662 for as_dir in $PATH
12665 test -z "$as_dir" && as_dir=.
12666 for ac_exec_ext in '' $ac_executable_extensions; do
12667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12668 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12669 ac_prog_rejected=yes
12673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12680 if test $ac_prog_rejected = yes; then
12681 # We found a bogon in the path, so make sure we never use it.
12682 set dummy $ac_cv_prog_CC
12684 if test $# != 0; then
12685 # We chose a different compiler from the bogus one.
12686 # However, it has the same basename, so the bogon will be chosen
12687 # first if we set CC to just the basename; use the full file name.
12689 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12695 if test -n "$CC"; then
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12697 $as_echo "$CC" >&6; }
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12700 $as_echo "no" >&6; }
12705 if test -z "$CC"; then
12706 if test -n "$ac_tool_prefix"; then
12707 for ac_prog in cl.exe
12709 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12712 $as_echo_n "checking for $ac_word... " >&6; }
12713 if ${ac_cv_prog_CC+:} false; then :
12714 $as_echo_n "(cached) " >&6
12716 if test -n "$CC"; then
12717 ac_cv_prog_CC="$CC" # Let the user override the test.
12719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12720 for as_dir in $PATH
12723 test -z "$as_dir" && as_dir=.
12724 for ac_exec_ext in '' $ac_executable_extensions; do
12725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12726 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12737 if test -n "$CC"; then
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12739 $as_echo "$CC" >&6; }
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12742 $as_echo "no" >&6; }
12746 test -n "$CC" && break
12749 if test -z "$CC"; then
12751 for ac_prog in cl.exe
12753 # Extract the first word of "$ac_prog", so it can be a program name with args.
12754 set dummy $ac_prog; ac_word=$2
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12756 $as_echo_n "checking for $ac_word... " >&6; }
12757 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12758 $as_echo_n "(cached) " >&6
12760 if test -n "$ac_ct_CC"; then
12761 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12764 for as_dir in $PATH
12767 test -z "$as_dir" && as_dir=.
12768 for ac_exec_ext in '' $ac_executable_extensions; do
12769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12770 ac_cv_prog_ac_ct_CC="$ac_prog"
12771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12780 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12781 if test -n "$ac_ct_CC"; then
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12783 $as_echo "$ac_ct_CC" >&6; }
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12786 $as_echo "no" >&6; }
12790 test -n "$ac_ct_CC" && break
12793 if test "x$ac_ct_CC" = x; then
12796 case $cross_compiling:$ac_tool_warned in
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12800 ac_tool_warned=yes ;;
12809 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12811 as_fn_error $? "no acceptable C compiler found in \$PATH
12812 See \`config.log' for more details" "$LINENO" 5; }
12814 # Provide some information about the compiler.
12815 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12818 for ac_option in --version -v -V -qversion; do
12819 { { ac_try="$ac_compiler $ac_option >&5"
12820 case "(($ac_try" in
12821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12822 *) ac_try_echo=$ac_try;;
12824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12825 $as_echo "$ac_try_echo"; } >&5
12826 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12828 if test -s conftest.err; then
12830 ... rest of stderr output deleted ...
12831 10q' conftest.err >conftest.er1
12832 cat conftest.er1 >&5
12834 rm -f conftest.er1 conftest.err
12835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12836 test $ac_status = 0; }
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12840 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12841 if ${ac_cv_c_compiler_gnu+:} false; then :
12842 $as_echo_n "(cached) " >&6
12844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12845 /* end confdefs.h. */
12858 if ac_fn_c_try_compile "$LINENO"; then :
12859 ac_compiler_gnu=yes
12863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12864 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12868 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12869 if test $ac_compiler_gnu = yes; then
12874 ac_test_CFLAGS=${CFLAGS+set}
12875 ac_save_CFLAGS=$CFLAGS
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12877 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12878 if ${ac_cv_prog_cc_g+:} false; then :
12879 $as_echo_n "(cached) " >&6
12881 ac_save_c_werror_flag=$ac_c_werror_flag
12882 ac_c_werror_flag=yes
12885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12886 /* end confdefs.h. */
12896 if ac_fn_c_try_compile "$LINENO"; then :
12897 ac_cv_prog_cc_g=yes
12900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12901 /* end confdefs.h. */
12911 if ac_fn_c_try_compile "$LINENO"; then :
12914 ac_c_werror_flag=$ac_save_c_werror_flag
12916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12917 /* end confdefs.h. */
12927 if ac_fn_c_try_compile "$LINENO"; then :
12928 ac_cv_prog_cc_g=yes
12930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12935 ac_c_werror_flag=$ac_save_c_werror_flag
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12938 $as_echo "$ac_cv_prog_cc_g" >&6; }
12939 if test "$ac_test_CFLAGS" = set; then
12940 CFLAGS=$ac_save_CFLAGS
12941 elif test $ac_cv_prog_cc_g = yes; then
12942 if test "$GCC" = yes; then
12948 if test "$GCC" = yes; then
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12955 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12956 if ${ac_cv_prog_cc_c89+:} false; then :
12957 $as_echo_n "(cached) " >&6
12959 ac_cv_prog_cc_c89=no
12961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12962 /* end confdefs.h. */
12963 #include <stdarg.h>
12966 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12967 struct buf { int x; };
12968 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12969 static char *e (p, i)
12975 static char *f (char * (*g) (char **, int), char **p, ...)
12980 s = g (p, va_arg (v,int));
12985 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12986 function prototypes and stuff, but not '\xHH' hex character constants.
12987 These don't provoke an error unfortunately, instead are silently treated
12988 as 'x'. The following induces an error, until -std is added to get
12989 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12990 array size at least. It's necessary to write '\x00'==0 to get something
12991 that's true only with -std. */
12992 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12994 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12995 inside strings and character constants. */
12997 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12999 int test (int i, double x);
13000 struct s1 {int (*f) (int a);};
13001 struct s2 {int (*f) (double a);};
13002 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13008 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13013 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13014 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13016 CC="$ac_save_CC $ac_arg"
13017 if ac_fn_c_try_compile "$LINENO"; then :
13018 ac_cv_prog_cc_c89=$ac_arg
13020 rm -f core conftest.err conftest.$ac_objext
13021 test "x$ac_cv_prog_cc_c89" != "xno" && break
13023 rm -f conftest.$ac_ext
13028 case "x$ac_cv_prog_cc_c89" in
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13031 $as_echo "none needed" >&6; } ;;
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13034 $as_echo "unsupported" >&6; } ;;
13036 CC="$CC $ac_cv_prog_cc_c89"
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13038 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13040 if test "x$ac_cv_prog_cc_c89" != xno; then :
13045 ac_cpp='$CPP $CPPFLAGS'
13046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13051 ac_cpp='$CPP $CPPFLAGS'
13052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13056 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13057 if ${am_cv_prog_cc_c_o+:} false; then :
13058 $as_echo_n "(cached) " >&6
13060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13071 # Make sure it works both with $CC and with simple cc.
13072 # Following AC_PROG_CC_C_O, we do the test twice because some
13073 # compilers refuse to overwrite an existing .o file with -o,
13074 # though they will create one.
13075 am_cv_prog_cc_c_o=yes
13076 for am_i in 1 2; do
13077 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
13078 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
13080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13081 (exit $ac_status); } \
13082 && test -f conftest2.$ac_objext; then
13085 am_cv_prog_cc_c_o=no
13089 rm -f core conftest*
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
13093 $as_echo "$am_cv_prog_cc_c_o" >&6; }
13094 if test "$am_cv_prog_cc_c_o" != yes; then
13095 # Losing compiler, so override with the script.
13096 # FIXME: It is wrong to rewrite CC.
13097 # But if we don't then we get into trouble of one sort or another.
13098 # A longer-term fix would be to have automake use am__CC in this case,
13099 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13100 CC="$am_aux_dir/compile $CC"
13103 ac_cpp='$CPP $CPPFLAGS'
13104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13109 depcc="$CC" am_compiler_list=
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13112 $as_echo_n "checking dependency style of $depcc... " >&6; }
13113 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13114 $as_echo_n "(cached) " >&6
13116 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13117 # We make a subdir and do the tests there. Otherwise we can end up
13118 # making bogus files that we don't know about and never remove. For
13119 # instance it was reported that on HP-UX the gcc test will end up
13120 # making a dummy file named 'D' -- because '-MD' means "put the output
13122 rm -rf conftest.dir
13124 # Copy depcomp to subdir because otherwise we won't find it if we're
13125 # using a relative directory.
13126 cp "$am_depcomp" conftest.dir
13128 # We will build objects and dependencies in a subdirectory because
13129 # it helps to detect inapplicable dependency modes. For instance
13130 # both Tru64's cc and ICC support -MD to output dependencies as a
13131 # side effect of compilation, but ICC will put the dependencies in
13132 # the current directory while Tru64 will put them in the object
13136 am_cv_CC_dependencies_compiler_type=none
13137 if test "$am_compiler_list" = ""; then
13138 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13140 am__universal=false
13141 case " $depcc " in #(
13142 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13145 for depmode in $am_compiler_list; do
13146 # Setup a source with many dependencies, because some compilers
13147 # like to wrap large dependency lists on column 80 (with \), and
13148 # we should not choose a depcomp mode which is confused by this.
13150 # We need to recreate these files for each test, as the compiler may
13151 # overwrite some of them when testing with obscure command lines.
13152 # This happens at least with the AIX C compiler.
13154 for i in 1 2 3 4 5 6; do
13155 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13156 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13157 # Solaris 10 /bin/sh.
13158 echo '/* dummy */' > sub/conftst$i.h
13160 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13162 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13163 # mode. It turns out that the SunPro C++ compiler does not properly
13164 # handle '-M -o', and we need to detect this. Also, some Intel
13165 # versions had trouble with output in subdirs.
13166 am__obj=sub/conftest.${OBJEXT-o}
13167 am__minus_obj="-o $am__obj"
13170 # This depmode causes a compiler race in universal mode.
13171 test "$am__universal" = false || continue
13174 # After this tag, mechanisms are not by side-effect, so they'll
13175 # only be used when explicitly requested.
13176 if test "x$enable_dependency_tracking" = xyes; then
13182 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13183 # This compiler won't grok '-c -o', but also, the minuso test has
13184 # not run yet. These depmodes are late enough in the game, and
13185 # so weak that their functioning should not be impacted.
13186 am__obj=conftest.${OBJEXT-o}
13191 if depmode=$depmode \
13192 source=sub/conftest.c object=$am__obj \
13193 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13194 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13195 >/dev/null 2>conftest.err &&
13196 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13197 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13198 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13199 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13200 # icc doesn't choke on unknown options, it will just issue warnings
13201 # or remarks (even with -Werror). So we grep stderr for any message
13202 # that says an option was ignored or not supported.
13203 # When given -MP, icc 7.0 and 7.1 complain thusly:
13204 # icc: Command line warning: ignoring option '-M'; no argument required
13205 # The diagnosis changed in icc 8.0:
13206 # icc: Command line remark: option '-MP' not supported
13207 if (grep 'ignoring option' conftest.err ||
13208 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13209 am_cv_CC_dependencies_compiler_type=$depmode
13216 rm -rf conftest.dir
13218 am_cv_CC_dependencies_compiler_type=none
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13223 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13224 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13227 test "x$enable_dependency_tracking" != xno \
13228 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13229 am__fastdepCC_TRUE=
13230 am__fastdepCC_FALSE='#'
13232 am__fastdepCC_TRUE='#'
13233 am__fastdepCC_FALSE=
13239 ac_cpp='$CXXCPP $CPPFLAGS'
13240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13243 if test -z "$CXX"; then
13244 if test -n "$CCC"; then
13247 if test -n "$ac_tool_prefix"; then
13248 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13250 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13251 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13253 $as_echo_n "checking for $ac_word... " >&6; }
13254 if ${ac_cv_prog_CXX+:} false; then :
13255 $as_echo_n "(cached) " >&6
13257 if test -n "$CXX"; then
13258 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13261 for as_dir in $PATH
13264 test -z "$as_dir" && as_dir=.
13265 for ac_exec_ext in '' $ac_executable_extensions; do
13266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13267 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13277 CXX=$ac_cv_prog_CXX
13278 if test -n "$CXX"; then
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13280 $as_echo "$CXX" >&6; }
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13283 $as_echo "no" >&6; }
13287 test -n "$CXX" && break
13290 if test -z "$CXX"; then
13292 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13294 # Extract the first word of "$ac_prog", so it can be a program name with args.
13295 set dummy $ac_prog; ac_word=$2
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13297 $as_echo_n "checking for $ac_word... " >&6; }
13298 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
13299 $as_echo_n "(cached) " >&6
13301 if test -n "$ac_ct_CXX"; then
13302 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13305 for as_dir in $PATH
13308 test -z "$as_dir" && as_dir=.
13309 for ac_exec_ext in '' $ac_executable_extensions; do
13310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13311 ac_cv_prog_ac_ct_CXX="$ac_prog"
13312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13321 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13322 if test -n "$ac_ct_CXX"; then
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13324 $as_echo "$ac_ct_CXX" >&6; }
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13327 $as_echo "no" >&6; }
13331 test -n "$ac_ct_CXX" && break
13334 if test "x$ac_ct_CXX" = x; then
13337 case $cross_compiling:$ac_tool_warned in
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13341 ac_tool_warned=yes ;;
13349 # Provide some information about the compiler.
13350 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13353 for ac_option in --version -v -V -qversion; do
13354 { { ac_try="$ac_compiler $ac_option >&5"
13355 case "(($ac_try" in
13356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13357 *) ac_try_echo=$ac_try;;
13359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13360 $as_echo "$ac_try_echo"; } >&5
13361 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13363 if test -s conftest.err; then
13365 ... rest of stderr output deleted ...
13366 10q' conftest.err >conftest.er1
13367 cat conftest.er1 >&5
13369 rm -f conftest.er1 conftest.err
13370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13371 test $ac_status = 0; }
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13375 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13376 if ${ac_cv_cxx_compiler_gnu+:} false; then :
13377 $as_echo_n "(cached) " >&6
13379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13380 /* end confdefs.h. */
13393 if ac_fn_cxx_try_compile "$LINENO"; then :
13394 ac_compiler_gnu=yes
13398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13399 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13403 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13404 if test $ac_compiler_gnu = yes; then
13409 ac_test_CXXFLAGS=${CXXFLAGS+set}
13410 ac_save_CXXFLAGS=$CXXFLAGS
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13412 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13413 if ${ac_cv_prog_cxx_g+:} false; then :
13414 $as_echo_n "(cached) " >&6
13416 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13417 ac_cxx_werror_flag=yes
13418 ac_cv_prog_cxx_g=no
13420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13421 /* end confdefs.h. */
13431 if ac_fn_cxx_try_compile "$LINENO"; then :
13432 ac_cv_prog_cxx_g=yes
13435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13446 if ac_fn_cxx_try_compile "$LINENO"; then :
13449 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13452 /* end confdefs.h. */
13462 if ac_fn_cxx_try_compile "$LINENO"; then :
13463 ac_cv_prog_cxx_g=yes
13465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13470 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13473 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13474 if test "$ac_test_CXXFLAGS" = set; then
13475 CXXFLAGS=$ac_save_CXXFLAGS
13476 elif test $ac_cv_prog_cxx_g = yes; then
13477 if test "$GXX" = yes; then
13483 if test "$GXX" = yes; then
13490 ac_cpp='$CPP $CPPFLAGS'
13491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13495 depcc="$CXX" am_compiler_list=
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13498 $as_echo_n "checking dependency style of $depcc... " >&6; }
13499 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
13500 $as_echo_n "(cached) " >&6
13502 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13503 # We make a subdir and do the tests there. Otherwise we can end up
13504 # making bogus files that we don't know about and never remove. For
13505 # instance it was reported that on HP-UX the gcc test will end up
13506 # making a dummy file named 'D' -- because '-MD' means "put the output
13508 rm -rf conftest.dir
13510 # Copy depcomp to subdir because otherwise we won't find it if we're
13511 # using a relative directory.
13512 cp "$am_depcomp" conftest.dir
13514 # We will build objects and dependencies in a subdirectory because
13515 # it helps to detect inapplicable dependency modes. For instance
13516 # both Tru64's cc and ICC support -MD to output dependencies as a
13517 # side effect of compilation, but ICC will put the dependencies in
13518 # the current directory while Tru64 will put them in the object
13522 am_cv_CXX_dependencies_compiler_type=none
13523 if test "$am_compiler_list" = ""; then
13524 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13526 am__universal=false
13527 case " $depcc " in #(
13528 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13531 for depmode in $am_compiler_list; do
13532 # Setup a source with many dependencies, because some compilers
13533 # like to wrap large dependency lists on column 80 (with \), and
13534 # we should not choose a depcomp mode which is confused by this.
13536 # We need to recreate these files for each test, as the compiler may
13537 # overwrite some of them when testing with obscure command lines.
13538 # This happens at least with the AIX C compiler.
13540 for i in 1 2 3 4 5 6; do
13541 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13542 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13543 # Solaris 10 /bin/sh.
13544 echo '/* dummy */' > sub/conftst$i.h
13546 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13548 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13549 # mode. It turns out that the SunPro C++ compiler does not properly
13550 # handle '-M -o', and we need to detect this. Also, some Intel
13551 # versions had trouble with output in subdirs.
13552 am__obj=sub/conftest.${OBJEXT-o}
13553 am__minus_obj="-o $am__obj"
13556 # This depmode causes a compiler race in universal mode.
13557 test "$am__universal" = false || continue
13560 # After this tag, mechanisms are not by side-effect, so they'll
13561 # only be used when explicitly requested.
13562 if test "x$enable_dependency_tracking" = xyes; then
13568 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13569 # This compiler won't grok '-c -o', but also, the minuso test has
13570 # not run yet. These depmodes are late enough in the game, and
13571 # so weak that their functioning should not be impacted.
13572 am__obj=conftest.${OBJEXT-o}
13577 if depmode=$depmode \
13578 source=sub/conftest.c object=$am__obj \
13579 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13580 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13581 >/dev/null 2>conftest.err &&
13582 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13583 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13584 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13585 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13586 # icc doesn't choke on unknown options, it will just issue warnings
13587 # or remarks (even with -Werror). So we grep stderr for any message
13588 # that says an option was ignored or not supported.
13589 # When given -MP, icc 7.0 and 7.1 complain thusly:
13590 # icc: Command line warning: ignoring option '-M'; no argument required
13591 # The diagnosis changed in icc 8.0:
13592 # icc: Command line remark: option '-MP' not supported
13593 if (grep 'ignoring option' conftest.err ||
13594 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13595 am_cv_CXX_dependencies_compiler_type=$depmode
13602 rm -rf conftest.dir
13604 am_cv_CXX_dependencies_compiler_type=none
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13609 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13610 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13613 test "x$enable_dependency_tracking" != xno \
13614 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13615 am__fastdepCXX_TRUE=
13616 am__fastdepCXX_FALSE='#'
13618 am__fastdepCXX_TRUE='#'
13619 am__fastdepCXX_FALSE=
13625 func_stripname_cnf ()
13628 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13629 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13631 } # func_stripname_cnf
13633 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13634 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13635 (test "X$CXX" != "Xg++"))) ; then
13637 ac_cpp='$CXXCPP $CPPFLAGS'
13638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13642 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13643 if test -z "$CXXCPP"; then
13644 if ${ac_cv_prog_CXXCPP+:} false; then :
13645 $as_echo_n "(cached) " >&6
13647 # Double quotes because CXXCPP needs to be expanded
13648 for CXXCPP in "$CXX -E" "/lib/cpp"
13650 ac_preproc_ok=false
13651 for ac_cxx_preproc_warn_flag in '' yes
13653 # Use a header file that comes with gcc, so configuring glibc
13654 # with a fresh cross-compiler works.
13655 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13656 # <limits.h> exists even on freestanding compilers.
13657 # On the NeXT, cc -E runs the code through the compiler's parser,
13658 # not just through cpp. "Syntax error" is here to catch this case.
13659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13660 /* end confdefs.h. */
13662 # include <limits.h>
13664 # include <assert.h>
13668 if ac_fn_cxx_try_cpp "$LINENO"; then :
13671 # Broken: fails on valid input.
13674 rm -f conftest.err conftest.i conftest.$ac_ext
13676 # OK, works on sane cases. Now check whether nonexistent headers
13677 # can be detected and how.
13678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13679 /* end confdefs.h. */
13680 #include <ac_nonexistent.h>
13682 if ac_fn_cxx_try_cpp "$LINENO"; then :
13683 # Broken: success on invalid input.
13686 # Passes both tests.
13690 rm -f conftest.err conftest.i conftest.$ac_ext
13693 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13694 rm -f conftest.i conftest.err conftest.$ac_ext
13695 if $ac_preproc_ok; then :
13700 ac_cv_prog_CXXCPP=$CXXCPP
13703 CXXCPP=$ac_cv_prog_CXXCPP
13705 ac_cv_prog_CXXCPP=$CXXCPP
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13708 $as_echo "$CXXCPP" >&6; }
13709 ac_preproc_ok=false
13710 for ac_cxx_preproc_warn_flag in '' yes
13712 # Use a header file that comes with gcc, so configuring glibc
13713 # with a fresh cross-compiler works.
13714 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13715 # <limits.h> exists even on freestanding compilers.
13716 # On the NeXT, cc -E runs the code through the compiler's parser,
13717 # not just through cpp. "Syntax error" is here to catch this case.
13718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13719 /* end confdefs.h. */
13721 # include <limits.h>
13723 # include <assert.h>
13727 if ac_fn_cxx_try_cpp "$LINENO"; then :
13730 # Broken: fails on valid input.
13733 rm -f conftest.err conftest.i conftest.$ac_ext
13735 # OK, works on sane cases. Now check whether nonexistent headers
13736 # can be detected and how.
13737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13738 /* end confdefs.h. */
13739 #include <ac_nonexistent.h>
13741 if ac_fn_cxx_try_cpp "$LINENO"; then :
13742 # Broken: success on invalid input.
13745 # Passes both tests.
13749 rm -f conftest.err conftest.i conftest.$ac_ext
13752 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13753 rm -f conftest.i conftest.err conftest.$ac_ext
13754 if $ac_preproc_ok; then :
13757 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13759 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13760 See \`config.log' for more details" "$LINENO" 5; }
13764 ac_cpp='$CPP $CPPFLAGS'
13765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13770 _lt_caught_CXX_error=yes
13774 ac_cpp='$CXXCPP $CPPFLAGS'
13775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13779 archive_cmds_need_lc_CXX=no
13780 allow_undefined_flag_CXX=
13781 always_export_symbols_CXX=no
13782 archive_expsym_cmds_CXX=
13783 compiler_needs_object_CXX=no
13784 export_dynamic_flag_spec_CXX=
13785 hardcode_direct_CXX=no
13786 hardcode_direct_absolute_CXX=no
13787 hardcode_libdir_flag_spec_CXX=
13788 hardcode_libdir_separator_CXX=
13789 hardcode_minus_L_CXX=no
13790 hardcode_shlibpath_var_CXX=unsupported
13791 hardcode_automatic_CXX=no
13792 inherit_rpath_CXX=no
13794 module_expsym_cmds_CXX=
13795 link_all_deplibs_CXX=unknown
13796 old_archive_cmds_CXX=$old_archive_cmds
13797 reload_flag_CXX=$reload_flag
13798 reload_cmds_CXX=$reload_cmds
13799 no_undefined_flag_CXX=
13800 whole_archive_flag_spec_CXX=
13801 enable_shared_with_static_runtimes_CXX=no
13803 # Source file extension for C++ test sources.
13806 # Object file extension for compiled C++ test sources.
13810 # No sense in running all these tests if we already determined that
13811 # the CXX compiler isn't working. Some variables (like enable_shared)
13812 # are currently assumed to apply to all compilers on this platform,
13813 # and will be corrupted by setting them based on a non-working compiler.
13814 if test "$_lt_caught_CXX_error" != yes; then
13815 # Code to be used in simple compile tests
13816 lt_simple_compile_test_code="int some_variable = 0;"
13818 # Code to be used in simple link tests
13819 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13821 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13828 # If no C compiler was specified, use CC.
13831 # If no C compiler flags were specified, use CFLAGS.
13832 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13834 # Allow CC to be a program name with arguments.
13838 # save warnings/boilerplate of simple test code
13839 ac_outfile=conftest.$ac_objext
13840 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13841 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13842 _lt_compiler_boilerplate=`cat conftest.err`
13845 ac_outfile=conftest.$ac_objext
13846 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13847 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13848 _lt_linker_boilerplate=`cat conftest.err`
13852 # Allow CC to be a program name with arguments.
13854 lt_save_CFLAGS=$CFLAGS
13858 lt_save_with_gnu_ld=$with_gnu_ld
13859 lt_save_path_LD=$lt_cv_path_LD
13860 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13861 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13863 $as_unset lt_cv_prog_gnu_ld
13865 if test -n "${lt_cv_path_LDCXX+set}"; then
13866 lt_cv_path_LD=$lt_cv_path_LDCXX
13868 $as_unset lt_cv_path_LD
13870 test -z "${LDCXX+set}" || LD=$LDCXX
13875 for cc_temp in $compiler""; do
13877 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13878 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13883 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13886 if test -n "$compiler"; then
13887 # We don't want -fno-exception when compiling C++ code, so set the
13888 # no_builtin_flag separately
13889 if test "$GXX" = yes; then
13890 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13892 lt_prog_compiler_no_builtin_flag_CXX=
13895 if test "$GXX" = yes; then
13896 # Set up default GNU C++ configuration
13900 # Check whether --with-gnu-ld was given.
13901 if test "${with_gnu_ld+set}" = set; then :
13902 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13908 if test "$GCC" = yes; then
13909 # Check if gcc -print-prog-name=ld gives a path.
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13911 $as_echo_n "checking for ld used by $CC... " >&6; }
13914 # gcc leaves a trailing carriage return which upsets mingw
13915 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13917 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13920 # Accept absolute paths.
13922 re_direlt='/[^/][^/]*/\.\./'
13923 # Canonicalize the pathname of ld
13924 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13925 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13926 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13928 test -z "$LD" && LD="$ac_prog"
13931 # If it fails, then pretend we aren't using GCC.
13935 # If it is relative, then search for the first ld in PATH.
13936 with_gnu_ld=unknown
13939 elif test "$with_gnu_ld" = yes; then
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13941 $as_echo_n "checking for GNU ld... " >&6; }
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13944 $as_echo_n "checking for non-GNU ld... " >&6; }
13946 if ${lt_cv_path_LD+:} false; then :
13947 $as_echo_n "(cached) " >&6
13949 if test -z "$LD"; then
13950 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13951 for ac_dir in $PATH; do
13953 test -z "$ac_dir" && ac_dir=.
13954 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13955 lt_cv_path_LD="$ac_dir/$ac_prog"
13956 # Check to see if the program is GNU ld. I'd rather use --version,
13957 # but apparently some variants of GNU ld only accept -v.
13958 # Break only if it was the GNU/non-GNU ld that we prefer.
13959 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13960 *GNU* | *'with BFD'*)
13961 test "$with_gnu_ld" != no && break
13964 test "$with_gnu_ld" != yes && break
13971 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13975 LD="$lt_cv_path_LD"
13976 if test -n "$LD"; then
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13978 $as_echo "$LD" >&6; }
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13981 $as_echo "no" >&6; }
13983 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13985 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13986 if ${lt_cv_prog_gnu_ld+:} false; then :
13987 $as_echo_n "(cached) " >&6
13989 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13990 case `$LD -v 2>&1 </dev/null` in
13991 *GNU* | *'with BFD'*)
13992 lt_cv_prog_gnu_ld=yes
13995 lt_cv_prog_gnu_ld=no
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14000 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14001 with_gnu_ld=$lt_cv_prog_gnu_ld
14009 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14010 # archiving commands below assume that GNU ld is being used.
14011 if test "$with_gnu_ld" = yes; then
14012 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14013 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'
14015 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14016 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14018 # If archive_cmds runs LD, not CC, wlarc should be empty
14019 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14020 # investigate it a little bit more. (MM)
14023 # ancient GNU ld didn't support --whole-archive et. al.
14024 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14025 $GREP 'no-whole-archive' > /dev/null; then
14026 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14028 whole_archive_flag_spec_CXX=
14034 # A generic and very simple default shared library creation
14035 # command for GNU C++ for the case where it uses the native
14036 # linker, instead of GNU ld. If possible, this setting should
14037 # overridden to take advantage of the native linker features on
14038 # the platform it is being used on.
14039 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14042 # Commands to make compiler produce verbose output that lists
14043 # what "hidden" libraries, object files and flags are used when
14044 # linking a shared library.
14045 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14053 # PORTME: fill in a description of your system's C++ link characteristics
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14055 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14059 # FIXME: insert proper C++ library support
14063 if test "$host_cpu" = ia64; then
14064 # On IA64, the linker does run time linking by default, so we don't
14065 # have to do anything special.
14066 aix_use_runtimelinking=no
14067 exp_sym_flag='-Bexport'
14070 aix_use_runtimelinking=no
14072 # Test if we are trying to use run time linking or normal
14073 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14074 # need to do runtime linking.
14075 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14076 for ld_flag in $LDFLAGS; do
14079 aix_use_runtimelinking=yes
14087 exp_sym_flag='-bexport'
14088 no_entry_flag='-bnoentry'
14091 # When large executables or shared objects are built, AIX ld can
14092 # have problems creating the table of contents. If linking a library
14093 # or program results in "error TOC overflow" add -mminimal-toc to
14094 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14095 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14097 archive_cmds_CXX=''
14098 hardcode_direct_CXX=yes
14099 hardcode_direct_absolute_CXX=yes
14100 hardcode_libdir_separator_CXX=':'
14101 link_all_deplibs_CXX=yes
14102 file_list_spec_CXX='${wl}-f,'
14104 if test "$GXX" = yes; then
14105 case $host_os in aix4.[012]|aix4.[012].*)
14106 # We only want to do this on AIX 4.2 and lower, the check
14107 # below for broken collect2 doesn't work under 4.3+
14108 collect2name=`${CC} -print-prog-name=collect2`
14109 if test -f "$collect2name" &&
14110 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14112 # We have reworked collect2
14115 # We have old collect2
14116 hardcode_direct_CXX=unsupported
14117 # It fails to find uninstalled libraries when the uninstalled
14118 # path is not listed in the libpath. Setting hardcode_minus_L
14119 # to unsupported forces relinking
14120 hardcode_minus_L_CXX=yes
14121 hardcode_libdir_flag_spec_CXX='-L$libdir'
14122 hardcode_libdir_separator_CXX=
14125 shared_flag='-shared'
14126 if test "$aix_use_runtimelinking" = yes; then
14127 shared_flag="$shared_flag "'${wl}-G'
14131 if test "$host_cpu" = ia64; then
14132 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14133 # chokes on -Wl,-G. The following line is correct:
14136 if test "$aix_use_runtimelinking" = yes; then
14137 shared_flag='${wl}-G'
14139 shared_flag='${wl}-bM:SRE'
14144 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14145 # It seems that -bexpall does not export symbols beginning with
14146 # underscore (_), so it is better to generate a list of symbols to
14148 always_export_symbols_CXX=yes
14149 if test "$aix_use_runtimelinking" = yes; then
14150 # Warning - without using the other runtime loading flags (-brtl),
14151 # -berok will link without error, but may produce a broken library.
14152 allow_undefined_flag_CXX='-berok'
14153 # Determine the default libpath from the value encoded in an empty
14155 if test "${lt_cv_aix_libpath+set}" = set; then
14156 aix_libpath=$lt_cv_aix_libpath
14158 if ${lt_cv_aix_libpath__CXX+:} false; then :
14159 $as_echo_n "(cached) " >&6
14161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14162 /* end confdefs.h. */
14172 if ac_fn_cxx_try_link "$LINENO"; then :
14174 lt_aix_libpath_sed='
14175 /Import File Strings/,/^$/ {
14177 s/^0 *\([^ ]*\) *$/\1/
14181 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14182 # Check for a 64-bit object if we didn't find anything.
14183 if test -z "$lt_cv_aix_libpath__CXX"; then
14184 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14187 rm -f core conftest.err conftest.$ac_objext \
14188 conftest$ac_exeext conftest.$ac_ext
14189 if test -z "$lt_cv_aix_libpath__CXX"; then
14190 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14195 aix_libpath=$lt_cv_aix_libpath__CXX
14198 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14200 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"
14202 if test "$host_cpu" = ia64; then
14203 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14204 allow_undefined_flag_CXX="-z nodefs"
14205 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"
14207 # Determine the default libpath from the value encoded in an
14208 # empty executable.
14209 if test "${lt_cv_aix_libpath+set}" = set; then
14210 aix_libpath=$lt_cv_aix_libpath
14212 if ${lt_cv_aix_libpath__CXX+:} false; then :
14213 $as_echo_n "(cached) " >&6
14215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14216 /* end confdefs.h. */
14226 if ac_fn_cxx_try_link "$LINENO"; then :
14228 lt_aix_libpath_sed='
14229 /Import File Strings/,/^$/ {
14231 s/^0 *\([^ ]*\) *$/\1/
14235 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14236 # Check for a 64-bit object if we didn't find anything.
14237 if test -z "$lt_cv_aix_libpath__CXX"; then
14238 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14241 rm -f core conftest.err conftest.$ac_objext \
14242 conftest$ac_exeext conftest.$ac_ext
14243 if test -z "$lt_cv_aix_libpath__CXX"; then
14244 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14249 aix_libpath=$lt_cv_aix_libpath__CXX
14252 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14253 # Warning - without using the other run time loading flags,
14254 # -berok will link without error, but may produce a broken library.
14255 no_undefined_flag_CXX=' ${wl}-bernotok'
14256 allow_undefined_flag_CXX=' ${wl}-berok'
14257 if test "$with_gnu_ld" = yes; then
14258 # We only use this code for GNU lds that support --whole-archive.
14259 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14261 # Exported symbols can be pulled into shared objects from archives
14262 whole_archive_flag_spec_CXX='$convenience'
14264 archive_cmds_need_lc_CXX=yes
14265 # This is similar to how AIX traditionally builds its shared
14267 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'
14273 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14274 allow_undefined_flag_CXX=unsupported
14275 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14276 # support --undefined. This deserves some investigation. FIXME
14277 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14284 case $cc_basename in
14286 # FIXME: insert proper C++ library support
14292 cygwin* | mingw* | pw32* | cegcc*)
14293 case $GXX,$cc_basename in
14296 # hardcode_libdir_flag_spec is actually meaningless, as there is
14297 # no search path for DLLs.
14298 hardcode_libdir_flag_spec_CXX=' '
14299 allow_undefined_flag_CXX=unsupported
14300 always_export_symbols_CXX=yes
14301 file_list_spec_CXX='@'
14302 # Tell ltmain to make .lib files, not .a files.
14304 # Tell ltmain to make .dll files, not .so files.
14306 # FIXME: Setting linknames here is a bad hack.
14307 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
14308 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14309 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
14311 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
14313 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14315 # The linker will not automatically build a static lib if we build a DLL.
14316 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14317 enable_shared_with_static_runtimes_CXX=yes
14319 old_postinstall_cmds_CXX='chmod 644 $oldlib'
14320 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14321 lt_tool_outputfile="@TOOL_OUTPUT@"~
14322 case $lt_outputfile in
14325 lt_outputfile="$lt_outputfile.exe"
14326 lt_tool_outputfile="$lt_tool_outputfile.exe"
14329 func_to_tool_file "$lt_outputfile"~
14330 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
14331 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14332 $RM "$lt_outputfile.manifest";
14337 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14338 # as there is no search path for DLLs.
14339 hardcode_libdir_flag_spec_CXX='-L$libdir'
14340 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
14341 allow_undefined_flag_CXX=unsupported
14342 always_export_symbols_CXX=no
14343 enable_shared_with_static_runtimes_CXX=yes
14345 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14346 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'
14347 # If the export-symbols file already is a .def file (1st line
14348 # is EXPORTS), use it as is; otherwise, prepend...
14349 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14350 cp $export_symbols $output_objdir/$soname.def;
14352 echo EXPORTS > $output_objdir/$soname.def;
14353 cat $export_symbols >> $output_objdir/$soname.def;
14355 $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'
14362 darwin* | rhapsody*)
14365 archive_cmds_need_lc_CXX=no
14366 hardcode_direct_CXX=no
14367 hardcode_automatic_CXX=yes
14368 hardcode_shlibpath_var_CXX=unsupported
14369 if test "$lt_cv_ld_force_load" = "yes"; then
14370 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\"`'
14373 whole_archive_flag_spec_CXX=''
14375 link_all_deplibs_CXX=yes
14376 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14377 case $cc_basename in
14378 ifort*) _lt_dar_can_shared=yes ;;
14379 *) _lt_dar_can_shared=$GCC ;;
14381 if test "$_lt_dar_can_shared" = "yes"; then
14382 output_verbose_link_cmd=func_echo_all
14383 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}"
14384 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14385 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}"
14386 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}"
14387 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14388 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}"
14389 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}"
14399 case $cc_basename in
14401 # FIXME: insert proper C++ library support
14405 # Green Hills C++ Compiler
14406 # FIXME: insert proper C++ library support
14410 # FIXME: insert proper C++ library support
14417 # C++ shared libraries reported to be fairly broken before
14423 archive_cmds_need_lc_CXX=no
14426 freebsd* | dragonfly*)
14427 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14433 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14434 link_all_deplibs_CXX=yes
14438 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14439 hardcode_libdir_separator_CXX=:
14440 export_dynamic_flag_spec_CXX='${wl}-E'
14441 hardcode_direct_CXX=yes
14442 hardcode_minus_L_CXX=yes # Not in the search PATH,
14443 # but as the default
14444 # location of the library.
14446 case $cc_basename in
14448 # FIXME: insert proper C++ library support
14452 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'
14453 # Commands to make compiler produce verbose output that lists
14454 # what "hidden" libraries, object files and flags are used when
14455 # linking a shared library.
14457 # There doesn't appear to be a way to prevent this compiler from
14458 # explicitly linking system object files so we need to strip them
14459 # from the output so that they don't get included in the library
14461 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"'
14464 if test "$GXX" = yes; then
14465 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'
14467 # FIXME: insert proper C++ library support
14475 if test $with_gnu_ld = no; then
14476 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14477 hardcode_libdir_separator_CXX=:
14483 export_dynamic_flag_spec_CXX='${wl}-E'
14489 hardcode_direct_CXX=no
14490 hardcode_shlibpath_var_CXX=no
14493 hardcode_direct_CXX=yes
14494 hardcode_direct_absolute_CXX=yes
14495 hardcode_minus_L_CXX=yes # Not in the search PATH,
14496 # but as the default
14497 # location of the library.
14501 case $cc_basename in
14503 # FIXME: insert proper C++ library support
14509 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14512 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14515 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14518 # Commands to make compiler produce verbose output that lists
14519 # what "hidden" libraries, object files and flags are used when
14520 # linking a shared library.
14522 # There doesn't appear to be a way to prevent this compiler from
14523 # explicitly linking system object files so we need to strip them
14524 # from the output so that they don't get included in the library
14526 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"'
14529 if test "$GXX" = yes; then
14530 if test $with_gnu_ld = no; then
14533 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14536 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14539 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'
14544 # FIXME: insert proper C++ library support
14552 hardcode_direct_CXX=no
14553 hardcode_shlibpath_var_CXX=no
14554 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14555 export_dynamic_flag_spec_CXX='${wl}-E'
14556 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14557 # Instead, shared libraries are loaded at an image base (0x10000000 by
14558 # default) and relocated if they conflict, which is a slow very memory
14559 # consuming and fragmenting process. To avoid this, we pick a random,
14560 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14561 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14562 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'
14563 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'
14566 case $cc_basename in
14569 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'
14571 # Archives containing C++ object files must be created using
14572 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14573 # necessary to make sure instantiated templates are included
14575 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14578 if test "$GXX" = yes; then
14579 if test "$with_gnu_ld" = no; then
14580 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'
14582 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'
14585 link_all_deplibs_CXX=yes
14588 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14589 hardcode_libdir_separator_CXX=:
14590 inherit_rpath_CXX=yes
14593 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14594 case $cc_basename in
14596 # Kuck and Associates, Inc. (KAI) C++ Compiler
14598 # KCC will only create a shared library if the output file
14599 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14600 # to its proper name (with version) after linking.
14601 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'
14602 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'
14603 # Commands to make compiler produce verbose output that lists
14604 # what "hidden" libraries, object files and flags are used when
14605 # linking a shared library.
14607 # There doesn't appear to be a way to prevent this compiler from
14608 # explicitly linking system object files so we need to strip them
14609 # from the output so that they don't get included in the library
14611 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"'
14613 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14614 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14616 # Archives containing C++ object files must be created using
14617 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14618 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14623 # version 8.0 and above of icpc choke on multiply defined symbols
14624 # if we add $predep_objects and $postdep_objects, however 7.1 and
14625 # earlier do not add the objects themselves.
14626 case `$CC -V 2>&1` in
14628 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14629 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'
14631 *) # Version 8.0 or newer
14634 ia64*) tmp_idyn=' -i_dynamic';;
14636 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14637 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'
14640 archive_cmds_need_lc_CXX=no
14641 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14642 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14643 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14646 # Portland Group C++ compiler
14648 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14649 prelink_cmds_CXX='tpldir=Template.dir~
14651 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14652 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14653 old_archive_cmds_CXX='tpldir=Template.dir~
14655 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14656 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14658 archive_cmds_CXX='tpldir=Template.dir~
14660 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14661 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14662 archive_expsym_cmds_CXX='tpldir=Template.dir~
14664 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14665 $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'
14667 *) # Version 6 and above use weak symbols
14668 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14669 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'
14673 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14674 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14675 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'
14679 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14680 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'
14682 runpath_var=LD_RUN_PATH
14683 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14684 hardcode_libdir_separator_CXX=:
14686 # Commands to make compiler produce verbose output that lists
14687 # what "hidden" libraries, object files and flags are used when
14688 # linking a shared library.
14690 # There doesn't appear to be a way to prevent this compiler from
14691 # explicitly linking system object files so we need to strip them
14692 # from the output so that they don't get included in the library
14694 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'
14696 xl* | mpixl* | bgxl*)
14697 # IBM XL 8.0 on PPC, with GNU ld
14698 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14699 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14700 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14701 if test "x$supports_anon_versioning" = xyes; then
14702 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14703 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14704 echo "local: *; };" >> $output_objdir/$libname.ver~
14705 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14709 case `$CC -V 2>&1 | sed 5q` in
14712 no_undefined_flag_CXX=' -zdefs'
14713 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14714 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'
14715 hardcode_libdir_flag_spec_CXX='-R$libdir'
14716 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'
14717 compiler_needs_object_CXX=yes
14719 # Not sure whether something based on
14720 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14722 output_verbose_link_cmd='func_echo_all'
14724 # Archives containing C++ object files must be created using
14725 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14726 # necessary to make sure instantiated templates are included
14728 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14736 # FIXME: insert proper C++ library support
14741 # FIXME: insert proper C++ library support
14746 case $cc_basename in
14748 # FIXME: insert proper C++ library support
14752 # FIXME: insert proper C++ library support
14759 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14760 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14762 hardcode_libdir_flag_spec_CXX='-R$libdir'
14763 hardcode_direct_CXX=yes
14764 hardcode_shlibpath_var_CXX=no
14766 # Workaround some broken pre-1.5 toolchains
14767 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14775 # C++ shared libraries are fairly broken
14780 if test -f /usr/libexec/ld.so; then
14781 hardcode_direct_CXX=yes
14782 hardcode_shlibpath_var_CXX=no
14783 hardcode_direct_absolute_CXX=yes
14784 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14785 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14786 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14787 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14788 export_dynamic_flag_spec_CXX='${wl}-E'
14789 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14791 output_verbose_link_cmd=func_echo_all
14797 osf3* | osf4* | osf5*)
14798 case $cc_basename in
14800 # Kuck and Associates, Inc. (KAI) C++ Compiler
14802 # KCC will only create a shared library if the output file
14803 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14804 # to its proper name (with version) after linking.
14805 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'
14807 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14808 hardcode_libdir_separator_CXX=:
14810 # Archives containing C++ object files must be created using
14811 # the KAI C++ compiler.
14813 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14814 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14818 # Rational C++ 2.4.1
14819 # FIXME: insert proper C++ library support
14825 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14826 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'
14827 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14830 allow_undefined_flag_CXX=' -expect_unresolved \*'
14831 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'
14832 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14833 echo "-hidden">> $lib.exp~
14834 $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~
14836 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14840 hardcode_libdir_separator_CXX=:
14842 # Commands to make compiler produce verbose output that lists
14843 # what "hidden" libraries, object files and flags are used when
14844 # linking a shared library.
14846 # There doesn't appear to be a way to prevent this compiler from
14847 # explicitly linking system object files so we need to strip them
14848 # from the output so that they don't get included in the library
14850 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"'
14853 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14854 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14857 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'
14860 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'
14864 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14865 hardcode_libdir_separator_CXX=:
14867 # Commands to make compiler produce verbose output that lists
14868 # what "hidden" libraries, object files and flags are used when
14869 # linking a shared library.
14870 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14873 # FIXME: insert proper C++ library support
14881 # FIXME: insert proper C++ library support
14886 case $cc_basename in
14889 # FIXME: insert proper C++ library support
14894 # FIXME: insert proper C++ library support
14898 # FIXME: insert proper C++ library support
14905 case $cc_basename in
14907 # Sun C++ 4.2, 5.x and Centerline C++
14908 archive_cmds_need_lc_CXX=yes
14909 no_undefined_flag_CXX=' -zdefs'
14910 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14911 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14912 $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'
14914 hardcode_libdir_flag_spec_CXX='-R$libdir'
14915 hardcode_shlibpath_var_CXX=no
14917 solaris2.[0-5] | solaris2.[0-5].*) ;;
14919 # The compiler driver will combine and reorder linker options,
14920 # but understands `-z linker_flag'.
14921 # Supported since Solaris 2.6 (maybe 2.5.1?)
14922 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14925 link_all_deplibs_CXX=yes
14927 output_verbose_link_cmd='func_echo_all'
14929 # Archives containing C++ object files must be created using
14930 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14931 # necessary to make sure instantiated templates are included
14933 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14936 # Green Hills C++ Compiler
14937 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14939 # The C++ compiler must be used to create the archive.
14940 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14943 # GNU C++ compiler with Solaris linker
14944 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14945 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14946 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14947 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14948 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14949 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14951 # Commands to make compiler produce verbose output that lists
14952 # what "hidden" libraries, object files and flags are used when
14953 # linking a shared library.
14954 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14956 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14958 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14959 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14960 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14962 # Commands to make compiler produce verbose output that lists
14963 # what "hidden" libraries, object files and flags are used when
14964 # linking a shared library.
14965 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14968 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14970 solaris2.[0-5] | solaris2.[0-5].*) ;;
14972 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14980 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14981 no_undefined_flag_CXX='${wl}-z,text'
14982 archive_cmds_need_lc_CXX=no
14983 hardcode_shlibpath_var_CXX=no
14984 runpath_var='LD_RUN_PATH'
14986 case $cc_basename in
14988 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14989 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14992 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14993 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14998 sysv5* | sco3.2v5* | sco5v6*)
14999 # Note: We can NOT use -z defs as we might desire, because we do not
15000 # link with -lc, and that would cause any symbols used from libc to
15001 # always be unresolved, which means just about no library would
15002 # ever link correctly. If we're not using GNU ld we use -z text
15003 # though, which does catch some bad symbols but isn't as heavy-handed
15005 no_undefined_flag_CXX='${wl}-z,text'
15006 allow_undefined_flag_CXX='${wl}-z,nodefs'
15007 archive_cmds_need_lc_CXX=no
15008 hardcode_shlibpath_var_CXX=no
15009 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15010 hardcode_libdir_separator_CXX=':'
15011 link_all_deplibs_CXX=yes
15012 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15013 runpath_var='LD_RUN_PATH'
15015 case $cc_basename in
15017 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15018 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15019 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15020 '"$old_archive_cmds_CXX"
15021 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15022 '"$reload_cmds_CXX"
15025 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15026 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15032 case $cc_basename in
15034 # NonStop-UX NCC 3.20
15035 # FIXME: insert proper C++ library support
15039 # FIXME: insert proper C++ library support
15046 # FIXME: insert proper C++ library support
15051 # FIXME: insert proper C++ library support
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15057 $as_echo "$ld_shlibs_CXX" >&6; }
15058 test "$ld_shlibs_CXX" = no && can_build_shared=no
15064 ## There is no encapsulation within the following macros, do not change
15065 ## the running order or otherwise move them around unless you know exactly
15066 ## what you are doing...
15067 # Dependencies to place before and after the object being linked:
15068 predep_objects_CXX=
15069 postdep_objects_CXX=
15072 compiler_lib_search_path_CXX=
15074 cat > conftest.$ac_ext <<_LT_EOF
15078 Foo (void) { a = 0; }
15085 _lt_libdeps_save_CFLAGS=$CFLAGS
15086 case "$CC $CFLAGS " in #(
15087 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15088 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15089 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15092 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15093 (eval $ac_compile) 2>&5
15095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15096 test $ac_status = 0; }; then
15097 # Parse the compiler output and extract the necessary
15098 # objects, libraries and library flags.
15100 # Sentinel used to keep track of whether or not we are before
15101 # the conftest object file.
15102 pre_test_object_deps_done=no
15104 for p in `eval "$output_verbose_link_cmd"`; do
15105 case ${prev}${p} in
15108 # Some compilers place space between "-{L,R}" and the path.
15109 # Remove the space.
15110 if test $p = "-L" ||
15111 test $p = "-R"; then
15116 # Expand the sysroot to ease extracting the directories later.
15117 if test -z "$prev"; then
15119 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15120 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15121 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15125 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15127 if test "$pre_test_object_deps_done" = no; then
15130 # Internal compiler library paths should come after those
15131 # provided the user. The postdeps already come after the
15132 # user supplied libs so there is no need to process them.
15133 if test -z "$compiler_lib_search_path_CXX"; then
15134 compiler_lib_search_path_CXX="${prev}${p}"
15136 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15139 # The "-l" case would never come before the object being
15140 # linked, so don't bother handling this case.
15143 if test -z "$postdeps_CXX"; then
15144 postdeps_CXX="${prev}${p}"
15146 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15152 *.lto.$objext) ;; # Ignore GCC LTO objects
15154 # This assumes that the test object file only shows up
15155 # once in the compiler output.
15156 if test "$p" = "conftest.$objext"; then
15157 pre_test_object_deps_done=yes
15161 if test "$pre_test_object_deps_done" = no; then
15162 if test -z "$predep_objects_CXX"; then
15163 predep_objects_CXX="$p"
15165 predep_objects_CXX="$predep_objects_CXX $p"
15168 if test -z "$postdep_objects_CXX"; then
15169 postdep_objects_CXX="$p"
15171 postdep_objects_CXX="$postdep_objects_CXX $p"
15176 *) ;; # Ignore the rest.
15184 echo "libtool.m4: error: problem compiling CXX test program"
15187 $RM -f confest.$objext
15188 CFLAGS=$_lt_libdeps_save_CFLAGS
15190 # PORTME: override above test on systems where it is broken
15193 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15194 # hack all around it, let's just trust "g++" to DTRT.
15195 predep_objects_CXX=
15196 postdep_objects_CXX=
15201 case `$CC -V 2>&1 | sed 5q` in
15205 # The more standards-conforming stlport4 library is
15206 # incompatible with the Cstd library. Avoid specifying
15207 # it if it's in CXXFLAGS. Ignore libCrun as
15208 # -library=stlport4 depends on it.
15209 case " $CXX $CXXFLAGS " in
15210 *" -library=stlport4 "*)
15211 solaris_use_stlport4=yes
15215 if test "$solaris_use_stlport4" != yes; then
15216 postdeps_CXX='-library=Cstd -library=Crun'
15223 case $cc_basename in
15225 # The more standards-conforming stlport4 library is
15226 # incompatible with the Cstd library. Avoid specifying
15227 # it if it's in CXXFLAGS. Ignore libCrun as
15228 # -library=stlport4 depends on it.
15229 case " $CXX $CXXFLAGS " in
15230 *" -library=stlport4 "*)
15231 solaris_use_stlport4=yes
15235 # Adding this requires a known-good setup of shared libraries for
15236 # Sun compiler versions before 5.6, else PIC objects from an old
15237 # archive will be linked into the output, leading to subtle bugs.
15238 if test "$solaris_use_stlport4" != yes; then
15239 postdeps_CXX='-library=Cstd -library=Crun'
15247 case " $postdeps_CXX " in
15248 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15250 compiler_lib_search_dirs_CXX=
15251 if test -n "${compiler_lib_search_path_CXX}"; then
15252 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15285 lt_prog_compiler_wl_CXX=
15286 lt_prog_compiler_pic_CXX=
15287 lt_prog_compiler_static_CXX=
15290 # C++ specific cases for pic, static, wl, etc.
15291 if test "$GXX" = yes; then
15292 lt_prog_compiler_wl_CXX='-Wl,'
15293 lt_prog_compiler_static_CXX='-static'
15297 # All AIX code is PIC.
15298 if test "$host_cpu" = ia64; then
15299 # AIX 5 now supports IA64 processor
15300 lt_prog_compiler_static_CXX='-Bstatic'
15307 # see comment about AmigaOS4 .so support
15308 lt_prog_compiler_pic_CXX='-fPIC'
15311 # FIXME: we need at least 68020 code to build shared libraries, but
15312 # adding the `-m68020' flag to GCC prevents building anything better,
15314 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15319 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15320 # PIC is the default for these OSes.
15322 mingw* | cygwin* | os2* | pw32* | cegcc*)
15323 # This hack is so that the source file can tell whether it is being
15324 # built for inclusion in a dll (and should export symbols for example).
15325 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15326 # (--disable-auto-import) libraries
15327 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15329 darwin* | rhapsody*)
15330 # PIC is the default on this platform
15331 # Common symbols not allowed in MH_DYLIB files
15332 lt_prog_compiler_pic_CXX='-fno-common'
15335 # DJGPP does not support shared libraries at all
15336 lt_prog_compiler_pic_CXX=
15339 # PIC is the default for Haiku.
15340 # The "-static" flag exists, but is broken.
15341 lt_prog_compiler_static_CXX=
15344 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15345 # Instead, we relocate shared libraries at runtime.
15348 if test -d /usr/nec; then
15349 lt_prog_compiler_pic_CXX=-Kconform_pic
15353 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15354 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15355 # sets the default TLS model and affects inlining.
15360 lt_prog_compiler_pic_CXX='-fPIC'
15365 # QNX uses GNU C++, but need to define -shared option too, otherwise
15366 # it will coredump.
15367 lt_prog_compiler_pic_CXX='-fPIC -shared'
15370 lt_prog_compiler_pic_CXX='-fPIC'
15376 # All AIX code is PIC.
15377 if test "$host_cpu" = ia64; then
15378 # AIX 5 now supports IA64 processor
15379 lt_prog_compiler_static_CXX='-Bstatic'
15381 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15385 case $cc_basename in
15387 # Green Hills C++ Compiler
15388 # _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"
15392 mingw* | cygwin* | os2* | pw32* | cegcc*)
15393 # This hack is so that the source file can tell whether it is being
15394 # built for inclusion in a dll (and should export symbols for example).
15395 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15398 case $cc_basename in
15400 lt_prog_compiler_pic_CXX='-KPIC'
15403 # Green Hills C++ Compiler
15404 lt_prog_compiler_pic_CXX='-pic'
15410 freebsd* | dragonfly*)
15411 # FreeBSD uses GNU C++
15413 hpux9* | hpux10* | hpux11*)
15414 case $cc_basename in
15416 lt_prog_compiler_wl_CXX='-Wl,'
15417 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15418 if test "$host_cpu" != ia64; then
15419 lt_prog_compiler_pic_CXX='+Z'
15423 lt_prog_compiler_wl_CXX='-Wl,'
15424 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15430 lt_prog_compiler_pic_CXX='+Z'
15439 # This is c89, which is MS Visual C++ (no shared libs)
15440 # Anyone wants to do a port?
15442 irix5* | irix6* | nonstopux*)
15443 case $cc_basename in
15445 lt_prog_compiler_wl_CXX='-Wl,'
15446 lt_prog_compiler_static_CXX='-non_shared'
15447 # CC pic flag -KPIC is the default.
15453 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15454 case $cc_basename in
15457 lt_prog_compiler_wl_CXX='--backend -Wl,'
15458 lt_prog_compiler_pic_CXX='-fPIC'
15461 # old Intel C++ for x86_64 which still supported -KPIC.
15462 lt_prog_compiler_wl_CXX='-Wl,'
15463 lt_prog_compiler_pic_CXX='-KPIC'
15464 lt_prog_compiler_static_CXX='-static'
15467 # Intel C++, used to be incompatible with GCC.
15468 # ICC 10 doesn't accept -KPIC any more.
15469 lt_prog_compiler_wl_CXX='-Wl,'
15470 lt_prog_compiler_pic_CXX='-fPIC'
15471 lt_prog_compiler_static_CXX='-static'
15474 # Portland Group C++ compiler
15475 lt_prog_compiler_wl_CXX='-Wl,'
15476 lt_prog_compiler_pic_CXX='-fpic'
15477 lt_prog_compiler_static_CXX='-Bstatic'
15481 # Make sure the PIC flag is empty. It appears that all Alpha
15482 # Linux and Compaq Tru64 Unix objects are PIC.
15483 lt_prog_compiler_pic_CXX=
15484 lt_prog_compiler_static_CXX='-non_shared'
15486 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15487 # IBM XL 8.0, 9.0 on PPC and BlueGene
15488 lt_prog_compiler_wl_CXX='-Wl,'
15489 lt_prog_compiler_pic_CXX='-qpic'
15490 lt_prog_compiler_static_CXX='-qstaticlink'
15493 case `$CC -V 2>&1 | sed 5q` in
15496 lt_prog_compiler_pic_CXX='-KPIC'
15497 lt_prog_compiler_static_CXX='-Bstatic'
15498 lt_prog_compiler_wl_CXX='-Qoption ld '
15509 case $cc_basename in
15511 lt_prog_compiler_pic_CXX='-W c,exportall'
15517 netbsd* | netbsdelf*-gnu)
15520 # QNX uses GNU C++, but need to define -shared option too, otherwise
15521 # it will coredump.
15522 lt_prog_compiler_pic_CXX='-fPIC -shared'
15524 osf3* | osf4* | osf5*)
15525 case $cc_basename in
15527 lt_prog_compiler_wl_CXX='--backend -Wl,'
15530 # Rational C++ 2.4.1
15531 lt_prog_compiler_pic_CXX='-pic'
15534 # Digital/Compaq C++
15535 lt_prog_compiler_wl_CXX='-Wl,'
15536 # Make sure the PIC flag is empty. It appears that all Alpha
15537 # Linux and Compaq Tru64 Unix objects are PIC.
15538 lt_prog_compiler_pic_CXX=
15539 lt_prog_compiler_static_CXX='-non_shared'
15548 case $cc_basename in
15550 # Sun C++ 4.2, 5.x and Centerline C++
15551 lt_prog_compiler_pic_CXX='-KPIC'
15552 lt_prog_compiler_static_CXX='-Bstatic'
15553 lt_prog_compiler_wl_CXX='-Qoption ld '
15556 # Green Hills C++ Compiler
15557 lt_prog_compiler_pic_CXX='-PIC'
15564 case $cc_basename in
15567 lt_prog_compiler_pic_CXX='-pic'
15568 lt_prog_compiler_static_CXX='-Bstatic'
15572 lt_prog_compiler_pic_CXX='-pic'
15578 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15579 case $cc_basename in
15581 lt_prog_compiler_wl_CXX='-Wl,'
15582 lt_prog_compiler_pic_CXX='-KPIC'
15583 lt_prog_compiler_static_CXX='-Bstatic'
15588 case $cc_basename in
15590 # NonStop-UX NCC 3.20
15591 lt_prog_compiler_pic_CXX='-KPIC'
15600 lt_prog_compiler_can_build_shared_CXX=no
15606 # For platforms which do not support PIC, -DPIC is meaningless:
15608 lt_prog_compiler_pic_CXX=
15611 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15616 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15617 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15618 $as_echo_n "(cached) " >&6
15620 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15623 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15624 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15627 # Check to make sure the PIC flag actually works.
15629 if test -n "$lt_prog_compiler_pic_CXX"; then
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15631 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15632 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15633 $as_echo_n "(cached) " >&6
15635 lt_cv_prog_compiler_pic_works_CXX=no
15636 ac_outfile=conftest.$ac_objext
15637 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15638 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15639 # Insert the option either (1) after the last *FLAGS variable, or
15640 # (2) before a word containing "conftest.", or (3) at the end.
15641 # Note that $ac_compile itself does not contain backslashes and begins
15642 # with a dollar sign (not a hyphen), so the echo should work correctly.
15643 # The option is referenced via a variable to avoid confusing sed.
15644 lt_compile=`echo "$ac_compile" | $SED \
15645 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15646 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15647 -e 's:$: $lt_compiler_flag:'`
15648 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15649 (eval "$lt_compile" 2>conftest.err)
15651 cat conftest.err >&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 if (exit $ac_status) && test -s "$ac_outfile"; then
15654 # The compiler can only warn and ignore the option if not recognized
15655 # So say no if there are warnings other than the usual output.
15656 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15657 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15658 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15659 lt_cv_prog_compiler_pic_works_CXX=yes
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15666 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15668 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15669 case $lt_prog_compiler_pic_CXX in
15671 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15674 lt_prog_compiler_pic_CXX=
15675 lt_prog_compiler_can_build_shared_CXX=no
15685 # Check to make sure the static flag actually works.
15687 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15689 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15690 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15691 $as_echo_n "(cached) " >&6
15693 lt_cv_prog_compiler_static_works_CXX=no
15694 save_LDFLAGS="$LDFLAGS"
15695 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15696 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15697 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15698 # The linker can only warn and ignore the option if not recognized
15699 # So say no if there are warnings
15700 if test -s conftest.err; then
15701 # Append any errors to the config.log.
15702 cat conftest.err 1>&5
15703 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15704 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15705 if diff conftest.exp conftest.er2 >/dev/null; then
15706 lt_cv_prog_compiler_static_works_CXX=yes
15709 lt_cv_prog_compiler_static_works_CXX=yes
15713 LDFLAGS="$save_LDFLAGS"
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15717 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15719 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15722 lt_prog_compiler_static_CXX=
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15729 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15730 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15731 $as_echo_n "(cached) " >&6
15733 lt_cv_prog_compiler_c_o_CXX=no
15734 $RM -r conftest 2>/dev/null
15738 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15740 lt_compiler_flag="-o out/conftest2.$ac_objext"
15741 # Insert the option either (1) after the last *FLAGS variable, or
15742 # (2) before a word containing "conftest.", or (3) at the end.
15743 # Note that $ac_compile itself does not contain backslashes and begins
15744 # with a dollar sign (not a hyphen), so the echo should work correctly.
15745 lt_compile=`echo "$ac_compile" | $SED \
15746 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15747 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15748 -e 's:$: $lt_compiler_flag:'`
15749 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15750 (eval "$lt_compile" 2>out/conftest.err)
15752 cat out/conftest.err >&5
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15756 # The compiler can only warn and ignore the option if not recognized
15757 # So say no if there are warnings
15758 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15759 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15760 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15761 lt_cv_prog_compiler_c_o_CXX=yes
15766 # SGI C++ compiler will create directory out/ii_files/ for
15767 # template instantiation
15768 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15769 $RM out/* && rmdir out
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15776 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15781 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15782 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15783 $as_echo_n "(cached) " >&6
15785 lt_cv_prog_compiler_c_o_CXX=no
15786 $RM -r conftest 2>/dev/null
15790 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15792 lt_compiler_flag="-o out/conftest2.$ac_objext"
15793 # Insert the option either (1) after the last *FLAGS variable, or
15794 # (2) before a word containing "conftest.", or (3) at the end.
15795 # Note that $ac_compile itself does not contain backslashes and begins
15796 # with a dollar sign (not a hyphen), so the echo should work correctly.
15797 lt_compile=`echo "$ac_compile" | $SED \
15798 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15799 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15800 -e 's:$: $lt_compiler_flag:'`
15801 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15802 (eval "$lt_compile" 2>out/conftest.err)
15804 cat out/conftest.err >&5
15805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15808 # The compiler can only warn and ignore the option if not recognized
15809 # So say no if there are warnings
15810 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15811 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15812 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15813 lt_cv_prog_compiler_c_o_CXX=yes
15818 # SGI C++ compiler will create directory out/ii_files/ for
15819 # template instantiation
15820 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15821 $RM out/* && rmdir out
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15828 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15833 hard_links="nottested"
15834 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15835 # do not overwrite the value of need_locks provided by the user
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15837 $as_echo_n "checking if we can lock with hard links... " >&6; }
15840 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15842 ln conftest.a conftest.b 2>&5 || hard_links=no
15843 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15845 $as_echo "$hard_links" >&6; }
15846 if test "$hard_links" = no; then
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15848 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15858 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15860 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15861 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15864 # If we're using GNU nm, then we don't want the "-C" option.
15865 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15866 # Also, AIX nm treats weak defined symbols like other global defined
15867 # symbols, whereas GNU nm marks them as "W".
15868 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15869 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'
15871 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'
15875 export_symbols_cmds_CXX="$ltdll_cmds"
15877 cygwin* | mingw* | cegcc*)
15878 case $cc_basename in
15880 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15883 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'
15884 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15888 linux* | k*bsd*-gnu | gnu*)
15889 link_all_deplibs_CXX=no
15892 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15897 $as_echo "$ld_shlibs_CXX" >&6; }
15898 test "$ld_shlibs_CXX" = no && can_build_shared=no
15900 with_gnu_ld_CXX=$with_gnu_ld
15908 # Do we need to explicitly link libc?
15910 case "x$archive_cmds_need_lc_CXX" in
15912 # Assume -lc should be added
15913 archive_cmds_need_lc_CXX=yes
15915 if test "$enable_shared" = yes && test "$GCC" = yes; then
15916 case $archive_cmds_CXX in
15918 # FIXME: we may have to deal with multi-command sequences.
15921 # Test whether the compiler implicitly links with -lc since on some
15922 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15923 # to ld, don't add -lc before -lgcc.
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15925 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15926 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15927 $as_echo_n "(cached) " >&6
15930 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15933 (eval $ac_compile) 2>&5
15935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15936 test $ac_status = 0; } 2>conftest.err; then
15939 libobjs=conftest.$ac_objext
15941 wl=$lt_prog_compiler_wl_CXX
15942 pic_flag=$lt_prog_compiler_pic_CXX
15948 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15949 allow_undefined_flag_CXX=
15950 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15951 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15954 test $ac_status = 0; }
15956 lt_cv_archive_cmds_need_lc_CXX=no
15958 lt_cv_archive_cmds_need_lc_CXX=yes
15960 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15962 cat conftest.err 1>&5
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15968 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15969 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16038 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16040 library_names_spec=
16041 libname_spec='lib$name'
16045 postuninstall_cmds=
16049 shlibpath_overrides_runpath=unknown
16051 dynamic_linker="$host_os ld.so"
16052 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16053 need_lib_prefix=unknown
16054 hardcode_into_libs=no
16056 # when you set need_version to no, make sure it does not cause -set_version
16057 # flags to be left without arguments
16058 need_version=unknown
16062 version_type=linux # correct to gnu/linux during the next big refactor
16063 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16064 shlibpath_var=LIBPATH
16066 # AIX 3 has no versioning support, so we append a major version to the name.
16067 soname_spec='${libname}${release}${shared_ext}$major'
16071 version_type=linux # correct to gnu/linux during the next big refactor
16074 hardcode_into_libs=yes
16075 if test "$host_cpu" = ia64; then
16076 # AIX 5 supports IA64
16077 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16078 shlibpath_var=LD_LIBRARY_PATH
16080 # With GCC up to 2.95.x, collect2 would create an import file
16081 # for dependence libraries. The import file would start with
16082 # the line `#! .'. This would cause the generated library to
16083 # depend on `.', always an invalid library. This was fixed in
16084 # development snapshots of GCC prior to 3.0.
16086 aix4 | aix4.[01] | aix4.[01].*)
16087 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16089 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16092 can_build_shared=no
16096 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16097 # soname into executable. Probably we can add versioning support to
16098 # collect2, so additional links can be useful in future.
16099 if test "$aix_use_runtimelinking" = yes; then
16100 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16101 # instead of lib<name>.a to let people know that these are not
16102 # typical AIX shared libraries.
16103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16105 # We preserve .a as extension for shared libraries through AIX4.2
16106 # and later when we are not doing run time linking.
16107 library_names_spec='${libname}${release}.a $libname.a'
16108 soname_spec='${libname}${release}${shared_ext}$major'
16110 shlibpath_var=LIBPATH
16117 # Since July 2007 AmigaOS4 officially supports .so libraries.
16118 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16122 library_names_spec='$libname.ixlibrary $libname.a'
16123 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16124 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'
16130 library_names_spec='${libname}${shared_ext}'
16131 dynamic_linker="$host_os ld.so"
16132 shlibpath_var=LIBRARY_PATH
16136 version_type=linux # correct to gnu/linux during the next big refactor
16138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16139 soname_spec='${libname}${release}${shared_ext}$major'
16140 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16141 shlibpath_var=LD_LIBRARY_PATH
16142 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16143 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16144 # the default ld.so.conf also contains /usr/contrib/lib and
16145 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16146 # libtool to hard-code these into programs
16149 cygwin* | mingw* | pw32* | cegcc*)
16150 version_type=windows
16155 case $GCC,$cc_basename in
16158 library_names_spec='$libname.dll.a'
16159 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16160 postinstall_cmds='base_file=`basename \${file}`~
16161 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16162 dldir=$destdir/`dirname \$dlpath`~
16163 test -d \$dldir || mkdir -p \$dldir~
16164 $install_prog $dir/$dlname \$dldir/$dlname~
16165 chmod a+x \$dldir/$dlname~
16166 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16167 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16169 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16170 dlpath=$dir/\$dldll~
16172 shlibpath_overrides_runpath=yes
16176 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16177 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16181 # MinGW DLLs use traditional 'lib' prefix
16182 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16185 # pw32 DLLs use 'pw' prefix rather than 'lib'
16186 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16189 dynamic_linker='Win32 ld.exe'
16194 libname_spec='$name'
16195 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16196 library_names_spec='${libname}.dll.lib'
16200 sys_lib_search_path_spec=
16203 for lt_path in $LIB
16206 # Let DOS variable expansion print the short 8.3 style file name.
16207 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16208 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16211 # Convert to MSYS style.
16212 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16215 # Convert to unix form, then to dos form, then back to unix form
16216 # but this time dos style (no spaces!) so that the unix form looks
16217 # like /cygdrive/c/PROGRA~1:/cygdr...
16218 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16219 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16220 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16223 sys_lib_search_path_spec="$LIB"
16224 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16225 # It is most probably a Windows format PATH.
16226 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16228 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16230 # FIXME: find the short name or the path components, as spaces are
16231 # common. (e.g. "Program Files" -> "PROGRA~1")
16235 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16236 postinstall_cmds='base_file=`basename \${file}`~
16237 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16238 dldir=$destdir/`dirname \$dlpath`~
16239 test -d \$dldir || mkdir -p \$dldir~
16240 $install_prog $dir/$dlname \$dldir/$dlname'
16241 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16242 dlpath=$dir/\$dldll~
16244 shlibpath_overrides_runpath=yes
16245 dynamic_linker='Win32 link.exe'
16249 # Assume MSVC wrapper
16250 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16251 dynamic_linker='Win32 ld.exe'
16254 # FIXME: first we should search . and the directory the executable is in
16258 darwin* | rhapsody*)
16259 dynamic_linker="$host_os dyld"
16260 version_type=darwin
16263 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16264 soname_spec='${libname}${release}${major}$shared_ext'
16265 shlibpath_overrides_runpath=yes
16266 shlibpath_var=DYLD_LIBRARY_PATH
16267 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16269 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16273 version_type=linux # correct to gnu/linux during the next big refactor
16276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16277 soname_spec='${libname}${release}${shared_ext}$major'
16278 shlibpath_var=LD_LIBRARY_PATH
16281 freebsd* | dragonfly*)
16282 # DragonFly does not have aout. When/if they implement a new
16283 # versioning mechanism, adjust this.
16284 if test -x /usr/bin/objformat; then
16285 objformat=`/usr/bin/objformat`
16288 freebsd[23].*) objformat=aout ;;
16289 *) objformat=elf ;;
16292 version_type=freebsd-$objformat
16293 case $version_type in
16295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16300 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16304 shlibpath_var=LD_LIBRARY_PATH
16307 shlibpath_overrides_runpath=yes
16309 freebsd3.[01]* | freebsdelf3.[01]*)
16310 shlibpath_overrides_runpath=yes
16311 hardcode_into_libs=yes
16313 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16314 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16315 shlibpath_overrides_runpath=no
16316 hardcode_into_libs=yes
16318 *) # from 4.6 on, and DragonFly
16319 shlibpath_overrides_runpath=yes
16320 hardcode_into_libs=yes
16326 version_type=linux # correct to gnu/linux during the next big refactor
16329 dynamic_linker="$host_os runtime_loader"
16330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16331 soname_spec='${libname}${release}${shared_ext}$major'
16332 shlibpath_var=LIBRARY_PATH
16333 shlibpath_overrides_runpath=yes
16334 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16335 hardcode_into_libs=yes
16338 hpux9* | hpux10* | hpux11*)
16339 # Give a soname corresponding to the major version so that dld.sl refuses to
16340 # link against other versions.
16347 hardcode_into_libs=yes
16348 dynamic_linker="$host_os dld.so"
16349 shlibpath_var=LD_LIBRARY_PATH
16350 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16352 soname_spec='${libname}${release}${shared_ext}$major'
16353 if test "X$HPUX_IA64_MODE" = X32; then
16354 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16356 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16358 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16362 hardcode_into_libs=yes
16363 dynamic_linker="$host_os dld.sl"
16364 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16365 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16367 soname_spec='${libname}${release}${shared_ext}$major'
16368 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16369 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16373 dynamic_linker="$host_os dld.sl"
16374 shlibpath_var=SHLIB_PATH
16375 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16377 soname_spec='${libname}${release}${shared_ext}$major'
16380 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16381 postinstall_cmds='chmod 555 $lib'
16382 # or fails outright, so override atomically:
16383 install_override_mode=555
16387 version_type=linux # correct to gnu/linux during the next big refactor
16390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16391 soname_spec='${libname}${release}${shared_ext}$major'
16392 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16393 shlibpath_var=LD_LIBRARY_PATH
16394 shlibpath_overrides_runpath=no
16395 hardcode_into_libs=yes
16398 irix5* | irix6* | nonstopux*)
16400 nonstopux*) version_type=nonstopux ;;
16402 if test "$lt_cv_prog_gnu_ld" = yes; then
16403 version_type=linux # correct to gnu/linux during the next big refactor
16410 soname_spec='${libname}${release}${shared_ext}$major'
16411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16413 irix5* | nonstopux*)
16414 libsuff= shlibsuff=
16417 case $LD in # libtool.m4 will add one of these switches to LD
16418 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16419 libsuff= shlibsuff= libmagic=32-bit;;
16420 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16421 libsuff=32 shlibsuff=N32 libmagic=N32;;
16422 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16423 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16424 *) libsuff= shlibsuff= libmagic=never-match;;
16428 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16429 shlibpath_overrides_runpath=no
16430 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16431 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16432 hardcode_into_libs=yes
16435 # No shared lib support for Linux oldld, aout, or coff.
16436 linux*oldld* | linux*aout* | linux*coff*)
16440 # This must be glibc/ELF.
16441 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16442 version_type=linux # correct to gnu/linux during the next big refactor
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 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16448 shlibpath_var=LD_LIBRARY_PATH
16449 shlibpath_overrides_runpath=no
16451 # Some binutils ld are patched to set DT_RUNPATH
16452 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16453 $as_echo_n "(cached) " >&6
16455 lt_cv_shlibpath_overrides_runpath=no
16456 save_LDFLAGS=$LDFLAGS
16457 save_libdir=$libdir
16458 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16459 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16471 if ac_fn_cxx_try_link "$LINENO"; then :
16472 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16473 lt_cv_shlibpath_overrides_runpath=yes
16476 rm -f core conftest.err conftest.$ac_objext \
16477 conftest$ac_exeext conftest.$ac_ext
16478 LDFLAGS=$save_LDFLAGS
16479 libdir=$save_libdir
16483 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16485 # This implies no fast_install, which is unacceptable.
16486 # Some rework will be needed to allow for fast_install
16487 # before this can be enabled.
16488 hardcode_into_libs=yes
16490 # Append ld.so.conf contents to the search path
16491 if test -f /etc/ld.so.conf; then
16492 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' ' '`
16493 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16496 # We used to test for /lib/ld.so.1 and disable shared libraries on
16497 # powerpc, because MkLinux only supported shared libraries with the
16498 # GNU dynamic linker. Since this was broken with cross compilers,
16499 # most powerpc-linux boxes support dynamic linking these days and
16500 # people can always --disable-shared, the test was removed, and we
16501 # assume the GNU/Linux dynamic linker is in use.
16502 dynamic_linker='GNU/Linux ld.so'
16509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16510 soname_spec='${libname}${release}${shared_ext}$major'
16511 shlibpath_var=LD_LIBRARY_PATH
16512 shlibpath_overrides_runpath=no
16513 hardcode_into_libs=yes
16514 dynamic_linker='NetBSD ld.elf_so'
16521 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16523 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16524 dynamic_linker='NetBSD (a.out) ld.so'
16526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16527 soname_spec='${libname}${release}${shared_ext}$major'
16528 dynamic_linker='NetBSD ld.elf_so'
16530 shlibpath_var=LD_LIBRARY_PATH
16531 shlibpath_overrides_runpath=yes
16532 hardcode_into_libs=yes
16536 version_type=linux # correct to gnu/linux during the next big refactor
16537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16538 shlibpath_var=LD_LIBRARY_PATH
16539 shlibpath_overrides_runpath=yes
16546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16547 soname_spec='${libname}${release}${shared_ext}$major'
16548 shlibpath_var=LD_LIBRARY_PATH
16549 shlibpath_overrides_runpath=no
16550 hardcode_into_libs=yes
16551 dynamic_linker='ldqnx.so'
16556 sys_lib_dlsearch_path_spec="/usr/lib"
16558 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16560 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16561 *) need_version=no ;;
16563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16564 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16565 shlibpath_var=LD_LIBRARY_PATH
16566 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16568 openbsd2.[89] | openbsd2.[89].*)
16569 shlibpath_overrides_runpath=no
16572 shlibpath_overrides_runpath=yes
16576 shlibpath_overrides_runpath=yes
16581 libname_spec='$name'
16584 library_names_spec='$libname${shared_ext} $libname.a'
16585 dynamic_linker='OS/2 ld.exe'
16586 shlibpath_var=LIBPATH
16589 osf3* | osf4* | osf5*)
16593 soname_spec='${libname}${release}${shared_ext}$major'
16594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16595 shlibpath_var=LD_LIBRARY_PATH
16596 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16597 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16605 version_type=linux # correct to gnu/linux during the next big refactor
16608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16609 soname_spec='${libname}${release}${shared_ext}$major'
16610 shlibpath_var=LD_LIBRARY_PATH
16611 shlibpath_overrides_runpath=yes
16612 hardcode_into_libs=yes
16613 # ldd complains unless libraries are executable
16614 postinstall_cmds='chmod +x $lib'
16619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16620 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16621 shlibpath_var=LD_LIBRARY_PATH
16622 shlibpath_overrides_runpath=yes
16623 if test "$with_gnu_ld" = yes; then
16630 version_type=linux # correct to gnu/linux during the next big refactor
16631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16632 soname_spec='${libname}${release}${shared_ext}$major'
16633 shlibpath_var=LD_LIBRARY_PATH
16634 case $host_vendor in
16636 shlibpath_overrides_runpath=no
16638 runpath_var=LD_RUN_PATH
16646 shlibpath_overrides_runpath=no
16647 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16653 if test -d /usr/nec ;then
16654 version_type=linux # correct to gnu/linux during the next big refactor
16655 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16656 soname_spec='$libname${shared_ext}.$major'
16657 shlibpath_var=LD_LIBRARY_PATH
16661 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16662 version_type=freebsd-elf
16665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16666 soname_spec='${libname}${release}${shared_ext}$major'
16667 shlibpath_var=LD_LIBRARY_PATH
16668 shlibpath_overrides_runpath=yes
16669 hardcode_into_libs=yes
16670 if test "$with_gnu_ld" = yes; then
16671 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16673 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16676 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16680 sys_lib_dlsearch_path_spec='/usr/lib'
16684 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16685 version_type=linux # correct to gnu/linux during the next big refactor
16688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16689 shlibpath_var=LD_LIBRARY_PATH
16690 shlibpath_overrides_runpath=no
16691 hardcode_into_libs=yes
16695 version_type=linux # correct to gnu/linux during the next big refactor
16696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16697 soname_spec='${libname}${release}${shared_ext}$major'
16698 shlibpath_var=LD_LIBRARY_PATH
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16706 $as_echo "$dynamic_linker" >&6; }
16707 test "$dynamic_linker" = no && can_build_shared=no
16709 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16710 if test "$GCC" = yes; then
16711 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16714 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16715 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16717 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16718 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16759 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16760 hardcode_action_CXX=
16761 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16762 test -n "$runpath_var_CXX" ||
16763 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16765 # We can hardcode non-existent directories.
16766 if test "$hardcode_direct_CXX" != no &&
16767 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16768 # have to relink, otherwise we might link with an installed library
16769 # when we should be linking with a yet-to-be-installed one
16770 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16771 test "$hardcode_minus_L_CXX" != no; then
16772 # Linking always hardcodes the temporary library directory.
16773 hardcode_action_CXX=relink
16775 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16776 hardcode_action_CXX=immediate
16779 # We cannot hardcode anything, or else we can only hardcode existing
16781 hardcode_action_CXX=unsupported
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16784 $as_echo "$hardcode_action_CXX" >&6; }
16786 if test "$hardcode_action_CXX" = relink ||
16787 test "$inherit_rpath_CXX" = yes; then
16788 # Fast installation is not supported
16789 enable_fast_install=no
16790 elif test "$shlibpath_overrides_runpath" = yes ||
16791 test "$enable_shared" = no; then
16792 # Fast installation is not necessary
16793 enable_fast_install=needless
16802 fi # test -n "$compiler"
16805 CFLAGS=$lt_save_CFLAGS
16809 with_gnu_ld=$lt_save_with_gnu_ld
16810 lt_cv_path_LDCXX=$lt_cv_path_LD
16811 lt_cv_path_LD=$lt_save_path_LD
16812 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16813 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16814 fi # test "$_lt_caught_CXX_error" != yes
16817 ac_cpp='$CPP $CPPFLAGS'
16818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16823 # Check whether --enable-largefile was given.
16824 if test "${enable_largefile+set}" = set; then :
16825 enableval=$enable_largefile;
16828 if test "$enable_largefile" != no; then
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16831 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16832 if ${ac_cv_sys_largefile_CC+:} false; then :
16833 $as_echo_n "(cached) " >&6
16835 ac_cv_sys_largefile_CC=no
16836 if test "$GCC" != yes; then
16839 # IRIX 6.2 and later do not support large files by default,
16840 # so use the C compiler's -n32 option if that helps.
16841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16842 /* end confdefs.h. */
16843 #include <sys/types.h>
16844 /* Check that off_t can represent 2**63 - 1 correctly.
16845 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16846 since some C++ compilers masquerading as C compilers
16847 incorrectly reject 9223372036854775807. */
16848 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
16849 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16850 && LARGE_OFF_T % 2147483647 == 1)
16860 if ac_fn_c_try_compile "$LINENO"; then :
16863 rm -f core conftest.err conftest.$ac_objext
16865 if ac_fn_c_try_compile "$LINENO"; then :
16866 ac_cv_sys_largefile_CC=' -n32'; break
16868 rm -f core conftest.err conftest.$ac_objext
16872 rm -f conftest.$ac_ext
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16876 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16877 if test "$ac_cv_sys_largefile_CC" != no; then
16878 CC=$CC$ac_cv_sys_largefile_CC
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16882 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16883 if ${ac_cv_sys_file_offset_bits+:} false; then :
16884 $as_echo_n "(cached) " >&6
16887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16888 /* end confdefs.h. */
16889 #include <sys/types.h>
16890 /* Check that off_t can represent 2**63 - 1 correctly.
16891 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16892 since some C++ compilers masquerading as C compilers
16893 incorrectly reject 9223372036854775807. */
16894 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
16895 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16896 && LARGE_OFF_T % 2147483647 == 1)
16906 if ac_fn_c_try_compile "$LINENO"; then :
16907 ac_cv_sys_file_offset_bits=no; break
16909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16911 /* end confdefs.h. */
16912 #define _FILE_OFFSET_BITS 64
16913 #include <sys/types.h>
16914 /* Check that off_t can represent 2**63 - 1 correctly.
16915 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16916 since some C++ compilers masquerading as C compilers
16917 incorrectly reject 9223372036854775807. */
16918 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
16919 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16920 && LARGE_OFF_T % 2147483647 == 1)
16930 if ac_fn_c_try_compile "$LINENO"; then :
16931 ac_cv_sys_file_offset_bits=64; break
16933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16934 ac_cv_sys_file_offset_bits=unknown
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16939 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16940 case $ac_cv_sys_file_offset_bits in #(
16943 cat >>confdefs.h <<_ACEOF
16944 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16949 if test $ac_cv_sys_file_offset_bits = unknown; then
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16951 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16952 if ${ac_cv_sys_large_files+:} false; then :
16953 $as_echo_n "(cached) " >&6
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16958 #include <sys/types.h>
16959 /* Check that off_t can represent 2**63 - 1 correctly.
16960 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16961 since some C++ compilers masquerading as C compilers
16962 incorrectly reject 9223372036854775807. */
16963 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
16964 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16965 && LARGE_OFF_T % 2147483647 == 1)
16975 if ac_fn_c_try_compile "$LINENO"; then :
16976 ac_cv_sys_large_files=no; break
16978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16981 #define _LARGE_FILES 1
16982 #include <sys/types.h>
16983 /* Check that off_t can represent 2**63 - 1 correctly.
16984 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16985 since some C++ compilers masquerading as C compilers
16986 incorrectly reject 9223372036854775807. */
16987 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
16988 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16989 && LARGE_OFF_T % 2147483647 == 1)
16999 if ac_fn_c_try_compile "$LINENO"; then :
17000 ac_cv_sys_large_files=1; break
17002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17003 ac_cv_sys_large_files=unknown
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
17008 $as_echo "$ac_cv_sys_large_files" >&6; }
17009 case $ac_cv_sys_large_files in #(
17012 cat >>confdefs.h <<_ACEOF
17013 #define _LARGE_FILES $ac_cv_sys_large_files
17025 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17026 if test -n "$ac_tool_prefix"; then
17027 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17028 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17030 $as_echo_n "checking for $ac_word... " >&6; }
17031 if ${ac_cv_path_PKG_CONFIG+:} false; then :
17032 $as_echo_n "(cached) " >&6
17034 case $PKG_CONFIG in
17036 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17040 for as_dir in $PATH
17043 test -z "$as_dir" && as_dir=.
17044 for ac_exec_ext in '' $ac_executable_extensions; do
17045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17046 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17057 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17058 if test -n "$PKG_CONFIG"; then
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17060 $as_echo "$PKG_CONFIG" >&6; }
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17063 $as_echo "no" >&6; }
17068 if test -z "$ac_cv_path_PKG_CONFIG"; then
17069 ac_pt_PKG_CONFIG=$PKG_CONFIG
17070 # Extract the first word of "pkg-config", so it can be a program name with args.
17071 set dummy pkg-config; ac_word=$2
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17073 $as_echo_n "checking for $ac_word... " >&6; }
17074 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17075 $as_echo_n "(cached) " >&6
17077 case $ac_pt_PKG_CONFIG in
17079 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17083 for as_dir in $PATH
17086 test -z "$as_dir" && as_dir=.
17087 for ac_exec_ext in '' $ac_executable_extensions; do
17088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17089 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17100 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17101 if test -n "$ac_pt_PKG_CONFIG"; then
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17103 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17106 $as_echo "no" >&6; }
17109 if test "x$ac_pt_PKG_CONFIG" = x; then
17112 case $cross_compiling:$ac_tool_warned in
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17116 ac_tool_warned=yes ;;
17118 PKG_CONFIG=$ac_pt_PKG_CONFIG
17121 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17125 if test -n "$PKG_CONFIG"; then
17126 _pkg_min_version=0.20
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17128 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17129 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17131 $as_echo "yes" >&6; }
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17134 $as_echo "no" >&6; }
17140 RAGEL=${RAGEL-"${am_missing_run}ragel"}
17143 GIT=${GIT-"${am_missing_run}git"}
17165 HB_LIBTOOL_VERSION_INFO=10400:6:10400
17174 gtk_doc_requires="gtk-doc >= 1.15"
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
17176 $as_echo_n "checking for gtk-doc... " >&6; }
17177 if test -n "$PKG_CONFIG" && \
17178 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
17179 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
17181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17182 test $ac_status = 0; }; then
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
17188 $as_echo "$have_gtk_doc" >&6; }
17190 if test "$have_gtk_doc" = "no"; then
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
17192 You will not be able to create source packages with 'make dist'
17193 because $gtk_doc_requires is not found." >&5
17194 $as_echo "$as_me: WARNING:
17195 You will not be able to create source packages with 'make dist'
17196 because $gtk_doc_requires is not found." >&2;}
17199 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
17200 set dummy gtkdoc-check; ac_word=$2
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17202 $as_echo_n "checking for $ac_word... " >&6; }
17203 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
17204 $as_echo_n "(cached) " >&6
17206 if test -n "$GTKDOC_CHECK"; then
17207 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
17209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17210 for as_dir in $PATH
17213 test -z "$as_dir" && as_dir=.
17214 for ac_exec_ext in '' $ac_executable_extensions; do
17215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17216 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
17217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17226 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
17227 if test -n "$GTKDOC_CHECK"; then
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
17229 $as_echo "$GTKDOC_CHECK" >&6; }
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17232 $as_echo "no" >&6; }
17236 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
17237 set dummy gtkdoc-check; ac_word=$2
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17239 $as_echo_n "checking for $ac_word... " >&6; }
17240 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
17241 $as_echo_n "(cached) " >&6
17243 case $GTKDOC_CHECK_PATH in
17245 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
17248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17249 for as_dir in $PATH
17252 test -z "$as_dir" && as_dir=.
17253 for ac_exec_ext in '' $ac_executable_extensions; do
17254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17255 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
17256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17266 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
17267 if test -n "$GTKDOC_CHECK_PATH"; then
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
17269 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17272 $as_echo "no" >&6; }
17276 for ac_prog in gtkdoc-rebase
17278 # Extract the first word of "$ac_prog", so it can be a program name with args.
17279 set dummy $ac_prog; ac_word=$2
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17281 $as_echo_n "checking for $ac_word... " >&6; }
17282 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
17283 $as_echo_n "(cached) " >&6
17285 case $GTKDOC_REBASE in
17287 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
17290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17291 for as_dir in $PATH
17294 test -z "$as_dir" && as_dir=.
17295 for ac_exec_ext in '' $ac_executable_extensions; do
17296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17297 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
17298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17308 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
17309 if test -n "$GTKDOC_REBASE"; then
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
17311 $as_echo "$GTKDOC_REBASE" >&6; }
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17314 $as_echo "no" >&6; }
17318 test -n "$GTKDOC_REBASE" && break
17320 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
17322 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
17323 set dummy gtkdoc-mkpdf; ac_word=$2
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17325 $as_echo_n "checking for $ac_word... " >&6; }
17326 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
17327 $as_echo_n "(cached) " >&6
17329 case $GTKDOC_MKPDF in
17331 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
17334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17335 for as_dir in $PATH
17338 test -z "$as_dir" && as_dir=.
17339 for ac_exec_ext in '' $ac_executable_extensions; do
17340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17341 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
17342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17352 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
17353 if test -n "$GTKDOC_MKPDF"; then
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
17355 $as_echo "$GTKDOC_MKPDF" >&6; }
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17358 $as_echo "no" >&6; }
17364 # Check whether --with-html-dir was given.
17365 if test "${with_html_dir+set}" = set; then :
17366 withval=$with_html_dir;
17368 with_html_dir='${datadir}/gtk-doc/html'
17371 HTML_DIR="$with_html_dir"
17374 # Check whether --enable-gtk-doc was given.
17375 if test "${enable_gtk_doc+set}" = set; then :
17376 enableval=$enable_gtk_doc;
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
17383 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
17385 $as_echo "$enable_gtk_doc" >&6; }
17387 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
17389 You must have $gtk_doc_requires installed to build documentation for
17390 $PACKAGE_NAME. Please install gtk-doc or disable building the
17391 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
17394 if test "x$PACKAGE_NAME" != "xglib"; then
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
17398 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
17400 if test -n "$PKG_CONFIG"; then
17401 if test -n "$GTKDOC_DEPS_CFLAGS"; then
17402 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
17404 if test -n "$PKG_CONFIG" && \
17405 { { $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
17406 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
17408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17409 test $ac_status = 0; }; then
17410 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
17418 if test -n "$PKG_CONFIG"; then
17419 if test -n "$GTKDOC_DEPS_LIBS"; then
17420 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
17422 if test -n "$PKG_CONFIG" && \
17423 { { $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
17424 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
17426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17427 test $ac_status = 0; }; then
17428 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
17439 if test $pkg_failed = yes; then
17441 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17442 _pkg_short_errors_supported=yes
17444 _pkg_short_errors_supported=no
17446 if test $_pkg_short_errors_supported = yes; then
17447 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"`
17449 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0"`
17451 # Put the nasty error message in config.log where it belongs
17452 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
17454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17455 $as_echo "no" >&6; }
17457 elif test $pkg_failed = untried; then
17460 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
17461 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17463 $as_echo "yes" >&6; }
17468 # Check whether --enable-gtk-doc-html was given.
17469 if test "${enable_gtk_doc_html+set}" = set; then :
17470 enableval=$enable_gtk_doc_html;
17472 enable_gtk_doc_html=yes
17475 # Check whether --enable-gtk-doc-pdf was given.
17476 if test "${enable_gtk_doc_pdf+set}" = set; then :
17477 enableval=$enable_gtk_doc_pdf;
17479 enable_gtk_doc_pdf=no
17483 if test -z "$GTKDOC_MKPDF"; then
17484 enable_gtk_doc_pdf=no
17487 if test -z "$AM_DEFAULT_VERBOSITY"; then
17488 AM_DEFAULT_VERBOSITY=1
17492 if test x$have_gtk_doc = xyes; then
17494 HAVE_GTK_DOC_FALSE='#'
17496 HAVE_GTK_DOC_TRUE='#'
17497 HAVE_GTK_DOC_FALSE=
17500 if test x$enable_gtk_doc = xyes; then
17501 ENABLE_GTK_DOC_TRUE=
17502 ENABLE_GTK_DOC_FALSE='#'
17504 ENABLE_GTK_DOC_TRUE='#'
17505 ENABLE_GTK_DOC_FALSE=
17508 if test x$enable_gtk_doc_html = xyes; then
17509 GTK_DOC_BUILD_HTML_TRUE=
17510 GTK_DOC_BUILD_HTML_FALSE='#'
17512 GTK_DOC_BUILD_HTML_TRUE='#'
17513 GTK_DOC_BUILD_HTML_FALSE=
17516 if test x$enable_gtk_doc_pdf = xyes; then
17517 GTK_DOC_BUILD_PDF_TRUE=
17518 GTK_DOC_BUILD_PDF_FALSE='#'
17520 GTK_DOC_BUILD_PDF_TRUE='#'
17521 GTK_DOC_BUILD_PDF_FALSE=
17524 if test -n "$LIBTOOL"; then
17525 GTK_DOC_USE_LIBTOOL_TRUE=
17526 GTK_DOC_USE_LIBTOOL_FALSE='#'
17528 GTK_DOC_USE_LIBTOOL_TRUE='#'
17529 GTK_DOC_USE_LIBTOOL_FALSE=
17532 if test -n "$GTKDOC_REBASE"; then
17533 GTK_DOC_USE_REBASE_TRUE=
17534 GTK_DOC_USE_REBASE_FALSE='#'
17536 GTK_DOC_USE_REBASE_TRUE='#'
17537 GTK_DOC_USE_REBASE_FALSE=
17541 if test "x$enable_gtk_doc" = xyes; then
17546 # Functions and headers
17547 for ac_func in atexit mprotect sysconf getpagesize mmap isatty
17549 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17550 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17551 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17552 cat >>confdefs.h <<_ACEOF
17553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17559 for ac_header in unistd.h sys/mman.h
17561 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17562 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17563 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17564 cat >>confdefs.h <<_ACEOF
17565 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17575 # The cast to long int works around a bug in the HP C Compiler,
17576 # see AC_CHECK_SIZEOF for more information.
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of struct{char;}" >&5
17578 $as_echo_n "checking alignment of struct{char;}... " >&6; }
17579 if ${ac_cv_alignof_struct_char__+:} false; then :
17580 $as_echo_n "(cached) " >&6
17582 if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_struct_char__" "$ac_includes_default
17584 # define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
17586 typedef struct { char x; struct{char;} y; } ac__type_alignof_;"; then :
17589 if test "$ac_cv_type_struct_char__" = yes; then
17590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17592 as_fn_error 77 "cannot compute alignment of struct{char;}
17593 See \`config.log' for more details" "$LINENO" 5; }
17595 ac_cv_alignof_struct_char__=0
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_struct_char__" >&5
17601 $as_echo "$ac_cv_alignof_struct_char__" >&6; }
17605 cat >>confdefs.h <<_ACEOF
17606 #define ALIGNOF_STRUCT_CHAR__ $ac_cv_alignof_struct_char__
17610 if test "x$GCC" = "xyes"; then
17612 # Make symbols link locally
17613 LDFLAGS="$LDFLAGS -Bsymbolic-functions"
17615 # Make sure we don't link to libstdc++
17616 CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
17618 # Assorted warnings
17619 CXXFLAGS="$CXXFLAGS -Wcast-align"
17625 # Hide inline methods
17626 CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
17632 if test "x$ac_cv_alignof_struct_char__" != x1; then
17633 # Request byte alignment
17634 CXXFLAGS="$CXXFLAGS -mstructure-size-boundary=8"
17640 if test "x$GCC" = "xyes"; then
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
17651 $as_echo_n "checking for native Win32... " >&6; }
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hb_os_win32" >&5
17658 $as_echo "$hb_os_win32" >&6; }
17659 if test "$hb_os_win32" = "yes"; then
17669 if test "$hb_os_win32" = no; then
17675 ac_cpp='$CPP $CPPFLAGS'
17676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17682 # We used to check for pthread.h first, but this fails if pthread.h
17683 # requires special compiler flags (e.g. on Tru64 or Sequent).
17684 # It gets checked for in the link test anyway.
17686 # First of all, check if the user has set any of the PTHREAD_LIBS,
17687 # etcetera environment variables, and if threads linking works using
17689 if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
17690 ax_pthread_save_CC="$CC"
17691 ax_pthread_save_CFLAGS="$CFLAGS"
17692 ax_pthread_save_LIBS="$LIBS"
17693 if test "x$PTHREAD_CC" != "x"; then :
17696 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17697 LIBS="$PTHREAD_LIBS $LIBS"
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
17699 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
17700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17701 /* end confdefs.h. */
17703 /* Override any GCC internal prototype to avoid an error.
17704 Use char because int might match the return type of a GCC
17705 builtin and then its argument prototype would still apply. */
17709 char pthread_join ();
17713 return pthread_join ();
17718 if ac_fn_c_try_link "$LINENO"; then :
17721 rm -f core conftest.err conftest.$ac_objext \
17722 conftest$ac_exeext conftest.$ac_ext
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
17724 $as_echo "$ax_pthread_ok" >&6; }
17725 if test "x$ax_pthread_ok" = "xno"; then
17729 CC="$ax_pthread_save_CC"
17730 CFLAGS="$ax_pthread_save_CFLAGS"
17731 LIBS="$ax_pthread_save_LIBS"
17734 # We must check for the threads library under a number of different
17735 # names; the ordering is very important because some systems
17736 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17737 # libraries is broken (non-POSIX).
17739 # Create a list of thread flags to try. Items starting with a "-" are
17740 # C compiler flags, and other items are library names, except for "none"
17741 # which indicates that we try without any flags at all, and "pthread-config"
17742 # which is a program returning the flags for the Pth emulation library.
17744 ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17746 # The ordering *is* (sometimes) important. Some notes on the
17747 # individual items follow:
17749 # pthreads: AIX (must check this before -lpthread)
17750 # none: in case threads are in libc; should be tried before -Kthread and
17751 # other compiler flags to prevent continual compiler warnings
17752 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17753 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
17754 # (Note: HP C rejects this with "bad form for `-t' option")
17755 # -pthreads: Solaris/gcc (Note: HP C also rejects)
17756 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
17757 # doesn't hurt to check since this sometimes defines pthreads and
17758 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
17759 # is present but should not be used directly; and before -mthreads,
17760 # because the compiler interprets this as "-mt" + "-hreads")
17761 # -mthreads: Mingw32/gcc, Lynx/gcc
17762 # pthread: Linux, etcetera
17763 # --thread-safe: KAI C++
17764 # pthread-config: use pthread-config program (for GNU Pth library)
17770 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17771 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
17773 ax_pthread_flags="-kthread lthread $ax_pthread_flags"
17778 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
17779 # multi-threading and also sets -lpthread."
17781 ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
17786 # IBM z/OS requires a feature-test macro to be defined in order to
17787 # enable POSIX threads at all, so give the user a hint if this is
17788 # not set. (We don't define these ourselves, as they can affect
17789 # other portions of the system API in unpredictable ways.)
17791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17792 /* end confdefs.h. */
17794 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
17795 AX_PTHREAD_ZOS_MISSING
17799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17800 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev/null 2>&1; then :
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
17802 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
17810 # On Solaris (at least, for some versions), libc contains stubbed
17811 # (non-functional) versions of the pthreads routines, so link-based
17812 # tests will erroneously succeed. (N.B.: The stubs are missing
17813 # pthread_cleanup_push, or rather a function called by this macro,
17814 # so we could check for that, but who knows whether they'll stub
17815 # that too in a future libc.) So we'll check first for the
17816 # standard Solaris way of linking pthreads (-mt -lpthread).
17818 ax_pthread_flags="-mt,pthread pthread $ax_pthread_flags"
17822 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
17824 if test "x$GCC" = "xyes"; then :
17825 ax_pthread_flags="-pthread -pthreads $ax_pthread_flags"
17828 # The presence of a feature test macro requesting re-entrant function
17829 # definitions is, on some systems, a strong hint that pthreads support is
17830 # correctly enabled
17833 darwin* | hpux* | linux* | osf* | solaris*)
17834 ax_pthread_check_macro="_REENTRANT"
17838 ax_pthread_check_macro="_THREAD_SAFE"
17842 ax_pthread_check_macro="--"
17845 if test "x$ax_pthread_check_macro" = "x--"; then :
17846 ax_pthread_check_cond=0
17848 ax_pthread_check_cond="!defined($ax_pthread_check_macro)"
17851 # Are we compiling with Clang?
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
17854 $as_echo_n "checking whether $CC is Clang... " >&6; }
17855 if ${ax_cv_PTHREAD_CLANG+:} false; then :
17856 $as_echo_n "(cached) " >&6
17858 ax_cv_PTHREAD_CLANG=no
17859 # Note that Autoconf sets GCC=yes for Clang as well as GCC
17860 if test "x$GCC" = "xyes"; then
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h. */
17863 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
17864 # if defined(__clang__) && defined(__llvm__)
17865 AX_PTHREAD_CC_IS_CLANG
17869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17870 $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev/null 2>&1; then :
17871 ax_cv_PTHREAD_CLANG=yes
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
17879 $as_echo "$ax_cv_PTHREAD_CLANG" >&6; }
17880 ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
17882 ax_pthread_clang_warning=no
17884 # Clang needs special handling, because older versions handle the -pthread
17885 # option in a rather... idiosyncratic way
17887 if test "x$ax_pthread_clang" = "xyes"; then
17889 # Clang takes -pthread; it has never supported any other flag
17891 # (Note 1: This will need to be revisited if a system that Clang
17892 # supports has POSIX threads in a separate library. This tends not
17893 # to be the way of modern systems, but it's conceivable.)
17895 # (Note 2: On some systems, notably Darwin, -pthread is not needed
17896 # to get POSIX threads support; the API is always present and
17897 # active. We could reasonably leave PTHREAD_CFLAGS empty. But
17898 # -pthread does define _REENTRANT, and while the Darwin headers
17899 # ignore this macro, third-party headers might not.)
17901 PTHREAD_CFLAGS="-pthread"
17906 # However, older versions of Clang make a point of warning the user
17907 # that, in an invocation where only linking and no compilation is
17908 # taking place, the -pthread option has no effect ("argument unused
17909 # during compilation"). They expect -pthread to be passed in only
17910 # when source code is being compiled.
17912 # Problem is, this is at odds with the way Automake and most other
17913 # C build frameworks function, which is that the same flags used in
17914 # compilation (CFLAGS) are also used in linking. Many systems
17915 # supported by AX_PTHREAD require exactly this for POSIX threads
17916 # support, and in fact it is often not straightforward to specify a
17917 # flag that is used only in the compilation phase and not in
17918 # linking. Such a scenario is extremely rare in practice.
17920 # Even though use of the -pthread flag in linking would only print
17921 # a warning, this can be a nuisance for well-run software projects
17922 # that build with -Werror. So if the active version of Clang has
17923 # this misfeature, we search for an option to squash it.
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
17926 $as_echo_n "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
17927 if ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+:} false; then :
17928 $as_echo_n "(cached) " >&6
17930 ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
17931 # Create an alternate version of $ac_link that compiles and
17932 # links in two steps (.c -> .o, .o -> exe) instead of one
17933 # (.c -> exe), because the warning occurs only in the second
17935 ax_pthread_save_ac_link="$ac_link"
17936 ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
17937 ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"`
17938 ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
17939 ax_pthread_save_CFLAGS="$CFLAGS"
17940 for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
17941 if test "x$ax_pthread_try" = "xunknown"; then :
17944 CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
17945 ac_link="$ax_pthread_save_ac_link"
17946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17947 /* end confdefs.h. */
17948 int main(void){return 0;}
17950 if ac_fn_c_try_link "$LINENO"; then :
17951 ac_link="$ax_pthread_2step_ac_link"
17952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17953 /* end confdefs.h. */
17954 int main(void){return 0;}
17956 if ac_fn_c_try_link "$LINENO"; then :
17959 rm -f core conftest.err conftest.$ac_objext \
17960 conftest$ac_exeext conftest.$ac_ext
17963 rm -f core conftest.err conftest.$ac_objext \
17964 conftest$ac_exeext conftest.$ac_ext
17966 ac_link="$ax_pthread_save_ac_link"
17967 CFLAGS="$ax_pthread_save_CFLAGS"
17968 if test "x$ax_pthread_try" = "x"; then :
17971 ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
17975 $as_echo "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
17977 case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
17979 *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
17982 fi # $ax_pthread_clang = yes
17984 if test "x$ax_pthread_ok" = "xno"; then
17985 for ax_pthread_try_flag in $ax_pthread_flags; do
17987 case $ax_pthread_try_flag in
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
17990 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
17995 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
17996 PTHREAD_CFLAGS="-mt"
17997 PTHREAD_LIBS="-lpthread"
18001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
18002 $as_echo_n "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
18003 PTHREAD_CFLAGS="$ax_pthread_try_flag"
18007 # Extract the first word of "pthread-config", so it can be a program name with args.
18008 set dummy pthread-config; ac_word=$2
18009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18010 $as_echo_n "checking for $ac_word... " >&6; }
18011 if ${ac_cv_prog_ax_pthread_config+:} false; then :
18012 $as_echo_n "(cached) " >&6
18014 if test -n "$ax_pthread_config"; then
18015 ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
18017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18018 for as_dir in $PATH
18021 test -z "$as_dir" && as_dir=.
18022 for ac_exec_ext in '' $ac_executable_extensions; do
18023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18024 ac_cv_prog_ax_pthread_config="yes"
18025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18032 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
18035 ax_pthread_config=$ac_cv_prog_ax_pthread_config
18036 if test -n "$ax_pthread_config"; then
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
18038 $as_echo "$ax_pthread_config" >&6; }
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18041 $as_echo "no" >&6; }
18045 if test "x$ax_pthread_config" = "xno"; then :
18048 PTHREAD_CFLAGS="`pthread-config --cflags`"
18049 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
18054 $as_echo_n "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
18055 PTHREAD_LIBS="-l$ax_pthread_try_flag"
18059 ax_pthread_save_CFLAGS="$CFLAGS"
18060 ax_pthread_save_LIBS="$LIBS"
18061 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18062 LIBS="$PTHREAD_LIBS $LIBS"
18064 # Check for various functions. We must include pthread.h,
18065 # since some functions may be macros. (On the Sequent, we
18066 # need a special flag -Kthread to make this header compile.)
18067 # We check for pthread_join because it is in -lpthread on IRIX
18068 # while pthread_create is in libc. We check for pthread_attr_init
18069 # due to DEC craziness with -lpthreads. We check for
18070 # pthread_cleanup_push because it is one of the few pthread
18071 # functions on Solaris that doesn't have a non-functional libc stub.
18072 # We try pthread_create on general principles.
18074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18075 /* end confdefs.h. */
18076 #include <pthread.h>
18077 # if $ax_pthread_check_cond
18078 # error "$ax_pthread_check_macro must be defined"
18080 static void routine(void *a) { a = 0; }
18081 static void *start_routine(void *a) { return a; }
18085 pthread_t th; pthread_attr_t attr;
18086 pthread_create(&th, 0, start_routine, 0);
18087 pthread_join(th, 0);
18088 pthread_attr_init(&attr);
18089 pthread_cleanup_push(routine, 0);
18090 pthread_cleanup_pop(0) /* ; */
18095 if ac_fn_c_try_link "$LINENO"; then :
18098 rm -f core conftest.err conftest.$ac_objext \
18099 conftest$ac_exeext conftest.$ac_ext
18101 CFLAGS="$ax_pthread_save_CFLAGS"
18102 LIBS="$ax_pthread_save_LIBS"
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
18105 $as_echo "$ax_pthread_ok" >&6; }
18106 if test "x$ax_pthread_ok" = "xyes"; then :
18115 # Various other checks:
18116 if test "x$ax_pthread_ok" = "xyes"; then
18117 ax_pthread_save_CFLAGS="$CFLAGS"
18118 ax_pthread_save_LIBS="$LIBS"
18119 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18120 LIBS="$PTHREAD_LIBS $LIBS"
18122 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
18124 $as_echo_n "checking for joinable pthread attribute... " >&6; }
18125 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false; then :
18126 $as_echo_n "(cached) " >&6
18128 ax_cv_PTHREAD_JOINABLE_ATTR=unknown
18129 for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
18130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18131 /* end confdefs.h. */
18132 #include <pthread.h>
18136 int attr = $ax_pthread_attr; return attr /* ; */
18141 if ac_fn_c_try_link "$LINENO"; then :
18142 ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break
18144 rm -f core conftest.err conftest.$ac_objext \
18145 conftest$ac_exeext conftest.$ac_ext
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
18150 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
18151 if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
18152 test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
18153 test "x$ax_pthread_joinable_attr_defined" != "xyes"; then :
18155 cat >>confdefs.h <<_ACEOF
18156 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
18159 ax_pthread_joinable_attr_defined=yes
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
18164 $as_echo_n "checking whether more special flags are required for pthreads... " >&6; }
18165 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false; then :
18166 $as_echo_n "(cached) " >&6
18168 ax_cv_PTHREAD_SPECIAL_FLAGS=no
18171 ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
18176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
18177 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
18178 if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
18179 test "x$ax_pthread_special_flags_added" != "xyes"; then :
18180 PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
18181 ax_pthread_special_flags_added=yes
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
18185 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
18186 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
18187 $as_echo_n "(cached) " >&6
18189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18190 /* end confdefs.h. */
18191 #include <pthread.h>
18195 int i = PTHREAD_PRIO_INHERIT;
18200 if ac_fn_c_try_link "$LINENO"; then :
18201 ax_cv_PTHREAD_PRIO_INHERIT=yes
18203 ax_cv_PTHREAD_PRIO_INHERIT=no
18205 rm -f core conftest.err conftest.$ac_objext \
18206 conftest$ac_exeext conftest.$ac_ext
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
18210 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
18211 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
18212 test "x$ax_pthread_prio_inherit_defined" != "xyes"; then :
18214 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
18216 ax_pthread_prio_inherit_defined=yes
18220 CFLAGS="$ax_pthread_save_CFLAGS"
18221 LIBS="$ax_pthread_save_LIBS"
18223 # More AIX lossage: compile with *_r variant
18224 if test "x$GCC" != "xyes"; then
18228 x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
18229 #handle absolute path differently from PATH based program lookup
18232 if as_fn_executable_p ${CC}_r; then :
18233 PTHREAD_CC="${CC}_r"
18236 for ac_prog in ${CC}_r
18238 # Extract the first word of "$ac_prog", so it can be a program name with args.
18239 set dummy $ac_prog; ac_word=$2
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18241 $as_echo_n "checking for $ac_word... " >&6; }
18242 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
18243 $as_echo_n "(cached) " >&6
18245 if test -n "$PTHREAD_CC"; then
18246 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
18248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18249 for as_dir in $PATH
18252 test -z "$as_dir" && as_dir=.
18253 for ac_exec_ext in '' $ac_executable_extensions; do
18254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18255 ac_cv_prog_PTHREAD_CC="$ac_prog"
18256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18265 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
18266 if test -n "$PTHREAD_CC"; then
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
18268 $as_echo "$PTHREAD_CC" >&6; }
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18271 $as_echo "no" >&6; }
18275 test -n "$PTHREAD_CC" && break
18277 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
18288 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
18294 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
18295 if test "x$ax_pthread_ok" = "xyes"; then
18303 ac_cpp='$CPP $CPPFLAGS'
18304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18310 if $have_pthread; then
18312 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
18315 if $have_pthread; then
18317 HAVE_PTHREAD_FALSE='#'
18319 HAVE_PTHREAD_TRUE='#'
18320 HAVE_PTHREAD_FALSE=
18328 $as_echo "#define HAVE_OT 1" >>confdefs.h
18341 if $have_fallback; then
18343 $as_echo "#define HAVE_FALLBACK 1" >>confdefs.h
18346 if $have_fallback; then
18347 HAVE_FALLBACK_TRUE=
18348 HAVE_FALLBACK_FALSE='#'
18350 HAVE_FALLBACK_TRUE='#'
18351 HAVE_FALLBACK_FALSE=
18357 # Check whether --with-glib was given.
18358 if test "${with_glib+set}" = set; then :
18359 withval=$with_glib;
18365 GLIB_DEPS="glib-2.0 >= 2.19.1"
18367 if test "x$with_glib" = "xyes" -o "x$with_glib" = "xauto"; then
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
18371 $as_echo_n "checking for GLIB... " >&6; }
18373 if test -n "$PKG_CONFIG"; then
18374 if test -n "$GLIB_CFLAGS"; then
18375 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
18377 if test -n "$PKG_CONFIG" && \
18378 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_DEPS\""; } >&5
18379 ($PKG_CONFIG --exists --print-errors "$GLIB_DEPS") 2>&5
18381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18382 test $ac_status = 0; }; then
18383 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$GLIB_DEPS" 2>/dev/null`
18391 if test -n "$PKG_CONFIG"; then
18392 if test -n "$GLIB_LIBS"; then
18393 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
18395 if test -n "$PKG_CONFIG" && \
18396 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_DEPS\""; } >&5
18397 ($PKG_CONFIG --exists --print-errors "$GLIB_DEPS") 2>&5
18399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18400 test $ac_status = 0; }; then
18401 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$GLIB_DEPS" 2>/dev/null`
18412 if test $pkg_failed = yes; then
18414 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18415 _pkg_short_errors_supported=yes
18417 _pkg_short_errors_supported=no
18419 if test $_pkg_short_errors_supported = yes; then
18420 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$GLIB_DEPS"`
18422 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GLIB_DEPS"`
18424 # Put the nasty error message in config.log where it belongs
18425 echo "$GLIB_PKG_ERRORS" >&5
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18428 $as_echo "no" >&6; }
18430 elif test $pkg_failed = untried; then
18433 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
18434 GLIB_LIBS=$pkg_cv_GLIB_LIBS
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18436 $as_echo "yes" >&6; }
18440 if test "x$with_glib" = "xyes" -a "x$have_glib" != "xtrue"; then
18441 as_fn_error $? "glib support requested but glib-2.0 not found" "$LINENO" 5
18443 if $have_glib; then
18445 $as_echo "#define HAVE_GLIB 1" >>confdefs.h
18448 if $have_glib; then
18450 HAVE_GLIB_FALSE='#'
18459 # Check whether --with-gobject was given.
18460 if test "${with_gobject+set}" = set; then :
18461 withval=$with_gobject;
18467 if test "x$with_gobject" = "xyes" -o "x$with_gobject" = "xauto"; then
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
18471 $as_echo_n "checking for GOBJECT... " >&6; }
18473 if test -n "$PKG_CONFIG"; then
18474 if test -n "$GOBJECT_CFLAGS"; then
18475 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
18477 if test -n "$PKG_CONFIG" && \
18478 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 glib-2.0\""; } >&5
18479 ($PKG_CONFIG --exists --print-errors "gobject-2.0 glib-2.0") 2>&5
18481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18482 test $ac_status = 0; }; then
18483 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 glib-2.0" 2>/dev/null`
18491 if test -n "$PKG_CONFIG"; then
18492 if test -n "$GOBJECT_LIBS"; then
18493 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
18495 if test -n "$PKG_CONFIG" && \
18496 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 glib-2.0\""; } >&5
18497 ($PKG_CONFIG --exists --print-errors "gobject-2.0 glib-2.0") 2>&5
18499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18500 test $ac_status = 0; }; then
18501 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 glib-2.0" 2>/dev/null`
18512 if test $pkg_failed = yes; then
18514 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18515 _pkg_short_errors_supported=yes
18517 _pkg_short_errors_supported=no
18519 if test $_pkg_short_errors_supported = yes; then
18520 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gobject-2.0 glib-2.0"`
18522 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-2.0 glib-2.0"`
18524 # Put the nasty error message in config.log where it belongs
18525 echo "$GOBJECT_PKG_ERRORS" >&5
18527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18528 $as_echo "no" >&6; }
18530 elif test $pkg_failed = untried; then
18533 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
18534 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18536 $as_echo "yes" >&6; }
18540 if test "x$with_gobject" = "xyes" -a "x$have_gobject" != "xtrue"; then
18541 as_fn_error $? "gobject support requested but gobject-2.0 / glib-2.0 not found" "$LINENO" 5
18543 if $have_gobject; then
18545 $as_echo "#define HAVE_GOBJECT 1" >>confdefs.h
18547 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
18550 if $have_gobject; then
18552 HAVE_GOBJECT_FALSE='#'
18554 HAVE_GOBJECT_TRUE='#'
18555 HAVE_GOBJECT_FALSE=
18561 # Gobject-Introspection
18562 have_introspection=false
18564 if $have_gobject; then
18568 # Check whether --enable-introspection was given.
18569 if test "${enable_introspection+set}" = set; then :
18570 enableval=$enable_introspection;
18572 enable_introspection=auto
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
18577 $as_echo_n "checking for gobject-introspection... " >&6; }
18579 case $enable_introspection in #(
18581 found_introspection="no (disabled, use --enable-introspection to enable)"
18584 if test -n "$PKG_CONFIG" && \
18585 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
18586 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
18588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18589 test $ac_status = 0; }; then
18592 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
18594 if test -n "$PKG_CONFIG" && \
18595 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.34.0\""; } >&5
18596 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.34.0") 2>&5
18598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18599 test $ac_status = 0; }; then
18600 found_introspection=yes
18602 as_fn_error $? "You need to have gobject-introspection >= 1.34.0 installed to build HarfBuzz" "$LINENO" 5
18606 if test -n "$PKG_CONFIG" && \
18607 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.34.0\""; } >&5
18608 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.34.0") 2>&5
18610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18611 test $ac_status = 0; }; then
18612 found_introspection=yes
18614 found_introspection=no
18616 enable_introspection=$found_introspection
18619 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
18623 $as_echo "$found_introspection" >&6; }
18625 INTROSPECTION_SCANNER=
18626 INTROSPECTION_COMPILER=
18627 INTROSPECTION_GENERATE=
18628 INTROSPECTION_GIRDIR=
18629 INTROSPECTION_TYPELIBDIR=
18630 if test "x$found_introspection" = "xyes"; then
18631 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
18632 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
18633 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
18634 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
18635 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
18636 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
18637 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
18638 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
18649 if test "x$found_introspection" = "xyes"; then
18650 HAVE_INTROSPECTION_TRUE=
18651 HAVE_INTROSPECTION_FALSE='#'
18653 HAVE_INTROSPECTION_TRUE='#'
18654 HAVE_INTROSPECTION_FALSE=
18659 if test "x$found_introspection" = xyes; then
18660 have_introspection=true
18664 HAVE_INTROSPECTION_TRUE=
18665 HAVE_INTROSPECTION_FALSE='#'
18667 HAVE_INTROSPECTION_TRUE='#'
18668 HAVE_INTROSPECTION_FALSE=
18676 # Check whether --with-cairo was given.
18677 if test "${with_cairo+set}" = set; then :
18678 withval=$with_cairo;
18684 if test "x$with_cairo" = "xyes" -o "x$with_cairo" = "xauto"; then
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
18688 $as_echo_n "checking for CAIRO... " >&6; }
18690 if test -n "$PKG_CONFIG"; then
18691 if test -n "$CAIRO_CFLAGS"; then
18692 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
18694 if test -n "$PKG_CONFIG" && \
18695 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.8.0\""; } >&5
18696 ($PKG_CONFIG --exists --print-errors "cairo >= 1.8.0") 2>&5
18698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18699 test $ac_status = 0; }; then
18700 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.8.0" 2>/dev/null`
18708 if test -n "$PKG_CONFIG"; then
18709 if test -n "$CAIRO_LIBS"; then
18710 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
18712 if test -n "$PKG_CONFIG" && \
18713 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.8.0\""; } >&5
18714 ($PKG_CONFIG --exists --print-errors "cairo >= 1.8.0") 2>&5
18716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18717 test $ac_status = 0; }; then
18718 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.8.0" 2>/dev/null`
18729 if test $pkg_failed = yes; then
18731 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18732 _pkg_short_errors_supported=yes
18734 _pkg_short_errors_supported=no
18736 if test $_pkg_short_errors_supported = yes; then
18737 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo >= 1.8.0"`
18739 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.8.0"`
18741 # Put the nasty error message in config.log where it belongs
18742 echo "$CAIRO_PKG_ERRORS" >&5
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18745 $as_echo "no" >&6; }
18747 elif test $pkg_failed = untried; then
18750 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
18751 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18753 $as_echo "yes" >&6; }
18757 if test "x$with_cairo" = "xyes" -a "x$have_cairo" != "xtrue"; then
18758 as_fn_error $? "cairo support requested but not found" "$LINENO" 5
18760 if $have_cairo; then
18762 $as_echo "#define HAVE_CAIRO 1" >>confdefs.h
18765 if $have_cairo; then
18767 HAVE_CAIRO_FALSE='#'
18769 HAVE_CAIRO_TRUE='#'
18774 have_cairo_ft=false
18775 if $have_cairo; then
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_FT" >&5
18779 $as_echo_n "checking for CAIRO_FT... " >&6; }
18781 if test -n "$PKG_CONFIG"; then
18782 if test -n "$CAIRO_FT_CFLAGS"; then
18783 pkg_cv_CAIRO_FT_CFLAGS="$CAIRO_FT_CFLAGS"
18785 if test -n "$PKG_CONFIG" && \
18786 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft\""; } >&5
18787 ($PKG_CONFIG --exists --print-errors "cairo-ft") 2>&5
18789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18790 test $ac_status = 0; }; then
18791 pkg_cv_CAIRO_FT_CFLAGS=`$PKG_CONFIG --cflags "cairo-ft" 2>/dev/null`
18799 if test -n "$PKG_CONFIG"; then
18800 if test -n "$CAIRO_FT_LIBS"; then
18801 pkg_cv_CAIRO_FT_LIBS="$CAIRO_FT_LIBS"
18803 if test -n "$PKG_CONFIG" && \
18804 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft\""; } >&5
18805 ($PKG_CONFIG --exists --print-errors "cairo-ft") 2>&5
18807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18808 test $ac_status = 0; }; then
18809 pkg_cv_CAIRO_FT_LIBS=`$PKG_CONFIG --libs "cairo-ft" 2>/dev/null`
18820 if test $pkg_failed = yes; then
18822 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18823 _pkg_short_errors_supported=yes
18825 _pkg_short_errors_supported=no
18827 if test $_pkg_short_errors_supported = yes; then
18828 CAIRO_FT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo-ft"`
18830 CAIRO_FT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo-ft"`
18832 # Put the nasty error message in config.log where it belongs
18833 echo "$CAIRO_FT_PKG_ERRORS" >&5
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18836 $as_echo "no" >&6; }
18838 elif test $pkg_failed = untried; then
18841 CAIRO_FT_CFLAGS=$pkg_cv_CAIRO_FT_CFLAGS
18842 CAIRO_FT_LIBS=$pkg_cv_CAIRO_FT_LIBS
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18844 $as_echo "yes" >&6; }
18848 if $have_cairo_ft; then
18850 $as_echo "#define HAVE_CAIRO_FT 1" >>confdefs.h
18853 if $have_cairo_ft; then
18854 HAVE_CAIRO_FT_TRUE=
18855 HAVE_CAIRO_FT_FALSE='#'
18857 HAVE_CAIRO_FT_TRUE='#'
18858 HAVE_CAIRO_FT_FALSE=
18864 # Check whether --with-fontconfig was given.
18865 if test "${with_fontconfig+set}" = set; then :
18866 withval=$with_fontconfig;
18868 with_fontconfig=auto
18871 have_fontconfig=false
18872 if test "x$with_fontconfig" = "xyes" -o "x$with_fontconfig" = "xauto"; then
18875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
18876 $as_echo_n "checking for FONTCONFIG... " >&6; }
18878 if test -n "$PKG_CONFIG"; then
18879 if test -n "$FONTCONFIG_CFLAGS"; then
18880 pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
18882 if test -n "$PKG_CONFIG" && \
18883 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
18884 ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
18886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18887 test $ac_status = 0; }; then
18888 pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig" 2>/dev/null`
18896 if test -n "$PKG_CONFIG"; then
18897 if test -n "$FONTCONFIG_LIBS"; then
18898 pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
18900 if test -n "$PKG_CONFIG" && \
18901 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
18902 ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
18904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18905 test $ac_status = 0; }; then
18906 pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig" 2>/dev/null`
18917 if test $pkg_failed = yes; then
18919 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18920 _pkg_short_errors_supported=yes
18922 _pkg_short_errors_supported=no
18924 if test $_pkg_short_errors_supported = yes; then
18925 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fontconfig"`
18927 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fontconfig"`
18929 # Put the nasty error message in config.log where it belongs
18930 echo "$FONTCONFIG_PKG_ERRORS" >&5
18932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18933 $as_echo "no" >&6; }
18935 elif test $pkg_failed = untried; then
18938 FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
18939 FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
18940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18941 $as_echo "yes" >&6; }
18942 have_fontconfig=true
18945 if test "x$with_fontconfig" = "xyes" -a "x$have_fontconfig" != "xtrue"; then
18946 as_fn_error $? "fontconfig support requested but not found" "$LINENO" 5
18948 if $have_fontconfig; then
18950 $as_echo "#define HAVE_FONTCONFIG 1" >>confdefs.h
18953 if $have_fontconfig; then
18954 HAVE_FONTCONFIG_TRUE=
18955 HAVE_FONTCONFIG_FALSE='#'
18957 HAVE_FONTCONFIG_TRUE='#'
18958 HAVE_FONTCONFIG_FALSE=
18964 # Check whether --with-icu was given.
18965 if test "${with_icu+set}" = set; then :
18972 if test "x$with_icu" = "xyes" -o "x$with_icu" = "xbuiltin" -o "x$with_icu" = "xauto"; then
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU" >&5
18976 $as_echo_n "checking for ICU... " >&6; }
18978 if test -n "$PKG_CONFIG"; then
18979 if test -n "$ICU_CFLAGS"; then
18980 pkg_cv_ICU_CFLAGS="$ICU_CFLAGS"
18982 if test -n "$PKG_CONFIG" && \
18983 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5
18984 ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5
18986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18987 test $ac_status = 0; }; then
18988 pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-uc" 2>/dev/null`
18996 if test -n "$PKG_CONFIG"; then
18997 if test -n "$ICU_LIBS"; then
18998 pkg_cv_ICU_LIBS="$ICU_LIBS"
19000 if test -n "$PKG_CONFIG" && \
19001 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5
19002 ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5
19004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19005 test $ac_status = 0; }; then
19006 pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-uc" 2>/dev/null`
19017 if test $pkg_failed = yes; then
19019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19020 _pkg_short_errors_supported=yes
19022 _pkg_short_errors_supported=no
19024 if test $_pkg_short_errors_supported = yes; then
19025 ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "icu-uc"`
19027 ICU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "icu-uc"`
19029 # Put the nasty error message in config.log where it belongs
19030 echo "$ICU_PKG_ERRORS" >&5
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19033 $as_echo "no" >&6; }
19035 elif test $pkg_failed = untried; then
19038 ICU_CFLAGS=$pkg_cv_ICU_CFLAGS
19039 ICU_LIBS=$pkg_cv_ICU_LIBS
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19041 $as_echo "yes" >&6; }
19045 if test "$have_icu" != "true"; then
19046 if test -n "$ac_tool_prefix"; then
19047 # Extract the first word of "${ac_tool_prefix}icu-config", so it can be a program name with args.
19048 set dummy ${ac_tool_prefix}icu-config; ac_word=$2
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19050 $as_echo_n "checking for $ac_word... " >&6; }
19051 if ${ac_cv_prog_ICU_CONFIG+:} false; then :
19052 $as_echo_n "(cached) " >&6
19054 if test -n "$ICU_CONFIG"; then
19055 ac_cv_prog_ICU_CONFIG="$ICU_CONFIG" # Let the user override the test.
19057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19058 for as_dir in $PATH
19061 test -z "$as_dir" && as_dir=.
19062 for ac_exec_ext in '' $ac_executable_extensions; do
19063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19064 ac_cv_prog_ICU_CONFIG="${ac_tool_prefix}icu-config"
19065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19074 ICU_CONFIG=$ac_cv_prog_ICU_CONFIG
19075 if test -n "$ICU_CONFIG"; then
19076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICU_CONFIG" >&5
19077 $as_echo "$ICU_CONFIG" >&6; }
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19080 $as_echo "no" >&6; }
19085 if test -z "$ac_cv_prog_ICU_CONFIG"; then
19086 ac_ct_ICU_CONFIG=$ICU_CONFIG
19087 # Extract the first word of "icu-config", so it can be a program name with args.
19088 set dummy icu-config; ac_word=$2
19089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19090 $as_echo_n "checking for $ac_word... " >&6; }
19091 if ${ac_cv_prog_ac_ct_ICU_CONFIG+:} false; then :
19092 $as_echo_n "(cached) " >&6
19094 if test -n "$ac_ct_ICU_CONFIG"; then
19095 ac_cv_prog_ac_ct_ICU_CONFIG="$ac_ct_ICU_CONFIG" # Let the user override the test.
19097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19098 for as_dir in $PATH
19101 test -z "$as_dir" && as_dir=.
19102 for ac_exec_ext in '' $ac_executable_extensions; do
19103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19104 ac_cv_prog_ac_ct_ICU_CONFIG="icu-config"
19105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19114 ac_ct_ICU_CONFIG=$ac_cv_prog_ac_ct_ICU_CONFIG
19115 if test -n "$ac_ct_ICU_CONFIG"; then
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ICU_CONFIG" >&5
19117 $as_echo "$ac_ct_ICU_CONFIG" >&6; }
19119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19120 $as_echo "no" >&6; }
19123 if test "x$ac_ct_ICU_CONFIG" = x; then
19126 case $cross_compiling:$ac_tool_warned in
19128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19129 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19130 ac_tool_warned=yes ;;
19132 ICU_CONFIG=$ac_ct_ICU_CONFIG
19135 ICU_CONFIG="$ac_cv_prog_ICU_CONFIG"
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU by using icu-config fallback" >&5
19139 $as_echo_n "checking for ICU by using icu-config fallback... " >&6; }
19140 if test "$ICU_CONFIG" != "no" && "$ICU_CONFIG" --version >/dev/null; then
19142 # We don't use --cflags as this gives us a lot of things that we don't
19143 # necessarily want, like debugging and optimization flags
19144 # See man (1) icu-config for more info.
19145 ICU_CFLAGS=`$ICU_CONFIG --cppflags`
19146 ICU_LIBS=`$ICU_CONFIG --ldflags-searchpath --ldflags-libsonly`
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19150 $as_echo "yes" >&6; }
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19153 $as_echo "no" >&6; }
19157 if test \( "x$with_icu" = "xyes" -o "x$with_icu" = "xbuiltin" \) -a "x$have_icu" != "xtrue"; then
19158 as_fn_error $? "icu support requested but icu-uc not found" "$LINENO" 5
19162 CXXFLAGS="$CXXFLAGS `$PKG_CONFIG --variable=CXXFLAGS icu-uc`"
19164 $as_echo "#define HAVE_ICU 1" >>confdefs.h
19166 if test "x$with_icu" = "xbuiltin"; then
19168 $as_echo "#define HAVE_ICU_BUILTIN 1" >>confdefs.h
19180 if $have_icu && test "x$with_icu" = "xbuiltin"; then
19181 HAVE_ICU_BUILTIN_TRUE=
19182 HAVE_ICU_BUILTIN_FALSE='#'
19184 HAVE_ICU_BUILTIN_TRUE='#'
19185 HAVE_ICU_BUILTIN_FALSE=
19191 # Check whether --with-ucdn was given.
19192 if test "${with_ucdn+set}" = set; then :
19193 withval=$with_ucdn;
19199 if test "x$with_ucdn" = "xyes"; then
19202 if $have_ucdn; then
19204 $as_echo "#define HAVE_UCDN 1" >>confdefs.h
19207 if $have_ucdn; then
19209 HAVE_UCDN_FALSE='#'
19218 # Check whether --with-graphite2 was given.
19219 if test "${with_graphite2+set}" = set; then :
19220 withval=$with_graphite2;
19225 have_graphite2=false
19226 GRAPHITE2_DEPS="graphite2"
19228 if test "x$with_graphite2" = "xyes" -o "x$with_graphite2" = "xauto"; then
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GRAPHITE2" >&5
19232 $as_echo_n "checking for GRAPHITE2... " >&6; }
19234 if test -n "$PKG_CONFIG"; then
19235 if test -n "$GRAPHITE2_CFLAGS"; then
19236 pkg_cv_GRAPHITE2_CFLAGS="$GRAPHITE2_CFLAGS"
19238 if test -n "$PKG_CONFIG" && \
19239 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GRAPHITE2_DEPS\""; } >&5
19240 ($PKG_CONFIG --exists --print-errors "$GRAPHITE2_DEPS") 2>&5
19242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19243 test $ac_status = 0; }; then
19244 pkg_cv_GRAPHITE2_CFLAGS=`$PKG_CONFIG --cflags "$GRAPHITE2_DEPS" 2>/dev/null`
19252 if test -n "$PKG_CONFIG"; then
19253 if test -n "$GRAPHITE2_LIBS"; then
19254 pkg_cv_GRAPHITE2_LIBS="$GRAPHITE2_LIBS"
19256 if test -n "$PKG_CONFIG" && \
19257 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GRAPHITE2_DEPS\""; } >&5
19258 ($PKG_CONFIG --exists --print-errors "$GRAPHITE2_DEPS") 2>&5
19260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19261 test $ac_status = 0; }; then
19262 pkg_cv_GRAPHITE2_LIBS=`$PKG_CONFIG --libs "$GRAPHITE2_DEPS" 2>/dev/null`
19273 if test $pkg_failed = yes; then
19275 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19276 _pkg_short_errors_supported=yes
19278 _pkg_short_errors_supported=no
19280 if test $_pkg_short_errors_supported = yes; then
19281 GRAPHITE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$GRAPHITE2_DEPS"`
19283 GRAPHITE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GRAPHITE2_DEPS"`
19285 # Put the nasty error message in config.log where it belongs
19286 echo "$GRAPHITE2_PKG_ERRORS" >&5
19288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19289 $as_echo "no" >&6; }
19291 elif test $pkg_failed = untried; then
19294 GRAPHITE2_CFLAGS=$pkg_cv_GRAPHITE2_CFLAGS
19295 GRAPHITE2_LIBS=$pkg_cv_GRAPHITE2_LIBS
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19297 $as_echo "yes" >&6; }
19298 have_graphite2=true
19300 if test "x$have_graphite2" != "xtrue"; then
19301 # If pkg-config is not available, graphite2 can still be there
19302 ac_save_CFLAGS="$CFLAGS"
19303 ac_save_CPPFLAGS="$CPPFLAGS"
19304 CFLAGS="$CFLAGS $GRAPHITE2_CFLAGS"
19305 CPPFLAGS="$CPPFLAGS $GRAPHITE2_CFLAGS"
19306 ac_fn_c_check_header_mongrel "$LINENO" "graphite2/Segment.h" "ac_cv_header_graphite2_Segment_h" "$ac_includes_default"
19307 if test "x$ac_cv_header_graphite2_Segment_h" = xyes; then :
19308 have_graphite2=true
19314 CPPFLAGS="$ac_save_CPPFLAGS"
19315 CFLAGS="$ac_save_CFLAGS"
19318 if test "x$with_graphite2" = "xyes" -a "x$have_graphite2" != "xtrue"; then
19319 as_fn_error $? "graphite2 support requested but libgraphite2 not found" "$LINENO" 5
19321 if $have_graphite2; then
19323 $as_echo "#define HAVE_GRAPHITE2 1" >>confdefs.h
19326 if $have_graphite2; then
19327 HAVE_GRAPHITE2_TRUE=
19328 HAVE_GRAPHITE2_FALSE='#'
19330 HAVE_GRAPHITE2_TRUE='#'
19331 HAVE_GRAPHITE2_FALSE=
19337 # Check whether --with-freetype was given.
19338 if test "${with_freetype+set}" = set; then :
19339 withval=$with_freetype;
19344 have_freetype=false
19345 FREETYPE_DEPS="freetype2 >= 12.0.6"
19347 if test "x$with_freetype" = "xyes" -o "x$with_freetype" = "xauto"; then
19348 # See freetype/docs/VERSION.DLL; 12.0.6 means freetype-2.4.2
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
19352 $as_echo_n "checking for FREETYPE... " >&6; }
19354 if test -n "$PKG_CONFIG"; then
19355 if test -n "$FREETYPE_CFLAGS"; then
19356 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
19358 if test -n "$PKG_CONFIG" && \
19359 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$FREETYPE_DEPS\""; } >&5
19360 ($PKG_CONFIG --exists --print-errors "$FREETYPE_DEPS") 2>&5
19362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19363 test $ac_status = 0; }; then
19364 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "$FREETYPE_DEPS" 2>/dev/null`
19372 if test -n "$PKG_CONFIG"; then
19373 if test -n "$FREETYPE_LIBS"; then
19374 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
19376 if test -n "$PKG_CONFIG" && \
19377 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$FREETYPE_DEPS\""; } >&5
19378 ($PKG_CONFIG --exists --print-errors "$FREETYPE_DEPS") 2>&5
19380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19381 test $ac_status = 0; }; then
19382 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "$FREETYPE_DEPS" 2>/dev/null`
19393 if test $pkg_failed = yes; then
19395 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19396 _pkg_short_errors_supported=yes
19398 _pkg_short_errors_supported=no
19400 if test $_pkg_short_errors_supported = yes; then
19401 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$FREETYPE_DEPS"`
19403 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$FREETYPE_DEPS"`
19405 # Put the nasty error message in config.log where it belongs
19406 echo "$FREETYPE_PKG_ERRORS" >&5
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19409 $as_echo "no" >&6; }
19411 elif test $pkg_failed = untried; then
19414 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
19415 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19417 $as_echo "yes" >&6; }
19421 if test "x$with_freetype" = "xyes" -a "x$have_freetype" != "xtrue"; then
19422 as_fn_error $? "FreeType support requested but libfreetype2 not found" "$LINENO" 5
19424 if $have_freetype; then
19426 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
19429 LIBS="$LIBS $FREETYPE_LIBS"
19430 for ac_func in FT_Get_Var_Blend_Coordinates
19432 ac_fn_c_check_func "$LINENO" "FT_Get_Var_Blend_Coordinates" "ac_cv_func_FT_Get_Var_Blend_Coordinates"
19433 if test "x$ac_cv_func_FT_Get_Var_Blend_Coordinates" = xyes; then :
19434 cat >>confdefs.h <<_ACEOF
19435 #define HAVE_FT_GET_VAR_BLEND_COORDINATES 1
19443 if $have_freetype; then
19444 HAVE_FREETYPE_TRUE=
19445 HAVE_FREETYPE_FALSE='#'
19447 HAVE_FREETYPE_TRUE='#'
19448 HAVE_FREETYPE_FALSE=
19454 # Check whether --with-uniscribe was given.
19455 if test "${with_uniscribe+set}" = set; then :
19456 withval=$with_uniscribe;
19461 have_uniscribe=false
19462 if test "x$with_uniscribe" = "xyes" -o "x$with_uniscribe" = "xauto"; then
19463 for ac_header in usp10.h windows.h
19465 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19466 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19467 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19468 cat >>confdefs.h <<_ACEOF
19469 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19471 have_uniscribe=true
19477 if test "x$with_uniscribe" = "xyes" -a "x$have_uniscribe" != "xtrue"; then
19478 as_fn_error $? "uniscribe support requested but not found" "$LINENO" 5
19480 if $have_uniscribe; then
19482 UNISCRIBE_LIBS="-lusp10 -lgdi32 -lrpcrt4"
19486 $as_echo "#define HAVE_UNISCRIBE 1" >>confdefs.h
19489 if $have_uniscribe; then
19490 HAVE_UNISCRIBE_TRUE=
19491 HAVE_UNISCRIBE_FALSE='#'
19493 HAVE_UNISCRIBE_TRUE='#'
19494 HAVE_UNISCRIBE_FALSE=
19500 # Check whether --with-directwrite was given.
19501 if test "${with_directwrite+set}" = set; then :
19502 withval=$with_directwrite;
19504 with_directwrite=no
19507 have_directwrite=false
19509 ac_cpp='$CXXCPP $CPPFLAGS'
19510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19514 if test "x$with_directwrite" = "xyes" -o "x$with_directwrite" = "xauto"; then
19516 for ac_header in dwrite.h
19518 ac_fn_cxx_check_header_mongrel "$LINENO" "dwrite.h" "ac_cv_header_dwrite_h" "$ac_includes_default"
19519 if test "x$ac_cv_header_dwrite_h" = xyes; then :
19520 cat >>confdefs.h <<_ACEOF
19521 #define HAVE_DWRITE_H 1
19523 have_directwrite=true
19530 ac_cpp='$CPP $CPPFLAGS'
19531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19535 if test "x$with_directwrite" = "xyes" -a "x$have_directwrite" != "xtrue"; then
19536 as_fn_error $? "directwrite support requested but not found" "$LINENO" 5
19538 if $have_directwrite; then
19539 DIRECTWRITE_CXXFLAGS=
19540 DIRECTWRITE_LIBS="-ldwrite"
19544 $as_echo "#define HAVE_DIRECTWRITE 1" >>confdefs.h
19547 if $have_directwrite; then
19548 HAVE_DIRECTWRITE_TRUE=
19549 HAVE_DIRECTWRITE_FALSE='#'
19551 HAVE_DIRECTWRITE_TRUE='#'
19552 HAVE_DIRECTWRITE_FALSE=
19558 # Check whether --with-coretext was given.
19559 if test "${with_coretext+set}" = set; then :
19560 withval=$with_coretext;
19565 have_coretext=false
19566 if test "x$with_coretext" = "xyes" -o "x$with_coretext" = "xauto"; then
19567 ac_fn_c_check_type "$LINENO" "CTFontRef" "ac_cv_type_CTFontRef" "#include <ApplicationServices/ApplicationServices.h>
19569 if test "x$ac_cv_type_CTFontRef" = xyes; then :
19574 if $have_coretext; then
19576 CORETEXT_LIBS="-framework ApplicationServices"
19580 # On iOS CoreText and CoreGraphics are stand-alone frameworks
19581 if test "x$have_coretext" != "xtrue"; then
19582 # Check for a different symbol to avoid getting cached result.
19583 ac_fn_c_check_type "$LINENO" "CTRunRef" "ac_cv_type_CTRunRef" "#include <CoreText/CoreText.h>
19585 if test "x$ac_cv_type_CTRunRef" = xyes; then :
19591 if $have_coretext; then
19593 CORETEXT_LIBS="-framework CoreText -framework CoreGraphics"
19599 if test "x$with_coretext" = "xyes" -a "x$have_coretext" != "xtrue"; then
19600 as_fn_error $? "CoreText support requested but libcoretext not found" "$LINENO" 5
19602 if $have_coretext; then
19604 $as_echo "#define HAVE_CORETEXT 1" >>confdefs.h
19607 if $have_coretext; then
19608 HAVE_CORETEXT_TRUE=
19609 HAVE_CORETEXT_FALSE='#'
19611 HAVE_CORETEXT_TRUE='#'
19612 HAVE_CORETEXT_FALSE=
19617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Intel atomic primitives" >&5
19618 $as_echo_n "checking for Intel atomic primitives... " >&6; }
19619 if ${hb_cv_have_intel_atomic_primitives+:} false; then :
19620 $as_echo_n "(cached) " >&6
19623 hb_cv_have_intel_atomic_primitives=false
19624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19625 /* end confdefs.h. */
19627 void memory_barrier (void) { __sync_synchronize (); }
19628 int atomic_add (int *i) { return __sync_fetch_and_add (i, 1); }
19629 int mutex_trylock (int *m) { return __sync_lock_test_and_set (m, 1); }
19630 void mutex_unlock (int *m) { __sync_lock_release (m); }
19640 if ac_fn_c_try_link "$LINENO"; then :
19641 hb_cv_have_intel_atomic_primitives=true
19644 rm -f core conftest.err conftest.$ac_objext \
19645 conftest$ac_exeext conftest.$ac_ext
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hb_cv_have_intel_atomic_primitives" >&5
19649 $as_echo "$hb_cv_have_intel_atomic_primitives" >&6; }
19650 if $hb_cv_have_intel_atomic_primitives; then
19652 $as_echo "#define HAVE_INTEL_ATOMIC_PRIMITIVES 1" >>confdefs.h
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Solaris atomic operations" >&5
19658 $as_echo_n "checking for Solaris atomic operations... " >&6; }
19659 if ${hb_cv_have_solaris_atomic_ops+:} false; then :
19660 $as_echo_n "(cached) " >&6
19663 hb_cv_have_solaris_atomic_ops=false
19664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19665 /* end confdefs.h. */
19667 #include <atomic.h>
19668 /* This requires Solaris Studio 12.2 or newer: */
19669 #include <mbarrier.h>
19670 void memory_barrier (void) { __machine_rw_barrier (); }
19671 int atomic_add (volatile unsigned *i) { return atomic_add_int_nv (i, 1); }
19672 void *atomic_ptr_cmpxchg (volatile void **target, void *cmp, void *newval) { return atomic_cas_ptr (target, cmp, newval); }
19682 if ac_fn_c_try_link "$LINENO"; then :
19683 hb_cv_have_solaris_atomic_ops=true
19686 rm -f core conftest.err conftest.$ac_objext \
19687 conftest$ac_exeext conftest.$ac_ext
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hb_cv_have_solaris_atomic_ops" >&5
19691 $as_echo "$hb_cv_have_solaris_atomic_ops" >&6; }
19692 if $hb_cv_have_solaris_atomic_ops; then
19694 $as_echo "#define HAVE_SOLARIS_ATOMIC_OPS 1" >>confdefs.h
19698 if test "$os_win32" = no && ! $have_pthread; then
19699 for ac_header in sched.h
19701 ac_fn_c_check_header_mongrel "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
19702 if test "x$ac_cv_header_sched_h" = xyes; then :
19703 cat >>confdefs.h <<_ACEOF
19704 #define HAVE_SCHED_H 1
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19712 $as_echo_n "checking for library containing sched_yield... " >&6; }
19713 if ${ac_cv_search_sched_yield+:} false; then :
19714 $as_echo_n "(cached) " >&6
19716 ac_func_search_save_LIBS=$LIBS
19717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19718 /* end confdefs.h. */
19720 /* Override any GCC internal prototype to avoid an error.
19721 Use char because int might match the return type of a GCC
19722 builtin and then its argument prototype would still apply. */
19726 char sched_yield ();
19730 return sched_yield ();
19735 for ac_lib in '' rt; do
19736 if test -z "$ac_lib"; then
19737 ac_res="none required"
19740 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19742 if ac_fn_c_try_link "$LINENO"; then :
19743 ac_cv_search_sched_yield=$ac_res
19745 rm -f core conftest.err conftest.$ac_objext \
19747 if ${ac_cv_search_sched_yield+:} false; then :
19751 if ${ac_cv_search_sched_yield+:} false; then :
19754 ac_cv_search_sched_yield=no
19756 rm conftest.$ac_ext
19757 LIBS=$ac_func_search_save_LIBS
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19760 $as_echo "$ac_cv_search_sched_yield" >&6; }
19761 ac_res=$ac_cv_search_sched_yield
19762 if test "$ac_res" != no; then :
19763 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19765 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19772 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"
19775 cat >confcache <<\_ACEOF
19776 # This file is a shell script that caches the results of configure
19777 # tests run on this system so they can be shared between configure
19778 # scripts and configure runs, see configure's option --config-cache.
19779 # It is not useful on other systems. If it contains results you don't
19780 # want to keep, you may remove or edit it.
19782 # config.status only pays attention to the cache file if you give it
19783 # the --recheck option to rerun configure.
19785 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19786 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19787 # following values.
19791 # The following way of writing the cache mishandles newlines in values,
19792 # but we know of no workaround that is simple, portable, and efficient.
19793 # So, we kill variables containing newlines.
19794 # Ultrix sh set writes to stderr and can't be redirected directly,
19795 # and sets the high bit in the cache file unless we assign to the vars.
19797 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19798 eval ac_val=\$$ac_var
19802 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19803 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19806 _ | IFS | as_nl) ;; #(
19807 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19808 *) { eval $ac_var=; unset $ac_var;} ;;
19814 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19815 *${as_nl}ac_space=\ *)
19816 # `set' does not quote correctly, so add quotes: double-quote
19817 # substitution turns \\\\ into \\, and sed turns \\ into \.
19820 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19823 # `set' quotes correctly as required by POSIX, so do not add quotes.
19824 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19833 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19835 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19837 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19838 if test -w "$cache_file"; then
19839 if test "x$cache_file" != "x/dev/null"; then
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19841 $as_echo "$as_me: updating cache $cache_file" >&6;}
19842 if test ! -f "$cache_file" || test -h "$cache_file"; then
19843 cat confcache >"$cache_file"
19845 case $cache_file in #(
19847 mv -f confcache "$cache_file"$$ &&
19848 mv -f "$cache_file"$$ "$cache_file" ;; #(
19850 mv -f confcache "$cache_file" ;;
19855 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19856 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19861 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19862 # Let make expand exec_prefix.
19863 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19865 DEFS=-DHAVE_CONFIG_H
19870 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19871 # 1. Remove the extension, and $U if already installed.
19872 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19873 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19874 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19875 # will be set to the directory where LIBOBJS objects are built.
19876 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19877 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19879 LIBOBJS=$ac_libobjs
19881 LTLIBOBJS=$ac_ltlibobjs
19884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19885 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19886 if test -n "$am_sleep_pid"; then
19887 # Hide warnings about reused PIDs.
19888 wait $am_sleep_pid 2>/dev/null
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19891 $as_echo "done" >&6; }
19892 if test -n "$EXEEXT"; then
19894 am__EXEEXT_FALSE='#'
19896 am__EXEEXT_TRUE='#'
19900 if test -z "${AUTOMAKE_OLDER_THAN_1_13_TRUE}" && test -z "${AUTOMAKE_OLDER_THAN_1_13_FALSE}"; then
19901 as_fn_error $? "conditional \"AUTOMAKE_OLDER_THAN_1_13\" was never defined.
19902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19904 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19905 as_fn_error $? "conditional \"AMDEP\" was never defined.
19906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19908 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19909 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19912 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19913 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19916 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19917 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19920 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
19921 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
19922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19924 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
19925 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
19926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19928 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
19929 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
19930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19932 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
19933 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
19934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19936 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
19937 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
19938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19940 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
19941 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
19942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19944 if test -z "${HAVE_GCC_TRUE}" && test -z "${HAVE_GCC_FALSE}"; then
19945 as_fn_error $? "conditional \"HAVE_GCC\" was never defined.
19946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19948 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
19949 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
19950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19952 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
19953 as_fn_error $? "conditional \"HAVE_PTHREAD\" was never defined.
19954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19956 if test -z "${HAVE_OT_TRUE}" && test -z "${HAVE_OT_FALSE}"; then
19957 as_fn_error $? "conditional \"HAVE_OT\" was never defined.
19958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19960 if test -z "${HAVE_FALLBACK_TRUE}" && test -z "${HAVE_FALLBACK_FALSE}"; then
19961 as_fn_error $? "conditional \"HAVE_FALLBACK\" was never defined.
19962 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19964 if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
19965 as_fn_error $? "conditional \"HAVE_GLIB\" was never defined.
19966 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19968 if test -z "${HAVE_GOBJECT_TRUE}" && test -z "${HAVE_GOBJECT_FALSE}"; then
19969 as_fn_error $? "conditional \"HAVE_GOBJECT\" was never defined.
19970 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19972 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
19973 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
19974 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19976 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
19977 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
19978 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19980 if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then
19981 as_fn_error $? "conditional \"HAVE_CAIRO\" was never defined.
19982 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19984 if test -z "${HAVE_CAIRO_FT_TRUE}" && test -z "${HAVE_CAIRO_FT_FALSE}"; then
19985 as_fn_error $? "conditional \"HAVE_CAIRO_FT\" was never defined.
19986 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19988 if test -z "${HAVE_FONTCONFIG_TRUE}" && test -z "${HAVE_FONTCONFIG_FALSE}"; then
19989 as_fn_error $? "conditional \"HAVE_FONTCONFIG\" was never defined.
19990 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19992 if test -z "${HAVE_ICU_TRUE}" && test -z "${HAVE_ICU_FALSE}"; then
19993 as_fn_error $? "conditional \"HAVE_ICU\" was never defined.
19994 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19996 if test -z "${HAVE_ICU_BUILTIN_TRUE}" && test -z "${HAVE_ICU_BUILTIN_FALSE}"; then
19997 as_fn_error $? "conditional \"HAVE_ICU_BUILTIN\" was never defined.
19998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20000 if test -z "${HAVE_UCDN_TRUE}" && test -z "${HAVE_UCDN_FALSE}"; then
20001 as_fn_error $? "conditional \"HAVE_UCDN\" was never defined.
20002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20004 if test -z "${HAVE_GRAPHITE2_TRUE}" && test -z "${HAVE_GRAPHITE2_FALSE}"; then
20005 as_fn_error $? "conditional \"HAVE_GRAPHITE2\" was never defined.
20006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20008 if test -z "${HAVE_FREETYPE_TRUE}" && test -z "${HAVE_FREETYPE_FALSE}"; then
20009 as_fn_error $? "conditional \"HAVE_FREETYPE\" was never defined.
20010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20012 if test -z "${HAVE_UNISCRIBE_TRUE}" && test -z "${HAVE_UNISCRIBE_FALSE}"; then
20013 as_fn_error $? "conditional \"HAVE_UNISCRIBE\" was never defined.
20014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20016 if test -z "${HAVE_DIRECTWRITE_TRUE}" && test -z "${HAVE_DIRECTWRITE_FALSE}"; then
20017 as_fn_error $? "conditional \"HAVE_DIRECTWRITE\" was never defined.
20018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20020 if test -z "${HAVE_CORETEXT_TRUE}" && test -z "${HAVE_CORETEXT_FALSE}"; then
20021 as_fn_error $? "conditional \"HAVE_CORETEXT\" was never defined.
20022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20025 : "${CONFIG_STATUS=./config.status}"
20027 ac_clean_files_save=$ac_clean_files
20028 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20030 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20032 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20034 # Generated by $as_me.
20035 # Run this file to recreate the current configuration.
20036 # Compiler output produced by configure, useful for debugging
20037 # configure, is in config.log if it exists.
20040 ac_cs_recheck=false
20043 SHELL=\${CONFIG_SHELL-$SHELL}
20046 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20047 ## -------------------- ##
20048 ## M4sh Initialization. ##
20049 ## -------------------- ##
20051 # Be more Bourne compatible
20052 DUALCASE=1; export DUALCASE # for MKS sh
20053 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20056 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20057 # is contrary to our usage. Disable this feature.
20058 alias -g '${1+"$@"}'='"$@"'
20059 setopt NO_GLOB_SUBST
20061 case `(set -o) 2>/dev/null` in #(
20073 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20074 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20075 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20076 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20077 # Prefer a ksh shell builtin over an external printf program on Solaris,
20078 # but without wasting forks for bash or zsh.
20079 if test -z "$BASH_VERSION$ZSH_VERSION" \
20080 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20081 as_echo='print -r --'
20082 as_echo_n='print -rn --'
20083 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20084 as_echo='printf %s\n'
20085 as_echo_n='printf %s'
20087 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20088 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20089 as_echo_n='/usr/ucb/echo -n'
20091 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20092 as_echo_n_body='eval
20096 expr "X$arg" : "X\\(.*\\)$as_nl";
20097 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20099 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20101 export as_echo_n_body
20102 as_echo_n='sh -c $as_echo_n_body as_echo'
20104 export as_echo_body
20105 as_echo='sh -c $as_echo_body as_echo'
20108 # The user is always right.
20109 if test "${PATH_SEPARATOR+set}" != set; then
20111 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20112 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20119 # We need space, tab and new line, in precisely that order. Quoting is
20120 # there to prevent editors from complaining about space-tab.
20121 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20122 # splitting by setting IFS to empty value.)
20125 # Find who we are. Look in the path if we contain no directory separator.
20128 *[\\/]* ) as_myself=$0 ;;
20129 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20130 for as_dir in $PATH
20133 test -z "$as_dir" && as_dir=.
20134 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20140 # We did not find ourselves, most probably we were run as `sh COMMAND'
20141 # in which case we are not to be found in the path.
20142 if test "x$as_myself" = x; then
20145 if test ! -f "$as_myself"; then
20146 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20150 # Unset variables that we do not need and which cause bugs (e.g. in
20151 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20152 # suppresses any "Segmentation fault" message there. '((' could
20153 # trigger a bug in pdksh 5.2.14.
20154 for as_var in BASH_ENV ENV MAIL MAILPATH
20155 do eval test x\${$as_var+set} = xset \
20156 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20169 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20172 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20173 # ----------------------------------------
20174 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20175 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20176 # script with STATUS, using 1 if that was 0.
20179 as_status=$1; test $as_status -eq 0 && as_status=1
20181 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20182 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20184 $as_echo "$as_me: error: $2" >&2
20185 as_fn_exit $as_status
20189 # as_fn_set_status STATUS
20190 # -----------------------
20191 # Set $? to STATUS, without forking.
20192 as_fn_set_status ()
20195 } # as_fn_set_status
20197 # as_fn_exit STATUS
20198 # -----------------
20199 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20203 as_fn_set_status $1
20209 # Portably unset VAR.
20212 { eval $1=; unset $1;}
20214 as_unset=as_fn_unset
20215 # as_fn_append VAR VALUE
20216 # ----------------------
20217 # Append the text in VALUE to the end of the definition contained in VAR. Take
20218 # advantage of any shell optimizations that allow amortized linear growth over
20219 # repeated appends, instead of the typical quadratic growth present in naive
20221 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20222 eval 'as_fn_append ()
20233 # as_fn_arith ARG...
20234 # ------------------
20235 # Perform arithmetic evaluation on the ARGs, and store the result in the
20236 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20237 # must be portable across $(()) and expr.
20238 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20239 eval 'as_fn_arith ()
20246 as_val=`expr "$@" || test $? -eq 1`
20251 if expr a : '\(a\)' >/dev/null 2>&1 &&
20252 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20258 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20259 as_basename=basename
20264 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20270 as_me=`$as_basename -- "$0" ||
20271 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20272 X"$0" : 'X\(//\)$' \| \
20273 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20275 sed '/^.*\/\([^/][^/]*\)\/*$/{
20289 # Avoid depending upon Character Ranges.
20290 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20291 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20292 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20293 as_cr_digits='0123456789'
20294 as_cr_alnum=$as_cr_Letters$as_cr_digits
20296 ECHO_C= ECHO_N= ECHO_T=
20297 case `echo -n x` in #(((((
20299 case `echo 'xy\c'` in
20300 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20302 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20309 rm -f conf$$ conf$$.exe conf$$.file
20310 if test -d conf$$.dir; then
20311 rm -f conf$$.dir/conf$$.file
20314 mkdir conf$$.dir 2>/dev/null
20316 if (echo >conf$$.file) 2>/dev/null; then
20317 if ln -s conf$$.file conf$$ 2>/dev/null; then
20319 # ... but there are two gotchas:
20320 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20321 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20322 # In both cases, we have to default to `cp -pR'.
20323 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20325 elif ln conf$$.file conf$$ 2>/dev/null; then
20333 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20334 rmdir conf$$.dir 2>/dev/null
20339 # Create "$as_dir" as a directory, including parents if necessary.
20344 -*) as_dir=./$as_dir;;
20346 test -d "$as_dir" || eval $as_mkdir_p || {
20350 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20351 *) as_qdir=$as_dir;;
20353 as_dirs="'$as_qdir' $as_dirs"
20354 as_dir=`$as_dirname -- "$as_dir" ||
20355 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20356 X"$as_dir" : 'X\(//\)[^/]' \| \
20357 X"$as_dir" : 'X\(//\)$' \| \
20358 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20359 $as_echo X"$as_dir" |
20360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20364 /^X\(\/\/\)[^/].*/{
20377 test -d "$as_dir" && break
20379 test -z "$as_dirs" || eval "mkdir $as_dirs"
20380 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20384 if mkdir -p . 2>/dev/null; then
20385 as_mkdir_p='mkdir -p "$as_dir"'
20387 test -d ./-p && rmdir ./-p
20392 # as_fn_executable_p FILE
20393 # -----------------------
20394 # Test if FILE is an executable regular file.
20395 as_fn_executable_p ()
20397 test -f "$1" && test -x "$1"
20398 } # as_fn_executable_p
20399 as_test_x='test -x'
20400 as_executable_p=as_fn_executable_p
20402 # Sed expression to map a string onto a valid CPP name.
20403 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20405 # Sed expression to map a string onto a valid variable name.
20406 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20410 ## ----------------------------------- ##
20411 ## Main body of $CONFIG_STATUS script. ##
20412 ## ----------------------------------- ##
20414 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20417 # Save the log message, to keep $0 and so on meaningful, and to
20418 # report actual input values of CONFIG_FILES etc. instead of their
20419 # values after options handling.
20421 This file was extended by HarfBuzz $as_me 1.4.6, which was
20422 generated by GNU Autoconf 2.69. Invocation command line was
20424 CONFIG_FILES = $CONFIG_FILES
20425 CONFIG_HEADERS = $CONFIG_HEADERS
20426 CONFIG_LINKS = $CONFIG_LINKS
20427 CONFIG_COMMANDS = $CONFIG_COMMANDS
20430 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20435 case $ac_config_files in *"
20436 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20439 case $ac_config_headers in *"
20440 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20445 # Files that config.status was made for.
20446 config_files="$ac_config_files"
20447 config_headers="$ac_config_headers"
20448 config_commands="$ac_config_commands"
20452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20454 \`$as_me' instantiates files and other configuration actions
20455 from templates according to the current configuration. Unless the files
20456 and actions are specified as TAGs, all are instantiated by default.
20458 Usage: $0 [OPTION]... [TAG]...
20460 -h, --help print this help, then exit
20461 -V, --version print version number and configuration settings, then exit
20462 --config print configuration, then exit
20463 -q, --quiet, --silent
20464 do not print progress messages
20465 -d, --debug don't remove temporary files
20466 --recheck update $as_me by reconfiguring in the same conditions
20467 --file=FILE[:TEMPLATE]
20468 instantiate the configuration file FILE
20469 --header=FILE[:TEMPLATE]
20470 instantiate the configuration header FILE
20472 Configuration files:
20475 Configuration headers:
20478 Configuration commands:
20481 Report bugs to <https://github.com/behdad/harfbuzz/issues/new>.
20482 HarfBuzz home page: <http://harfbuzz.org/>."
20485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20486 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20488 HarfBuzz config.status 1.4.6
20489 configured by $0, generated by GNU Autoconf 2.69,
20490 with options \\"\$ac_cs_config\\"
20492 Copyright (C) 2012 Free Software Foundation, Inc.
20493 This config.status script is free software; the Free Software Foundation
20494 gives unlimited permission to copy, distribute and modify it."
20501 test -n "\$AWK" || AWK=awk
20504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20505 # The default lists apply if the user does not specify any file.
20511 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20512 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20516 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20528 # Handling of the options.
20529 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20531 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20532 $as_echo "$ac_cs_version"; exit ;;
20533 --config | --confi | --conf | --con | --co | --c )
20534 $as_echo "$ac_cs_config"; exit ;;
20535 --debug | --debu | --deb | --de | --d | -d )
20537 --file | --fil | --fi | --f )
20540 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20541 '') as_fn_error $? "missing file argument" ;;
20543 as_fn_append CONFIG_FILES " '$ac_optarg'"
20544 ac_need_defaults=false;;
20545 --header | --heade | --head | --hea )
20548 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20550 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20551 ac_need_defaults=false;;
20553 # Conflict between --help and --header
20554 as_fn_error $? "ambiguous option: \`$1'
20555 Try \`$0 --help' for more information.";;
20556 --help | --hel | -h )
20557 $as_echo "$ac_cs_usage"; exit ;;
20558 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20559 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20562 # This is an error.
20563 -*) as_fn_error $? "unrecognized option: \`$1'
20564 Try \`$0 --help' for more information." ;;
20566 *) as_fn_append ac_config_targets " $1"
20567 ac_need_defaults=false ;;
20573 ac_configure_extra_args=
20575 if $ac_cs_silent; then
20577 ac_configure_extra_args="$ac_configure_extra_args --silent"
20581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20582 if \$ac_cs_recheck; then
20583 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20585 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20586 CONFIG_SHELL='$SHELL'
20587 export CONFIG_SHELL
20592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20596 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20597 ## Running $as_me. ##
20603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20607 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20610 # The HP-UX ksh and POSIX shell print the target directory to stdout
20611 # if CDPATH is set.
20612 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20614 sed_quote_subst='$sed_quote_subst'
20615 double_quote_subst='$double_quote_subst'
20616 delay_variable_subst='$delay_variable_subst'
20617 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20618 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20619 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20620 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20621 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20622 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20623 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20624 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20625 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20626 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20627 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20628 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20629 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20630 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20631 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20632 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20633 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20634 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20635 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20636 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20637 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20638 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20639 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20640 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20641 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20642 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20643 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20644 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20645 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20646 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20647 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20648 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20649 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20650 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20651 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20652 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20653 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20654 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20655 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20656 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20657 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20658 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20659 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20660 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20661 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20662 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20663 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20664 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20665 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20666 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20667 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20668 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20669 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20670 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20671 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20672 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20673 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"`'
20674 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20675 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20676 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20677 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20678 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20679 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20680 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20681 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20682 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20683 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20684 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20685 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20686 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20687 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20688 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20689 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20690 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20691 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20692 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20693 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20694 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20695 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20696 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20697 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20698 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20699 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20700 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20701 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20702 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20703 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20704 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20705 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20706 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20707 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20708 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20709 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20710 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20711 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20712 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20713 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20714 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20715 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20716 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20717 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20718 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20719 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20720 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20721 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20722 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20723 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20724 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20725 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20726 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20727 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20728 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20729 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20730 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20731 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20732 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20733 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20734 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20735 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20736 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20737 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20738 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20739 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20740 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20741 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20742 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20743 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20744 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20745 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20746 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20747 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20748 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20749 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20750 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20751 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20752 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20753 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20754 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20755 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20756 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20757 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20758 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20759 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20760 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20761 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20762 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20763 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20764 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20765 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20766 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20767 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20768 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20769 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20770 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20771 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20772 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20773 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20774 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20775 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20776 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20777 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20778 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20779 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20780 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20781 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20782 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20783 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20784 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20785 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20786 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20787 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20788 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20789 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20790 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20791 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20792 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20793 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20794 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20795 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20796 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20797 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20798 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20799 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20800 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20803 LTCFLAGS='$LTCFLAGS'
20804 compiler='$compiler_DEFAULT'
20806 # A function that is used when there is no print builtin or printf.
20807 func_fallback_echo ()
20809 eval 'cat <<_LTECHO_EOF
20814 # Quote evaled strings.
20829 deplibs_check_method \
20834 sharedlib_from_linklib_cmd \
20837 archiver_list_spec \
20843 lt_cv_sys_global_symbol_pipe \
20844 lt_cv_sys_global_symbol_to_cdecl \
20845 lt_cv_sys_global_symbol_to_c_name_address \
20846 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20847 nm_file_list_spec \
20848 lt_prog_compiler_no_builtin_flag \
20849 lt_prog_compiler_pic \
20850 lt_prog_compiler_wl \
20851 lt_prog_compiler_static \
20852 lt_cv_prog_compiler_c_o \
20861 export_dynamic_flag_spec \
20862 whole_archive_flag_spec \
20863 compiler_needs_object \
20865 allow_undefined_flag \
20866 no_undefined_flag \
20867 hardcode_libdir_flag_spec \
20868 hardcode_libdir_separator \
20872 variables_saved_for_relink \
20874 library_names_spec \
20876 install_override_mode \
20880 compiler_lib_search_dirs \
20885 compiler_lib_search_path \
20889 lt_prog_compiler_no_builtin_flag_CXX \
20890 lt_prog_compiler_pic_CXX \
20891 lt_prog_compiler_wl_CXX \
20892 lt_prog_compiler_static_CXX \
20893 lt_cv_prog_compiler_c_o_CXX \
20894 export_dynamic_flag_spec_CXX \
20895 whole_archive_flag_spec_CXX \
20896 compiler_needs_object_CXX \
20898 allow_undefined_flag_CXX \
20899 no_undefined_flag_CXX \
20900 hardcode_libdir_flag_spec_CXX \
20901 hardcode_libdir_separator_CXX \
20902 exclude_expsyms_CXX \
20903 include_expsyms_CXX \
20904 file_list_spec_CXX \
20905 compiler_lib_search_dirs_CXX \
20906 predep_objects_CXX \
20907 postdep_objects_CXX \
20910 compiler_lib_search_path_CXX; do
20911 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20912 *[\\\\\\\`\\"\\\$]*)
20913 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20916 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20921 # Double-quote double-evaled strings.
20922 for var in reload_cmds \
20923 old_postinstall_cmds \
20924 old_postuninstall_cmds \
20926 extract_expsyms_cmds \
20927 old_archive_from_new_cmds \
20928 old_archive_from_expsyms_cmds \
20930 archive_expsym_cmds \
20932 module_expsym_cmds \
20933 export_symbols_cmds \
20937 postuninstall_cmds \
20939 sys_lib_search_path_spec \
20940 sys_lib_dlsearch_path_spec \
20942 old_archive_cmds_CXX \
20943 old_archive_from_new_cmds_CXX \
20944 old_archive_from_expsyms_cmds_CXX \
20946 archive_expsym_cmds_CXX \
20948 module_expsym_cmds_CXX \
20949 export_symbols_cmds_CXX \
20951 postlink_cmds_CXX; do
20952 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20953 *[\\\\\\\`\\"\\\$]*)
20954 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20957 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20962 ac_aux_dir='$ac_aux_dir'
20963 xsi_shell='$xsi_shell'
20964 lt_shell_append='$lt_shell_append'
20966 # See if we are running on zsh, and set the options which allow our
20967 # commands through without removal of \ escapes INIT.
20968 if test -n "\${ZSH_VERSION+set}" ; then
20969 setopt NO_GLOB_SUBST
20975 TIMESTAMP='$TIMESTAMP'
20986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20988 # Handling of arguments.
20989 for ac_config_target in $ac_config_targets
20991 case $ac_config_target in
20992 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20993 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20994 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20995 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20996 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20997 "src/hb-version.h") CONFIG_FILES="$CONFIG_FILES src/hb-version.h" ;;
20998 "src/hb-ucdn/Makefile") CONFIG_FILES="$CONFIG_FILES src/hb-ucdn/Makefile" ;;
20999 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
21000 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
21001 "test/api/Makefile") CONFIG_FILES="$CONFIG_FILES test/api/Makefile" ;;
21002 "test/fuzzing/Makefile") CONFIG_FILES="$CONFIG_FILES test/fuzzing/Makefile" ;;
21003 "test/shaping/Makefile") CONFIG_FILES="$CONFIG_FILES test/shaping/Makefile" ;;
21004 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
21005 "docs/version.xml") CONFIG_FILES="$CONFIG_FILES docs/version.xml" ;;
21006 "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
21007 "win32/config.h.win32") CONFIG_FILES="$CONFIG_FILES win32/config.h.win32" ;;
21009 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21014 # If the user did not use the arguments to specify the items to instantiate,
21015 # then the envvar interface is used. Set only those that are not.
21016 # We use the long form for the default assignment because of an extremely
21017 # bizarre bug on SunOS 4.1.3.
21018 if $ac_need_defaults; then
21019 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21020 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21021 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21024 # Have a temporary directory for convenience. Make it in the build tree
21025 # simply because there is no reason against having it here, and in addition,
21026 # creating and moving files from /tmp can sometimes cause problems.
21027 # Hook for its removal unless debugging.
21028 # Note that there is a small window in which the directory will not be cleaned:
21029 # after its creation but before its name has been assigned to `$tmp'.
21033 trap 'exit_status=$?
21034 : "${ac_tmp:=$tmp}"
21035 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21037 trap 'as_fn_exit 1' 1 2 13 15
21039 # Create a (secure) tmp directory for tmp files.
21042 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21046 tmp=./conf$$-$RANDOM
21047 (umask 077 && mkdir "$tmp")
21048 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21051 # Set up the scripts for CONFIG_FILES section.
21052 # No need to generate them if there are no CONFIG_FILES.
21053 # This happens for instance with `./config.status config.h'.
21054 if test -n "$CONFIG_FILES"; then
21057 ac_cr=`echo X | tr X '\015'`
21058 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21059 # But we know of no other shell where ac_cr would be empty at this
21060 # point, so we can use a bashism as a fallback.
21061 if test "x$ac_cr" = x; then
21062 eval ac_cr=\$\'\\r\'
21064 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21065 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21068 ac_cs_awk_cr=$ac_cr
21071 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21076 echo "cat >conf$$subs.awk <<_ACEOF" &&
21077 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21079 } >conf$$subs.sh ||
21080 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21081 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21083 for ac_last_try in false false false false false :; do
21084 . ./conf$$subs.sh ||
21085 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21087 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21088 if test $ac_delim_n = $ac_delim_num; then
21090 elif $ac_last_try; then
21091 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21093 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21096 rm -f conf$$subs.sh
21098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21099 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21103 s/^/S["/; s/!.*/"]=/
21113 s/\(.\{148\}\)..*/\1/
21115 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21120 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21127 s/\(.\{148\}\)..*/\1/
21129 s/["\\]/\\&/g; s/^/"/; s/$/"/
21133 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21138 ' <conf$$subs.awk | sed '
21143 ' >>$CONFIG_STATUS || ac_write_fail=1
21144 rm -f conf$$subs.awk
21145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21147 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21148 for (key in S) S_is_set[key] = 1
21154 nfields = split(line, field, "@")
21156 len = length(field[1])
21157 for (i = 2; i < nfields; i++) {
21159 keylen = length(key)
21160 if (S_is_set[key]) {
21162 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21163 len += length(value) + length(field[++i])
21174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21175 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21176 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21179 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21180 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21183 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21184 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21185 # trailing colons and then remove the whole line if VPATH becomes empty
21186 # (actually we leave an empty line to preserve line numbers).
21187 if test "x$srcdir" = x.; then
21188 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21207 fi # test -n "$CONFIG_FILES"
21209 # Set up the scripts for CONFIG_HEADERS section.
21210 # No need to generate them if there are no CONFIG_HEADERS.
21211 # This happens for instance with `./config.status Makefile'.
21212 if test -n "$CONFIG_HEADERS"; then
21213 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21217 # Transform confdefs.h into an awk script `defines.awk', embedded as
21218 # here-document in config.status, that substitutes the proper values into
21219 # config.h.in to produce config.h.
21221 # Create a delimiter string that does not exist in confdefs.h, to ease
21222 # handling of long lines.
21224 for ac_last_try in false false :; do
21225 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21226 if test -z "$ac_tt"; then
21228 elif $ac_last_try; then
21229 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21231 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21235 # For the awk script, D is an array of macro values keyed by name,
21236 # likewise P contains macro parameters if any. Preserve backslash
21237 # newline sequences.
21239 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21241 s/.\{148\}/&'"$ac_delim"'/g
21244 s/^[ ]*#[ ]*define[ ][ ]*/ /
21251 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21253 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21257 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21258 D["\1"]=" \3\\\\\\n"\\/p
21260 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21265 s/.\{148\}/&'"$ac_delim"'/g
21270 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21273 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21275 ' <confdefs.h | sed '
21276 s/'"$ac_delim"'/"\\\
21277 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21280 for (key in D) D_is_set[key] = 1
21283 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21285 split(line, arg, " ")
21286 if (arg[1] == "#") {
21290 defundef = substr(arg[1], 2)
21293 split(mac1, mac2, "(") #)
21295 prefix = substr(line, 1, index(line, defundef) - 1)
21296 if (D_is_set[macro]) {
21297 # Preserve the white space surrounding the "#".
21298 print prefix "define", macro P[macro] D[macro]
21301 # Replace #undef with comments. This is necessary, for example,
21302 # in the case of _POSIX_SOURCE, which is predefined and required
21303 # on some systems where configure will not decide to define it.
21304 if (defundef == "undef") {
21305 print "/*", prefix defundef, macro, "*/"
21313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21314 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21315 fi # test -n "$CONFIG_HEADERS"
21318 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21323 :[FHLC]) ac_mode=$ac_tag; continue;;
21325 case $ac_mode$ac_tag in
21327 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21328 :[FH]-) ac_tag=-:-;;
21329 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21346 -) ac_f="$ac_tmp/stdin";;
21347 *) # Look for the file first in the build tree, then in the source tree
21348 # (if the path is not absolute). The absolute path cannot be DOS-style,
21349 # because $ac_f cannot contain `:'.
21353 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21355 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21357 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21358 as_fn_append ac_file_inputs " '$ac_f'"
21361 # Let's still pretend it is `configure' which instantiates (i.e., don't
21362 # use $as_me), people would be surprised to read:
21363 # /* config.h. Generated by config.status. */
21364 configure_input='Generated from '`
21365 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21367 if test x"$ac_file" != x-; then
21368 configure_input="$ac_file. $configure_input"
21369 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21370 $as_echo "$as_me: creating $ac_file" >&6;}
21372 # Neutralize special characters interpreted by sed in replacement strings.
21373 case $configure_input in #(
21374 *\&* | *\|* | *\\* )
21375 ac_sed_conf_input=`$as_echo "$configure_input" |
21376 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21377 *) ac_sed_conf_input=$configure_input;;
21381 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21382 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21387 ac_dir=`$as_dirname -- "$ac_file" ||
21388 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21389 X"$ac_file" : 'X\(//\)[^/]' \| \
21390 X"$ac_file" : 'X\(//\)$' \| \
21391 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21392 $as_echo X"$ac_file" |
21393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21397 /^X\(\/\/\)[^/].*/{
21410 as_dir="$ac_dir"; as_fn_mkdir_p
21414 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21416 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21417 # A ".." for each directory in $ac_dir_suffix.
21418 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21419 case $ac_top_builddir_sub in
21420 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21421 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21424 ac_abs_top_builddir=$ac_pwd
21425 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21426 # for backward compatibility:
21427 ac_top_builddir=$ac_top_build_prefix
21430 .) # We are building in place.
21432 ac_top_srcdir=$ac_top_builddir_sub
21433 ac_abs_top_srcdir=$ac_pwd ;;
21434 [\\/]* | ?:[\\/]* ) # Absolute name.
21435 ac_srcdir=$srcdir$ac_dir_suffix;
21436 ac_top_srcdir=$srcdir
21437 ac_abs_top_srcdir=$srcdir ;;
21438 *) # Relative name.
21439 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21440 ac_top_srcdir=$ac_top_build_prefix$srcdir
21441 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21443 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21453 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21454 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21456 ac_MKDIR_P=$MKDIR_P
21458 [\\/$]* | ?:[\\/]* ) ;;
21459 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21464 # If the template does not know about datarootdir, expand it.
21465 # FIXME: This hack should be removed a few years after 2.60.
21466 ac_datarootdir_hack=; ac_datarootdir_seen=
21477 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21478 *datarootdir*) ac_datarootdir_seen=yes;;
21479 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21481 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21484 ac_datarootdir_hack='
21485 s&@datadir@&$datadir&g
21486 s&@docdir@&$docdir&g
21487 s&@infodir@&$infodir&g
21488 s&@localedir@&$localedir&g
21489 s&@mandir@&$mandir&g
21490 s&\\\${datarootdir}&$datarootdir&g' ;;
21494 # Neutralize VPATH when `$srcdir' = `.'.
21495 # Shell code in configure.ac might set extrasub.
21496 # FIXME: do we really want to maintain this feature?
21497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21498 ac_sed_extra="$ac_vpsub
21501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21503 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21504 s|@configure_input@|$ac_sed_conf_input|;t t
21505 s&@top_builddir@&$ac_top_builddir_sub&;t t
21506 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21507 s&@srcdir@&$ac_srcdir&;t t
21508 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21509 s&@top_srcdir@&$ac_top_srcdir&;t t
21510 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21511 s&@builddir@&$ac_builddir&;t t
21512 s&@abs_builddir@&$ac_abs_builddir&;t t
21513 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21514 s&@INSTALL@&$ac_INSTALL&;t t
21515 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21516 $ac_datarootdir_hack
21518 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21519 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21521 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21522 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21523 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21524 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21526 which seems to be undefined. Please make sure it is defined" >&5
21527 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21528 which seems to be undefined. Please make sure it is defined" >&2;}
21530 rm -f "$ac_tmp/stdin"
21532 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21533 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21535 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21541 if test x"$ac_file" != x-; then
21543 $as_echo "/* $configure_input */" \
21544 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21545 } >"$ac_tmp/config.h" \
21546 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21547 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21548 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21549 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21552 mv "$ac_tmp/config.h" "$ac_file" \
21553 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21556 $as_echo "/* $configure_input */" \
21557 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21558 || as_fn_error $? "could not create -" "$LINENO" 5
21560 # Compute "$ac_file"'s index in $config_headers.
21563 for _am_header in $config_headers :; do
21564 case $_am_header in
21565 $_am_arg | $_am_arg:* )
21568 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21571 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21572 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21573 X"$_am_arg" : 'X\(//\)[^/]' \| \
21574 X"$_am_arg" : 'X\(//\)$' \| \
21575 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21576 $as_echo X"$_am_arg" |
21577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21581 /^X\(\/\/\)[^/].*/{
21593 s/.*/./; q'`/stamp-h$_am_stamp_count
21596 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21597 $as_echo "$as_me: executing $ac_file commands" >&6;}
21602 case $ac_file$ac_mode in
21603 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21604 # Older Autoconf quotes --file arguments for eval, but not when files
21605 # are listed without --file. Let's play safe and only enable the eval
21606 # if we detect the quoting.
21607 case $CONFIG_FILES in
21608 *\'*) eval set x "$CONFIG_FILES" ;;
21609 *) set x $CONFIG_FILES ;;
21614 # Strip MF so we end up with the name of the file.
21615 mf=`echo "$mf" | sed -e 's/:.*$//'`
21616 # Check whether this is an Automake generated Makefile or not.
21617 # We used to match only the files named 'Makefile.in', but
21618 # some people rename them; so instead we look at the file content.
21619 # Grep'ing the first line is not enough: some people post-process
21620 # each Makefile.in and add a new line on top of each file to say so.
21621 # Grep'ing the whole file is not good either: AIX grep has a line
21622 # limit of 2048, but all sed's we know have understand at least 4000.
21623 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21624 dirpart=`$as_dirname -- "$mf" ||
21625 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21626 X"$mf" : 'X\(//\)[^/]' \| \
21627 X"$mf" : 'X\(//\)$' \| \
21628 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21634 /^X\(\/\/\)[^/].*/{
21650 # Extract the definition of DEPDIR, am__include, and am__quote
21651 # from the Makefile without running 'make'.
21652 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21653 test -z "$DEPDIR" && continue
21654 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21655 test -z "$am__include" && continue
21656 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21657 # Find all dependency output files, they are included files with
21658 # $(DEPDIR) in their names. We invoke sed twice because it is the
21659 # simplest approach to changing $(DEPDIR) to its actual value in the
21661 for file in `sed -n "
21662 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21663 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21664 # Make sure the directory exists.
21665 test -f "$dirpart/$file" && continue
21666 fdir=`$as_dirname -- "$file" ||
21667 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21668 X"$file" : 'X\(//\)[^/]' \| \
21669 X"$file" : 'X\(//\)$' \| \
21670 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21671 $as_echo X"$file" |
21672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21676 /^X\(\/\/\)[^/].*/{
21689 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21690 # echo "creating $dirpart/$file"
21691 echo '# dummy' > "$dirpart/$file"
21698 # See if we are running on zsh, and set the options which allow our
21699 # commands through without removal of \ escapes.
21700 if test -n "${ZSH_VERSION+set}" ; then
21701 setopt NO_GLOB_SUBST
21704 cfgfile="${ofile}T"
21705 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21708 cat <<_LT_EOF >> "$cfgfile"
21711 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21712 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21713 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21714 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21716 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21717 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21719 # Written by Gordon Matzigkeit, 1996
21721 # This file is part of GNU Libtool.
21723 # GNU Libtool is free software; you can redistribute it and/or
21724 # modify it under the terms of the GNU General Public License as
21725 # published by the Free Software Foundation; either version 2 of
21726 # the License, or (at your option) any later version.
21728 # As a special exception to the GNU General Public License,
21729 # if you distribute this file as part of a program or library that
21730 # is built using GNU Libtool, you may include this file under the
21731 # same distribution terms that you use for the rest of that program.
21733 # GNU Libtool is distributed in the hope that it will be useful,
21734 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21735 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21736 # GNU General Public License for more details.
21738 # You should have received a copy of the GNU General Public License
21739 # along with GNU Libtool; see the file COPYING. If not, a copy
21740 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21741 # obtained by writing to the Free Software Foundation, Inc.,
21742 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21745 # The names of the tagged configurations supported by this script.
21746 available_tags="CXX "
21748 # ### BEGIN LIBTOOL CONFIG
21750 # Which release of libtool.m4 was used?
21751 macro_version=$macro_version
21752 macro_revision=$macro_revision
21754 # Whether or not to build static libraries.
21755 build_old_libs=$enable_static
21757 # Whether or not to build shared libraries.
21758 build_libtool_libs=$enable_shared
21760 # What type of objects to build.
21763 # Whether or not to optimize for fast installation.
21764 fast_install=$enable_fast_install
21766 # Shell to use when invoking shell scripts.
21769 # An echo program that protects backslashes.
21772 # The PATH separator for the build system.
21773 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21776 host_alias=$host_alias
21780 # The build system.
21781 build_alias=$build_alias
21785 # A sed program that does not truncate output.
21788 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21789 Xsed="\$SED -e 1s/^X//"
21791 # A grep program that handles long lines.
21797 # A literal string matcher.
21800 # A BSD- or MS-compatible name lister.
21803 # Whether we need soft or hard links.
21806 # What is the maximum length of a command?
21807 max_cmd_len=$max_cmd_len
21809 # Object file suffix (normally "o").
21812 # Executable file suffix (normally "").
21815 # whether the shell understands "unset".
21818 # turn spaces into newlines.
21821 # turn newlines into spaces.
21824 # convert \$build file names to \$host format.
21825 to_host_file_cmd=$lt_cv_to_host_file_cmd
21827 # convert \$build files to toolchain format.
21828 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21830 # An object symbol dumper.
21831 OBJDUMP=$lt_OBJDUMP
21833 # Method to check whether dependent libraries are shared objects.
21834 deplibs_check_method=$lt_deplibs_check_method
21836 # Command to use when deplibs_check_method = "file_magic".
21837 file_magic_cmd=$lt_file_magic_cmd
21839 # How to find potential files when deplibs_check_method = "file_magic".
21840 file_magic_glob=$lt_file_magic_glob
21842 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21843 want_nocaseglob=$lt_want_nocaseglob
21845 # DLL creation program.
21846 DLLTOOL=$lt_DLLTOOL
21848 # Command to associate shared and link libraries.
21849 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21854 # Flags to create an archive.
21855 AR_FLAGS=$lt_AR_FLAGS
21857 # How to feed a file listing to the archiver.
21858 archiver_list_spec=$lt_archiver_list_spec
21860 # A symbol stripping program.
21863 # Commands used to install an old-style archive.
21865 old_postinstall_cmds=$lt_old_postinstall_cmds
21866 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21868 # Whether to use a lock for old archive extraction.
21869 lock_old_archive_extraction=$lock_old_archive_extraction
21874 # LTCC compiler flags.
21875 LTCFLAGS=$lt_CFLAGS
21877 # Take the output of nm and produce a listing of raw symbols and C names.
21878 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21880 # Transform the output of nm in a proper C declaration.
21881 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21883 # Transform the output of nm in a C name address pair.
21884 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21886 # Transform the output of nm in a C name address pair when lib prefix is needed.
21887 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21889 # Specify filename containing input files for \$NM.
21890 nm_file_list_spec=$lt_nm_file_list_spec
21892 # The root where to search for dependent libraries,and in which our libraries should be installed.
21893 lt_sysroot=$lt_sysroot
21895 # The name of the directory that contains temporary libtool files.
21898 # Used to examine libraries when file_magic_cmd begins with "file".
21899 MAGIC_CMD=$MAGIC_CMD
21901 # Must we lock files when doing compilation?
21902 need_locks=$lt_need_locks
21905 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21907 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21908 DSYMUTIL=$lt_DSYMUTIL
21910 # Tool to change global to local symbols on Mac OS X.
21913 # Tool to manipulate fat objects and archives on Mac OS X.
21916 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21919 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21920 OTOOL64=$lt_OTOOL64
21922 # Old archive suffix (normally "a").
21925 # Shared library suffix (normally ".so").
21926 shrext_cmds=$lt_shrext_cmds
21928 # The commands to extract the exported symbol list from a shared archive.
21929 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21931 # Variables whose values should be saved in libtool wrapper scripts and
21932 # restored at link time.
21933 variables_saved_for_relink=$lt_variables_saved_for_relink
21935 # Do we need the "lib" prefix for modules?
21936 need_lib_prefix=$need_lib_prefix
21938 # Do we need a version for libraries?
21939 need_version=$need_version
21941 # Library versioning type.
21942 version_type=$version_type
21944 # Shared library runtime path variable.
21945 runpath_var=$runpath_var
21947 # Shared library path variable.
21948 shlibpath_var=$shlibpath_var
21950 # Is shlibpath searched before the hard-coded library search path?
21951 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21953 # Format of library name prefix.
21954 libname_spec=$lt_libname_spec
21956 # List of archive names. First name is the real one, the rest are links.
21957 # The last name is the one that the linker finds with -lNAME
21958 library_names_spec=$lt_library_names_spec
21960 # The coded name of the library, if different from the real name.
21961 soname_spec=$lt_soname_spec
21963 # Permission mode override for installation of shared libraries.
21964 install_override_mode=$lt_install_override_mode
21966 # Command to use after installation of a shared archive.
21967 postinstall_cmds=$lt_postinstall_cmds
21969 # Command to use after uninstallation of a shared archive.
21970 postuninstall_cmds=$lt_postuninstall_cmds
21972 # Commands used to finish a libtool library installation in a directory.
21973 finish_cmds=$lt_finish_cmds
21975 # As "finish_cmds", except a single script fragment to be evaled but
21977 finish_eval=$lt_finish_eval
21979 # Whether we should hardcode library paths into libraries.
21980 hardcode_into_libs=$hardcode_into_libs
21982 # Compile-time system search path for libraries.
21983 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21985 # Run-time system search path for libraries.
21986 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21988 # Whether dlopen is supported.
21989 dlopen_support=$enable_dlopen
21991 # Whether dlopen of programs is supported.
21992 dlopen_self=$enable_dlopen_self
21994 # Whether dlopen of statically linked programs is supported.
21995 dlopen_self_static=$enable_dlopen_self_static
21997 # Commands to strip libraries.
21998 old_striplib=$lt_old_striplib
21999 striplib=$lt_striplib
22002 # The linker used to build libraries.
22005 # How to create reloadable object files.
22006 reload_flag=$lt_reload_flag
22007 reload_cmds=$lt_reload_cmds
22009 # Commands used to build an old-style archive.
22010 old_archive_cmds=$lt_old_archive_cmds
22012 # A language specific compiler.
22015 # Is the compiler the GNU compiler?
22018 # Compiler flag to turn off builtin functions.
22019 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22021 # Additional compiler flags for building library objects.
22022 pic_flag=$lt_lt_prog_compiler_pic
22024 # How to pass a linker flag through the compiler.
22025 wl=$lt_lt_prog_compiler_wl
22027 # Compiler flag to prevent dynamic linking.
22028 link_static_flag=$lt_lt_prog_compiler_static
22030 # Does compiler simultaneously support -c and -o options?
22031 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22033 # Whether or not to add -lc for building shared libraries.
22034 build_libtool_need_lc=$archive_cmds_need_lc
22036 # Whether or not to disallow shared libs when runtime libs are static.
22037 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22039 # Compiler flag to allow reflexive dlopens.
22040 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22042 # Compiler flag to generate shared objects directly from archives.
22043 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22045 # Whether the compiler copes with passing no objects directly.
22046 compiler_needs_object=$lt_compiler_needs_object
22048 # Create an old-style archive from a shared archive.
22049 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22051 # Create a temporary old-style archive to link instead of a shared archive.
22052 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22054 # Commands used to build a shared archive.
22055 archive_cmds=$lt_archive_cmds
22056 archive_expsym_cmds=$lt_archive_expsym_cmds
22058 # Commands used to build a loadable module if different from building
22059 # a shared archive.
22060 module_cmds=$lt_module_cmds
22061 module_expsym_cmds=$lt_module_expsym_cmds
22063 # Whether we are building with GNU ld or not.
22064 with_gnu_ld=$lt_with_gnu_ld
22066 # Flag that allows shared libraries with undefined symbols to be built.
22067 allow_undefined_flag=$lt_allow_undefined_flag
22069 # Flag that enforces no undefined symbols.
22070 no_undefined_flag=$lt_no_undefined_flag
22072 # Flag to hardcode \$libdir into a binary during linking.
22073 # This must work even if \$libdir does not exist
22074 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22076 # Whether we need a single "-rpath" flag with a separated argument.
22077 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22079 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22080 # DIR into the resulting binary.
22081 hardcode_direct=$hardcode_direct
22083 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22084 # DIR into the resulting binary and the resulting library dependency is
22085 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22086 # library is relocated.
22087 hardcode_direct_absolute=$hardcode_direct_absolute
22089 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22090 # into the resulting binary.
22091 hardcode_minus_L=$hardcode_minus_L
22093 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22094 # into the resulting binary.
22095 hardcode_shlibpath_var=$hardcode_shlibpath_var
22097 # Set to "yes" if building a shared library automatically hardcodes DIR
22098 # into the library and all subsequent libraries and executables linked
22100 hardcode_automatic=$hardcode_automatic
22102 # Set to yes if linker adds runtime paths of dependent libraries
22103 # to runtime path list.
22104 inherit_rpath=$inherit_rpath
22106 # Whether libtool must link a program against all its dependency libraries.
22107 link_all_deplibs=$link_all_deplibs
22109 # Set to "yes" if exported symbols are required.
22110 always_export_symbols=$always_export_symbols
22112 # The commands to list exported symbols.
22113 export_symbols_cmds=$lt_export_symbols_cmds
22115 # Symbols that should not be listed in the preloaded symbols.
22116 exclude_expsyms=$lt_exclude_expsyms
22118 # Symbols that must always be exported.
22119 include_expsyms=$lt_include_expsyms
22121 # Commands necessary for linking programs (against libraries) with templates.
22122 prelink_cmds=$lt_prelink_cmds
22124 # Commands necessary for finishing linking programs.
22125 postlink_cmds=$lt_postlink_cmds
22127 # Specify filename containing input files.
22128 file_list_spec=$lt_file_list_spec
22130 # How to hardcode a shared library path into an executable.
22131 hardcode_action=$hardcode_action
22133 # The directories searched by this compiler when creating a shared library.
22134 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22136 # Dependencies to place before and after the objects being linked to
22137 # create a shared library.
22138 predep_objects=$lt_predep_objects
22139 postdep_objects=$lt_postdep_objects
22140 predeps=$lt_predeps
22141 postdeps=$lt_postdeps
22143 # The library search path used internally by the compiler when linking
22144 # a shared library.
22145 compiler_lib_search_path=$lt_compiler_lib_search_path
22147 # ### END LIBTOOL CONFIG
22153 cat <<\_LT_EOF >> "$cfgfile"
22154 # AIX sometimes has problems with the GCC collect2 program. For some
22155 # reason, if we set the COLLECT_NAMES environment variable, the problems
22156 # vanish in a puff of smoke.
22157 if test "X${COLLECT_NAMES+set}" != Xset; then
22159 export COLLECT_NAMES
22166 ltmain="$ac_aux_dir/ltmain.sh"
22169 # We use sed instead of cat because bash on DJGPP gets confused if
22170 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22171 # text mode, it properly converts lines to CR/LF. This bash problem
22172 # is reportedly fixed, but why not run on old versions too?
22173 sed '$q' "$ltmain" >> "$cfgfile" \
22174 || (rm -f "$cfgfile"; exit 1)
22176 if test x"$xsi_shell" = xyes; then
22177 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
22181 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22182 \ * ) func_dirname_result="${3}" ;;\
22184 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22185 && mv -f "$cfgfile.tmp" "$cfgfile" \
22186 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22187 test 0 -eq $? || _lt_function_replace_fail=:
22190 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22193 \ func_basename_result="${1##*/}"\
22194 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22195 && mv -f "$cfgfile.tmp" "$cfgfile" \
22196 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22197 test 0 -eq $? || _lt_function_replace_fail=:
22200 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22201 func_dirname_and_basename ()\
22204 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22205 \ * ) func_dirname_result="${3}" ;;\
22207 \ func_basename_result="${1##*/}"\
22208 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22209 && mv -f "$cfgfile.tmp" "$cfgfile" \
22210 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22211 test 0 -eq $? || _lt_function_replace_fail=:
22214 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22217 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22218 \ # positional parameters, so assign one to ordinary parameter first.\
22219 \ func_stripname_result=${3}\
22220 \ func_stripname_result=${func_stripname_result#"${1}"}\
22221 \ func_stripname_result=${func_stripname_result%"${2}"}\
22222 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22223 && mv -f "$cfgfile.tmp" "$cfgfile" \
22224 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22225 test 0 -eq $? || _lt_function_replace_fail=:
22228 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22229 func_split_long_opt ()\
22231 \ func_split_long_opt_name=${1%%=*}\
22232 \ func_split_long_opt_arg=${1#*=}\
22233 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22234 && mv -f "$cfgfile.tmp" "$cfgfile" \
22235 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22236 test 0 -eq $? || _lt_function_replace_fail=:
22239 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22240 func_split_short_opt ()\
22242 \ func_split_short_opt_arg=${1#??}\
22243 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22244 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22245 && mv -f "$cfgfile.tmp" "$cfgfile" \
22246 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22247 test 0 -eq $? || _lt_function_replace_fail=:
22250 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22254 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22255 \ *) func_lo2o_result=${1} ;;\
22257 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22258 && mv -f "$cfgfile.tmp" "$cfgfile" \
22259 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22260 test 0 -eq $? || _lt_function_replace_fail=:
22263 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22266 func_xform_result=${1%.*}.lo\
22267 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22268 && mv -f "$cfgfile.tmp" "$cfgfile" \
22269 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22270 test 0 -eq $? || _lt_function_replace_fail=:
22273 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22276 func_arith_result=$(( $* ))\
22277 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22278 && mv -f "$cfgfile.tmp" "$cfgfile" \
22279 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22280 test 0 -eq $? || _lt_function_replace_fail=:
22283 sed -e '/^func_len ()$/,/^} # func_len /c\
22286 func_len_result=${#1}\
22287 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22288 && mv -f "$cfgfile.tmp" "$cfgfile" \
22289 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22290 test 0 -eq $? || _lt_function_replace_fail=:
22294 if test x"$lt_shell_append" = xyes; then
22295 sed -e '/^func_append ()$/,/^} # func_append /c\
22298 eval "${1}+=\\${2}"\
22299 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22300 && mv -f "$cfgfile.tmp" "$cfgfile" \
22301 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22302 test 0 -eq $? || _lt_function_replace_fail=:
22305 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22306 func_append_quoted ()\
22308 \ func_quote_for_eval "${2}"\
22309 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22310 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22311 && mv -f "$cfgfile.tmp" "$cfgfile" \
22312 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22313 test 0 -eq $? || _lt_function_replace_fail=:
22316 # Save a `func_append' function call where possible by direct use of '+='
22317 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22318 && mv -f "$cfgfile.tmp" "$cfgfile" \
22319 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22320 test 0 -eq $? || _lt_function_replace_fail=:
22322 # Save a `func_append' function call even when '+=' is not available
22323 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22324 && mv -f "$cfgfile.tmp" "$cfgfile" \
22325 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22326 test 0 -eq $? || _lt_function_replace_fail=:
22329 if test x"$_lt_function_replace_fail" = x":"; then
22330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22331 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22335 mv -f "$cfgfile" "$ofile" ||
22336 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22340 cat <<_LT_EOF >> "$ofile"
22342 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22344 # The linker used to build libraries.
22347 # How to create reloadable object files.
22348 reload_flag=$lt_reload_flag_CXX
22349 reload_cmds=$lt_reload_cmds_CXX
22351 # Commands used to build an old-style archive.
22352 old_archive_cmds=$lt_old_archive_cmds_CXX
22354 # A language specific compiler.
22355 CC=$lt_compiler_CXX
22357 # Is the compiler the GNU compiler?
22360 # Compiler flag to turn off builtin functions.
22361 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22363 # Additional compiler flags for building library objects.
22364 pic_flag=$lt_lt_prog_compiler_pic_CXX
22366 # How to pass a linker flag through the compiler.
22367 wl=$lt_lt_prog_compiler_wl_CXX
22369 # Compiler flag to prevent dynamic linking.
22370 link_static_flag=$lt_lt_prog_compiler_static_CXX
22372 # Does compiler simultaneously support -c and -o options?
22373 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22375 # Whether or not to add -lc for building shared libraries.
22376 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22378 # Whether or not to disallow shared libs when runtime libs are static.
22379 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22381 # Compiler flag to allow reflexive dlopens.
22382 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22384 # Compiler flag to generate shared objects directly from archives.
22385 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22387 # Whether the compiler copes with passing no objects directly.
22388 compiler_needs_object=$lt_compiler_needs_object_CXX
22390 # Create an old-style archive from a shared archive.
22391 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22393 # Create a temporary old-style archive to link instead of a shared archive.
22394 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22396 # Commands used to build a shared archive.
22397 archive_cmds=$lt_archive_cmds_CXX
22398 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22400 # Commands used to build a loadable module if different from building
22401 # a shared archive.
22402 module_cmds=$lt_module_cmds_CXX
22403 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22405 # Whether we are building with GNU ld or not.
22406 with_gnu_ld=$lt_with_gnu_ld_CXX
22408 # Flag that allows shared libraries with undefined symbols to be built.
22409 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22411 # Flag that enforces no undefined symbols.
22412 no_undefined_flag=$lt_no_undefined_flag_CXX
22414 # Flag to hardcode \$libdir into a binary during linking.
22415 # This must work even if \$libdir does not exist
22416 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22418 # Whether we need a single "-rpath" flag with a separated argument.
22419 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22421 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22422 # DIR into the resulting binary.
22423 hardcode_direct=$hardcode_direct_CXX
22425 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22426 # DIR into the resulting binary and the resulting library dependency is
22427 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22428 # library is relocated.
22429 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22431 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22432 # into the resulting binary.
22433 hardcode_minus_L=$hardcode_minus_L_CXX
22435 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22436 # into the resulting binary.
22437 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22439 # Set to "yes" if building a shared library automatically hardcodes DIR
22440 # into the library and all subsequent libraries and executables linked
22442 hardcode_automatic=$hardcode_automatic_CXX
22444 # Set to yes if linker adds runtime paths of dependent libraries
22445 # to runtime path list.
22446 inherit_rpath=$inherit_rpath_CXX
22448 # Whether libtool must link a program against all its dependency libraries.
22449 link_all_deplibs=$link_all_deplibs_CXX
22451 # Set to "yes" if exported symbols are required.
22452 always_export_symbols=$always_export_symbols_CXX
22454 # The commands to list exported symbols.
22455 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22457 # Symbols that should not be listed in the preloaded symbols.
22458 exclude_expsyms=$lt_exclude_expsyms_CXX
22460 # Symbols that must always be exported.
22461 include_expsyms=$lt_include_expsyms_CXX
22463 # Commands necessary for linking programs (against libraries) with templates.
22464 prelink_cmds=$lt_prelink_cmds_CXX
22466 # Commands necessary for finishing linking programs.
22467 postlink_cmds=$lt_postlink_cmds_CXX
22469 # Specify filename containing input files.
22470 file_list_spec=$lt_file_list_spec_CXX
22472 # How to hardcode a shared library path into an executable.
22473 hardcode_action=$hardcode_action_CXX
22475 # The directories searched by this compiler when creating a shared library.
22476 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22478 # Dependencies to place before and after the objects being linked to
22479 # create a shared library.
22480 predep_objects=$lt_predep_objects_CXX
22481 postdep_objects=$lt_postdep_objects_CXX
22482 predeps=$lt_predeps_CXX
22483 postdeps=$lt_postdeps_CXX
22485 # The library search path used internally by the compiler when linking
22486 # a shared library.
22487 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22489 # ### END LIBTOOL TAG CONFIG: CXX
22500 ac_clean_files=$ac_clean_files_save
22502 test $ac_write_fail = 0 ||
22503 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22506 # configure is writing to config.log, and then calls config.status.
22507 # config.status does its own redirection, appending to config.log.
22508 # Unfortunately, on DOS this fails, as config.log is still kept open
22509 # by configure, so config.status won't be able to write to it; its
22510 # output is simply discarded. So we exec the FD to /dev/null,
22511 # effectively closing config.log, so it can be properly (re)opened and
22512 # appended to by config.status. When coming back to configure, we
22513 # need to make the FD available again.
22514 if test "$no_create" != yes; then
22516 ac_config_status_args=
22517 test "$silent" = yes &&
22518 ac_config_status_args="$ac_config_status_args --quiet"
22520 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22522 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22523 # would make configure fail if this is the last instruction.
22524 $ac_cs_success || as_fn_exit 1
22526 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22528 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22532 { $as_echo "$as_me:${as_lineno-$LINENO}:
22534 Build configuration:
22536 Unicode callbacks (you want at least one):
22537 Builtin (UCDN): ${have_ucdn}
22541 Font callbacks (the more the better):
22542 FreeType: ${have_freetype}
22544 Tools used for command-line utilities:
22545 Cairo: ${have_cairo}
22546 Fontconfig: ${have_fontconfig}
22548 Additional shapers (the more the better):
22549 Graphite2: ${have_graphite2}
22551 Platform shapers (not normally needed):
22552 CoreText: ${have_coretext}
22553 Uniscribe: ${have_uniscribe}
22554 DirectWrite: ${have_directwrite}
22557 Documentation: ${have_gtk_doc}
22558 GObject bindings: ${have_gobject}
22559 Introspection: ${have_introspection}
22563 Build configuration:
22565 Unicode callbacks (you want at least one):
22566 Builtin (UCDN): ${have_ucdn}
22570 Font callbacks (the more the better):
22571 FreeType: ${have_freetype}
22573 Tools used for command-line utilities:
22574 Cairo: ${have_cairo}
22575 Fontconfig: ${have_fontconfig}
22577 Additional shapers (the more the better):
22578 Graphite2: ${have_graphite2}
22580 Platform shapers (not normally needed):
22581 CoreText: ${have_coretext}
22582 Uniscribe: ${have_uniscribe}
22583 DirectWrite: ${have_directwrite}
22586 Documentation: ${have_gtk_doc}
22587 GObject bindings: ${have_gobject}
22588 Introspection: ${have_introspection}