2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for HarfBuzz 0.9.40.
5 # Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" || exec 7<&0 </dev/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix=/usr/local
584 ac_config_libobj_dir=.
591 # Identity of this package.
592 PACKAGE_NAME='HarfBuzz'
593 PACKAGE_TARNAME='harfbuzz'
594 PACKAGE_VERSION='0.9.40'
595 PACKAGE_STRING='HarfBuzz 0.9.40'
596 PACKAGE_BUGREPORT='http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz'
597 PACKAGE_URL='http://harfbuzz.org/'
599 ac_unique_file="src/harfbuzz.pc.in"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 ac_subst_vars='am__EXEEXT_FALSE
671 HAVE_INTROSPECTION_FALSE
672 HAVE_INTROSPECTION_TRUE
673 INTROSPECTION_MAKEFILE
676 INTROSPECTION_TYPELIBDIR
678 INTROSPECTION_GENERATE
679 INTROSPECTION_COMPILER
680 INTROSPECTION_SCANNER
704 GTK_DOC_USE_REBASE_FALSE
705 GTK_DOC_USE_REBASE_TRUE
706 GTK_DOC_USE_LIBTOOL_FALSE
707 GTK_DOC_USE_LIBTOOL_TRUE
708 GTK_DOC_BUILD_PDF_FALSE
709 GTK_DOC_BUILD_PDF_TRUE
710 GTK_DOC_BUILD_HTML_FALSE
711 GTK_DOC_BUILD_HTML_TRUE
723 HB_LIBTOOL_VERSION_INFO
785 AUTOMAKE_OLDER_THAN_1_13_FALSE
786 AUTOMAKE_OLDER_THAN_1_13_TRUE
799 INSTALL_STRIP_PROGRAM
841 program_transform_name
854 enable_option_checking
856 enable_dependency_tracking
878 ac_precious_vars='build_alias
910 # Initialize some variables set by options.
912 ac_init_version=false
913 ac_unrecognized_opts=
915 # The variables have the same names as the options, with
916 # dashes changed to underlines.
924 program_transform_name=s,x,x,
932 # Installation directory options.
933 # These are left unexpanded so users can "make install exec_prefix=/foo"
934 # and all the variables that are supposed to be based on exec_prefix
935 # by default will actually change.
936 # Use braces instead of parens because sh, perl, etc. also accept them.
937 # (The list follows the same order as the GNU Coding Standards.)
938 bindir='${exec_prefix}/bin'
939 sbindir='${exec_prefix}/sbin'
940 libexecdir='${exec_prefix}/libexec'
941 datarootdir='${prefix}/share'
942 datadir='${datarootdir}'
943 sysconfdir='${prefix}/etc'
944 sharedstatedir='${prefix}/com'
945 localstatedir='${prefix}/var'
946 includedir='${prefix}/include'
947 oldincludedir='/usr/include'
948 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
949 infodir='${datarootdir}/info'
954 libdir='${exec_prefix}/lib'
955 localedir='${datarootdir}/locale'
956 mandir='${datarootdir}/man'
962 # If the previous option needs an argument, assign it.
963 if test -n "$ac_prev"; then
964 eval $ac_prev=\$ac_option
970 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
975 # Accept the important Cygnus configure options, so we can diagnose typos.
977 case $ac_dashdash$ac_option in
981 -bindir | --bindir | --bindi | --bind | --bin | --bi)
983 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
986 -build | --build | --buil | --bui | --bu)
987 ac_prev=build_alias ;;
988 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
989 build_alias=$ac_optarg ;;
991 -cache-file | --cache-file | --cache-fil | --cache-fi \
992 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
993 ac_prev=cache_file ;;
994 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
995 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
996 cache_file=$ac_optarg ;;
999 cache_file=config.cache ;;
1001 -datadir | --datadir | --datadi | --datad)
1003 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1004 datadir=$ac_optarg ;;
1006 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1007 | --dataroo | --dataro | --datar)
1008 ac_prev=datarootdir ;;
1009 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1010 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1011 datarootdir=$ac_optarg ;;
1013 -disable-* | --disable-*)
1014 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1017 as_fn_error $? "invalid feature name: $ac_useropt"
1018 ac_useropt_orig=$ac_useropt
1019 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1020 case $ac_user_opts in
1022 "enable_$ac_useropt"
1024 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1025 ac_unrecognized_sep=', ';;
1027 eval enable_$ac_useropt=no ;;
1029 -docdir | --docdir | --docdi | --doc | --do)
1031 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1032 docdir=$ac_optarg ;;
1034 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1036 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1037 dvidir=$ac_optarg ;;
1039 -enable-* | --enable-*)
1040 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1043 as_fn_error $? "invalid feature name: $ac_useropt"
1044 ac_useropt_orig=$ac_useropt
1045 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1048 "enable_$ac_useropt"
1050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1051 ac_unrecognized_sep=', ';;
1053 eval enable_$ac_useropt=\$ac_optarg ;;
1055 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1056 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1057 | --exec | --exe | --ex)
1058 ac_prev=exec_prefix ;;
1059 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1060 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1061 | --exec=* | --exe=* | --ex=*)
1062 exec_prefix=$ac_optarg ;;
1064 -gas | --gas | --ga | --g)
1065 # Obsolete; use --with-gas.
1068 -help | --help | --hel | --he | -h)
1069 ac_init_help=long ;;
1070 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1071 ac_init_help=recursive ;;
1072 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1073 ac_init_help=short ;;
1075 -host | --host | --hos | --ho)
1076 ac_prev=host_alias ;;
1077 -host=* | --host=* | --hos=* | --ho=*)
1078 host_alias=$ac_optarg ;;
1080 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1082 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1084 htmldir=$ac_optarg ;;
1086 -includedir | --includedir | --includedi | --included | --include \
1087 | --includ | --inclu | --incl | --inc)
1088 ac_prev=includedir ;;
1089 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1090 | --includ=* | --inclu=* | --incl=* | --inc=*)
1091 includedir=$ac_optarg ;;
1093 -infodir | --infodir | --infodi | --infod | --info | --inf)
1095 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1096 infodir=$ac_optarg ;;
1098 -libdir | --libdir | --libdi | --libd)
1100 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1101 libdir=$ac_optarg ;;
1103 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1104 | --libexe | --libex | --libe)
1105 ac_prev=libexecdir ;;
1106 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1107 | --libexe=* | --libex=* | --libe=*)
1108 libexecdir=$ac_optarg ;;
1110 -localedir | --localedir | --localedi | --localed | --locale)
1111 ac_prev=localedir ;;
1112 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1113 localedir=$ac_optarg ;;
1115 -localstatedir | --localstatedir | --localstatedi | --localstated \
1116 | --localstate | --localstat | --localsta | --localst | --locals)
1117 ac_prev=localstatedir ;;
1118 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1119 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1120 localstatedir=$ac_optarg ;;
1122 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1124 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1125 mandir=$ac_optarg ;;
1127 -nfp | --nfp | --nf)
1128 # Obsolete; use --without-fp.
1131 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1132 | --no-cr | --no-c | -n)
1135 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1136 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1139 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1140 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1141 | --oldin | --oldi | --old | --ol | --o)
1142 ac_prev=oldincludedir ;;
1143 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1144 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1145 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1146 oldincludedir=$ac_optarg ;;
1148 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1150 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1151 prefix=$ac_optarg ;;
1153 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1154 | --program-pre | --program-pr | --program-p)
1155 ac_prev=program_prefix ;;
1156 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1157 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1158 program_prefix=$ac_optarg ;;
1160 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1161 | --program-suf | --program-su | --program-s)
1162 ac_prev=program_suffix ;;
1163 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1164 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1165 program_suffix=$ac_optarg ;;
1167 -program-transform-name | --program-transform-name \
1168 | --program-transform-nam | --program-transform-na \
1169 | --program-transform-n | --program-transform- \
1170 | --program-transform | --program-transfor \
1171 | --program-transfo | --program-transf \
1172 | --program-trans | --program-tran \
1173 | --progr-tra | --program-tr | --program-t)
1174 ac_prev=program_transform_name ;;
1175 -program-transform-name=* | --program-transform-name=* \
1176 | --program-transform-nam=* | --program-transform-na=* \
1177 | --program-transform-n=* | --program-transform-=* \
1178 | --program-transform=* | --program-transfor=* \
1179 | --program-transfo=* | --program-transf=* \
1180 | --program-trans=* | --program-tran=* \
1181 | --progr-tra=* | --program-tr=* | --program-t=*)
1182 program_transform_name=$ac_optarg ;;
1184 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1186 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1187 pdfdir=$ac_optarg ;;
1189 -psdir | --psdir | --psdi | --psd | --ps)
1191 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1194 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1195 | -silent | --silent | --silen | --sile | --sil)
1198 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1200 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1202 sbindir=$ac_optarg ;;
1204 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1205 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1206 | --sharedst | --shareds | --shared | --share | --shar \
1208 ac_prev=sharedstatedir ;;
1209 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1210 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1211 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1213 sharedstatedir=$ac_optarg ;;
1215 -site | --site | --sit)
1217 -site=* | --site=* | --sit=*)
1220 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1222 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1223 srcdir=$ac_optarg ;;
1225 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1226 | --syscon | --sysco | --sysc | --sys | --sy)
1227 ac_prev=sysconfdir ;;
1228 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1229 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1230 sysconfdir=$ac_optarg ;;
1232 -target | --target | --targe | --targ | --tar | --ta | --t)
1233 ac_prev=target_alias ;;
1234 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1235 target_alias=$ac_optarg ;;
1237 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1240 -version | --version | --versio | --versi | --vers | -V)
1241 ac_init_version=: ;;
1244 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1245 # Reject names that are not valid shell variable names.
1246 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1247 as_fn_error $? "invalid package name: $ac_useropt"
1248 ac_useropt_orig=$ac_useropt
1249 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1250 case $ac_user_opts in
1254 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1255 ac_unrecognized_sep=', ';;
1257 eval with_$ac_useropt=\$ac_optarg ;;
1259 -without-* | --without-*)
1260 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1261 # Reject names that are not valid shell variable names.
1262 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1263 as_fn_error $? "invalid package name: $ac_useropt"
1264 ac_useropt_orig=$ac_useropt
1265 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1266 case $ac_user_opts in
1270 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1271 ac_unrecognized_sep=', ';;
1273 eval with_$ac_useropt=no ;;
1276 # Obsolete; use --with-x.
1279 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1280 | --x-incl | --x-inc | --x-in | --x-i)
1281 ac_prev=x_includes ;;
1282 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1283 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1284 x_includes=$ac_optarg ;;
1286 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1287 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1288 ac_prev=x_libraries ;;
1289 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1290 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1291 x_libraries=$ac_optarg ;;
1293 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1294 Try \`$0 --help' for more information"
1298 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1299 # Reject names that are not valid shell variable names.
1300 case $ac_envvar in #(
1301 '' | [0-9]* | *[!_$as_cr_alnum]* )
1302 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1304 eval $ac_envvar=\$ac_optarg
1305 export $ac_envvar ;;
1308 # FIXME: should be removed in autoconf 3.0.
1309 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1310 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1311 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1312 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1318 if test -n "$ac_prev"; then
1319 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1320 as_fn_error $? "missing argument to $ac_option"
1323 if test -n "$ac_unrecognized_opts"; then
1324 case $enable_option_checking in
1326 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1327 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1331 # Check all directory arguments for consistency.
1332 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1333 datadir sysconfdir sharedstatedir localstatedir includedir \
1334 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1335 libdir localedir mandir
1337 eval ac_val=\$$ac_var
1338 # Remove trailing slashes.
1341 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1342 eval $ac_var=\$ac_val;;
1344 # Be sure to have absolute directory names.
1346 [\\/$]* | ?:[\\/]* ) continue;;
1347 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1349 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1352 # There might be people who depend on the old broken behavior: `$host'
1353 # used to hold the argument of --host etc.
1354 # FIXME: To remove some day.
1357 target=$target_alias
1359 # FIXME: To remove some day.
1360 if test "x$host_alias" != x; then
1361 if test "x$build_alias" = x; then
1362 cross_compiling=maybe
1363 elif test "x$build_alias" != "x$host_alias"; then
1369 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1371 test "$silent" = yes && exec 6>/dev/null
1374 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1375 ac_ls_di=`ls -di .` &&
1376 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1377 as_fn_error $? "working directory cannot be determined"
1378 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1379 as_fn_error $? "pwd does not report name of working directory"
1382 # Find the source files, if location was not specified.
1383 if test -z "$srcdir"; then
1384 ac_srcdir_defaulted=yes
1385 # Try the directory containing this script, then the parent directory.
1386 ac_confdir=`$as_dirname -- "$as_myself" ||
1387 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1388 X"$as_myself" : 'X\(//\)[^/]' \| \
1389 X"$as_myself" : 'X\(//\)$' \| \
1390 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1391 $as_echo X"$as_myself" |
1392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1410 if test ! -r "$srcdir/$ac_unique_file"; then
1414 ac_srcdir_defaulted=no
1416 if test ! -r "$srcdir/$ac_unique_file"; then
1417 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1418 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1420 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1422 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1424 # When building in place, set srcdir=.
1425 if test "$ac_abs_confdir" = "$ac_pwd"; then
1428 # Remove unnecessary trailing slashes from srcdir.
1429 # Double slashes in file names in object file debugging info
1430 # mess up M-x gdb in Emacs.
1432 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1434 for ac_var in $ac_precious_vars; do
1435 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1436 eval ac_env_${ac_var}_value=\$${ac_var}
1437 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1438 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1442 # Report the --help message.
1444 if test "$ac_init_help" = "long"; then
1445 # Omit some internal or obsolete options to make the list less imposing.
1446 # This message is too long to be a string in the A/UX 3.1 sh.
1448 \`configure' configures HarfBuzz 0.9.40 to adapt to many kinds of systems.
1450 Usage: $0 [OPTION]... [VAR=VALUE]...
1452 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1453 VAR=VALUE. See below for descriptions of some of the useful variables.
1455 Defaults for the options are specified in brackets.
1458 -h, --help display this help and exit
1459 --help=short display options specific to this package
1460 --help=recursive display the short help of all the included packages
1461 -V, --version display version information and exit
1462 -q, --quiet, --silent do not print \`checking ...' messages
1463 --cache-file=FILE cache test results in FILE [disabled]
1464 -C, --config-cache alias for \`--cache-file=config.cache'
1465 -n, --no-create do not create output files
1466 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1468 Installation directories:
1469 --prefix=PREFIX install architecture-independent files in PREFIX
1470 [$ac_default_prefix]
1471 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1474 By default, \`make install' will install all the files in
1475 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1476 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1477 for instance \`--prefix=\$HOME'.
1479 For better control, use the options below.
1481 Fine tuning of the installation directories:
1482 --bindir=DIR user executables [EPREFIX/bin]
1483 --sbindir=DIR system admin executables [EPREFIX/sbin]
1484 --libexecdir=DIR program executables [EPREFIX/libexec]
1485 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1486 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1487 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1488 --libdir=DIR object code libraries [EPREFIX/lib]
1489 --includedir=DIR C header files [PREFIX/include]
1490 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1491 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1492 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1493 --infodir=DIR info documentation [DATAROOTDIR/info]
1494 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1495 --mandir=DIR man documentation [DATAROOTDIR/man]
1496 --docdir=DIR documentation root [DATAROOTDIR/doc/harfbuzz]
1497 --htmldir=DIR html documentation [DOCDIR]
1498 --dvidir=DIR dvi documentation [DOCDIR]
1499 --pdfdir=DIR pdf documentation [DOCDIR]
1500 --psdir=DIR ps documentation [DOCDIR]
1506 --program-prefix=PREFIX prepend PREFIX to installed program names
1507 --program-suffix=SUFFIX append SUFFIX to installed program names
1508 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1511 --build=BUILD configure for building on BUILD [guessed]
1512 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1516 if test -n "$ac_init_help"; then
1517 case $ac_init_help in
1518 short | recursive ) echo "Configuration of HarfBuzz 0.9.40:";;
1523 --disable-option-checking ignore unrecognized --enable/--with options
1524 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1525 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1526 --enable-silent-rules less verbose build output (undo: "make V=1")
1527 --disable-silent-rules verbose build output (undo: "make V=0")
1528 --enable-dependency-tracking
1529 do not reject slow dependency extractors
1530 --disable-dependency-tracking
1531 speeds up one-time build
1532 --enable-static[=PKGS] build static libraries [default=no]
1533 --enable-shared[=PKGS] build shared libraries [default=yes]
1534 --enable-fast-install[=PKGS]
1535 optimize for fast installation [default=yes]
1536 --disable-libtool-lock avoid locking (might break parallel builds)
1537 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1538 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1539 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1540 --enable-introspection=[no/auto/yes]
1541 Enable introspection for this build
1544 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1545 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1546 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1548 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1549 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1550 compiler's sysroot if not specified).
1551 --with-html-dir=PATH path to installed docs
1552 --with-glib=[yes/no/auto]
1553 Use glib [default=auto]
1554 --with-gobject=[yes/no/auto]
1555 Use gobject [default=auto]
1556 --with-cairo=[yes/no/auto]
1557 Use cairo [default=auto]
1558 --with-icu=[yes/no/auto]
1559 Use ICU [default=auto]
1560 --with-graphite2=[yes/no/auto]
1561 Use the graphite2 library [default=no]
1562 --with-freetype=[yes/no/auto]
1563 Use the FreeType library [default=auto]
1564 --with-uniscribe=[yes/no/auto]
1565 Use the Uniscribe library [default=no]
1566 --with-coretext=[yes/no/auto]
1567 Use CoreText [default=no]
1569 Some influential environment variables:
1570 CC C compiler command
1571 CFLAGS C compiler flags
1572 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1573 nonstandard directory <lib dir>
1574 LIBS libraries to pass to the linker, e.g. -l<library>
1575 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1576 you have headers in a nonstandard directory <include dir>
1578 CXX C++ compiler command
1579 CXXFLAGS C++ compiler flags
1580 CXXCPP C++ preprocessor
1581 PKG_CONFIG path to pkg-config utility
1583 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1585 linker flags for GTKDOC_DEPS, overriding pkg-config
1586 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1587 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1589 C compiler flags for GOBJECT, overriding pkg-config
1591 linker flags for GOBJECT, overriding pkg-config
1593 C compiler flags for CAIRO, overriding pkg-config
1594 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1596 C compiler flags for CAIRO_FT, overriding pkg-config
1598 linker flags for CAIRO_FT, overriding pkg-config
1599 ICU_CFLAGS C compiler flags for ICU, overriding pkg-config
1600 ICU_LIBS linker flags for ICU, overriding pkg-config
1602 C compiler flags for GRAPHITE2, overriding pkg-config
1604 linker flags for GRAPHITE2, overriding pkg-config
1606 C compiler flags for FREETYPE, overriding pkg-config
1608 linker flags for FREETYPE, overriding pkg-config
1610 Use these variables to override the choices made by `configure' or to help
1611 it to find libraries and programs with nonstandard names/locations.
1613 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz>.
1614 HarfBuzz home page: <http://harfbuzz.org/>.
1619 if test "$ac_init_help" = "recursive"; then
1620 # If there are subdirs, report their specific --help.
1621 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622 test -d "$ac_dir" ||
1623 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1631 # A ".." for each directory in $ac_dir_suffix.
1632 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1633 case $ac_top_builddir_sub in
1634 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1638 ac_abs_top_builddir=$ac_pwd
1639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1640 # for backward compatibility:
1641 ac_top_builddir=$ac_top_build_prefix
1644 .) # We are building in place.
1646 ac_top_srcdir=$ac_top_builddir_sub
1647 ac_abs_top_srcdir=$ac_pwd ;;
1648 [\\/]* | ?:[\\/]* ) # Absolute name.
1649 ac_srcdir=$srcdir$ac_dir_suffix;
1650 ac_top_srcdir=$srcdir
1651 ac_abs_top_srcdir=$srcdir ;;
1653 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654 ac_top_srcdir=$ac_top_build_prefix$srcdir
1655 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1659 cd "$ac_dir" || { ac_status=$?; continue; }
1660 # Check for guested configure.
1661 if test -f "$ac_srcdir/configure.gnu"; then
1663 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664 elif test -f "$ac_srcdir/configure"; then
1666 $SHELL "$ac_srcdir/configure" --help=recursive
1668 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1670 cd "$ac_pwd" || { ac_status=$?; break; }
1674 test -n "$ac_init_help" && exit $ac_status
1675 if $ac_init_version; then
1677 HarfBuzz configure 0.9.40
1678 generated by GNU Autoconf 2.69
1680 Copyright (C) 2012 Free Software Foundation, Inc.
1681 This configure script is free software; the Free Software Foundation
1682 gives unlimited permission to copy, distribute and modify it.
1687 ## ------------------------ ##
1688 ## Autoconf initialization. ##
1689 ## ------------------------ ##
1691 # ac_fn_c_try_compile LINENO
1692 # --------------------------
1693 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1694 ac_fn_c_try_compile ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 rm -f conftest.$ac_objext
1698 if { { ac_try="$ac_compile"
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_compile") 2>conftest.err
1707 if test -s conftest.err; then
1708 grep -v '^ *+' conftest.err >conftest.er1
1709 cat conftest.er1 >&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest.$ac_objext; then :
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725 as_fn_set_status $ac_retval
1727 } # ac_fn_c_try_compile
1729 # ac_fn_c_try_link LINENO
1730 # -----------------------
1731 # Try to link conftest.$ac_ext, and return whether this succeeded.
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 rm -f conftest.$ac_objext conftest$ac_exeext
1736 if { { ac_try="$ac_link"
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_link") 2>conftest.err
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_c_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest$ac_exeext && {
1755 test "$cross_compiling" = yes ||
1756 test -x conftest$ac_exeext
1760 $as_echo "$as_me: failed program was:" >&5
1761 sed 's/^/| /' conftest.$ac_ext >&5
1765 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1766 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1767 # interfere with the next link command; also delete a directory that is
1768 # left behind by Apple's compiler. We do this before executing the actions.
1769 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 as_fn_set_status $ac_retval
1773 } # ac_fn_c_try_link
1775 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1776 # -------------------------------------------------------
1777 # Tests whether HEADER exists and can be compiled using the include files in
1778 # INCLUDES, setting the cache variable VAR accordingly.
1779 ac_fn_c_check_header_compile ()
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1783 $as_echo_n "checking for $2... " >&6; }
1784 if eval \${$3+:} false; then :
1785 $as_echo_n "(cached) " >&6
1787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1792 if ac_fn_c_try_compile "$LINENO"; then :
1797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1801 $as_echo "$ac_res" >&6; }
1802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804 } # ac_fn_c_check_header_compile
1806 # ac_fn_c_try_cpp LINENO
1807 # ----------------------
1808 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 if { { ac_try="$ac_cpp conftest.$ac_ext"
1814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1815 *) ac_try_echo=$ac_try;;
1817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1818 $as_echo "$ac_try_echo"; } >&5
1819 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1821 if test -s conftest.err; then
1822 grep -v '^ *+' conftest.err >conftest.er1
1823 cat conftest.er1 >&5
1824 mv -f conftest.er1 conftest.err
1826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1827 test $ac_status = 0; } > conftest.i && {
1828 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1829 test ! -s conftest.err
1833 $as_echo "$as_me: failed program was:" >&5
1834 sed 's/^/| /' conftest.$ac_ext >&5
1838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839 as_fn_set_status $ac_retval
1843 # ac_fn_c_try_run LINENO
1844 # ----------------------
1845 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1846 # that executables *can* be run.
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 if { { ac_try="$ac_link"
1852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1853 *) ac_try_echo=$ac_try;;
1855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857 (eval "$ac_link") 2>&5
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1861 { { case "(($ac_try" in
1862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1863 *) ac_try_echo=$ac_try;;
1865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_try") 2>&5
1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test $ac_status = 0; }; }; then :
1873 $as_echo "$as_me: program exited with status $ac_status" >&5
1874 $as_echo "$as_me: failed program was:" >&5
1875 sed 's/^/| /' conftest.$ac_ext >&5
1877 ac_retval=$ac_status
1879 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881 as_fn_set_status $ac_retval
1885 # ac_fn_c_check_func LINENO FUNC VAR
1886 # ----------------------------------
1887 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1888 ac_fn_c_check_func ()
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if eval \${$3+:} false; then :
1894 $as_echo_n "(cached) " >&6
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1898 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1900 #define $2 innocuous_$2
1902 /* System header to define __stub macros and hopefully few prototypes,
1903 which can conflict with char $2 (); below.
1904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1905 <limits.h> exists even on freestanding compilers. */
1908 # include <limits.h>
1910 # include <assert.h>
1915 /* Override any GCC internal prototype to avoid an error.
1916 Use char because int might match the return type of a GCC
1917 builtin and then its argument prototype would still apply. */
1922 /* The GNU C library defines this for functions which it implements
1923 to always fail with ENOSYS. Some functions are actually named
1924 something starting with __ and the normal name is an alias. */
1925 #if defined __stub_$2 || defined __stub___$2
1937 if ac_fn_c_try_link "$LINENO"; then :
1942 rm -f core conftest.err conftest.$ac_objext \
1943 conftest$ac_exeext conftest.$ac_ext
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 $as_echo "$ac_res" >&6; }
1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950 } # ac_fn_c_check_func
1952 # ac_fn_cxx_try_compile LINENO
1953 # ----------------------------
1954 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1955 ac_fn_cxx_try_compile ()
1957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1958 rm -f conftest.$ac_objext
1959 if { { ac_try="$ac_compile"
1961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1962 *) ac_try_echo=$ac_try;;
1964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1965 $as_echo "$ac_try_echo"; } >&5
1966 (eval "$ac_compile") 2>conftest.err
1968 if test -s conftest.err; then
1969 grep -v '^ *+' conftest.err >conftest.er1
1970 cat conftest.er1 >&5
1971 mv -f conftest.er1 conftest.err
1973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1974 test $ac_status = 0; } && {
1975 test -z "$ac_cxx_werror_flag" ||
1976 test ! -s conftest.err
1977 } && test -s conftest.$ac_objext; then :
1980 $as_echo "$as_me: failed program was:" >&5
1981 sed 's/^/| /' conftest.$ac_ext >&5
1985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986 as_fn_set_status $ac_retval
1988 } # ac_fn_cxx_try_compile
1990 # ac_fn_cxx_try_cpp LINENO
1991 # ------------------------
1992 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1993 ac_fn_cxx_try_cpp ()
1995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996 if { { ac_try="$ac_cpp conftest.$ac_ext"
1998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1999 *) ac_try_echo=$ac_try;;
2001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2002 $as_echo "$ac_try_echo"; } >&5
2003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2005 if test -s conftest.err; then
2006 grep -v '^ *+' conftest.err >conftest.er1
2007 cat conftest.er1 >&5
2008 mv -f conftest.er1 conftest.err
2010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011 test $ac_status = 0; } > conftest.i && {
2012 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2013 test ! -s conftest.err
2017 $as_echo "$as_me: failed program was:" >&5
2018 sed 's/^/| /' conftest.$ac_ext >&5
2022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2023 as_fn_set_status $ac_retval
2025 } # ac_fn_cxx_try_cpp
2027 # ac_fn_cxx_try_link LINENO
2028 # -------------------------
2029 # Try to link conftest.$ac_ext, and return whether this succeeded.
2030 ac_fn_cxx_try_link ()
2032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2033 rm -f conftest.$ac_objext conftest$ac_exeext
2034 if { { ac_try="$ac_link"
2036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2037 *) ac_try_echo=$ac_try;;
2039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2040 $as_echo "$ac_try_echo"; } >&5
2041 (eval "$ac_link") 2>conftest.err
2043 if test -s conftest.err; then
2044 grep -v '^ *+' conftest.err >conftest.er1
2045 cat conftest.er1 >&5
2046 mv -f conftest.er1 conftest.err
2048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2049 test $ac_status = 0; } && {
2050 test -z "$ac_cxx_werror_flag" ||
2051 test ! -s conftest.err
2052 } && test -s conftest$ac_exeext && {
2053 test "$cross_compiling" = yes ||
2054 test -x conftest$ac_exeext
2058 $as_echo "$as_me: failed program was:" >&5
2059 sed 's/^/| /' conftest.$ac_ext >&5
2063 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2064 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2065 # interfere with the next link command; also delete a directory that is
2066 # left behind by Apple's compiler. We do this before executing the actions.
2067 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2068 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2069 as_fn_set_status $ac_retval
2071 } # ac_fn_cxx_try_link
2073 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2074 # -------------------------------------------------------
2075 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2076 # the include files in INCLUDES and setting the cache variable VAR
2078 ac_fn_c_check_header_mongrel ()
2080 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2081 if eval \${$3+:} false; then :
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2083 $as_echo_n "checking for $2... " >&6; }
2084 if eval \${$3+:} false; then :
2085 $as_echo_n "(cached) " >&6
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2089 $as_echo "$ac_res" >&6; }
2091 # Is the header compilable?
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2093 $as_echo_n "checking $2 usability... " >&6; }
2094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2099 if ac_fn_c_try_compile "$LINENO"; then :
2100 ac_header_compiler=yes
2102 ac_header_compiler=no
2104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2106 $as_echo "$ac_header_compiler" >&6; }
2108 # Is the header present?
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2110 $as_echo_n "checking $2 presence... " >&6; }
2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2115 if ac_fn_c_try_cpp "$LINENO"; then :
2116 ac_header_preproc=yes
2118 ac_header_preproc=no
2120 rm -f conftest.err conftest.i conftest.$ac_ext
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2122 $as_echo "$ac_header_preproc" >&6; }
2124 # So? What about this header?
2125 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2128 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2130 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2134 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2136 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2138 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2140 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2142 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2143 ( $as_echo "## ------------------------------------------------------------------------- ##
2144 ## Report this to http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz ##
2145 ## ------------------------------------------------------------------------- ##"
2146 ) | sed "s/^/$as_me: WARNING: /" >&2
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2150 $as_echo_n "checking for $2... " >&6; }
2151 if eval \${$3+:} false; then :
2152 $as_echo_n "(cached) " >&6
2154 eval "$3=\$ac_header_compiler"
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2158 $as_echo "$ac_res" >&6; }
2160 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2162 } # ac_fn_c_check_header_mongrel
2164 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2165 # --------------------------------------------
2166 # Tries to find the compile-time value of EXPR in a program that includes
2167 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2169 ac_fn_c_compute_int ()
2171 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2172 if test "$cross_compiling" = yes; then
2173 # Depending upon the size, compute the lo and hi bounds.
2174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2175 /* end confdefs.h. */
2180 static int test_array [1 - 2 * !(($2) >= 0)];
2182 return test_array [0];
2188 if ac_fn_c_try_compile "$LINENO"; then :
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2197 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2199 return test_array [0];
2205 if ac_fn_c_try_compile "$LINENO"; then :
2206 ac_hi=$ac_mid; break
2208 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2209 if test $ac_lo -le $ac_mid; then
2213 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2219 /* end confdefs.h. */
2224 static int test_array [1 - 2 * !(($2) < 0)];
2226 return test_array [0];
2232 if ac_fn_c_try_compile "$LINENO"; then :
2235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2236 /* end confdefs.h. */
2241 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2243 return test_array [0];
2249 if ac_fn_c_try_compile "$LINENO"; then :
2250 ac_lo=$ac_mid; break
2252 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2253 if test $ac_mid -le $ac_hi; then
2257 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2267 # Binary search between lo and hi bounds.
2268 while test "x$ac_lo" != "x$ac_hi"; do
2269 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2271 /* end confdefs.h. */
2276 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2278 return test_array [0];
2284 if ac_fn_c_try_compile "$LINENO"; then :
2287 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2292 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2297 /* end confdefs.h. */
2299 static long int longval () { return $2; }
2300 static unsigned long int ulongval () { return $2; }
2307 FILE *f = fopen ("conftest.val", "w");
2312 long int i = longval ();
2315 fprintf (f, "%ld", i);
2319 unsigned long int i = ulongval ();
2322 fprintf (f, "%lu", i);
2324 /* Do not output a trailing newline, as this causes \r\n confusion
2325 on some platforms. */
2326 return ferror (f) || fclose (f) != 0;
2332 if ac_fn_c_try_run "$LINENO"; then :
2333 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2338 conftest.$ac_objext conftest.beam conftest.$ac_ext
2342 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2343 as_fn_set_status $ac_retval
2345 } # ac_fn_c_compute_int
2347 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2348 # -------------------------------------------
2349 # Tests whether TYPE exists after having included INCLUDES, setting cache
2350 # variable VAR accordingly.
2351 ac_fn_c_check_type ()
2353 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2355 $as_echo_n "checking for $2... " >&6; }
2356 if eval \${$3+:} false; then :
2357 $as_echo_n "(cached) " >&6
2360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2361 /* end confdefs.h. */
2372 if ac_fn_c_try_compile "$LINENO"; then :
2373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2374 /* end confdefs.h. */
2385 if ac_fn_c_try_compile "$LINENO"; then :
2390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2396 $as_echo "$ac_res" >&6; }
2397 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2399 } # ac_fn_c_check_type
2400 cat >config.log <<_ACEOF
2401 This file contains any messages produced by compilers while
2402 running configure, to aid debugging if configure makes a mistake.
2404 It was created by HarfBuzz $as_me 0.9.40, which was
2405 generated by GNU Autoconf 2.69. Invocation command line was
2417 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2418 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2419 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2420 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2421 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2423 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2424 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2426 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2427 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2428 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2429 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2430 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2431 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2432 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2440 test -z "$as_dir" && as_dir=.
2441 $as_echo "PATH: $as_dir"
2457 # Keep a trace of the command line.
2458 # Strip out --no-create and --no-recursion so they do not pile up.
2459 # Strip out --silent because we don't want to record it for future runs.
2460 # Also quote any args containing shell meta-characters.
2461 # Make two passes to allow for proper duplicate-argument suppression.
2465 ac_must_keep_next=false
2471 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2472 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2473 | -silent | --silent | --silen | --sile | --sil)
2476 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2479 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2481 as_fn_append ac_configure_args1 " '$ac_arg'"
2482 if test $ac_must_keep_next = true; then
2483 ac_must_keep_next=false # Got value, back to normal.
2486 *=* | --config-cache | -C | -disable-* | --disable-* \
2487 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2488 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2489 | -with-* | --with-* | -without-* | --without-* | --x)
2490 case "$ac_configure_args0 " in
2491 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2494 -* ) ac_must_keep_next=true ;;
2497 as_fn_append ac_configure_args " '$ac_arg'"
2502 { ac_configure_args0=; unset ac_configure_args0;}
2503 { ac_configure_args1=; unset ac_configure_args1;}
2505 # When interrupted or exit'd, cleanup temporary files, and complete
2506 # config.log. We remove comments because anyway the quotes in there
2507 # would cause problems or look ugly.
2508 # WARNING: Use '\'' to represent an apostrophe within the trap.
2509 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2510 trap 'exit_status=$?
2511 # Save into config.log some information that might help in debugging.
2515 $as_echo "## ---------------- ##
2516 ## Cache variables. ##
2517 ## ---------------- ##"
2519 # The following way of writing the cache mishandles newlines in values,
2521 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2522 eval ac_val=\$$ac_var
2526 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2527 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2530 _ | IFS | as_nl) ;; #(
2531 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2532 *) { eval $ac_var=; unset $ac_var;} ;;
2537 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2538 *${as_nl}ac_space=\ *)
2540 "s/'\''/'\''\\\\'\'''\''/g;
2541 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2544 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2551 $as_echo "## ----------------- ##
2552 ## Output variables. ##
2553 ## ----------------- ##"
2555 for ac_var in $ac_subst_vars
2557 eval ac_val=\$$ac_var
2559 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2561 $as_echo "$ac_var='\''$ac_val'\''"
2565 if test -n "$ac_subst_files"; then
2566 $as_echo "## ------------------- ##
2567 ## File substitutions. ##
2568 ## ------------------- ##"
2570 for ac_var in $ac_subst_files
2572 eval ac_val=\$$ac_var
2574 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2576 $as_echo "$ac_var='\''$ac_val'\''"
2581 if test -s confdefs.h; then
2582 $as_echo "## ----------- ##
2589 test "$ac_signal" != 0 &&
2590 $as_echo "$as_me: caught signal $ac_signal"
2591 $as_echo "$as_me: exit $exit_status"
2593 rm -f core *.core core.conftest.* &&
2594 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2597 for ac_signal in 1 2 13 15; do
2598 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2602 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2603 rm -f -r conftest* confdefs.h
2605 $as_echo "/* confdefs.h */" > confdefs.h
2607 # Predefined preprocessor variables.
2609 cat >>confdefs.h <<_ACEOF
2610 #define PACKAGE_NAME "$PACKAGE_NAME"
2613 cat >>confdefs.h <<_ACEOF
2614 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2617 cat >>confdefs.h <<_ACEOF
2618 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2621 cat >>confdefs.h <<_ACEOF
2622 #define PACKAGE_STRING "$PACKAGE_STRING"
2625 cat >>confdefs.h <<_ACEOF
2626 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2629 cat >>confdefs.h <<_ACEOF
2630 #define PACKAGE_URL "$PACKAGE_URL"
2634 # Let the site file select an alternate cache file if it wants to.
2635 # Prefer an explicitly selected file to automatically selected ones.
2638 if test -n "$CONFIG_SITE"; then
2639 # We do not want a PATH search for config.site.
2640 case $CONFIG_SITE in #((
2641 -*) ac_site_file1=./$CONFIG_SITE;;
2642 */*) ac_site_file1=$CONFIG_SITE;;
2643 *) ac_site_file1=./$CONFIG_SITE;;
2645 elif test "x$prefix" != xNONE; then
2646 ac_site_file1=$prefix/share/config.site
2647 ac_site_file2=$prefix/etc/config.site
2649 ac_site_file1=$ac_default_prefix/share/config.site
2650 ac_site_file2=$ac_default_prefix/etc/config.site
2652 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2654 test "x$ac_site_file" = xNONE && continue
2655 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2657 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2658 sed 's/^/| /' "$ac_site_file" >&5
2660 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2662 as_fn_error $? "failed to load site script $ac_site_file
2663 See \`config.log' for more details" "$LINENO" 5; }
2667 if test -r "$cache_file"; then
2668 # Some versions of bash will fail to source /dev/null (special files
2669 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2670 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2672 $as_echo "$as_me: loading cache $cache_file" >&6;}
2674 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2675 *) . "./$cache_file";;
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2680 $as_echo "$as_me: creating cache $cache_file" >&6;}
2684 # Check that the precious variables saved in the cache have kept the same
2686 ac_cache_corrupted=false
2687 for ac_var in $ac_precious_vars; do
2688 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2689 eval ac_new_set=\$ac_env_${ac_var}_set
2690 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2691 eval ac_new_val=\$ac_env_${ac_var}_value
2692 case $ac_old_set,$ac_new_set in
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2695 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2696 ac_cache_corrupted=: ;;
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2699 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2700 ac_cache_corrupted=: ;;
2703 if test "x$ac_old_val" != "x$ac_new_val"; then
2704 # differences in whitespace do not lead to failure.
2705 ac_old_val_w=`echo x $ac_old_val`
2706 ac_new_val_w=`echo x $ac_new_val`
2707 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2709 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2710 ac_cache_corrupted=:
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2713 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2714 eval $ac_var=\$ac_old_val
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2717 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2719 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2722 # Pass precious variables to config.status.
2723 if test "$ac_new_set" = set; then
2725 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2726 *) ac_arg=$ac_var=$ac_new_val ;;
2728 case " $ac_configure_args " in
2729 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2730 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2734 if $ac_cache_corrupted; then
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2738 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2739 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2741 ## -------------------- ##
2742 ## Main body of script. ##
2743 ## -------------------- ##
2746 ac_cpp='$CPP $CPPFLAGS'
2747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2755 ac_config_headers="$ac_config_headers config.h"
2758 am__api_version='1.14'
2761 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2762 if test -f "$ac_dir/install-sh"; then
2764 ac_install_sh="$ac_aux_dir/install-sh -c"
2766 elif test -f "$ac_dir/install.sh"; then
2768 ac_install_sh="$ac_aux_dir/install.sh -c"
2770 elif test -f "$ac_dir/shtool"; then
2772 ac_install_sh="$ac_aux_dir/shtool install -c"
2776 if test -z "$ac_aux_dir"; then
2777 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2780 # These three variables are undocumented and unsupported,
2781 # and are intended to be withdrawn in a future Autoconf release.
2782 # They can cause serious problems if a builder's source tree is in a directory
2783 # whose full name contains unusual characters.
2784 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2785 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2786 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2789 # Find a good install program. We prefer a C program (faster),
2790 # so one script is as good as another. But avoid the broken or
2791 # incompatible versions:
2792 # SysV /etc/install, /usr/sbin/install
2793 # SunOS /usr/etc/install
2794 # IRIX /sbin/install
2796 # AmigaOS /C/install, which installs bootblocks on floppy discs
2797 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2798 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2799 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2800 # OS/2's system install, which has a completely different semantic
2801 # ./install, which can be erroneously created by make from ./install.sh.
2802 # Reject install programs that cannot install multiple files.
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2804 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2805 if test -z "$INSTALL"; then
2806 if ${ac_cv_path_install+:} false; then :
2807 $as_echo_n "(cached) " >&6
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir=.
2814 # Account for people who put trailing slashes in PATH elements.
2815 case $as_dir/ in #((
2816 ./ | .// | /[cC]/* | \
2817 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2818 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2821 # OSF1 and SCO ODT 3.0 have their own names for install.
2822 # Don't use installbsd from OSF since it installs stuff as root
2824 for ac_prog in ginstall scoinst install; do
2825 for ac_exec_ext in '' $ac_executable_extensions; do
2826 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2827 if test $ac_prog = install &&
2828 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2829 # AIX install. It has an incompatible calling convention.
2831 elif test $ac_prog = install &&
2832 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2833 # program-specific install script used by HP pwplus--don't use.
2836 rm -rf conftest.one conftest.two conftest.dir
2837 echo one > conftest.one
2838 echo two > conftest.two
2840 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2841 test -s conftest.one && test -s conftest.two &&
2842 test -s conftest.dir/conftest.one &&
2843 test -s conftest.dir/conftest.two
2845 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2858 rm -rf conftest.one conftest.two conftest.dir
2861 if test "${ac_cv_path_install+set}" = set; then
2862 INSTALL=$ac_cv_path_install
2864 # As a last resort, use the slow shell script. Don't cache a
2865 # value for INSTALL within a source directory, because that will
2866 # break other packages using the cache if that directory is
2867 # removed, or if the value is a relative name.
2868 INSTALL=$ac_install_sh
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2872 $as_echo "$INSTALL" >&6; }
2874 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2875 # It thinks the first close brace ends the variable substitution.
2876 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2878 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2880 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2883 $as_echo_n "checking whether build environment is sane... " >&6; }
2884 # Reject unsafe characters in $srcdir or the absolute working directory
2885 # name. Accept space and tab only in the latter.
2889 *[\\\"\#\$\&\'\`$am_lf]*)
2890 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2893 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2894 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2897 # Do 'set' in a subshell so we don't clobber the current shell's
2898 # arguments. Must try -L first in case configure is actually a
2899 # symlink; some systems play weird games with the mod time of symlinks
2900 # (eg FreeBSD returns the mod time of the symlink's containing
2904 for am_try in 1 2; do
2905 echo "timestamp, slept: $am_has_slept" > conftest.file
2906 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2907 if test "$*" = "X"; then
2909 set X `ls -t "$srcdir/configure" conftest.file`
2911 if test "$*" != "X $srcdir/configure conftest.file" \
2912 && test "$*" != "X conftest.file $srcdir/configure"; then
2914 # If neither matched, then we have a broken ls. This can happen
2915 # if, for instance, CONFIG_SHELL is bash and it inherits a
2916 # broken ls alias from the environment. This has actually
2917 # happened. Such a system could not be considered "sane".
2918 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2919 alias in your environment" "$LINENO" 5
2921 if test "$2" = conftest.file || test $am_try -eq 2; then
2928 test "$2" = conftest.file
2934 as_fn_error $? "newly created file is older than distributed files!
2935 Check your system clock" "$LINENO" 5
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2938 $as_echo "yes" >&6; }
2939 # If we didn't sleep, we still need to ensure time stamps of config.status and
2940 # generated files are strictly newer.
2942 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2949 test "$program_prefix" != NONE &&
2950 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2951 # Use a double $ so make ignores it.
2952 test "$program_suffix" != NONE &&
2953 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2954 # Double any \ or $.
2955 # By default was `s,x,x', remove it if useless.
2956 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2957 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2959 # expand $ac_aux_dir to an absolute path
2960 am_aux_dir=`cd $ac_aux_dir && pwd`
2962 if test x"${MISSING+set}" != xset; then
2965 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2967 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2970 # Use eval to expand $SHELL
2971 if eval "$MISSING --is-lightweight"; then
2972 am_missing_run="$MISSING "
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2976 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2979 if test x"${install_sh}" != xset; then
2982 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2984 install_sh="\${SHELL} $am_aux_dir/install-sh"
2988 # Installed binaries are usually stripped using 'strip' when the user
2989 # run "make install-strip". However 'strip' might not be the right
2990 # tool to use in cross-compilation environments, therefore Automake
2991 # will honor the 'STRIP' environment variable to overrule this program.
2992 if test "$cross_compiling" != no; then
2993 if test -n "$ac_tool_prefix"; then
2994 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2995 set dummy ${ac_tool_prefix}strip; ac_word=$2
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 $as_echo_n "checking for $ac_word... " >&6; }
2998 if ${ac_cv_prog_STRIP+:} false; then :
2999 $as_echo_n "(cached) " >&6
3001 if test -n "$STRIP"; then
3002 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3008 test -z "$as_dir" && as_dir=.
3009 for ac_exec_ext in '' $ac_executable_extensions; do
3010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3011 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021 STRIP=$ac_cv_prog_STRIP
3022 if test -n "$STRIP"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3024 $as_echo "$STRIP" >&6; }
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3032 if test -z "$ac_cv_prog_STRIP"; then
3034 # Extract the first word of "strip", so it can be a program name with args.
3035 set dummy strip; ac_word=$2
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3037 $as_echo_n "checking for $ac_word... " >&6; }
3038 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3039 $as_echo_n "(cached) " >&6
3041 if test -n "$ac_ct_STRIP"; then
3042 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3048 test -z "$as_dir" && as_dir=.
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3051 ac_cv_prog_ac_ct_STRIP="strip"
3052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3061 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3062 if test -n "$ac_ct_STRIP"; then
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3064 $as_echo "$ac_ct_STRIP" >&6; }
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3067 $as_echo "no" >&6; }
3070 if test "x$ac_ct_STRIP" = x; then
3073 case $cross_compiling:$ac_tool_warned in
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3077 ac_tool_warned=yes ;;
3082 STRIP="$ac_cv_prog_STRIP"
3086 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3089 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3090 if test -z "$MKDIR_P"; then
3091 if ${ac_cv_path_mkdir+:} false; then :
3092 $as_echo_n "(cached) " >&6
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3098 test -z "$as_dir" && as_dir=.
3099 for ac_prog in mkdir gmkdir; do
3100 for ac_exec_ext in '' $ac_executable_extensions; do
3101 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3102 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3103 'mkdir (GNU coreutils) '* | \
3104 'mkdir (coreutils) '* | \
3105 'mkdir (fileutils) '4.1*)
3106 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3116 test -d ./--version && rmdir ./--version
3117 if test "${ac_cv_path_mkdir+set}" = set; then
3118 MKDIR_P="$ac_cv_path_mkdir -p"
3120 # As a last resort, use the slow shell script. Don't cache a
3121 # value for MKDIR_P within a source directory, because that will
3122 # break other packages using the cache if that directory is
3123 # removed, or if the value is a relative name.
3124 MKDIR_P="$ac_install_sh -d"
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3128 $as_echo "$MKDIR_P" >&6; }
3130 for ac_prog in gawk mawk nawk awk
3132 # Extract the first word of "$ac_prog", so it can be a program name with args.
3133 set dummy $ac_prog; ac_word=$2
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if ${ac_cv_prog_AWK+:} false; then :
3137 $as_echo_n "(cached) " >&6
3139 if test -n "$AWK"; then
3140 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146 test -z "$as_dir" && as_dir=.
3147 for ac_exec_ext in '' $ac_executable_extensions; do
3148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3149 ac_cv_prog_AWK="$ac_prog"
3150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3160 if test -n "$AWK"; then
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3162 $as_echo "$AWK" >&6; }
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3169 test -n "$AWK" && break
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3173 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3175 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3176 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3177 $as_echo_n "(cached) " >&6
3179 cat >conftest.make <<\_ACEOF
3182 @echo '@@@%%%=$(MAKE)=@@@%%%'
3184 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3185 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3187 eval ac_cv_prog_make_${ac_make}_set=yes;;
3189 eval ac_cv_prog_make_${ac_make}_set=no;;
3193 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3195 $as_echo "yes" >&6; }
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3199 $as_echo "no" >&6; }
3200 SET_MAKE="MAKE=${MAKE-make}"
3203 rm -rf .tst 2>/dev/null
3204 mkdir .tst 2>/dev/null
3205 if test -d .tst; then
3210 rmdir .tst 2>/dev/null
3212 # Check whether --enable-silent-rules was given.
3213 if test "${enable_silent_rules+set}" = set; then :
3214 enableval=$enable_silent_rules;
3217 case $enable_silent_rules in # (((
3218 yes) AM_DEFAULT_VERBOSITY=0;;
3219 no) AM_DEFAULT_VERBOSITY=1;;
3220 *) AM_DEFAULT_VERBOSITY=1;;
3222 am_make=${MAKE-make}
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3224 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3225 if ${am_cv_make_support_nested_variables+:} false; then :
3226 $as_echo_n "(cached) " >&6
3228 if $as_echo 'TRUE=$(BAR$(V))
3234 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3235 am_cv_make_support_nested_variables=yes
3237 am_cv_make_support_nested_variables=no
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3241 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3242 if test $am_cv_make_support_nested_variables = yes; then
3244 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3246 AM_V=$AM_DEFAULT_VERBOSITY
3247 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3251 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3252 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3253 # is not polluted with repeated "-I."
3254 am__isrc=' -I$(srcdir)'
3255 # test to see if srcdir already configured
3256 if test -f $srcdir/config.status; then
3257 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3261 # test whether we have cygpath
3262 if test -z "$CYGPATH_W"; then
3263 if (cygpath --version) >/dev/null 2>/dev/null; then
3264 CYGPATH_W='cygpath -w'
3271 # Define the identity of the package.
3276 # Some tools Automake needs.
3278 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3281 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3284 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3287 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3290 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3292 # For better backward compatibility. To be removed once Automake 1.9.x
3293 # dies out for good. For more background, see:
3294 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3295 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3296 mkdir_p='$(MKDIR_P)'
3298 # We need awk for the "check" target. The system "awk" is bad on
3300 # Always define AMTAR for backward compatibility. Yes, it's still used
3301 # in the wild :-( We should find a proper way to deprecate it ...
3305 # We'll loop over all known methods to create a tar archive until one works.
3306 _am_tools='gnutar pax cpio none'
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
3311 $as_echo_n "checking how to create a pax tar archive... " >&6; }
3313 # Go ahead even if we have the value already cached. We do so because we
3314 # need to set the values for the 'am__tar' and 'am__untar' variables.
3315 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
3317 for _am_tool in $_am_tools; do
3320 for _am_tar in tar gnutar gtar; do
3321 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3322 ($_am_tar --version) >&5 2>&5
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); } && break
3327 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
3328 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
3329 am__untar="$_am_tar -xf -"
3332 # Must skip GNU tar: if it does not support --format= it doesn't create
3333 # ustar tarball either.
3334 (tar --version) >/dev/null 2>&1 && continue
3335 am__tar='tar chf - "$$tardir"'
3336 am__tar_='tar chf - "$tardir"'
3337 am__untar='tar xf -'
3340 am__tar='pax -L -x pax -w "$$tardir"'
3341 am__tar_='pax -L -x pax -w "$tardir"'
3345 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
3346 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
3347 am__untar='cpio -i -H pax -d'
3356 # If the value was cached, stop now. We just wanted to have am__tar
3357 # and am__untar set.
3358 test -n "${am_cv_prog_tar_pax}" && break
3360 # tar/untar a dummy directory, and stop if the command works.
3363 echo GrepMe > conftest.dir/file
3364 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3365 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368 (exit $ac_status); }
3370 if test -s conftest.tar; then
3371 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3372 ($am__untar <conftest.tar) >&5 2>&5
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); }
3376 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3377 (cat conftest.dir/file) >&5 2>&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); }
3381 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3386 if ${am_cv_prog_tar_pax+:} false; then :
3387 $as_echo_n "(cached) " >&6
3389 am_cv_prog_tar_pax=$_am_tool
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3393 $as_echo "$am_cv_prog_tar_pax" >&6; }
3400 # POSIX will say in a future version that running "rm -f" with no argument
3401 # is OK; and we want to be able to make that assumption in our Makefile
3402 # recipes. So use an aggressive probe to check that the usage we want is
3403 # actually supported "in the wild" to an acceptable degree.
3404 # See automake bug#10828.
3405 # To make any issue more visible, cause the running configure to be aborted
3406 # by default if the 'rm' program in use doesn't match our expectations; the
3407 # user can still override this though.
3408 if rm -f && rm -fr && rm -rf; then : OK; else
3412 Your 'rm' program seems unable to run without file operands specified
3413 on the command line, even when the '-f' option is present. This is contrary
3414 to the behaviour of most rm programs out there, and not conforming with
3415 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3417 Please tell bug-automake@gnu.org about your system, including the value
3418 of your $PATH and any error possibly output before this message. This
3419 can help us improve future automake versions.
3422 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3423 echo 'Configuration will proceed anyway, since you have set the' >&2
3424 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3428 Aborting the configuration process, to ensure you take notice of the issue.
3430 You can download and install GNU coreutils to get an 'rm' implementation
3431 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3433 If you want to complete the configuration process using your problematic
3434 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3435 to "yes", and re-run configure.
3438 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3441 if test $am__api_version = 1.11 -o $am__api_version = 1.12; then
3442 AUTOMAKE_OLDER_THAN_1_13_TRUE=
3443 AUTOMAKE_OLDER_THAN_1_13_FALSE='#'
3445 AUTOMAKE_OLDER_THAN_1_13_TRUE='#'
3446 AUTOMAKE_OLDER_THAN_1_13_FALSE=
3449 # Check whether --enable-silent-rules was given.
3450 if test "${enable_silent_rules+set}" = set; then :
3451 enableval=$enable_silent_rules;
3454 case $enable_silent_rules in # (((
3455 yes) AM_DEFAULT_VERBOSITY=0;;
3456 no) AM_DEFAULT_VERBOSITY=1;;
3457 *) AM_DEFAULT_VERBOSITY=0;;
3459 am_make=${MAKE-make}
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3461 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3462 if ${am_cv_make_support_nested_variables+:} false; then :
3463 $as_echo_n "(cached) " >&6
3465 if $as_echo 'TRUE=$(BAR$(V))
3471 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3472 am_cv_make_support_nested_variables=yes
3474 am_cv_make_support_nested_variables=no
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3478 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3479 if test $am_cv_make_support_nested_variables = yes; then
3481 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3483 AM_V=$AM_DEFAULT_VERBOSITY
3484 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3489 # Initialize libtool
3490 DEPDIR="${am__leading_dot}deps"
3492 ac_config_commands="$ac_config_commands depfiles"
3495 am_make=${MAKE-make}
3496 cat > confinc << 'END'
3498 @echo this is the am__doit target
3501 # If we don't find an include directive, just comment out the code.
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3503 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3507 # First try GNU make style include.
3508 echo "include confinc" > confmf
3509 # Ignore all kinds of additional output from 'make'.
3510 case `$am_make -s -f confmf 2> /dev/null` in #(
3511 *the\ am__doit\ target*)
3517 # Now try BSD make style include.
3518 if test "$am__include" = "#"; then
3519 echo '.include "confinc"' > confmf
3520 case `$am_make -s -f confmf 2> /dev/null` in #(
3521 *the\ am__doit\ target*)
3522 am__include=.include
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3531 $as_echo "$_am_result" >&6; }
3532 rm -f confinc confmf
3534 # Check whether --enable-dependency-tracking was given.
3535 if test "${enable_dependency_tracking+set}" = set; then :
3536 enableval=$enable_dependency_tracking;
3539 if test "x$enable_dependency_tracking" != xno; then
3540 am_depcomp="$ac_aux_dir/depcomp"
3544 if test "x$enable_dependency_tracking" != xno; then
3554 ac_cpp='$CPP $CPPFLAGS'
3555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3558 if test -n "$ac_tool_prefix"; then
3559 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3560 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3562 $as_echo_n "checking for $ac_word... " >&6; }
3563 if ${ac_cv_prog_CC+:} false; then :
3564 $as_echo_n "(cached) " >&6
3566 if test -n "$CC"; then
3567 ac_cv_prog_CC="$CC" # Let the user override the test.
3569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3573 test -z "$as_dir" && as_dir=.
3574 for ac_exec_ext in '' $ac_executable_extensions; do
3575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3576 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3587 if test -n "$CC"; then
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3589 $as_echo "$CC" >&6; }
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3592 $as_echo "no" >&6; }
3597 if test -z "$ac_cv_prog_CC"; then
3599 # Extract the first word of "gcc", so it can be a program name with args.
3600 set dummy gcc; ac_word=$2
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3602 $as_echo_n "checking for $ac_word... " >&6; }
3603 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3604 $as_echo_n "(cached) " >&6
3606 if test -n "$ac_ct_CC"; then
3607 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3613 test -z "$as_dir" && as_dir=.
3614 for ac_exec_ext in '' $ac_executable_extensions; do
3615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3616 ac_cv_prog_ac_ct_CC="gcc"
3617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3626 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3627 if test -n "$ac_ct_CC"; then
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3629 $as_echo "$ac_ct_CC" >&6; }
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3632 $as_echo "no" >&6; }
3635 if test "x$ac_ct_CC" = x; then
3638 case $cross_compiling:$ac_tool_warned in
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3642 ac_tool_warned=yes ;;
3650 if test -z "$CC"; then
3651 if test -n "$ac_tool_prefix"; then
3652 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3653 set dummy ${ac_tool_prefix}cc; ac_word=$2
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3655 $as_echo_n "checking for $ac_word... " >&6; }
3656 if ${ac_cv_prog_CC+:} false; then :
3657 $as_echo_n "(cached) " >&6
3659 if test -n "$CC"; then
3660 ac_cv_prog_CC="$CC" # Let the user override the test.
3662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3666 test -z "$as_dir" && as_dir=.
3667 for ac_exec_ext in '' $ac_executable_extensions; do
3668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3669 ac_cv_prog_CC="${ac_tool_prefix}cc"
3670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3680 if test -n "$CC"; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3682 $as_echo "$CC" >&6; }
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3691 if test -z "$CC"; then
3692 # Extract the first word of "cc", so it can be a program name with args.
3693 set dummy cc; ac_word=$2
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3695 $as_echo_n "checking for $ac_word... " >&6; }
3696 if ${ac_cv_prog_CC+:} false; then :
3697 $as_echo_n "(cached) " >&6
3699 if test -n "$CC"; then
3700 ac_cv_prog_CC="$CC" # Let the user override the test.
3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3707 test -z "$as_dir" && as_dir=.
3708 for ac_exec_ext in '' $ac_executable_extensions; do
3709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3710 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3711 ac_prog_rejected=yes
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3722 if test $ac_prog_rejected = yes; then
3723 # We found a bogon in the path, so make sure we never use it.
3724 set dummy $ac_cv_prog_CC
3726 if test $# != 0; then
3727 # We chose a different compiler from the bogus one.
3728 # However, it has the same basename, so the bogon will be chosen
3729 # first if we set CC to just the basename; use the full file name.
3731 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3737 if test -n "$CC"; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3739 $as_echo "$CC" >&6; }
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3747 if test -z "$CC"; then
3748 if test -n "$ac_tool_prefix"; then
3749 for ac_prog in cl.exe
3751 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3752 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3754 $as_echo_n "checking for $ac_word... " >&6; }
3755 if ${ac_cv_prog_CC+:} false; then :
3756 $as_echo_n "(cached) " >&6
3758 if test -n "$CC"; then
3759 ac_cv_prog_CC="$CC" # Let the user override the test.
3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3765 test -z "$as_dir" && as_dir=.
3766 for ac_exec_ext in '' $ac_executable_extensions; do
3767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3768 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3779 if test -n "$CC"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3781 $as_echo "$CC" >&6; }
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3784 $as_echo "no" >&6; }
3788 test -n "$CC" && break
3791 if test -z "$CC"; then
3793 for ac_prog in cl.exe
3795 # Extract the first word of "$ac_prog", so it can be a program name with args.
3796 set dummy $ac_prog; ac_word=$2
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3798 $as_echo_n "checking for $ac_word... " >&6; }
3799 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3800 $as_echo_n "(cached) " >&6
3802 if test -n "$ac_ct_CC"; then
3803 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir=.
3810 for ac_exec_ext in '' $ac_executable_extensions; do
3811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3812 ac_cv_prog_ac_ct_CC="$ac_prog"
3813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3822 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3823 if test -n "$ac_ct_CC"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3825 $as_echo "$ac_ct_CC" >&6; }
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3832 test -n "$ac_ct_CC" && break
3835 if test "x$ac_ct_CC" = x; then
3838 case $cross_compiling:$ac_tool_warned in
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3842 ac_tool_warned=yes ;;
3851 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3853 as_fn_error $? "no acceptable C compiler found in \$PATH
3854 See \`config.log' for more details" "$LINENO" 5; }
3856 # Provide some information about the compiler.
3857 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3860 for ac_option in --version -v -V -qversion; do
3861 { { ac_try="$ac_compiler $ac_option >&5"
3863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3864 *) ac_try_echo=$ac_try;;
3866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3867 $as_echo "$ac_try_echo"; } >&5
3868 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3870 if test -s conftest.err; then
3872 ... rest of stderr output deleted ...
3873 10q' conftest.err >conftest.er1
3874 cat conftest.er1 >&5
3876 rm -f conftest.er1 conftest.err
3877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3878 test $ac_status = 0; }
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3892 ac_clean_files_save=$ac_clean_files
3893 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3894 # Try to create an executable without -o first, disregard a.out.
3895 # It will help us diagnose broken compilers, and finding out an intuition
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3898 $as_echo_n "checking whether the C compiler works... " >&6; }
3899 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3901 # The possible output files:
3902 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3905 for ac_file in $ac_files
3908 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3909 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3914 if { { ac_try="$ac_link_default"
3916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3917 *) ac_try_echo=$ac_try;;
3919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3920 $as_echo "$ac_try_echo"; } >&5
3921 (eval "$ac_link_default") 2>&5
3923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3924 test $ac_status = 0; }; then :
3925 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3926 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3927 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3928 # so that the user can short-circuit this test for compilers unknown to
3930 for ac_file in $ac_files ''
3932 test -f "$ac_file" || continue
3934 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3937 # We found the default executable, but exeext='' is most
3941 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3943 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3945 # We set ac_cv_exeext here because the later test for it is not
3946 # safe: cross compilers may not add the suffix if given an `-o'
3947 # argument, so we may need to know it at that point already.
3948 # Even if this section looks crufty: it has the advantage of
3955 test "$ac_cv_exeext" = no && ac_cv_exeext=
3960 if test -z "$ac_file"; then :
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3963 $as_echo "$as_me: failed program was:" >&5
3964 sed 's/^/| /' conftest.$ac_ext >&5
3966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3968 as_fn_error 77 "C compiler cannot create executables
3969 See \`config.log' for more details" "$LINENO" 5; }
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3972 $as_echo "yes" >&6; }
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3975 $as_echo_n "checking for C compiler default output file name... " >&6; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3977 $as_echo "$ac_file" >&6; }
3978 ac_exeext=$ac_cv_exeext
3980 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3981 ac_clean_files=$ac_clean_files_save
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3983 $as_echo_n "checking for suffix of executables... " >&6; }
3984 if { { ac_try="$ac_link"
3986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3987 *) ac_try_echo=$ac_try;;
3989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3990 $as_echo "$ac_try_echo"; } >&5
3991 (eval "$ac_link") 2>&5
3993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3994 test $ac_status = 0; }; then :
3995 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3996 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3997 # work properly (i.e., refer to `conftest.exe'), while it won't with
3999 for ac_file in conftest.exe conftest conftest.*; do
4000 test -f "$ac_file" || continue
4002 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4003 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4011 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4012 See \`config.log' for more details" "$LINENO" 5; }
4014 rm -f conftest conftest$ac_cv_exeext
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4016 $as_echo "$ac_cv_exeext" >&6; }
4018 rm -f conftest.$ac_ext
4019 EXEEXT=$ac_cv_exeext
4021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4022 /* end confdefs.h. */
4027 FILE *f = fopen ("conftest.out", "w");
4028 return ferror (f) || fclose (f) != 0;
4034 ac_clean_files="$ac_clean_files conftest.out"
4035 # Check that the compiler produces executables we can run. If not, either
4036 # the compiler is broken, or we cross compile.
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4038 $as_echo_n "checking whether we are cross compiling... " >&6; }
4039 if test "$cross_compiling" != yes; then
4040 { { ac_try="$ac_link"
4042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4046 $as_echo "$ac_try_echo"; } >&5
4047 (eval "$ac_link") 2>&5
4049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4050 test $ac_status = 0; }
4051 if { ac_try='./conftest$ac_cv_exeext'
4052 { { case "(($ac_try" in
4053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 *) ac_try_echo=$ac_try;;
4056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4057 $as_echo "$ac_try_echo"; } >&5
4058 (eval "$ac_try") 2>&5
4060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4061 test $ac_status = 0; }; }; then
4064 if test "$cross_compiling" = maybe; then
4067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4069 as_fn_error $? "cannot run C compiled programs.
4070 If you meant to cross compile, use \`--host'.
4071 See \`config.log' for more details" "$LINENO" 5; }
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4076 $as_echo "$cross_compiling" >&6; }
4078 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4079 ac_clean_files=$ac_clean_files_save
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4081 $as_echo_n "checking for suffix of object files... " >&6; }
4082 if ${ac_cv_objext+:} false; then :
4083 $as_echo_n "(cached) " >&6
4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4096 rm -f conftest.o conftest.obj
4097 if { { ac_try="$ac_compile"
4099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4103 $as_echo "$ac_try_echo"; } >&5
4104 (eval "$ac_compile") 2>&5
4106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4107 test $ac_status = 0; }; then :
4108 for ac_file in conftest.o conftest.obj conftest.*; do
4109 test -f "$ac_file" || continue;
4111 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4112 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4117 $as_echo "$as_me: failed program was:" >&5
4118 sed 's/^/| /' conftest.$ac_ext >&5
4120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4122 as_fn_error $? "cannot compute suffix of object files: cannot compile
4123 See \`config.log' for more details" "$LINENO" 5; }
4125 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4128 $as_echo "$ac_cv_objext" >&6; }
4129 OBJEXT=$ac_cv_objext
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4132 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4133 if ${ac_cv_c_compiler_gnu+:} false; then :
4134 $as_echo_n "(cached) " >&6
4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4150 if ac_fn_c_try_compile "$LINENO"; then :
4155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4156 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4160 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4161 if test $ac_compiler_gnu = yes; then
4166 ac_test_CFLAGS=${CFLAGS+set}
4167 ac_save_CFLAGS=$CFLAGS
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4169 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4170 if ${ac_cv_prog_cc_g+:} false; then :
4171 $as_echo_n "(cached) " >&6
4173 ac_save_c_werror_flag=$ac_c_werror_flag
4174 ac_c_werror_flag=yes
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4188 if ac_fn_c_try_compile "$LINENO"; then :
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4203 if ac_fn_c_try_compile "$LINENO"; then :
4206 ac_c_werror_flag=$ac_save_c_werror_flag
4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h. */
4219 if ac_fn_c_try_compile "$LINENO"; then :
4222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 ac_c_werror_flag=$ac_save_c_werror_flag
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4230 $as_echo "$ac_cv_prog_cc_g" >&6; }
4231 if test "$ac_test_CFLAGS" = set; then
4232 CFLAGS=$ac_save_CFLAGS
4233 elif test $ac_cv_prog_cc_g = yes; then
4234 if test "$GCC" = yes; then
4240 if test "$GCC" = yes; then
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4247 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4248 if ${ac_cv_prog_cc_c89+:} false; then :
4249 $as_echo_n "(cached) " >&6
4251 ac_cv_prog_cc_c89=no
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4258 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4259 struct buf { int x; };
4260 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4261 static char *e (p, i)
4267 static char *f (char * (*g) (char **, int), char **p, ...)
4272 s = g (p, va_arg (v,int));
4277 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4278 function prototypes and stuff, but not '\xHH' hex character constants.
4279 These don't provoke an error unfortunately, instead are silently treated
4280 as 'x'. The following induces an error, until -std is added to get
4281 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4282 array size at least. It's necessary to write '\x00'==0 to get something
4283 that's true only with -std. */
4284 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4286 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4287 inside strings and character constants. */
4289 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4291 int test (int i, double x);
4292 struct s1 {int (*f) (int a);};
4293 struct s2 {int (*f) (double a);};
4294 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4300 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4305 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4306 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4308 CC="$ac_save_CC $ac_arg"
4309 if ac_fn_c_try_compile "$LINENO"; then :
4310 ac_cv_prog_cc_c89=$ac_arg
4312 rm -f core conftest.err conftest.$ac_objext
4313 test "x$ac_cv_prog_cc_c89" != "xno" && break
4315 rm -f conftest.$ac_ext
4320 case "x$ac_cv_prog_cc_c89" in
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4323 $as_echo "none needed" >&6; } ;;
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4326 $as_echo "unsupported" >&6; } ;;
4328 CC="$CC $ac_cv_prog_cc_c89"
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4330 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4332 if test "x$ac_cv_prog_cc_c89" != xno; then :
4337 ac_cpp='$CPP $CPPFLAGS'
4338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4343 ac_cpp='$CPP $CPPFLAGS'
4344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4348 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4349 if ${am_cv_prog_cc_c_o+:} false; then :
4350 $as_echo_n "(cached) " >&6
4352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4353 /* end confdefs.h. */
4363 # Make sure it works both with $CC and with simple cc.
4364 # Following AC_PROG_CC_C_O, we do the test twice because some
4365 # compilers refuse to overwrite an existing .o file with -o,
4366 # though they will create one.
4367 am_cv_prog_cc_c_o=yes
4369 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4370 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); } \
4374 && test -f conftest2.$ac_objext; then
4377 am_cv_prog_cc_c_o=no
4381 rm -f core conftest*
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4385 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4386 if test "$am_cv_prog_cc_c_o" != yes; then
4387 # Losing compiler, so override with the script.
4388 # FIXME: It is wrong to rewrite CC.
4389 # But if we don't then we get into trouble of one sort or another.
4390 # A longer-term fix would be to have automake use am__CC in this case,
4391 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4392 CC="$am_aux_dir/compile $CC"
4395 ac_cpp='$CPP $CPPFLAGS'
4396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4401 depcc="$CC" am_compiler_list=
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4404 $as_echo_n "checking dependency style of $depcc... " >&6; }
4405 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4406 $as_echo_n "(cached) " >&6
4408 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4409 # We make a subdir and do the tests there. Otherwise we can end up
4410 # making bogus files that we don't know about and never remove. For
4411 # instance it was reported that on HP-UX the gcc test will end up
4412 # making a dummy file named 'D' -- because '-MD' means "put the output
4416 # Copy depcomp to subdir because otherwise we won't find it if we're
4417 # using a relative directory.
4418 cp "$am_depcomp" conftest.dir
4420 # We will build objects and dependencies in a subdirectory because
4421 # it helps to detect inapplicable dependency modes. For instance
4422 # both Tru64's cc and ICC support -MD to output dependencies as a
4423 # side effect of compilation, but ICC will put the dependencies in
4424 # the current directory while Tru64 will put them in the object
4428 am_cv_CC_dependencies_compiler_type=none
4429 if test "$am_compiler_list" = ""; then
4430 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4433 case " $depcc " in #(
4434 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4437 for depmode in $am_compiler_list; do
4438 # Setup a source with many dependencies, because some compilers
4439 # like to wrap large dependency lists on column 80 (with \), and
4440 # we should not choose a depcomp mode which is confused by this.
4442 # We need to recreate these files for each test, as the compiler may
4443 # overwrite some of them when testing with obscure command lines.
4444 # This happens at least with the AIX C compiler.
4446 for i in 1 2 3 4 5 6; do
4447 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4448 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4449 # Solaris 10 /bin/sh.
4450 echo '/* dummy */' > sub/conftst$i.h
4452 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4454 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4455 # mode. It turns out that the SunPro C++ compiler does not properly
4456 # handle '-M -o', and we need to detect this. Also, some Intel
4457 # versions had trouble with output in subdirs.
4458 am__obj=sub/conftest.${OBJEXT-o}
4459 am__minus_obj="-o $am__obj"
4462 # This depmode causes a compiler race in universal mode.
4463 test "$am__universal" = false || continue
4466 # After this tag, mechanisms are not by side-effect, so they'll
4467 # only be used when explicitly requested.
4468 if test "x$enable_dependency_tracking" = xyes; then
4474 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4475 # This compiler won't grok '-c -o', but also, the minuso test has
4476 # not run yet. These depmodes are late enough in the game, and
4477 # so weak that their functioning should not be impacted.
4478 am__obj=conftest.${OBJEXT-o}
4483 if depmode=$depmode \
4484 source=sub/conftest.c object=$am__obj \
4485 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4486 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4487 >/dev/null 2>conftest.err &&
4488 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4489 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4490 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4491 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4492 # icc doesn't choke on unknown options, it will just issue warnings
4493 # or remarks (even with -Werror). So we grep stderr for any message
4494 # that says an option was ignored or not supported.
4495 # When given -MP, icc 7.0 and 7.1 complain thusly:
4496 # icc: Command line warning: ignoring option '-M'; no argument required
4497 # The diagnosis changed in icc 8.0:
4498 # icc: Command line remark: option '-MP' not supported
4499 if (grep 'ignoring option' conftest.err ||
4500 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4501 am_cv_CC_dependencies_compiler_type=$depmode
4510 am_cv_CC_dependencies_compiler_type=none
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4515 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4516 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4519 test "x$enable_dependency_tracking" != xno \
4520 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4522 am__fastdepCC_FALSE='#'
4524 am__fastdepCC_TRUE='#'
4525 am__fastdepCC_FALSE=
4530 if test -n "$ac_tool_prefix"; then
4531 for ac_prog in ar lib "link -lib"
4533 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4534 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4536 $as_echo_n "checking for $ac_word... " >&6; }
4537 if ${ac_cv_prog_AR+:} false; then :
4538 $as_echo_n "(cached) " >&6
4540 if test -n "$AR"; then
4541 ac_cv_prog_AR="$AR" # Let the user override the test.
4543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4547 test -z "$as_dir" && as_dir=.
4548 for ac_exec_ext in '' $ac_executable_extensions; do
4549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4550 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 if test -n "$AR"; then
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4563 $as_echo "$AR" >&6; }
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4566 $as_echo "no" >&6; }
4570 test -n "$AR" && break
4573 if test -z "$AR"; then
4575 for ac_prog in ar lib "link -lib"
4577 # Extract the first word of "$ac_prog", so it can be a program name with args.
4578 set dummy $ac_prog; ac_word=$2
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4580 $as_echo_n "checking for $ac_word... " >&6; }
4581 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4582 $as_echo_n "(cached) " >&6
4584 if test -n "$ac_ct_AR"; then
4585 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4591 test -z "$as_dir" && as_dir=.
4592 for ac_exec_ext in '' $ac_executable_extensions; do
4593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4594 ac_cv_prog_ac_ct_AR="$ac_prog"
4595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4605 if test -n "$ac_ct_AR"; then
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4607 $as_echo "$ac_ct_AR" >&6; }
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4610 $as_echo "no" >&6; }
4614 test -n "$ac_ct_AR" && break
4617 if test "x$ac_ct_AR" = x; then
4620 case $cross_compiling:$ac_tool_warned in
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4624 ac_tool_warned=yes ;;
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4633 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4634 if ${am_cv_ar_interface+:} false; then :
4635 $as_echo_n "(cached) " >&6
4638 ac_cpp='$CPP $CPPFLAGS'
4639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4643 am_cv_ar_interface=ar
4644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h. */
4646 int some_variable = 0;
4648 if ac_fn_c_try_compile "$LINENO"; then :
4649 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4650 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4651 (eval $am_ar_try) 2>&5
4653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4654 test $ac_status = 0; }
4655 if test "$ac_status" -eq 0; then
4656 am_cv_ar_interface=ar
4658 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4659 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4660 (eval $am_ar_try) 2>&5
4662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4663 test $ac_status = 0; }
4664 if test "$ac_status" -eq 0; then
4665 am_cv_ar_interface=lib
4667 am_cv_ar_interface=unknown
4670 rm -f conftest.lib libconftest.a
4673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4675 ac_cpp='$CPP $CPPFLAGS'
4676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4682 $as_echo "$am_cv_ar_interface" >&6; }
4684 case $am_cv_ar_interface in
4688 # Microsoft lib, so override with the ar-lib wrapper script.
4689 # FIXME: It is wrong to rewrite AR.
4690 # But if we don't then we get into trouble of one sort or another.
4691 # A longer-term fix would be to have automake use am__AR in this case,
4692 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4694 AR="$am_aux_dir/ar-lib $AR"
4697 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4705 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4710 macro_version='2.4.2.418'
4711 macro_revision='2.4.2.418'
4725 ltmain=$ac_aux_dir/ltmain.sh
4727 # Make sure we can run config.sub.
4728 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4729 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4732 $as_echo_n "checking build system type... " >&6; }
4733 if ${ac_cv_build+:} false; then :
4734 $as_echo_n "(cached) " >&6
4736 ac_build_alias=$build_alias
4737 test "x$ac_build_alias" = x &&
4738 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4739 test "x$ac_build_alias" = x &&
4740 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4741 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4742 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4746 $as_echo "$ac_cv_build" >&6; }
4747 case $ac_cv_build in
4749 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4752 ac_save_IFS=$IFS; IFS='-'
4758 # Remember, the first character of IFS is used to create $*,
4759 # except with old shells:
4762 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4766 $as_echo_n "checking host system type... " >&6; }
4767 if ${ac_cv_host+:} false; then :
4768 $as_echo_n "(cached) " >&6
4770 if test "x$host_alias" = x; then
4771 ac_cv_host=$ac_cv_build
4773 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4774 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4779 $as_echo "$ac_cv_host" >&6; }
4782 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4785 ac_save_IFS=$IFS; IFS='-'
4791 # Remember, the first character of IFS is used to create $*,
4792 # except with old shells:
4795 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4798 # Backslashify metacharacters that are still active within
4799 # double-quoted strings.
4800 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4802 # Same as above, but do not quote variable references.
4803 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4805 # Sed substitution to delay expansion of an escaped shell variable in a
4806 # double_quote_subst'ed string.
4807 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4809 # Sed substitution to delay expansion of an escaped single quote.
4810 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4812 # Sed substitution to avoid accidental globbing in evaled expressions
4813 no_glob_subst='s/\*/\\\*/g'
4815 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4816 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4817 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4820 $as_echo_n "checking how to print strings... " >&6; }
4821 # Test print first, because it will be a builtin if present.
4822 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4823 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4825 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4828 # Use this function as a fallback that always works.
4829 func_fallback_echo ()
4831 eval 'cat <<_LTECHO_EOF
4835 ECHO='func_fallback_echo'
4838 # func_echo_all arg...
4839 # Invoke $ECHO with all args, space-separated.
4846 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4847 $as_echo "printf" >&6; } ;;
4848 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4849 $as_echo "print -r" >&6; } ;;
4850 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4851 $as_echo "cat" >&6; } ;;
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4868 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4869 if ${ac_cv_path_SED+:} false; then :
4870 $as_echo_n "(cached) " >&6
4872 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4873 for ac_i in 1 2 3 4 5 6 7; do
4874 ac_script="$ac_script$as_nl$ac_script"
4876 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4877 { ac_script=; unset ac_script;}
4878 if test -z "$SED"; then
4879 ac_path_SED_found=false
4880 # Loop through the user's path and test for each of PROGNAME-LIST
4881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 test -z "$as_dir" && as_dir=.
4886 for ac_prog in sed gsed; do
4887 for ac_exec_ext in '' $ac_executable_extensions; do
4888 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4889 as_fn_executable_p "$ac_path_SED" || continue
4890 # Check for GNU ac_path_SED and select it if it is found.
4891 # Check for GNU $ac_path_SED
4892 case `"$ac_path_SED" --version 2>&1` in
4894 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4897 $as_echo_n 0123456789 >"conftest.in"
4900 cat "conftest.in" "conftest.in" >"conftest.tmp"
4901 mv "conftest.tmp" "conftest.in"
4902 cp "conftest.in" "conftest.nl"
4903 $as_echo '' >> "conftest.nl"
4904 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4905 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4906 as_fn_arith $ac_count + 1 && ac_count=$as_val
4907 if test $ac_count -gt ${ac_path_SED_max-0}; then
4908 # Best one so far, save it but keep looking for a better one
4909 ac_cv_path_SED="$ac_path_SED"
4910 ac_path_SED_max=$ac_count
4912 # 10*(2^10) chars as input seems more than enough
4913 test $ac_count -gt 10 && break
4915 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4918 $ac_path_SED_found && break 3
4923 if test -z "$ac_cv_path_SED"; then
4924 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4932 $as_echo "$ac_cv_path_SED" >&6; }
4933 SED="$ac_cv_path_SED"
4936 test -z "$SED" && SED=sed
4937 Xsed="$SED -e 1s/^X//"
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4950 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4951 if ${ac_cv_path_GREP+:} false; then :
4952 $as_echo_n "(cached) " >&6
4954 if test -z "$GREP"; then
4955 ac_path_GREP_found=false
4956 # Loop through the user's path and test for each of PROGNAME-LIST
4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4961 test -z "$as_dir" && as_dir=.
4962 for ac_prog in grep ggrep; do
4963 for ac_exec_ext in '' $ac_executable_extensions; do
4964 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4965 as_fn_executable_p "$ac_path_GREP" || continue
4966 # Check for GNU ac_path_GREP and select it if it is found.
4967 # Check for GNU $ac_path_GREP
4968 case `"$ac_path_GREP" --version 2>&1` in
4970 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4973 $as_echo_n 0123456789 >"conftest.in"
4976 cat "conftest.in" "conftest.in" >"conftest.tmp"
4977 mv "conftest.tmp" "conftest.in"
4978 cp "conftest.in" "conftest.nl"
4979 $as_echo 'GREP' >> "conftest.nl"
4980 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4981 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4982 as_fn_arith $ac_count + 1 && ac_count=$as_val
4983 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4984 # Best one so far, save it but keep looking for a better one
4985 ac_cv_path_GREP="$ac_path_GREP"
4986 ac_path_GREP_max=$ac_count
4988 # 10*(2^10) chars as input seems more than enough
4989 test $ac_count -gt 10 && break
4991 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4994 $ac_path_GREP_found && break 3
4999 if test -z "$ac_cv_path_GREP"; then
5000 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5003 ac_cv_path_GREP=$GREP
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5008 $as_echo "$ac_cv_path_GREP" >&6; }
5009 GREP="$ac_cv_path_GREP"
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5013 $as_echo_n "checking for egrep... " >&6; }
5014 if ${ac_cv_path_EGREP+:} false; then :
5015 $as_echo_n "(cached) " >&6
5017 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5018 then ac_cv_path_EGREP="$GREP -E"
5020 if test -z "$EGREP"; then
5021 ac_path_EGREP_found=false
5022 # Loop through the user's path and test for each of PROGNAME-LIST
5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5027 test -z "$as_dir" && as_dir=.
5028 for ac_prog in egrep; do
5029 for ac_exec_ext in '' $ac_executable_extensions; do
5030 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5031 as_fn_executable_p "$ac_path_EGREP" || continue
5032 # Check for GNU ac_path_EGREP and select it if it is found.
5033 # Check for GNU $ac_path_EGREP
5034 case `"$ac_path_EGREP" --version 2>&1` in
5036 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5039 $as_echo_n 0123456789 >"conftest.in"
5042 cat "conftest.in" "conftest.in" >"conftest.tmp"
5043 mv "conftest.tmp" "conftest.in"
5044 cp "conftest.in" "conftest.nl"
5045 $as_echo 'EGREP' >> "conftest.nl"
5046 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5047 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5048 as_fn_arith $ac_count + 1 && ac_count=$as_val
5049 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5050 # Best one so far, save it but keep looking for a better one
5051 ac_cv_path_EGREP="$ac_path_EGREP"
5052 ac_path_EGREP_max=$ac_count
5054 # 10*(2^10) chars as input seems more than enough
5055 test $ac_count -gt 10 && break
5057 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5060 $ac_path_EGREP_found && break 3
5065 if test -z "$ac_cv_path_EGREP"; then
5066 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5069 ac_cv_path_EGREP=$EGREP
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5075 $as_echo "$ac_cv_path_EGREP" >&6; }
5076 EGREP="$ac_cv_path_EGREP"
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5080 $as_echo_n "checking for fgrep... " >&6; }
5081 if ${ac_cv_path_FGREP+:} false; then :
5082 $as_echo_n "(cached) " >&6
5084 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5085 then ac_cv_path_FGREP="$GREP -F"
5087 if test -z "$FGREP"; then
5088 ac_path_FGREP_found=false
5089 # Loop through the user's path and test for each of PROGNAME-LIST
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5094 test -z "$as_dir" && as_dir=.
5095 for ac_prog in fgrep; do
5096 for ac_exec_ext in '' $ac_executable_extensions; do
5097 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5098 as_fn_executable_p "$ac_path_FGREP" || continue
5099 # Check for GNU ac_path_FGREP and select it if it is found.
5100 # Check for GNU $ac_path_FGREP
5101 case `"$ac_path_FGREP" --version 2>&1` in
5103 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5106 $as_echo_n 0123456789 >"conftest.in"
5109 cat "conftest.in" "conftest.in" >"conftest.tmp"
5110 mv "conftest.tmp" "conftest.in"
5111 cp "conftest.in" "conftest.nl"
5112 $as_echo 'FGREP' >> "conftest.nl"
5113 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5114 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5115 as_fn_arith $ac_count + 1 && ac_count=$as_val
5116 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5117 # Best one so far, save it but keep looking for a better one
5118 ac_cv_path_FGREP="$ac_path_FGREP"
5119 ac_path_FGREP_max=$ac_count
5121 # 10*(2^10) chars as input seems more than enough
5122 test $ac_count -gt 10 && break
5124 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5127 $ac_path_FGREP_found && break 3
5132 if test -z "$ac_cv_path_FGREP"; then
5133 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5136 ac_cv_path_FGREP=$FGREP
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5142 $as_echo "$ac_cv_path_FGREP" >&6; }
5143 FGREP="$ac_cv_path_FGREP"
5146 test -z "$GREP" && GREP=grep
5166 # Check whether --with-gnu-ld was given.
5167 if test "${with_gnu_ld+set}" = set; then :
5168 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5174 if test yes = "$GCC"; then
5175 # Check if gcc -print-prog-name=ld gives a path.
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5177 $as_echo_n "checking for ld used by $CC... " >&6; }
5180 # gcc leaves a trailing carriage return, which upsets mingw
5181 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5183 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5186 # Accept absolute paths.
5188 re_direlt='/[^/][^/]*/\.\./'
5189 # Canonicalize the pathname of ld
5190 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5191 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5192 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5194 test -z "$LD" && LD=$ac_prog
5197 # If it fails, then pretend we aren't using GCC.
5201 # If it is relative, then search for the first ld in PATH.
5205 elif test yes = "$with_gnu_ld"; then
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5207 $as_echo_n "checking for GNU ld... " >&6; }
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5210 $as_echo_n "checking for non-GNU ld... " >&6; }
5212 if ${lt_cv_path_LD+:} false; then :
5213 $as_echo_n "(cached) " >&6
5215 if test -z "$LD"; then
5216 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5217 for ac_dir in $PATH; do
5219 test -z "$ac_dir" && ac_dir=.
5220 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5221 lt_cv_path_LD=$ac_dir/$ac_prog
5222 # Check to see if the program is GNU ld. I'd rather use --version,
5223 # but apparently some variants of GNU ld only accept -v.
5224 # Break only if it was the GNU/non-GNU ld that we prefer.
5225 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5226 *GNU* | *'with BFD'*)
5227 test no != "$with_gnu_ld" && break
5230 test yes != "$with_gnu_ld" && break
5237 lt_cv_path_LD=$LD # Let the user override the test with a path.
5242 if test -n "$LD"; then
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5244 $as_echo "$LD" >&6; }
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5247 $as_echo "no" >&6; }
5249 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5251 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5252 if ${lt_cv_prog_gnu_ld+:} false; then :
5253 $as_echo_n "(cached) " >&6
5255 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5256 case `$LD -v 2>&1 </dev/null` in
5257 *GNU* | *'with BFD'*)
5258 lt_cv_prog_gnu_ld=yes
5261 lt_cv_prog_gnu_ld=no
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5266 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5267 with_gnu_ld=$lt_cv_prog_gnu_ld
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5278 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5279 if ${lt_cv_path_NM+:} false; then :
5280 $as_echo_n "(cached) " >&6
5282 if test -n "$NM"; then
5283 # Let the user override the test.
5286 lt_nm_to_check=${ac_tool_prefix}nm
5287 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5288 lt_nm_to_check="$lt_nm_to_check nm"
5290 for lt_tmp_nm in $lt_nm_to_check; do
5291 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5292 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5294 test -z "$ac_dir" && ac_dir=.
5295 tmp_nm=$ac_dir/$lt_tmp_nm
5296 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5297 # Check to see if the nm accepts a BSD-compat flag.
5298 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5299 # nm: unknown option "B" ignored
5300 # Tru64's nm complains that /dev/null is an invalid object file
5301 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5302 */dev/null* | *'Invalid file or object type'*)
5303 lt_cv_path_NM="$tmp_nm -B"
5307 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5309 lt_cv_path_NM="$tmp_nm -p"
5313 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5314 continue # so that we can try to find one that supports BSD flags
5323 : ${lt_cv_path_NM=no}
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5327 $as_echo "$lt_cv_path_NM" >&6; }
5328 if test no != "$lt_cv_path_NM"; then
5331 # Didn't find any BSD compatible name lister, look for dumpbin.
5332 if test -n "$DUMPBIN"; then :
5333 # Let the user override the test.
5335 if test -n "$ac_tool_prefix"; then
5336 for ac_prog in dumpbin "link -dump"
5338 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5339 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5341 $as_echo_n "checking for $ac_word... " >&6; }
5342 if ${ac_cv_prog_DUMPBIN+:} false; then :
5343 $as_echo_n "(cached) " >&6
5345 if test -n "$DUMPBIN"; then
5346 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 test -z "$as_dir" && as_dir=.
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5355 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5365 DUMPBIN=$ac_cv_prog_DUMPBIN
5366 if test -n "$DUMPBIN"; then
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5368 $as_echo "$DUMPBIN" >&6; }
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5371 $as_echo "no" >&6; }
5375 test -n "$DUMPBIN" && break
5378 if test -z "$DUMPBIN"; then
5379 ac_ct_DUMPBIN=$DUMPBIN
5380 for ac_prog in dumpbin "link -dump"
5382 # Extract the first word of "$ac_prog", so it can be a program name with args.
5383 set dummy $ac_prog; ac_word=$2
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5385 $as_echo_n "checking for $ac_word... " >&6; }
5386 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5387 $as_echo_n "(cached) " >&6
5389 if test -n "$ac_ct_DUMPBIN"; then
5390 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396 test -z "$as_dir" && as_dir=.
5397 for ac_exec_ext in '' $ac_executable_extensions; do
5398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5399 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5409 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5410 if test -n "$ac_ct_DUMPBIN"; then
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5412 $as_echo "$ac_ct_DUMPBIN" >&6; }
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5415 $as_echo "no" >&6; }
5419 test -n "$ac_ct_DUMPBIN" && break
5422 if test "x$ac_ct_DUMPBIN" = x; then
5425 case $cross_compiling:$ac_tool_warned in
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5429 ac_tool_warned=yes ;;
5431 DUMPBIN=$ac_ct_DUMPBIN
5435 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5437 DUMPBIN="$DUMPBIN -symbols -headers"
5445 if test : != "$DUMPBIN"; then
5449 test -z "$NM" && NM=nm
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5457 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5458 if ${lt_cv_nm_interface+:} false; then :
5459 $as_echo_n "(cached) " >&6
5461 lt_cv_nm_interface="BSD nm"
5462 echo "int some_variable = 0;" > conftest.$ac_ext
5463 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5464 (eval "$ac_compile" 2>conftest.err)
5465 cat conftest.err >&5
5466 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5467 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5468 cat conftest.err >&5
5469 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5470 cat conftest.out >&5
5471 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5472 lt_cv_nm_interface="MS dumpbin"
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5477 $as_echo "$lt_cv_nm_interface" >&6; }
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5480 $as_echo_n "checking whether ln -s works... " >&6; }
5482 if test "$LN_S" = "ln -s"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5484 $as_echo "yes" >&6; }
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5487 $as_echo "no, using $LN_S" >&6; }
5490 # find the maximum length of command line arguments
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5492 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5493 if ${lt_cv_sys_max_cmd_len+:} false; then :
5494 $as_echo_n "(cached) " >&6
5501 # On DJGPP, this test can blow up pretty badly due to problems in libc
5502 # (any single argument exceeding 2000 bytes causes a buffer overrun
5503 # during glob expansion). Even if it were fixed, the result of this
5504 # check would be larger than it should be.
5505 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5509 # Under GNU Hurd, this test is not required because there is
5510 # no limit to the length of command line arguments.
5511 # Libtool will interpret -1 as no limit whatsoever
5512 lt_cv_sys_max_cmd_len=-1;
5515 cygwin* | mingw* | cegcc*)
5516 # On Win9x/ME, this test blows up -- it succeeds, but takes
5517 # about 5 minutes as the teststring grows exponentially.
5518 # Worse, since 9x/ME are not pre-emptively multitasking,
5519 # you end up with a "frozen" computer, even though with patience
5520 # the test eventually succeeds (with a max line length of 256k).
5521 # Instead, let's just punt: use the minimum linelength reported by
5522 # all of the supported platforms: 8192 (on NT/2K/XP).
5523 lt_cv_sys_max_cmd_len=8192;
5527 # On MiNT this can take a long time and run out of memory.
5528 lt_cv_sys_max_cmd_len=8192;
5532 # On AmigaOS with pdksh, this test takes hours, literally.
5533 # So we just punt and use a minimum line length of 8192.
5534 lt_cv_sys_max_cmd_len=8192;
5537 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5538 # This has been around since 386BSD, at least. Likely further.
5539 if test -x /sbin/sysctl; then
5540 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5541 elif test -x /usr/sbin/sysctl; then
5542 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5544 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5546 # And add a safety zone
5547 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5548 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5552 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5553 lt_cv_sys_max_cmd_len=196608
5557 # The test takes a long time on OS/2.
5558 lt_cv_sys_max_cmd_len=8192
5562 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5563 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5564 # nice to cause kernel panics so lets avoid the loop below.
5565 # First set a reasonable default.
5566 lt_cv_sys_max_cmd_len=16384
5568 if test -x /sbin/sysconfig; then
5569 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5570 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5575 lt_cv_sys_max_cmd_len=102400
5577 sysv5* | sco5v6* | sysv4.2uw2*)
5578 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5579 if test -n "$kargmax"; then
5580 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5582 lt_cv_sys_max_cmd_len=32768
5586 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5587 if test -n "$lt_cv_sys_max_cmd_len" && \
5588 test undefined != "$lt_cv_sys_max_cmd_len"; then
5589 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5590 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5592 # Make teststring a little bigger before we do anything with it.
5593 # a 1K string should be a reasonable start.
5594 for i in 1 2 3 4 5 6 7 8; do
5595 teststring=$teststring$teststring
5597 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5598 # If test is not a shell built-in, we'll probably end up computing a
5599 # maximum length that is only half of the actual maximum length, but
5601 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5602 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5603 test 17 != "$i" # 1/2 MB should be enough
5606 teststring=$teststring$teststring
5608 # Only check the string length outside the loop.
5609 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5611 # Add a significant safety factor because C++ compilers can tack on
5612 # massive amounts of additional arguments before passing them to the
5613 # linker. It appears as though 1/2 is a usable value.
5614 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5621 if test -n "$lt_cv_sys_max_cmd_len"; then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5623 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5626 $as_echo "none" >&6; }
5628 max_cmd_len=$lt_cv_sys_max_cmd_len
5639 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5649 # test EBCDIC or ASCII
5650 case `echo X|tr X '\101'` in
5651 A) # ASCII based system
5652 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5653 lt_SP2NL='tr \040 \012'
5654 lt_NL2SP='tr \015\012 \040\040'
5656 *) # EBCDIC based system
5657 lt_SP2NL='tr \100 \n'
5658 lt_NL2SP='tr \r\n \100\100'
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5671 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5672 if ${lt_cv_to_host_file_cmd+:} false; then :
5673 $as_echo_n "(cached) " >&6
5678 *-*-mingw* ) # actually msys
5679 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5682 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5684 * ) # otherwise, assume *nix
5685 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5691 *-*-mingw* ) # actually msys
5692 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5695 lt_cv_to_host_file_cmd=func_convert_file_noop
5697 * ) # otherwise, assume *nix
5698 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5702 * ) # unhandled hosts (and "normal" native builds)
5703 lt_cv_to_host_file_cmd=func_convert_file_noop
5709 to_host_file_cmd=$lt_cv_to_host_file_cmd
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5711 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5718 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5719 if ${lt_cv_to_tool_file_cmd+:} false; then :
5720 $as_echo_n "(cached) " >&6
5722 #assume ordinary cross tools, or native build.
5723 lt_cv_to_tool_file_cmd=func_convert_file_noop
5727 *-*-mingw* ) # actually msys
5728 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5736 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5738 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5745 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5746 if ${lt_cv_ld_reload_flag+:} false; then :
5747 $as_echo_n "(cached) " >&6
5749 lt_cv_ld_reload_flag='-r'
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5752 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5753 reload_flag=$lt_cv_ld_reload_flag
5754 case $reload_flag in
5756 *) reload_flag=" $reload_flag" ;;
5758 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5760 cygwin* | mingw* | pw32* | cegcc*)
5761 if test yes != "$GCC"; then
5766 if test yes = "$GCC"; then
5767 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5769 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5782 if test -n "$ac_tool_prefix"; then
5783 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5784 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if ${ac_cv_prog_OBJDUMP+:} false; then :
5788 $as_echo_n "(cached) " >&6
5790 if test -n "$OBJDUMP"; then
5791 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5800 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5810 OBJDUMP=$ac_cv_prog_OBJDUMP
5811 if test -n "$OBJDUMP"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5813 $as_echo "$OBJDUMP" >&6; }
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5821 if test -z "$ac_cv_prog_OBJDUMP"; then
5822 ac_ct_OBJDUMP=$OBJDUMP
5823 # Extract the first word of "objdump", so it can be a program name with args.
5824 set dummy objdump; ac_word=$2
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5826 $as_echo_n "checking for $ac_word... " >&6; }
5827 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5828 $as_echo_n "(cached) " >&6
5830 if test -n "$ac_ct_OBJDUMP"; then
5831 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837 test -z "$as_dir" && as_dir=.
5838 for ac_exec_ext in '' $ac_executable_extensions; do
5839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5840 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5850 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5851 if test -n "$ac_ct_OBJDUMP"; then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5853 $as_echo "$ac_ct_OBJDUMP" >&6; }
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5856 $as_echo "no" >&6; }
5859 if test "x$ac_ct_OBJDUMP" = x; then
5862 case $cross_compiling:$ac_tool_warned in
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5866 ac_tool_warned=yes ;;
5868 OBJDUMP=$ac_ct_OBJDUMP
5871 OBJDUMP="$ac_cv_prog_OBJDUMP"
5874 test -z "$OBJDUMP" && OBJDUMP=objdump
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5885 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5886 if ${lt_cv_deplibs_check_method+:} false; then :
5887 $as_echo_n "(cached) " >&6
5889 lt_cv_file_magic_cmd='$MAGIC_CMD'
5890 lt_cv_file_magic_test_file=
5891 lt_cv_deplibs_check_method='unknown'
5892 # Need to set the preceding variable on all platforms that support
5893 # interlibrary dependencies.
5894 # 'none' -- dependencies not supported.
5895 # 'unknown' -- same as none, but documents that we really don't know.
5896 # 'pass_all' -- all dependencies passed with no checks.
5897 # 'test_compile' -- check by making test program.
5898 # 'file_magic [[regex]]' -- check by looking for files in library path
5899 # that responds to the $file_magic_cmd with a given extended regex.
5900 # If you have 'file' or equivalent on your system and you're not sure
5901 # whether 'pass_all' will *always* work, you probably want this one.
5905 lt_cv_deplibs_check_method=pass_all
5909 lt_cv_deplibs_check_method=pass_all
5913 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5914 lt_cv_file_magic_cmd='/usr/bin/file -L'
5915 lt_cv_file_magic_test_file=/shlib/libc.so
5919 # func_win32_libid is a shell function defined in ltmain.sh
5920 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5921 lt_cv_file_magic_cmd='func_win32_libid'
5925 # Base MSYS/MinGW do not provide the 'file' command needed by
5926 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5927 # unless we find 'file', for example because we are cross-compiling.
5928 if ( file / ) >/dev/null 2>&1; then
5929 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5930 lt_cv_file_magic_cmd='func_win32_libid'
5932 # Keep this pattern in sync with the one in func_win32_libid.
5933 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5934 lt_cv_file_magic_cmd='$OBJDUMP -f'
5939 # use the weaker test based on 'objdump'. See mingw*.
5940 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5941 lt_cv_file_magic_cmd='$OBJDUMP -f'
5944 darwin* | rhapsody*)
5945 lt_cv_deplibs_check_method=pass_all
5948 freebsd* | dragonfly*)
5949 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5952 # Not sure whether the presence of OpenBSD here was a mistake.
5953 # Let's accept both of them until this is cleared up.
5954 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5955 lt_cv_file_magic_cmd=/usr/bin/file
5956 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5960 lt_cv_deplibs_check_method=pass_all
5965 lt_cv_deplibs_check_method=pass_all
5968 hpux10.20* | hpux11*)
5969 lt_cv_file_magic_cmd=/usr/bin/file
5972 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5973 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5976 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]'
5977 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5980 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5981 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5987 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5988 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5991 irix5* | irix6* | nonstopux*)
5993 *-32|*"-32 ") libmagic=32-bit;;
5994 *-n32|*"-n32 ") libmagic=N32;;
5995 *-64|*"-64 ") libmagic=64-bit;;
5996 *) libmagic=never-match;;
5998 lt_cv_deplibs_check_method=pass_all
6001 # This must be glibc/ELF.
6002 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6003 lt_cv_deplibs_check_method=pass_all
6007 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6008 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6010 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6015 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6016 lt_cv_file_magic_cmd=/usr/bin/file
6017 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6021 lt_cv_deplibs_check_method=pass_all
6025 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6026 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6028 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6032 osf3* | osf4* | osf5*)
6033 lt_cv_deplibs_check_method=pass_all
6037 lt_cv_deplibs_check_method=pass_all
6041 lt_cv_deplibs_check_method=pass_all
6044 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6045 lt_cv_deplibs_check_method=pass_all
6049 case $host_vendor in
6051 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]'
6052 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6055 lt_cv_deplibs_check_method=pass_all
6058 lt_cv_file_magic_cmd='/bin/file'
6059 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6062 lt_cv_file_magic_cmd='/bin/file'
6063 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6064 lt_cv_file_magic_test_file=/lib/libc.so
6067 lt_cv_deplibs_check_method=pass_all
6070 lt_cv_deplibs_check_method=pass_all
6076 lt_cv_deplibs_check_method=pass_all
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6082 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6086 if test "$build" = "$host"; then
6089 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6092 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6098 file_magic_cmd=$lt_cv_file_magic_cmd
6099 deplibs_check_method=$lt_cv_deplibs_check_method
6100 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6123 if test -n "$ac_tool_prefix"; then
6124 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6125 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6127 $as_echo_n "checking for $ac_word... " >&6; }
6128 if ${ac_cv_prog_DLLTOOL+:} false; then :
6129 $as_echo_n "(cached) " >&6
6131 if test -n "$DLLTOOL"; then
6132 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6138 test -z "$as_dir" && as_dir=.
6139 for ac_exec_ext in '' $ac_executable_extensions; do
6140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6141 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6151 DLLTOOL=$ac_cv_prog_DLLTOOL
6152 if test -n "$DLLTOOL"; then
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6154 $as_echo "$DLLTOOL" >&6; }
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6157 $as_echo "no" >&6; }
6162 if test -z "$ac_cv_prog_DLLTOOL"; then
6163 ac_ct_DLLTOOL=$DLLTOOL
6164 # Extract the first word of "dlltool", so it can be a program name with args.
6165 set dummy dlltool; ac_word=$2
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167 $as_echo_n "checking for $ac_word... " >&6; }
6168 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6169 $as_echo_n "(cached) " >&6
6171 if test -n "$ac_ct_DLLTOOL"; then
6172 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6178 test -z "$as_dir" && as_dir=.
6179 for ac_exec_ext in '' $ac_executable_extensions; do
6180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6181 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6191 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6192 if test -n "$ac_ct_DLLTOOL"; then
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6194 $as_echo "$ac_ct_DLLTOOL" >&6; }
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6197 $as_echo "no" >&6; }
6200 if test "x$ac_ct_DLLTOOL" = x; then
6203 case $cross_compiling:$ac_tool_warned in
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6207 ac_tool_warned=yes ;;
6209 DLLTOOL=$ac_ct_DLLTOOL
6212 DLLTOOL="$ac_cv_prog_DLLTOOL"
6215 test -z "$DLLTOOL" && DLLTOOL=dlltool
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6227 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6228 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6229 $as_echo_n "(cached) " >&6
6231 lt_cv_sharedlib_from_linklib_cmd='unknown'
6234 cygwin* | mingw* | pw32* | cegcc*)
6235 # two different shell functions defined in ltmain.sh;
6236 # decide which one to use based on capabilities of $DLLTOOL
6237 case `$DLLTOOL --help 2>&1` in
6238 *--identify-strict*)
6239 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6242 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6247 # fallback: assume linklib IS sharedlib
6248 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6254 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6255 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6256 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6264 if test -n "$ac_tool_prefix"; then
6267 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6268 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6270 $as_echo_n "checking for $ac_word... " >&6; }
6271 if ${ac_cv_prog_AR+:} false; then :
6272 $as_echo_n "(cached) " >&6
6274 if test -n "$AR"; then
6275 ac_cv_prog_AR="$AR" # Let the user override the test.
6277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6281 test -z "$as_dir" && as_dir=.
6282 for ac_exec_ext in '' $ac_executable_extensions; do
6283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6284 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6295 if test -n "$AR"; then
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6297 $as_echo "$AR" >&6; }
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6300 $as_echo "no" >&6; }
6304 test -n "$AR" && break
6307 if test -z "$AR"; then
6311 # Extract the first word of "$ac_prog", so it can be a program name with args.
6312 set dummy $ac_prog; ac_word=$2
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6314 $as_echo_n "checking for $ac_word... " >&6; }
6315 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6316 $as_echo_n "(cached) " >&6
6318 if test -n "$ac_ct_AR"; then
6319 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6325 test -z "$as_dir" && as_dir=.
6326 for ac_exec_ext in '' $ac_executable_extensions; do
6327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6328 ac_cv_prog_ac_ct_AR="$ac_prog"
6329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6338 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6339 if test -n "$ac_ct_AR"; then
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6341 $as_echo "$ac_ct_AR" >&6; }
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6344 $as_echo "no" >&6; }
6348 test -n "$ac_ct_AR" && break
6351 if test "x$ac_ct_AR" = x; then
6354 case $cross_compiling:$ac_tool_warned in
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6358 ac_tool_warned=yes ;;
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6378 $as_echo_n "checking for archiver @FILE support... " >&6; }
6379 if ${lt_cv_ar_at_file+:} false; then :
6380 $as_echo_n "(cached) " >&6
6383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6384 /* end confdefs.h. */
6394 if ac_fn_c_try_compile "$LINENO"; then :
6395 echo conftest.$ac_objext > conftest.lst
6396 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6397 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6398 (eval $lt_ar_try) 2>&5
6400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6401 test $ac_status = 0; }
6402 if test 0 -eq "$ac_status"; then
6403 # Ensure the archiver fails upon bogus file names.
6404 rm -f conftest.$ac_objext libconftest.a
6405 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6406 (eval $lt_ar_try) 2>&5
6408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6409 test $ac_status = 0; }
6410 if test 0 -ne "$ac_status"; then
6414 rm -f conftest.* libconftest.a
6417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6421 $as_echo "$lt_cv_ar_at_file" >&6; }
6423 if test no = "$lt_cv_ar_at_file"; then
6426 archiver_list_spec=$lt_cv_ar_at_file
6435 if test -n "$ac_tool_prefix"; then
6436 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6437 set dummy ${ac_tool_prefix}strip; ac_word=$2
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6439 $as_echo_n "checking for $ac_word... " >&6; }
6440 if ${ac_cv_prog_STRIP+:} false; then :
6441 $as_echo_n "(cached) " >&6
6443 if test -n "$STRIP"; then
6444 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450 test -z "$as_dir" && as_dir=.
6451 for ac_exec_ext in '' $ac_executable_extensions; do
6452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6453 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6463 STRIP=$ac_cv_prog_STRIP
6464 if test -n "$STRIP"; then
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6466 $as_echo "$STRIP" >&6; }
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6469 $as_echo "no" >&6; }
6474 if test -z "$ac_cv_prog_STRIP"; then
6476 # Extract the first word of "strip", so it can be a program name with args.
6477 set dummy strip; ac_word=$2
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6479 $as_echo_n "checking for $ac_word... " >&6; }
6480 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6481 $as_echo_n "(cached) " >&6
6483 if test -n "$ac_ct_STRIP"; then
6484 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6490 test -z "$as_dir" && as_dir=.
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6493 ac_cv_prog_ac_ct_STRIP="strip"
6494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6503 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6504 if test -n "$ac_ct_STRIP"; then
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6506 $as_echo "$ac_ct_STRIP" >&6; }
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6509 $as_echo "no" >&6; }
6512 if test "x$ac_ct_STRIP" = x; then
6515 case $cross_compiling:$ac_tool_warned in
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6519 ac_tool_warned=yes ;;
6524 STRIP="$ac_cv_prog_STRIP"
6527 test -z "$STRIP" && STRIP=:
6534 if test -n "$ac_tool_prefix"; then
6535 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6536 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6538 $as_echo_n "checking for $ac_word... " >&6; }
6539 if ${ac_cv_prog_RANLIB+:} false; then :
6540 $as_echo_n "(cached) " >&6
6542 if test -n "$RANLIB"; then
6543 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6549 test -z "$as_dir" && as_dir=.
6550 for ac_exec_ext in '' $ac_executable_extensions; do
6551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6552 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562 RANLIB=$ac_cv_prog_RANLIB
6563 if test -n "$RANLIB"; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6565 $as_echo "$RANLIB" >&6; }
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568 $as_echo "no" >&6; }
6573 if test -z "$ac_cv_prog_RANLIB"; then
6574 ac_ct_RANLIB=$RANLIB
6575 # Extract the first word of "ranlib", so it can be a program name with args.
6576 set dummy ranlib; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 $as_echo_n "checking for $ac_word... " >&6; }
6579 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6580 $as_echo_n "(cached) " >&6
6582 if test -n "$ac_ct_RANLIB"; then
6583 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589 test -z "$as_dir" && as_dir=.
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6592 ac_cv_prog_ac_ct_RANLIB="ranlib"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6602 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6603 if test -n "$ac_ct_RANLIB"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6605 $as_echo "$ac_ct_RANLIB" >&6; }
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608 $as_echo "no" >&6; }
6611 if test "x$ac_ct_RANLIB" = x; then
6614 case $cross_compiling:$ac_tool_warned in
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6618 ac_tool_warned=yes ;;
6620 RANLIB=$ac_ct_RANLIB
6623 RANLIB="$ac_cv_prog_RANLIB"
6626 test -z "$RANLIB" && RANLIB=:
6633 # Determine commands to create old-style static archives.
6634 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6635 old_postinstall_cmds='chmod 644 $oldlib'
6636 old_postuninstall_cmds=
6638 if test -n "$RANLIB"; then
6641 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6644 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6647 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6652 lock_old_archive_extraction=yes ;;
6654 lock_old_archive_extraction=no ;;
6695 # If no C compiler was specified, use CC.
6698 # If no C compiler flags were specified, use CFLAGS.
6699 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6701 # Allow CC to be a program name with arguments.
6705 # Check for command to grab the raw symbol name followed by C symbol from nm.
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6707 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6708 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6709 $as_echo_n "(cached) " >&6
6712 # These are sane defaults that work on at least a few old systems.
6713 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6715 # Character class describing NM global symbol codes.
6716 symcode='[BCDEGRST]'
6718 # Regexp to match symbols that can be accessed directly from C.
6719 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6721 # Define system-specific variables.
6726 cygwin* | mingw* | pw32* | cegcc*)
6727 symcode='[ABCDGISTW]'
6730 if test ia64 = "$host_cpu"; then
6731 symcode='[ABCDEGRST]'
6735 symcode='[BCDEGRST]'
6738 symcode='[BCDEGQRST]'
6749 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6757 # If we're using GNU nm, then use its standard symbol codes.
6758 case `$NM -V 2>&1` in
6759 *GNU* | *'with BFD'*)
6760 symcode='[ABCDGIRSTW]' ;;
6763 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6764 # Gets list of data symbols to import.
6765 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6766 # Adjust the below global symbol transforms to fixup imported variables.
6767 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6768 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6769 lt_c_name_lib_hook="\
6770 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6771 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6773 # Disable hooks by default.
6774 lt_cv_sys_global_symbol_to_import=
6780 # Transform an extracted symbol line into a proper C declaration.
6781 # Some systems (esp. on ia64) link data and code symbols differently,
6782 # so use this general approach.
6783 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6785 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6786 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6788 # Transform an extracted symbol line into symbol name and symbol address
6789 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6791 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6792 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6794 # Transform an extracted symbol line into symbol name with lib prefix and
6796 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6797 $lt_c_name_lib_hook\
6798 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6799 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6800 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6802 # Handle CRLF in mingw tool chain
6806 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6810 # Try without a prefix underscore, then with it.
6811 for ac_symprfx in "" "_"; do
6813 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6814 symxfrm="\\1 $ac_symprfx\\2 \\2"
6816 # Write the raw and C identifiers.
6817 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6818 # Fake it for dumpbin and say T for any non-static function,
6819 # D for any global variable and I for any imported variable.
6820 # Also find C++ and __fastcall symbols from MSVC++,
6821 # which start with @ or ?.
6822 lt_cv_sys_global_symbol_pipe="$AWK '"\
6823 " {last_section=section; section=\$ 3};"\
6824 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6825 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6826 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6827 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6828 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6829 " \$ 0!~/External *\|/{next};"\
6830 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6831 " {if(hide[section]) next};"\
6832 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6833 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6834 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6835 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6836 " ' prfx=^$ac_symprfx"
6838 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6840 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6842 # Check to see that the pipe works correctly.
6846 cat > conftest.$ac_ext <<_LT_EOF
6851 void nm_test_func(void);
6852 void nm_test_func(void){}
6856 int main(){nm_test_var='a';nm_test_func();return(0);}
6859 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6860 (eval $ac_compile) 2>&5
6862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6863 test $ac_status = 0; }; then
6864 # Now try to grab the symbols.
6866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6867 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6870 test $ac_status = 0; } && test -s "$nlist"; then
6871 # Try sorting and uniquifying the output.
6872 if sort "$nlist" | uniq > "$nlist"T; then
6873 mv -f "$nlist"T "$nlist"
6878 # Make sure that we snagged all the symbols we need.
6879 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6880 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6881 cat <<_LT_EOF > conftest.$ac_ext
6882 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6883 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6884 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6885 relocations are performed -- see ld's documentation on pseudo-relocs. */
6886 # define LT_DLSYM_CONST
6887 #elif defined __osf__
6888 /* This system does not cope well with relocations in const data. */
6889 # define LT_DLSYM_CONST
6891 # define LT_DLSYM_CONST const
6899 # Now generate the symbol file.
6900 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6902 cat <<_LT_EOF >> conftest.$ac_ext
6904 /* The mapping between symbol names and symbols. */
6905 LT_DLSYM_CONST struct {
6909 lt__PROGRAM__LTX_preloaded_symbols[] =
6911 { "@PROGRAM@", (void *) 0 },
6913 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6914 cat <<\_LT_EOF >> conftest.$ac_ext
6918 /* This works around a problem in FreeBSD linker */
6919 #ifdef FREEBSD_WORKAROUND
6920 static const void *lt_preloaded_setup() {
6921 return lt__PROGRAM__LTX_preloaded_symbols;
6929 # Now try linking the two files.
6930 mv conftest.$ac_objext conftstm.$ac_objext
6931 lt_globsym_save_LIBS=$LIBS
6932 lt_globsym_save_CFLAGS=$CFLAGS
6933 LIBS=conftstm.$ac_objext
6934 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6935 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6936 (eval $ac_link) 2>&5
6938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6939 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6942 LIBS=$lt_globsym_save_LIBS
6943 CFLAGS=$lt_globsym_save_CFLAGS
6945 echo "cannot find nm_test_func in $nlist" >&5
6948 echo "cannot find nm_test_var in $nlist" >&5
6951 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6954 echo "$progname: failed program was:" >&5
6955 cat conftest.$ac_ext >&5
6957 rm -rf conftest* conftst*
6959 # Do not use the global_symbol_pipe unless it works.
6960 if test yes = "$pipe_works"; then
6963 lt_cv_sys_global_symbol_pipe=
6969 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6970 lt_cv_sys_global_symbol_to_cdecl=
6972 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6974 $as_echo "failed" >&6; }
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6977 $as_echo "ok" >&6; }
6980 # Response file support.
6981 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6982 nm_file_list_spec='@'
6983 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6984 nm_file_list_spec='@'
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7024 $as_echo_n "checking for sysroot... " >&6; }
7026 # Check whether --with-sysroot was given.
7027 if test "${with_sysroot+set}" = set; then :
7028 withval=$with_sysroot;
7035 case $with_sysroot in #(
7037 if test yes = "$GCC"; then
7038 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7042 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7048 $as_echo "$with_sysroot" >&6; }
7049 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7054 $as_echo "${lt_sysroot:-no}" >&6; }
7060 # Check whether --enable-libtool-lock was given.
7061 if test "${enable_libtool_lock+set}" = set; then :
7062 enableval=$enable_libtool_lock;
7065 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7067 # Some flags need to be propagated to the compiler or linker for good
7071 # Find out what ABI is being produced by ac_compile, and set mode
7072 # options accordingly.
7073 echo 'int i;' > conftest.$ac_ext
7074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7075 (eval $ac_compile) 2>&5
7077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7078 test $ac_status = 0; }; then
7079 case `/usr/bin/file conftest.$ac_objext` in
7091 # Find out what ABI is being produced by ac_compile, and set linker
7092 # options accordingly.
7093 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7094 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7095 (eval $ac_compile) 2>&5
7097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7098 test $ac_status = 0; }; then
7099 if test yes = "$lt_cv_prog_gnu_ld"; then
7100 case `/usr/bin/file conftest.$ac_objext` in
7102 LD="${LD-ld} -melf32bsmip"
7105 LD="${LD-ld} -melf32bmipn32"
7108 LD="${LD-ld} -melf64bmip"
7112 case `/usr/bin/file conftest.$ac_objext` in
7129 # Find out what ABI is being produced by ac_compile, and set linker
7130 # options accordingly.
7131 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7133 (eval $ac_compile) 2>&5
7135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7136 test $ac_status = 0; }; then
7138 case `/usr/bin/file conftest.$ac_objext` in
7146 case `/usr/bin/file conftest.$ac_objext` in
7148 emul="${emul}btsmip"
7151 emul="${emul}ltsmip"
7154 case `/usr/bin/file conftest.$ac_objext` in
7159 LD="${LD-ld} -m $emul"
7164 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7165 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7166 # Find out what ABI is being produced by ac_compile, and set linker
7167 # options accordingly. Note that the listed cases only cover the
7168 # situations where additional linker options are needed (such as when
7169 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7170 # vice versa); the common cases where no linker options are needed do
7171 # not appear in the list.
7172 echo 'int i;' > conftest.$ac_ext
7173 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7174 (eval $ac_compile) 2>&5
7176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7177 test $ac_status = 0; }; then
7178 case `/usr/bin/file conftest.o` in
7181 x86_64-*kfreebsd*-gnu)
7182 LD="${LD-ld} -m elf_i386_fbsd"
7185 case `/usr/bin/file conftest.o` in
7187 LD="${LD-ld} -m elf32_x86_64"
7190 LD="${LD-ld} -m elf_i386"
7194 powerpc64le-*linux*)
7195 LD="${LD-ld} -m elf32lppclinux"
7198 LD="${LD-ld} -m elf32ppclinux"
7201 LD="${LD-ld} -m elf_s390"
7204 LD="${LD-ld} -m elf32_sparc"
7210 x86_64-*kfreebsd*-gnu)
7211 LD="${LD-ld} -m elf_x86_64_fbsd"
7214 LD="${LD-ld} -m elf_x86_64"
7217 LD="${LD-ld} -m elf64lppc"
7220 LD="${LD-ld} -m elf64ppc"
7222 s390*-*linux*|s390*-*tpf*)
7223 LD="${LD-ld} -m elf64_s390"
7226 LD="${LD-ld} -m elf64_sparc"
7236 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7238 CFLAGS="$CFLAGS -belf"
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7240 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7241 if ${lt_cv_cc_needs_belf+:} false; then :
7242 $as_echo_n "(cached) " >&6
7245 ac_cpp='$CPP $CPPFLAGS'
7246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7251 /* end confdefs.h. */
7261 if ac_fn_c_try_link "$LINENO"; then :
7262 lt_cv_cc_needs_belf=yes
7264 lt_cv_cc_needs_belf=no
7266 rm -f core conftest.err conftest.$ac_objext \
7267 conftest$ac_exeext conftest.$ac_ext
7269 ac_cpp='$CPP $CPPFLAGS'
7270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7276 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7277 if test yes != "$lt_cv_cc_needs_belf"; then
7278 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7283 # Find out what ABI is being produced by ac_compile, and set linker
7284 # options accordingly.
7285 echo 'int i;' > conftest.$ac_ext
7286 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7287 (eval $ac_compile) 2>&5
7289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7290 test $ac_status = 0; }; then
7291 case `/usr/bin/file conftest.o` in
7293 case $lt_cv_prog_gnu_ld in
7296 i?86-*-solaris*|x86_64-*-solaris*)
7297 LD="${LD-ld} -m elf_x86_64"
7300 LD="${LD-ld} -m elf64_sparc"
7303 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7304 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7309 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7321 need_locks=$enable_libtool_lock
7323 if test -n "$ac_tool_prefix"; then
7324 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7325 set dummy ${ac_tool_prefix}mt; ac_word=$2
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7327 $as_echo_n "checking for $ac_word... " >&6; }
7328 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7329 $as_echo_n "(cached) " >&6
7331 if test -n "$MANIFEST_TOOL"; then
7332 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7338 test -z "$as_dir" && as_dir=.
7339 for ac_exec_ext in '' $ac_executable_extensions; do
7340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7341 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7351 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7352 if test -n "$MANIFEST_TOOL"; then
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7354 $as_echo "$MANIFEST_TOOL" >&6; }
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7357 $as_echo "no" >&6; }
7362 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7363 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7364 # Extract the first word of "mt", so it can be a program name with args.
7365 set dummy mt; ac_word=$2
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 $as_echo_n "checking for $ac_word... " >&6; }
7368 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7369 $as_echo_n "(cached) " >&6
7371 if test -n "$ac_ct_MANIFEST_TOOL"; then
7372 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7378 test -z "$as_dir" && as_dir=.
7379 for ac_exec_ext in '' $ac_executable_extensions; do
7380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7381 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7391 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7392 if test -n "$ac_ct_MANIFEST_TOOL"; then
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7394 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7397 $as_echo "no" >&6; }
7400 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7403 case $cross_compiling:$ac_tool_warned in
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7407 ac_tool_warned=yes ;;
7409 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7412 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7415 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7417 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7418 if ${lt_cv_path_mainfest_tool+:} false; then :
7419 $as_echo_n "(cached) " >&6
7421 lt_cv_path_mainfest_tool=no
7422 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7423 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7424 cat conftest.err >&5
7425 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7426 lt_cv_path_mainfest_tool=yes
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7431 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7432 if test yes != "$lt_cv_path_mainfest_tool"; then
7442 rhapsody* | darwin*)
7443 if test -n "$ac_tool_prefix"; then
7444 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7445 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7447 $as_echo_n "checking for $ac_word... " >&6; }
7448 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7449 $as_echo_n "(cached) " >&6
7451 if test -n "$DSYMUTIL"; then
7452 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7458 test -z "$as_dir" && as_dir=.
7459 for ac_exec_ext in '' $ac_executable_extensions; do
7460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7461 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7472 if test -n "$DSYMUTIL"; then
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7474 $as_echo "$DSYMUTIL" >&6; }
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7477 $as_echo "no" >&6; }
7482 if test -z "$ac_cv_prog_DSYMUTIL"; then
7483 ac_ct_DSYMUTIL=$DSYMUTIL
7484 # Extract the first word of "dsymutil", so it can be a program name with args.
7485 set dummy dsymutil; ac_word=$2
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7487 $as_echo_n "checking for $ac_word... " >&6; }
7488 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7489 $as_echo_n "(cached) " >&6
7491 if test -n "$ac_ct_DSYMUTIL"; then
7492 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7498 test -z "$as_dir" && as_dir=.
7499 for ac_exec_ext in '' $ac_executable_extensions; do
7500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7501 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7511 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7512 if test -n "$ac_ct_DSYMUTIL"; then
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7514 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7517 $as_echo "no" >&6; }
7520 if test "x$ac_ct_DSYMUTIL" = x; then
7523 case $cross_compiling:$ac_tool_warned in
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7527 ac_tool_warned=yes ;;
7529 DSYMUTIL=$ac_ct_DSYMUTIL
7532 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7535 if test -n "$ac_tool_prefix"; then
7536 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7537 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7539 $as_echo_n "checking for $ac_word... " >&6; }
7540 if ${ac_cv_prog_NMEDIT+:} false; then :
7541 $as_echo_n "(cached) " >&6
7543 if test -n "$NMEDIT"; then
7544 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7550 test -z "$as_dir" && as_dir=.
7551 for ac_exec_ext in '' $ac_executable_extensions; do
7552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7553 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563 NMEDIT=$ac_cv_prog_NMEDIT
7564 if test -n "$NMEDIT"; then
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7566 $as_echo "$NMEDIT" >&6; }
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7569 $as_echo "no" >&6; }
7574 if test -z "$ac_cv_prog_NMEDIT"; then
7575 ac_ct_NMEDIT=$NMEDIT
7576 # Extract the first word of "nmedit", so it can be a program name with args.
7577 set dummy nmedit; ac_word=$2
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7579 $as_echo_n "checking for $ac_word... " >&6; }
7580 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7581 $as_echo_n "(cached) " >&6
7583 if test -n "$ac_ct_NMEDIT"; then
7584 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7590 test -z "$as_dir" && as_dir=.
7591 for ac_exec_ext in '' $ac_executable_extensions; do
7592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7593 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7604 if test -n "$ac_ct_NMEDIT"; then
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7606 $as_echo "$ac_ct_NMEDIT" >&6; }
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7609 $as_echo "no" >&6; }
7612 if test "x$ac_ct_NMEDIT" = x; then
7615 case $cross_compiling:$ac_tool_warned in
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7619 ac_tool_warned=yes ;;
7621 NMEDIT=$ac_ct_NMEDIT
7624 NMEDIT="$ac_cv_prog_NMEDIT"
7627 if test -n "$ac_tool_prefix"; then
7628 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7629 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7631 $as_echo_n "checking for $ac_word... " >&6; }
7632 if ${ac_cv_prog_LIPO+:} false; then :
7633 $as_echo_n "(cached) " >&6
7635 if test -n "$LIPO"; then
7636 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7642 test -z "$as_dir" && as_dir=.
7643 for ac_exec_ext in '' $ac_executable_extensions; do
7644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7645 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7655 LIPO=$ac_cv_prog_LIPO
7656 if test -n "$LIPO"; then
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7658 $as_echo "$LIPO" >&6; }
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7661 $as_echo "no" >&6; }
7666 if test -z "$ac_cv_prog_LIPO"; then
7668 # Extract the first word of "lipo", so it can be a program name with args.
7669 set dummy lipo; ac_word=$2
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7671 $as_echo_n "checking for $ac_word... " >&6; }
7672 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7673 $as_echo_n "(cached) " >&6
7675 if test -n "$ac_ct_LIPO"; then
7676 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7682 test -z "$as_dir" && as_dir=.
7683 for ac_exec_ext in '' $ac_executable_extensions; do
7684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7685 ac_cv_prog_ac_ct_LIPO="lipo"
7686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7695 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7696 if test -n "$ac_ct_LIPO"; then
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7698 $as_echo "$ac_ct_LIPO" >&6; }
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7701 $as_echo "no" >&6; }
7704 if test "x$ac_ct_LIPO" = x; then
7707 case $cross_compiling:$ac_tool_warned in
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7711 ac_tool_warned=yes ;;
7716 LIPO="$ac_cv_prog_LIPO"
7719 if test -n "$ac_tool_prefix"; then
7720 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7721 set dummy ${ac_tool_prefix}otool; ac_word=$2
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7723 $as_echo_n "checking for $ac_word... " >&6; }
7724 if ${ac_cv_prog_OTOOL+:} false; then :
7725 $as_echo_n "(cached) " >&6
7727 if test -n "$OTOOL"; then
7728 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7734 test -z "$as_dir" && as_dir=.
7735 for ac_exec_ext in '' $ac_executable_extensions; do
7736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7737 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7747 OTOOL=$ac_cv_prog_OTOOL
7748 if test -n "$OTOOL"; then
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7750 $as_echo "$OTOOL" >&6; }
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7753 $as_echo "no" >&6; }
7758 if test -z "$ac_cv_prog_OTOOL"; then
7760 # Extract the first word of "otool", so it can be a program name with args.
7761 set dummy otool; ac_word=$2
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7763 $as_echo_n "checking for $ac_word... " >&6; }
7764 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7765 $as_echo_n "(cached) " >&6
7767 if test -n "$ac_ct_OTOOL"; then
7768 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7774 test -z "$as_dir" && as_dir=.
7775 for ac_exec_ext in '' $ac_executable_extensions; do
7776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7777 ac_cv_prog_ac_ct_OTOOL="otool"
7778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7787 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7788 if test -n "$ac_ct_OTOOL"; then
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7790 $as_echo "$ac_ct_OTOOL" >&6; }
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7793 $as_echo "no" >&6; }
7796 if test "x$ac_ct_OTOOL" = x; then
7799 case $cross_compiling:$ac_tool_warned in
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7803 ac_tool_warned=yes ;;
7808 OTOOL="$ac_cv_prog_OTOOL"
7811 if test -n "$ac_tool_prefix"; then
7812 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7813 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7815 $as_echo_n "checking for $ac_word... " >&6; }
7816 if ${ac_cv_prog_OTOOL64+:} false; then :
7817 $as_echo_n "(cached) " >&6
7819 if test -n "$OTOOL64"; then
7820 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7826 test -z "$as_dir" && as_dir=.
7827 for ac_exec_ext in '' $ac_executable_extensions; do
7828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7829 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7839 OTOOL64=$ac_cv_prog_OTOOL64
7840 if test -n "$OTOOL64"; then
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7842 $as_echo "$OTOOL64" >&6; }
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7845 $as_echo "no" >&6; }
7850 if test -z "$ac_cv_prog_OTOOL64"; then
7851 ac_ct_OTOOL64=$OTOOL64
7852 # Extract the first word of "otool64", so it can be a program name with args.
7853 set dummy otool64; ac_word=$2
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7855 $as_echo_n "checking for $ac_word... " >&6; }
7856 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7857 $as_echo_n "(cached) " >&6
7859 if test -n "$ac_ct_OTOOL64"; then
7860 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7866 test -z "$as_dir" && as_dir=.
7867 for ac_exec_ext in '' $ac_executable_extensions; do
7868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7869 ac_cv_prog_ac_ct_OTOOL64="otool64"
7870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7879 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7880 if test -n "$ac_ct_OTOOL64"; then
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7882 $as_echo "$ac_ct_OTOOL64" >&6; }
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7885 $as_echo "no" >&6; }
7888 if test "x$ac_ct_OTOOL64" = x; then
7891 case $cross_compiling:$ac_tool_warned in
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7895 ac_tool_warned=yes ;;
7897 OTOOL64=$ac_ct_OTOOL64
7900 OTOOL64="$ac_cv_prog_OTOOL64"
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7930 $as_echo_n "checking for -single_module linker flag... " >&6; }
7931 if ${lt_cv_apple_cc_single_mod+:} false; then :
7932 $as_echo_n "(cached) " >&6
7934 lt_cv_apple_cc_single_mod=no
7935 if test -z "$LT_MULTI_MODULE"; then
7936 # By default we will add the -single_module flag. You can override
7937 # by either setting the environment variable LT_MULTI_MODULE
7938 # non-empty at configure time, or by adding -multi_module to the
7940 rm -rf libconftest.dylib*
7941 echo "int foo(void){return 1;}" > conftest.c
7942 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7943 -dynamiclib -Wl,-single_module conftest.c" >&5
7944 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7945 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7947 # If there is a non-empty error log, and "single_module"
7948 # appears in it, assume the flag caused a linker warning
7949 if test -s conftest.err && $GREP single_module conftest.err; then
7950 cat conftest.err >&5
7951 # Otherwise, if the output was created with a 0 exit code from
7952 # the compiler, it worked.
7953 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7954 lt_cv_apple_cc_single_mod=yes
7956 cat conftest.err >&5
7958 rm -rf libconftest.dylib*
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7963 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7966 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7967 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7968 $as_echo_n "(cached) " >&6
7970 lt_cv_ld_exported_symbols_list=no
7971 save_LDFLAGS=$LDFLAGS
7972 echo "_main" > conftest.sym
7973 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7975 /* end confdefs.h. */
7985 if ac_fn_c_try_link "$LINENO"; then :
7986 lt_cv_ld_exported_symbols_list=yes
7988 lt_cv_ld_exported_symbols_list=no
7990 rm -f core conftest.err conftest.$ac_objext \
7991 conftest$ac_exeext conftest.$ac_ext
7992 LDFLAGS=$save_LDFLAGS
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7996 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7999 $as_echo_n "checking for -force_load linker flag... " >&6; }
8000 if ${lt_cv_ld_force_load+:} false; then :
8001 $as_echo_n "(cached) " >&6
8003 lt_cv_ld_force_load=no
8004 cat > conftest.c << _LT_EOF
8005 int forced_loaded() { return 2;}
8007 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8008 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8009 echo "$AR cru libconftest.a conftest.o" >&5
8010 $AR cru libconftest.a conftest.o 2>&5
8011 echo "$RANLIB libconftest.a" >&5
8012 $RANLIB libconftest.a 2>&5
8013 cat > conftest.c << _LT_EOF
8014 int main() { return 0;}
8016 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8017 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8019 if test -s conftest.err && $GREP force_load conftest.err; then
8020 cat conftest.err >&5
8021 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8022 lt_cv_ld_force_load=yes
8024 cat conftest.err >&5
8026 rm -f conftest.err libconftest.a conftest conftest.c
8027 rm -rf conftest.dSYM
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8031 $as_echo "$lt_cv_ld_force_load" >&6; }
8033 rhapsody* | darwin1.[012])
8034 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8036 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8037 darwin*) # darwin 5.x on
8038 # if running on 10.5 or later, the deployment target defaults
8039 # to the OS version, if on x86, and 10.4, the deployment
8040 # target defaults to 10.4. Don't you love it?
8041 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8042 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8043 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8045 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8047 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8051 if test yes = "$lt_cv_apple_cc_single_mod"; then
8052 _lt_dar_single_mod='$single_module'
8054 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8055 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8057 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8059 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8060 _lt_dsymutil='~$DSYMUTIL $lib || :'
8068 ac_cpp='$CPP $CPPFLAGS'
8069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8073 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8074 # On Suns, sometimes $CPP names a directory.
8075 if test -n "$CPP" && test -d "$CPP"; then
8078 if test -z "$CPP"; then
8079 if ${ac_cv_prog_CPP+:} false; then :
8080 $as_echo_n "(cached) " >&6
8082 # Double quotes because CPP needs to be expanded
8083 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8086 for ac_c_preproc_warn_flag in '' yes
8088 # Use a header file that comes with gcc, so configuring glibc
8089 # with a fresh cross-compiler works.
8090 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8091 # <limits.h> exists even on freestanding compilers.
8092 # On the NeXT, cc -E runs the code through the compiler's parser,
8093 # not just through cpp. "Syntax error" is here to catch this case.
8094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8095 /* end confdefs.h. */
8097 # include <limits.h>
8099 # include <assert.h>
8103 if ac_fn_c_try_cpp "$LINENO"; then :
8106 # Broken: fails on valid input.
8109 rm -f conftest.err conftest.i conftest.$ac_ext
8111 # OK, works on sane cases. Now check whether nonexistent headers
8112 # can be detected and how.
8113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8114 /* end confdefs.h. */
8115 #include <ac_nonexistent.h>
8117 if ac_fn_c_try_cpp "$LINENO"; then :
8118 # Broken: success on invalid input.
8121 # Passes both tests.
8125 rm -f conftest.err conftest.i conftest.$ac_ext
8128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8129 rm -f conftest.i conftest.err conftest.$ac_ext
8130 if $ac_preproc_ok; then :
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8143 $as_echo "$CPP" >&6; }
8145 for ac_c_preproc_warn_flag in '' yes
8147 # Use a header file that comes with gcc, so configuring glibc
8148 # with a fresh cross-compiler works.
8149 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8150 # <limits.h> exists even on freestanding compilers.
8151 # On the NeXT, cc -E runs the code through the compiler's parser,
8152 # not just through cpp. "Syntax error" is here to catch this case.
8153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8154 /* end confdefs.h. */
8156 # include <limits.h>
8158 # include <assert.h>
8162 if ac_fn_c_try_cpp "$LINENO"; then :
8165 # Broken: fails on valid input.
8168 rm -f conftest.err conftest.i conftest.$ac_ext
8170 # OK, works on sane cases. Now check whether nonexistent headers
8171 # can be detected and how.
8172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8173 /* end confdefs.h. */
8174 #include <ac_nonexistent.h>
8176 if ac_fn_c_try_cpp "$LINENO"; then :
8177 # Broken: success on invalid input.
8180 # Passes both tests.
8184 rm -f conftest.err conftest.i conftest.$ac_ext
8187 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8188 rm -f conftest.i conftest.err conftest.$ac_ext
8189 if $ac_preproc_ok; then :
8192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8194 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8195 See \`config.log' for more details" "$LINENO" 5; }
8199 ac_cpp='$CPP $CPPFLAGS'
8200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8206 $as_echo_n "checking for ANSI C header files... " >&6; }
8207 if ${ac_cv_header_stdc+:} false; then :
8208 $as_echo_n "(cached) " >&6
8210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8211 /* end confdefs.h. */
8225 if ac_fn_c_try_compile "$LINENO"; then :
8226 ac_cv_header_stdc=yes
8228 ac_cv_header_stdc=no
8230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8232 if test $ac_cv_header_stdc = yes; then
8233 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8235 /* end confdefs.h. */
8239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8240 $EGREP "memchr" >/dev/null 2>&1; then :
8243 ac_cv_header_stdc=no
8249 if test $ac_cv_header_stdc = yes; then
8250 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8252 /* end confdefs.h. */
8256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8257 $EGREP "free" >/dev/null 2>&1; then :
8260 ac_cv_header_stdc=no
8266 if test $ac_cv_header_stdc = yes; then
8267 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8268 if test "$cross_compiling" = yes; then :
8271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8272 /* end confdefs.h. */
8275 #if ((' ' & 0x0FF) == 0x020)
8276 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8277 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8279 # define ISLOWER(c) \
8280 (('a' <= (c) && (c) <= 'i') \
8281 || ('j' <= (c) && (c) <= 'r') \
8282 || ('s' <= (c) && (c) <= 'z'))
8283 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8286 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8291 for (i = 0; i < 256; i++)
8292 if (XOR (islower (i), ISLOWER (i))
8293 || toupper (i) != TOUPPER (i))
8298 if ac_fn_c_try_run "$LINENO"; then :
8301 ac_cv_header_stdc=no
8303 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8304 conftest.$ac_objext conftest.beam conftest.$ac_ext
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8310 $as_echo "$ac_cv_header_stdc" >&6; }
8311 if test $ac_cv_header_stdc = yes; then
8313 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8317 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8318 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8319 inttypes.h stdint.h unistd.h
8321 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8322 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8324 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8325 cat >>confdefs.h <<_ACEOF
8326 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8334 for ac_header in dlfcn.h
8336 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8338 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8339 cat >>confdefs.h <<_ACEOF
8340 #define HAVE_DLFCN_H 1
8352 # Check whether --enable-static was given.
8353 if test "${enable_static+set}" = set; then :
8354 enableval=$enable_static; p=${PACKAGE-default}
8356 yes) enable_static=yes ;;
8357 no) enable_static=no ;;
8360 # Look at the argument we got. We use all the common list separators.
8361 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8362 for pkg in $enableval; do
8364 if test "X$pkg" = "X$p"; then
8390 # Check whether --enable-shared was given.
8391 if test "${enable_shared+set}" = set; then :
8392 enableval=$enable_shared; p=${PACKAGE-default}
8394 yes) enable_shared=yes ;;
8395 no) enable_shared=no ;;
8398 # Look at the argument we got. We use all the common list separators.
8399 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8400 for pkg in $enableval; do
8402 if test "X$pkg" = "X$p"; then
8423 # Check whether --with-pic was given.
8424 if test "${with_pic+set}" = set; then :
8425 withval=$with_pic; lt_p=${PACKAGE-default}
8427 yes|no) pic_mode=$withval ;;
8430 # Look at the argument we got. We use all the common list separators.
8431 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8432 for lt_pkg in $withval; do
8434 if test "X$lt_pkg" = "X$lt_p"; then
8452 # Check whether --enable-fast-install was given.
8453 if test "${enable_fast_install+set}" = set; then :
8454 enableval=$enable_fast_install; p=${PACKAGE-default}
8456 yes) enable_fast_install=yes ;;
8457 no) enable_fast_install=no ;;
8459 enable_fast_install=no
8460 # Look at the argument we got. We use all the common list separators.
8461 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8462 for pkg in $enableval; do
8464 if test "X$pkg" = "X$p"; then
8465 enable_fast_install=yes
8472 enable_fast_install=yes
8485 # This can be used to rebuild libtool when needed
8486 LIBTOOL_DEPS=$ltmain
8488 # Always use our own libtool.
8489 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8520 test -z "$LN_S" && LN_S="ln -s"
8535 if test -n "${ZSH_VERSION+set}"; then
8536 setopt NO_GLOB_SUBST
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8540 $as_echo_n "checking for objdir... " >&6; }
8541 if ${lt_cv_objdir+:} false; then :
8542 $as_echo_n "(cached) " >&6
8544 rm -f .libs 2>/dev/null
8545 mkdir .libs 2>/dev/null
8546 if test -d .libs; then
8549 # MS-DOS does not allow filenames that begin with a dot.
8552 rmdir .libs 2>/dev/null
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8555 $as_echo "$lt_cv_objdir" >&6; }
8556 objdir=$lt_cv_objdir
8562 cat >>confdefs.h <<_ACEOF
8563 #define LT_OBJDIR "$lt_cv_objdir/"
8571 # AIX sometimes has problems with the GCC collect2 program. For some
8572 # reason, if we set the COLLECT_NAMES environment variable, the problems
8573 # vanish in a puff of smoke.
8574 if test set != "${COLLECT_NAMES+set}"; then
8576 export COLLECT_NAMES
8583 can_build_shared=yes
8585 # All known linkers require a '.a' archive for static linking (except MSVC,
8586 # which needs '.lib').
8589 with_gnu_ld=$lt_cv_prog_gnu_ld
8594 # Set sane defaults for various variables
8595 test -z "$CC" && CC=cc
8596 test -z "$LTCC" && LTCC=$CC
8597 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8598 test -z "$LD" && LD=ld
8599 test -z "$ac_objext" && ac_objext=o
8601 for cc_temp in $compiler""; do
8603 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8604 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8609 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8612 # Only perform the check for file, if the check method requires it
8613 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8614 case $deplibs_check_method in
8616 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8618 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8619 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8620 $as_echo_n "(cached) " >&6
8624 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8627 lt_save_MAGIC_CMD=$MAGIC_CMD
8628 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8629 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8630 for ac_dir in $ac_dummy; do
8632 test -z "$ac_dir" && ac_dir=.
8633 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8634 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8635 if test -n "$file_magic_test_file"; then
8636 case $deplibs_check_method in
8638 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8639 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8640 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8641 $EGREP "$file_magic_regex" > /dev/null; then
8646 *** Warning: the command libtool uses to detect shared libraries,
8647 *** $file_magic_cmd, produces output that libtool cannot recognize.
8648 *** The result is that libtool may fail to recognize shared libraries
8649 *** as such. This will affect the creation of libtool libraries that
8650 *** depend on shared libraries, but programs linked with such libtool
8651 *** libraries will work regardless of this problem. Nevertheless, you
8652 *** may want to report the problem to your system manager and/or to
8653 *** bug-libtool@gnu.org
8663 MAGIC_CMD=$lt_save_MAGIC_CMD
8668 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8669 if test -n "$MAGIC_CMD"; then
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8671 $as_echo "$MAGIC_CMD" >&6; }
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8674 $as_echo "no" >&6; }
8681 if test -z "$lt_cv_path_MAGIC_CMD"; then
8682 if test -n "$ac_tool_prefix"; then
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8684 $as_echo_n "checking for file... " >&6; }
8685 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8686 $as_echo_n "(cached) " >&6
8690 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8693 lt_save_MAGIC_CMD=$MAGIC_CMD
8694 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8695 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8696 for ac_dir in $ac_dummy; do
8698 test -z "$ac_dir" && ac_dir=.
8699 if test -f "$ac_dir/file"; then
8700 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8701 if test -n "$file_magic_test_file"; then
8702 case $deplibs_check_method in
8704 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8705 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8706 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8707 $EGREP "$file_magic_regex" > /dev/null; then
8712 *** Warning: the command libtool uses to detect shared libraries,
8713 *** $file_magic_cmd, produces output that libtool cannot recognize.
8714 *** The result is that libtool may fail to recognize shared libraries
8715 *** as such. This will affect the creation of libtool libraries that
8716 *** depend on shared libraries, but programs linked with such libtool
8717 *** libraries will work regardless of this problem. Nevertheless, you
8718 *** may want to report the problem to your system manager and/or to
8719 *** bug-libtool@gnu.org
8729 MAGIC_CMD=$lt_save_MAGIC_CMD
8734 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8735 if test -n "$MAGIC_CMD"; then
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8737 $as_echo "$MAGIC_CMD" >&6; }
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8740 $as_echo "no" >&6; }
8753 # Use C for the default configuration in the libtool script
8757 ac_cpp='$CPP $CPPFLAGS'
8758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8763 # Source file extension for C test sources.
8766 # Object file extension for compiled C test sources.
8770 # Code to be used in simple compile tests
8771 lt_simple_compile_test_code="int some_variable = 0;"
8773 # Code to be used in simple link tests
8774 lt_simple_link_test_code='int main(){return(0);}'
8782 # If no C compiler was specified, use CC.
8785 # If no C compiler flags were specified, use CFLAGS.
8786 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8788 # Allow CC to be a program name with arguments.
8791 # Save the default compiler, since it gets overwritten when the other
8792 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8793 compiler_DEFAULT=$CC
8795 # save warnings/boilerplate of simple test code
8796 ac_outfile=conftest.$ac_objext
8797 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8798 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8799 _lt_compiler_boilerplate=`cat conftest.err`
8802 ac_outfile=conftest.$ac_objext
8803 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8804 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8805 _lt_linker_boilerplate=`cat conftest.err`
8810 ## There is no encapsulation within the following macros, do not change
8811 ## the running order or otherwise move them around unless you know exactly
8812 ## what you are doing...
8813 if test -n "$compiler"; then
8815 lt_prog_compiler_no_builtin_flag=
8817 if test yes = "$GCC"; then
8818 case $cc_basename in
8820 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8822 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8826 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8827 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8828 $as_echo_n "(cached) " >&6
8830 lt_cv_prog_compiler_rtti_exceptions=no
8831 ac_outfile=conftest.$ac_objext
8832 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8833 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8834 # Insert the option either (1) after the last *FLAGS variable, or
8835 # (2) before a word containing "conftest.", or (3) at the end.
8836 # Note that $ac_compile itself does not contain backslashes and begins
8837 # with a dollar sign (not a hyphen), so the echo should work correctly.
8838 # The option is referenced via a variable to avoid confusing sed.
8839 lt_compile=`echo "$ac_compile" | $SED \
8840 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8841 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8842 -e 's:$: $lt_compiler_flag:'`
8843 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8844 (eval "$lt_compile" 2>conftest.err)
8846 cat conftest.err >&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 if (exit $ac_status) && test -s "$ac_outfile"; then
8849 # The compiler can only warn and ignore the option if not recognized
8850 # So say no if there are warnings other than the usual output.
8851 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8852 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8853 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8854 lt_cv_prog_compiler_rtti_exceptions=yes
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8861 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8863 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8864 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8876 lt_prog_compiler_wl=
8877 lt_prog_compiler_pic=
8878 lt_prog_compiler_static=
8881 if test yes = "$GCC"; then
8882 lt_prog_compiler_wl='-Wl,'
8883 lt_prog_compiler_static='-static'
8887 # All AIX code is PIC.
8888 if test ia64 = "$host_cpu"; then
8889 # AIX 5 now supports IA64 processor
8890 lt_prog_compiler_static='-Bstatic'
8892 lt_prog_compiler_pic='-fPIC'
8898 # see comment about AmigaOS4 .so support
8899 lt_prog_compiler_pic='-fPIC'
8902 # FIXME: we need at least 68020 code to build shared libraries, but
8903 # adding the '-m68020' flag to GCC prevents building anything better,
8905 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8910 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8911 # PIC is the default for these OSes.
8914 mingw* | cygwin* | pw32* | os2* | cegcc*)
8915 # This hack is so that the source file can tell whether it is being
8916 # built for inclusion in a dll (and should export symbols for example).
8917 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8918 # (--disable-auto-import) libraries
8919 lt_prog_compiler_pic='-DDLL_EXPORT'
8922 darwin* | rhapsody*)
8923 # PIC is the default on this platform
8924 # Common symbols not allowed in MH_DYLIB files
8925 lt_prog_compiler_pic='-fno-common'
8929 # PIC is the default for Haiku.
8930 # The "-static" flag exists, but is broken.
8931 lt_prog_compiler_static=
8935 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8936 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8937 # sets the default TLS model and affects inlining.
8943 lt_prog_compiler_pic='-fPIC'
8949 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8950 # Instead, we relocate shared libraries at runtime.
8954 # Just because we use GCC doesn't mean we suddenly get shared libraries
8955 # on systems that don't support them.
8956 lt_prog_compiler_can_build_shared=no
8961 # QNX uses GNU C++, but need to define -shared option too, otherwise
8963 lt_prog_compiler_pic='-fPIC -shared'
8967 if test -d /usr/nec; then
8968 lt_prog_compiler_pic=-Kconform_pic
8973 lt_prog_compiler_pic='-fPIC'
8977 case $cc_basename in
8978 nvcc*) # Cuda Compiler Driver 2.2
8979 lt_prog_compiler_wl='-Xlinker '
8980 if test -n "$lt_prog_compiler_pic"; then
8981 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8986 # PORTME Check for flag to pass linker flags through the system compiler.
8989 lt_prog_compiler_wl='-Wl,'
8990 if test ia64 = "$host_cpu"; then
8991 # AIX 5 now supports IA64 processor
8992 lt_prog_compiler_static='-Bstatic'
8994 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8998 darwin* | rhapsody*)
8999 # PIC is the default on this platform
9000 # Common symbols not allowed in MH_DYLIB files
9001 lt_prog_compiler_pic='-fno-common'
9002 case $cc_basename in
9004 # NAG Fortran compiler
9005 lt_prog_compiler_wl='-Wl,-Wl,,'
9006 lt_prog_compiler_pic='-PIC'
9007 lt_prog_compiler_static='-Bstatic'
9012 mingw* | cygwin* | pw32* | os2* | cegcc*)
9013 # This hack is so that the source file can tell whether it is being
9014 # built for inclusion in a dll (and should export symbols for example).
9015 lt_prog_compiler_pic='-DDLL_EXPORT'
9018 hpux9* | hpux10* | hpux11*)
9019 lt_prog_compiler_wl='-Wl,'
9020 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9027 lt_prog_compiler_pic='+Z'
9030 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9031 lt_prog_compiler_static='$wl-a ${wl}archive'
9034 irix5* | irix6* | nonstopux*)
9035 lt_prog_compiler_wl='-Wl,'
9036 # PIC (with -KPIC) is the default.
9037 lt_prog_compiler_static='-non_shared'
9040 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9041 case $cc_basename in
9042 # old Intel for x86_64, which still supported -KPIC.
9044 lt_prog_compiler_wl='-Wl,'
9045 lt_prog_compiler_pic='-KPIC'
9046 lt_prog_compiler_static='-static'
9048 # icc used to be incompatible with GCC.
9049 # ICC 10 doesn't accept -KPIC any more.
9051 lt_prog_compiler_wl='-Wl,'
9052 lt_prog_compiler_pic='-fPIC'
9053 lt_prog_compiler_static='-static'
9055 # Lahey Fortran 8.1.
9057 lt_prog_compiler_wl='-Wl,'
9058 lt_prog_compiler_pic='--shared'
9059 lt_prog_compiler_static='--static'
9062 # NAG Fortran compiler
9063 lt_prog_compiler_wl='-Wl,-Wl,,'
9064 lt_prog_compiler_pic='-PIC'
9065 lt_prog_compiler_static='-Bstatic'
9068 # Fabrice Bellard et al's Tiny C Compiler
9069 lt_prog_compiler_wl='-Wl,'
9070 lt_prog_compiler_pic='-fPIC'
9071 lt_prog_compiler_static='-static'
9073 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9074 # Portland Group compilers (*not* the Pentium gcc compiler,
9075 # which looks to be a dead project)
9076 lt_prog_compiler_wl='-Wl,'
9077 lt_prog_compiler_pic='-fpic'
9078 lt_prog_compiler_static='-Bstatic'
9081 lt_prog_compiler_wl='-Wl,'
9082 # All Alpha code is PIC.
9083 lt_prog_compiler_static='-non_shared'
9085 xl* | bgxl* | bgf* | mpixl*)
9086 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9087 lt_prog_compiler_wl='-Wl,'
9088 lt_prog_compiler_pic='-qpic'
9089 lt_prog_compiler_static='-qstaticlink'
9092 case `$CC -V 2>&1 | sed 5q` in
9093 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9094 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9095 lt_prog_compiler_pic='-KPIC'
9096 lt_prog_compiler_static='-Bstatic'
9097 lt_prog_compiler_wl=''
9099 *Sun\ F* | *Sun*Fortran*)
9100 lt_prog_compiler_pic='-KPIC'
9101 lt_prog_compiler_static='-Bstatic'
9102 lt_prog_compiler_wl='-Qoption ld '
9106 lt_prog_compiler_pic='-KPIC'
9107 lt_prog_compiler_static='-Bstatic'
9108 lt_prog_compiler_wl='-Wl,'
9110 *Intel*\ [CF]*Compiler*)
9111 lt_prog_compiler_wl='-Wl,'
9112 lt_prog_compiler_pic='-fPIC'
9113 lt_prog_compiler_static='-static'
9116 lt_prog_compiler_wl='-Wl,'
9117 lt_prog_compiler_pic='-fpic'
9118 lt_prog_compiler_static='-Bstatic'
9126 lt_prog_compiler_pic='-KPIC'
9127 lt_prog_compiler_static='-Bstatic'
9131 # QNX uses GNU C++, but need to define -shared option too, otherwise
9133 lt_prog_compiler_pic='-fPIC -shared'
9136 osf3* | osf4* | osf5*)
9137 lt_prog_compiler_wl='-Wl,'
9138 # All OSF/1 code is PIC.
9139 lt_prog_compiler_static='-non_shared'
9143 lt_prog_compiler_static='-non_shared'
9147 lt_prog_compiler_pic='-KPIC'
9148 lt_prog_compiler_static='-Bstatic'
9149 case $cc_basename in
9150 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9151 lt_prog_compiler_wl='-Qoption ld ';;
9153 lt_prog_compiler_wl='-Wl,';;
9158 lt_prog_compiler_wl='-Qoption ld '
9159 lt_prog_compiler_pic='-PIC'
9160 lt_prog_compiler_static='-Bstatic'
9163 sysv4 | sysv4.2uw2* | sysv4.3*)
9164 lt_prog_compiler_wl='-Wl,'
9165 lt_prog_compiler_pic='-KPIC'
9166 lt_prog_compiler_static='-Bstatic'
9170 if test -d /usr/nec; then
9171 lt_prog_compiler_pic='-Kconform_pic'
9172 lt_prog_compiler_static='-Bstatic'
9176 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9177 lt_prog_compiler_wl='-Wl,'
9178 lt_prog_compiler_pic='-KPIC'
9179 lt_prog_compiler_static='-Bstatic'
9183 lt_prog_compiler_wl='-Wl,'
9184 lt_prog_compiler_can_build_shared=no
9188 lt_prog_compiler_pic='-pic'
9189 lt_prog_compiler_static='-Bstatic'
9193 lt_prog_compiler_can_build_shared=no
9199 # For platforms that do not support PIC, -DPIC is meaningless:
9201 lt_prog_compiler_pic=
9204 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9209 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9210 if ${lt_cv_prog_compiler_pic+:} false; then :
9211 $as_echo_n "(cached) " >&6
9213 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9216 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9217 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9220 # Check to make sure the PIC flag actually works.
9222 if test -n "$lt_prog_compiler_pic"; then
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9224 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9225 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9226 $as_echo_n "(cached) " >&6
9228 lt_cv_prog_compiler_pic_works=no
9229 ac_outfile=conftest.$ac_objext
9230 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9231 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9232 # Insert the option either (1) after the last *FLAGS variable, or
9233 # (2) before a word containing "conftest.", or (3) at the end.
9234 # Note that $ac_compile itself does not contain backslashes and begins
9235 # with a dollar sign (not a hyphen), so the echo should work correctly.
9236 # The option is referenced via a variable to avoid confusing sed.
9237 lt_compile=`echo "$ac_compile" | $SED \
9238 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9239 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9240 -e 's:$: $lt_compiler_flag:'`
9241 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9242 (eval "$lt_compile" 2>conftest.err)
9244 cat conftest.err >&5
9245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9246 if (exit $ac_status) && test -s "$ac_outfile"; then
9247 # The compiler can only warn and ignore the option if not recognized
9248 # So say no if there are warnings other than the usual output.
9249 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9250 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9251 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9252 lt_cv_prog_compiler_pic_works=yes
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9259 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9261 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9262 case $lt_prog_compiler_pic in
9264 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9267 lt_prog_compiler_pic=
9268 lt_prog_compiler_can_build_shared=no
9284 # Check to make sure the static flag actually works.
9286 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9288 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9289 if ${lt_cv_prog_compiler_static_works+:} false; then :
9290 $as_echo_n "(cached) " >&6
9292 lt_cv_prog_compiler_static_works=no
9293 save_LDFLAGS=$LDFLAGS
9294 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9295 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9296 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9297 # The linker can only warn and ignore the option if not recognized
9298 # So say no if there are warnings
9299 if test -s conftest.err; then
9300 # Append any errors to the config.log.
9301 cat conftest.err 1>&5
9302 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9303 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9304 if diff conftest.exp conftest.er2 >/dev/null; then
9305 lt_cv_prog_compiler_static_works=yes
9308 lt_cv_prog_compiler_static_works=yes
9312 LDFLAGS=$save_LDFLAGS
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9316 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9318 if test yes = "$lt_cv_prog_compiler_static_works"; then
9321 lt_prog_compiler_static=
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9331 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9332 if ${lt_cv_prog_compiler_c_o+:} false; then :
9333 $as_echo_n "(cached) " >&6
9335 lt_cv_prog_compiler_c_o=no
9336 $RM -r conftest 2>/dev/null
9340 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9342 lt_compiler_flag="-o out/conftest2.$ac_objext"
9343 # Insert the option either (1) after the last *FLAGS variable, or
9344 # (2) before a word containing "conftest.", or (3) at the end.
9345 # Note that $ac_compile itself does not contain backslashes and begins
9346 # with a dollar sign (not a hyphen), so the echo should work correctly.
9347 lt_compile=`echo "$ac_compile" | $SED \
9348 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9349 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9350 -e 's:$: $lt_compiler_flag:'`
9351 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9352 (eval "$lt_compile" 2>out/conftest.err)
9354 cat out/conftest.err >&5
9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9358 # The compiler can only warn and ignore the option if not recognized
9359 # So say no if there are warnings
9360 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9361 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9362 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9363 lt_cv_prog_compiler_c_o=yes
9368 # SGI C++ compiler will create directory out/ii_files/ for
9369 # template instantiation
9370 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9371 $RM out/* && rmdir out
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9378 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9386 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9387 if ${lt_cv_prog_compiler_c_o+:} false; then :
9388 $as_echo_n "(cached) " >&6
9390 lt_cv_prog_compiler_c_o=no
9391 $RM -r conftest 2>/dev/null
9395 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9397 lt_compiler_flag="-o out/conftest2.$ac_objext"
9398 # Insert the option either (1) after the last *FLAGS variable, or
9399 # (2) before a word containing "conftest.", or (3) at the end.
9400 # Note that $ac_compile itself does not contain backslashes and begins
9401 # with a dollar sign (not a hyphen), so the echo should work correctly.
9402 lt_compile=`echo "$ac_compile" | $SED \
9403 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9404 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9405 -e 's:$: $lt_compiler_flag:'`
9406 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9407 (eval "$lt_compile" 2>out/conftest.err)
9409 cat out/conftest.err >&5
9410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9411 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9413 # The compiler can only warn and ignore the option if not recognized
9414 # So say no if there are warnings
9415 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9416 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9417 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9418 lt_cv_prog_compiler_c_o=yes
9423 # SGI C++ compiler will create directory out/ii_files/ for
9424 # template instantiation
9425 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9426 $RM out/* && rmdir out
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9433 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9438 hard_links=nottested
9439 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9440 # do not overwrite the value of need_locks provided by the user
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9442 $as_echo_n "checking if we can lock with hard links... " >&6; }
9445 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9447 ln conftest.a conftest.b 2>&5 || hard_links=no
9448 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9450 $as_echo "$hard_links" >&6; }
9451 if test no = "$hard_links"; then
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9453 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9466 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9469 allow_undefined_flag=
9470 always_export_symbols=no
9472 archive_expsym_cmds=
9473 compiler_needs_object=no
9474 enable_shared_with_static_runtimes=no
9475 export_dynamic_flag_spec=
9476 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9477 hardcode_automatic=no
9479 hardcode_direct_absolute=no
9480 hardcode_libdir_flag_spec=
9481 hardcode_libdir_separator=
9483 hardcode_shlibpath_var=unsupported
9485 link_all_deplibs=unknown
9488 old_archive_from_new_cmds=
9489 old_archive_from_expsyms_cmds=
9490 thread_safe_flag_spec=
9491 whole_archive_flag_spec=
9492 # include_expsyms should be a list of space-separated symbols to be *always*
9493 # included in the symbol list
9495 # exclude_expsyms can be an extended regexp of symbols to exclude
9496 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9497 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9498 # as well as any symbol that contains 'd'.
9499 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9500 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9501 # platforms (ab)use it in PIC code, but their linkers get confused if
9502 # the symbol is explicitly referenced. Since portable code cannot
9503 # rely on this symbol name, it's probably fine to never include it in
9504 # preloaded symbol tables.
9505 # Exclude shared library initialization/finalization symbols.
9506 extract_expsyms_cmds=
9509 cygwin* | mingw* | pw32* | cegcc*)
9510 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9511 # When not using gcc, we currently assume that we are using
9512 # Microsoft Visual C++.
9513 if test yes != "$GCC"; then
9518 # we just hope/assume this is gcc and not c89 (= MSVC++)
9528 # On some targets, GNU ld is compatible enough with the native linker
9529 # that we're better off using the native interface for both.
9530 lt_use_gnu_ld_interface=no
9531 if test yes = "$with_gnu_ld"; then
9534 # The AIX port of GNU ld has always aspired to compatibility
9535 # with the native linker. However, as the warning in the GNU ld
9536 # block says, versions before 2.19.5* couldn't really create working
9537 # shared libraries, regardless of the interface used.
9538 case `$LD -v 2>&1` in
9539 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9540 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9541 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9543 lt_use_gnu_ld_interface=yes
9548 lt_use_gnu_ld_interface=yes
9553 if test yes = "$lt_use_gnu_ld_interface"; then
9554 # If archive_cmds runs LD, not CC, wlarc should be empty
9557 # Set some defaults for GNU ld with shared library support. These
9558 # are reset later if shared libraries are not supported. Putting them
9559 # here allows them to be overridden if necessary.
9560 runpath_var=LD_RUN_PATH
9561 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9562 export_dynamic_flag_spec='$wl--export-dynamic'
9563 # ancient GNU ld didn't support --whole-archive et. al.
9564 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9565 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9567 whole_archive_flag_spec=
9569 supports_anon_versioning=no
9570 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9571 *GNU\ gold*) supports_anon_versioning=yes ;;
9572 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9573 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9574 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9575 *\ 2.11.*) ;; # other 2.11 versions
9576 *) supports_anon_versioning=yes ;;
9579 # See if GNU ld supports shared libraries.
9582 # On AIX/PPC, the GNU linker is very broken
9583 if test ia64 != "$host_cpu"; then
9587 *** Warning: the GNU linker, at least up to release 2.19, is reported
9588 *** to be unable to reliably create shared libraries on AIX.
9589 *** Therefore, libtool is disabling shared libraries support. If you
9590 *** really care for shared libraries, you may want to install binutils
9591 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9592 *** You will then need to restart the configuration process.
9601 # see comment about AmigaOS4 .so support
9602 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9603 archive_expsym_cmds=''
9606 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)'
9607 hardcode_libdir_flag_spec='-L$libdir'
9608 hardcode_minus_L=yes
9614 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9615 allow_undefined_flag=unsupported
9616 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9617 # support --undefined. This deserves some investigation. FIXME
9618 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9624 cygwin* | mingw* | pw32* | cegcc*)
9625 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9626 # as there is no search path for DLLs.
9627 hardcode_libdir_flag_spec='-L$libdir'
9628 export_dynamic_flag_spec='$wl--export-all-symbols'
9629 allow_undefined_flag=unsupported
9630 always_export_symbols=no
9631 enable_shared_with_static_runtimes=yes
9632 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'
9633 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9635 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9636 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9637 # If the export-symbols file already is a .def file, use it as
9638 # is; otherwise, prepend EXPORTS...
9639 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9640 cp $export_symbols $output_objdir/$soname.def;
9642 echo EXPORTS > $output_objdir/$soname.def;
9643 cat $export_symbols >> $output_objdir/$soname.def;
9645 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9652 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9653 link_all_deplibs=yes
9658 hardcode_shlibpath_var=no
9659 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9660 export_dynamic_flag_spec='$wl-E'
9661 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9662 # Instead, shared libraries are loaded at an image base (0x10000000 by
9663 # default) and relocated if they conflict, which is a slow very memory
9664 # consuming and fragmenting process. To avoid this, we pick a random,
9665 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9666 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9667 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9668 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'
9671 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9673 if test linux-dietlibc = "$host_os"; then
9674 case $cc_basename in
9675 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9678 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9679 && test no = "$tmp_diet"
9681 tmp_addflag=' $pic_flag'
9682 tmp_sharedflag='-shared'
9683 case $cc_basename,$host_cpu in
9684 pgcc*) # Portland Group C compiler
9685 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'
9686 tmp_addflag=' $pic_flag'
9688 pgf77* | pgf90* | pgf95* | pgfortran*)
9689 # Portland Group f77 and f90 compilers
9690 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'
9691 tmp_addflag=' $pic_flag -Mnomain' ;;
9692 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9693 tmp_addflag=' -i_dynamic' ;;
9694 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9695 tmp_addflag=' -i_dynamic -nofor_main' ;;
9696 ifc* | ifort*) # Intel Fortran compiler
9697 tmp_addflag=' -nofor_main' ;;
9698 lf95*) # Lahey Fortran 8.1
9699 whole_archive_flag_spec=
9700 tmp_sharedflag='--shared' ;;
9701 nagfor*) # NAGFOR 5.3
9702 tmp_sharedflag='-Wl,-shared' ;;
9703 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9704 tmp_sharedflag='-qmkshrobj'
9706 nvcc*) # Cuda Compiler Driver 2.2
9707 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'
9708 compiler_needs_object=yes
9711 case `$CC -V 2>&1 | sed 5q` in
9712 *Sun\ C*) # Sun C 5.9
9713 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'
9714 compiler_needs_object=yes
9715 tmp_sharedflag='-G' ;;
9716 *Sun\ F*) # Sun Fortran 8.3
9717 tmp_sharedflag='-G' ;;
9719 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9721 if test yes = "$supports_anon_versioning"; then
9722 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9723 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9724 echo "local: *; };" >> $output_objdir/$libname.ver~
9725 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9728 case $cc_basename in
9729 xlf* | bgf* | bgxlf* | mpixlf*)
9730 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9731 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9732 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9733 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9734 if test yes = "$supports_anon_versioning"; then
9735 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9736 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9737 echo "local: *; };" >> $output_objdir/$libname.ver~
9738 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9748 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9749 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9752 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9753 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9758 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9762 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9763 *** create shared libraries on Solaris systems. Therefore, libtool
9764 *** is disabling shared libraries support. We urge you to upgrade GNU
9765 *** binutils to release 2.9.1 or newer. Another option is to modify
9766 *** your PATH or compiler configuration so that the native linker is
9767 *** used, and then restart.
9770 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9771 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9772 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9778 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9779 case `$LD -v 2>&1` in
9780 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9784 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9785 *** reliably create shared libraries on SCO systems. Therefore, libtool
9786 *** is disabling shared libraries support. We urge you to upgrade GNU
9787 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9788 *** your PATH or compiler configuration so that the native linker is
9789 *** used, and then restart.
9794 # For security reasons, it is highly recommended that you always
9795 # use absolute paths for naming shared libraries, and exclude the
9796 # DT_RUNPATH tag from executables and libraries. But doing so
9797 # requires that you compile everything twice, which is a pain.
9798 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9799 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9800 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9801 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9810 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9813 hardcode_shlibpath_var=no
9817 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9818 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9819 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9826 if test no = "$ld_shlibs"; then
9828 hardcode_libdir_flag_spec=
9829 export_dynamic_flag_spec=
9830 whole_archive_flag_spec=
9833 # PORTME fill in a description of your system's linker (not GNU ld)
9836 allow_undefined_flag=unsupported
9837 always_export_symbols=yes
9838 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'
9839 # Note: this linker hardcodes the directories in LIBPATH if there
9840 # are no directories specified by -L.
9841 hardcode_minus_L=yes
9842 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9843 # Neither direct hardcoding nor static linking is supported with a
9845 hardcode_direct=unsupported
9850 if test ia64 = "$host_cpu"; then
9851 # On IA64, the linker does run time linking by default, so we don't
9852 # have to do anything special.
9853 aix_use_runtimelinking=no
9854 exp_sym_flag='-Bexport'
9857 # If we're using GNU nm, then we don't want the "-C" option.
9858 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9859 # Also, AIX nm treats weak defined symbols like other global
9860 # defined symbols, whereas GNU nm marks them as "W".
9861 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9862 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'
9864 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'
9866 aix_use_runtimelinking=no
9868 # Test if we are trying to use run time linking or normal
9869 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9870 # need to do runtime linking.
9871 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9872 for ld_flag in $LDFLAGS; do
9873 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9874 aix_use_runtimelinking=yes
9881 exp_sym_flag='-bexport'
9882 no_entry_flag='-bnoentry'
9885 # When large executables or shared objects are built, AIX ld can
9886 # have problems creating the table of contents. If linking a library
9887 # or program results in "error TOC overflow" add -mminimal-toc to
9888 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9889 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9893 hardcode_direct_absolute=yes
9894 hardcode_libdir_separator=':'
9895 link_all_deplibs=yes
9896 file_list_spec='$wl-f,'
9898 if test yes = "$GCC"; then
9899 case $host_os in aix4.[012]|aix4.[012].*)
9900 # We only want to do this on AIX 4.2 and lower, the check
9901 # below for broken collect2 doesn't work under 4.3+
9902 collect2name=`$CC -print-prog-name=collect2`
9903 if test -f "$collect2name" &&
9904 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9906 # We have reworked collect2
9909 # We have old collect2
9910 hardcode_direct=unsupported
9911 # It fails to find uninstalled libraries when the uninstalled
9912 # path is not listed in the libpath. Setting hardcode_minus_L
9913 # to unsupported forces relinking
9914 hardcode_minus_L=yes
9915 hardcode_libdir_flag_spec='-L$libdir'
9916 hardcode_libdir_separator=
9920 shared_flag='-shared'
9921 if test yes = "$aix_use_runtimelinking"; then
9922 shared_flag="$shared_flag "'$wl-G'
9926 if test ia64 = "$host_cpu"; then
9927 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9928 # chokes on -Wl,-G. The following line is correct:
9931 if test yes = "$aix_use_runtimelinking"; then
9934 shared_flag='$wl-bM:SRE'
9939 export_dynamic_flag_spec='$wl-bexpall'
9940 # It seems that -bexpall does not export symbols beginning with
9941 # underscore (_), so it is better to generate a list of symbols to export.
9942 always_export_symbols=yes
9943 if test yes = "$aix_use_runtimelinking"; then
9944 # Warning - without using the other runtime loading flags (-brtl),
9945 # -berok will link without error, but may produce a broken library.
9946 allow_undefined_flag='-berok'
9947 # Determine the default libpath from the value encoded in an
9949 if test set = "${lt_cv_aix_libpath+set}"; then
9950 aix_libpath=$lt_cv_aix_libpath
9952 if ${lt_cv_aix_libpath_+:} false; then :
9953 $as_echo_n "(cached) " >&6
9955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9956 /* end confdefs.h. */
9966 if ac_fn_c_try_link "$LINENO"; then :
9968 lt_aix_libpath_sed='
9969 /Import File Strings/,/^$/ {
9971 s/^0 *\([^ ]*\) *$/\1/
9975 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9976 # Check for a 64-bit object if we didn't find anything.
9977 if test -z "$lt_cv_aix_libpath_"; then
9978 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9981 rm -f core conftest.err conftest.$ac_objext \
9982 conftest$ac_exeext conftest.$ac_ext
9983 if test -z "$lt_cv_aix_libpath_"; then
9984 lt_cv_aix_libpath_=/usr/lib:/lib
9989 aix_libpath=$lt_cv_aix_libpath_
9992 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9993 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9995 if test ia64 = "$host_cpu"; then
9996 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9997 allow_undefined_flag="-z nodefs"
9998 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"
10000 # Determine the default libpath from the value encoded in an
10001 # empty executable.
10002 if test set = "${lt_cv_aix_libpath+set}"; then
10003 aix_libpath=$lt_cv_aix_libpath
10005 if ${lt_cv_aix_libpath_+:} false; then :
10006 $as_echo_n "(cached) " >&6
10008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10019 if ac_fn_c_try_link "$LINENO"; then :
10021 lt_aix_libpath_sed='
10022 /Import File Strings/,/^$/ {
10024 s/^0 *\([^ ]*\) *$/\1/
10028 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10029 # Check for a 64-bit object if we didn't find anything.
10030 if test -z "$lt_cv_aix_libpath_"; then
10031 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10034 rm -f core conftest.err conftest.$ac_objext \
10035 conftest$ac_exeext conftest.$ac_ext
10036 if test -z "$lt_cv_aix_libpath_"; then
10037 lt_cv_aix_libpath_=/usr/lib:/lib
10042 aix_libpath=$lt_cv_aix_libpath_
10045 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10046 # Warning - without using the other run time loading flags,
10047 # -berok will link without error, but may produce a broken library.
10048 no_undefined_flag=' $wl-bernotok'
10049 allow_undefined_flag=' $wl-berok'
10050 if test yes = "$with_gnu_ld"; then
10051 # We only use this code for GNU lds that support --whole-archive.
10052 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10054 # Exported symbols can be pulled into shared objects from archives
10055 whole_archive_flag_spec='$convenience'
10057 archive_cmds_need_lc=yes
10058 # This is similar to how AIX traditionally builds its shared libraries.
10059 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'
10067 # see comment about AmigaOS4 .so support
10068 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10069 archive_expsym_cmds=''
10072 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)'
10073 hardcode_libdir_flag_spec='-L$libdir'
10074 hardcode_minus_L=yes
10080 export_dynamic_flag_spec=-rdynamic
10083 cygwin* | mingw* | pw32* | cegcc*)
10084 # When not using gcc, we currently assume that we are using
10085 # Microsoft Visual C++.
10086 # hardcode_libdir_flag_spec is actually meaningless, as there is
10087 # no search path for DLLs.
10088 case $cc_basename in
10091 hardcode_libdir_flag_spec=' '
10092 allow_undefined_flag=unsupported
10093 always_export_symbols=yes
10095 # Tell ltmain to make .lib files, not .a files.
10097 # Tell ltmain to make .dll files, not .so files.
10099 # FIXME: Setting linknames here is a bad hack.
10100 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10101 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10102 cp "$export_symbols" "$output_objdir/$soname.def";
10103 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10105 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10107 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10109 # The linker will not automatically build a static lib if we build a DLL.
10110 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10111 enable_shared_with_static_runtimes=yes
10112 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10113 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10115 old_postinstall_cmds='chmod 644 $oldlib'
10116 postlink_cmds='lt_outputfile="@OUTPUT@"~
10117 lt_tool_outputfile="@TOOL_OUTPUT@"~
10118 case $lt_outputfile in
10121 lt_outputfile=$lt_outputfile.exe
10122 lt_tool_outputfile=$lt_tool_outputfile.exe
10125 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10126 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10127 $RM "$lt_outputfile.manifest";
10131 # Assume MSVC wrapper
10132 hardcode_libdir_flag_spec=' '
10133 allow_undefined_flag=unsupported
10134 # Tell ltmain to make .lib files, not .a files.
10136 # Tell ltmain to make .dll files, not .so files.
10138 # FIXME: Setting linknames here is a bad hack.
10139 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10140 # The linker will automatically build a .lib file if we build a DLL.
10141 old_archive_from_new_cmds='true'
10142 # FIXME: Should let the user specify the lib program.
10143 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10144 enable_shared_with_static_runtimes=yes
10149 darwin* | rhapsody*)
10152 archive_cmds_need_lc=no
10154 hardcode_automatic=yes
10155 hardcode_shlibpath_var=unsupported
10156 if test yes = "$lt_cv_ld_force_load"; then
10157 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\"`'
10160 whole_archive_flag_spec=''
10162 link_all_deplibs=yes
10163 allow_undefined_flag=$_lt_dar_allow_undefined
10164 case $cc_basename in
10165 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10166 *) _lt_dar_can_shared=$GCC ;;
10168 if test yes = "$_lt_dar_can_shared"; then
10169 output_verbose_link_cmd=func_echo_all
10170 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10171 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10172 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"
10173 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"
10182 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10183 hardcode_libdir_flag_spec='-L$libdir'
10184 hardcode_shlibpath_var=no
10187 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10188 # support. Future versions do this automatically, but an explicit c++rt0.o
10189 # does not break anything, and helps significantly (at the cost of a little
10192 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10193 hardcode_libdir_flag_spec='-R$libdir'
10194 hardcode_direct=yes
10195 hardcode_shlibpath_var=no
10198 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10200 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10201 hardcode_direct=yes
10202 hardcode_minus_L=yes
10203 hardcode_shlibpath_var=no
10206 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10207 freebsd* | dragonfly*)
10208 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10209 hardcode_libdir_flag_spec='-R$libdir'
10210 hardcode_direct=yes
10211 hardcode_shlibpath_var=no
10215 if test yes = "$GCC"; then
10216 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10218 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10220 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10221 hardcode_libdir_separator=:
10222 hardcode_direct=yes
10224 # hardcode_minus_L: Not really in the search PATH,
10225 # but as the default location of the library.
10226 hardcode_minus_L=yes
10227 export_dynamic_flag_spec='$wl-E'
10231 if test yes,no = "$GCC,$with_gnu_ld"; then
10232 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10234 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10236 if test no = "$with_gnu_ld"; then
10237 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10238 hardcode_libdir_separator=:
10239 hardcode_direct=yes
10240 hardcode_direct_absolute=yes
10241 export_dynamic_flag_spec='$wl-E'
10242 # hardcode_minus_L: Not really in the search PATH,
10243 # but as the default location of the library.
10244 hardcode_minus_L=yes
10249 if test yes,no = "$GCC,$with_gnu_ld"; then
10252 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10255 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10258 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10264 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10267 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10271 # Older versions of the 11.00 compiler do not understand -b yet
10272 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10274 $as_echo_n "checking if $CC understands -b... " >&6; }
10275 if ${lt_cv_prog_compiler__b+:} false; then :
10276 $as_echo_n "(cached) " >&6
10278 lt_cv_prog_compiler__b=no
10279 save_LDFLAGS=$LDFLAGS
10280 LDFLAGS="$LDFLAGS -b"
10281 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10282 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10283 # The linker can only warn and ignore the option if not recognized
10284 # So say no if there are warnings
10285 if test -s conftest.err; then
10286 # Append any errors to the config.log.
10287 cat conftest.err 1>&5
10288 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10289 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10290 if diff conftest.exp conftest.er2 >/dev/null; then
10291 lt_cv_prog_compiler__b=yes
10294 lt_cv_prog_compiler__b=yes
10298 LDFLAGS=$save_LDFLAGS
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10302 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10304 if test yes = "$lt_cv_prog_compiler__b"; then
10305 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10307 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10313 if test no = "$with_gnu_ld"; then
10314 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10315 hardcode_libdir_separator=:
10320 hardcode_shlibpath_var=no
10323 hardcode_direct=yes
10324 hardcode_direct_absolute=yes
10325 export_dynamic_flag_spec='$wl-E'
10327 # hardcode_minus_L: Not really in the search PATH,
10328 # but as the default location of the library.
10329 hardcode_minus_L=yes
10335 irix5* | irix6* | nonstopux*)
10336 if test yes = "$GCC"; then
10337 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'
10338 # Try to use the -exported_symbol ld option, if it does not
10339 # work, assume that -exports_file does not work either and
10340 # implicitly export all symbols.
10341 # This should be the same for all languages, so no per-tag cache variable.
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10343 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10344 if ${lt_cv_irix_exported_symbol+:} false; then :
10345 $as_echo_n "(cached) " >&6
10347 save_LDFLAGS=$LDFLAGS
10348 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10350 /* end confdefs.h. */
10351 int foo (void) { return 0; }
10353 if ac_fn_c_try_link "$LINENO"; then :
10354 lt_cv_irix_exported_symbol=yes
10356 lt_cv_irix_exported_symbol=no
10358 rm -f core conftest.err conftest.$ac_objext \
10359 conftest$ac_exeext conftest.$ac_ext
10360 LDFLAGS=$save_LDFLAGS
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10363 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10364 if test yes = "$lt_cv_irix_exported_symbol"; then
10365 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'
10368 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'
10369 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'
10371 archive_cmds_need_lc='no'
10372 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10373 hardcode_libdir_separator=:
10375 link_all_deplibs=yes
10379 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10380 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10382 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10384 hardcode_libdir_flag_spec='-R$libdir'
10385 hardcode_direct=yes
10386 hardcode_shlibpath_var=no
10390 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10391 hardcode_direct=yes
10392 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10393 hardcode_libdir_separator=:
10394 hardcode_shlibpath_var=no
10400 openbsd* | bitrig*)
10401 if test -f /usr/libexec/ld.so; then
10402 hardcode_direct=yes
10403 hardcode_shlibpath_var=no
10404 hardcode_direct_absolute=yes
10405 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10406 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10407 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10408 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10409 export_dynamic_flag_spec='$wl-E'
10411 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10412 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10420 hardcode_libdir_flag_spec='-L$libdir'
10421 hardcode_minus_L=yes
10422 allow_undefined_flag=unsupported
10423 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'
10424 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10428 if test yes = "$GCC"; then
10429 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10430 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'
10432 allow_undefined_flag=' -expect_unresolved \*'
10433 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'
10435 archive_cmds_need_lc='no'
10436 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10437 hardcode_libdir_separator=:
10440 osf4* | osf5*) # as osf3* with the addition of -msym flag
10441 if test yes = "$GCC"; then
10442 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10443 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'
10444 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10446 allow_undefined_flag=' -expect_unresolved \*'
10447 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'
10448 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~
10449 $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'
10451 # Both c and cxx compiler support -rpath directly
10452 hardcode_libdir_flag_spec='-rpath $libdir'
10454 archive_cmds_need_lc='no'
10455 hardcode_libdir_separator=:
10459 no_undefined_flag=' -z defs'
10460 if test yes = "$GCC"; then
10462 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10463 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10464 $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'
10466 case `$CC -V 2>&1` in
10469 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10470 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10471 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10475 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10476 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10477 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10481 hardcode_libdir_flag_spec='-R$libdir'
10482 hardcode_shlibpath_var=no
10484 solaris2.[0-5] | solaris2.[0-5].*) ;;
10486 # The compiler driver will combine and reorder linker options,
10487 # but understands '-z linker_flag'. GCC discards it without '$wl',
10488 # but is careful enough not to reorder.
10489 # Supported since Solaris 2.6 (maybe 2.5.1?)
10490 if test yes = "$GCC"; then
10491 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10493 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10497 link_all_deplibs=yes
10501 if test sequent = "$host_vendor"; then
10502 # Use $CC to link under sequent, because it throws in some extra .o
10503 # files that make .init and .fini sections work.
10504 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10506 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10508 hardcode_libdir_flag_spec='-L$libdir'
10509 hardcode_direct=yes
10510 hardcode_minus_L=yes
10511 hardcode_shlibpath_var=no
10515 case $host_vendor in
10517 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10518 hardcode_direct=yes # is this really true???
10521 ## LD is ld it makes a PLAMLIB
10522 ## CC just makes a GrossModule.
10523 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10524 reload_cmds='$CC -r -o $output$reload_objs'
10528 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10529 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10532 runpath_var='LD_RUN_PATH'
10533 hardcode_shlibpath_var=no
10537 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10538 hardcode_shlibpath_var=no
10539 export_dynamic_flag_spec='-Bexport'
10543 if test -d /usr/nec; then
10544 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10545 hardcode_shlibpath_var=no
10546 runpath_var=LD_RUN_PATH
10547 hardcode_runpath_var=yes
10552 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10553 no_undefined_flag='$wl-z,text'
10554 archive_cmds_need_lc=no
10555 hardcode_shlibpath_var=no
10556 runpath_var='LD_RUN_PATH'
10558 if test yes = "$GCC"; then
10559 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10560 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10562 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10563 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10567 sysv5* | sco3.2v5* | sco5v6*)
10568 # Note: We CANNOT use -z defs as we might desire, because we do not
10569 # link with -lc, and that would cause any symbols used from libc to
10570 # always be unresolved, which means just about no library would
10571 # ever link correctly. If we're not using GNU ld we use -z text
10572 # though, which does catch some bad symbols but isn't as heavy-handed
10574 no_undefined_flag='$wl-z,text'
10575 allow_undefined_flag='$wl-z,nodefs'
10576 archive_cmds_need_lc=no
10577 hardcode_shlibpath_var=no
10578 hardcode_libdir_flag_spec='$wl-R,$libdir'
10579 hardcode_libdir_separator=':'
10580 link_all_deplibs=yes
10581 export_dynamic_flag_spec='$wl-Bexport'
10582 runpath_var='LD_RUN_PATH'
10584 if test yes = "$GCC"; then
10585 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10586 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10588 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10589 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10594 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10595 hardcode_libdir_flag_spec='-L$libdir'
10596 hardcode_shlibpath_var=no
10604 if test sni = "$host_vendor"; then
10606 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10607 export_dynamic_flag_spec='$wl-Blargedynsym'
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10614 $as_echo "$ld_shlibs" >&6; }
10615 test no = "$ld_shlibs" && can_build_shared=no
10617 with_gnu_ld=$with_gnu_ld
10634 # Do we need to explicitly link libc?
10636 case "x$archive_cmds_need_lc" in
10638 # Assume -lc should be added
10639 archive_cmds_need_lc=yes
10641 if test yes,yes = "$GCC,$enable_shared"; then
10642 case $archive_cmds in
10644 # FIXME: we may have to deal with multi-command sequences.
10647 # Test whether the compiler implicitly links with -lc since on some
10648 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10649 # to ld, don't add -lc before -lgcc.
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10651 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10652 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10653 $as_echo_n "(cached) " >&6
10656 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10658 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10659 (eval $ac_compile) 2>&5
10661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10662 test $ac_status = 0; } 2>conftest.err; then
10665 libobjs=conftest.$ac_objext
10667 wl=$lt_prog_compiler_wl
10668 pic_flag=$lt_prog_compiler_pic
10674 lt_save_allow_undefined_flag=$allow_undefined_flag
10675 allow_undefined_flag=
10676 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10677 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10680 test $ac_status = 0; }
10682 lt_cv_archive_cmds_need_lc=no
10684 lt_cv_archive_cmds_need_lc=yes
10686 allow_undefined_flag=$lt_save_allow_undefined_flag
10688 cat conftest.err 1>&5
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10694 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10695 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10854 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10856 if test yes = "$GCC"; then
10858 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10859 *) lt_awk_arg='/^libraries:/' ;;
10862 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10863 *) lt_sed_strip_eq='s|=/|/|g' ;;
10865 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10866 case $lt_search_path_spec in
10868 # if the path contains ";" then we assume it to be the separator
10869 # otherwise default to the standard path separator (i.e. ":") - it is
10870 # assumed that no part of a normal pathname contains ";" but that should
10871 # okay in the real world where ";" in dirpaths is itself problematic.
10872 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10875 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10878 # Ok, now we have the path, separated by spaces, we can step through it
10879 # and add multilib dir if necessary...
10880 lt_tmp_lt_search_path_spec=
10881 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10882 # ...but if some path component already ends with the multilib dir we assume
10883 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10884 case "$lt_multi_os_dir; $lt_search_path_spec " in
10885 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10889 for lt_sys_path in $lt_search_path_spec; do
10890 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10891 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10892 elif test -n "$lt_multi_os_dir"; then
10893 test -d "$lt_sys_path" && \
10894 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10897 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10898 BEGIN {RS = " "; FS = "/|\n";} {
10901 for (lt_i = NF; lt_i > 0; lt_i--) {
10902 if ($lt_i != "" && $lt_i != ".") {
10903 if ($lt_i == "..") {
10906 if (lt_count == 0) {
10907 lt_foo = "/" $lt_i lt_foo;
10914 if (lt_foo != "") { lt_freq[lt_foo]++; }
10915 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10917 # AWK program above erroneously prepends '/' to C:/dos/paths
10920 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10921 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10923 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10925 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10927 library_names_spec=
10928 libname_spec='lib$name'
10932 postuninstall_cmds=
10936 shlibpath_overrides_runpath=unknown
10938 dynamic_linker="$host_os ld.so"
10939 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10940 need_lib_prefix=unknown
10941 hardcode_into_libs=no
10943 # when you set need_version to no, make sure it does not cause -set_version
10944 # flags to be left without arguments
10945 need_version=unknown
10949 version_type=linux # correct to gnu/linux during the next big refactor
10950 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10951 shlibpath_var=LIBPATH
10953 # AIX 3 has no versioning support, so we append a major version to the name.
10954 soname_spec='$libname$release$shared_ext$major'
10958 version_type=linux # correct to gnu/linux during the next big refactor
10961 hardcode_into_libs=yes
10962 if test ia64 = "$host_cpu"; then
10963 # AIX 5 supports IA64
10964 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10965 shlibpath_var=LD_LIBRARY_PATH
10967 # With GCC up to 2.95.x, collect2 would create an import file
10968 # for dependence libraries. The import file would start with
10969 # the line '#! .'. This would cause the generated library to
10970 # depend on '.', always an invalid library. This was fixed in
10971 # development snapshots of GCC prior to 3.0.
10973 aix4 | aix4.[01] | aix4.[01].*)
10974 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10976 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10979 can_build_shared=no
10983 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10984 # soname into executable. Probably we can add versioning support to
10985 # collect2, so additional links can be useful in future.
10986 if test yes = "$aix_use_runtimelinking"; then
10987 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10988 # instead of lib<name>.a to let people know that these are not
10989 # typical AIX shared libraries.
10990 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10992 # We preserve .a as extension for shared libraries through AIX4.2
10993 # and later when we are not doing run time linking.
10994 library_names_spec='$libname$release.a $libname.a'
10995 soname_spec='$libname$release$shared_ext$major'
10997 shlibpath_var=LIBPATH
11004 # Since July 2007 AmigaOS4 officially supports .so libraries.
11005 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11006 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11009 library_names_spec='$libname.ixlibrary $libname.a'
11010 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11011 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11017 library_names_spec='$libname$shared_ext'
11018 dynamic_linker="$host_os ld.so"
11019 shlibpath_var=LIBRARY_PATH
11023 version_type=linux # correct to gnu/linux during the next big refactor
11025 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11026 soname_spec='$libname$release$shared_ext$major'
11027 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11028 shlibpath_var=LD_LIBRARY_PATH
11029 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11030 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11031 # the default ld.so.conf also contains /usr/contrib/lib and
11032 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11033 # libtool to hard-code these into programs
11036 cygwin* | mingw* | pw32* | cegcc*)
11037 version_type=windows
11042 case $GCC,$cc_basename in
11045 library_names_spec='$libname.dll.a'
11046 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11047 postinstall_cmds='base_file=`basename \$file`~
11048 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11049 dldir=$destdir/`dirname \$dlpath`~
11050 test -d \$dldir || mkdir -p \$dldir~
11051 $install_prog $dir/$dlname \$dldir/$dlname~
11052 chmod a+x \$dldir/$dlname~
11053 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11054 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11056 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11057 dlpath=$dir/\$dldll~
11059 shlibpath_overrides_runpath=yes
11063 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11064 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11066 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11069 # MinGW DLLs use traditional 'lib' prefix
11070 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11073 # pw32 DLLs use 'pw' prefix rather than 'lib'
11074 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11077 dynamic_linker='Win32 ld.exe'
11082 libname_spec='$name'
11083 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11084 library_names_spec='$libname.dll.lib'
11088 sys_lib_search_path_spec=
11091 for lt_path in $LIB
11094 # Let DOS variable expansion print the short 8.3 style file name.
11095 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11096 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11099 # Convert to MSYS style.
11100 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11103 # Convert to unix form, then to dos form, then back to unix form
11104 # but this time dos style (no spaces!) so that the unix form looks
11105 # like /cygdrive/c/PROGRA~1:/cygdr...
11106 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11107 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11108 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11111 sys_lib_search_path_spec=$LIB
11112 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11113 # It is most probably a Windows format PATH.
11114 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11116 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11118 # FIXME: find the short name or the path components, as spaces are
11119 # common. (e.g. "Program Files" -> "PROGRA~1")
11123 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11124 postinstall_cmds='base_file=`basename \$file`~
11125 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11126 dldir=$destdir/`dirname \$dlpath`~
11127 test -d \$dldir || mkdir -p \$dldir~
11128 $install_prog $dir/$dlname \$dldir/$dlname'
11129 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11130 dlpath=$dir/\$dldll~
11132 shlibpath_overrides_runpath=yes
11133 dynamic_linker='Win32 link.exe'
11137 # Assume MSVC wrapper
11138 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11139 dynamic_linker='Win32 ld.exe'
11142 # FIXME: first we should search . and the directory the executable is in
11146 darwin* | rhapsody*)
11147 dynamic_linker="$host_os dyld"
11148 version_type=darwin
11151 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11152 soname_spec='$libname$release$major$shared_ext'
11153 shlibpath_overrides_runpath=yes
11154 shlibpath_var=DYLD_LIBRARY_PATH
11155 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11157 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11158 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11162 version_type=linux # correct to gnu/linux during the next big refactor
11165 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11166 soname_spec='$libname$release$shared_ext$major'
11167 shlibpath_var=LD_LIBRARY_PATH
11170 freebsd* | dragonfly*)
11171 # DragonFly does not have aout. When/if they implement a new
11172 # versioning mechanism, adjust this.
11173 if test -x /usr/bin/objformat; then
11174 objformat=`/usr/bin/objformat`
11177 freebsd[23].*) objformat=aout ;;
11178 *) objformat=elf ;;
11181 version_type=freebsd-$objformat
11182 case $version_type in
11184 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11189 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11193 shlibpath_var=LD_LIBRARY_PATH
11196 shlibpath_overrides_runpath=yes
11198 freebsd3.[01]* | freebsdelf3.[01]*)
11199 shlibpath_overrides_runpath=yes
11200 hardcode_into_libs=yes
11202 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11203 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11204 shlibpath_overrides_runpath=no
11205 hardcode_into_libs=yes
11207 *) # from 4.6 on, and DragonFly
11208 shlibpath_overrides_runpath=yes
11209 hardcode_into_libs=yes
11215 version_type=linux # correct to gnu/linux during the next big refactor
11218 dynamic_linker="$host_os runtime_loader"
11219 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11220 soname_spec='$libname$release$shared_ext$major'
11221 shlibpath_var=LIBRARY_PATH
11222 shlibpath_overrides_runpath=no
11223 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11224 hardcode_into_libs=yes
11227 hpux9* | hpux10* | hpux11*)
11228 # Give a soname corresponding to the major version so that dld.sl refuses to
11229 # link against other versions.
11236 hardcode_into_libs=yes
11237 dynamic_linker="$host_os dld.so"
11238 shlibpath_var=LD_LIBRARY_PATH
11239 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11240 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11241 soname_spec='$libname$release$shared_ext$major'
11242 if test 32 = "$HPUX_IA64_MODE"; then
11243 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11245 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11247 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11251 hardcode_into_libs=yes
11252 dynamic_linker="$host_os dld.sl"
11253 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11254 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11255 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11256 soname_spec='$libname$release$shared_ext$major'
11257 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11258 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11262 dynamic_linker="$host_os dld.sl"
11263 shlibpath_var=SHLIB_PATH
11264 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11265 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11266 soname_spec='$libname$release$shared_ext$major'
11269 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11270 postinstall_cmds='chmod 555 $lib'
11271 # or fails outright, so override atomically:
11272 install_override_mode=555
11276 version_type=linux # correct to gnu/linux during the next big refactor
11279 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11280 soname_spec='$libname$release$shared_ext$major'
11281 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11282 shlibpath_var=LD_LIBRARY_PATH
11283 shlibpath_overrides_runpath=no
11284 hardcode_into_libs=yes
11287 irix5* | irix6* | nonstopux*)
11289 nonstopux*) version_type=nonstopux ;;
11291 if test yes = "$lt_cv_prog_gnu_ld"; then
11292 version_type=linux # correct to gnu/linux during the next big refactor
11299 soname_spec='$libname$release$shared_ext$major'
11300 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11302 irix5* | nonstopux*)
11303 libsuff= shlibsuff=
11306 case $LD in # libtool.m4 will add one of these switches to LD
11307 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11308 libsuff= shlibsuff= libmagic=32-bit;;
11309 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11310 libsuff=32 shlibsuff=N32 libmagic=N32;;
11311 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11312 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11313 *) libsuff= shlibsuff= libmagic=never-match;;
11317 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11318 shlibpath_overrides_runpath=no
11319 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11320 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11321 hardcode_into_libs=yes
11324 # No shared lib support for Linux oldld, aout, or coff.
11325 linux*oldld* | linux*aout* | linux*coff*)
11330 version_type=none # Android doesn't support versioned libraries.
11333 library_names_spec='$libname$release$shared_ext'
11334 soname_spec='$libname$release$shared_ext'
11336 shlibpath_var=LD_LIBRARY_PATH
11337 shlibpath_overrides_runpath=yes
11339 # This implies no fast_install, which is unacceptable.
11340 # Some rework will be needed to allow for fast_install
11341 # before this can be enabled.
11342 hardcode_into_libs=yes
11344 dynamic_linker='Android linker'
11345 # Don't embed -rpath directories since the linker doesn't support them.
11346 hardcode_libdir_flag_spec='-L$libdir'
11349 # This must be glibc/ELF.
11350 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11351 version_type=linux # correct to gnu/linux during the next big refactor
11354 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11355 soname_spec='$libname$release$shared_ext$major'
11356 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11357 shlibpath_var=LD_LIBRARY_PATH
11358 shlibpath_overrides_runpath=no
11360 # Some binutils ld are patched to set DT_RUNPATH
11361 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11362 $as_echo_n "(cached) " >&6
11364 lt_cv_shlibpath_overrides_runpath=no
11365 save_LDFLAGS=$LDFLAGS
11366 save_libdir=$libdir
11367 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11368 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11380 if ac_fn_c_try_link "$LINENO"; then :
11381 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11382 lt_cv_shlibpath_overrides_runpath=yes
11385 rm -f core conftest.err conftest.$ac_objext \
11386 conftest$ac_exeext conftest.$ac_ext
11387 LDFLAGS=$save_LDFLAGS
11388 libdir=$save_libdir
11392 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11394 # This implies no fast_install, which is unacceptable.
11395 # Some rework will be needed to allow for fast_install
11396 # before this can be enabled.
11397 hardcode_into_libs=yes
11399 # Append ld.so.conf contents to the search path
11400 if test -f /etc/ld.so.conf; then
11401 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' ' '`
11402 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11405 # We used to test for /lib/ld.so.1 and disable shared libraries on
11406 # powerpc, because MkLinux only supported shared libraries with the
11407 # GNU dynamic linker. Since this was broken with cross compilers,
11408 # most powerpc-linux boxes support dynamic linking these days and
11409 # people can always --disable-shared, the test was removed, and we
11410 # assume the GNU/Linux dynamic linker is in use.
11411 dynamic_linker='GNU/Linux ld.so'
11418 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11419 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11420 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11421 dynamic_linker='NetBSD (a.out) ld.so'
11423 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11424 soname_spec='$libname$release$shared_ext$major'
11425 dynamic_linker='NetBSD ld.elf_so'
11427 shlibpath_var=LD_LIBRARY_PATH
11428 shlibpath_overrides_runpath=yes
11429 hardcode_into_libs=yes
11433 version_type=linux # correct to gnu/linux during the next big refactor
11434 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11435 shlibpath_var=LD_LIBRARY_PATH
11436 shlibpath_overrides_runpath=yes
11443 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11444 soname_spec='$libname$release$shared_ext$major'
11445 shlibpath_var=LD_LIBRARY_PATH
11446 shlibpath_overrides_runpath=no
11447 hardcode_into_libs=yes
11448 dynamic_linker='ldqnx.so'
11451 openbsd* | bitrig*)
11453 sys_lib_dlsearch_path_spec=/usr/lib
11455 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11460 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11461 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11462 shlibpath_var=LD_LIBRARY_PATH
11463 shlibpath_overrides_runpath=yes
11467 libname_spec='$name'
11470 library_names_spec='$libname$shared_ext $libname.a'
11471 dynamic_linker='OS/2 ld.exe'
11472 shlibpath_var=LIBPATH
11475 osf3* | osf4* | osf5*)
11479 soname_spec='$libname$release$shared_ext$major'
11480 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11481 shlibpath_var=LD_LIBRARY_PATH
11482 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11483 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11491 version_type=linux # correct to gnu/linux during the next big refactor
11494 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11495 soname_spec='$libname$release$shared_ext$major'
11496 shlibpath_var=LD_LIBRARY_PATH
11497 shlibpath_overrides_runpath=yes
11498 hardcode_into_libs=yes
11499 # ldd complains unless libraries are executable
11500 postinstall_cmds='chmod +x $lib'
11505 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11506 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11507 shlibpath_var=LD_LIBRARY_PATH
11508 shlibpath_overrides_runpath=yes
11509 if test yes = "$with_gnu_ld"; then
11516 version_type=linux # correct to gnu/linux during the next big refactor
11517 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11518 soname_spec='$libname$release$shared_ext$major'
11519 shlibpath_var=LD_LIBRARY_PATH
11520 case $host_vendor in
11522 shlibpath_overrides_runpath=no
11524 runpath_var=LD_RUN_PATH
11532 shlibpath_overrides_runpath=no
11533 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11539 if test -d /usr/nec; then
11540 version_type=linux # correct to gnu/linux during the next big refactor
11541 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11542 soname_spec='$libname$shared_ext.$major'
11543 shlibpath_var=LD_LIBRARY_PATH
11547 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11548 version_type=freebsd-elf
11551 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11552 soname_spec='$libname$release$shared_ext$major'
11553 shlibpath_var=LD_LIBRARY_PATH
11554 shlibpath_overrides_runpath=yes
11555 hardcode_into_libs=yes
11556 if test yes = "$with_gnu_ld"; then
11557 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11559 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11562 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11566 sys_lib_dlsearch_path_spec='/usr/lib'
11570 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11571 version_type=linux # correct to gnu/linux during the next big refactor
11574 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11575 shlibpath_var=LD_LIBRARY_PATH
11576 shlibpath_overrides_runpath=no
11577 hardcode_into_libs=yes
11581 version_type=linux # correct to gnu/linux during the next big refactor
11582 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11583 soname_spec='$libname$release$shared_ext$major'
11584 shlibpath_var=LD_LIBRARY_PATH
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11592 $as_echo "$dynamic_linker" >&6; }
11593 test no = "$dynamic_linker" && can_build_shared=no
11595 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11596 if test yes = "$GCC"; then
11597 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11600 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11601 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11603 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11604 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11699 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11701 if test -n "$hardcode_libdir_flag_spec" ||
11702 test -n "$runpath_var" ||
11703 test yes = "$hardcode_automatic"; then
11705 # We can hardcode non-existent directories.
11706 if test no != "$hardcode_direct" &&
11707 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11708 # have to relink, otherwise we might link with an installed library
11709 # when we should be linking with a yet-to-be-installed one
11710 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11711 test no != "$hardcode_minus_L"; then
11712 # Linking always hardcodes the temporary library directory.
11713 hardcode_action=relink
11715 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11716 hardcode_action=immediate
11719 # We cannot hardcode anything, or else we can only hardcode existing
11721 hardcode_action=unsupported
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11724 $as_echo "$hardcode_action" >&6; }
11726 if test relink = "$hardcode_action" ||
11727 test yes = "$inherit_rpath"; then
11728 # Fast installation is not supported
11729 enable_fast_install=no
11730 elif test yes = "$shlibpath_overrides_runpath" ||
11731 test no = "$enable_shared"; then
11732 # Fast installation is not necessary
11733 enable_fast_install=needless
11741 if test yes != "$enable_dlopen"; then
11742 enable_dlopen=unknown
11743 enable_dlopen_self=unknown
11744 enable_dlopen_self_static=unknown
11751 lt_cv_dlopen=load_add_on
11753 lt_cv_dlopen_self=yes
11756 mingw* | pw32* | cegcc*)
11757 lt_cv_dlopen=LoadLibrary
11762 lt_cv_dlopen=dlopen
11767 # if libdl is installed we need to link against it
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11769 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11770 if ${ac_cv_lib_dl_dlopen+:} false; then :
11771 $as_echo_n "(cached) " >&6
11773 ac_check_lib_save_LIBS=$LIBS
11775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11776 /* end confdefs.h. */
11778 /* Override any GCC internal prototype to avoid an error.
11779 Use char because int might match the return type of a GCC
11780 builtin and then its argument prototype would still apply. */
11793 if ac_fn_c_try_link "$LINENO"; then :
11794 ac_cv_lib_dl_dlopen=yes
11796 ac_cv_lib_dl_dlopen=no
11798 rm -f core conftest.err conftest.$ac_objext \
11799 conftest$ac_exeext conftest.$ac_ext
11800 LIBS=$ac_check_lib_save_LIBS
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11803 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11804 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11805 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11810 lt_cv_dlopen_self=yes
11817 # Don't try to run any link tests for TPF. We know it's impossible
11818 # because TPF is a cross-compiler, and we know how we open DSOs.
11819 lt_cv_dlopen=dlopen
11821 lt_cv_dlopen_self=no
11825 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11826 if test "x$ac_cv_func_shl_load" = xyes; then :
11827 lt_cv_dlopen=shl_load
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11830 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11831 if ${ac_cv_lib_dld_shl_load+:} false; then :
11832 $as_echo_n "(cached) " >&6
11834 ac_check_lib_save_LIBS=$LIBS
11836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11837 /* end confdefs.h. */
11839 /* Override any GCC internal prototype to avoid an error.
11840 Use char because int might match the return type of a GCC
11841 builtin and then its argument prototype would still apply. */
11849 return shl_load ();
11854 if ac_fn_c_try_link "$LINENO"; then :
11855 ac_cv_lib_dld_shl_load=yes
11857 ac_cv_lib_dld_shl_load=no
11859 rm -f core conftest.err conftest.$ac_objext \
11860 conftest$ac_exeext conftest.$ac_ext
11861 LIBS=$ac_check_lib_save_LIBS
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11864 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11865 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11866 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11868 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11869 if test "x$ac_cv_func_dlopen" = xyes; then :
11870 lt_cv_dlopen=dlopen
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11873 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11874 if ${ac_cv_lib_dl_dlopen+:} false; then :
11875 $as_echo_n "(cached) " >&6
11877 ac_check_lib_save_LIBS=$LIBS
11879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11880 /* end confdefs.h. */
11882 /* Override any GCC internal prototype to avoid an error.
11883 Use char because int might match the return type of a GCC
11884 builtin and then its argument prototype would still apply. */
11897 if ac_fn_c_try_link "$LINENO"; then :
11898 ac_cv_lib_dl_dlopen=yes
11900 ac_cv_lib_dl_dlopen=no
11902 rm -f core conftest.err conftest.$ac_objext \
11903 conftest$ac_exeext conftest.$ac_ext
11904 LIBS=$ac_check_lib_save_LIBS
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11907 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11908 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11909 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11912 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11913 if ${ac_cv_lib_svld_dlopen+:} false; then :
11914 $as_echo_n "(cached) " >&6
11916 ac_check_lib_save_LIBS=$LIBS
11917 LIBS="-lsvld $LIBS"
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11921 /* Override any GCC internal prototype to avoid an error.
11922 Use char because int might match the return type of a GCC
11923 builtin and then its argument prototype would still apply. */
11936 if ac_fn_c_try_link "$LINENO"; then :
11937 ac_cv_lib_svld_dlopen=yes
11939 ac_cv_lib_svld_dlopen=no
11941 rm -f core conftest.err conftest.$ac_objext \
11942 conftest$ac_exeext conftest.$ac_ext
11943 LIBS=$ac_check_lib_save_LIBS
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11946 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11947 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11948 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11951 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11952 if ${ac_cv_lib_dld_dld_link+:} false; then :
11953 $as_echo_n "(cached) " >&6
11955 ac_check_lib_save_LIBS=$LIBS
11957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11960 /* Override any GCC internal prototype to avoid an error.
11961 Use char because int might match the return type of a GCC
11962 builtin and then its argument prototype would still apply. */
11970 return dld_link ();
11975 if ac_fn_c_try_link "$LINENO"; then :
11976 ac_cv_lib_dld_dld_link=yes
11978 ac_cv_lib_dld_dld_link=no
11980 rm -f core conftest.err conftest.$ac_objext \
11981 conftest$ac_exeext conftest.$ac_ext
11982 LIBS=$ac_check_lib_save_LIBS
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11985 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11986 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11987 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12008 if test no = "$lt_cv_dlopen"; then
12014 case $lt_cv_dlopen in
12016 save_CPPFLAGS=$CPPFLAGS
12017 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12019 save_LDFLAGS=$LDFLAGS
12020 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12023 LIBS="$lt_cv_dlopen_libs $LIBS"
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12026 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12027 if ${lt_cv_dlopen_self+:} false; then :
12028 $as_echo_n "(cached) " >&6
12030 if test yes = "$cross_compiling"; then :
12031 lt_cv_dlopen_self=cross
12033 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12034 lt_status=$lt_dlunknown
12035 cat > conftest.$ac_ext <<_LT_EOF
12036 #line $LINENO "configure"
12037 #include "confdefs.h"
12046 # define LT_DLGLOBAL RTLD_GLOBAL
12049 # define LT_DLGLOBAL DL_GLOBAL
12051 # define LT_DLGLOBAL 0
12055 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12056 find out it does not work in some platform. */
12057 #ifndef LT_DLLAZY_OR_NOW
12059 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12062 # define LT_DLLAZY_OR_NOW DL_LAZY
12065 # define LT_DLLAZY_OR_NOW RTLD_NOW
12068 # define LT_DLLAZY_OR_NOW DL_NOW
12070 # define LT_DLLAZY_OR_NOW 0
12077 /* When -fvisbility=hidden is used, assume the code has been annotated
12078 correspondingly for the symbols needed. */
12079 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12080 int fnord () __attribute__((visibility("default")));
12083 int fnord () { return 42; }
12086 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12087 int status = $lt_dlunknown;
12091 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12094 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12095 else puts (dlerror ());
12097 /* dlclose (self); */
12105 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12106 (eval $ac_link) 2>&5
12108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12109 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12110 (./conftest; exit; ) >&5 2>/dev/null
12112 case x$lt_status in
12113 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12114 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12115 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12118 # compilation failed
12119 lt_cv_dlopen_self=no
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12127 $as_echo "$lt_cv_dlopen_self" >&6; }
12129 if test yes = "$lt_cv_dlopen_self"; then
12130 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12132 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12133 if ${lt_cv_dlopen_self_static+:} false; then :
12134 $as_echo_n "(cached) " >&6
12136 if test yes = "$cross_compiling"; then :
12137 lt_cv_dlopen_self_static=cross
12139 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12140 lt_status=$lt_dlunknown
12141 cat > conftest.$ac_ext <<_LT_EOF
12142 #line $LINENO "configure"
12143 #include "confdefs.h"
12152 # define LT_DLGLOBAL RTLD_GLOBAL
12155 # define LT_DLGLOBAL DL_GLOBAL
12157 # define LT_DLGLOBAL 0
12161 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12162 find out it does not work in some platform. */
12163 #ifndef LT_DLLAZY_OR_NOW
12165 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12168 # define LT_DLLAZY_OR_NOW DL_LAZY
12171 # define LT_DLLAZY_OR_NOW RTLD_NOW
12174 # define LT_DLLAZY_OR_NOW DL_NOW
12176 # define LT_DLLAZY_OR_NOW 0
12183 /* When -fvisbility=hidden is used, assume the code has been annotated
12184 correspondingly for the symbols needed. */
12185 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12186 int fnord () __attribute__((visibility("default")));
12189 int fnord () { return 42; }
12192 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12193 int status = $lt_dlunknown;
12197 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12200 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12201 else puts (dlerror ());
12203 /* dlclose (self); */
12211 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12212 (eval $ac_link) 2>&5
12214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12215 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12216 (./conftest; exit; ) >&5 2>/dev/null
12218 case x$lt_status in
12219 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12220 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12221 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12224 # compilation failed
12225 lt_cv_dlopen_self_static=no
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12233 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12236 CPPFLAGS=$save_CPPFLAGS
12237 LDFLAGS=$save_LDFLAGS
12242 case $lt_cv_dlopen_self in
12243 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12244 *) enable_dlopen_self=unknown ;;
12247 case $lt_cv_dlopen_self_static in
12248 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12249 *) enable_dlopen_self_static=unknown ;;
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12272 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12273 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12274 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12275 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12277 $as_echo "yes" >&6; }
12279 # FIXME - insert some real tests, host_os isn't really good enough
12282 if test -n "$STRIP"; then
12283 striplib="$STRIP -x"
12284 old_striplib="$STRIP -S"
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12286 $as_echo "yes" >&6; }
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12289 $as_echo "no" >&6; }
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12294 $as_echo "no" >&6; }
12310 # Report what library types will actually be built
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12312 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12314 $as_echo "$can_build_shared" >&6; }
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12317 $as_echo_n "checking whether to build shared libraries... " >&6; }
12318 test no = "$can_build_shared" && enable_shared=no
12320 # On AIX, shared libraries and static libraries use the same namespace, and
12321 # are all built from PIC.
12324 test yes = "$enable_shared" && enable_static=no
12325 if test -n "$RANLIB"; then
12326 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12327 postinstall_cmds='$RANLIB $lib'
12332 if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
12333 test yes = "$enable_shared" && enable_static=no
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12338 $as_echo "$enable_shared" >&6; }
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12341 $as_echo_n "checking whether to build static libraries... " >&6; }
12342 # Make sure either enable_shared or enable_static is yes.
12343 test yes = "$enable_shared" || enable_static=yes
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12345 $as_echo "$enable_static" >&6; }
12352 ac_cpp='$CPP $CPPFLAGS'
12353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12373 ac_config_commands="$ac_config_commands libtool"
12378 # Only expand once:
12382 # Check for programs
12384 ac_cpp='$CPP $CPPFLAGS'
12385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12388 if test -n "$ac_tool_prefix"; then
12389 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12390 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12392 $as_echo_n "checking for $ac_word... " >&6; }
12393 if ${ac_cv_prog_CC+:} false; then :
12394 $as_echo_n "(cached) " >&6
12396 if test -n "$CC"; then
12397 ac_cv_prog_CC="$CC" # Let the user override the test.
12399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12400 for as_dir in $PATH
12403 test -z "$as_dir" && as_dir=.
12404 for ac_exec_ext in '' $ac_executable_extensions; do
12405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12406 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12417 if test -n "$CC"; then
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12419 $as_echo "$CC" >&6; }
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12422 $as_echo "no" >&6; }
12427 if test -z "$ac_cv_prog_CC"; then
12429 # Extract the first word of "gcc", so it can be a program name with args.
12430 set dummy gcc; ac_word=$2
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12432 $as_echo_n "checking for $ac_word... " >&6; }
12433 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12434 $as_echo_n "(cached) " >&6
12436 if test -n "$ac_ct_CC"; then
12437 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12440 for as_dir in $PATH
12443 test -z "$as_dir" && as_dir=.
12444 for ac_exec_ext in '' $ac_executable_extensions; do
12445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12446 ac_cv_prog_ac_ct_CC="gcc"
12447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12456 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12457 if test -n "$ac_ct_CC"; then
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12459 $as_echo "$ac_ct_CC" >&6; }
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12462 $as_echo "no" >&6; }
12465 if test "x$ac_ct_CC" = x; then
12468 case $cross_compiling:$ac_tool_warned in
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12472 ac_tool_warned=yes ;;
12477 CC="$ac_cv_prog_CC"
12480 if test -z "$CC"; then
12481 if test -n "$ac_tool_prefix"; then
12482 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12483 set dummy ${ac_tool_prefix}cc; ac_word=$2
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12485 $as_echo_n "checking for $ac_word... " >&6; }
12486 if ${ac_cv_prog_CC+:} false; then :
12487 $as_echo_n "(cached) " >&6
12489 if test -n "$CC"; then
12490 ac_cv_prog_CC="$CC" # Let the user override the test.
12492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12493 for as_dir in $PATH
12496 test -z "$as_dir" && as_dir=.
12497 for ac_exec_ext in '' $ac_executable_extensions; do
12498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12499 ac_cv_prog_CC="${ac_tool_prefix}cc"
12500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12510 if test -n "$CC"; then
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12512 $as_echo "$CC" >&6; }
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12515 $as_echo "no" >&6; }
12521 if test -z "$CC"; then
12522 # Extract the first word of "cc", so it can be a program name with args.
12523 set dummy cc; ac_word=$2
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12525 $as_echo_n "checking for $ac_word... " >&6; }
12526 if ${ac_cv_prog_CC+:} false; then :
12527 $as_echo_n "(cached) " >&6
12529 if test -n "$CC"; then
12530 ac_cv_prog_CC="$CC" # Let the user override the test.
12532 ac_prog_rejected=no
12533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12534 for as_dir in $PATH
12537 test -z "$as_dir" && as_dir=.
12538 for ac_exec_ext in '' $ac_executable_extensions; do
12539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12540 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12541 ac_prog_rejected=yes
12545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12552 if test $ac_prog_rejected = yes; then
12553 # We found a bogon in the path, so make sure we never use it.
12554 set dummy $ac_cv_prog_CC
12556 if test $# != 0; then
12557 # We chose a different compiler from the bogus one.
12558 # However, it has the same basename, so the bogon will be chosen
12559 # first if we set CC to just the basename; use the full file name.
12561 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12567 if test -n "$CC"; then
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12569 $as_echo "$CC" >&6; }
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12572 $as_echo "no" >&6; }
12577 if test -z "$CC"; then
12578 if test -n "$ac_tool_prefix"; then
12579 for ac_prog in cl.exe
12581 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12582 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12584 $as_echo_n "checking for $ac_word... " >&6; }
12585 if ${ac_cv_prog_CC+:} false; then :
12586 $as_echo_n "(cached) " >&6
12588 if test -n "$CC"; then
12589 ac_cv_prog_CC="$CC" # Let the user override the test.
12591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12592 for as_dir in $PATH
12595 test -z "$as_dir" && as_dir=.
12596 for ac_exec_ext in '' $ac_executable_extensions; do
12597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12598 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12609 if test -n "$CC"; then
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12611 $as_echo "$CC" >&6; }
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12614 $as_echo "no" >&6; }
12618 test -n "$CC" && break
12621 if test -z "$CC"; then
12623 for ac_prog in cl.exe
12625 # Extract the first word of "$ac_prog", so it can be a program name with args.
12626 set dummy $ac_prog; ac_word=$2
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12628 $as_echo_n "checking for $ac_word... " >&6; }
12629 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12630 $as_echo_n "(cached) " >&6
12632 if test -n "$ac_ct_CC"; then
12633 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12636 for as_dir in $PATH
12639 test -z "$as_dir" && as_dir=.
12640 for ac_exec_ext in '' $ac_executable_extensions; do
12641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12642 ac_cv_prog_ac_ct_CC="$ac_prog"
12643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12652 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12653 if test -n "$ac_ct_CC"; then
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12655 $as_echo "$ac_ct_CC" >&6; }
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12658 $as_echo "no" >&6; }
12662 test -n "$ac_ct_CC" && break
12665 if test "x$ac_ct_CC" = x; then
12668 case $cross_compiling:$ac_tool_warned in
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12672 ac_tool_warned=yes ;;
12681 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12683 as_fn_error $? "no acceptable C compiler found in \$PATH
12684 See \`config.log' for more details" "$LINENO" 5; }
12686 # Provide some information about the compiler.
12687 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12690 for ac_option in --version -v -V -qversion; do
12691 { { ac_try="$ac_compiler $ac_option >&5"
12692 case "(($ac_try" in
12693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12694 *) ac_try_echo=$ac_try;;
12696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12697 $as_echo "$ac_try_echo"; } >&5
12698 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12700 if test -s conftest.err; then
12702 ... rest of stderr output deleted ...
12703 10q' conftest.err >conftest.er1
12704 cat conftest.er1 >&5
12706 rm -f conftest.er1 conftest.err
12707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12708 test $ac_status = 0; }
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12712 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12713 if ${ac_cv_c_compiler_gnu+:} false; then :
12714 $as_echo_n "(cached) " >&6
12716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12717 /* end confdefs.h. */
12730 if ac_fn_c_try_compile "$LINENO"; then :
12731 ac_compiler_gnu=yes
12735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12736 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12740 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12741 if test $ac_compiler_gnu = yes; then
12746 ac_test_CFLAGS=${CFLAGS+set}
12747 ac_save_CFLAGS=$CFLAGS
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12749 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12750 if ${ac_cv_prog_cc_g+:} false; then :
12751 $as_echo_n "(cached) " >&6
12753 ac_save_c_werror_flag=$ac_c_werror_flag
12754 ac_c_werror_flag=yes
12757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12758 /* end confdefs.h. */
12768 if ac_fn_c_try_compile "$LINENO"; then :
12769 ac_cv_prog_cc_g=yes
12772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12783 if ac_fn_c_try_compile "$LINENO"; then :
12786 ac_c_werror_flag=$ac_save_c_werror_flag
12788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12789 /* end confdefs.h. */
12799 if ac_fn_c_try_compile "$LINENO"; then :
12800 ac_cv_prog_cc_g=yes
12802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12807 ac_c_werror_flag=$ac_save_c_werror_flag
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12810 $as_echo "$ac_cv_prog_cc_g" >&6; }
12811 if test "$ac_test_CFLAGS" = set; then
12812 CFLAGS=$ac_save_CFLAGS
12813 elif test $ac_cv_prog_cc_g = yes; then
12814 if test "$GCC" = yes; then
12820 if test "$GCC" = yes; then
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12827 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12828 if ${ac_cv_prog_cc_c89+:} false; then :
12829 $as_echo_n "(cached) " >&6
12831 ac_cv_prog_cc_c89=no
12833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12834 /* end confdefs.h. */
12835 #include <stdarg.h>
12838 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12839 struct buf { int x; };
12840 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12841 static char *e (p, i)
12847 static char *f (char * (*g) (char **, int), char **p, ...)
12852 s = g (p, va_arg (v,int));
12857 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12858 function prototypes and stuff, but not '\xHH' hex character constants.
12859 These don't provoke an error unfortunately, instead are silently treated
12860 as 'x'. The following induces an error, until -std is added to get
12861 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12862 array size at least. It's necessary to write '\x00'==0 to get something
12863 that's true only with -std. */
12864 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12866 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12867 inside strings and character constants. */
12869 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12871 int test (int i, double x);
12872 struct s1 {int (*f) (int a);};
12873 struct s2 {int (*f) (double a);};
12874 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12880 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12885 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12886 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12888 CC="$ac_save_CC $ac_arg"
12889 if ac_fn_c_try_compile "$LINENO"; then :
12890 ac_cv_prog_cc_c89=$ac_arg
12892 rm -f core conftest.err conftest.$ac_objext
12893 test "x$ac_cv_prog_cc_c89" != "xno" && break
12895 rm -f conftest.$ac_ext
12900 case "x$ac_cv_prog_cc_c89" in
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12903 $as_echo "none needed" >&6; } ;;
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12906 $as_echo "unsupported" >&6; } ;;
12908 CC="$CC $ac_cv_prog_cc_c89"
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12910 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12912 if test "x$ac_cv_prog_cc_c89" != xno; then :
12917 ac_cpp='$CPP $CPPFLAGS'
12918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12923 ac_cpp='$CPP $CPPFLAGS'
12924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12928 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12929 if ${am_cv_prog_cc_c_o+:} false; then :
12930 $as_echo_n "(cached) " >&6
12932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12933 /* end confdefs.h. */
12943 # Make sure it works both with $CC and with simple cc.
12944 # Following AC_PROG_CC_C_O, we do the test twice because some
12945 # compilers refuse to overwrite an existing .o file with -o,
12946 # though they will create one.
12947 am_cv_prog_cc_c_o=yes
12948 for am_i in 1 2; do
12949 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12950 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); } \
12954 && test -f conftest2.$ac_objext; then
12957 am_cv_prog_cc_c_o=no
12961 rm -f core conftest*
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12965 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12966 if test "$am_cv_prog_cc_c_o" != yes; then
12967 # Losing compiler, so override with the script.
12968 # FIXME: It is wrong to rewrite CC.
12969 # But if we don't then we get into trouble of one sort or another.
12970 # A longer-term fix would be to have automake use am__CC in this case,
12971 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12972 CC="$am_aux_dir/compile $CC"
12975 ac_cpp='$CPP $CPPFLAGS'
12976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12981 depcc="$CC" am_compiler_list=
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12984 $as_echo_n "checking dependency style of $depcc... " >&6; }
12985 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12986 $as_echo_n "(cached) " >&6
12988 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12989 # We make a subdir and do the tests there. Otherwise we can end up
12990 # making bogus files that we don't know about and never remove. For
12991 # instance it was reported that on HP-UX the gcc test will end up
12992 # making a dummy file named 'D' -- because '-MD' means "put the output
12994 rm -rf conftest.dir
12996 # Copy depcomp to subdir because otherwise we won't find it if we're
12997 # using a relative directory.
12998 cp "$am_depcomp" conftest.dir
13000 # We will build objects and dependencies in a subdirectory because
13001 # it helps to detect inapplicable dependency modes. For instance
13002 # both Tru64's cc and ICC support -MD to output dependencies as a
13003 # side effect of compilation, but ICC will put the dependencies in
13004 # the current directory while Tru64 will put them in the object
13008 am_cv_CC_dependencies_compiler_type=none
13009 if test "$am_compiler_list" = ""; then
13010 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13012 am__universal=false
13013 case " $depcc " in #(
13014 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13017 for depmode in $am_compiler_list; do
13018 # Setup a source with many dependencies, because some compilers
13019 # like to wrap large dependency lists on column 80 (with \), and
13020 # we should not choose a depcomp mode which is confused by this.
13022 # We need to recreate these files for each test, as the compiler may
13023 # overwrite some of them when testing with obscure command lines.
13024 # This happens at least with the AIX C compiler.
13026 for i in 1 2 3 4 5 6; do
13027 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13028 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13029 # Solaris 10 /bin/sh.
13030 echo '/* dummy */' > sub/conftst$i.h
13032 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13034 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13035 # mode. It turns out that the SunPro C++ compiler does not properly
13036 # handle '-M -o', and we need to detect this. Also, some Intel
13037 # versions had trouble with output in subdirs.
13038 am__obj=sub/conftest.${OBJEXT-o}
13039 am__minus_obj="-o $am__obj"
13042 # This depmode causes a compiler race in universal mode.
13043 test "$am__universal" = false || continue
13046 # After this tag, mechanisms are not by side-effect, so they'll
13047 # only be used when explicitly requested.
13048 if test "x$enable_dependency_tracking" = xyes; then
13054 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13055 # This compiler won't grok '-c -o', but also, the minuso test has
13056 # not run yet. These depmodes are late enough in the game, and
13057 # so weak that their functioning should not be impacted.
13058 am__obj=conftest.${OBJEXT-o}
13063 if depmode=$depmode \
13064 source=sub/conftest.c object=$am__obj \
13065 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13066 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13067 >/dev/null 2>conftest.err &&
13068 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13069 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13070 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13071 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13072 # icc doesn't choke on unknown options, it will just issue warnings
13073 # or remarks (even with -Werror). So we grep stderr for any message
13074 # that says an option was ignored or not supported.
13075 # When given -MP, icc 7.0 and 7.1 complain thusly:
13076 # icc: Command line warning: ignoring option '-M'; no argument required
13077 # The diagnosis changed in icc 8.0:
13078 # icc: Command line remark: option '-MP' not supported
13079 if (grep 'ignoring option' conftest.err ||
13080 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13081 am_cv_CC_dependencies_compiler_type=$depmode
13088 rm -rf conftest.dir
13090 am_cv_CC_dependencies_compiler_type=none
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13095 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13096 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13099 test "x$enable_dependency_tracking" != xno \
13100 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13101 am__fastdepCC_TRUE=
13102 am__fastdepCC_FALSE='#'
13104 am__fastdepCC_TRUE='#'
13105 am__fastdepCC_FALSE=
13111 ac_cpp='$CXXCPP $CPPFLAGS'
13112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13115 if test -z "$CXX"; then
13116 if test -n "$CCC"; then
13119 if test -n "$ac_tool_prefix"; then
13120 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13125 $as_echo_n "checking for $ac_word... " >&6; }
13126 if ${ac_cv_prog_CXX+:} false; then :
13127 $as_echo_n "(cached) " >&6
13129 if test -n "$CXX"; then
13130 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13133 for as_dir in $PATH
13136 test -z "$as_dir" && as_dir=.
13137 for ac_exec_ext in '' $ac_executable_extensions; do
13138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13139 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13149 CXX=$ac_cv_prog_CXX
13150 if test -n "$CXX"; then
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13152 $as_echo "$CXX" >&6; }
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13155 $as_echo "no" >&6; }
13159 test -n "$CXX" && break
13162 if test -z "$CXX"; then
13164 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13166 # Extract the first word of "$ac_prog", so it can be a program name with args.
13167 set dummy $ac_prog; ac_word=$2
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13169 $as_echo_n "checking for $ac_word... " >&6; }
13170 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
13171 $as_echo_n "(cached) " >&6
13173 if test -n "$ac_ct_CXX"; then
13174 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13177 for as_dir in $PATH
13180 test -z "$as_dir" && as_dir=.
13181 for ac_exec_ext in '' $ac_executable_extensions; do
13182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13183 ac_cv_prog_ac_ct_CXX="$ac_prog"
13184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13193 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13194 if test -n "$ac_ct_CXX"; then
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13196 $as_echo "$ac_ct_CXX" >&6; }
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13199 $as_echo "no" >&6; }
13203 test -n "$ac_ct_CXX" && break
13206 if test "x$ac_ct_CXX" = x; then
13209 case $cross_compiling:$ac_tool_warned in
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13213 ac_tool_warned=yes ;;
13221 # Provide some information about the compiler.
13222 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13225 for ac_option in --version -v -V -qversion; do
13226 { { ac_try="$ac_compiler $ac_option >&5"
13227 case "(($ac_try" in
13228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13229 *) ac_try_echo=$ac_try;;
13231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13232 $as_echo "$ac_try_echo"; } >&5
13233 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13235 if test -s conftest.err; then
13237 ... rest of stderr output deleted ...
13238 10q' conftest.err >conftest.er1
13239 cat conftest.er1 >&5
13241 rm -f conftest.er1 conftest.err
13242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13243 test $ac_status = 0; }
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13247 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13248 if ${ac_cv_cxx_compiler_gnu+:} false; then :
13249 $as_echo_n "(cached) " >&6
13251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13265 if ac_fn_cxx_try_compile "$LINENO"; then :
13266 ac_compiler_gnu=yes
13270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13271 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13275 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13276 if test $ac_compiler_gnu = yes; then
13281 ac_test_CXXFLAGS=${CXXFLAGS+set}
13282 ac_save_CXXFLAGS=$CXXFLAGS
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13284 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13285 if ${ac_cv_prog_cxx_g+:} false; then :
13286 $as_echo_n "(cached) " >&6
13288 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13289 ac_cxx_werror_flag=yes
13290 ac_cv_prog_cxx_g=no
13292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13293 /* end confdefs.h. */
13303 if ac_fn_cxx_try_compile "$LINENO"; then :
13304 ac_cv_prog_cxx_g=yes
13307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13308 /* end confdefs.h. */
13318 if ac_fn_cxx_try_compile "$LINENO"; then :
13321 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13324 /* end confdefs.h. */
13334 if ac_fn_cxx_try_compile "$LINENO"; then :
13335 ac_cv_prog_cxx_g=yes
13337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13342 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13345 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13346 if test "$ac_test_CXXFLAGS" = set; then
13347 CXXFLAGS=$ac_save_CXXFLAGS
13348 elif test $ac_cv_prog_cxx_g = yes; then
13349 if test "$GXX" = yes; then
13355 if test "$GXX" = yes; then
13362 ac_cpp='$CPP $CPPFLAGS'
13363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13367 depcc="$CXX" am_compiler_list=
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13370 $as_echo_n "checking dependency style of $depcc... " >&6; }
13371 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
13372 $as_echo_n "(cached) " >&6
13374 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13375 # We make a subdir and do the tests there. Otherwise we can end up
13376 # making bogus files that we don't know about and never remove. For
13377 # instance it was reported that on HP-UX the gcc test will end up
13378 # making a dummy file named 'D' -- because '-MD' means "put the output
13380 rm -rf conftest.dir
13382 # Copy depcomp to subdir because otherwise we won't find it if we're
13383 # using a relative directory.
13384 cp "$am_depcomp" conftest.dir
13386 # We will build objects and dependencies in a subdirectory because
13387 # it helps to detect inapplicable dependency modes. For instance
13388 # both Tru64's cc and ICC support -MD to output dependencies as a
13389 # side effect of compilation, but ICC will put the dependencies in
13390 # the current directory while Tru64 will put them in the object
13394 am_cv_CXX_dependencies_compiler_type=none
13395 if test "$am_compiler_list" = ""; then
13396 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13398 am__universal=false
13399 case " $depcc " in #(
13400 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13403 for depmode in $am_compiler_list; do
13404 # Setup a source with many dependencies, because some compilers
13405 # like to wrap large dependency lists on column 80 (with \), and
13406 # we should not choose a depcomp mode which is confused by this.
13408 # We need to recreate these files for each test, as the compiler may
13409 # overwrite some of them when testing with obscure command lines.
13410 # This happens at least with the AIX C compiler.
13412 for i in 1 2 3 4 5 6; do
13413 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13414 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13415 # Solaris 10 /bin/sh.
13416 echo '/* dummy */' > sub/conftst$i.h
13418 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13420 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13421 # mode. It turns out that the SunPro C++ compiler does not properly
13422 # handle '-M -o', and we need to detect this. Also, some Intel
13423 # versions had trouble with output in subdirs.
13424 am__obj=sub/conftest.${OBJEXT-o}
13425 am__minus_obj="-o $am__obj"
13428 # This depmode causes a compiler race in universal mode.
13429 test "$am__universal" = false || continue
13432 # After this tag, mechanisms are not by side-effect, so they'll
13433 # only be used when explicitly requested.
13434 if test "x$enable_dependency_tracking" = xyes; then
13440 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13441 # This compiler won't grok '-c -o', but also, the minuso test has
13442 # not run yet. These depmodes are late enough in the game, and
13443 # so weak that their functioning should not be impacted.
13444 am__obj=conftest.${OBJEXT-o}
13449 if depmode=$depmode \
13450 source=sub/conftest.c object=$am__obj \
13451 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13452 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13453 >/dev/null 2>conftest.err &&
13454 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13455 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13456 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13457 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13458 # icc doesn't choke on unknown options, it will just issue warnings
13459 # or remarks (even with -Werror). So we grep stderr for any message
13460 # that says an option was ignored or not supported.
13461 # When given -MP, icc 7.0 and 7.1 complain thusly:
13462 # icc: Command line warning: ignoring option '-M'; no argument required
13463 # The diagnosis changed in icc 8.0:
13464 # icc: Command line remark: option '-MP' not supported
13465 if (grep 'ignoring option' conftest.err ||
13466 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13467 am_cv_CXX_dependencies_compiler_type=$depmode
13474 rm -rf conftest.dir
13476 am_cv_CXX_dependencies_compiler_type=none
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13481 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13482 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13485 test "x$enable_dependency_tracking" != xno \
13486 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13487 am__fastdepCXX_TRUE=
13488 am__fastdepCXX_FALSE='#'
13490 am__fastdepCXX_TRUE='#'
13491 am__fastdepCXX_FALSE=
13497 func_stripname_cnf ()
13500 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
13501 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
13503 } # func_stripname_cnf
13505 if test -n "$CXX" && ( test no != "$CXX" &&
13506 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13507 (test g++ != "$CXX"))); then
13509 ac_cpp='$CXXCPP $CPPFLAGS'
13510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13514 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13515 if test -z "$CXXCPP"; then
13516 if ${ac_cv_prog_CXXCPP+:} false; then :
13517 $as_echo_n "(cached) " >&6
13519 # Double quotes because CXXCPP needs to be expanded
13520 for CXXCPP in "$CXX -E" "/lib/cpp"
13522 ac_preproc_ok=false
13523 for ac_cxx_preproc_warn_flag in '' yes
13525 # Use a header file that comes with gcc, so configuring glibc
13526 # with a fresh cross-compiler works.
13527 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13528 # <limits.h> exists even on freestanding compilers.
13529 # On the NeXT, cc -E runs the code through the compiler's parser,
13530 # not just through cpp. "Syntax error" is here to catch this case.
13531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13532 /* end confdefs.h. */
13534 # include <limits.h>
13536 # include <assert.h>
13540 if ac_fn_cxx_try_cpp "$LINENO"; then :
13543 # Broken: fails on valid input.
13546 rm -f conftest.err conftest.i conftest.$ac_ext
13548 # OK, works on sane cases. Now check whether nonexistent headers
13549 # can be detected and how.
13550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13551 /* end confdefs.h. */
13552 #include <ac_nonexistent.h>
13554 if ac_fn_cxx_try_cpp "$LINENO"; then :
13555 # Broken: success on invalid input.
13558 # Passes both tests.
13562 rm -f conftest.err conftest.i conftest.$ac_ext
13565 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13566 rm -f conftest.i conftest.err conftest.$ac_ext
13567 if $ac_preproc_ok; then :
13572 ac_cv_prog_CXXCPP=$CXXCPP
13575 CXXCPP=$ac_cv_prog_CXXCPP
13577 ac_cv_prog_CXXCPP=$CXXCPP
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13580 $as_echo "$CXXCPP" >&6; }
13581 ac_preproc_ok=false
13582 for ac_cxx_preproc_warn_flag in '' yes
13584 # Use a header file that comes with gcc, so configuring glibc
13585 # with a fresh cross-compiler works.
13586 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13587 # <limits.h> exists even on freestanding compilers.
13588 # On the NeXT, cc -E runs the code through the compiler's parser,
13589 # not just through cpp. "Syntax error" is here to catch this case.
13590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13591 /* end confdefs.h. */
13593 # include <limits.h>
13595 # include <assert.h>
13599 if ac_fn_cxx_try_cpp "$LINENO"; then :
13602 # Broken: fails on valid input.
13605 rm -f conftest.err conftest.i conftest.$ac_ext
13607 # OK, works on sane cases. Now check whether nonexistent headers
13608 # can be detected and how.
13609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13610 /* end confdefs.h. */
13611 #include <ac_nonexistent.h>
13613 if ac_fn_cxx_try_cpp "$LINENO"; then :
13614 # Broken: success on invalid input.
13617 # Passes both tests.
13621 rm -f conftest.err conftest.i conftest.$ac_ext
13624 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13625 rm -f conftest.i conftest.err conftest.$ac_ext
13626 if $ac_preproc_ok; then :
13629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13631 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13632 See \`config.log' for more details" "$LINENO" 5; }
13636 ac_cpp='$CPP $CPPFLAGS'
13637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13642 _lt_caught_CXX_error=yes
13646 ac_cpp='$CXXCPP $CPPFLAGS'
13647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13651 archive_cmds_need_lc_CXX=no
13652 allow_undefined_flag_CXX=
13653 always_export_symbols_CXX=no
13654 archive_expsym_cmds_CXX=
13655 compiler_needs_object_CXX=no
13656 export_dynamic_flag_spec_CXX=
13657 hardcode_direct_CXX=no
13658 hardcode_direct_absolute_CXX=no
13659 hardcode_libdir_flag_spec_CXX=
13660 hardcode_libdir_separator_CXX=
13661 hardcode_minus_L_CXX=no
13662 hardcode_shlibpath_var_CXX=unsupported
13663 hardcode_automatic_CXX=no
13664 inherit_rpath_CXX=no
13666 module_expsym_cmds_CXX=
13667 link_all_deplibs_CXX=unknown
13668 old_archive_cmds_CXX=$old_archive_cmds
13669 reload_flag_CXX=$reload_flag
13670 reload_cmds_CXX=$reload_cmds
13671 no_undefined_flag_CXX=
13672 whole_archive_flag_spec_CXX=
13673 enable_shared_with_static_runtimes_CXX=no
13675 # Source file extension for C++ test sources.
13678 # Object file extension for compiled C++ test sources.
13682 # No sense in running all these tests if we already determined that
13683 # the CXX compiler isn't working. Some variables (like enable_shared)
13684 # are currently assumed to apply to all compilers on this platform,
13685 # and will be corrupted by setting them based on a non-working compiler.
13686 if test yes != "$_lt_caught_CXX_error"; then
13687 # Code to be used in simple compile tests
13688 lt_simple_compile_test_code="int some_variable = 0;"
13690 # Code to be used in simple link tests
13691 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13693 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13700 # If no C compiler was specified, use CC.
13703 # If no C compiler flags were specified, use CFLAGS.
13704 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13706 # Allow CC to be a program name with arguments.
13710 # save warnings/boilerplate of simple test code
13711 ac_outfile=conftest.$ac_objext
13712 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13713 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13714 _lt_compiler_boilerplate=`cat conftest.err`
13717 ac_outfile=conftest.$ac_objext
13718 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13719 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13720 _lt_linker_boilerplate=`cat conftest.err`
13724 # Allow CC to be a program name with arguments.
13726 lt_save_CFLAGS=$CFLAGS
13730 lt_save_with_gnu_ld=$with_gnu_ld
13731 lt_save_path_LD=$lt_cv_path_LD
13732 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13733 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13735 $as_unset lt_cv_prog_gnu_ld
13737 if test -n "${lt_cv_path_LDCXX+set}"; then
13738 lt_cv_path_LD=$lt_cv_path_LDCXX
13740 $as_unset lt_cv_path_LD
13742 test -z "${LDCXX+set}" || LD=$LDCXX
13747 for cc_temp in $compiler""; do
13749 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13750 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13755 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13758 if test -n "$compiler"; then
13759 # We don't want -fno-exception when compiling C++ code, so set the
13760 # no_builtin_flag separately
13761 if test yes = "$GXX"; then
13762 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13764 lt_prog_compiler_no_builtin_flag_CXX=
13767 if test yes = "$GXX"; then
13768 # Set up default GNU C++ configuration
13772 # Check whether --with-gnu-ld was given.
13773 if test "${with_gnu_ld+set}" = set; then :
13774 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13780 if test yes = "$GCC"; then
13781 # Check if gcc -print-prog-name=ld gives a path.
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13783 $as_echo_n "checking for ld used by $CC... " >&6; }
13786 # gcc leaves a trailing carriage return, which upsets mingw
13787 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13789 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13792 # Accept absolute paths.
13794 re_direlt='/[^/][^/]*/\.\./'
13795 # Canonicalize the pathname of ld
13796 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13797 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13798 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13800 test -z "$LD" && LD=$ac_prog
13803 # If it fails, then pretend we aren't using GCC.
13807 # If it is relative, then search for the first ld in PATH.
13808 with_gnu_ld=unknown
13811 elif test yes = "$with_gnu_ld"; then
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13813 $as_echo_n "checking for GNU ld... " >&6; }
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13816 $as_echo_n "checking for non-GNU ld... " >&6; }
13818 if ${lt_cv_path_LD+:} false; then :
13819 $as_echo_n "(cached) " >&6
13821 if test -z "$LD"; then
13822 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13823 for ac_dir in $PATH; do
13825 test -z "$ac_dir" && ac_dir=.
13826 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13827 lt_cv_path_LD=$ac_dir/$ac_prog
13828 # Check to see if the program is GNU ld. I'd rather use --version,
13829 # but apparently some variants of GNU ld only accept -v.
13830 # Break only if it was the GNU/non-GNU ld that we prefer.
13831 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13832 *GNU* | *'with BFD'*)
13833 test no != "$with_gnu_ld" && break
13836 test yes != "$with_gnu_ld" && break
13843 lt_cv_path_LD=$LD # Let the user override the test with a path.
13848 if test -n "$LD"; then
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13850 $as_echo "$LD" >&6; }
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13853 $as_echo "no" >&6; }
13855 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13857 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13858 if ${lt_cv_prog_gnu_ld+:} false; then :
13859 $as_echo_n "(cached) " >&6
13861 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13862 case `$LD -v 2>&1 </dev/null` in
13863 *GNU* | *'with BFD'*)
13864 lt_cv_prog_gnu_ld=yes
13867 lt_cv_prog_gnu_ld=no
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13872 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13873 with_gnu_ld=$lt_cv_prog_gnu_ld
13881 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13882 # archiving commands below assume that GNU ld is being used.
13883 if test yes = "$with_gnu_ld"; then
13884 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13885 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'
13887 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13888 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13890 # If archive_cmds runs LD, not CC, wlarc should be empty
13891 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13892 # investigate it a little bit more. (MM)
13895 # ancient GNU ld didn't support --whole-archive et. al.
13896 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13897 $GREP 'no-whole-archive' > /dev/null; then
13898 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13900 whole_archive_flag_spec_CXX=
13906 # A generic and very simple default shared library creation
13907 # command for GNU C++ for the case where it uses the native
13908 # linker, instead of GNU ld. If possible, this setting should
13909 # overridden to take advantage of the native linker features on
13910 # the platform it is being used on.
13911 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13914 # Commands to make compiler produce verbose output that lists
13915 # what "hidden" libraries, object files and flags are used when
13916 # linking a shared library.
13917 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13925 # PORTME: fill in a description of your system's C++ link characteristics
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13927 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13931 # FIXME: insert proper C++ library support
13935 if test ia64 = "$host_cpu"; then
13936 # On IA64, the linker does run time linking by default, so we don't
13937 # have to do anything special.
13938 aix_use_runtimelinking=no
13939 exp_sym_flag='-Bexport'
13942 aix_use_runtimelinking=no
13944 # Test if we are trying to use run time linking or normal
13945 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13946 # need to do runtime linking.
13947 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13948 for ld_flag in $LDFLAGS; do
13951 aix_use_runtimelinking=yes
13959 exp_sym_flag='-bexport'
13960 no_entry_flag='-bnoentry'
13963 # When large executables or shared objects are built, AIX ld can
13964 # have problems creating the table of contents. If linking a library
13965 # or program results in "error TOC overflow" add -mminimal-toc to
13966 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13967 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13969 archive_cmds_CXX=''
13970 hardcode_direct_CXX=yes
13971 hardcode_direct_absolute_CXX=yes
13972 hardcode_libdir_separator_CXX=':'
13973 link_all_deplibs_CXX=yes
13974 file_list_spec_CXX='$wl-f,'
13976 if test yes = "$GXX"; then
13977 case $host_os in aix4.[012]|aix4.[012].*)
13978 # We only want to do this on AIX 4.2 and lower, the check
13979 # below for broken collect2 doesn't work under 4.3+
13980 collect2name=`$CC -print-prog-name=collect2`
13981 if test -f "$collect2name" &&
13982 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13984 # We have reworked collect2
13987 # We have old collect2
13988 hardcode_direct_CXX=unsupported
13989 # It fails to find uninstalled libraries when the uninstalled
13990 # path is not listed in the libpath. Setting hardcode_minus_L
13991 # to unsupported forces relinking
13992 hardcode_minus_L_CXX=yes
13993 hardcode_libdir_flag_spec_CXX='-L$libdir'
13994 hardcode_libdir_separator_CXX=
13997 shared_flag='-shared'
13998 if test yes = "$aix_use_runtimelinking"; then
13999 shared_flag=$shared_flag' $wl-G'
14003 if test ia64 = "$host_cpu"; then
14004 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14005 # chokes on -Wl,-G. The following line is correct:
14008 if test yes = "$aix_use_runtimelinking"; then
14009 shared_flag='$wl-G'
14011 shared_flag='$wl-bM:SRE'
14016 export_dynamic_flag_spec_CXX='$wl-bexpall'
14017 # It seems that -bexpall does not export symbols beginning with
14018 # underscore (_), so it is better to generate a list of symbols to
14020 always_export_symbols_CXX=yes
14021 if test yes = "$aix_use_runtimelinking"; then
14022 # Warning - without using the other runtime loading flags (-brtl),
14023 # -berok will link without error, but may produce a broken library.
14024 allow_undefined_flag_CXX='-berok'
14025 # Determine the default libpath from the value encoded in an empty
14027 if test set = "${lt_cv_aix_libpath+set}"; then
14028 aix_libpath=$lt_cv_aix_libpath
14030 if ${lt_cv_aix_libpath__CXX+:} false; then :
14031 $as_echo_n "(cached) " >&6
14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14044 if ac_fn_cxx_try_link "$LINENO"; then :
14046 lt_aix_libpath_sed='
14047 /Import File Strings/,/^$/ {
14049 s/^0 *\([^ ]*\) *$/\1/
14053 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14054 # Check for a 64-bit object if we didn't find anything.
14055 if test -z "$lt_cv_aix_libpath__CXX"; then
14056 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14059 rm -f core conftest.err conftest.$ac_objext \
14060 conftest$ac_exeext conftest.$ac_ext
14061 if test -z "$lt_cv_aix_libpath__CXX"; then
14062 lt_cv_aix_libpath__CXX=/usr/lib:/lib
14067 aix_libpath=$lt_cv_aix_libpath__CXX
14070 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14072 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
14074 if test ia64 = "$host_cpu"; then
14075 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14076 allow_undefined_flag_CXX="-z nodefs"
14077 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"
14079 # Determine the default libpath from the value encoded in an
14080 # empty executable.
14081 if test set = "${lt_cv_aix_libpath+set}"; then
14082 aix_libpath=$lt_cv_aix_libpath
14084 if ${lt_cv_aix_libpath__CXX+:} false; then :
14085 $as_echo_n "(cached) " >&6
14087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14088 /* end confdefs.h. */
14098 if ac_fn_cxx_try_link "$LINENO"; then :
14100 lt_aix_libpath_sed='
14101 /Import File Strings/,/^$/ {
14103 s/^0 *\([^ ]*\) *$/\1/
14107 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14108 # Check for a 64-bit object if we didn't find anything.
14109 if test -z "$lt_cv_aix_libpath__CXX"; then
14110 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14113 rm -f core conftest.err conftest.$ac_objext \
14114 conftest$ac_exeext conftest.$ac_ext
14115 if test -z "$lt_cv_aix_libpath__CXX"; then
14116 lt_cv_aix_libpath__CXX=/usr/lib:/lib
14121 aix_libpath=$lt_cv_aix_libpath__CXX
14124 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14125 # Warning - without using the other run time loading flags,
14126 # -berok will link without error, but may produce a broken library.
14127 no_undefined_flag_CXX=' $wl-bernotok'
14128 allow_undefined_flag_CXX=' $wl-berok'
14129 if test yes = "$with_gnu_ld"; then
14130 # We only use this code for GNU lds that support --whole-archive.
14131 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14133 # Exported symbols can be pulled into shared objects from archives
14134 whole_archive_flag_spec_CXX='$convenience'
14136 archive_cmds_need_lc_CXX=yes
14137 # This is similar to how AIX traditionally builds its shared
14139 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'
14145 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14146 allow_undefined_flag_CXX=unsupported
14147 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14148 # support --undefined. This deserves some investigation. FIXME
14149 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14156 case $cc_basename in
14158 # FIXME: insert proper C++ library support
14164 cygwin* | mingw* | pw32* | cegcc*)
14165 case $GXX,$cc_basename in
14168 # hardcode_libdir_flag_spec is actually meaningless, as there is
14169 # no search path for DLLs.
14170 hardcode_libdir_flag_spec_CXX=' '
14171 allow_undefined_flag_CXX=unsupported
14172 always_export_symbols_CXX=yes
14173 file_list_spec_CXX='@'
14174 # Tell ltmain to make .lib files, not .a files.
14176 # Tell ltmain to make .dll files, not .so files.
14178 # FIXME: Setting linknames here is a bad hack.
14179 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14180 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14181 cp "$export_symbols" "$output_objdir/$soname.def";
14182 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14184 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14186 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14188 # The linker will not automatically build a static lib if we build a DLL.
14189 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14190 enable_shared_with_static_runtimes_CXX=yes
14192 old_postinstall_cmds_CXX='chmod 644 $oldlib'
14193 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14194 lt_tool_outputfile="@TOOL_OUTPUT@"~
14195 case $lt_outputfile in
14198 lt_outputfile=$lt_outputfile.exe
14199 lt_tool_outputfile=$lt_tool_outputfile.exe
14202 func_to_tool_file "$lt_outputfile"~
14203 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14204 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14205 $RM "$lt_outputfile.manifest";
14210 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14211 # as there is no search path for DLLs.
14212 hardcode_libdir_flag_spec_CXX='-L$libdir'
14213 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14214 allow_undefined_flag_CXX=unsupported
14215 always_export_symbols_CXX=no
14216 enable_shared_with_static_runtimes_CXX=yes
14218 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14219 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'
14220 # If the export-symbols file already is a .def file, use it as
14221 # is; otherwise, prepend EXPORTS...
14222 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14223 cp $export_symbols $output_objdir/$soname.def;
14225 echo EXPORTS > $output_objdir/$soname.def;
14226 cat $export_symbols >> $output_objdir/$soname.def;
14228 $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'
14235 darwin* | rhapsody*)
14238 archive_cmds_need_lc_CXX=no
14239 hardcode_direct_CXX=no
14240 hardcode_automatic_CXX=yes
14241 hardcode_shlibpath_var_CXX=unsupported
14242 if test yes = "$lt_cv_ld_force_load"; then
14243 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\"`'
14246 whole_archive_flag_spec_CXX=''
14248 link_all_deplibs_CXX=yes
14249 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14250 case $cc_basename in
14251 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14252 *) _lt_dar_can_shared=$GCC ;;
14254 if test yes = "$_lt_dar_can_shared"; then
14255 output_verbose_link_cmd=func_echo_all
14256 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"
14257 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14258 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"
14259 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"
14260 if test yes != "$lt_cv_apple_cc_single_mod"; then
14261 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"
14262 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"
14272 case $cc_basename in
14274 # FIXME: insert proper C++ library support
14278 # Green Hills C++ Compiler
14279 # FIXME: insert proper C++ library support
14283 # FIXME: insert proper C++ library support
14290 # C++ shared libraries reported to be fairly broken before
14296 archive_cmds_need_lc_CXX=no
14299 freebsd* | dragonfly*)
14300 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14306 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14307 link_all_deplibs_CXX=yes
14311 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14312 hardcode_libdir_separator_CXX=:
14313 export_dynamic_flag_spec_CXX='$wl-E'
14314 hardcode_direct_CXX=yes
14315 hardcode_minus_L_CXX=yes # Not in the search PATH,
14316 # but as the default
14317 # location of the library.
14319 case $cc_basename in
14321 # FIXME: insert proper C++ library support
14325 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14326 # Commands to make compiler produce verbose output that lists
14327 # what "hidden" libraries, object files and flags are used when
14328 # linking a shared library.
14330 # There doesn't appear to be a way to prevent this compiler from
14331 # explicitly linking system object files so we need to strip them
14332 # from the output so that they don't get included in the library
14334 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"'
14337 if test yes = "$GXX"; then
14338 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14340 # FIXME: insert proper C++ library support
14348 if test no = "$with_gnu_ld"; then
14349 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14350 hardcode_libdir_separator_CXX=:
14356 export_dynamic_flag_spec_CXX='$wl-E'
14362 hardcode_direct_CXX=no
14363 hardcode_shlibpath_var_CXX=no
14366 hardcode_direct_CXX=yes
14367 hardcode_direct_absolute_CXX=yes
14368 hardcode_minus_L_CXX=yes # Not in the search PATH,
14369 # but as the default
14370 # location of the library.
14374 case $cc_basename in
14376 # FIXME: insert proper C++ library support
14382 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14385 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14388 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14391 # Commands to make compiler produce verbose output that lists
14392 # what "hidden" libraries, object files and flags are used when
14393 # linking a shared library.
14395 # There doesn't appear to be a way to prevent this compiler from
14396 # explicitly linking system object files so we need to strip them
14397 # from the output so that they don't get included in the library
14399 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"'
14402 if test yes = "$GXX"; then
14403 if test no = "$with_gnu_ld"; then
14406 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14409 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14412 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'
14417 # FIXME: insert proper C++ library support
14425 hardcode_direct_CXX=no
14426 hardcode_shlibpath_var_CXX=no
14427 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14428 export_dynamic_flag_spec_CXX='$wl-E'
14429 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14430 # Instead, shared libraries are loaded at an image base (0x10000000 by
14431 # default) and relocated if they conflict, which is a slow very memory
14432 # consuming and fragmenting process. To avoid this, we pick a random,
14433 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14434 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14435 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'
14436 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'
14439 case $cc_basename in
14442 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'
14444 # Archives containing C++ object files must be created using
14445 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14446 # necessary to make sure instantiated templates are included
14448 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14451 if test yes = "$GXX"; then
14452 if test no = "$with_gnu_ld"; then
14453 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'
14455 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'
14458 link_all_deplibs_CXX=yes
14461 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14462 hardcode_libdir_separator_CXX=:
14463 inherit_rpath_CXX=yes
14466 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14467 case $cc_basename in
14469 # Kuck and Associates, Inc. (KAI) C++ Compiler
14471 # KCC will only create a shared library if the output file
14472 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14473 # to its proper name (with version) after linking.
14474 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'
14475 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'
14476 # Commands to make compiler produce verbose output that lists
14477 # what "hidden" libraries, object files and flags are used when
14478 # linking a shared library.
14480 # There doesn't appear to be a way to prevent this compiler from
14481 # explicitly linking system object files so we need to strip them
14482 # from the output so that they don't get included in the library
14484 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"'
14486 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14487 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14489 # Archives containing C++ object files must be created using
14490 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14491 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14496 # version 8.0 and above of icpc choke on multiply defined symbols
14497 # if we add $predep_objects and $postdep_objects, however 7.1 and
14498 # earlier do not add the objects themselves.
14499 case `$CC -V 2>&1` in
14501 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14502 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'
14504 *) # Version 8.0 or newer
14507 ia64*) tmp_idyn=' -i_dynamic';;
14509 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14510 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'
14513 archive_cmds_need_lc_CXX=no
14514 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14515 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14516 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14519 # Portland Group C++ compiler
14521 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14522 prelink_cmds_CXX='tpldir=Template.dir~
14524 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14525 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14526 old_archive_cmds_CXX='tpldir=Template.dir~
14528 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14529 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14531 archive_cmds_CXX='tpldir=Template.dir~
14533 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14534 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14535 archive_expsym_cmds_CXX='tpldir=Template.dir~
14537 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14538 $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'
14540 *) # Version 6 and above use weak symbols
14541 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14542 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'
14546 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14547 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14548 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'
14552 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14553 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'
14555 runpath_var=LD_RUN_PATH
14556 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14557 hardcode_libdir_separator_CXX=:
14559 # Commands to make compiler produce verbose output that lists
14560 # what "hidden" libraries, object files and flags are used when
14561 # linking a shared library.
14563 # There doesn't appear to be a way to prevent this compiler from
14564 # explicitly linking system object files so we need to strip them
14565 # from the output so that they don't get included in the library
14567 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'
14569 xl* | mpixl* | bgxl*)
14570 # IBM XL 8.0 on PPC, with GNU ld
14571 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14572 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14573 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14574 if test yes = "$supports_anon_versioning"; then
14575 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14576 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14577 echo "local: *; };" >> $output_objdir/$libname.ver~
14578 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14582 case `$CC -V 2>&1 | sed 5q` in
14585 no_undefined_flag_CXX=' -zdefs'
14586 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14587 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'
14588 hardcode_libdir_flag_spec_CXX='-R$libdir'
14589 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'
14590 compiler_needs_object_CXX=yes
14592 # Not sure whether something based on
14593 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14595 output_verbose_link_cmd='func_echo_all'
14597 # Archives containing C++ object files must be created using
14598 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14599 # necessary to make sure instantiated templates are included
14601 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14609 # FIXME: insert proper C++ library support
14614 # FIXME: insert proper C++ library support
14619 case $cc_basename in
14621 # FIXME: insert proper C++ library support
14625 # FIXME: insert proper C++ library support
14632 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14633 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14635 hardcode_libdir_flag_spec_CXX='-R$libdir'
14636 hardcode_direct_CXX=yes
14637 hardcode_shlibpath_var_CXX=no
14639 # Workaround some broken pre-1.5 toolchains
14640 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14647 openbsd* | bitrig*)
14648 if test -f /usr/libexec/ld.so; then
14649 hardcode_direct_CXX=yes
14650 hardcode_shlibpath_var_CXX=no
14651 hardcode_direct_absolute_CXX=yes
14652 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14653 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14654 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14655 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14656 export_dynamic_flag_spec_CXX='$wl-E'
14657 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14659 output_verbose_link_cmd=func_echo_all
14665 osf3* | osf4* | osf5*)
14666 case $cc_basename in
14668 # Kuck and Associates, Inc. (KAI) C++ Compiler
14670 # KCC will only create a shared library if the output file
14671 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14672 # to its proper name (with version) after linking.
14673 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'
14675 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14676 hardcode_libdir_separator_CXX=:
14678 # Archives containing C++ object files must be created using
14679 # the KAI C++ compiler.
14681 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14682 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14686 # Rational C++ 2.4.1
14687 # FIXME: insert proper C++ library support
14693 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14694 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'
14695 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14698 allow_undefined_flag_CXX=' -expect_unresolved \*'
14699 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'
14700 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14701 echo "-hidden">> $lib.exp~
14702 $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~
14704 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14708 hardcode_libdir_separator_CXX=:
14710 # Commands to make compiler produce verbose output that lists
14711 # what "hidden" libraries, object files and flags are used when
14712 # linking a shared library.
14714 # There doesn't appear to be a way to prevent this compiler from
14715 # explicitly linking system object files so we need to strip them
14716 # from the output so that they don't get included in the library
14718 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"'
14721 if test yes,no = "$GXX,$with_gnu_ld"; then
14722 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14725 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'
14728 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'
14732 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14733 hardcode_libdir_separator_CXX=:
14735 # Commands to make compiler produce verbose output that lists
14736 # what "hidden" libraries, object files and flags are used when
14737 # linking a shared library.
14738 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14741 # FIXME: insert proper C++ library support
14749 # FIXME: insert proper C++ library support
14754 case $cc_basename in
14757 # FIXME: insert proper C++ library support
14762 # FIXME: insert proper C++ library support
14766 # FIXME: insert proper C++ library support
14773 case $cc_basename in
14775 # Sun C++ 4.2, 5.x and Centerline C++
14776 archive_cmds_need_lc_CXX=yes
14777 no_undefined_flag_CXX=' -zdefs'
14778 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14779 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14780 $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'
14782 hardcode_libdir_flag_spec_CXX='-R$libdir'
14783 hardcode_shlibpath_var_CXX=no
14785 solaris2.[0-5] | solaris2.[0-5].*) ;;
14787 # The compiler driver will combine and reorder linker options,
14788 # but understands '-z linker_flag'.
14789 # Supported since Solaris 2.6 (maybe 2.5.1?)
14790 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14793 link_all_deplibs_CXX=yes
14795 output_verbose_link_cmd='func_echo_all'
14797 # Archives containing C++ object files must be created using
14798 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14799 # necessary to make sure instantiated templates are included
14801 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14804 # Green Hills C++ Compiler
14805 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14807 # The C++ compiler must be used to create the archive.
14808 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14811 # GNU C++ compiler with Solaris linker
14812 if test yes,no = "$GXX,$with_gnu_ld"; then
14813 no_undefined_flag_CXX=' $wl-z ${wl}defs'
14814 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14815 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14816 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14817 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14819 # Commands to make compiler produce verbose output that lists
14820 # what "hidden" libraries, object files and flags are used when
14821 # linking a shared library.
14822 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14824 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14826 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14827 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14828 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14830 # Commands to make compiler produce verbose output that lists
14831 # what "hidden" libraries, object files and flags are used when
14832 # linking a shared library.
14833 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14836 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14838 solaris2.[0-5] | solaris2.[0-5].*) ;;
14840 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14848 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14849 no_undefined_flag_CXX='$wl-z,text'
14850 archive_cmds_need_lc_CXX=no
14851 hardcode_shlibpath_var_CXX=no
14852 runpath_var='LD_RUN_PATH'
14854 case $cc_basename in
14856 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14857 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14860 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14861 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14866 sysv5* | sco3.2v5* | sco5v6*)
14867 # Note: We CANNOT use -z defs as we might desire, because we do not
14868 # link with -lc, and that would cause any symbols used from libc to
14869 # always be unresolved, which means just about no library would
14870 # ever link correctly. If we're not using GNU ld we use -z text
14871 # though, which does catch some bad symbols but isn't as heavy-handed
14873 no_undefined_flag_CXX='$wl-z,text'
14874 allow_undefined_flag_CXX='$wl-z,nodefs'
14875 archive_cmds_need_lc_CXX=no
14876 hardcode_shlibpath_var_CXX=no
14877 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14878 hardcode_libdir_separator_CXX=':'
14879 link_all_deplibs_CXX=yes
14880 export_dynamic_flag_spec_CXX='$wl-Bexport'
14881 runpath_var='LD_RUN_PATH'
14883 case $cc_basename in
14885 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14886 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14887 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14888 '"$old_archive_cmds_CXX"
14889 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14890 '"$reload_cmds_CXX"
14893 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14894 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14900 case $cc_basename in
14902 # NonStop-UX NCC 3.20
14903 # FIXME: insert proper C++ library support
14907 # FIXME: insert proper C++ library support
14914 # FIXME: insert proper C++ library support
14919 # FIXME: insert proper C++ library support
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14925 $as_echo "$ld_shlibs_CXX" >&6; }
14926 test no = "$ld_shlibs_CXX" && can_build_shared=no
14932 ## There is no encapsulation within the following macros, do not change
14933 ## the running order or otherwise move them around unless you know exactly
14934 ## what you are doing...
14935 # Dependencies to place before and after the object being linked:
14936 predep_objects_CXX=
14937 postdep_objects_CXX=
14940 compiler_lib_search_path_CXX=
14942 cat > conftest.$ac_ext <<_LT_EOF
14946 Foo (void) { a = 0; }
14953 _lt_libdeps_save_CFLAGS=$CFLAGS
14954 case "$CC $CFLAGS " in #(
14955 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14956 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14957 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14960 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14961 (eval $ac_compile) 2>&5
14963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14964 test $ac_status = 0; }; then
14965 # Parse the compiler output and extract the necessary
14966 # objects, libraries and library flags.
14968 # Sentinel used to keep track of whether or not we are before
14969 # the conftest object file.
14970 pre_test_object_deps_done=no
14972 for p in `eval "$output_verbose_link_cmd"`; do
14976 # Some compilers place space between "-{L,R}" and the path.
14977 # Remove the space.
14978 if test x-L = "$p" ||
14979 test x-R = "$p"; then
14984 # Expand the sysroot to ease extracting the directories later.
14985 if test -z "$prev"; then
14987 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14988 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14989 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14993 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14995 if test no = "$pre_test_object_deps_done"; then
14998 # Internal compiler library paths should come after those
14999 # provided the user. The postdeps already come after the
15000 # user supplied libs so there is no need to process them.
15001 if test -z "$compiler_lib_search_path_CXX"; then
15002 compiler_lib_search_path_CXX=$prev$p
15004 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15007 # The "-l" case would never come before the object being
15008 # linked, so don't bother handling this case.
15011 if test -z "$postdeps_CXX"; then
15012 postdeps_CXX=$prev$p
15014 postdeps_CXX="${postdeps_CXX} $prev$p"
15020 *.lto.$objext) ;; # Ignore GCC LTO objects
15022 # This assumes that the test object file only shows up
15023 # once in the compiler output.
15024 if test "$p" = "conftest.$objext"; then
15025 pre_test_object_deps_done=yes
15029 if test no = "$pre_test_object_deps_done"; then
15030 if test -z "$predep_objects_CXX"; then
15031 predep_objects_CXX=$p
15033 predep_objects_CXX="$predep_objects_CXX $p"
15036 if test -z "$postdep_objects_CXX"; then
15037 postdep_objects_CXX=$p
15039 postdep_objects_CXX="$postdep_objects_CXX $p"
15044 *) ;; # Ignore the rest.
15052 echo "libtool.m4: error: problem compiling CXX test program"
15055 $RM -f confest.$objext
15056 CFLAGS=$_lt_libdeps_save_CFLAGS
15058 # PORTME: override above test on systems where it is broken
15061 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15062 # hack all around it, let's just trust "g++" to DTRT.
15063 predep_objects_CXX=
15064 postdep_objects_CXX=
15069 case `$CC -V 2>&1 | sed 5q` in
15073 # The more standards-conforming stlport4 library is
15074 # incompatible with the Cstd library. Avoid specifying
15075 # it if it's in CXXFLAGS. Ignore libCrun as
15076 # -library=stlport4 depends on it.
15077 case " $CXX $CXXFLAGS " in
15078 *" -library=stlport4 "*)
15079 solaris_use_stlport4=yes
15083 if test yes != "$solaris_use_stlport4"; then
15084 postdeps_CXX='-library=Cstd -library=Crun'
15091 case $cc_basename in
15093 # The more standards-conforming stlport4 library is
15094 # incompatible with the Cstd library. Avoid specifying
15095 # it if it's in CXXFLAGS. Ignore libCrun as
15096 # -library=stlport4 depends on it.
15097 case " $CXX $CXXFLAGS " in
15098 *" -library=stlport4 "*)
15099 solaris_use_stlport4=yes
15103 # Adding this requires a known-good setup of shared libraries for
15104 # Sun compiler versions before 5.6, else PIC objects from an old
15105 # archive will be linked into the output, leading to subtle bugs.
15106 if test yes != "$solaris_use_stlport4"; then
15107 postdeps_CXX='-library=Cstd -library=Crun'
15115 case " $postdeps_CXX " in
15116 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15118 compiler_lib_search_dirs_CXX=
15119 if test -n "${compiler_lib_search_path_CXX}"; then
15120 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15153 lt_prog_compiler_wl_CXX=
15154 lt_prog_compiler_pic_CXX=
15155 lt_prog_compiler_static_CXX=
15158 # C++ specific cases for pic, static, wl, etc.
15159 if test yes = "$GXX"; then
15160 lt_prog_compiler_wl_CXX='-Wl,'
15161 lt_prog_compiler_static_CXX='-static'
15165 # All AIX code is PIC.
15166 if test ia64 = "$host_cpu"; then
15167 # AIX 5 now supports IA64 processor
15168 lt_prog_compiler_static_CXX='-Bstatic'
15170 lt_prog_compiler_pic_CXX='-fPIC'
15176 # see comment about AmigaOS4 .so support
15177 lt_prog_compiler_pic_CXX='-fPIC'
15180 # FIXME: we need at least 68020 code to build shared libraries, but
15181 # adding the '-m68020' flag to GCC prevents building anything better,
15183 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15188 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15189 # PIC is the default for these OSes.
15191 mingw* | cygwin* | os2* | pw32* | cegcc*)
15192 # This hack is so that the source file can tell whether it is being
15193 # built for inclusion in a dll (and should export symbols for example).
15194 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15195 # (--disable-auto-import) libraries
15196 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15198 darwin* | rhapsody*)
15199 # PIC is the default on this platform
15200 # Common symbols not allowed in MH_DYLIB files
15201 lt_prog_compiler_pic_CXX='-fno-common'
15204 # DJGPP does not support shared libraries at all
15205 lt_prog_compiler_pic_CXX=
15208 # PIC is the default for Haiku.
15209 # The "-static" flag exists, but is broken.
15210 lt_prog_compiler_static_CXX=
15213 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15214 # Instead, we relocate shared libraries at runtime.
15217 if test -d /usr/nec; then
15218 lt_prog_compiler_pic_CXX=-Kconform_pic
15222 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15223 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15224 # sets the default TLS model and affects inlining.
15229 lt_prog_compiler_pic_CXX='-fPIC'
15234 # QNX uses GNU C++, but need to define -shared option too, otherwise
15235 # it will coredump.
15236 lt_prog_compiler_pic_CXX='-fPIC -shared'
15239 lt_prog_compiler_pic_CXX='-fPIC'
15245 # All AIX code is PIC.
15246 if test ia64 = "$host_cpu"; then
15247 # AIX 5 now supports IA64 processor
15248 lt_prog_compiler_static_CXX='-Bstatic'
15250 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15254 case $cc_basename in
15256 # Green Hills C++ Compiler
15257 # _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"
15261 mingw* | cygwin* | os2* | pw32* | cegcc*)
15262 # This hack is so that the source file can tell whether it is being
15263 # built for inclusion in a dll (and should export symbols for example).
15264 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15267 case $cc_basename in
15269 lt_prog_compiler_pic_CXX='-KPIC'
15272 # Green Hills C++ Compiler
15273 lt_prog_compiler_pic_CXX='-pic'
15279 freebsd* | dragonfly*)
15280 # FreeBSD uses GNU C++
15282 hpux9* | hpux10* | hpux11*)
15283 case $cc_basename in
15285 lt_prog_compiler_wl_CXX='-Wl,'
15286 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15287 if test ia64 != "$host_cpu"; then
15288 lt_prog_compiler_pic_CXX='+Z'
15292 lt_prog_compiler_wl_CXX='-Wl,'
15293 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15299 lt_prog_compiler_pic_CXX='+Z'
15308 # This is c89, which is MS Visual C++ (no shared libs)
15309 # Anyone wants to do a port?
15311 irix5* | irix6* | nonstopux*)
15312 case $cc_basename in
15314 lt_prog_compiler_wl_CXX='-Wl,'
15315 lt_prog_compiler_static_CXX='-non_shared'
15316 # CC pic flag -KPIC is the default.
15322 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15323 case $cc_basename in
15326 lt_prog_compiler_wl_CXX='--backend -Wl,'
15327 lt_prog_compiler_pic_CXX='-fPIC'
15330 # old Intel C++ for x86_64, which still supported -KPIC.
15331 lt_prog_compiler_wl_CXX='-Wl,'
15332 lt_prog_compiler_pic_CXX='-KPIC'
15333 lt_prog_compiler_static_CXX='-static'
15336 # Intel C++, used to be incompatible with GCC.
15337 # ICC 10 doesn't accept -KPIC any more.
15338 lt_prog_compiler_wl_CXX='-Wl,'
15339 lt_prog_compiler_pic_CXX='-fPIC'
15340 lt_prog_compiler_static_CXX='-static'
15343 # Portland Group C++ compiler
15344 lt_prog_compiler_wl_CXX='-Wl,'
15345 lt_prog_compiler_pic_CXX='-fpic'
15346 lt_prog_compiler_static_CXX='-Bstatic'
15350 # Make sure the PIC flag is empty. It appears that all Alpha
15351 # Linux and Compaq Tru64 Unix objects are PIC.
15352 lt_prog_compiler_pic_CXX=
15353 lt_prog_compiler_static_CXX='-non_shared'
15355 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15356 # IBM XL 8.0, 9.0 on PPC and BlueGene
15357 lt_prog_compiler_wl_CXX='-Wl,'
15358 lt_prog_compiler_pic_CXX='-qpic'
15359 lt_prog_compiler_static_CXX='-qstaticlink'
15362 case `$CC -V 2>&1 | sed 5q` in
15365 lt_prog_compiler_pic_CXX='-KPIC'
15366 lt_prog_compiler_static_CXX='-Bstatic'
15367 lt_prog_compiler_wl_CXX='-Qoption ld '
15378 case $cc_basename in
15380 lt_prog_compiler_pic_CXX='-W c,exportall'
15389 # QNX uses GNU C++, but need to define -shared option too, otherwise
15390 # it will coredump.
15391 lt_prog_compiler_pic_CXX='-fPIC -shared'
15393 osf3* | osf4* | osf5*)
15394 case $cc_basename in
15396 lt_prog_compiler_wl_CXX='--backend -Wl,'
15399 # Rational C++ 2.4.1
15400 lt_prog_compiler_pic_CXX='-pic'
15403 # Digital/Compaq C++
15404 lt_prog_compiler_wl_CXX='-Wl,'
15405 # Make sure the PIC flag is empty. It appears that all Alpha
15406 # Linux and Compaq Tru64 Unix objects are PIC.
15407 lt_prog_compiler_pic_CXX=
15408 lt_prog_compiler_static_CXX='-non_shared'
15417 case $cc_basename in
15419 # Sun C++ 4.2, 5.x and Centerline C++
15420 lt_prog_compiler_pic_CXX='-KPIC'
15421 lt_prog_compiler_static_CXX='-Bstatic'
15422 lt_prog_compiler_wl_CXX='-Qoption ld '
15425 # Green Hills C++ Compiler
15426 lt_prog_compiler_pic_CXX='-PIC'
15433 case $cc_basename in
15436 lt_prog_compiler_pic_CXX='-pic'
15437 lt_prog_compiler_static_CXX='-Bstatic'
15441 lt_prog_compiler_pic_CXX='-pic'
15447 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15448 case $cc_basename in
15450 lt_prog_compiler_wl_CXX='-Wl,'
15451 lt_prog_compiler_pic_CXX='-KPIC'
15452 lt_prog_compiler_static_CXX='-Bstatic'
15457 case $cc_basename in
15459 # NonStop-UX NCC 3.20
15460 lt_prog_compiler_pic_CXX='-KPIC'
15469 lt_prog_compiler_can_build_shared_CXX=no
15475 # For platforms that do not support PIC, -DPIC is meaningless:
15477 lt_prog_compiler_pic_CXX=
15480 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15485 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15486 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15487 $as_echo_n "(cached) " >&6
15489 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15492 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15493 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15496 # Check to make sure the PIC flag actually works.
15498 if test -n "$lt_prog_compiler_pic_CXX"; then
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15500 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15501 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15502 $as_echo_n "(cached) " >&6
15504 lt_cv_prog_compiler_pic_works_CXX=no
15505 ac_outfile=conftest.$ac_objext
15506 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15507 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15508 # Insert the option either (1) after the last *FLAGS variable, or
15509 # (2) before a word containing "conftest.", or (3) at the end.
15510 # Note that $ac_compile itself does not contain backslashes and begins
15511 # with a dollar sign (not a hyphen), so the echo should work correctly.
15512 # The option is referenced via a variable to avoid confusing sed.
15513 lt_compile=`echo "$ac_compile" | $SED \
15514 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15515 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15516 -e 's:$: $lt_compiler_flag:'`
15517 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15518 (eval "$lt_compile" 2>conftest.err)
15520 cat conftest.err >&5
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 if (exit $ac_status) && test -s "$ac_outfile"; then
15523 # The compiler can only warn and ignore the option if not recognized
15524 # So say no if there are warnings other than the usual output.
15525 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15526 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15527 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15528 lt_cv_prog_compiler_pic_works_CXX=yes
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15535 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15537 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15538 case $lt_prog_compiler_pic_CXX in
15540 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15543 lt_prog_compiler_pic_CXX=
15544 lt_prog_compiler_can_build_shared_CXX=no
15554 # Check to make sure the static flag actually works.
15556 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15558 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15559 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15560 $as_echo_n "(cached) " >&6
15562 lt_cv_prog_compiler_static_works_CXX=no
15563 save_LDFLAGS=$LDFLAGS
15564 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15565 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15566 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15567 # The linker can only warn and ignore the option if not recognized
15568 # So say no if there are warnings
15569 if test -s conftest.err; then
15570 # Append any errors to the config.log.
15571 cat conftest.err 1>&5
15572 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15573 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15574 if diff conftest.exp conftest.er2 >/dev/null; then
15575 lt_cv_prog_compiler_static_works_CXX=yes
15578 lt_cv_prog_compiler_static_works_CXX=yes
15582 LDFLAGS=$save_LDFLAGS
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15586 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15588 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15591 lt_prog_compiler_static_CXX=
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15598 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15599 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15600 $as_echo_n "(cached) " >&6
15602 lt_cv_prog_compiler_c_o_CXX=no
15603 $RM -r conftest 2>/dev/null
15607 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15609 lt_compiler_flag="-o out/conftest2.$ac_objext"
15610 # Insert the option either (1) after the last *FLAGS variable, or
15611 # (2) before a word containing "conftest.", or (3) at the end.
15612 # Note that $ac_compile itself does not contain backslashes and begins
15613 # with a dollar sign (not a hyphen), so the echo should work correctly.
15614 lt_compile=`echo "$ac_compile" | $SED \
15615 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15616 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15617 -e 's:$: $lt_compiler_flag:'`
15618 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15619 (eval "$lt_compile" 2>out/conftest.err)
15621 cat out/conftest.err >&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15625 # The compiler can only warn and ignore the option if not recognized
15626 # So say no if there are warnings
15627 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15628 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15629 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15630 lt_cv_prog_compiler_c_o_CXX=yes
15635 # SGI C++ compiler will create directory out/ii_files/ for
15636 # template instantiation
15637 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15638 $RM out/* && rmdir out
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15645 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15650 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15651 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15652 $as_echo_n "(cached) " >&6
15654 lt_cv_prog_compiler_c_o_CXX=no
15655 $RM -r conftest 2>/dev/null
15659 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15661 lt_compiler_flag="-o out/conftest2.$ac_objext"
15662 # Insert the option either (1) after the last *FLAGS variable, or
15663 # (2) before a word containing "conftest.", or (3) at the end.
15664 # Note that $ac_compile itself does not contain backslashes and begins
15665 # with a dollar sign (not a hyphen), so the echo should work correctly.
15666 lt_compile=`echo "$ac_compile" | $SED \
15667 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15668 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15669 -e 's:$: $lt_compiler_flag:'`
15670 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15671 (eval "$lt_compile" 2>out/conftest.err)
15673 cat out/conftest.err >&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15677 # The compiler can only warn and ignore the option if not recognized
15678 # So say no if there are warnings
15679 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15680 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15681 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15682 lt_cv_prog_compiler_c_o_CXX=yes
15687 # SGI C++ compiler will create directory out/ii_files/ for
15688 # template instantiation
15689 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15690 $RM out/* && rmdir out
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15697 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15702 hard_links=nottested
15703 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15704 # do not overwrite the value of need_locks provided by the user
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15706 $as_echo_n "checking if we can lock with hard links... " >&6; }
15709 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15711 ln conftest.a conftest.b 2>&5 || hard_links=no
15712 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15714 $as_echo "$hard_links" >&6; }
15715 if test no = "$hard_links"; then
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15717 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15727 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15729 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15730 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15733 # If we're using GNU nm, then we don't want the "-C" option.
15734 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15735 # Also, AIX nm treats weak defined symbols like other global defined
15736 # symbols, whereas GNU nm marks them as "W".
15737 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15738 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'
15740 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'
15744 export_symbols_cmds_CXX=$ltdll_cmds
15746 cygwin* | mingw* | cegcc*)
15747 case $cc_basename in
15749 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15752 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'
15753 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15758 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15763 $as_echo "$ld_shlibs_CXX" >&6; }
15764 test no = "$ld_shlibs_CXX" && can_build_shared=no
15766 with_gnu_ld_CXX=$with_gnu_ld
15774 # Do we need to explicitly link libc?
15776 case "x$archive_cmds_need_lc_CXX" in
15778 # Assume -lc should be added
15779 archive_cmds_need_lc_CXX=yes
15781 if test yes,yes = "$GCC,$enable_shared"; then
15782 case $archive_cmds_CXX in
15784 # FIXME: we may have to deal with multi-command sequences.
15787 # Test whether the compiler implicitly links with -lc since on some
15788 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15789 # to ld, don't add -lc before -lgcc.
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15791 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15792 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15793 $as_echo_n "(cached) " >&6
15796 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15798 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15799 (eval $ac_compile) 2>&5
15801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15802 test $ac_status = 0; } 2>conftest.err; then
15805 libobjs=conftest.$ac_objext
15807 wl=$lt_prog_compiler_wl_CXX
15808 pic_flag=$lt_prog_compiler_pic_CXX
15814 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15815 allow_undefined_flag_CXX=
15816 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15817 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15820 test $ac_status = 0; }
15822 lt_cv_archive_cmds_need_lc_CXX=no
15824 lt_cv_archive_cmds_need_lc_CXX=yes
15826 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15828 cat conftest.err 1>&5
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15834 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15835 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15904 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15906 library_names_spec=
15907 libname_spec='lib$name'
15911 postuninstall_cmds=
15915 shlibpath_overrides_runpath=unknown
15917 dynamic_linker="$host_os ld.so"
15918 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15919 need_lib_prefix=unknown
15920 hardcode_into_libs=no
15922 # when you set need_version to no, make sure it does not cause -set_version
15923 # flags to be left without arguments
15924 need_version=unknown
15928 version_type=linux # correct to gnu/linux during the next big refactor
15929 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15930 shlibpath_var=LIBPATH
15932 # AIX 3 has no versioning support, so we append a major version to the name.
15933 soname_spec='$libname$release$shared_ext$major'
15937 version_type=linux # correct to gnu/linux during the next big refactor
15940 hardcode_into_libs=yes
15941 if test ia64 = "$host_cpu"; then
15942 # AIX 5 supports IA64
15943 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15944 shlibpath_var=LD_LIBRARY_PATH
15946 # With GCC up to 2.95.x, collect2 would create an import file
15947 # for dependence libraries. The import file would start with
15948 # the line '#! .'. This would cause the generated library to
15949 # depend on '.', always an invalid library. This was fixed in
15950 # development snapshots of GCC prior to 3.0.
15952 aix4 | aix4.[01] | aix4.[01].*)
15953 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15955 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15958 can_build_shared=no
15962 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15963 # soname into executable. Probably we can add versioning support to
15964 # collect2, so additional links can be useful in future.
15965 if test yes = "$aix_use_runtimelinking"; then
15966 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15967 # instead of lib<name>.a to let people know that these are not
15968 # typical AIX shared libraries.
15969 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15971 # We preserve .a as extension for shared libraries through AIX4.2
15972 # and later when we are not doing run time linking.
15973 library_names_spec='$libname$release.a $libname.a'
15974 soname_spec='$libname$release$shared_ext$major'
15976 shlibpath_var=LIBPATH
15983 # Since July 2007 AmigaOS4 officially supports .so libraries.
15984 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15985 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15988 library_names_spec='$libname.ixlibrary $libname.a'
15989 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15990 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
15996 library_names_spec='$libname$shared_ext'
15997 dynamic_linker="$host_os ld.so"
15998 shlibpath_var=LIBRARY_PATH
16002 version_type=linux # correct to gnu/linux during the next big refactor
16004 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16005 soname_spec='$libname$release$shared_ext$major'
16006 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16007 shlibpath_var=LD_LIBRARY_PATH
16008 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16009 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16010 # the default ld.so.conf also contains /usr/contrib/lib and
16011 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16012 # libtool to hard-code these into programs
16015 cygwin* | mingw* | pw32* | cegcc*)
16016 version_type=windows
16021 case $GCC,$cc_basename in
16024 library_names_spec='$libname.dll.a'
16025 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16026 postinstall_cmds='base_file=`basename \$file`~
16027 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16028 dldir=$destdir/`dirname \$dlpath`~
16029 test -d \$dldir || mkdir -p \$dldir~
16030 $install_prog $dir/$dlname \$dldir/$dlname~
16031 chmod a+x \$dldir/$dlname~
16032 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16033 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16035 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16036 dlpath=$dir/\$dldll~
16038 shlibpath_overrides_runpath=yes
16042 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16043 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16047 # MinGW DLLs use traditional 'lib' prefix
16048 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16051 # pw32 DLLs use 'pw' prefix rather than 'lib'
16052 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16055 dynamic_linker='Win32 ld.exe'
16060 libname_spec='$name'
16061 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16062 library_names_spec='$libname.dll.lib'
16066 sys_lib_search_path_spec=
16069 for lt_path in $LIB
16072 # Let DOS variable expansion print the short 8.3 style file name.
16073 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16074 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16077 # Convert to MSYS style.
16078 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16081 # Convert to unix form, then to dos form, then back to unix form
16082 # but this time dos style (no spaces!) so that the unix form looks
16083 # like /cygdrive/c/PROGRA~1:/cygdr...
16084 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16085 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16086 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16089 sys_lib_search_path_spec=$LIB
16090 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16091 # It is most probably a Windows format PATH.
16092 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16094 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16096 # FIXME: find the short name or the path components, as spaces are
16097 # common. (e.g. "Program Files" -> "PROGRA~1")
16101 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16102 postinstall_cmds='base_file=`basename \$file`~
16103 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16104 dldir=$destdir/`dirname \$dlpath`~
16105 test -d \$dldir || mkdir -p \$dldir~
16106 $install_prog $dir/$dlname \$dldir/$dlname'
16107 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16108 dlpath=$dir/\$dldll~
16110 shlibpath_overrides_runpath=yes
16111 dynamic_linker='Win32 link.exe'
16115 # Assume MSVC wrapper
16116 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16117 dynamic_linker='Win32 ld.exe'
16120 # FIXME: first we should search . and the directory the executable is in
16124 darwin* | rhapsody*)
16125 dynamic_linker="$host_os dyld"
16126 version_type=darwin
16129 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16130 soname_spec='$libname$release$major$shared_ext'
16131 shlibpath_overrides_runpath=yes
16132 shlibpath_var=DYLD_LIBRARY_PATH
16133 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16135 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16139 version_type=linux # correct to gnu/linux during the next big refactor
16142 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16143 soname_spec='$libname$release$shared_ext$major'
16144 shlibpath_var=LD_LIBRARY_PATH
16147 freebsd* | dragonfly*)
16148 # DragonFly does not have aout. When/if they implement a new
16149 # versioning mechanism, adjust this.
16150 if test -x /usr/bin/objformat; then
16151 objformat=`/usr/bin/objformat`
16154 freebsd[23].*) objformat=aout ;;
16155 *) objformat=elf ;;
16158 version_type=freebsd-$objformat
16159 case $version_type in
16161 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16166 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16170 shlibpath_var=LD_LIBRARY_PATH
16173 shlibpath_overrides_runpath=yes
16175 freebsd3.[01]* | freebsdelf3.[01]*)
16176 shlibpath_overrides_runpath=yes
16177 hardcode_into_libs=yes
16179 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16180 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16181 shlibpath_overrides_runpath=no
16182 hardcode_into_libs=yes
16184 *) # from 4.6 on, and DragonFly
16185 shlibpath_overrides_runpath=yes
16186 hardcode_into_libs=yes
16192 version_type=linux # correct to gnu/linux during the next big refactor
16195 dynamic_linker="$host_os runtime_loader"
16196 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16197 soname_spec='$libname$release$shared_ext$major'
16198 shlibpath_var=LIBRARY_PATH
16199 shlibpath_overrides_runpath=no
16200 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16201 hardcode_into_libs=yes
16204 hpux9* | hpux10* | hpux11*)
16205 # Give a soname corresponding to the major version so that dld.sl refuses to
16206 # link against other versions.
16213 hardcode_into_libs=yes
16214 dynamic_linker="$host_os dld.so"
16215 shlibpath_var=LD_LIBRARY_PATH
16216 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16217 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16218 soname_spec='$libname$release$shared_ext$major'
16219 if test 32 = "$HPUX_IA64_MODE"; then
16220 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16222 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16224 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16228 hardcode_into_libs=yes
16229 dynamic_linker="$host_os dld.sl"
16230 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16231 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16232 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16233 soname_spec='$libname$release$shared_ext$major'
16234 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16235 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16239 dynamic_linker="$host_os dld.sl"
16240 shlibpath_var=SHLIB_PATH
16241 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16242 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16243 soname_spec='$libname$release$shared_ext$major'
16246 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16247 postinstall_cmds='chmod 555 $lib'
16248 # or fails outright, so override atomically:
16249 install_override_mode=555
16253 version_type=linux # correct to gnu/linux during the next big refactor
16256 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16257 soname_spec='$libname$release$shared_ext$major'
16258 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16259 shlibpath_var=LD_LIBRARY_PATH
16260 shlibpath_overrides_runpath=no
16261 hardcode_into_libs=yes
16264 irix5* | irix6* | nonstopux*)
16266 nonstopux*) version_type=nonstopux ;;
16268 if test yes = "$lt_cv_prog_gnu_ld"; then
16269 version_type=linux # correct to gnu/linux during the next big refactor
16276 soname_spec='$libname$release$shared_ext$major'
16277 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16279 irix5* | nonstopux*)
16280 libsuff= shlibsuff=
16283 case $LD in # libtool.m4 will add one of these switches to LD
16284 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16285 libsuff= shlibsuff= libmagic=32-bit;;
16286 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16287 libsuff=32 shlibsuff=N32 libmagic=N32;;
16288 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16289 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16290 *) libsuff= shlibsuff= libmagic=never-match;;
16294 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16295 shlibpath_overrides_runpath=no
16296 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16297 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16298 hardcode_into_libs=yes
16301 # No shared lib support for Linux oldld, aout, or coff.
16302 linux*oldld* | linux*aout* | linux*coff*)
16307 version_type=none # Android doesn't support versioned libraries.
16310 library_names_spec='$libname$release$shared_ext'
16311 soname_spec='$libname$release$shared_ext'
16313 shlibpath_var=LD_LIBRARY_PATH
16314 shlibpath_overrides_runpath=yes
16316 # This implies no fast_install, which is unacceptable.
16317 # Some rework will be needed to allow for fast_install
16318 # before this can be enabled.
16319 hardcode_into_libs=yes
16321 dynamic_linker='Android linker'
16322 # Don't embed -rpath directories since the linker doesn't support them.
16323 hardcode_libdir_flag_spec_CXX='-L$libdir'
16326 # This must be glibc/ELF.
16327 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16328 version_type=linux # correct to gnu/linux during the next big refactor
16331 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16332 soname_spec='$libname$release$shared_ext$major'
16333 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16334 shlibpath_var=LD_LIBRARY_PATH
16335 shlibpath_overrides_runpath=no
16337 # Some binutils ld are patched to set DT_RUNPATH
16338 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16339 $as_echo_n "(cached) " >&6
16341 lt_cv_shlibpath_overrides_runpath=no
16342 save_LDFLAGS=$LDFLAGS
16343 save_libdir=$libdir
16344 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16345 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16347 /* end confdefs.h. */
16357 if ac_fn_cxx_try_link "$LINENO"; then :
16358 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16359 lt_cv_shlibpath_overrides_runpath=yes
16362 rm -f core conftest.err conftest.$ac_objext \
16363 conftest$ac_exeext conftest.$ac_ext
16364 LDFLAGS=$save_LDFLAGS
16365 libdir=$save_libdir
16369 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16371 # This implies no fast_install, which is unacceptable.
16372 # Some rework will be needed to allow for fast_install
16373 # before this can be enabled.
16374 hardcode_into_libs=yes
16376 # Append ld.so.conf contents to the search path
16377 if test -f /etc/ld.so.conf; then
16378 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' ' '`
16379 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16382 # We used to test for /lib/ld.so.1 and disable shared libraries on
16383 # powerpc, because MkLinux only supported shared libraries with the
16384 # GNU dynamic linker. Since this was broken with cross compilers,
16385 # most powerpc-linux boxes support dynamic linking these days and
16386 # people can always --disable-shared, the test was removed, and we
16387 # assume the GNU/Linux dynamic linker is in use.
16388 dynamic_linker='GNU/Linux ld.so'
16395 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16396 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16397 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16398 dynamic_linker='NetBSD (a.out) ld.so'
16400 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16401 soname_spec='$libname$release$shared_ext$major'
16402 dynamic_linker='NetBSD ld.elf_so'
16404 shlibpath_var=LD_LIBRARY_PATH
16405 shlibpath_overrides_runpath=yes
16406 hardcode_into_libs=yes
16410 version_type=linux # correct to gnu/linux during the next big refactor
16411 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16412 shlibpath_var=LD_LIBRARY_PATH
16413 shlibpath_overrides_runpath=yes
16420 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16421 soname_spec='$libname$release$shared_ext$major'
16422 shlibpath_var=LD_LIBRARY_PATH
16423 shlibpath_overrides_runpath=no
16424 hardcode_into_libs=yes
16425 dynamic_linker='ldqnx.so'
16428 openbsd* | bitrig*)
16430 sys_lib_dlsearch_path_spec=/usr/lib
16432 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16437 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16438 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16439 shlibpath_var=LD_LIBRARY_PATH
16440 shlibpath_overrides_runpath=yes
16444 libname_spec='$name'
16447 library_names_spec='$libname$shared_ext $libname.a'
16448 dynamic_linker='OS/2 ld.exe'
16449 shlibpath_var=LIBPATH
16452 osf3* | osf4* | osf5*)
16456 soname_spec='$libname$release$shared_ext$major'
16457 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16458 shlibpath_var=LD_LIBRARY_PATH
16459 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16460 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16468 version_type=linux # correct to gnu/linux during the next big refactor
16471 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16472 soname_spec='$libname$release$shared_ext$major'
16473 shlibpath_var=LD_LIBRARY_PATH
16474 shlibpath_overrides_runpath=yes
16475 hardcode_into_libs=yes
16476 # ldd complains unless libraries are executable
16477 postinstall_cmds='chmod +x $lib'
16482 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16483 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16484 shlibpath_var=LD_LIBRARY_PATH
16485 shlibpath_overrides_runpath=yes
16486 if test yes = "$with_gnu_ld"; then
16493 version_type=linux # correct to gnu/linux during the next big refactor
16494 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16495 soname_spec='$libname$release$shared_ext$major'
16496 shlibpath_var=LD_LIBRARY_PATH
16497 case $host_vendor in
16499 shlibpath_overrides_runpath=no
16501 runpath_var=LD_RUN_PATH
16509 shlibpath_overrides_runpath=no
16510 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16516 if test -d /usr/nec; then
16517 version_type=linux # correct to gnu/linux during the next big refactor
16518 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16519 soname_spec='$libname$shared_ext.$major'
16520 shlibpath_var=LD_LIBRARY_PATH
16524 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16525 version_type=freebsd-elf
16528 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16529 soname_spec='$libname$release$shared_ext$major'
16530 shlibpath_var=LD_LIBRARY_PATH
16531 shlibpath_overrides_runpath=yes
16532 hardcode_into_libs=yes
16533 if test yes = "$with_gnu_ld"; then
16534 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16536 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16539 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16543 sys_lib_dlsearch_path_spec='/usr/lib'
16547 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16548 version_type=linux # correct to gnu/linux during the next big refactor
16551 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16552 shlibpath_var=LD_LIBRARY_PATH
16553 shlibpath_overrides_runpath=no
16554 hardcode_into_libs=yes
16558 version_type=linux # correct to gnu/linux during the next big refactor
16559 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16560 soname_spec='$libname$release$shared_ext$major'
16561 shlibpath_var=LD_LIBRARY_PATH
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16569 $as_echo "$dynamic_linker" >&6; }
16570 test no = "$dynamic_linker" && can_build_shared=no
16572 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16573 if test yes = "$GCC"; then
16574 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16577 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16578 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16580 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16581 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16622 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16623 hardcode_action_CXX=
16624 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16625 test -n "$runpath_var_CXX" ||
16626 test yes = "$hardcode_automatic_CXX"; then
16628 # We can hardcode non-existent directories.
16629 if test no != "$hardcode_direct_CXX" &&
16630 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16631 # have to relink, otherwise we might link with an installed library
16632 # when we should be linking with a yet-to-be-installed one
16633 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16634 test no != "$hardcode_minus_L_CXX"; then
16635 # Linking always hardcodes the temporary library directory.
16636 hardcode_action_CXX=relink
16638 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16639 hardcode_action_CXX=immediate
16642 # We cannot hardcode anything, or else we can only hardcode existing
16644 hardcode_action_CXX=unsupported
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16647 $as_echo "$hardcode_action_CXX" >&6; }
16649 if test relink = "$hardcode_action_CXX" ||
16650 test yes = "$inherit_rpath_CXX"; then
16651 # Fast installation is not supported
16652 enable_fast_install=no
16653 elif test yes = "$shlibpath_overrides_runpath" ||
16654 test no = "$enable_shared"; then
16655 # Fast installation is not necessary
16656 enable_fast_install=needless
16665 fi # test -n "$compiler"
16668 CFLAGS=$lt_save_CFLAGS
16672 with_gnu_ld=$lt_save_with_gnu_ld
16673 lt_cv_path_LDCXX=$lt_cv_path_LD
16674 lt_cv_path_LD=$lt_save_path_LD
16675 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16676 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16677 fi # test yes != "$_lt_caught_CXX_error"
16680 ac_cpp='$CPP $CPPFLAGS'
16681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16688 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16689 if test -n "$ac_tool_prefix"; then
16690 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16691 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16693 $as_echo_n "checking for $ac_word... " >&6; }
16694 if ${ac_cv_path_PKG_CONFIG+:} false; then :
16695 $as_echo_n "(cached) " >&6
16697 case $PKG_CONFIG in
16699 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16703 for as_dir in $PATH
16706 test -z "$as_dir" && as_dir=.
16707 for ac_exec_ext in '' $ac_executable_extensions; do
16708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16709 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16720 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16721 if test -n "$PKG_CONFIG"; then
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16723 $as_echo "$PKG_CONFIG" >&6; }
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16726 $as_echo "no" >&6; }
16731 if test -z "$ac_cv_path_PKG_CONFIG"; then
16732 ac_pt_PKG_CONFIG=$PKG_CONFIG
16733 # Extract the first word of "pkg-config", so it can be a program name with args.
16734 set dummy pkg-config; ac_word=$2
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16736 $as_echo_n "checking for $ac_word... " >&6; }
16737 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16738 $as_echo_n "(cached) " >&6
16740 case $ac_pt_PKG_CONFIG in
16742 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16746 for as_dir in $PATH
16749 test -z "$as_dir" && as_dir=.
16750 for ac_exec_ext in '' $ac_executable_extensions; do
16751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16752 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16763 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16764 if test -n "$ac_pt_PKG_CONFIG"; then
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16766 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16769 $as_echo "no" >&6; }
16772 if test "x$ac_pt_PKG_CONFIG" = x; then
16775 case $cross_compiling:$ac_tool_warned in
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16779 ac_tool_warned=yes ;;
16781 PKG_CONFIG=$ac_pt_PKG_CONFIG
16784 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16788 if test -n "$PKG_CONFIG"; then
16789 _pkg_min_version=0.20
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16791 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16792 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16794 $as_echo "yes" >&6; }
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16797 $as_echo "no" >&6; }
16803 RAGEL=${RAGEL-"${am_missing_run}ragel"}
16806 GIT=${GIT-"${am_missing_run}git"}
16816 HB_VERSION_MICRO=40
16828 HB_LIBTOOL_VERSION_INFO=940:0:940
16837 gtk_doc_requires="gtk-doc >= 1.15"
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
16839 $as_echo_n "checking for gtk-doc... " >&6; }
16840 if test -n "$PKG_CONFIG" && \
16841 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
16842 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
16844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16845 test $ac_status = 0; }; then
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
16851 $as_echo "$have_gtk_doc" >&6; }
16853 if test "$have_gtk_doc" = "no"; then
16854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
16855 You will not be able to create source packages with 'make dist'
16856 because $gtk_doc_requires is not found." >&5
16857 $as_echo "$as_me: WARNING:
16858 You will not be able to create source packages with 'make dist'
16859 because $gtk_doc_requires is not found." >&2;}
16862 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
16863 set dummy gtkdoc-check; ac_word=$2
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16865 $as_echo_n "checking for $ac_word... " >&6; }
16866 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
16867 $as_echo_n "(cached) " >&6
16869 if test -n "$GTKDOC_CHECK"; then
16870 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
16872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16873 for as_dir in $PATH
16876 test -z "$as_dir" && as_dir=.
16877 for ac_exec_ext in '' $ac_executable_extensions; do
16878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16879 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
16880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16889 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
16890 if test -n "$GTKDOC_CHECK"; then
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
16892 $as_echo "$GTKDOC_CHECK" >&6; }
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16895 $as_echo "no" >&6; }
16899 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
16900 set dummy gtkdoc-check; ac_word=$2
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16902 $as_echo_n "checking for $ac_word... " >&6; }
16903 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
16904 $as_echo_n "(cached) " >&6
16906 case $GTKDOC_CHECK_PATH in
16908 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
16911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16912 for as_dir in $PATH
16915 test -z "$as_dir" && as_dir=.
16916 for ac_exec_ext in '' $ac_executable_extensions; do
16917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16918 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
16919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16929 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
16930 if test -n "$GTKDOC_CHECK_PATH"; then
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
16932 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16935 $as_echo "no" >&6; }
16939 for ac_prog in gtkdoc-rebase
16941 # Extract the first word of "$ac_prog", so it can be a program name with args.
16942 set dummy $ac_prog; ac_word=$2
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16944 $as_echo_n "checking for $ac_word... " >&6; }
16945 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
16946 $as_echo_n "(cached) " >&6
16948 case $GTKDOC_REBASE in
16950 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
16953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16954 for as_dir in $PATH
16957 test -z "$as_dir" && as_dir=.
16958 for ac_exec_ext in '' $ac_executable_extensions; do
16959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16960 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
16961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16971 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
16972 if test -n "$GTKDOC_REBASE"; then
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
16974 $as_echo "$GTKDOC_REBASE" >&6; }
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16977 $as_echo "no" >&6; }
16981 test -n "$GTKDOC_REBASE" && break
16983 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
16985 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
16986 set dummy gtkdoc-mkpdf; ac_word=$2
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16988 $as_echo_n "checking for $ac_word... " >&6; }
16989 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
16990 $as_echo_n "(cached) " >&6
16992 case $GTKDOC_MKPDF in
16994 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
16997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16998 for as_dir in $PATH
17001 test -z "$as_dir" && as_dir=.
17002 for ac_exec_ext in '' $ac_executable_extensions; do
17003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17004 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
17005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17015 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
17016 if test -n "$GTKDOC_MKPDF"; then
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
17018 $as_echo "$GTKDOC_MKPDF" >&6; }
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17021 $as_echo "no" >&6; }
17027 # Check whether --with-html-dir was given.
17028 if test "${with_html_dir+set}" = set; then :
17029 withval=$with_html_dir;
17031 with_html_dir='${datadir}/gtk-doc/html'
17034 HTML_DIR="$with_html_dir"
17037 # Check whether --enable-gtk-doc was given.
17038 if test "${enable_gtk_doc+set}" = set; then :
17039 enableval=$enable_gtk_doc;
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
17046 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
17048 $as_echo "$enable_gtk_doc" >&6; }
17050 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
17052 You must have $gtk_doc_requires installed to build documentation for
17053 $PACKAGE_NAME. Please install gtk-doc or disable building the
17054 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
17057 if test "x$PACKAGE_NAME" != "xglib"; then
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
17061 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
17063 if test -n "$PKG_CONFIG"; then
17064 if test -n "$GTKDOC_DEPS_CFLAGS"; then
17065 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
17067 if test -n "$PKG_CONFIG" && \
17068 { { $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
17069 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
17071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17072 test $ac_status = 0; }; then
17073 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
17081 if test -n "$PKG_CONFIG"; then
17082 if test -n "$GTKDOC_DEPS_LIBS"; then
17083 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
17085 if test -n "$PKG_CONFIG" && \
17086 { { $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
17087 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
17089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17090 test $ac_status = 0; }; then
17091 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
17102 if test $pkg_failed = yes; then
17104 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17105 _pkg_short_errors_supported=yes
17107 _pkg_short_errors_supported=no
17109 if test $_pkg_short_errors_supported = yes; then
17110 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"`
17112 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0"`
17114 # Put the nasty error message in config.log where it belongs
17115 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17118 $as_echo "no" >&6; }
17120 elif test $pkg_failed = untried; then
17123 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
17124 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17126 $as_echo "yes" >&6; }
17131 # Check whether --enable-gtk-doc-html was given.
17132 if test "${enable_gtk_doc_html+set}" = set; then :
17133 enableval=$enable_gtk_doc_html;
17135 enable_gtk_doc_html=yes
17138 # Check whether --enable-gtk-doc-pdf was given.
17139 if test "${enable_gtk_doc_pdf+set}" = set; then :
17140 enableval=$enable_gtk_doc_pdf;
17142 enable_gtk_doc_pdf=no
17146 if test -z "$GTKDOC_MKPDF"; then
17147 enable_gtk_doc_pdf=no
17150 if test -z "$AM_DEFAULT_VERBOSITY"; then
17151 AM_DEFAULT_VERBOSITY=1
17155 if test x$have_gtk_doc = xyes; then
17157 HAVE_GTK_DOC_FALSE='#'
17159 HAVE_GTK_DOC_TRUE='#'
17160 HAVE_GTK_DOC_FALSE=
17163 if test x$enable_gtk_doc = xyes; then
17164 ENABLE_GTK_DOC_TRUE=
17165 ENABLE_GTK_DOC_FALSE='#'
17167 ENABLE_GTK_DOC_TRUE='#'
17168 ENABLE_GTK_DOC_FALSE=
17171 if test x$enable_gtk_doc_html = xyes; then
17172 GTK_DOC_BUILD_HTML_TRUE=
17173 GTK_DOC_BUILD_HTML_FALSE='#'
17175 GTK_DOC_BUILD_HTML_TRUE='#'
17176 GTK_DOC_BUILD_HTML_FALSE=
17179 if test x$enable_gtk_doc_pdf = xyes; then
17180 GTK_DOC_BUILD_PDF_TRUE=
17181 GTK_DOC_BUILD_PDF_FALSE='#'
17183 GTK_DOC_BUILD_PDF_TRUE='#'
17184 GTK_DOC_BUILD_PDF_FALSE=
17187 if test -n "$LIBTOOL"; then
17188 GTK_DOC_USE_LIBTOOL_TRUE=
17189 GTK_DOC_USE_LIBTOOL_FALSE='#'
17191 GTK_DOC_USE_LIBTOOL_TRUE='#'
17192 GTK_DOC_USE_LIBTOOL_FALSE=
17195 if test -n "$GTKDOC_REBASE"; then
17196 GTK_DOC_USE_REBASE_TRUE=
17197 GTK_DOC_USE_REBASE_FALSE='#'
17199 GTK_DOC_USE_REBASE_TRUE='#'
17200 GTK_DOC_USE_REBASE_FALSE=
17204 if test "x$enable_gtk_doc" = xyes; then
17209 # Functions and headers
17210 for ac_func in atexit mprotect sysconf getpagesize mmap isatty
17212 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17214 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17215 cat >>confdefs.h <<_ACEOF
17216 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17222 for ac_header in unistd.h sys/mman.h
17224 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17225 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17226 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17227 cat >>confdefs.h <<_ACEOF
17228 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17238 # The cast to long int works around a bug in the HP C Compiler,
17239 # see AC_CHECK_SIZEOF for more information.
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of struct{char;}" >&5
17241 $as_echo_n "checking alignment of struct{char;}... " >&6; }
17242 if ${ac_cv_alignof_struct_char__+:} false; then :
17243 $as_echo_n "(cached) " >&6
17245 if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_struct_char__" "$ac_includes_default
17247 # define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
17249 typedef struct { char x; struct{char;} y; } ac__type_alignof_;"; then :
17252 if test "$ac_cv_type_struct_char__" = yes; then
17253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17255 as_fn_error 77 "cannot compute alignment of struct{char;}
17256 See \`config.log' for more details" "$LINENO" 5; }
17258 ac_cv_alignof_struct_char__=0
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_struct_char__" >&5
17264 $as_echo "$ac_cv_alignof_struct_char__" >&6; }
17268 cat >>confdefs.h <<_ACEOF
17269 #define ALIGNOF_STRUCT_CHAR__ $ac_cv_alignof_struct_char__
17273 if test "x$GCC" = "xyes"; then
17275 # Make symbols link locally
17276 LDFLAGS="$LDFLAGS -Bsymbolic-functions"
17278 # Make sure we don't link to libstdc++
17279 CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
17281 # Assorted warnings
17282 CXXFLAGS="$CXXFLAGS -Wcast-align"
17288 # Hide inline methods
17289 CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
17295 if test "x$ac_cv_alignof_struct_char__" != x1; then
17296 # Request byte alignment
17297 CXXFLAGS="$CXXFLAGS -mstructure-size-boundary=8"
17303 if test "x$GCC" = "xyes"; then
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
17314 $as_echo_n "checking for native Win32... " >&6; }
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hb_os_win32" >&5
17321 $as_echo "$hb_os_win32" >&6; }
17322 if test "$hb_os_win32" = "yes"; then
17332 if test "$hb_os_win32" = no; then
17336 ac_cpp='$CPP $CPPFLAGS'
17337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17343 # We used to check for pthread.h first, but this fails if pthread.h
17344 # requires special compiler flags (e.g. on True64 or Sequent).
17345 # It gets checked for in the link test anyway.
17347 # First of all, check if the user has set any of the PTHREAD_LIBS,
17348 # etcetera environment variables, and if threads linking works using
17350 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
17351 save_CFLAGS="$CFLAGS"
17352 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17354 LIBS="$PTHREAD_LIBS $LIBS"
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17356 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17360 /* Override any GCC internal prototype to avoid an error.
17361 Use char because int might match the return type of a GCC
17362 builtin and then its argument prototype would still apply. */
17366 char pthread_join ();
17370 return pthread_join ();
17375 if ac_fn_c_try_link "$LINENO"; then :
17378 rm -f core conftest.err conftest.$ac_objext \
17379 conftest$ac_exeext conftest.$ac_ext
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
17381 $as_echo "$ax_pthread_ok" >&6; }
17382 if test x"$ax_pthread_ok" = xno; then
17387 CFLAGS="$save_CFLAGS"
17390 # We must check for the threads library under a number of different
17391 # names; the ordering is very important because some systems
17392 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17393 # libraries is broken (non-POSIX).
17395 # Create a list of thread flags to try. Items starting with a "-" are
17396 # C compiler flags, and other items are library names, except for "none"
17397 # which indicates that we try without any flags at all, and "pthread-config"
17398 # which is a program returning the flags for the Pth emulation library.
17400 ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17402 # The ordering *is* (sometimes) important. Some notes on the
17403 # individual items follow:
17405 # pthreads: AIX (must check this before -lpthread)
17406 # none: in case threads are in libc; should be tried before -Kthread and
17407 # other compiler flags to prevent continual compiler warnings
17408 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17409 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17410 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
17411 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
17412 # -pthreads: Solaris/gcc
17413 # -mthreads: Mingw32/gcc, Lynx/gcc
17414 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
17415 # doesn't hurt to check since this sometimes defines pthreads too;
17416 # also defines -D_REENTRANT)
17417 # ... -mt is also the pthreads flag for HP/aCC
17418 # pthread: Linux, etcetera
17419 # --thread-safe: KAI C++
17420 # pthread-config: use pthread-config program (for GNU Pth library)
17425 # On Solaris (at least, for some versions), libc contains stubbed
17426 # (non-functional) versions of the pthreads routines, so link-based
17427 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
17428 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
17429 # a function called by this macro, so we could check for that, but
17430 # who knows whether they'll stub that too in a future libc.) So,
17431 # we'll just look for -pthreads and -lpthread first:
17433 ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
17437 ax_pthread_flags="-pthread $ax_pthread_flags"
17441 if test x"$ax_pthread_ok" = xno; then
17442 for flag in $ax_pthread_flags; do
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
17447 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
17452 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
17453 PTHREAD_CFLAGS="$flag"
17457 # Extract the first word of "pthread-config", so it can be a program name with args.
17458 set dummy pthread-config; ac_word=$2
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17460 $as_echo_n "checking for $ac_word... " >&6; }
17461 if ${ac_cv_prog_ax_pthread_config+:} false; then :
17462 $as_echo_n "(cached) " >&6
17464 if test -n "$ax_pthread_config"; then
17465 ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
17467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17468 for as_dir in $PATH
17471 test -z "$as_dir" && as_dir=.
17472 for ac_exec_ext in '' $ac_executable_extensions; do
17473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17474 ac_cv_prog_ax_pthread_config="yes"
17475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17482 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
17485 ax_pthread_config=$ac_cv_prog_ax_pthread_config
17486 if test -n "$ax_pthread_config"; then
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
17488 $as_echo "$ax_pthread_config" >&6; }
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17491 $as_echo "no" >&6; }
17495 if test x"$ax_pthread_config" = xno; then continue; fi
17496 PTHREAD_CFLAGS="`pthread-config --cflags`"
17497 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
17502 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
17503 PTHREAD_LIBS="-l$flag"
17508 save_CFLAGS="$CFLAGS"
17509 LIBS="$PTHREAD_LIBS $LIBS"
17510 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17512 # Check for various functions. We must include pthread.h,
17513 # since some functions may be macros. (On the Sequent, we
17514 # need a special flag -Kthread to make this header compile.)
17515 # We check for pthread_join because it is in -lpthread on IRIX
17516 # while pthread_create is in libc. We check for pthread_attr_init
17517 # due to DEC craziness with -lpthreads. We check for
17518 # pthread_cleanup_push because it is one of the few pthread
17519 # functions on Solaris that doesn't have a non-functional libc stub.
17520 # We try pthread_create on general principles.
17521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17522 /* end confdefs.h. */
17523 #include <pthread.h>
17524 static void routine(void *a) { a = 0; }
17525 static void *start_routine(void *a) { return a; }
17529 pthread_t th; pthread_attr_t attr;
17530 pthread_create(&th, 0, start_routine, 0);
17531 pthread_join(th, 0);
17532 pthread_attr_init(&attr);
17533 pthread_cleanup_push(routine, 0);
17534 pthread_cleanup_pop(0) /* ; */
17539 if ac_fn_c_try_link "$LINENO"; then :
17542 rm -f core conftest.err conftest.$ac_objext \
17543 conftest$ac_exeext conftest.$ac_ext
17546 CFLAGS="$save_CFLAGS"
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
17549 $as_echo "$ax_pthread_ok" >&6; }
17550 if test "x$ax_pthread_ok" = xyes; then
17559 # Various other checks:
17560 if test "x$ax_pthread_ok" = xyes; then
17562 LIBS="$PTHREAD_LIBS $LIBS"
17563 save_CFLAGS="$CFLAGS"
17564 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17566 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
17568 $as_echo_n "checking for joinable pthread attribute... " >&6; }
17570 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
17571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17572 /* end confdefs.h. */
17573 #include <pthread.h>
17577 int attr = $attr; return attr /* ; */
17582 if ac_fn_c_try_link "$LINENO"; then :
17583 attr_name=$attr; break
17585 rm -f core conftest.err conftest.$ac_objext \
17586 conftest$ac_exeext conftest.$ac_ext
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
17589 $as_echo "$attr_name" >&6; }
17590 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
17592 cat >>confdefs.h <<_ACEOF
17593 #define PTHREAD_CREATE_JOINABLE $attr_name
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
17599 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
17602 aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
17603 osf* | hpux*) flag="-D_REENTRANT";;
17605 if test "$GCC" = "yes"; then
17606 flag="-D_REENTRANT"
17608 flag="-mt -D_REENTRANT"
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
17613 $as_echo "${flag}" >&6; }
17614 if test "x$flag" != xno; then
17615 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
17619 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
17620 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
17621 $as_echo_n "(cached) " >&6
17624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17625 /* end confdefs.h. */
17627 #include <pthread.h>
17631 int i = PTHREAD_PRIO_INHERIT;
17636 if ac_fn_c_try_link "$LINENO"; then :
17637 ax_cv_PTHREAD_PRIO_INHERIT=yes
17639 ax_cv_PTHREAD_PRIO_INHERIT=no
17641 rm -f core conftest.err conftest.$ac_objext \
17642 conftest$ac_exeext conftest.$ac_ext
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
17646 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
17647 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
17649 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
17654 CFLAGS="$save_CFLAGS"
17656 # More AIX lossage: must compile with xlc_r or cc_r
17657 if test x"$GCC" != xyes; then
17658 for ac_prog in xlc_r cc_r
17660 # Extract the first word of "$ac_prog", so it can be a program name with args.
17661 set dummy $ac_prog; ac_word=$2
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17663 $as_echo_n "checking for $ac_word... " >&6; }
17664 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
17665 $as_echo_n "(cached) " >&6
17667 if test -n "$PTHREAD_CC"; then
17668 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
17670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17671 for as_dir in $PATH
17674 test -z "$as_dir" && as_dir=.
17675 for ac_exec_ext in '' $ac_executable_extensions; do
17676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17677 ac_cv_prog_PTHREAD_CC="$ac_prog"
17678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17687 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
17688 if test -n "$PTHREAD_CC"; then
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
17690 $as_echo "$PTHREAD_CC" >&6; }
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17693 $as_echo "no" >&6; }
17697 test -n "$PTHREAD_CC" && break
17699 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
17712 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17713 if test x"$ax_pthread_ok" = xyes; then
17721 ac_cpp='$CPP $CPPFLAGS'
17722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17728 if $have_pthread; then
17730 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
17733 if $have_pthread; then
17735 HAVE_PTHREAD_FALSE='#'
17737 HAVE_PTHREAD_TRUE='#'
17738 HAVE_PTHREAD_FALSE=
17746 $as_echo "#define HAVE_OT 1" >>confdefs.h
17759 if $have_fallback; then
17761 $as_echo "#define HAVE_FALLBACK 1" >>confdefs.h
17764 if $have_fallback; then
17765 HAVE_FALLBACK_TRUE=
17766 HAVE_FALLBACK_FALSE='#'
17768 HAVE_FALLBACK_TRUE='#'
17769 HAVE_FALLBACK_FALSE=
17775 # Check whether --with-glib was given.
17776 if test "${with_glib+set}" = set; then :
17777 withval=$with_glib;
17783 if test "x$with_glib" = "xyes" -o "x$with_glib" = "xauto"; then
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
17787 $as_echo_n "checking for GLIB... " >&6; }
17789 if test -n "$PKG_CONFIG"; then
17790 if test -n "$GLIB_CFLAGS"; then
17791 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
17793 if test -n "$PKG_CONFIG" && \
17794 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
17795 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
17797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17798 test $ac_status = 0; }; then
17799 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.16" 2>/dev/null`
17807 if test -n "$PKG_CONFIG"; then
17808 if test -n "$GLIB_LIBS"; then
17809 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
17811 if test -n "$PKG_CONFIG" && \
17812 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
17813 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
17815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17816 test $ac_status = 0; }; then
17817 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.16" 2>/dev/null`
17828 if test $pkg_failed = yes; then
17830 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17831 _pkg_short_errors_supported=yes
17833 _pkg_short_errors_supported=no
17835 if test $_pkg_short_errors_supported = yes; then
17836 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.16"`
17838 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.16"`
17840 # Put the nasty error message in config.log where it belongs
17841 echo "$GLIB_PKG_ERRORS" >&5
17843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17844 $as_echo "no" >&6; }
17846 elif test $pkg_failed = untried; then
17849 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
17850 GLIB_LIBS=$pkg_cv_GLIB_LIBS
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17852 $as_echo "yes" >&6; }
17856 if test "x$with_glib" = "xyes" -a "x$have_glib" != "xtrue"; then
17857 as_fn_error $? "glib support requested but glib-2.0 not found" "$LINENO" 5
17859 if $have_glib; then
17861 $as_echo "#define HAVE_GLIB 1" >>confdefs.h
17864 if $have_glib; then
17866 HAVE_GLIB_FALSE='#'
17875 # Check whether --with-gobject was given.
17876 if test "${with_gobject+set}" = set; then :
17877 withval=$with_gobject;
17883 if test "x$with_gobject" = "xyes" -o "x$with_gobject" = "xauto"; then
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
17887 $as_echo_n "checking for GOBJECT... " >&6; }
17889 if test -n "$PKG_CONFIG"; then
17890 if test -n "$GOBJECT_CFLAGS"; then
17891 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
17893 if test -n "$PKG_CONFIG" && \
17894 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 glib-2.0\""; } >&5
17895 ($PKG_CONFIG --exists --print-errors "gobject-2.0 glib-2.0") 2>&5
17897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17898 test $ac_status = 0; }; then
17899 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 glib-2.0" 2>/dev/null`
17907 if test -n "$PKG_CONFIG"; then
17908 if test -n "$GOBJECT_LIBS"; then
17909 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
17911 if test -n "$PKG_CONFIG" && \
17912 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 glib-2.0\""; } >&5
17913 ($PKG_CONFIG --exists --print-errors "gobject-2.0 glib-2.0") 2>&5
17915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17916 test $ac_status = 0; }; then
17917 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 glib-2.0" 2>/dev/null`
17928 if test $pkg_failed = yes; then
17930 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17931 _pkg_short_errors_supported=yes
17933 _pkg_short_errors_supported=no
17935 if test $_pkg_short_errors_supported = yes; then
17936 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gobject-2.0 glib-2.0"`
17938 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-2.0 glib-2.0"`
17940 # Put the nasty error message in config.log where it belongs
17941 echo "$GOBJECT_PKG_ERRORS" >&5
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17944 $as_echo "no" >&6; }
17946 elif test $pkg_failed = untried; then
17949 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
17950 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17952 $as_echo "yes" >&6; }
17956 if test "x$with_gobject" = "xyes" -a "x$have_gobject" != "xtrue"; then
17957 as_fn_error $? "gobject support requested but gobject-2.0 / glib-2.0 not found" "$LINENO" 5
17959 if $have_gobject; then
17961 $as_echo "#define HAVE_GOBJECT 1" >>confdefs.h
17963 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
17966 if $have_gobject; then
17968 HAVE_GOBJECT_FALSE='#'
17970 HAVE_GOBJECT_TRUE='#'
17971 HAVE_GOBJECT_FALSE=
17977 # Gobject-Introspection
17978 have_introspection=false
17980 if $have_gobject; then
17984 # Check whether --enable-introspection was given.
17985 if test "${enable_introspection+set}" = set; then :
17986 enableval=$enable_introspection;
17988 enable_introspection=auto
17992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
17993 $as_echo_n "checking for gobject-introspection... " >&6; }
17995 case $enable_introspection in #(
17997 found_introspection="no (disabled, use --enable-introspection to enable)"
18000 if test -n "$PKG_CONFIG" && \
18001 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
18002 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
18004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18005 test $ac_status = 0; }; then
18008 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
18010 if test -n "$PKG_CONFIG" && \
18011 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.34.0\""; } >&5
18012 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.34.0") 2>&5
18014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18015 test $ac_status = 0; }; then
18016 found_introspection=yes
18018 as_fn_error $? "You need to have gobject-introspection >= 1.34.0 installed to build HarfBuzz" "$LINENO" 5
18022 if test -n "$PKG_CONFIG" && \
18023 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.34.0\""; } >&5
18024 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.34.0") 2>&5
18026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18027 test $ac_status = 0; }; then
18028 found_introspection=yes
18030 found_introspection=no
18032 enable_introspection=$found_introspection
18035 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
18039 $as_echo "$found_introspection" >&6; }
18041 INTROSPECTION_SCANNER=
18042 INTROSPECTION_COMPILER=
18043 INTROSPECTION_GENERATE=
18044 INTROSPECTION_GIRDIR=
18045 INTROSPECTION_TYPELIBDIR=
18046 if test "x$found_introspection" = "xyes"; then
18047 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
18048 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
18049 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
18050 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
18051 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
18052 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
18053 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
18054 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
18065 if test "x$found_introspection" = "xyes"; then
18066 HAVE_INTROSPECTION_TRUE=
18067 HAVE_INTROSPECTION_FALSE='#'
18069 HAVE_INTROSPECTION_TRUE='#'
18070 HAVE_INTROSPECTION_FALSE=
18075 if test "x$found_introspection" = xyes; then
18076 have_introspection=true
18080 HAVE_INTROSPECTION_TRUE=
18081 HAVE_INTROSPECTION_FALSE='#'
18083 HAVE_INTROSPECTION_TRUE='#'
18084 HAVE_INTROSPECTION_FALSE=
18092 if $have_glib; then
18095 if $have_ucdn; then
18097 $as_echo "#define HAVE_UCDN 1" >>confdefs.h
18100 if $have_ucdn; then
18102 HAVE_UCDN_FALSE='#'
18111 # Check whether --with-cairo was given.
18112 if test "${with_cairo+set}" = set; then :
18113 withval=$with_cairo;
18119 if test "x$with_cairo" = "xyes" -o "x$with_cairo" = "xauto"; then
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
18123 $as_echo_n "checking for CAIRO... " >&6; }
18125 if test -n "$PKG_CONFIG"; then
18126 if test -n "$CAIRO_CFLAGS"; then
18127 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
18129 if test -n "$PKG_CONFIG" && \
18130 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.8.0\""; } >&5
18131 ($PKG_CONFIG --exists --print-errors "cairo >= 1.8.0") 2>&5
18133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18134 test $ac_status = 0; }; then
18135 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.8.0" 2>/dev/null`
18143 if test -n "$PKG_CONFIG"; then
18144 if test -n "$CAIRO_LIBS"; then
18145 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
18147 if test -n "$PKG_CONFIG" && \
18148 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.8.0\""; } >&5
18149 ($PKG_CONFIG --exists --print-errors "cairo >= 1.8.0") 2>&5
18151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18152 test $ac_status = 0; }; then
18153 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.8.0" 2>/dev/null`
18164 if test $pkg_failed = yes; then
18166 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18167 _pkg_short_errors_supported=yes
18169 _pkg_short_errors_supported=no
18171 if test $_pkg_short_errors_supported = yes; then
18172 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo >= 1.8.0"`
18174 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.8.0"`
18176 # Put the nasty error message in config.log where it belongs
18177 echo "$CAIRO_PKG_ERRORS" >&5
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18180 $as_echo "no" >&6; }
18182 elif test $pkg_failed = untried; then
18185 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
18186 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18188 $as_echo "yes" >&6; }
18192 if test "x$with_cairo" = "xyes" -a "x$have_cairo" != "xtrue"; then
18193 as_fn_error $? "cairo support requested but not found" "$LINENO" 5
18195 if $have_cairo; then
18197 $as_echo "#define HAVE_CAIRO 1" >>confdefs.h
18200 if $have_cairo; then
18202 HAVE_CAIRO_FALSE='#'
18204 HAVE_CAIRO_TRUE='#'
18209 have_cairo_ft=false
18210 if $have_cairo; then
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_FT" >&5
18214 $as_echo_n "checking for CAIRO_FT... " >&6; }
18216 if test -n "$PKG_CONFIG"; then
18217 if test -n "$CAIRO_FT_CFLAGS"; then
18218 pkg_cv_CAIRO_FT_CFLAGS="$CAIRO_FT_CFLAGS"
18220 if test -n "$PKG_CONFIG" && \
18221 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft\""; } >&5
18222 ($PKG_CONFIG --exists --print-errors "cairo-ft") 2>&5
18224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18225 test $ac_status = 0; }; then
18226 pkg_cv_CAIRO_FT_CFLAGS=`$PKG_CONFIG --cflags "cairo-ft" 2>/dev/null`
18234 if test -n "$PKG_CONFIG"; then
18235 if test -n "$CAIRO_FT_LIBS"; then
18236 pkg_cv_CAIRO_FT_LIBS="$CAIRO_FT_LIBS"
18238 if test -n "$PKG_CONFIG" && \
18239 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft\""; } >&5
18240 ($PKG_CONFIG --exists --print-errors "cairo-ft") 2>&5
18242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18243 test $ac_status = 0; }; then
18244 pkg_cv_CAIRO_FT_LIBS=`$PKG_CONFIG --libs "cairo-ft" 2>/dev/null`
18255 if test $pkg_failed = yes; then
18257 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18258 _pkg_short_errors_supported=yes
18260 _pkg_short_errors_supported=no
18262 if test $_pkg_short_errors_supported = yes; then
18263 CAIRO_FT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo-ft"`
18265 CAIRO_FT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo-ft"`
18267 # Put the nasty error message in config.log where it belongs
18268 echo "$CAIRO_FT_PKG_ERRORS" >&5
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18271 $as_echo "no" >&6; }
18273 elif test $pkg_failed = untried; then
18276 CAIRO_FT_CFLAGS=$pkg_cv_CAIRO_FT_CFLAGS
18277 CAIRO_FT_LIBS=$pkg_cv_CAIRO_FT_LIBS
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18279 $as_echo "yes" >&6; }
18283 if $have_cairo_ft; then
18285 $as_echo "#define HAVE_CAIRO_FT 1" >>confdefs.h
18288 if $have_cairo_ft; then
18289 HAVE_CAIRO_FT_TRUE=
18290 HAVE_CAIRO_FT_FALSE='#'
18292 HAVE_CAIRO_FT_TRUE='#'
18293 HAVE_CAIRO_FT_FALSE=
18299 # Check whether --with-icu was given.
18300 if test "${with_icu+set}" = set; then :
18307 if test "x$with_icu" = "xyes" -o "x$with_icu" = "xauto"; then
18310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU" >&5
18311 $as_echo_n "checking for ICU... " >&6; }
18313 if test -n "$PKG_CONFIG"; then
18314 if test -n "$ICU_CFLAGS"; then
18315 pkg_cv_ICU_CFLAGS="$ICU_CFLAGS"
18317 if test -n "$PKG_CONFIG" && \
18318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5
18319 ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5
18321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18322 test $ac_status = 0; }; then
18323 pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-uc" 2>/dev/null`
18331 if test -n "$PKG_CONFIG"; then
18332 if test -n "$ICU_LIBS"; then
18333 pkg_cv_ICU_LIBS="$ICU_LIBS"
18335 if test -n "$PKG_CONFIG" && \
18336 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5
18337 ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5
18339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18340 test $ac_status = 0; }; then
18341 pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-uc" 2>/dev/null`
18352 if test $pkg_failed = yes; then
18354 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18355 _pkg_short_errors_supported=yes
18357 _pkg_short_errors_supported=no
18359 if test $_pkg_short_errors_supported = yes; then
18360 ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "icu-uc"`
18362 ICU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "icu-uc"`
18364 # Put the nasty error message in config.log where it belongs
18365 echo "$ICU_PKG_ERRORS" >&5
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18368 $as_echo "no" >&6; }
18370 elif test $pkg_failed = untried; then
18373 ICU_CFLAGS=$pkg_cv_ICU_CFLAGS
18374 ICU_LIBS=$pkg_cv_ICU_LIBS
18375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18376 $as_echo "yes" >&6; }
18380 if test "$have_icu" != "true"; then
18381 if test -n "$ac_tool_prefix"; then
18382 # Extract the first word of "${ac_tool_prefix}icu-config", so it can be a program name with args.
18383 set dummy ${ac_tool_prefix}icu-config; ac_word=$2
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18385 $as_echo_n "checking for $ac_word... " >&6; }
18386 if ${ac_cv_prog_ICU_CONFIG+:} false; then :
18387 $as_echo_n "(cached) " >&6
18389 if test -n "$ICU_CONFIG"; then
18390 ac_cv_prog_ICU_CONFIG="$ICU_CONFIG" # Let the user override the test.
18392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18393 for as_dir in $PATH
18396 test -z "$as_dir" && as_dir=.
18397 for ac_exec_ext in '' $ac_executable_extensions; do
18398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18399 ac_cv_prog_ICU_CONFIG="${ac_tool_prefix}icu-config"
18400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18409 ICU_CONFIG=$ac_cv_prog_ICU_CONFIG
18410 if test -n "$ICU_CONFIG"; then
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICU_CONFIG" >&5
18412 $as_echo "$ICU_CONFIG" >&6; }
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18415 $as_echo "no" >&6; }
18420 if test -z "$ac_cv_prog_ICU_CONFIG"; then
18421 ac_ct_ICU_CONFIG=$ICU_CONFIG
18422 # Extract the first word of "icu-config", so it can be a program name with args.
18423 set dummy icu-config; ac_word=$2
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18425 $as_echo_n "checking for $ac_word... " >&6; }
18426 if ${ac_cv_prog_ac_ct_ICU_CONFIG+:} false; then :
18427 $as_echo_n "(cached) " >&6
18429 if test -n "$ac_ct_ICU_CONFIG"; then
18430 ac_cv_prog_ac_ct_ICU_CONFIG="$ac_ct_ICU_CONFIG" # Let the user override the test.
18432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18433 for as_dir in $PATH
18436 test -z "$as_dir" && as_dir=.
18437 for ac_exec_ext in '' $ac_executable_extensions; do
18438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18439 ac_cv_prog_ac_ct_ICU_CONFIG="icu-config"
18440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18449 ac_ct_ICU_CONFIG=$ac_cv_prog_ac_ct_ICU_CONFIG
18450 if test -n "$ac_ct_ICU_CONFIG"; then
18451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ICU_CONFIG" >&5
18452 $as_echo "$ac_ct_ICU_CONFIG" >&6; }
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18455 $as_echo "no" >&6; }
18458 if test "x$ac_ct_ICU_CONFIG" = x; then
18461 case $cross_compiling:$ac_tool_warned in
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18465 ac_tool_warned=yes ;;
18467 ICU_CONFIG=$ac_ct_ICU_CONFIG
18470 ICU_CONFIG="$ac_cv_prog_ICU_CONFIG"
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU by using icu-config fallback" >&5
18474 $as_echo_n "checking for ICU by using icu-config fallback... " >&6; }
18475 if test "$ICU_CONFIG" != "no" && "$ICU_CONFIG" --version >/dev/null; then
18477 # We don't use --cflags as this gives us a lot of things that we don't
18478 # necessarily want, like debugging and optimization flags
18479 # See man (1) icu-config for more info.
18480 ICU_CFLAGS=`$ICU_CONFIG --cppflags`
18481 ICU_LIBS=`$ICU_CONFIG --ldflags-searchpath --ldflags-libsonly`
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18485 $as_echo "yes" >&6; }
18487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18488 $as_echo "no" >&6; }
18492 if test "x$with_icu" = "xyes" -a "x$have_icu" != "xtrue"; then
18493 as_fn_error $? "icu support requested but icu-uc not found" "$LINENO" 5
18496 CXXFLAGS="$CXXFLAGS `$PKG_CONFIG --variable=CXXFLAGS icu-uc`"
18498 $as_echo "#define HAVE_ICU 1" >>confdefs.h
18512 # Check whether --with-graphite2 was given.
18513 if test "${with_graphite2+set}" = set; then :
18514 withval=$with_graphite2;
18519 have_graphite2=false
18520 if test "x$with_graphite2" = "xyes" -o "x$with_graphite2" = "xauto"; then
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GRAPHITE2" >&5
18524 $as_echo_n "checking for GRAPHITE2... " >&6; }
18526 if test -n "$PKG_CONFIG"; then
18527 if test -n "$GRAPHITE2_CFLAGS"; then
18528 pkg_cv_GRAPHITE2_CFLAGS="$GRAPHITE2_CFLAGS"
18530 if test -n "$PKG_CONFIG" && \
18531 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"graphite2\""; } >&5
18532 ($PKG_CONFIG --exists --print-errors "graphite2") 2>&5
18534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18535 test $ac_status = 0; }; then
18536 pkg_cv_GRAPHITE2_CFLAGS=`$PKG_CONFIG --cflags "graphite2" 2>/dev/null`
18544 if test -n "$PKG_CONFIG"; then
18545 if test -n "$GRAPHITE2_LIBS"; then
18546 pkg_cv_GRAPHITE2_LIBS="$GRAPHITE2_LIBS"
18548 if test -n "$PKG_CONFIG" && \
18549 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"graphite2\""; } >&5
18550 ($PKG_CONFIG --exists --print-errors "graphite2") 2>&5
18552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18553 test $ac_status = 0; }; then
18554 pkg_cv_GRAPHITE2_LIBS=`$PKG_CONFIG --libs "graphite2" 2>/dev/null`
18565 if test $pkg_failed = yes; then
18567 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18568 _pkg_short_errors_supported=yes
18570 _pkg_short_errors_supported=no
18572 if test $_pkg_short_errors_supported = yes; then
18573 GRAPHITE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "graphite2"`
18575 GRAPHITE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "graphite2"`
18577 # Put the nasty error message in config.log where it belongs
18578 echo "$GRAPHITE2_PKG_ERRORS" >&5
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18581 $as_echo "no" >&6; }
18583 elif test $pkg_failed = untried; then
18586 GRAPHITE2_CFLAGS=$pkg_cv_GRAPHITE2_CFLAGS
18587 GRAPHITE2_LIBS=$pkg_cv_GRAPHITE2_LIBS
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18589 $as_echo "yes" >&6; }
18590 have_graphite2=true
18593 if test "x$with_graphite2" = "xyes" -a "x$have_graphite2" != "xtrue"; then
18594 as_fn_error $? "graphite2 support requested but libgraphite2 not found" "$LINENO" 5
18596 if $have_graphite2; then
18598 $as_echo "#define HAVE_GRAPHITE2 1" >>confdefs.h
18601 if $have_graphite2; then
18602 HAVE_GRAPHITE2_TRUE=
18603 HAVE_GRAPHITE2_FALSE='#'
18605 HAVE_GRAPHITE2_TRUE='#'
18606 HAVE_GRAPHITE2_FALSE=
18612 # Check whether --with-freetype was given.
18613 if test "${with_freetype+set}" = set; then :
18614 withval=$with_freetype;
18619 have_freetype=false
18620 if test "x$with_freetype" = "xyes" -o "x$with_freetype" = "xauto"; then
18621 # See freetype/docs/VERSION.DLL; 12.0.6 means freetype-2.4.2
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
18625 $as_echo_n "checking for FREETYPE... " >&6; }
18627 if test -n "$PKG_CONFIG"; then
18628 if test -n "$FREETYPE_CFLAGS"; then
18629 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
18631 if test -n "$PKG_CONFIG" && \
18632 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 12.0.6\""; } >&5
18633 ($PKG_CONFIG --exists --print-errors "freetype2 >= 12.0.6") 2>&5
18635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18636 test $ac_status = 0; }; then
18637 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 12.0.6" 2>/dev/null`
18645 if test -n "$PKG_CONFIG"; then
18646 if test -n "$FREETYPE_LIBS"; then
18647 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
18649 if test -n "$PKG_CONFIG" && \
18650 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 12.0.6\""; } >&5
18651 ($PKG_CONFIG --exists --print-errors "freetype2 >= 12.0.6") 2>&5
18653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18654 test $ac_status = 0; }; then
18655 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 12.0.6" 2>/dev/null`
18666 if test $pkg_failed = yes; then
18668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18669 _pkg_short_errors_supported=yes
18671 _pkg_short_errors_supported=no
18673 if test $_pkg_short_errors_supported = yes; then
18674 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "freetype2 >= 12.0.6"`
18676 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2 >= 12.0.6"`
18678 # Put the nasty error message in config.log where it belongs
18679 echo "$FREETYPE_PKG_ERRORS" >&5
18681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18682 $as_echo "no" >&6; }
18684 elif test $pkg_failed = untried; then
18687 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
18688 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18690 $as_echo "yes" >&6; }
18694 if test "x$with_freetype" = "xyes" -a "x$have_freetype" != "xtrue"; then
18695 as_fn_error $? "FreeType support requested but libfreetype2 not found" "$LINENO" 5
18697 if $have_freetype; then
18699 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
18702 if $have_freetype; then
18703 HAVE_FREETYPE_TRUE=
18704 HAVE_FREETYPE_FALSE='#'
18706 HAVE_FREETYPE_TRUE='#'
18707 HAVE_FREETYPE_FALSE=
18713 # Check whether --with-uniscribe was given.
18714 if test "${with_uniscribe+set}" = set; then :
18715 withval=$with_uniscribe;
18720 have_uniscribe=false
18721 if test "x$with_uniscribe" = "xyes" -o "x$with_uniscribe" = "xauto"; then
18722 for ac_header in usp10.h windows.h
18724 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18725 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18726 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18727 cat >>confdefs.h <<_ACEOF
18728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18730 have_uniscribe=true
18736 if test "x$with_uniscribe" = "xyes" -a "x$have_uniscribe" != "xtrue"; then
18737 as_fn_error $? "uniscribe support requested but not found" "$LINENO" 5
18739 if $have_uniscribe; then
18741 UNISCRIBE_LIBS="-lusp10 -lgdi32 -lrpcrt4"
18745 $as_echo "#define HAVE_UNISCRIBE 1" >>confdefs.h
18748 if $have_uniscribe; then
18749 HAVE_UNISCRIBE_TRUE=
18750 HAVE_UNISCRIBE_FALSE='#'
18752 HAVE_UNISCRIBE_TRUE='#'
18753 HAVE_UNISCRIBE_FALSE=
18759 # Check whether --with-coretext was given.
18760 if test "${with_coretext+set}" = set; then :
18761 withval=$with_coretext;
18766 have_coretext=false
18767 if test "x$with_coretext" = "xyes" -o "x$with_coretext" = "xauto"; then
18768 ac_fn_c_check_type "$LINENO" "CTFontRef" "ac_cv_type_CTFontRef" "#include <ApplicationServices/ApplicationServices.h>
18770 if test "x$ac_cv_type_CTFontRef" = xyes; then :
18775 if $have_coretext; then
18777 CORETEXT_LIBS="-framework ApplicationServices"
18781 # On iOS CoreText and CoreGraphics are stand-alone frameworks
18782 if test "x$have_coretext" != "xtrue"; then
18783 ac_fn_c_check_type "$LINENO" "CTFontRef" "ac_cv_type_CTFontRef" "#include <CoreText/CoreText.h>
18785 if test "x$ac_cv_type_CTFontRef" = xyes; then :
18791 if $have_coretext; then
18793 CORETEXT_LIBS="-framework CoreText -framework CoreGraphics"
18799 if test "x$with_coretext" = "xyes" -a "x$have_coretext" != "xtrue"; then
18800 as_fn_error $? "CoreText support requested but libcoretext not found" "$LINENO" 5
18802 if $have_coretext; then
18804 $as_echo "#define HAVE_CORETEXT 1" >>confdefs.h
18807 if $have_coretext; then
18808 HAVE_CORETEXT_TRUE=
18809 HAVE_CORETEXT_FALSE='#'
18811 HAVE_CORETEXT_TRUE='#'
18812 HAVE_CORETEXT_FALSE=
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Intel atomic primitives" >&5
18818 $as_echo_n "checking for Intel atomic primitives... " >&6; }
18819 if ${hb_cv_have_intel_atomic_primitives+:} false; then :
18820 $as_echo_n "(cached) " >&6
18823 hb_cv_have_intel_atomic_primitives=false
18824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18825 /* end confdefs.h. */
18827 void memory_barrier (void) { __sync_synchronize (); }
18828 int atomic_add (int *i) { return __sync_fetch_and_add (i, 1); }
18829 int mutex_trylock (int *m) { return __sync_lock_test_and_set (m, 1); }
18830 void mutex_unlock (int *m) { __sync_lock_release (m); }
18840 if ac_fn_c_try_link "$LINENO"; then :
18841 hb_cv_have_intel_atomic_primitives=true
18844 rm -f core conftest.err conftest.$ac_objext \
18845 conftest$ac_exeext conftest.$ac_ext
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hb_cv_have_intel_atomic_primitives" >&5
18849 $as_echo "$hb_cv_have_intel_atomic_primitives" >&6; }
18850 if $hb_cv_have_intel_atomic_primitives; then
18852 $as_echo "#define HAVE_INTEL_ATOMIC_PRIMITIVES 1" >>confdefs.h
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Solaris atomic operations" >&5
18858 $as_echo_n "checking for Solaris atomic operations... " >&6; }
18859 if ${hb_cv_have_solaris_atomic_ops+:} false; then :
18860 $as_echo_n "(cached) " >&6
18863 hb_cv_have_solaris_atomic_ops=false
18864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18867 #include <atomic.h>
18868 /* This requires Solaris Studio 12.2 or newer: */
18869 #include <mbarrier.h>
18870 void memory_barrier (void) { __machine_rw_barrier (); }
18871 int atomic_add (volatile unsigned *i) { return atomic_add_int_nv (i, 1); }
18872 void *atomic_ptr_cmpxchg (volatile void **target, void *cmp, void *newval) { return atomic_cas_ptr (target, cmp, newval); }
18882 if ac_fn_c_try_link "$LINENO"; then :
18883 hb_cv_have_solaris_atomic_ops=true
18886 rm -f core conftest.err conftest.$ac_objext \
18887 conftest$ac_exeext conftest.$ac_ext
18890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hb_cv_have_solaris_atomic_ops" >&5
18891 $as_echo "$hb_cv_have_solaris_atomic_ops" >&6; }
18892 if $hb_cv_have_solaris_atomic_ops; then
18894 $as_echo "#define HAVE_SOLARIS_ATOMIC_OPS 1" >>confdefs.h
18898 if test "$os_win32" = no && ! $have_pthread; then
18899 for ac_header in sched.h
18901 ac_fn_c_check_header_mongrel "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
18902 if test "x$ac_cv_header_sched_h" = xyes; then :
18903 cat >>confdefs.h <<_ACEOF
18904 #define HAVE_SCHED_H 1
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
18912 $as_echo_n "checking for library containing sched_yield... " >&6; }
18913 if ${ac_cv_search_sched_yield+:} false; then :
18914 $as_echo_n "(cached) " >&6
18916 ac_func_search_save_LIBS=$LIBS
18917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18918 /* end confdefs.h. */
18920 /* Override any GCC internal prototype to avoid an error.
18921 Use char because int might match the return type of a GCC
18922 builtin and then its argument prototype would still apply. */
18926 char sched_yield ();
18930 return sched_yield ();
18935 for ac_lib in '' rt; do
18936 if test -z "$ac_lib"; then
18937 ac_res="none required"
18940 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18942 if ac_fn_c_try_link "$LINENO"; then :
18943 ac_cv_search_sched_yield=$ac_res
18945 rm -f core conftest.err conftest.$ac_objext \
18947 if ${ac_cv_search_sched_yield+:} false; then :
18951 if ${ac_cv_search_sched_yield+:} false; then :
18954 ac_cv_search_sched_yield=no
18956 rm conftest.$ac_ext
18957 LIBS=$ac_func_search_save_LIBS
18959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
18960 $as_echo "$ac_cv_search_sched_yield" >&6; }
18961 ac_res=$ac_cv_search_sched_yield
18962 if test "$ac_res" != no; then :
18963 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18965 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
18972 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/shaping/Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml"
18975 cat >confcache <<\_ACEOF
18976 # This file is a shell script that caches the results of configure
18977 # tests run on this system so they can be shared between configure
18978 # scripts and configure runs, see configure's option --config-cache.
18979 # It is not useful on other systems. If it contains results you don't
18980 # want to keep, you may remove or edit it.
18982 # config.status only pays attention to the cache file if you give it
18983 # the --recheck option to rerun configure.
18985 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18986 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18987 # following values.
18991 # The following way of writing the cache mishandles newlines in values,
18992 # but we know of no workaround that is simple, portable, and efficient.
18993 # So, we kill variables containing newlines.
18994 # Ultrix sh set writes to stderr and can't be redirected directly,
18995 # and sets the high bit in the cache file unless we assign to the vars.
18997 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18998 eval ac_val=\$$ac_var
19002 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19003 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19006 _ | IFS | as_nl) ;; #(
19007 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19008 *) { eval $ac_var=; unset $ac_var;} ;;
19014 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19015 *${as_nl}ac_space=\ *)
19016 # `set' does not quote correctly, so add quotes: double-quote
19017 # substitution turns \\\\ into \\, and sed turns \\ into \.
19020 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19023 # `set' quotes correctly as required by POSIX, so do not add quotes.
19024 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19033 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19035 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19037 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19038 if test -w "$cache_file"; then
19039 if test "x$cache_file" != "x/dev/null"; then
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19041 $as_echo "$as_me: updating cache $cache_file" >&6;}
19042 if test ! -f "$cache_file" || test -h "$cache_file"; then
19043 cat confcache >"$cache_file"
19045 case $cache_file in #(
19047 mv -f confcache "$cache_file"$$ &&
19048 mv -f "$cache_file"$$ "$cache_file" ;; #(
19050 mv -f confcache "$cache_file" ;;
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19056 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19061 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19062 # Let make expand exec_prefix.
19063 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19065 DEFS=-DHAVE_CONFIG_H
19070 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19071 # 1. Remove the extension, and $U if already installed.
19072 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19073 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19074 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19075 # will be set to the directory where LIBOBJS objects are built.
19076 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19077 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19079 LIBOBJS=$ac_libobjs
19081 LTLIBOBJS=$ac_ltlibobjs
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19085 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19086 if test -n "$am_sleep_pid"; then
19087 # Hide warnings about reused PIDs.
19088 wait $am_sleep_pid 2>/dev/null
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19091 $as_echo "done" >&6; }
19092 if test -n "$EXEEXT"; then
19094 am__EXEEXT_FALSE='#'
19096 am__EXEEXT_TRUE='#'
19100 if test -z "${AUTOMAKE_OLDER_THAN_1_13_TRUE}" && test -z "${AUTOMAKE_OLDER_THAN_1_13_FALSE}"; then
19101 as_fn_error $? "conditional \"AUTOMAKE_OLDER_THAN_1_13\" was never defined.
19102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19104 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19105 as_fn_error $? "conditional \"AMDEP\" was never defined.
19106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19108 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19109 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19112 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19113 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19116 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19117 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19120 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
19121 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
19122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19124 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
19125 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
19126 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19128 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
19129 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
19130 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19132 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
19133 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
19134 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19136 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
19137 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
19138 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19140 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
19141 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
19142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19144 if test -z "${HAVE_GCC_TRUE}" && test -z "${HAVE_GCC_FALSE}"; then
19145 as_fn_error $? "conditional \"HAVE_GCC\" was never defined.
19146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19148 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
19149 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
19150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19152 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
19153 as_fn_error $? "conditional \"HAVE_PTHREAD\" was never defined.
19154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19156 if test -z "${HAVE_OT_TRUE}" && test -z "${HAVE_OT_FALSE}"; then
19157 as_fn_error $? "conditional \"HAVE_OT\" was never defined.
19158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19160 if test -z "${HAVE_FALLBACK_TRUE}" && test -z "${HAVE_FALLBACK_FALSE}"; then
19161 as_fn_error $? "conditional \"HAVE_FALLBACK\" was never defined.
19162 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19164 if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
19165 as_fn_error $? "conditional \"HAVE_GLIB\" was never defined.
19166 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19168 if test -z "${HAVE_GOBJECT_TRUE}" && test -z "${HAVE_GOBJECT_FALSE}"; then
19169 as_fn_error $? "conditional \"HAVE_GOBJECT\" was never defined.
19170 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19172 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
19173 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
19174 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19176 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
19177 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
19178 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19180 if test -z "${HAVE_UCDN_TRUE}" && test -z "${HAVE_UCDN_FALSE}"; then
19181 as_fn_error $? "conditional \"HAVE_UCDN\" was never defined.
19182 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19184 if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then
19185 as_fn_error $? "conditional \"HAVE_CAIRO\" was never defined.
19186 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19188 if test -z "${HAVE_CAIRO_FT_TRUE}" && test -z "${HAVE_CAIRO_FT_FALSE}"; then
19189 as_fn_error $? "conditional \"HAVE_CAIRO_FT\" was never defined.
19190 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19192 if test -z "${HAVE_ICU_TRUE}" && test -z "${HAVE_ICU_FALSE}"; then
19193 as_fn_error $? "conditional \"HAVE_ICU\" was never defined.
19194 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19196 if test -z "${HAVE_GRAPHITE2_TRUE}" && test -z "${HAVE_GRAPHITE2_FALSE}"; then
19197 as_fn_error $? "conditional \"HAVE_GRAPHITE2\" was never defined.
19198 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19200 if test -z "${HAVE_FREETYPE_TRUE}" && test -z "${HAVE_FREETYPE_FALSE}"; then
19201 as_fn_error $? "conditional \"HAVE_FREETYPE\" was never defined.
19202 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19204 if test -z "${HAVE_UNISCRIBE_TRUE}" && test -z "${HAVE_UNISCRIBE_FALSE}"; then
19205 as_fn_error $? "conditional \"HAVE_UNISCRIBE\" was never defined.
19206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19208 if test -z "${HAVE_CORETEXT_TRUE}" && test -z "${HAVE_CORETEXT_FALSE}"; then
19209 as_fn_error $? "conditional \"HAVE_CORETEXT\" was never defined.
19210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19213 : "${CONFIG_STATUS=./config.status}"
19215 ac_clean_files_save=$ac_clean_files
19216 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19217 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19218 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19220 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19222 # Generated by $as_me.
19223 # Run this file to recreate the current configuration.
19224 # Compiler output produced by configure, useful for debugging
19225 # configure, is in config.log if it exists.
19228 ac_cs_recheck=false
19231 SHELL=\${CONFIG_SHELL-$SHELL}
19234 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19235 ## -------------------- ##
19236 ## M4sh Initialization. ##
19237 ## -------------------- ##
19239 # Be more Bourne compatible
19240 DUALCASE=1; export DUALCASE # for MKS sh
19241 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19244 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19245 # is contrary to our usage. Disable this feature.
19246 alias -g '${1+"$@"}'='"$@"'
19247 setopt NO_GLOB_SUBST
19249 case `(set -o) 2>/dev/null` in #(
19261 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19262 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19263 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19264 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19265 # Prefer a ksh shell builtin over an external printf program on Solaris,
19266 # but without wasting forks for bash or zsh.
19267 if test -z "$BASH_VERSION$ZSH_VERSION" \
19268 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19269 as_echo='print -r --'
19270 as_echo_n='print -rn --'
19271 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19272 as_echo='printf %s\n'
19273 as_echo_n='printf %s'
19275 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19276 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19277 as_echo_n='/usr/ucb/echo -n'
19279 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19280 as_echo_n_body='eval
19284 expr "X$arg" : "X\\(.*\\)$as_nl";
19285 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19287 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19289 export as_echo_n_body
19290 as_echo_n='sh -c $as_echo_n_body as_echo'
19292 export as_echo_body
19293 as_echo='sh -c $as_echo_body as_echo'
19296 # The user is always right.
19297 if test "${PATH_SEPARATOR+set}" != set; then
19299 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19300 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19307 # We need space, tab and new line, in precisely that order. Quoting is
19308 # there to prevent editors from complaining about space-tab.
19309 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19310 # splitting by setting IFS to empty value.)
19313 # Find who we are. Look in the path if we contain no directory separator.
19316 *[\\/]* ) as_myself=$0 ;;
19317 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19318 for as_dir in $PATH
19321 test -z "$as_dir" && as_dir=.
19322 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19328 # We did not find ourselves, most probably we were run as `sh COMMAND'
19329 # in which case we are not to be found in the path.
19330 if test "x$as_myself" = x; then
19333 if test ! -f "$as_myself"; then
19334 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19338 # Unset variables that we do not need and which cause bugs (e.g. in
19339 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19340 # suppresses any "Segmentation fault" message there. '((' could
19341 # trigger a bug in pdksh 5.2.14.
19342 for as_var in BASH_ENV ENV MAIL MAILPATH
19343 do eval test x\${$as_var+set} = xset \
19344 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19357 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19360 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19361 # ----------------------------------------
19362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19364 # script with STATUS, using 1 if that was 0.
19367 as_status=$1; test $as_status -eq 0 && as_status=1
19369 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19372 $as_echo "$as_me: error: $2" >&2
19373 as_fn_exit $as_status
19377 # as_fn_set_status STATUS
19378 # -----------------------
19379 # Set $? to STATUS, without forking.
19380 as_fn_set_status ()
19383 } # as_fn_set_status
19385 # as_fn_exit STATUS
19386 # -----------------
19387 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19391 as_fn_set_status $1
19397 # Portably unset VAR.
19400 { eval $1=; unset $1;}
19402 as_unset=as_fn_unset
19403 # as_fn_append VAR VALUE
19404 # ----------------------
19405 # Append the text in VALUE to the end of the definition contained in VAR. Take
19406 # advantage of any shell optimizations that allow amortized linear growth over
19407 # repeated appends, instead of the typical quadratic growth present in naive
19409 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19410 eval 'as_fn_append ()
19421 # as_fn_arith ARG...
19422 # ------------------
19423 # Perform arithmetic evaluation on the ARGs, and store the result in the
19424 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19425 # must be portable across $(()) and expr.
19426 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19427 eval 'as_fn_arith ()
19434 as_val=`expr "$@" || test $? -eq 1`
19439 if expr a : '\(a\)' >/dev/null 2>&1 &&
19440 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19446 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19447 as_basename=basename
19452 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19458 as_me=`$as_basename -- "$0" ||
19459 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19460 X"$0" : 'X\(//\)$' \| \
19461 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19463 sed '/^.*\/\([^/][^/]*\)\/*$/{
19477 # Avoid depending upon Character Ranges.
19478 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19479 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19480 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19481 as_cr_digits='0123456789'
19482 as_cr_alnum=$as_cr_Letters$as_cr_digits
19484 ECHO_C= ECHO_N= ECHO_T=
19485 case `echo -n x` in #(((((
19487 case `echo 'xy\c'` in
19488 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19490 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19497 rm -f conf$$ conf$$.exe conf$$.file
19498 if test -d conf$$.dir; then
19499 rm -f conf$$.dir/conf$$.file
19502 mkdir conf$$.dir 2>/dev/null
19504 if (echo >conf$$.file) 2>/dev/null; then
19505 if ln -s conf$$.file conf$$ 2>/dev/null; then
19507 # ... but there are two gotchas:
19508 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19509 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19510 # In both cases, we have to default to `cp -pR'.
19511 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19513 elif ln conf$$.file conf$$ 2>/dev/null; then
19521 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19522 rmdir conf$$.dir 2>/dev/null
19527 # Create "$as_dir" as a directory, including parents if necessary.
19532 -*) as_dir=./$as_dir;;
19534 test -d "$as_dir" || eval $as_mkdir_p || {
19538 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19539 *) as_qdir=$as_dir;;
19541 as_dirs="'$as_qdir' $as_dirs"
19542 as_dir=`$as_dirname -- "$as_dir" ||
19543 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19544 X"$as_dir" : 'X\(//\)[^/]' \| \
19545 X"$as_dir" : 'X\(//\)$' \| \
19546 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19547 $as_echo X"$as_dir" |
19548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19552 /^X\(\/\/\)[^/].*/{
19565 test -d "$as_dir" && break
19567 test -z "$as_dirs" || eval "mkdir $as_dirs"
19568 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19572 if mkdir -p . 2>/dev/null; then
19573 as_mkdir_p='mkdir -p "$as_dir"'
19575 test -d ./-p && rmdir ./-p
19580 # as_fn_executable_p FILE
19581 # -----------------------
19582 # Test if FILE is an executable regular file.
19583 as_fn_executable_p ()
19585 test -f "$1" && test -x "$1"
19586 } # as_fn_executable_p
19587 as_test_x='test -x'
19588 as_executable_p=as_fn_executable_p
19590 # Sed expression to map a string onto a valid CPP name.
19591 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19593 # Sed expression to map a string onto a valid variable name.
19594 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19598 ## ----------------------------------- ##
19599 ## Main body of $CONFIG_STATUS script. ##
19600 ## ----------------------------------- ##
19602 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19605 # Save the log message, to keep $0 and so on meaningful, and to
19606 # report actual input values of CONFIG_FILES etc. instead of their
19607 # values after options handling.
19609 This file was extended by HarfBuzz $as_me 0.9.40, which was
19610 generated by GNU Autoconf 2.69. Invocation command line was
19612 CONFIG_FILES = $CONFIG_FILES
19613 CONFIG_HEADERS = $CONFIG_HEADERS
19614 CONFIG_LINKS = $CONFIG_LINKS
19615 CONFIG_COMMANDS = $CONFIG_COMMANDS
19618 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19623 case $ac_config_files in *"
19624 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19627 case $ac_config_headers in *"
19628 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19633 # Files that config.status was made for.
19634 config_files="$ac_config_files"
19635 config_headers="$ac_config_headers"
19636 config_commands="$ac_config_commands"
19640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19642 \`$as_me' instantiates files and other configuration actions
19643 from templates according to the current configuration. Unless the files
19644 and actions are specified as TAGs, all are instantiated by default.
19646 Usage: $0 [OPTION]... [TAG]...
19648 -h, --help print this help, then exit
19649 -V, --version print version number and configuration settings, then exit
19650 --config print configuration, then exit
19651 -q, --quiet, --silent
19652 do not print progress messages
19653 -d, --debug don't remove temporary files
19654 --recheck update $as_me by reconfiguring in the same conditions
19655 --file=FILE[:TEMPLATE]
19656 instantiate the configuration file FILE
19657 --header=FILE[:TEMPLATE]
19658 instantiate the configuration header FILE
19660 Configuration files:
19663 Configuration headers:
19666 Configuration commands:
19669 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz>.
19670 HarfBuzz home page: <http://harfbuzz.org/>."
19673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19674 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19676 HarfBuzz config.status 0.9.40
19677 configured by $0, generated by GNU Autoconf 2.69,
19678 with options \\"\$ac_cs_config\\"
19680 Copyright (C) 2012 Free Software Foundation, Inc.
19681 This config.status script is free software; the Free Software Foundation
19682 gives unlimited permission to copy, distribute and modify it."
19689 test -n "\$AWK" || AWK=awk
19692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19693 # The default lists apply if the user does not specify any file.
19699 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19700 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19704 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19716 # Handling of the options.
19717 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19719 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19720 $as_echo "$ac_cs_version"; exit ;;
19721 --config | --confi | --conf | --con | --co | --c )
19722 $as_echo "$ac_cs_config"; exit ;;
19723 --debug | --debu | --deb | --de | --d | -d )
19725 --file | --fil | --fi | --f )
19728 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19729 '') as_fn_error $? "missing file argument" ;;
19731 as_fn_append CONFIG_FILES " '$ac_optarg'"
19732 ac_need_defaults=false;;
19733 --header | --heade | --head | --hea )
19736 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19738 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19739 ac_need_defaults=false;;
19741 # Conflict between --help and --header
19742 as_fn_error $? "ambiguous option: \`$1'
19743 Try \`$0 --help' for more information.";;
19744 --help | --hel | -h )
19745 $as_echo "$ac_cs_usage"; exit ;;
19746 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19747 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19750 # This is an error.
19751 -*) as_fn_error $? "unrecognized option: \`$1'
19752 Try \`$0 --help' for more information." ;;
19754 *) as_fn_append ac_config_targets " $1"
19755 ac_need_defaults=false ;;
19761 ac_configure_extra_args=
19763 if $ac_cs_silent; then
19765 ac_configure_extra_args="$ac_configure_extra_args --silent"
19769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19770 if \$ac_cs_recheck; then
19771 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19773 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19774 CONFIG_SHELL='$SHELL'
19775 export CONFIG_SHELL
19780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19784 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19785 ## Running $as_me. ##
19791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19795 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19798 # The HP-UX ksh and POSIX shell print the target directory to stdout
19799 # if CDPATH is set.
19800 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19802 sed_quote_subst='$sed_quote_subst'
19803 double_quote_subst='$double_quote_subst'
19804 delay_variable_subst='$delay_variable_subst'
19805 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19806 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19807 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19808 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19809 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19810 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19811 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19812 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19813 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
19814 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19815 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19816 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19817 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19818 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19819 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19820 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19821 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19822 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19823 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19824 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19825 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19826 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19827 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19828 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19829 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19830 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19831 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19832 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19833 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19834 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19835 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19836 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19837 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19838 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19839 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19840 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19841 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19842 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19843 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19844 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19845 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19846 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19847 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19848 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19849 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19850 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19851 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19852 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19853 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19854 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19855 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19856 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19857 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19858 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19859 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19860 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
19861 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19862 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"`'
19863 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
19864 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19865 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19866 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19867 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19868 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19869 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19870 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19871 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19872 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19873 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19874 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19875 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19876 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19877 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19878 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19879 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19880 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19881 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19882 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19883 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19884 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19885 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19886 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19887 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19888 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19889 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19890 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19891 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19892 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19893 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19894 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19895 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19896 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19897 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19898 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19899 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19900 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19901 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19902 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19903 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19904 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19905 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19906 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19907 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19908 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19909 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19910 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19911 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19912 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19913 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19914 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19915 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19916 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19917 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19918 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19919 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19920 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19921 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19922 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19923 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19924 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19925 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19926 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19927 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19928 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19929 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19930 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
19931 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19932 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19933 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19934 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19935 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19936 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19937 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
19938 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
19939 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
19940 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
19941 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
19942 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
19943 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
19944 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
19945 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19946 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19947 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
19948 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
19949 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
19950 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
19951 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
19952 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
19953 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
19954 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
19955 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
19956 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19957 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19958 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
19959 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19960 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19961 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19962 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19963 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19964 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19965 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
19966 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19967 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19968 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19969 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
19970 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
19971 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
19972 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
19973 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
19974 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
19975 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
19976 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
19977 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
19978 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19979 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19980 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19981 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19982 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19983 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
19984 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
19985 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
19986 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19987 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19988 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
19989 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
19990 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
19993 LTCFLAGS='$LTCFLAGS'
19994 compiler='$compiler_DEFAULT'
19996 # A function that is used when there is no print builtin or printf.
19997 func_fallback_echo ()
19999 eval 'cat <<_LTECHO_EOF
20004 # Quote evaled strings.
20019 deplibs_check_method \
20024 sharedlib_from_linklib_cmd \
20027 archiver_list_spec \
20033 lt_cv_sys_global_symbol_pipe \
20034 lt_cv_sys_global_symbol_to_cdecl \
20035 lt_cv_sys_global_symbol_to_import \
20036 lt_cv_sys_global_symbol_to_c_name_address \
20037 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20038 lt_cv_nm_interface \
20039 nm_file_list_spec \
20040 lt_prog_compiler_no_builtin_flag \
20041 lt_prog_compiler_pic \
20042 lt_prog_compiler_wl \
20043 lt_prog_compiler_static \
20044 lt_cv_prog_compiler_c_o \
20053 export_dynamic_flag_spec \
20054 whole_archive_flag_spec \
20055 compiler_needs_object \
20057 allow_undefined_flag \
20058 no_undefined_flag \
20059 hardcode_libdir_flag_spec \
20060 hardcode_libdir_separator \
20064 variables_saved_for_relink \
20066 library_names_spec \
20068 install_override_mode \
20072 compiler_lib_search_dirs \
20077 compiler_lib_search_path \
20081 lt_prog_compiler_no_builtin_flag_CXX \
20082 lt_prog_compiler_pic_CXX \
20083 lt_prog_compiler_wl_CXX \
20084 lt_prog_compiler_static_CXX \
20085 lt_cv_prog_compiler_c_o_CXX \
20086 export_dynamic_flag_spec_CXX \
20087 whole_archive_flag_spec_CXX \
20088 compiler_needs_object_CXX \
20090 allow_undefined_flag_CXX \
20091 no_undefined_flag_CXX \
20092 hardcode_libdir_flag_spec_CXX \
20093 hardcode_libdir_separator_CXX \
20094 exclude_expsyms_CXX \
20095 include_expsyms_CXX \
20096 file_list_spec_CXX \
20097 compiler_lib_search_dirs_CXX \
20098 predep_objects_CXX \
20099 postdep_objects_CXX \
20102 compiler_lib_search_path_CXX; do
20103 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20104 *[\\\\\\\`\\"\\\$]*)
20105 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
20108 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20113 # Double-quote double-evaled strings.
20114 for var in reload_cmds \
20115 old_postinstall_cmds \
20116 old_postuninstall_cmds \
20118 extract_expsyms_cmds \
20119 old_archive_from_new_cmds \
20120 old_archive_from_expsyms_cmds \
20122 archive_expsym_cmds \
20124 module_expsym_cmds \
20125 export_symbols_cmds \
20129 postuninstall_cmds \
20131 sys_lib_search_path_spec \
20132 sys_lib_dlsearch_path_spec \
20134 old_archive_cmds_CXX \
20135 old_archive_from_new_cmds_CXX \
20136 old_archive_from_expsyms_cmds_CXX \
20138 archive_expsym_cmds_CXX \
20140 module_expsym_cmds_CXX \
20141 export_symbols_cmds_CXX \
20143 postlink_cmds_CXX; do
20144 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20145 *[\\\\\\\`\\"\\\$]*)
20146 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
20149 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20154 ac_aux_dir='$ac_aux_dir'
20156 # See if we are running on zsh, and set the options that allow our
20157 # commands through without removal of \ escapes INIT.
20158 if test -n "\${ZSH_VERSION+set}"; then
20159 setopt NO_GLOB_SUBST
20175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20177 # Handling of arguments.
20178 for ac_config_target in $ac_config_targets
20180 case $ac_config_target in
20181 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20182 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20183 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20184 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20185 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20186 "src/hb-version.h") CONFIG_FILES="$CONFIG_FILES src/hb-version.h" ;;
20187 "src/hb-ucdn/Makefile") CONFIG_FILES="$CONFIG_FILES src/hb-ucdn/Makefile" ;;
20188 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
20189 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
20190 "test/api/Makefile") CONFIG_FILES="$CONFIG_FILES test/api/Makefile" ;;
20191 "test/shaping/Makefile") CONFIG_FILES="$CONFIG_FILES test/shaping/Makefile" ;;
20192 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
20193 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
20194 "docs/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;;
20196 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20201 # If the user did not use the arguments to specify the items to instantiate,
20202 # then the envvar interface is used. Set only those that are not.
20203 # We use the long form for the default assignment because of an extremely
20204 # bizarre bug on SunOS 4.1.3.
20205 if $ac_need_defaults; then
20206 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20207 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20208 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20211 # Have a temporary directory for convenience. Make it in the build tree
20212 # simply because there is no reason against having it here, and in addition,
20213 # creating and moving files from /tmp can sometimes cause problems.
20214 # Hook for its removal unless debugging.
20215 # Note that there is a small window in which the directory will not be cleaned:
20216 # after its creation but before its name has been assigned to `$tmp'.
20220 trap 'exit_status=$?
20221 : "${ac_tmp:=$tmp}"
20222 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20224 trap 'as_fn_exit 1' 1 2 13 15
20226 # Create a (secure) tmp directory for tmp files.
20229 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20233 tmp=./conf$$-$RANDOM
20234 (umask 077 && mkdir "$tmp")
20235 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20238 # Set up the scripts for CONFIG_FILES section.
20239 # No need to generate them if there are no CONFIG_FILES.
20240 # This happens for instance with `./config.status config.h'.
20241 if test -n "$CONFIG_FILES"; then
20244 ac_cr=`echo X | tr X '\015'`
20245 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20246 # But we know of no other shell where ac_cr would be empty at this
20247 # point, so we can use a bashism as a fallback.
20248 if test "x$ac_cr" = x; then
20249 eval ac_cr=\$\'\\r\'
20251 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20252 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20255 ac_cs_awk_cr=$ac_cr
20258 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20263 echo "cat >conf$$subs.awk <<_ACEOF" &&
20264 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20266 } >conf$$subs.sh ||
20267 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20268 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20270 for ac_last_try in false false false false false :; do
20271 . ./conf$$subs.sh ||
20272 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20274 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20275 if test $ac_delim_n = $ac_delim_num; then
20277 elif $ac_last_try; then
20278 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20280 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20283 rm -f conf$$subs.sh
20285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20286 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20290 s/^/S["/; s/!.*/"]=/
20300 s/\(.\{148\}\)..*/\1/
20302 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20307 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20314 s/\(.\{148\}\)..*/\1/
20316 s/["\\]/\\&/g; s/^/"/; s/$/"/
20320 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20325 ' <conf$$subs.awk | sed '
20330 ' >>$CONFIG_STATUS || ac_write_fail=1
20331 rm -f conf$$subs.awk
20332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20334 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20335 for (key in S) S_is_set[key] = 1
20341 nfields = split(line, field, "@")
20343 len = length(field[1])
20344 for (i = 2; i < nfields; i++) {
20346 keylen = length(key)
20347 if (S_is_set[key]) {
20349 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20350 len += length(value) + length(field[++i])
20361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20362 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20363 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20366 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20367 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20370 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20371 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20372 # trailing colons and then remove the whole line if VPATH becomes empty
20373 # (actually we leave an empty line to preserve line numbers).
20374 if test "x$srcdir" = x.; then
20375 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20394 fi # test -n "$CONFIG_FILES"
20396 # Set up the scripts for CONFIG_HEADERS section.
20397 # No need to generate them if there are no CONFIG_HEADERS.
20398 # This happens for instance with `./config.status Makefile'.
20399 if test -n "$CONFIG_HEADERS"; then
20400 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20404 # Transform confdefs.h into an awk script `defines.awk', embedded as
20405 # here-document in config.status, that substitutes the proper values into
20406 # config.h.in to produce config.h.
20408 # Create a delimiter string that does not exist in confdefs.h, to ease
20409 # handling of long lines.
20411 for ac_last_try in false false :; do
20412 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20413 if test -z "$ac_tt"; then
20415 elif $ac_last_try; then
20416 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20418 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20422 # For the awk script, D is an array of macro values keyed by name,
20423 # likewise P contains macro parameters if any. Preserve backslash
20424 # newline sequences.
20426 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20428 s/.\{148\}/&'"$ac_delim"'/g
20431 s/^[ ]*#[ ]*define[ ][ ]*/ /
20438 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20440 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20444 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20445 D["\1"]=" \3\\\\\\n"\\/p
20447 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20452 s/.\{148\}/&'"$ac_delim"'/g
20457 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20460 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20462 ' <confdefs.h | sed '
20463 s/'"$ac_delim"'/"\\\
20464 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20467 for (key in D) D_is_set[key] = 1
20470 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20472 split(line, arg, " ")
20473 if (arg[1] == "#") {
20477 defundef = substr(arg[1], 2)
20480 split(mac1, mac2, "(") #)
20482 prefix = substr(line, 1, index(line, defundef) - 1)
20483 if (D_is_set[macro]) {
20484 # Preserve the white space surrounding the "#".
20485 print prefix "define", macro P[macro] D[macro]
20488 # Replace #undef with comments. This is necessary, for example,
20489 # in the case of _POSIX_SOURCE, which is predefined and required
20490 # on some systems where configure will not decide to define it.
20491 if (defundef == "undef") {
20492 print "/*", prefix defundef, macro, "*/"
20500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20501 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20502 fi # test -n "$CONFIG_HEADERS"
20505 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20510 :[FHLC]) ac_mode=$ac_tag; continue;;
20512 case $ac_mode$ac_tag in
20514 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20515 :[FH]-) ac_tag=-:-;;
20516 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20533 -) ac_f="$ac_tmp/stdin";;
20534 *) # Look for the file first in the build tree, then in the source tree
20535 # (if the path is not absolute). The absolute path cannot be DOS-style,
20536 # because $ac_f cannot contain `:'.
20540 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20542 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20544 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20545 as_fn_append ac_file_inputs " '$ac_f'"
20548 # Let's still pretend it is `configure' which instantiates (i.e., don't
20549 # use $as_me), people would be surprised to read:
20550 # /* config.h. Generated by config.status. */
20551 configure_input='Generated from '`
20552 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20554 if test x"$ac_file" != x-; then
20555 configure_input="$ac_file. $configure_input"
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20557 $as_echo "$as_me: creating $ac_file" >&6;}
20559 # Neutralize special characters interpreted by sed in replacement strings.
20560 case $configure_input in #(
20561 *\&* | *\|* | *\\* )
20562 ac_sed_conf_input=`$as_echo "$configure_input" |
20563 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20564 *) ac_sed_conf_input=$configure_input;;
20568 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20569 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20574 ac_dir=`$as_dirname -- "$ac_file" ||
20575 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20576 X"$ac_file" : 'X\(//\)[^/]' \| \
20577 X"$ac_file" : 'X\(//\)$' \| \
20578 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20579 $as_echo X"$ac_file" |
20580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20584 /^X\(\/\/\)[^/].*/{
20597 as_dir="$ac_dir"; as_fn_mkdir_p
20601 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20603 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20604 # A ".." for each directory in $ac_dir_suffix.
20605 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20606 case $ac_top_builddir_sub in
20607 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20608 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20611 ac_abs_top_builddir=$ac_pwd
20612 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20613 # for backward compatibility:
20614 ac_top_builddir=$ac_top_build_prefix
20617 .) # We are building in place.
20619 ac_top_srcdir=$ac_top_builddir_sub
20620 ac_abs_top_srcdir=$ac_pwd ;;
20621 [\\/]* | ?:[\\/]* ) # Absolute name.
20622 ac_srcdir=$srcdir$ac_dir_suffix;
20623 ac_top_srcdir=$srcdir
20624 ac_abs_top_srcdir=$srcdir ;;
20625 *) # Relative name.
20626 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20627 ac_top_srcdir=$ac_top_build_prefix$srcdir
20628 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20630 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20640 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20641 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20643 ac_MKDIR_P=$MKDIR_P
20645 [\\/$]* | ?:[\\/]* ) ;;
20646 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20651 # If the template does not know about datarootdir, expand it.
20652 # FIXME: This hack should be removed a few years after 2.60.
20653 ac_datarootdir_hack=; ac_datarootdir_seen=
20664 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20665 *datarootdir*) ac_datarootdir_seen=yes;;
20666 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20668 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20671 ac_datarootdir_hack='
20672 s&@datadir@&$datadir&g
20673 s&@docdir@&$docdir&g
20674 s&@infodir@&$infodir&g
20675 s&@localedir@&$localedir&g
20676 s&@mandir@&$mandir&g
20677 s&\\\${datarootdir}&$datarootdir&g' ;;
20681 # Neutralize VPATH when `$srcdir' = `.'.
20682 # Shell code in configure.ac might set extrasub.
20683 # FIXME: do we really want to maintain this feature?
20684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20685 ac_sed_extra="$ac_vpsub
20688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20690 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20691 s|@configure_input@|$ac_sed_conf_input|;t t
20692 s&@top_builddir@&$ac_top_builddir_sub&;t t
20693 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20694 s&@srcdir@&$ac_srcdir&;t t
20695 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20696 s&@top_srcdir@&$ac_top_srcdir&;t t
20697 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20698 s&@builddir@&$ac_builddir&;t t
20699 s&@abs_builddir@&$ac_abs_builddir&;t t
20700 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20701 s&@INSTALL@&$ac_INSTALL&;t t
20702 s&@MKDIR_P@&$ac_MKDIR_P&;t t
20703 $ac_datarootdir_hack
20705 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20706 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20708 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20709 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20710 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20711 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20713 which seems to be undefined. Please make sure it is defined" >&5
20714 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20715 which seems to be undefined. Please make sure it is defined" >&2;}
20717 rm -f "$ac_tmp/stdin"
20719 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20720 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20722 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20728 if test x"$ac_file" != x-; then
20730 $as_echo "/* $configure_input */" \
20731 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20732 } >"$ac_tmp/config.h" \
20733 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20734 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20735 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20736 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20739 mv "$ac_tmp/config.h" "$ac_file" \
20740 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20743 $as_echo "/* $configure_input */" \
20744 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20745 || as_fn_error $? "could not create -" "$LINENO" 5
20747 # Compute "$ac_file"'s index in $config_headers.
20750 for _am_header in $config_headers :; do
20751 case $_am_header in
20752 $_am_arg | $_am_arg:* )
20755 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20758 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20759 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20760 X"$_am_arg" : 'X\(//\)[^/]' \| \
20761 X"$_am_arg" : 'X\(//\)$' \| \
20762 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20763 $as_echo X"$_am_arg" |
20764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20768 /^X\(\/\/\)[^/].*/{
20780 s/.*/./; q'`/stamp-h$_am_stamp_count
20783 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20784 $as_echo "$as_me: executing $ac_file commands" >&6;}
20789 case $ac_file$ac_mode in
20790 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20791 # Older Autoconf quotes --file arguments for eval, but not when files
20792 # are listed without --file. Let's play safe and only enable the eval
20793 # if we detect the quoting.
20794 case $CONFIG_FILES in
20795 *\'*) eval set x "$CONFIG_FILES" ;;
20796 *) set x $CONFIG_FILES ;;
20801 # Strip MF so we end up with the name of the file.
20802 mf=`echo "$mf" | sed -e 's/:.*$//'`
20803 # Check whether this is an Automake generated Makefile or not.
20804 # We used to match only the files named 'Makefile.in', but
20805 # some people rename them; so instead we look at the file content.
20806 # Grep'ing the first line is not enough: some people post-process
20807 # each Makefile.in and add a new line on top of each file to say so.
20808 # Grep'ing the whole file is not good either: AIX grep has a line
20809 # limit of 2048, but all sed's we know have understand at least 4000.
20810 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20811 dirpart=`$as_dirname -- "$mf" ||
20812 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20813 X"$mf" : 'X\(//\)[^/]' \| \
20814 X"$mf" : 'X\(//\)$' \| \
20815 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20821 /^X\(\/\/\)[^/].*/{
20837 # Extract the definition of DEPDIR, am__include, and am__quote
20838 # from the Makefile without running 'make'.
20839 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20840 test -z "$DEPDIR" && continue
20841 am__include=`sed -n 's/^am__include = //p' < "$mf"`
20842 test -z "$am__include" && continue
20843 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20844 # Find all dependency output files, they are included files with
20845 # $(DEPDIR) in their names. We invoke sed twice because it is the
20846 # simplest approach to changing $(DEPDIR) to its actual value in the
20848 for file in `sed -n "
20849 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20850 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
20851 # Make sure the directory exists.
20852 test -f "$dirpart/$file" && continue
20853 fdir=`$as_dirname -- "$file" ||
20854 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20855 X"$file" : 'X\(//\)[^/]' \| \
20856 X"$file" : 'X\(//\)$' \| \
20857 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20858 $as_echo X"$file" |
20859 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20863 /^X\(\/\/\)[^/].*/{
20876 as_dir=$dirpart/$fdir; as_fn_mkdir_p
20877 # echo "creating $dirpart/$file"
20878 echo '# dummy' > "$dirpart/$file"
20885 # See if we are running on zsh, and set the options that allow our
20886 # commands through without removal of \ escapes.
20887 if test -n "${ZSH_VERSION+set}"; then
20888 setopt NO_GLOB_SUBST
20892 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20895 cat <<_LT_EOF >> "$cfgfile"
20898 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20899 # Generated automatically by $as_me ($PACKAGE) $VERSION
20900 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20901 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20903 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20904 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
20906 # Written by Gordon Matzigkeit, 1996
20908 # This file is part of GNU Libtool.
20910 # GNU Libtool is free software; you can redistribute it and/or
20911 # modify it under the terms of the GNU General Public License as
20912 # published by the Free Software Foundation; either version 2 of
20913 # the License, or (at your option) any later version.
20915 # As a special exception to the GNU General Public License,
20916 # if you distribute this file as part of a program or library that
20917 # is built using GNU Libtool, you may include this file under the
20918 # same distribution terms that you use for the rest of that program.
20920 # GNU Libtool is distributed in the hope that it will be useful,
20921 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20922 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20923 # GNU General Public License for more details.
20925 # You should have received a copy of the GNU General Public License
20926 # along with GNU Libtool; see the file COPYING. If not, a copy
20927 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20928 # obtained by writing to the Free Software Foundation, Inc.,
20929 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20932 # The names of the tagged configurations supported by this script.
20933 available_tags='CXX '
20935 # ### BEGIN LIBTOOL CONFIG
20937 # Which release of libtool.m4 was used?
20938 macro_version=$macro_version
20939 macro_revision=$macro_revision
20941 # Whether or not to build static libraries.
20942 build_old_libs=$enable_static
20944 # Whether or not to build shared libraries.
20945 build_libtool_libs=$enable_shared
20947 # What type of objects to build.
20950 # Whether or not to optimize for fast installation.
20951 fast_install=$enable_fast_install
20953 # Shell to use when invoking shell scripts.
20956 # An echo program that protects backslashes.
20959 # The PATH separator for the build system.
20960 PATH_SEPARATOR=$lt_PATH_SEPARATOR
20963 host_alias=$host_alias
20967 # The build system.
20968 build_alias=$build_alias
20972 # A sed program that does not truncate output.
20975 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20976 Xsed="\$SED -e 1s/^X//"
20978 # A grep program that handles long lines.
20984 # A literal string matcher.
20987 # A BSD- or MS-compatible name lister.
20990 # Whether we need soft or hard links.
20993 # What is the maximum length of a command?
20994 max_cmd_len=$max_cmd_len
20996 # Object file suffix (normally "o").
20999 # Executable file suffix (normally "").
21002 # whether the shell understands "unset".
21005 # turn spaces into newlines.
21008 # turn newlines into spaces.
21011 # convert \$build file names to \$host format.
21012 to_host_file_cmd=$lt_cv_to_host_file_cmd
21014 # convert \$build files to toolchain format.
21015 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21017 # An object symbol dumper.
21018 OBJDUMP=$lt_OBJDUMP
21020 # Method to check whether dependent libraries are shared objects.
21021 deplibs_check_method=$lt_deplibs_check_method
21023 # Command to use when deplibs_check_method = "file_magic".
21024 file_magic_cmd=$lt_file_magic_cmd
21026 # How to find potential files when deplibs_check_method = "file_magic".
21027 file_magic_glob=$lt_file_magic_glob
21029 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21030 want_nocaseglob=$lt_want_nocaseglob
21032 # DLL creation program.
21033 DLLTOOL=$lt_DLLTOOL
21035 # Command to associate shared and link libraries.
21036 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21041 # Flags to create an archive.
21042 AR_FLAGS=$lt_AR_FLAGS
21044 # How to feed a file listing to the archiver.
21045 archiver_list_spec=$lt_archiver_list_spec
21047 # A symbol stripping program.
21050 # Commands used to install an old-style archive.
21052 old_postinstall_cmds=$lt_old_postinstall_cmds
21053 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21055 # Whether to use a lock for old archive extraction.
21056 lock_old_archive_extraction=$lock_old_archive_extraction
21061 # LTCC compiler flags.
21062 LTCFLAGS=$lt_CFLAGS
21064 # Take the output of nm and produce a listing of raw symbols and C names.
21065 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21067 # Transform the output of nm in a proper C declaration.
21068 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21070 # Transform the output of nm into a list of symbols to manually relocate.
21071 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
21073 # Transform the output of nm in a C name address pair.
21074 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21076 # Transform the output of nm in a C name address pair when lib prefix is needed.
21077 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21079 # The name lister interface.
21080 nm_interface=$lt_lt_cv_nm_interface
21082 # Specify filename containing input files for \$NM.
21083 nm_file_list_spec=$lt_nm_file_list_spec
21085 # The root where to search for dependent libraries,and where our libraries should be installed.
21086 lt_sysroot=$lt_sysroot
21088 # The name of the directory that contains temporary libtool files.
21091 # Used to examine libraries when file_magic_cmd begins with "file".
21092 MAGIC_CMD=$MAGIC_CMD
21094 # Must we lock files when doing compilation?
21095 need_locks=$lt_need_locks
21098 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21100 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21101 DSYMUTIL=$lt_DSYMUTIL
21103 # Tool to change global to local symbols on Mac OS X.
21106 # Tool to manipulate fat objects and archives on Mac OS X.
21109 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21112 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21113 OTOOL64=$lt_OTOOL64
21115 # Old archive suffix (normally "a").
21118 # Shared library suffix (normally ".so").
21119 shrext_cmds=$lt_shrext_cmds
21121 # The commands to extract the exported symbol list from a shared archive.
21122 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21124 # Variables whose values should be saved in libtool wrapper scripts and
21125 # restored at link time.
21126 variables_saved_for_relink=$lt_variables_saved_for_relink
21128 # Do we need the "lib" prefix for modules?
21129 need_lib_prefix=$need_lib_prefix
21131 # Do we need a version for libraries?
21132 need_version=$need_version
21134 # Library versioning type.
21135 version_type=$version_type
21137 # Shared library runtime path variable.
21138 runpath_var=$runpath_var
21140 # Shared library path variable.
21141 shlibpath_var=$shlibpath_var
21143 # Is shlibpath searched before the hard-coded library search path?
21144 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21146 # Format of library name prefix.
21147 libname_spec=$lt_libname_spec
21149 # List of archive names. First name is the real one, the rest are links.
21150 # The last name is the one that the linker finds with -lNAME
21151 library_names_spec=$lt_library_names_spec
21153 # The coded name of the library, if different from the real name.
21154 soname_spec=$lt_soname_spec
21156 # Permission mode override for installation of shared libraries.
21157 install_override_mode=$lt_install_override_mode
21159 # Command to use after installation of a shared archive.
21160 postinstall_cmds=$lt_postinstall_cmds
21162 # Command to use after uninstallation of a shared archive.
21163 postuninstall_cmds=$lt_postuninstall_cmds
21165 # Commands used to finish a libtool library installation in a directory.
21166 finish_cmds=$lt_finish_cmds
21168 # As "finish_cmds", except a single script fragment to be evaled but
21170 finish_eval=$lt_finish_eval
21172 # Whether we should hardcode library paths into libraries.
21173 hardcode_into_libs=$hardcode_into_libs
21175 # Compile-time system search path for libraries.
21176 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21178 # Run-time system search path for libraries.
21179 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21181 # Whether dlopen is supported.
21182 dlopen_support=$enable_dlopen
21184 # Whether dlopen of programs is supported.
21185 dlopen_self=$enable_dlopen_self
21187 # Whether dlopen of statically linked programs is supported.
21188 dlopen_self_static=$enable_dlopen_self_static
21190 # Commands to strip libraries.
21191 old_striplib=$lt_old_striplib
21192 striplib=$lt_striplib
21195 # The linker used to build libraries.
21198 # How to create reloadable object files.
21199 reload_flag=$lt_reload_flag
21200 reload_cmds=$lt_reload_cmds
21202 # Commands used to build an old-style archive.
21203 old_archive_cmds=$lt_old_archive_cmds
21205 # A language specific compiler.
21208 # Is the compiler the GNU compiler?
21211 # Compiler flag to turn off builtin functions.
21212 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21214 # Additional compiler flags for building library objects.
21215 pic_flag=$lt_lt_prog_compiler_pic
21217 # How to pass a linker flag through the compiler.
21218 wl=$lt_lt_prog_compiler_wl
21220 # Compiler flag to prevent dynamic linking.
21221 link_static_flag=$lt_lt_prog_compiler_static
21223 # Does compiler simultaneously support -c and -o options?
21224 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21226 # Whether or not to add -lc for building shared libraries.
21227 build_libtool_need_lc=$archive_cmds_need_lc
21229 # Whether or not to disallow shared libs when runtime libs are static.
21230 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21232 # Compiler flag to allow reflexive dlopens.
21233 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21235 # Compiler flag to generate shared objects directly from archives.
21236 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21238 # Whether the compiler copes with passing no objects directly.
21239 compiler_needs_object=$lt_compiler_needs_object
21241 # Create an old-style archive from a shared archive.
21242 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21244 # Create a temporary old-style archive to link instead of a shared archive.
21245 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21247 # Commands used to build a shared archive.
21248 archive_cmds=$lt_archive_cmds
21249 archive_expsym_cmds=$lt_archive_expsym_cmds
21251 # Commands used to build a loadable module if different from building
21252 # a shared archive.
21253 module_cmds=$lt_module_cmds
21254 module_expsym_cmds=$lt_module_expsym_cmds
21256 # Whether we are building with GNU ld or not.
21257 with_gnu_ld=$lt_with_gnu_ld
21259 # Flag that allows shared libraries with undefined symbols to be built.
21260 allow_undefined_flag=$lt_allow_undefined_flag
21262 # Flag that enforces no undefined symbols.
21263 no_undefined_flag=$lt_no_undefined_flag
21265 # Flag to hardcode \$libdir into a binary during linking.
21266 # This must work even if \$libdir does not exist
21267 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21269 # Whether we need a single "-rpath" flag with a separated argument.
21270 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21272 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21273 # DIR into the resulting binary.
21274 hardcode_direct=$hardcode_direct
21276 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21277 # DIR into the resulting binary and the resulting library dependency is
21278 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
21279 # library is relocated.
21280 hardcode_direct_absolute=$hardcode_direct_absolute
21282 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21283 # into the resulting binary.
21284 hardcode_minus_L=$hardcode_minus_L
21286 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21287 # into the resulting binary.
21288 hardcode_shlibpath_var=$hardcode_shlibpath_var
21290 # Set to "yes" if building a shared library automatically hardcodes DIR
21291 # into the library and all subsequent libraries and executables linked
21293 hardcode_automatic=$hardcode_automatic
21295 # Set to yes if linker adds runtime paths of dependent libraries
21296 # to runtime path list.
21297 inherit_rpath=$inherit_rpath
21299 # Whether libtool must link a program against all its dependency libraries.
21300 link_all_deplibs=$link_all_deplibs
21302 # Set to "yes" if exported symbols are required.
21303 always_export_symbols=$always_export_symbols
21305 # The commands to list exported symbols.
21306 export_symbols_cmds=$lt_export_symbols_cmds
21308 # Symbols that should not be listed in the preloaded symbols.
21309 exclude_expsyms=$lt_exclude_expsyms
21311 # Symbols that must always be exported.
21312 include_expsyms=$lt_include_expsyms
21314 # Commands necessary for linking programs (against libraries) with templates.
21315 prelink_cmds=$lt_prelink_cmds
21317 # Commands necessary for finishing linking programs.
21318 postlink_cmds=$lt_postlink_cmds
21320 # Specify filename containing input files.
21321 file_list_spec=$lt_file_list_spec
21323 # How to hardcode a shared library path into an executable.
21324 hardcode_action=$hardcode_action
21326 # The directories searched by this compiler when creating a shared library.
21327 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21329 # Dependencies to place before and after the objects being linked to
21330 # create a shared library.
21331 predep_objects=$lt_predep_objects
21332 postdep_objects=$lt_postdep_objects
21333 predeps=$lt_predeps
21334 postdeps=$lt_postdeps
21336 # The library search path used internally by the compiler when linking
21337 # a shared library.
21338 compiler_lib_search_path=$lt_compiler_lib_search_path
21340 # ### END LIBTOOL CONFIG
21346 cat <<\_LT_EOF >> "$cfgfile"
21347 # AIX sometimes has problems with the GCC collect2 program. For some
21348 # reason, if we set the COLLECT_NAMES environment variable, the problems
21349 # vanish in a puff of smoke.
21350 if test set != "${COLLECT_NAMES+set}"; then
21352 export COLLECT_NAMES
21359 ltmain=$ac_aux_dir/ltmain.sh
21362 # We use sed instead of cat because bash on DJGPP gets confused if
21363 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21364 # text mode, it properly converts lines to CR/LF. This bash problem
21365 # is reportedly fixed, but why not run on old versions too?
21366 sed '$q' "$ltmain" >> "$cfgfile" \
21367 || (rm -f "$cfgfile"; exit 1)
21369 mv -f "$cfgfile" "$ofile" ||
21370 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21374 cat <<_LT_EOF >> "$ofile"
21376 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21378 # The linker used to build libraries.
21381 # How to create reloadable object files.
21382 reload_flag=$lt_reload_flag_CXX
21383 reload_cmds=$lt_reload_cmds_CXX
21385 # Commands used to build an old-style archive.
21386 old_archive_cmds=$lt_old_archive_cmds_CXX
21388 # A language specific compiler.
21389 CC=$lt_compiler_CXX
21391 # Is the compiler the GNU compiler?
21394 # Compiler flag to turn off builtin functions.
21395 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21397 # Additional compiler flags for building library objects.
21398 pic_flag=$lt_lt_prog_compiler_pic_CXX
21400 # How to pass a linker flag through the compiler.
21401 wl=$lt_lt_prog_compiler_wl_CXX
21403 # Compiler flag to prevent dynamic linking.
21404 link_static_flag=$lt_lt_prog_compiler_static_CXX
21406 # Does compiler simultaneously support -c and -o options?
21407 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21409 # Whether or not to add -lc for building shared libraries.
21410 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21412 # Whether or not to disallow shared libs when runtime libs are static.
21413 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21415 # Compiler flag to allow reflexive dlopens.
21416 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21418 # Compiler flag to generate shared objects directly from archives.
21419 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21421 # Whether the compiler copes with passing no objects directly.
21422 compiler_needs_object=$lt_compiler_needs_object_CXX
21424 # Create an old-style archive from a shared archive.
21425 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21427 # Create a temporary old-style archive to link instead of a shared archive.
21428 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21430 # Commands used to build a shared archive.
21431 archive_cmds=$lt_archive_cmds_CXX
21432 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21434 # Commands used to build a loadable module if different from building
21435 # a shared archive.
21436 module_cmds=$lt_module_cmds_CXX
21437 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21439 # Whether we are building with GNU ld or not.
21440 with_gnu_ld=$lt_with_gnu_ld_CXX
21442 # Flag that allows shared libraries with undefined symbols to be built.
21443 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21445 # Flag that enforces no undefined symbols.
21446 no_undefined_flag=$lt_no_undefined_flag_CXX
21448 # Flag to hardcode \$libdir into a binary during linking.
21449 # This must work even if \$libdir does not exist
21450 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21452 # Whether we need a single "-rpath" flag with a separated argument.
21453 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21455 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21456 # DIR into the resulting binary.
21457 hardcode_direct=$hardcode_direct_CXX
21459 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21460 # DIR into the resulting binary and the resulting library dependency is
21461 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
21462 # library is relocated.
21463 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21465 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21466 # into the resulting binary.
21467 hardcode_minus_L=$hardcode_minus_L_CXX
21469 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21470 # into the resulting binary.
21471 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21473 # Set to "yes" if building a shared library automatically hardcodes DIR
21474 # into the library and all subsequent libraries and executables linked
21476 hardcode_automatic=$hardcode_automatic_CXX
21478 # Set to yes if linker adds runtime paths of dependent libraries
21479 # to runtime path list.
21480 inherit_rpath=$inherit_rpath_CXX
21482 # Whether libtool must link a program against all its dependency libraries.
21483 link_all_deplibs=$link_all_deplibs_CXX
21485 # Set to "yes" if exported symbols are required.
21486 always_export_symbols=$always_export_symbols_CXX
21488 # The commands to list exported symbols.
21489 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21491 # Symbols that should not be listed in the preloaded symbols.
21492 exclude_expsyms=$lt_exclude_expsyms_CXX
21494 # Symbols that must always be exported.
21495 include_expsyms=$lt_include_expsyms_CXX
21497 # Commands necessary for linking programs (against libraries) with templates.
21498 prelink_cmds=$lt_prelink_cmds_CXX
21500 # Commands necessary for finishing linking programs.
21501 postlink_cmds=$lt_postlink_cmds_CXX
21503 # Specify filename containing input files.
21504 file_list_spec=$lt_file_list_spec_CXX
21506 # How to hardcode a shared library path into an executable.
21507 hardcode_action=$hardcode_action_CXX
21509 # The directories searched by this compiler when creating a shared library.
21510 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21512 # Dependencies to place before and after the objects being linked to
21513 # create a shared library.
21514 predep_objects=$lt_predep_objects_CXX
21515 postdep_objects=$lt_postdep_objects_CXX
21516 predeps=$lt_predeps_CXX
21517 postdeps=$lt_postdeps_CXX
21519 # The library search path used internally by the compiler when linking
21520 # a shared library.
21521 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21523 # ### END LIBTOOL TAG CONFIG: CXX
21534 ac_clean_files=$ac_clean_files_save
21536 test $ac_write_fail = 0 ||
21537 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21540 # configure is writing to config.log, and then calls config.status.
21541 # config.status does its own redirection, appending to config.log.
21542 # Unfortunately, on DOS this fails, as config.log is still kept open
21543 # by configure, so config.status won't be able to write to it; its
21544 # output is simply discarded. So we exec the FD to /dev/null,
21545 # effectively closing config.log, so it can be properly (re)opened and
21546 # appended to by config.status. When coming back to configure, we
21547 # need to make the FD available again.
21548 if test "$no_create" != yes; then
21550 ac_config_status_args=
21551 test "$silent" = yes &&
21552 ac_config_status_args="$ac_config_status_args --quiet"
21554 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21556 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21557 # would make configure fail if this is the last instruction.
21558 $ac_cs_success || as_fn_exit 1
21560 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21562 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21566 { $as_echo "$as_me:${as_lineno-$LINENO}:
21568 Build configuration:
21570 Unicode callbacks (you want at least one):
21575 Font callbacks (the more the better):
21576 FreeType: ${have_freetype}
21578 Tools used for command-line utilities:
21579 Cairo: ${have_cairo}
21581 Additional shapers (the more the better):
21582 Graphite2: ${have_graphite2}
21584 Platform shapers (not normally needed):
21585 CoreText: ${have_coretext}
21586 Uniscribe: ${have_uniscribe}
21589 Documentation: ${have_gtk_doc}
21590 GObject bindings: ${have_gobject}
21591 Introspection: ${have_introspection}
21595 Build configuration:
21597 Unicode callbacks (you want at least one):
21602 Font callbacks (the more the better):
21603 FreeType: ${have_freetype}
21605 Tools used for command-line utilities:
21606 Cairo: ${have_cairo}
21608 Additional shapers (the more the better):
21609 Graphite2: ${have_graphite2}
21611 Platform shapers (not normally needed):
21612 CoreText: ${have_coretext}
21613 Uniscribe: ${have_uniscribe}
21616 Documentation: ${have_gtk_doc}
21617 GObject bindings: ${have_gobject}
21618 Introspection: ${have_introspection}