2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for HarfBuzz 0.9.3.
5 # Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz
235 $0: about your system, including any error possibly output
236 $0: before this message. Then install a modern shell, or
237 $0: manually run the script under such a shell if you do
244 SHELL=${CONFIG_SHELL-/bin/sh}
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
255 # Portably unset VAR.
258 { eval $1=; unset $1;}
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282 # Create "$as_dir" as a directory, including parents if necessary.
287 -*) as_dir=./$as_dir;;
289 test -d "$as_dir" || eval $as_mkdir_p || {
293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 as_dirs="'$as_qdir' $as_dirs"
297 as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320 test -d "$as_dir" && break
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 eval 'as_fn_append ()
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 as_val=`expr "$@" || test $? -eq 1`
363 # as_fn_error ERROR [LINENO LOG_FD]
364 # ---------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with status $?, using 1 if that was 0.
370 as_status=$?; test $as_status -eq 0 && as_status=1
372 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
375 $as_echo "$as_me: error: $1" >&2
376 as_fn_exit $as_status
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
425 as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445 chmod +x "$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
452 # Exit status is that of the last command.
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
459 case `echo 'xy\c'` in
460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471 rm -f conf$$.dir/conf$$.file
474 mkdir conf$$.dir 2>/dev/null
476 if (echo >conf$$.file) 2>/dev/null; then
477 if ln -s conf$$.file conf$$ 2>/dev/null; then
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485 elif ln conf$$.file conf$$ 2>/dev/null; then
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
496 if mkdir -p . 2>/dev/null; then
497 as_mkdir_p='mkdir -p "$as_dir"'
499 test -d ./-p && rmdir ./-p
503 if test -x / >/dev/null 2>&1; then
506 if ls -dL / >/dev/null 2>&1; then
513 if test -d "$1"; then
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
524 as_executable_p=$as_test_x
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 # Check that we are running under the correct shell.
535 SHELL=${CONFIG_SHELL-/bin/sh}
539 # Remove one level of quotation (which was required for Make).
540 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
545 if test "X$1" = X--no-reexec; then
546 # Discard the --no-reexec flag, and continue.
548 elif test "X$1" = X--fallback-echo; then
549 # Avoid inline document here, it may be left over
551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552 # Yippee, $ECHO works!
555 # Restart under the correct shell.
556 exec $SHELL "$0" --no-reexec ${1+"$@"}
559 if test "X$1" = X--fallback-echo; then
560 # used as fallback echo
568 # The HP-UX ksh and POSIX shell print the target directory to stdout
570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
572 if test -z "$lt_ECHO"; then
573 if test "X${echo_test_string+set}" != Xset; then
574 # find a string as large as possible, as long as the shell can cope with it
575 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
585 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587 test "X$echo_testing_string" = "X$echo_test_string"; then
590 # The Solaris, AIX, and Digital Unix default echo programs unquote
591 # backslashes. This makes it impossible to quote backslashes using
592 # echo "$something" | sed 's/\\/\\\\/g'
594 # So, first we look for a working echo in the user's PATH.
596 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597 for dir in $PATH /usr/ucb; do
599 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602 test "X$echo_testing_string" = "X$echo_test_string"; then
609 if test "X$ECHO" = Xecho; then
610 # We didn't find a better echo, so look for alternatives.
611 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613 test "X$echo_testing_string" = "X$echo_test_string"; then
614 # This shell has a builtin print -r that does the trick.
616 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617 test "X$CONFIG_SHELL" != X/bin/ksh; then
618 # If we have ksh, try running configure again with it.
619 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620 export ORIGINAL_CONFIG_SHELL
621 CONFIG_SHELL=/bin/ksh
623 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
627 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
632 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633 test "X$echo_testing_string" = 'X\t' &&
634 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
638 SHELL="$CONFIG_SHELL"
640 ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642 test "X$echo_testing_string" = 'X\t' &&
643 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644 test "X$echo_testing_string" = "X$echo_test_string"; then
645 ECHO="$CONFIG_SHELL $0 --fallback-echo"
647 # maybe with a smaller string...
650 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
658 if test "$prev" != 'sed 50q "$0"'; then
659 echo_test_string=`eval $prev`
660 export echo_test_string
661 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
663 # Oops. We lost completely, so just stick with echo.
672 # Copy echo and quote the copy suitably for passing to libtool from
673 # the Makefile, instead of quoting the original, which is used later.
675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
682 test -n "$DJDIR" || exec 7<&0 </dev/null
686 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
687 # so uname gets run too.
688 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
693 ac_default_prefix=/usr/local
695 ac_config_libobj_dir=.
702 # Identity of this package.
703 PACKAGE_NAME='HarfBuzz'
704 PACKAGE_TARNAME='harfbuzz'
705 PACKAGE_VERSION='0.9.3'
706 PACKAGE_STRING='HarfBuzz 0.9.3'
707 PACKAGE_BUGREPORT='http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz'
708 PACKAGE_URL='http://harfbuzz.org/'
710 ac_unique_file="harfbuzz.pc.in"
711 # Factoring default headers for most tests.
712 ac_includes_default="\
714 #ifdef HAVE_SYS_TYPES_H
715 # include <sys/types.h>
717 #ifdef HAVE_SYS_STAT_H
718 # include <sys/stat.h>
724 # ifdef HAVE_STDLIB_H
729 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
734 #ifdef HAVE_STRINGS_H
735 # include <strings.h>
737 #ifdef HAVE_INTTYPES_H
738 # include <inttypes.h>
747 ac_subst_vars='am__EXEEXT_FALSE
799 HB_LIBTOOL_VERSION_INFO
865 INSTALL_STRIP_PROGRAM
907 program_transform_name
920 enable_option_checking
926 enable_dependency_tracking
930 ac_precious_vars='build_alias
962 # Initialize some variables set by options.
964 ac_init_version=false
965 ac_unrecognized_opts=
967 # The variables have the same names as the options, with
968 # dashes changed to underlines.
976 program_transform_name=s,x,x,
984 # Installation directory options.
985 # These are left unexpanded so users can "make install exec_prefix=/foo"
986 # and all the variables that are supposed to be based on exec_prefix
987 # by default will actually change.
988 # Use braces instead of parens because sh, perl, etc. also accept them.
989 # (The list follows the same order as the GNU Coding Standards.)
990 bindir='${exec_prefix}/bin'
991 sbindir='${exec_prefix}/sbin'
992 libexecdir='${exec_prefix}/libexec'
993 datarootdir='${prefix}/share'
994 datadir='${datarootdir}'
995 sysconfdir='${prefix}/etc'
996 sharedstatedir='${prefix}/com'
997 localstatedir='${prefix}/var'
998 includedir='${prefix}/include'
999 oldincludedir='/usr/include'
1000 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1001 infodir='${datarootdir}/info'
1006 libdir='${exec_prefix}/lib'
1007 localedir='${datarootdir}/locale'
1008 mandir='${datarootdir}/man'
1014 # If the previous option needs an argument, assign it.
1015 if test -n "$ac_prev"; then
1016 eval $ac_prev=\$ac_option
1022 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1026 # Accept the important Cygnus configure options, so we can diagnose typos.
1028 case $ac_dashdash$ac_option in
1032 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1034 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1035 bindir=$ac_optarg ;;
1037 -build | --build | --buil | --bui | --bu)
1038 ac_prev=build_alias ;;
1039 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1040 build_alias=$ac_optarg ;;
1042 -cache-file | --cache-file | --cache-fil | --cache-fi \
1043 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1044 ac_prev=cache_file ;;
1045 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1046 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1047 cache_file=$ac_optarg ;;
1049 --config-cache | -C)
1050 cache_file=config.cache ;;
1052 -datadir | --datadir | --datadi | --datad)
1054 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1055 datadir=$ac_optarg ;;
1057 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1058 | --dataroo | --dataro | --datar)
1059 ac_prev=datarootdir ;;
1060 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1061 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1062 datarootdir=$ac_optarg ;;
1064 -disable-* | --disable-*)
1065 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068 as_fn_error "invalid feature name: $ac_useropt"
1069 ac_useropt_orig=$ac_useropt
1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071 case $ac_user_opts in
1073 "enable_$ac_useropt"
1075 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1076 ac_unrecognized_sep=', ';;
1078 eval enable_$ac_useropt=no ;;
1080 -docdir | --docdir | --docdi | --doc | --do)
1082 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1083 docdir=$ac_optarg ;;
1085 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1087 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1088 dvidir=$ac_optarg ;;
1090 -enable-* | --enable-*)
1091 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094 as_fn_error "invalid feature name: $ac_useropt"
1095 ac_useropt_orig=$ac_useropt
1096 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097 case $ac_user_opts in
1099 "enable_$ac_useropt"
1101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1102 ac_unrecognized_sep=', ';;
1104 eval enable_$ac_useropt=\$ac_optarg ;;
1106 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1107 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1108 | --exec | --exe | --ex)
1109 ac_prev=exec_prefix ;;
1110 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1111 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1112 | --exec=* | --exe=* | --ex=*)
1113 exec_prefix=$ac_optarg ;;
1115 -gas | --gas | --ga | --g)
1116 # Obsolete; use --with-gas.
1119 -help | --help | --hel | --he | -h)
1120 ac_init_help=long ;;
1121 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1122 ac_init_help=recursive ;;
1123 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1124 ac_init_help=short ;;
1126 -host | --host | --hos | --ho)
1127 ac_prev=host_alias ;;
1128 -host=* | --host=* | --hos=* | --ho=*)
1129 host_alias=$ac_optarg ;;
1131 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1133 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1135 htmldir=$ac_optarg ;;
1137 -includedir | --includedir | --includedi | --included | --include \
1138 | --includ | --inclu | --incl | --inc)
1139 ac_prev=includedir ;;
1140 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1141 | --includ=* | --inclu=* | --incl=* | --inc=*)
1142 includedir=$ac_optarg ;;
1144 -infodir | --infodir | --infodi | --infod | --info | --inf)
1146 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1147 infodir=$ac_optarg ;;
1149 -libdir | --libdir | --libdi | --libd)
1151 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1152 libdir=$ac_optarg ;;
1154 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1155 | --libexe | --libex | --libe)
1156 ac_prev=libexecdir ;;
1157 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1158 | --libexe=* | --libex=* | --libe=*)
1159 libexecdir=$ac_optarg ;;
1161 -localedir | --localedir | --localedi | --localed | --locale)
1162 ac_prev=localedir ;;
1163 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1164 localedir=$ac_optarg ;;
1166 -localstatedir | --localstatedir | --localstatedi | --localstated \
1167 | --localstate | --localstat | --localsta | --localst | --locals)
1168 ac_prev=localstatedir ;;
1169 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1170 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1171 localstatedir=$ac_optarg ;;
1173 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1175 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1176 mandir=$ac_optarg ;;
1178 -nfp | --nfp | --nf)
1179 # Obsolete; use --without-fp.
1182 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1183 | --no-cr | --no-c | -n)
1186 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1187 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1190 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1191 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1192 | --oldin | --oldi | --old | --ol | --o)
1193 ac_prev=oldincludedir ;;
1194 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1195 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1196 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1197 oldincludedir=$ac_optarg ;;
1199 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1201 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1202 prefix=$ac_optarg ;;
1204 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1205 | --program-pre | --program-pr | --program-p)
1206 ac_prev=program_prefix ;;
1207 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1208 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1209 program_prefix=$ac_optarg ;;
1211 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1212 | --program-suf | --program-su | --program-s)
1213 ac_prev=program_suffix ;;
1214 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1215 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1216 program_suffix=$ac_optarg ;;
1218 -program-transform-name | --program-transform-name \
1219 | --program-transform-nam | --program-transform-na \
1220 | --program-transform-n | --program-transform- \
1221 | --program-transform | --program-transfor \
1222 | --program-transfo | --program-transf \
1223 | --program-trans | --program-tran \
1224 | --progr-tra | --program-tr | --program-t)
1225 ac_prev=program_transform_name ;;
1226 -program-transform-name=* | --program-transform-name=* \
1227 | --program-transform-nam=* | --program-transform-na=* \
1228 | --program-transform-n=* | --program-transform-=* \
1229 | --program-transform=* | --program-transfor=* \
1230 | --program-transfo=* | --program-transf=* \
1231 | --program-trans=* | --program-tran=* \
1232 | --progr-tra=* | --program-tr=* | --program-t=*)
1233 program_transform_name=$ac_optarg ;;
1235 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1237 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1238 pdfdir=$ac_optarg ;;
1240 -psdir | --psdir | --psdi | --psd | --ps)
1242 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1245 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1246 | -silent | --silent | --silen | --sile | --sil)
1249 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1251 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1253 sbindir=$ac_optarg ;;
1255 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1256 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1257 | --sharedst | --shareds | --shared | --share | --shar \
1259 ac_prev=sharedstatedir ;;
1260 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1261 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1262 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1264 sharedstatedir=$ac_optarg ;;
1266 -site | --site | --sit)
1268 -site=* | --site=* | --sit=*)
1271 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1273 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1274 srcdir=$ac_optarg ;;
1276 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1277 | --syscon | --sysco | --sysc | --sys | --sy)
1278 ac_prev=sysconfdir ;;
1279 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1280 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1281 sysconfdir=$ac_optarg ;;
1283 -target | --target | --targe | --targ | --tar | --ta | --t)
1284 ac_prev=target_alias ;;
1285 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1286 target_alias=$ac_optarg ;;
1288 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1291 -version | --version | --versio | --versi | --vers | -V)
1292 ac_init_version=: ;;
1295 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1296 # Reject names that are not valid shell variable names.
1297 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1298 as_fn_error "invalid package name: $ac_useropt"
1299 ac_useropt_orig=$ac_useropt
1300 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1301 case $ac_user_opts in
1305 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1306 ac_unrecognized_sep=', ';;
1308 eval with_$ac_useropt=\$ac_optarg ;;
1310 -without-* | --without-*)
1311 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1312 # Reject names that are not valid shell variable names.
1313 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1314 as_fn_error "invalid package name: $ac_useropt"
1315 ac_useropt_orig=$ac_useropt
1316 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1317 case $ac_user_opts in
1321 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1322 ac_unrecognized_sep=', ';;
1324 eval with_$ac_useropt=no ;;
1327 # Obsolete; use --with-x.
1330 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1331 | --x-incl | --x-inc | --x-in | --x-i)
1332 ac_prev=x_includes ;;
1333 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1334 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1335 x_includes=$ac_optarg ;;
1337 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1338 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1339 ac_prev=x_libraries ;;
1340 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1341 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1342 x_libraries=$ac_optarg ;;
1344 -*) as_fn_error "unrecognized option: \`$ac_option'
1345 Try \`$0 --help' for more information."
1349 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1350 # Reject names that are not valid shell variable names.
1351 case $ac_envvar in #(
1352 '' | [0-9]* | *[!_$as_cr_alnum]* )
1353 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1355 eval $ac_envvar=\$ac_optarg
1356 export $ac_envvar ;;
1359 # FIXME: should be removed in autoconf 3.0.
1360 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1361 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1362 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1363 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1369 if test -n "$ac_prev"; then
1370 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1371 as_fn_error "missing argument to $ac_option"
1374 if test -n "$ac_unrecognized_opts"; then
1375 case $enable_option_checking in
1377 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1378 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1382 # Check all directory arguments for consistency.
1383 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1384 datadir sysconfdir sharedstatedir localstatedir includedir \
1385 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1386 libdir localedir mandir
1388 eval ac_val=\$$ac_var
1389 # Remove trailing slashes.
1392 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1393 eval $ac_var=\$ac_val;;
1395 # Be sure to have absolute directory names.
1397 [\\/$]* | ?:[\\/]* ) continue;;
1398 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1400 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1403 # There might be people who depend on the old broken behavior: `$host'
1404 # used to hold the argument of --host etc.
1405 # FIXME: To remove some day.
1408 target=$target_alias
1410 # FIXME: To remove some day.
1411 if test "x$host_alias" != x; then
1412 if test "x$build_alias" = x; then
1413 cross_compiling=maybe
1414 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1415 If a cross compiler is detected then cross compile mode will be used." >&2
1416 elif test "x$build_alias" != "x$host_alias"; then
1422 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1424 test "$silent" = yes && exec 6>/dev/null
1427 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1428 ac_ls_di=`ls -di .` &&
1429 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1430 as_fn_error "working directory cannot be determined"
1431 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1432 as_fn_error "pwd does not report name of working directory"
1435 # Find the source files, if location was not specified.
1436 if test -z "$srcdir"; then
1437 ac_srcdir_defaulted=yes
1438 # Try the directory containing this script, then the parent directory.
1439 ac_confdir=`$as_dirname -- "$as_myself" ||
1440 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1441 X"$as_myself" : 'X\(//\)[^/]' \| \
1442 X"$as_myself" : 'X\(//\)$' \| \
1443 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1444 $as_echo X"$as_myself" |
1445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1463 if test ! -r "$srcdir/$ac_unique_file"; then
1467 ac_srcdir_defaulted=no
1469 if test ! -r "$srcdir/$ac_unique_file"; then
1470 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1471 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1473 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1475 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1477 # When building in place, set srcdir=.
1478 if test "$ac_abs_confdir" = "$ac_pwd"; then
1481 # Remove unnecessary trailing slashes from srcdir.
1482 # Double slashes in file names in object file debugging info
1483 # mess up M-x gdb in Emacs.
1485 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1487 for ac_var in $ac_precious_vars; do
1488 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1489 eval ac_env_${ac_var}_value=\$${ac_var}
1490 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1491 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1495 # Report the --help message.
1497 if test "$ac_init_help" = "long"; then
1498 # Omit some internal or obsolete options to make the list less imposing.
1499 # This message is too long to be a string in the A/UX 3.1 sh.
1501 \`configure' configures HarfBuzz 0.9.3 to adapt to many kinds of systems.
1503 Usage: $0 [OPTION]... [VAR=VALUE]...
1505 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1506 VAR=VALUE. See below for descriptions of some of the useful variables.
1508 Defaults for the options are specified in brackets.
1511 -h, --help display this help and exit
1512 --help=short display options specific to this package
1513 --help=recursive display the short help of all the included packages
1514 -V, --version display version information and exit
1515 -q, --quiet, --silent do not print \`checking...' messages
1516 --cache-file=FILE cache test results in FILE [disabled]
1517 -C, --config-cache alias for \`--cache-file=config.cache'
1518 -n, --no-create do not create output files
1519 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1521 Installation directories:
1522 --prefix=PREFIX install architecture-independent files in PREFIX
1523 [$ac_default_prefix]
1524 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1527 By default, \`make install' will install all the files in
1528 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1529 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1530 for instance \`--prefix=\$HOME'.
1532 For better control, use the options below.
1534 Fine tuning of the installation directories:
1535 --bindir=DIR user executables [EPREFIX/bin]
1536 --sbindir=DIR system admin executables [EPREFIX/sbin]
1537 --libexecdir=DIR program executables [EPREFIX/libexec]
1538 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1539 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1540 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1541 --libdir=DIR object code libraries [EPREFIX/lib]
1542 --includedir=DIR C header files [PREFIX/include]
1543 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1544 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1545 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1546 --infodir=DIR info documentation [DATAROOTDIR/info]
1547 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1548 --mandir=DIR man documentation [DATAROOTDIR/man]
1549 --docdir=DIR documentation root [DATAROOTDIR/doc/harfbuzz]
1550 --htmldir=DIR html documentation [DOCDIR]
1551 --dvidir=DIR dvi documentation [DOCDIR]
1552 --pdfdir=DIR pdf documentation [DOCDIR]
1553 --psdir=DIR ps documentation [DOCDIR]
1559 --program-prefix=PREFIX prepend PREFIX to installed program names
1560 --program-suffix=SUFFIX append SUFFIX to installed program names
1561 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1564 --build=BUILD configure for building on BUILD [guessed]
1565 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1569 if test -n "$ac_init_help"; then
1570 case $ac_init_help in
1571 short | recursive ) echo "Configuration of HarfBuzz 0.9.3:";;
1576 --disable-option-checking ignore unrecognized --enable/--with options
1577 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1578 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1579 --enable-silent-rules less verbose build output (undo: `make V=1')
1580 --disable-silent-rules verbose build output (undo: `make V=0')
1581 --enable-static[=PKGS] build static libraries [default=no]
1582 --enable-shared[=PKGS] build shared libraries [default=yes]
1583 --enable-fast-install[=PKGS]
1584 optimize for fast installation [default=yes]
1585 --disable-dependency-tracking speeds up one-time build
1586 --enable-dependency-tracking do not reject slow dependency extractors
1587 --disable-libtool-lock avoid locking (might break parallel builds)
1590 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1591 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1592 --with-pic try to use only PIC/non-PIC objects [default=use
1594 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1596 Some influential environment variables:
1597 CC C compiler command
1598 CFLAGS C compiler flags
1599 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1600 nonstandard directory <lib dir>
1601 LIBS libraries to pass to the linker, e.g. -l<library>
1602 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1603 you have headers in a nonstandard directory <include dir>
1605 CXX C++ compiler command
1606 CXXFLAGS C++ compiler flags
1607 CXXCPP C++ preprocessor
1608 PKG_CONFIG path to pkg-config utility
1609 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1610 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1612 C compiler flags for GTHREAD, overriding pkg-config
1614 linker flags for GTHREAD, overriding pkg-config
1616 C compiler flags for GOBJECT, overriding pkg-config
1618 linker flags for GOBJECT, overriding pkg-config
1620 C compiler flags for CAIRO, overriding pkg-config
1621 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1623 C compiler flags for CAIRO_FT, overriding pkg-config
1625 linker flags for CAIRO_FT, overriding pkg-config
1626 ICU_CFLAGS C compiler flags for ICU, overriding pkg-config
1627 ICU_LIBS linker flags for ICU, overriding pkg-config
1629 C compiler flags for GRAPHITE2, overriding pkg-config
1631 linker flags for GRAPHITE2, overriding pkg-config
1633 C compiler flags for FREETYPE, overriding pkg-config
1635 linker flags for FREETYPE, overriding pkg-config
1637 Use these variables to override the choices made by `configure' or to help
1638 it to find libraries and programs with nonstandard names/locations.
1640 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz>.
1641 HarfBuzz home page: <http://harfbuzz.org/>.
1646 if test "$ac_init_help" = "recursive"; then
1647 # If there are subdirs, report their specific --help.
1648 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1649 test -d "$ac_dir" ||
1650 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1655 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1657 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1658 # A ".." for each directory in $ac_dir_suffix.
1659 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1660 case $ac_top_builddir_sub in
1661 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1662 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1665 ac_abs_top_builddir=$ac_pwd
1666 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1667 # for backward compatibility:
1668 ac_top_builddir=$ac_top_build_prefix
1671 .) # We are building in place.
1673 ac_top_srcdir=$ac_top_builddir_sub
1674 ac_abs_top_srcdir=$ac_pwd ;;
1675 [\\/]* | ?:[\\/]* ) # Absolute name.
1676 ac_srcdir=$srcdir$ac_dir_suffix;
1677 ac_top_srcdir=$srcdir
1678 ac_abs_top_srcdir=$srcdir ;;
1680 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1681 ac_top_srcdir=$ac_top_build_prefix$srcdir
1682 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1684 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1686 cd "$ac_dir" || { ac_status=$?; continue; }
1687 # Check for guested configure.
1688 if test -f "$ac_srcdir/configure.gnu"; then
1690 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1691 elif test -f "$ac_srcdir/configure"; then
1693 $SHELL "$ac_srcdir/configure" --help=recursive
1695 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1697 cd "$ac_pwd" || { ac_status=$?; break; }
1701 test -n "$ac_init_help" && exit $ac_status
1702 if $ac_init_version; then
1704 HarfBuzz configure 0.9.3
1705 generated by GNU Autoconf 2.65
1707 Copyright (C) 2009 Free Software Foundation, Inc.
1708 This configure script is free software; the Free Software Foundation
1709 gives unlimited permission to copy, distribute and modify it.
1714 ## ------------------------ ##
1715 ## Autoconf initialization. ##
1716 ## ------------------------ ##
1718 # ac_fn_c_try_compile LINENO
1719 # --------------------------
1720 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1721 ac_fn_c_try_compile ()
1723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724 rm -f conftest.$ac_objext
1725 if { { ac_try="$ac_compile"
1727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728 *) ac_try_echo=$ac_try;;
1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_compile") 2>conftest.err
1734 if test -s conftest.err; then
1735 grep -v '^ *+' conftest.err >conftest.er1
1736 cat conftest.er1 >&5
1737 mv -f conftest.er1 conftest.err
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; } && {
1741 test -z "$ac_c_werror_flag" ||
1742 test ! -s conftest.err
1743 } && test -s conftest.$ac_objext; then :
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1751 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1752 as_fn_set_status $ac_retval
1754 } # ac_fn_c_try_compile
1756 # ac_fn_c_try_link LINENO
1757 # -----------------------
1758 # Try to link conftest.$ac_ext, and return whether this succeeded.
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 rm -f conftest.$ac_objext conftest$ac_exeext
1763 if { { ac_try="$ac_link"
1765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1766 *) ac_try_echo=$ac_try;;
1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770 (eval "$ac_link") 2>conftest.err
1772 if test -s conftest.err; then
1773 grep -v '^ *+' conftest.err >conftest.er1
1774 cat conftest.er1 >&5
1775 mv -f conftest.er1 conftest.err
1777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778 test $ac_status = 0; } && {
1779 test -z "$ac_c_werror_flag" ||
1780 test ! -s conftest.err
1781 } && test -s conftest$ac_exeext && {
1782 test "$cross_compiling" = yes ||
1783 $as_test_x conftest$ac_exeext
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1792 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1793 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1794 # interfere with the next link command; also delete a directory that is
1795 # left behind by Apple's compiler. We do this before executing the actions.
1796 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1797 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1798 as_fn_set_status $ac_retval
1800 } # ac_fn_c_try_link
1802 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1803 # -------------------------------------------------------
1804 # Tests whether HEADER exists and can be compiled using the include files in
1805 # INCLUDES, setting the cache variable VAR accordingly.
1806 ac_fn_c_check_header_compile ()
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1810 $as_echo_n "checking for $2... " >&6; }
1811 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1812 $as_echo_n "(cached) " >&6
1814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1815 /* end confdefs.h. */
1819 if ac_fn_c_try_compile "$LINENO"; then :
1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1828 $as_echo "$ac_res" >&6; }
1829 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1831 } # ac_fn_c_check_header_compile
1833 # ac_fn_c_try_cpp LINENO
1834 # ----------------------
1835 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839 if { { ac_try="$ac_cpp conftest.$ac_ext"
1841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1842 *) ac_try_echo=$ac_try;;
1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1848 if test -s conftest.err; then
1849 grep -v '^ *+' conftest.err >conftest.er1
1850 cat conftest.er1 >&5
1851 mv -f conftest.er1 conftest.err
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } >/dev/null && {
1855 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1856 test ! -s conftest.err
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.$ac_ext >&5
1865 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1866 as_fn_set_status $ac_retval
1870 # ac_fn_c_try_run LINENO
1871 # ----------------------
1872 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1873 # that executables *can* be run.
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 if { { ac_try="$ac_link"
1879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1880 *) ac_try_echo=$ac_try;;
1882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883 $as_echo "$ac_try_echo"; } >&5
1884 (eval "$ac_link") 2>&5
1886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1887 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1888 { { case "(($ac_try" in
1889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1890 *) ac_try_echo=$ac_try;;
1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894 (eval "$ac_try") 2>&5
1896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1897 test $ac_status = 0; }; }; then :
1900 $as_echo "$as_me: program exited with status $ac_status" >&5
1901 $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.$ac_ext >&5
1904 ac_retval=$ac_status
1906 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1907 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1908 as_fn_set_status $ac_retval
1912 # ac_fn_c_check_func LINENO FUNC VAR
1913 # ----------------------------------
1914 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1915 ac_fn_c_check_func ()
1917 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1919 $as_echo_n "checking for $2... " >&6; }
1920 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1921 $as_echo_n "(cached) " >&6
1923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1924 /* end confdefs.h. */
1925 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1927 #define $2 innocuous_$2
1929 /* System header to define __stub macros and hopefully few prototypes,
1930 which can conflict with char $2 (); below.
1931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1932 <limits.h> exists even on freestanding compilers. */
1935 # include <limits.h>
1937 # include <assert.h>
1942 /* Override any GCC internal prototype to avoid an error.
1943 Use char because int might match the return type of a GCC
1944 builtin and then its argument prototype would still apply. */
1949 /* The GNU C library defines this for functions which it implements
1950 to always fail with ENOSYS. Some functions are actually named
1951 something starting with __ and the normal name is an alias. */
1952 #if defined __stub_$2 || defined __stub___$2
1964 if ac_fn_c_try_link "$LINENO"; then :
1969 rm -f core conftest.err conftest.$ac_objext \
1970 conftest$ac_exeext conftest.$ac_ext
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974 $as_echo "$ac_res" >&6; }
1975 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1977 } # ac_fn_c_check_func
1979 # ac_fn_cxx_try_compile LINENO
1980 # ----------------------------
1981 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1982 ac_fn_cxx_try_compile ()
1984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1985 rm -f conftest.$ac_objext
1986 if { { ac_try="$ac_compile"
1988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1989 *) ac_try_echo=$ac_try;;
1991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1992 $as_echo "$ac_try_echo"; } >&5
1993 (eval "$ac_compile") 2>conftest.err
1995 if test -s conftest.err; then
1996 grep -v '^ *+' conftest.err >conftest.er1
1997 cat conftest.er1 >&5
1998 mv -f conftest.er1 conftest.err
2000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2001 test $ac_status = 0; } && {
2002 test -z "$ac_cxx_werror_flag" ||
2003 test ! -s conftest.err
2004 } && test -s conftest.$ac_objext; then :
2007 $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.$ac_ext >&5
2012 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2013 as_fn_set_status $ac_retval
2015 } # ac_fn_cxx_try_compile
2017 # ac_fn_cxx_try_cpp LINENO
2018 # ------------------------
2019 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2020 ac_fn_cxx_try_cpp ()
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 if { { ac_try="$ac_cpp conftest.$ac_ext"
2025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2026 *) ac_try_echo=$ac_try;;
2028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2029 $as_echo "$ac_try_echo"; } >&5
2030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2032 if test -s conftest.err; then
2033 grep -v '^ *+' conftest.err >conftest.er1
2034 cat conftest.er1 >&5
2035 mv -f conftest.er1 conftest.err
2037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2038 test $ac_status = 0; } >/dev/null && {
2039 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2040 test ! -s conftest.err
2044 $as_echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.$ac_ext >&5
2049 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2050 as_fn_set_status $ac_retval
2052 } # ac_fn_cxx_try_cpp
2054 # ac_fn_cxx_try_link LINENO
2055 # -------------------------
2056 # Try to link conftest.$ac_ext, and return whether this succeeded.
2057 ac_fn_cxx_try_link ()
2059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2060 rm -f conftest.$ac_objext conftest$ac_exeext
2061 if { { ac_try="$ac_link"
2063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2064 *) ac_try_echo=$ac_try;;
2066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2067 $as_echo "$ac_try_echo"; } >&5
2068 (eval "$ac_link") 2>conftest.err
2070 if test -s conftest.err; then
2071 grep -v '^ *+' conftest.err >conftest.er1
2072 cat conftest.er1 >&5
2073 mv -f conftest.er1 conftest.err
2075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2076 test $ac_status = 0; } && {
2077 test -z "$ac_cxx_werror_flag" ||
2078 test ! -s conftest.err
2079 } && test -s conftest$ac_exeext && {
2080 test "$cross_compiling" = yes ||
2081 $as_test_x conftest$ac_exeext
2085 $as_echo "$as_me: failed program was:" >&5
2086 sed 's/^/| /' conftest.$ac_ext >&5
2090 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2091 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2092 # interfere with the next link command; also delete a directory that is
2093 # left behind by Apple's compiler. We do this before executing the actions.
2094 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2095 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2096 as_fn_set_status $ac_retval
2098 } # ac_fn_cxx_try_link
2100 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2101 # -------------------------------------------------------
2102 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2103 # the include files in INCLUDES and setting the cache variable VAR
2105 ac_fn_c_check_header_mongrel ()
2107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2110 $as_echo_n "checking for $2... " >&6; }
2111 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2112 $as_echo_n "(cached) " >&6
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2116 $as_echo "$ac_res" >&6; }
2118 # Is the header compilable?
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2120 $as_echo_n "checking $2 usability... " >&6; }
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2126 if ac_fn_c_try_compile "$LINENO"; then :
2127 ac_header_compiler=yes
2129 ac_header_compiler=no
2131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2133 $as_echo "$ac_header_compiler" >&6; }
2135 # Is the header present?
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2137 $as_echo_n "checking $2 presence... " >&6; }
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2142 if ac_fn_c_try_cpp "$LINENO"; then :
2143 ac_header_preproc=yes
2145 ac_header_preproc=no
2147 rm -f conftest.err conftest.$ac_ext
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2149 $as_echo "$ac_header_preproc" >&6; }
2151 # So? What about this header?
2152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2155 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2157 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2161 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2163 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2165 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2167 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2169 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2171 ## ------------------------------------------------------------------------- ##
2172 ## Report this to http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz ##
2173 ## ------------------------------------------------------------------------- ##
2175 ) | sed "s/^/$as_me: WARNING: /" >&2
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2179 $as_echo_n "checking for $2... " >&6; }
2180 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2181 $as_echo_n "(cached) " >&6
2183 eval "$3=\$ac_header_compiler"
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2187 $as_echo "$ac_res" >&6; }
2189 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2191 } # ac_fn_c_check_header_mongrel
2192 cat >config.log <<_ACEOF
2193 This file contains any messages produced by compilers while
2194 running configure, to aid debugging if configure makes a mistake.
2196 It was created by HarfBuzz $as_me 0.9.3, which was
2197 generated by GNU Autoconf 2.65. Invocation command line was
2209 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2210 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2211 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2212 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2213 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2215 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2216 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2218 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2219 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2220 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2221 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2222 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2223 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2224 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2232 test -z "$as_dir" && as_dir=.
2233 $as_echo "PATH: $as_dir"
2249 # Keep a trace of the command line.
2250 # Strip out --no-create and --no-recursion so they do not pile up.
2251 # Strip out --silent because we don't want to record it for future runs.
2252 # Also quote any args containing shell meta-characters.
2253 # Make two passes to allow for proper duplicate-argument suppression.
2257 ac_must_keep_next=false
2263 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2264 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2265 | -silent | --silent | --silen | --sile | --sil)
2268 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2271 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2273 as_fn_append ac_configure_args1 " '$ac_arg'"
2274 if test $ac_must_keep_next = true; then
2275 ac_must_keep_next=false # Got value, back to normal.
2278 *=* | --config-cache | -C | -disable-* | --disable-* \
2279 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2280 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2281 | -with-* | --with-* | -without-* | --without-* | --x)
2282 case "$ac_configure_args0 " in
2283 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2286 -* ) ac_must_keep_next=true ;;
2289 as_fn_append ac_configure_args " '$ac_arg'"
2294 { ac_configure_args0=; unset ac_configure_args0;}
2295 { ac_configure_args1=; unset ac_configure_args1;}
2297 # When interrupted or exit'd, cleanup temporary files, and complete
2298 # config.log. We remove comments because anyway the quotes in there
2299 # would cause problems or look ugly.
2300 # WARNING: Use '\'' to represent an apostrophe within the trap.
2301 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2302 trap 'exit_status=$?
2303 # Save into config.log some information that might help in debugging.
2308 ## ---------------- ##
2309 ## Cache variables. ##
2310 ## ---------------- ##
2313 # The following way of writing the cache mishandles newlines in values,
2315 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2316 eval ac_val=\$$ac_var
2320 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2321 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2324 _ | IFS | as_nl) ;; #(
2325 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2326 *) { eval $ac_var=; unset $ac_var;} ;;
2331 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2332 *${as_nl}ac_space=\ *)
2334 "s/'\''/'\''\\\\'\'''\''/g;
2335 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2338 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2346 ## ----------------- ##
2347 ## Output variables. ##
2348 ## ----------------- ##
2351 for ac_var in $ac_subst_vars
2353 eval ac_val=\$$ac_var
2355 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2357 $as_echo "$ac_var='\''$ac_val'\''"
2361 if test -n "$ac_subst_files"; then
2363 ## ------------------- ##
2364 ## File substitutions. ##
2365 ## ------------------- ##
2368 for ac_var in $ac_subst_files
2370 eval ac_val=\$$ac_var
2372 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2374 $as_echo "$ac_var='\''$ac_val'\''"
2379 if test -s confdefs.h; then
2389 test "$ac_signal" != 0 &&
2390 $as_echo "$as_me: caught signal $ac_signal"
2391 $as_echo "$as_me: exit $exit_status"
2393 rm -f core *.core core.conftest.* &&
2394 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2397 for ac_signal in 1 2 13 15; do
2398 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2402 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2403 rm -f -r conftest* confdefs.h
2405 $as_echo "/* confdefs.h */" > confdefs.h
2407 # Predefined preprocessor variables.
2409 cat >>confdefs.h <<_ACEOF
2410 #define PACKAGE_NAME "$PACKAGE_NAME"
2413 cat >>confdefs.h <<_ACEOF
2414 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2417 cat >>confdefs.h <<_ACEOF
2418 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2421 cat >>confdefs.h <<_ACEOF
2422 #define PACKAGE_STRING "$PACKAGE_STRING"
2425 cat >>confdefs.h <<_ACEOF
2426 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2429 cat >>confdefs.h <<_ACEOF
2430 #define PACKAGE_URL "$PACKAGE_URL"
2434 # Let the site file select an alternate cache file if it wants to.
2435 # Prefer an explicitly selected file to automatically selected ones.
2438 if test -n "$CONFIG_SITE"; then
2439 ac_site_file1=$CONFIG_SITE
2440 elif test "x$prefix" != xNONE; then
2441 ac_site_file1=$prefix/share/config.site
2442 ac_site_file2=$prefix/etc/config.site
2444 ac_site_file1=$ac_default_prefix/share/config.site
2445 ac_site_file2=$ac_default_prefix/etc/config.site
2447 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2449 test "x$ac_site_file" = xNONE && continue
2450 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2452 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2453 sed 's/^/| /' "$ac_site_file" >&5
2458 if test -r "$cache_file"; then
2459 # Some versions of bash will fail to source /dev/null (special files
2460 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2461 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2463 $as_echo "$as_me: loading cache $cache_file" >&6;}
2465 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2466 *) . "./$cache_file";;
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2471 $as_echo "$as_me: creating cache $cache_file" >&6;}
2475 # Check that the precious variables saved in the cache have kept the same
2477 ac_cache_corrupted=false
2478 for ac_var in $ac_precious_vars; do
2479 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2480 eval ac_new_set=\$ac_env_${ac_var}_set
2481 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2482 eval ac_new_val=\$ac_env_${ac_var}_value
2483 case $ac_old_set,$ac_new_set in
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2486 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2487 ac_cache_corrupted=: ;;
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2490 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2491 ac_cache_corrupted=: ;;
2494 if test "x$ac_old_val" != "x$ac_new_val"; then
2495 # differences in whitespace do not lead to failure.
2496 ac_old_val_w=`echo x $ac_old_val`
2497 ac_new_val_w=`echo x $ac_new_val`
2498 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2500 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2501 ac_cache_corrupted=:
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2504 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2505 eval $ac_var=\$ac_old_val
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2508 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2510 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2513 # Pass precious variables to config.status.
2514 if test "$ac_new_set" = set; then
2516 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2517 *) ac_arg=$ac_var=$ac_new_val ;;
2519 case " $ac_configure_args " in
2520 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2521 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2525 if $ac_cache_corrupted; then
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2529 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2530 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2532 ## -------------------- ##
2533 ## Main body of script. ##
2534 ## -------------------- ##
2537 ac_cpp='$CPP $CPPFLAGS'
2538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2545 ac_config_headers="$ac_config_headers config.h"
2548 am__api_version='1.11'
2551 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2552 for ac_t in install-sh install.sh shtool; do
2553 if test -f "$ac_dir/$ac_t"; then
2555 ac_install_sh="$ac_aux_dir/$ac_t -c"
2560 if test -z "$ac_aux_dir"; then
2561 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2564 # These three variables are undocumented and unsupported,
2565 # and are intended to be withdrawn in a future Autoconf release.
2566 # They can cause serious problems if a builder's source tree is in a directory
2567 # whose full name contains unusual characters.
2568 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2569 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2570 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2573 # Find a good install program. We prefer a C program (faster),
2574 # so one script is as good as another. But avoid the broken or
2575 # incompatible versions:
2576 # SysV /etc/install, /usr/sbin/install
2577 # SunOS /usr/etc/install
2578 # IRIX /sbin/install
2580 # AmigaOS /C/install, which installs bootblocks on floppy discs
2581 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2582 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2583 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2584 # OS/2's system install, which has a completely different semantic
2585 # ./install, which can be erroneously created by make from ./install.sh.
2586 # Reject install programs that cannot install multiple files.
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2588 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2589 if test -z "$INSTALL"; then
2590 if test "${ac_cv_path_install+set}" = set; then :
2591 $as_echo_n "(cached) " >&6
2593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2597 test -z "$as_dir" && as_dir=.
2598 # Account for people who put trailing slashes in PATH elements.
2599 case $as_dir/ in #((
2600 ./ | .// | /[cC]/* | \
2601 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2602 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2605 # OSF1 and SCO ODT 3.0 have their own names for install.
2606 # Don't use installbsd from OSF since it installs stuff as root
2608 for ac_prog in ginstall scoinst install; do
2609 for ac_exec_ext in '' $ac_executable_extensions; do
2610 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2611 if test $ac_prog = install &&
2612 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2613 # AIX install. It has an incompatible calling convention.
2615 elif test $ac_prog = install &&
2616 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2617 # program-specific install script used by HP pwplus--don't use.
2620 rm -rf conftest.one conftest.two conftest.dir
2621 echo one > conftest.one
2622 echo two > conftest.two
2624 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2625 test -s conftest.one && test -s conftest.two &&
2626 test -s conftest.dir/conftest.one &&
2627 test -s conftest.dir/conftest.two
2629 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2642 rm -rf conftest.one conftest.two conftest.dir
2645 if test "${ac_cv_path_install+set}" = set; then
2646 INSTALL=$ac_cv_path_install
2648 # As a last resort, use the slow shell script. Don't cache a
2649 # value for INSTALL within a source directory, because that will
2650 # break other packages using the cache if that directory is
2651 # removed, or if the value is a relative name.
2652 INSTALL=$ac_install_sh
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2656 $as_echo "$INSTALL" >&6; }
2658 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2659 # It thinks the first close brace ends the variable substitution.
2660 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2662 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2664 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2667 $as_echo_n "checking whether build environment is sane... " >&6; }
2670 echo timestamp > conftest.file
2671 # Reject unsafe characters in $srcdir or the absolute working directory
2672 # name. Accept space and tab only in the latter.
2676 *[\\\"\#\$\&\'\`$am_lf]*)
2677 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2680 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2681 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2684 # Do `set' in a subshell so we don't clobber the current shell's
2685 # arguments. Must try -L first in case configure is actually a
2686 # symlink; some systems play weird games with the mod time of symlinks
2687 # (eg FreeBSD returns the mod time of the symlink's containing
2690 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2691 if test "$*" = "X"; then
2693 set X `ls -t "$srcdir/configure" conftest.file`
2696 if test "$*" != "X $srcdir/configure conftest.file" \
2697 && test "$*" != "X conftest.file $srcdir/configure"; then
2699 # If neither matched, then we have a broken ls. This can happen
2700 # if, for instance, CONFIG_SHELL is bash and it inherits a
2701 # broken ls alias from the environment. This has actually
2702 # happened. Such a system could not be considered "sane".
2703 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2704 alias in your environment" "$LINENO" 5
2707 test "$2" = conftest.file
2713 as_fn_error "newly created file is older than distributed files!
2714 Check your system clock" "$LINENO" 5
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2717 $as_echo "yes" >&6; }
2718 test "$program_prefix" != NONE &&
2719 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2720 # Use a double $ so make ignores it.
2721 test "$program_suffix" != NONE &&
2722 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2723 # Double any \ or $.
2724 # By default was `s,x,x', remove it if useless.
2725 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2726 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2728 # expand $ac_aux_dir to an absolute path
2729 am_aux_dir=`cd $ac_aux_dir && pwd`
2731 if test x"${MISSING+set}" != xset; then
2734 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2736 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2739 # Use eval to expand $SHELL
2740 if eval "$MISSING --run true"; then
2741 am_missing_run="$MISSING --run "
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2745 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2748 if test x"${install_sh}" != xset; then
2751 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2753 install_sh="\${SHELL} $am_aux_dir/install-sh"
2757 # Installed binaries are usually stripped using `strip' when the user
2758 # run `make install-strip'. However `strip' might not be the right
2759 # tool to use in cross-compilation environments, therefore Automake
2760 # will honor the `STRIP' environment variable to overrule this program.
2761 if test "$cross_compiling" != no; then
2762 if test -n "$ac_tool_prefix"; then
2763 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2764 set dummy ${ac_tool_prefix}strip; ac_word=$2
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if test "${ac_cv_prog_STRIP+set}" = set; then :
2768 $as_echo_n "(cached) " >&6
2770 if test -n "$STRIP"; then
2771 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir=.
2778 for ac_exec_ext in '' $ac_executable_extensions; do
2779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2780 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 STRIP=$ac_cv_prog_STRIP
2791 if test -n "$STRIP"; then
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2793 $as_echo "$STRIP" >&6; }
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2801 if test -z "$ac_cv_prog_STRIP"; then
2803 # Extract the first word of "strip", so it can be a program name with args.
2804 set dummy strip; ac_word=$2
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806 $as_echo_n "checking for $ac_word... " >&6; }
2807 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2808 $as_echo_n "(cached) " >&6
2810 if test -n "$ac_ct_STRIP"; then
2811 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2817 test -z "$as_dir" && as_dir=.
2818 for ac_exec_ext in '' $ac_executable_extensions; do
2819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820 ac_cv_prog_ac_ct_STRIP="strip"
2821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2830 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2831 if test -n "$ac_ct_STRIP"; then
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2833 $as_echo "$ac_ct_STRIP" >&6; }
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836 $as_echo "no" >&6; }
2839 if test "x$ac_ct_STRIP" = x; then
2842 case $cross_compiling:$ac_tool_warned in
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2846 ac_tool_warned=yes ;;
2851 STRIP="$ac_cv_prog_STRIP"
2855 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2858 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2859 if test -z "$MKDIR_P"; then
2860 if test "${ac_cv_path_mkdir+set}" = set; then :
2861 $as_echo_n "(cached) " >&6
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2867 test -z "$as_dir" && as_dir=.
2868 for ac_prog in mkdir gmkdir; do
2869 for ac_exec_ext in '' $ac_executable_extensions; do
2870 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2871 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2872 'mkdir (GNU coreutils) '* | \
2873 'mkdir (coreutils) '* | \
2874 'mkdir (fileutils) '4.1*)
2875 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2885 test -d ./--version && rmdir ./--version
2886 if test "${ac_cv_path_mkdir+set}" = set; then
2887 MKDIR_P="$ac_cv_path_mkdir -p"
2889 # As a last resort, use the slow shell script. Don't cache a
2890 # value for MKDIR_P within a source directory, because that will
2891 # break other packages using the cache if that directory is
2892 # removed, or if the value is a relative name.
2893 MKDIR_P="$ac_install_sh -d"
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2897 $as_echo "$MKDIR_P" >&6; }
2901 [\\/$]* | ?:[\\/]*) ;;
2902 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2905 for ac_prog in gawk mawk nawk awk
2907 # Extract the first word of "$ac_prog", so it can be a program name with args.
2908 set dummy $ac_prog; ac_word=$2
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2910 $as_echo_n "checking for $ac_word... " >&6; }
2911 if test "${ac_cv_prog_AWK+set}" = set; then :
2912 $as_echo_n "(cached) " >&6
2914 if test -n "$AWK"; then
2915 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921 test -z "$as_dir" && as_dir=.
2922 for ac_exec_ext in '' $ac_executable_extensions; do
2923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2924 ac_cv_prog_AWK="$ac_prog"
2925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 if test -n "$AWK"; then
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2937 $as_echo "$AWK" >&6; }
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2940 $as_echo "no" >&6; }
2944 test -n "$AWK" && break
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2948 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2950 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2951 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2952 $as_echo_n "(cached) " >&6
2954 cat >conftest.make <<\_ACEOF
2957 @echo '@@@%%%=$(MAKE)=@@@%%%'
2959 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2960 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2962 eval ac_cv_prog_make_${ac_make}_set=yes;;
2964 eval ac_cv_prog_make_${ac_make}_set=no;;
2968 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2970 $as_echo "yes" >&6; }
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2975 SET_MAKE="MAKE=${MAKE-make}"
2978 rm -rf .tst 2>/dev/null
2979 mkdir .tst 2>/dev/null
2980 if test -d .tst; then
2985 rmdir .tst 2>/dev/null
2987 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2988 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2989 # is not polluted with repeated "-I."
2990 am__isrc=' -I$(srcdir)'
2991 # test to see if srcdir already configured
2992 if test -f $srcdir/config.status; then
2993 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2997 # test whether we have cygpath
2998 if test -z "$CYGPATH_W"; then
2999 if (cygpath --version) >/dev/null 2>/dev/null; then
3000 CYGPATH_W='cygpath -w'
3007 # Define the identity of the package.
3012 # Some tools Automake needs.
3014 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3017 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3020 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3023 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3026 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3028 # We need awk for the "check" target. The system "awk" is bad on
3030 # Always define AMTAR for backward compatibility.
3032 AMTAR=${AMTAR-"${am_missing_run}tar"}
3034 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3040 # Check whether --enable-silent-rules was given.
3041 if test "${enable_silent_rules+set}" = set; then :
3042 enableval=$enable_silent_rules;
3045 case $enable_silent_rules in
3046 yes) AM_DEFAULT_VERBOSITY=0;;
3047 no) AM_DEFAULT_VERBOSITY=1;;
3048 *) AM_DEFAULT_VERBOSITY=0;;
3053 # Initialize libtool
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3058 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3063 macro_version='2.2.6b'
3064 macro_revision='1.3017'
3078 ltmain="$ac_aux_dir/ltmain.sh"
3080 # Make sure we can run config.sub.
3081 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3082 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3085 $as_echo_n "checking build system type... " >&6; }
3086 if test "${ac_cv_build+set}" = set; then :
3087 $as_echo_n "(cached) " >&6
3089 ac_build_alias=$build_alias
3090 test "x$ac_build_alias" = x &&
3091 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3092 test "x$ac_build_alias" = x &&
3093 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3094 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3095 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3099 $as_echo "$ac_cv_build" >&6; }
3100 case $ac_cv_build in
3102 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3105 ac_save_IFS=$IFS; IFS='-'
3111 # Remember, the first character of IFS is used to create $*,
3112 # except with old shells:
3115 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3119 $as_echo_n "checking host system type... " >&6; }
3120 if test "${ac_cv_host+set}" = set; then :
3121 $as_echo_n "(cached) " >&6
3123 if test "x$host_alias" = x; then
3124 ac_cv_host=$ac_cv_build
3126 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3127 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3132 $as_echo "$ac_cv_host" >&6; }
3135 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3138 ac_save_IFS=$IFS; IFS='-'
3144 # Remember, the first character of IFS is used to create $*,
3145 # except with old shells:
3148 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3151 DEPDIR="${am__leading_dot}deps"
3153 ac_config_commands="$ac_config_commands depfiles"
3156 am_make=${MAKE-make}
3157 cat > confinc << 'END'
3159 @echo this is the am__doit target
3162 # If we don't find an include directive, just comment out the code.
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3164 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3168 # First try GNU make style include.
3169 echo "include confinc" > confmf
3170 # Ignore all kinds of additional output from `make'.
3171 case `$am_make -s -f confmf 2> /dev/null` in #(
3172 *the\ am__doit\ target*)
3178 # Now try BSD make style include.
3179 if test "$am__include" = "#"; then
3180 echo '.include "confinc"' > confmf
3181 case `$am_make -s -f confmf 2> /dev/null` in #(
3182 *the\ am__doit\ target*)
3183 am__include=.include
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3192 $as_echo "$_am_result" >&6; }
3193 rm -f confinc confmf
3195 # Check whether --enable-dependency-tracking was given.
3196 if test "${enable_dependency_tracking+set}" = set; then :
3197 enableval=$enable_dependency_tracking;
3200 if test "x$enable_dependency_tracking" != xno; then
3201 am_depcomp="$ac_aux_dir/depcomp"
3204 if test "x$enable_dependency_tracking" != xno; then
3214 ac_cpp='$CPP $CPPFLAGS'
3215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3218 if test -n "$ac_tool_prefix"; then
3219 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3220 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3222 $as_echo_n "checking for $ac_word... " >&6; }
3223 if test "${ac_cv_prog_CC+set}" = set; then :
3224 $as_echo_n "(cached) " >&6
3226 if test -n "$CC"; then
3227 ac_cv_prog_CC="$CC" # Let the user override the test.
3229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233 test -z "$as_dir" && as_dir=.
3234 for ac_exec_ext in '' $ac_executable_extensions; do
3235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3236 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3247 if test -n "$CC"; then
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3249 $as_echo "$CC" >&6; }
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3252 $as_echo "no" >&6; }
3257 if test -z "$ac_cv_prog_CC"; then
3259 # Extract the first word of "gcc", so it can be a program name with args.
3260 set dummy gcc; ac_word=$2
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262 $as_echo_n "checking for $ac_word... " >&6; }
3263 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3264 $as_echo_n "(cached) " >&6
3266 if test -n "$ac_ct_CC"; then
3267 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276 ac_cv_prog_ac_ct_CC="gcc"
3277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3286 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3287 if test -n "$ac_ct_CC"; then
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3289 $as_echo "$ac_ct_CC" >&6; }
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3295 if test "x$ac_ct_CC" = x; then
3298 case $cross_compiling:$ac_tool_warned in
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3302 ac_tool_warned=yes ;;
3310 if test -z "$CC"; then
3311 if test -n "$ac_tool_prefix"; then
3312 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3313 set dummy ${ac_tool_prefix}cc; ac_word=$2
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3315 $as_echo_n "checking for $ac_word... " >&6; }
3316 if test "${ac_cv_prog_CC+set}" = set; then :
3317 $as_echo_n "(cached) " >&6
3319 if test -n "$CC"; then
3320 ac_cv_prog_CC="$CC" # Let the user override the test.
3322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3326 test -z "$as_dir" && as_dir=.
3327 for ac_exec_ext in '' $ac_executable_extensions; do
3328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3329 ac_cv_prog_CC="${ac_tool_prefix}cc"
3330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3340 if test -n "$CC"; then
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3342 $as_echo "$CC" >&6; }
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3345 $as_echo "no" >&6; }
3351 if test -z "$CC"; then
3352 # Extract the first word of "cc", so it can be a program name with args.
3353 set dummy cc; ac_word=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if test "${ac_cv_prog_CC+set}" = set; then :
3357 $as_echo_n "(cached) " >&6
3359 if test -n "$CC"; then
3360 ac_cv_prog_CC="$CC" # Let the user override the test.
3363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 test -z "$as_dir" && as_dir=.
3368 for ac_exec_ext in '' $ac_executable_extensions; do
3369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3370 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3371 ac_prog_rejected=yes
3375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3382 if test $ac_prog_rejected = yes; then
3383 # We found a bogon in the path, so make sure we never use it.
3384 set dummy $ac_cv_prog_CC
3386 if test $# != 0; then
3387 # We chose a different compiler from the bogus one.
3388 # However, it has the same basename, so the bogon will be chosen
3389 # first if we set CC to just the basename; use the full file name.
3391 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3397 if test -n "$CC"; then
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3399 $as_echo "$CC" >&6; }
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402 $as_echo "no" >&6; }
3407 if test -z "$CC"; then
3408 if test -n "$ac_tool_prefix"; then
3409 for ac_prog in cl.exe
3411 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3412 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3414 $as_echo_n "checking for $ac_word... " >&6; }
3415 if test "${ac_cv_prog_CC+set}" = set; then :
3416 $as_echo_n "(cached) " >&6
3418 if test -n "$CC"; then
3419 ac_cv_prog_CC="$CC" # Let the user override the test.
3421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3425 test -z "$as_dir" && as_dir=.
3426 for ac_exec_ext in '' $ac_executable_extensions; do
3427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3428 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3439 if test -n "$CC"; then
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3441 $as_echo "$CC" >&6; }
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3444 $as_echo "no" >&6; }
3448 test -n "$CC" && break
3451 if test -z "$CC"; then
3453 for ac_prog in cl.exe
3455 # Extract the first word of "$ac_prog", so it can be a program name with args.
3456 set dummy $ac_prog; ac_word=$2
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3458 $as_echo_n "checking for $ac_word... " >&6; }
3459 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3460 $as_echo_n "(cached) " >&6
3462 if test -n "$ac_ct_CC"; then
3463 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 test -z "$as_dir" && as_dir=.
3470 for ac_exec_ext in '' $ac_executable_extensions; do
3471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3472 ac_cv_prog_ac_ct_CC="$ac_prog"
3473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3482 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3483 if test -n "$ac_ct_CC"; then
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3485 $as_echo "$ac_ct_CC" >&6; }
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3488 $as_echo "no" >&6; }
3492 test -n "$ac_ct_CC" && break
3495 if test "x$ac_ct_CC" = x; then
3498 case $cross_compiling:$ac_tool_warned in
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3502 ac_tool_warned=yes ;;
3511 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3513 as_fn_error "no acceptable C compiler found in \$PATH
3514 See \`config.log' for more details." "$LINENO" 5; }
3516 # Provide some information about the compiler.
3517 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3520 for ac_option in --version -v -V -qversion; do
3521 { { ac_try="$ac_compiler $ac_option >&5"
3523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3524 *) ac_try_echo=$ac_try;;
3526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3527 $as_echo "$ac_try_echo"; } >&5
3528 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3530 if test -s conftest.err; then
3532 ... rest of stderr output deleted ...
3533 10q' conftest.err >conftest.er1
3534 cat conftest.er1 >&5
3536 rm -f conftest.er1 conftest.err
3537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3538 test $ac_status = 0; }
3541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3542 /* end confdefs.h. */
3552 ac_clean_files_save=$ac_clean_files
3553 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3554 # Try to create an executable without -o first, disregard a.out.
3555 # It will help us diagnose broken compilers, and finding out an intuition
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3558 $as_echo_n "checking whether the C compiler works... " >&6; }
3559 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3561 # The possible output files:
3562 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3565 for ac_file in $ac_files
3568 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3569 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3574 if { { ac_try="$ac_link_default"
3576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3577 *) ac_try_echo=$ac_try;;
3579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3580 $as_echo "$ac_try_echo"; } >&5
3581 (eval "$ac_link_default") 2>&5
3583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3584 test $ac_status = 0; }; then :
3585 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3586 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3587 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3588 # so that the user can short-circuit this test for compilers unknown to
3590 for ac_file in $ac_files ''
3592 test -f "$ac_file" || continue
3594 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3597 # We found the default executable, but exeext='' is most
3601 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3603 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3605 # We set ac_cv_exeext here because the later test for it is not
3606 # safe: cross compilers may not add the suffix if given an `-o'
3607 # argument, so we may need to know it at that point already.
3608 # Even if this section looks crufty: it has the advantage of
3615 test "$ac_cv_exeext" = no && ac_cv_exeext=
3620 if test -z "$ac_file"; then :
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3622 $as_echo "no" >&6; }
3623 $as_echo "$as_me: failed program was:" >&5
3624 sed 's/^/| /' conftest.$ac_ext >&5
3626 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3628 { as_fn_set_status 77
3629 as_fn_error "C compiler cannot create executables
3630 See \`config.log' for more details." "$LINENO" 5; }; }
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3633 $as_echo "yes" >&6; }
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3636 $as_echo_n "checking for C compiler default output file name... " >&6; }
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3638 $as_echo "$ac_file" >&6; }
3639 ac_exeext=$ac_cv_exeext
3641 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3642 ac_clean_files=$ac_clean_files_save
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3644 $as_echo_n "checking for suffix of executables... " >&6; }
3645 if { { ac_try="$ac_link"
3647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3648 *) ac_try_echo=$ac_try;;
3650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3651 $as_echo "$ac_try_echo"; } >&5
3652 (eval "$ac_link") 2>&5
3654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3655 test $ac_status = 0; }; then :
3656 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3657 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3658 # work properly (i.e., refer to `conftest.exe'), while it won't with
3660 for ac_file in conftest.exe conftest conftest.*; do
3661 test -f "$ac_file" || continue
3663 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3664 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3670 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3672 as_fn_error "cannot compute suffix of executables: cannot compile and link
3673 See \`config.log' for more details." "$LINENO" 5; }
3675 rm -f conftest conftest$ac_cv_exeext
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3677 $as_echo "$ac_cv_exeext" >&6; }
3679 rm -f conftest.$ac_ext
3680 EXEEXT=$ac_cv_exeext
3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h. */
3688 FILE *f = fopen ("conftest.out", "w");
3689 return ferror (f) || fclose (f) != 0;
3695 ac_clean_files="$ac_clean_files conftest.out"
3696 # Check that the compiler produces executables we can run. If not, either
3697 # the compiler is broken, or we cross compile.
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3699 $as_echo_n "checking whether we are cross compiling... " >&6; }
3700 if test "$cross_compiling" != yes; then
3701 { { ac_try="$ac_link"
3703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3704 *) ac_try_echo=$ac_try;;
3706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3707 $as_echo "$ac_try_echo"; } >&5
3708 (eval "$ac_link") 2>&5
3710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3711 test $ac_status = 0; }
3712 if { ac_try='./conftest$ac_cv_exeext'
3713 { { case "(($ac_try" in
3714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3715 *) ac_try_echo=$ac_try;;
3717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3718 $as_echo "$ac_try_echo"; } >&5
3719 (eval "$ac_try") 2>&5
3721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3722 test $ac_status = 0; }; }; then
3725 if test "$cross_compiling" = maybe; then
3728 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3730 as_fn_error "cannot run C compiled programs.
3731 If you meant to cross compile, use \`--host'.
3732 See \`config.log' for more details." "$LINENO" 5; }
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3737 $as_echo "$cross_compiling" >&6; }
3739 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3740 ac_clean_files=$ac_clean_files_save
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3742 $as_echo_n "checking for suffix of object files... " >&6; }
3743 if test "${ac_cv_objext+set}" = set; then :
3744 $as_echo_n "(cached) " >&6
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3757 rm -f conftest.o conftest.obj
3758 if { { ac_try="$ac_compile"
3760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3761 *) ac_try_echo=$ac_try;;
3763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3764 $as_echo "$ac_try_echo"; } >&5
3765 (eval "$ac_compile") 2>&5
3767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3768 test $ac_status = 0; }; then :
3769 for ac_file in conftest.o conftest.obj conftest.*; do
3770 test -f "$ac_file" || continue;
3772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3773 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3778 $as_echo "$as_me: failed program was:" >&5
3779 sed 's/^/| /' conftest.$ac_ext >&5
3781 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3782 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3783 as_fn_error "cannot compute suffix of object files: cannot compile
3784 See \`config.log' for more details." "$LINENO" 5; }
3786 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3789 $as_echo "$ac_cv_objext" >&6; }
3790 OBJEXT=$ac_cv_objext
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3793 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3794 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3795 $as_echo_n "(cached) " >&6
3797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3798 /* end confdefs.h. */
3811 if ac_fn_c_try_compile "$LINENO"; then :
3816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3817 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3821 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3822 if test $ac_compiler_gnu = yes; then
3827 ac_test_CFLAGS=${CFLAGS+set}
3828 ac_save_CFLAGS=$CFLAGS
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3830 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3831 if test "${ac_cv_prog_cc_g+set}" = set; then :
3832 $as_echo_n "(cached) " >&6
3834 ac_save_c_werror_flag=$ac_c_werror_flag
3835 ac_c_werror_flag=yes
3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h. */
3849 if ac_fn_c_try_compile "$LINENO"; then :
3853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3854 /* end confdefs.h. */
3864 if ac_fn_c_try_compile "$LINENO"; then :
3867 ac_c_werror_flag=$ac_save_c_werror_flag
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3880 if ac_fn_c_try_compile "$LINENO"; then :
3883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3888 ac_c_werror_flag=$ac_save_c_werror_flag
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3891 $as_echo "$ac_cv_prog_cc_g" >&6; }
3892 if test "$ac_test_CFLAGS" = set; then
3893 CFLAGS=$ac_save_CFLAGS
3894 elif test $ac_cv_prog_cc_g = yes; then
3895 if test "$GCC" = yes; then
3901 if test "$GCC" = yes; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3908 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3909 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3910 $as_echo_n "(cached) " >&6
3912 ac_cv_prog_cc_c89=no
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3918 #include <sys/types.h>
3919 #include <sys/stat.h>
3920 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3921 struct buf { int x; };
3922 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3923 static char *e (p, i)
3929 static char *f (char * (*g) (char **, int), char **p, ...)
3934 s = g (p, va_arg (v,int));
3939 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3940 function prototypes and stuff, but not '\xHH' hex character constants.
3941 These don't provoke an error unfortunately, instead are silently treated
3942 as 'x'. The following induces an error, until -std is added to get
3943 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3944 array size at least. It's necessary to write '\x00'==0 to get something
3945 that's true only with -std. */
3946 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3948 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3949 inside strings and character constants. */
3951 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3953 int test (int i, double x);
3954 struct s1 {int (*f) (int a);};
3955 struct s2 {int (*f) (double a);};
3956 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3962 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3967 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3968 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3970 CC="$ac_save_CC $ac_arg"
3971 if ac_fn_c_try_compile "$LINENO"; then :
3972 ac_cv_prog_cc_c89=$ac_arg
3974 rm -f core conftest.err conftest.$ac_objext
3975 test "x$ac_cv_prog_cc_c89" != "xno" && break
3977 rm -f conftest.$ac_ext
3982 case "x$ac_cv_prog_cc_c89" in
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3985 $as_echo "none needed" >&6; } ;;
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3988 $as_echo "unsupported" >&6; } ;;
3990 CC="$CC $ac_cv_prog_cc_c89"
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3992 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3994 if test "x$ac_cv_prog_cc_c89" != xno; then :
3999 ac_cpp='$CPP $CPPFLAGS'
4000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4004 depcc="$CC" am_compiler_list=
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4007 $as_echo_n "checking dependency style of $depcc... " >&6; }
4008 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4009 $as_echo_n "(cached) " >&6
4011 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4012 # We make a subdir and do the tests there. Otherwise we can end up
4013 # making bogus files that we don't know about and never remove. For
4014 # instance it was reported that on HP-UX the gcc test will end up
4015 # making a dummy file named `D' -- because `-MD' means `put the output
4018 # Copy depcomp to subdir because otherwise we won't find it if we're
4019 # using a relative directory.
4020 cp "$am_depcomp" conftest.dir
4022 # We will build objects and dependencies in a subdirectory because
4023 # it helps to detect inapplicable dependency modes. For instance
4024 # both Tru64's cc and ICC support -MD to output dependencies as a
4025 # side effect of compilation, but ICC will put the dependencies in
4026 # the current directory while Tru64 will put them in the object
4030 am_cv_CC_dependencies_compiler_type=none
4031 if test "$am_compiler_list" = ""; then
4032 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4035 case " $depcc " in #(
4036 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4039 for depmode in $am_compiler_list; do
4040 # Setup a source with many dependencies, because some compilers
4041 # like to wrap large dependency lists on column 80 (with \), and
4042 # we should not choose a depcomp mode which is confused by this.
4044 # We need to recreate these files for each test, as the compiler may
4045 # overwrite some of them when testing with obscure command lines.
4046 # This happens at least with the AIX C compiler.
4048 for i in 1 2 3 4 5 6; do
4049 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4050 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4051 # Solaris 8's {/usr,}/bin/sh.
4052 touch sub/conftst$i.h
4054 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4056 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4057 # mode. It turns out that the SunPro C++ compiler does not properly
4058 # handle `-M -o', and we need to detect this. Also, some Intel
4059 # versions had trouble with output in subdirs
4060 am__obj=sub/conftest.${OBJEXT-o}
4061 am__minus_obj="-o $am__obj"
4064 # This depmode causes a compiler race in universal mode.
4065 test "$am__universal" = false || continue
4068 # after this tag, mechanisms are not by side-effect, so they'll
4069 # only be used when explicitly requested
4070 if test "x$enable_dependency_tracking" = xyes; then
4076 msvisualcpp | msvcmsys)
4077 # This compiler won't grok `-c -o', but also, the minuso test has
4078 # not run yet. These depmodes are late enough in the game, and
4079 # so weak that their functioning should not be impacted.
4080 am__obj=conftest.${OBJEXT-o}
4085 if depmode=$depmode \
4086 source=sub/conftest.c object=$am__obj \
4087 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4088 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4089 >/dev/null 2>conftest.err &&
4090 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4091 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4092 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4093 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4094 # icc doesn't choke on unknown options, it will just issue warnings
4095 # or remarks (even with -Werror). So we grep stderr for any message
4096 # that says an option was ignored or not supported.
4097 # When given -MP, icc 7.0 and 7.1 complain thusly:
4098 # icc: Command line warning: ignoring option '-M'; no argument required
4099 # The diagnosis changed in icc 8.0:
4100 # icc: Command line remark: option '-MP' not supported
4101 if (grep 'ignoring option' conftest.err ||
4102 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4103 am_cv_CC_dependencies_compiler_type=$depmode
4112 am_cv_CC_dependencies_compiler_type=none
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4117 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4118 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4121 test "x$enable_dependency_tracking" != xno \
4122 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4124 am__fastdepCC_FALSE='#'
4126 am__fastdepCC_TRUE='#'
4127 am__fastdepCC_FALSE=
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4132 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4133 if test "${ac_cv_path_SED+set}" = set; then :
4134 $as_echo_n "(cached) " >&6
4136 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4137 for ac_i in 1 2 3 4 5 6 7; do
4138 ac_script="$ac_script$as_nl$ac_script"
4140 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4141 { ac_script=; unset ac_script;}
4142 if test -z "$SED"; then
4143 ac_path_SED_found=false
4144 # Loop through the user's path and test for each of PROGNAME-LIST
4145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4149 test -z "$as_dir" && as_dir=.
4150 for ac_prog in sed gsed; do
4151 for ac_exec_ext in '' $ac_executable_extensions; do
4152 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4153 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4154 # Check for GNU ac_path_SED and select it if it is found.
4155 # Check for GNU $ac_path_SED
4156 case `"$ac_path_SED" --version 2>&1` in
4158 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4161 $as_echo_n 0123456789 >"conftest.in"
4164 cat "conftest.in" "conftest.in" >"conftest.tmp"
4165 mv "conftest.tmp" "conftest.in"
4166 cp "conftest.in" "conftest.nl"
4167 $as_echo '' >> "conftest.nl"
4168 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4169 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4170 as_fn_arith $ac_count + 1 && ac_count=$as_val
4171 if test $ac_count -gt ${ac_path_SED_max-0}; then
4172 # Best one so far, save it but keep looking for a better one
4173 ac_cv_path_SED="$ac_path_SED"
4174 ac_path_SED_max=$ac_count
4176 # 10*(2^10) chars as input seems more than enough
4177 test $ac_count -gt 10 && break
4179 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4182 $ac_path_SED_found && break 3
4187 if test -z "$ac_cv_path_SED"; then
4188 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4196 $as_echo "$ac_cv_path_SED" >&6; }
4197 SED="$ac_cv_path_SED"
4200 test -z "$SED" && SED=sed
4201 Xsed="$SED -e 1s/^X//"
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4214 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4215 if test "${ac_cv_path_GREP+set}" = set; then :
4216 $as_echo_n "(cached) " >&6
4218 if test -z "$GREP"; then
4219 ac_path_GREP_found=false
4220 # Loop through the user's path and test for each of PROGNAME-LIST
4221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4222 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4225 test -z "$as_dir" && as_dir=.
4226 for ac_prog in grep ggrep; do
4227 for ac_exec_ext in '' $ac_executable_extensions; do
4228 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4229 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4230 # Check for GNU ac_path_GREP and select it if it is found.
4231 # Check for GNU $ac_path_GREP
4232 case `"$ac_path_GREP" --version 2>&1` in
4234 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4237 $as_echo_n 0123456789 >"conftest.in"
4240 cat "conftest.in" "conftest.in" >"conftest.tmp"
4241 mv "conftest.tmp" "conftest.in"
4242 cp "conftest.in" "conftest.nl"
4243 $as_echo 'GREP' >> "conftest.nl"
4244 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4245 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4246 as_fn_arith $ac_count + 1 && ac_count=$as_val
4247 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4248 # Best one so far, save it but keep looking for a better one
4249 ac_cv_path_GREP="$ac_path_GREP"
4250 ac_path_GREP_max=$ac_count
4252 # 10*(2^10) chars as input seems more than enough
4253 test $ac_count -gt 10 && break
4255 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4258 $ac_path_GREP_found && break 3
4263 if test -z "$ac_cv_path_GREP"; then
4264 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4267 ac_cv_path_GREP=$GREP
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4272 $as_echo "$ac_cv_path_GREP" >&6; }
4273 GREP="$ac_cv_path_GREP"
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4277 $as_echo_n "checking for egrep... " >&6; }
4278 if test "${ac_cv_path_EGREP+set}" = set; then :
4279 $as_echo_n "(cached) " >&6
4281 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4282 then ac_cv_path_EGREP="$GREP -E"
4284 if test -z "$EGREP"; then
4285 ac_path_EGREP_found=false
4286 # Loop through the user's path and test for each of PROGNAME-LIST
4287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4288 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4291 test -z "$as_dir" && as_dir=.
4292 for ac_prog in egrep; do
4293 for ac_exec_ext in '' $ac_executable_extensions; do
4294 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4295 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4296 # Check for GNU ac_path_EGREP and select it if it is found.
4297 # Check for GNU $ac_path_EGREP
4298 case `"$ac_path_EGREP" --version 2>&1` in
4300 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4303 $as_echo_n 0123456789 >"conftest.in"
4306 cat "conftest.in" "conftest.in" >"conftest.tmp"
4307 mv "conftest.tmp" "conftest.in"
4308 cp "conftest.in" "conftest.nl"
4309 $as_echo 'EGREP' >> "conftest.nl"
4310 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4311 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4312 as_fn_arith $ac_count + 1 && ac_count=$as_val
4313 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4314 # Best one so far, save it but keep looking for a better one
4315 ac_cv_path_EGREP="$ac_path_EGREP"
4316 ac_path_EGREP_max=$ac_count
4318 # 10*(2^10) chars as input seems more than enough
4319 test $ac_count -gt 10 && break
4321 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4324 $ac_path_EGREP_found && break 3
4329 if test -z "$ac_cv_path_EGREP"; then
4330 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4333 ac_cv_path_EGREP=$EGREP
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4339 $as_echo "$ac_cv_path_EGREP" >&6; }
4340 EGREP="$ac_cv_path_EGREP"
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4344 $as_echo_n "checking for fgrep... " >&6; }
4345 if test "${ac_cv_path_FGREP+set}" = set; then :
4346 $as_echo_n "(cached) " >&6
4348 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4349 then ac_cv_path_FGREP="$GREP -F"
4351 if test -z "$FGREP"; then
4352 ac_path_FGREP_found=false
4353 # Loop through the user's path and test for each of PROGNAME-LIST
4354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4355 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4358 test -z "$as_dir" && as_dir=.
4359 for ac_prog in fgrep; do
4360 for ac_exec_ext in '' $ac_executable_extensions; do
4361 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4362 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4363 # Check for GNU ac_path_FGREP and select it if it is found.
4364 # Check for GNU $ac_path_FGREP
4365 case `"$ac_path_FGREP" --version 2>&1` in
4367 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4370 $as_echo_n 0123456789 >"conftest.in"
4373 cat "conftest.in" "conftest.in" >"conftest.tmp"
4374 mv "conftest.tmp" "conftest.in"
4375 cp "conftest.in" "conftest.nl"
4376 $as_echo 'FGREP' >> "conftest.nl"
4377 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4378 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4379 as_fn_arith $ac_count + 1 && ac_count=$as_val
4380 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4381 # Best one so far, save it but keep looking for a better one
4382 ac_cv_path_FGREP="$ac_path_FGREP"
4383 ac_path_FGREP_max=$ac_count
4385 # 10*(2^10) chars as input seems more than enough
4386 test $ac_count -gt 10 && break
4388 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4391 $ac_path_FGREP_found && break 3
4396 if test -z "$ac_cv_path_FGREP"; then
4397 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4400 ac_cv_path_FGREP=$FGREP
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4406 $as_echo "$ac_cv_path_FGREP" >&6; }
4407 FGREP="$ac_cv_path_FGREP"
4410 test -z "$GREP" && GREP=grep
4430 # Check whether --with-gnu-ld was given.
4431 if test "${with_gnu_ld+set}" = set; then :
4432 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4438 if test "$GCC" = yes; then
4439 # Check if gcc -print-prog-name=ld gives a path.
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4441 $as_echo_n "checking for ld used by $CC... " >&6; }
4444 # gcc leaves a trailing carriage return which upsets mingw
4445 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4447 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4450 # Accept absolute paths.
4452 re_direlt='/[^/][^/]*/\.\./'
4453 # Canonicalize the pathname of ld
4454 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4455 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4456 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4458 test -z "$LD" && LD="$ac_prog"
4461 # If it fails, then pretend we aren't using GCC.
4465 # If it is relative, then search for the first ld in PATH.
4469 elif test "$with_gnu_ld" = yes; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4471 $as_echo_n "checking for GNU ld... " >&6; }
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4474 $as_echo_n "checking for non-GNU ld... " >&6; }
4476 if test "${lt_cv_path_LD+set}" = set; then :
4477 $as_echo_n "(cached) " >&6
4479 if test -z "$LD"; then
4480 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4481 for ac_dir in $PATH; do
4483 test -z "$ac_dir" && ac_dir=.
4484 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4485 lt_cv_path_LD="$ac_dir/$ac_prog"
4486 # Check to see if the program is GNU ld. I'd rather use --version,
4487 # but apparently some variants of GNU ld only accept -v.
4488 # Break only if it was the GNU/non-GNU ld that we prefer.
4489 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4490 *GNU* | *'with BFD'*)
4491 test "$with_gnu_ld" != no && break
4494 test "$with_gnu_ld" != yes && break
4501 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4506 if test -n "$LD"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4508 $as_echo "$LD" >&6; }
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4513 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4515 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4516 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4517 $as_echo_n "(cached) " >&6
4519 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4520 case `$LD -v 2>&1 </dev/null` in
4521 *GNU* | *'with BFD'*)
4522 lt_cv_prog_gnu_ld=yes
4525 lt_cv_prog_gnu_ld=no
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4530 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4531 with_gnu_ld=$lt_cv_prog_gnu_ld
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4542 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4543 if test "${lt_cv_path_NM+set}" = set; then :
4544 $as_echo_n "(cached) " >&6
4546 if test -n "$NM"; then
4547 # Let the user override the test.
4550 lt_nm_to_check="${ac_tool_prefix}nm"
4551 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4552 lt_nm_to_check="$lt_nm_to_check nm"
4554 for lt_tmp_nm in $lt_nm_to_check; do
4555 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4556 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4558 test -z "$ac_dir" && ac_dir=.
4559 tmp_nm="$ac_dir/$lt_tmp_nm"
4560 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4561 # Check to see if the nm accepts a BSD-compat flag.
4562 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4563 # nm: unknown option "B" ignored
4564 # Tru64's nm complains that /dev/null is an invalid object file
4565 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4566 */dev/null* | *'Invalid file or object type'*)
4567 lt_cv_path_NM="$tmp_nm -B"
4571 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4573 lt_cv_path_NM="$tmp_nm -p"
4577 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4578 continue # so that we can try to find one that supports BSD flags
4587 : ${lt_cv_path_NM=no}
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4591 $as_echo "$lt_cv_path_NM" >&6; }
4592 if test "$lt_cv_path_NM" != "no"; then
4595 # Didn't find any BSD compatible name lister, look for dumpbin.
4596 if test -n "$ac_tool_prefix"; then
4597 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4599 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4600 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4602 $as_echo_n "checking for $ac_word... " >&6; }
4603 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4604 $as_echo_n "(cached) " >&6
4606 if test -n "$DUMPBIN"; then
4607 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 test -z "$as_dir" && as_dir=.
4614 for ac_exec_ext in '' $ac_executable_extensions; do
4615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4616 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4626 DUMPBIN=$ac_cv_prog_DUMPBIN
4627 if test -n "$DUMPBIN"; then
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4629 $as_echo "$DUMPBIN" >&6; }
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4632 $as_echo "no" >&6; }
4636 test -n "$DUMPBIN" && break
4639 if test -z "$DUMPBIN"; then
4640 ac_ct_DUMPBIN=$DUMPBIN
4641 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4643 # Extract the first word of "$ac_prog", so it can be a program name with args.
4644 set dummy $ac_prog; ac_word=$2
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4646 $as_echo_n "checking for $ac_word... " >&6; }
4647 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4648 $as_echo_n "(cached) " >&6
4650 if test -n "$ac_ct_DUMPBIN"; then
4651 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4657 test -z "$as_dir" && as_dir=.
4658 for ac_exec_ext in '' $ac_executable_extensions; do
4659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4660 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4670 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4671 if test -n "$ac_ct_DUMPBIN"; then
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4673 $as_echo "$ac_ct_DUMPBIN" >&6; }
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4676 $as_echo "no" >&6; }
4680 test -n "$ac_ct_DUMPBIN" && break
4683 if test "x$ac_ct_DUMPBIN" = x; then
4686 case $cross_compiling:$ac_tool_warned in
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4690 ac_tool_warned=yes ;;
4692 DUMPBIN=$ac_ct_DUMPBIN
4697 if test "$DUMPBIN" != ":"; then
4701 test -z "$NM" && NM=nm
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4709 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4710 if test "${lt_cv_nm_interface+set}" = set; then :
4711 $as_echo_n "(cached) " >&6
4713 lt_cv_nm_interface="BSD nm"
4714 echo "int some_variable = 0;" > conftest.$ac_ext
4715 (eval echo "\"\$as_me:4715: $ac_compile\"" >&5)
4716 (eval "$ac_compile" 2>conftest.err)
4717 cat conftest.err >&5
4718 (eval echo "\"\$as_me:4718: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4719 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4720 cat conftest.err >&5
4721 (eval echo "\"\$as_me:4721: output\"" >&5)
4722 cat conftest.out >&5
4723 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4724 lt_cv_nm_interface="MS dumpbin"
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4729 $as_echo "$lt_cv_nm_interface" >&6; }
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4732 $as_echo_n "checking whether ln -s works... " >&6; }
4734 if test "$LN_S" = "ln -s"; then
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4736 $as_echo "yes" >&6; }
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4739 $as_echo "no, using $LN_S" >&6; }
4742 # find the maximum length of command line arguments
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4744 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4745 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4746 $as_echo_n "(cached) " >&6
4753 # On DJGPP, this test can blow up pretty badly due to problems in libc
4754 # (any single argument exceeding 2000 bytes causes a buffer overrun
4755 # during glob expansion). Even if it were fixed, the result of this
4756 # check would be larger than it should be.
4757 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4761 # Under GNU Hurd, this test is not required because there is
4762 # no limit to the length of command line arguments.
4763 # Libtool will interpret -1 as no limit whatsoever
4764 lt_cv_sys_max_cmd_len=-1;
4767 cygwin* | mingw* | cegcc*)
4768 # On Win9x/ME, this test blows up -- it succeeds, but takes
4769 # about 5 minutes as the teststring grows exponentially.
4770 # Worse, since 9x/ME are not pre-emptively multitasking,
4771 # you end up with a "frozen" computer, even though with patience
4772 # the test eventually succeeds (with a max line length of 256k).
4773 # Instead, let's just punt: use the minimum linelength reported by
4774 # all of the supported platforms: 8192 (on NT/2K/XP).
4775 lt_cv_sys_max_cmd_len=8192;
4779 # On AmigaOS with pdksh, this test takes hours, literally.
4780 # So we just punt and use a minimum line length of 8192.
4781 lt_cv_sys_max_cmd_len=8192;
4784 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4785 # This has been around since 386BSD, at least. Likely further.
4786 if test -x /sbin/sysctl; then
4787 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4788 elif test -x /usr/sbin/sysctl; then
4789 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4791 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4793 # And add a safety zone
4794 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4795 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4799 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4800 lt_cv_sys_max_cmd_len=196608
4804 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4805 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4806 # nice to cause kernel panics so lets avoid the loop below.
4807 # First set a reasonable default.
4808 lt_cv_sys_max_cmd_len=16384
4810 if test -x /sbin/sysconfig; then
4811 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4812 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4817 lt_cv_sys_max_cmd_len=102400
4819 sysv5* | sco5v6* | sysv4.2uw2*)
4820 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4821 if test -n "$kargmax"; then
4822 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4824 lt_cv_sys_max_cmd_len=32768
4828 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4829 if test -n "$lt_cv_sys_max_cmd_len"; then
4830 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4831 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4833 # Make teststring a little bigger before we do anything with it.
4834 # a 1K string should be a reasonable start.
4835 for i in 1 2 3 4 5 6 7 8 ; do
4836 teststring=$teststring$teststring
4838 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4839 # If test is not a shell built-in, we'll probably end up computing a
4840 # maximum length that is only half of the actual maximum length, but
4842 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4843 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4844 test $i != 17 # 1/2 MB should be enough
4847 teststring=$teststring$teststring
4849 # Only check the string length outside the loop.
4850 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4852 # Add a significant safety factor because C++ compilers can tack on
4853 # massive amounts of additional arguments before passing them to the
4854 # linker. It appears as though 1/2 is a usable value.
4855 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4862 if test -n $lt_cv_sys_max_cmd_len ; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4864 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4867 $as_echo "none" >&6; }
4869 max_cmd_len=$lt_cv_sys_max_cmd_len
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4881 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4882 # Try some XSI features
4885 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4887 && eval 'test $(( 1 + 1 )) -eq 2 \
4888 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4891 $as_echo "$xsi_shell" >&6; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4895 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4897 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4899 && lt_shell_append=yes
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4901 $as_echo "$lt_shell_append" >&6; }
4904 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4914 # test EBCDIC or ASCII
4915 case `echo X|tr X '\101'` in
4916 A) # ASCII based system
4917 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4918 lt_SP2NL='tr \040 \012'
4919 lt_NL2SP='tr \015\012 \040\040'
4921 *) # EBCDIC based system
4922 lt_SP2NL='tr \100 \n'
4923 lt_NL2SP='tr \r\n \100\100'
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4936 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4937 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4938 $as_echo_n "(cached) " >&6
4940 lt_cv_ld_reload_flag='-r'
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4943 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4944 reload_flag=$lt_cv_ld_reload_flag
4945 case $reload_flag in
4947 *) reload_flag=" $reload_flag" ;;
4949 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4952 if test "$GCC" = yes; then
4953 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4955 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4968 if test -n "$ac_tool_prefix"; then
4969 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4970 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4974 $as_echo_n "(cached) " >&6
4976 if test -n "$OBJDUMP"; then
4977 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4986 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 OBJDUMP=$ac_cv_prog_OBJDUMP
4997 if test -n "$OBJDUMP"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4999 $as_echo "$OBJDUMP" >&6; }
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5007 if test -z "$ac_cv_prog_OBJDUMP"; then
5008 ac_ct_OBJDUMP=$OBJDUMP
5009 # Extract the first word of "objdump", so it can be a program name with args.
5010 set dummy objdump; ac_word=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5014 $as_echo_n "(cached) " >&6
5016 if test -n "$ac_ct_OBJDUMP"; then
5017 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir=.
5024 for ac_exec_ext in '' $ac_executable_extensions; do
5025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5026 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5037 if test -n "$ac_ct_OBJDUMP"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5039 $as_echo "$ac_ct_OBJDUMP" >&6; }
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5045 if test "x$ac_ct_OBJDUMP" = x; then
5048 case $cross_compiling:$ac_tool_warned in
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5052 ac_tool_warned=yes ;;
5054 OBJDUMP=$ac_ct_OBJDUMP
5057 OBJDUMP="$ac_cv_prog_OBJDUMP"
5060 test -z "$OBJDUMP" && OBJDUMP=objdump
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5071 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5072 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5073 $as_echo_n "(cached) " >&6
5075 lt_cv_file_magic_cmd='$MAGIC_CMD'
5076 lt_cv_file_magic_test_file=
5077 lt_cv_deplibs_check_method='unknown'
5078 # Need to set the preceding variable on all platforms that support
5079 # interlibrary dependencies.
5080 # 'none' -- dependencies not supported.
5081 # `unknown' -- same as none, but documents that we really don't know.
5082 # 'pass_all' -- all dependencies passed with no checks.
5083 # 'test_compile' -- check by making test program.
5084 # 'file_magic [[regex]]' -- check by looking for files in library path
5085 # which responds to the $file_magic_cmd with a given extended regex.
5086 # If you have `file' or equivalent on your system and you're not sure
5087 # whether `pass_all' will *always* work, you probably want this one.
5091 lt_cv_deplibs_check_method=pass_all
5095 lt_cv_deplibs_check_method=pass_all
5099 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5100 lt_cv_file_magic_cmd='/usr/bin/file -L'
5101 lt_cv_file_magic_test_file=/shlib/libc.so
5105 # func_win32_libid is a shell function defined in ltmain.sh
5106 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5107 lt_cv_file_magic_cmd='func_win32_libid'
5111 # Base MSYS/MinGW do not provide the 'file' command needed by
5112 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5113 # unless we find 'file', for example because we are cross-compiling.
5114 if ( file / ) >/dev/null 2>&1; then
5115 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5116 lt_cv_file_magic_cmd='func_win32_libid'
5118 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5119 lt_cv_file_magic_cmd='$OBJDUMP -f'
5124 # use the weaker test based on 'objdump'. See mingw*.
5125 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5126 lt_cv_file_magic_cmd='$OBJDUMP -f'
5129 darwin* | rhapsody*)
5130 lt_cv_deplibs_check_method=pass_all
5133 freebsd* | dragonfly*)
5134 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5137 # Not sure whether the presence of OpenBSD here was a mistake.
5138 # Let's accept both of them until this is cleared up.
5139 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5140 lt_cv_file_magic_cmd=/usr/bin/file
5141 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5145 lt_cv_deplibs_check_method=pass_all
5150 lt_cv_deplibs_check_method=pass_all
5153 hpux10.20* | hpux11*)
5154 lt_cv_file_magic_cmd=/usr/bin/file
5157 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5158 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5161 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5162 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5165 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5166 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5172 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5173 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5176 irix5* | irix6* | nonstopux*)
5178 *-32|*"-32 ") libmagic=32-bit;;
5179 *-n32|*"-n32 ") libmagic=N32;;
5180 *-64|*"-64 ") libmagic=64-bit;;
5181 *) libmagic=never-match;;
5183 lt_cv_deplibs_check_method=pass_all
5186 # This must be Linux ELF.
5187 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5188 lt_cv_deplibs_check_method=pass_all
5191 netbsd* | netbsdelf*-gnu)
5192 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5193 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5195 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5200 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5201 lt_cv_file_magic_cmd=/usr/bin/file
5202 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5206 lt_cv_deplibs_check_method=pass_all
5210 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5211 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5213 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5217 osf3* | osf4* | osf5*)
5218 lt_cv_deplibs_check_method=pass_all
5222 lt_cv_deplibs_check_method=pass_all
5226 lt_cv_deplibs_check_method=pass_all
5229 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5230 lt_cv_deplibs_check_method=pass_all
5234 case $host_vendor in
5236 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]'
5237 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5240 lt_cv_deplibs_check_method=pass_all
5243 lt_cv_file_magic_cmd='/bin/file'
5244 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5247 lt_cv_file_magic_cmd='/bin/file'
5248 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5249 lt_cv_file_magic_test_file=/lib/libc.so
5252 lt_cv_deplibs_check_method=pass_all
5255 lt_cv_deplibs_check_method=pass_all
5261 lt_cv_deplibs_check_method=pass_all
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5267 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5268 file_magic_cmd=$lt_cv_file_magic_cmd
5269 deplibs_check_method=$lt_cv_deplibs_check_method
5270 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5283 if test -n "$ac_tool_prefix"; then
5284 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5285 set dummy ${ac_tool_prefix}ar; ac_word=$2
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5287 $as_echo_n "checking for $ac_word... " >&6; }
5288 if test "${ac_cv_prog_AR+set}" = set; then :
5289 $as_echo_n "(cached) " >&6
5291 if test -n "$AR"; then
5292 ac_cv_prog_AR="$AR" # Let the user override the test.
5294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5298 test -z "$as_dir" && as_dir=.
5299 for ac_exec_ext in '' $ac_executable_extensions; do
5300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5301 ac_cv_prog_AR="${ac_tool_prefix}ar"
5302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5312 if test -n "$AR"; then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5314 $as_echo "$AR" >&6; }
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5317 $as_echo "no" >&6; }
5322 if test -z "$ac_cv_prog_AR"; then
5324 # Extract the first word of "ar", so it can be a program name with args.
5325 set dummy ar; ac_word=$2
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5327 $as_echo_n "checking for $ac_word... " >&6; }
5328 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5329 $as_echo_n "(cached) " >&6
5331 if test -n "$ac_ct_AR"; then
5332 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5338 test -z "$as_dir" && as_dir=.
5339 for ac_exec_ext in '' $ac_executable_extensions; do
5340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5341 ac_cv_prog_ac_ct_AR="ar"
5342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5351 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5352 if test -n "$ac_ct_AR"; then
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5354 $as_echo "$ac_ct_AR" >&6; }
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5357 $as_echo "no" >&6; }
5360 if test "x$ac_ct_AR" = x; then
5363 case $cross_compiling:$ac_tool_warned in
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5367 ac_tool_warned=yes ;;
5375 test -z "$AR" && AR=ar
5376 test -z "$AR_FLAGS" && AR_FLAGS=cru
5388 if test -n "$ac_tool_prefix"; then
5389 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5390 set dummy ${ac_tool_prefix}strip; ac_word=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392 $as_echo_n "checking for $ac_word... " >&6; }
5393 if test "${ac_cv_prog_STRIP+set}" = set; then :
5394 $as_echo_n "(cached) " >&6
5396 if test -n "$STRIP"; then
5397 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5406 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 STRIP=$ac_cv_prog_STRIP
5417 if test -n "$STRIP"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5419 $as_echo "$STRIP" >&6; }
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }
5427 if test -z "$ac_cv_prog_STRIP"; then
5429 # Extract the first word of "strip", so it can be a program name with args.
5430 set dummy strip; ac_word=$2
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5432 $as_echo_n "checking for $ac_word... " >&6; }
5433 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5434 $as_echo_n "(cached) " >&6
5436 if test -n "$ac_ct_STRIP"; then
5437 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443 test -z "$as_dir" && as_dir=.
5444 for ac_exec_ext in '' $ac_executable_extensions; do
5445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5446 ac_cv_prog_ac_ct_STRIP="strip"
5447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5456 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5457 if test -n "$ac_ct_STRIP"; then
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5459 $as_echo "$ac_ct_STRIP" >&6; }
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462 $as_echo "no" >&6; }
5465 if test "x$ac_ct_STRIP" = x; then
5468 case $cross_compiling:$ac_tool_warned in
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5472 ac_tool_warned=yes ;;
5477 STRIP="$ac_cv_prog_STRIP"
5480 test -z "$STRIP" && STRIP=:
5487 if test -n "$ac_tool_prefix"; then
5488 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5489 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5491 $as_echo_n "checking for $ac_word... " >&6; }
5492 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5493 $as_echo_n "(cached) " >&6
5495 if test -n "$RANLIB"; then
5496 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 RANLIB=$ac_cv_prog_RANLIB
5516 if test -n "$RANLIB"; then
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5518 $as_echo "$RANLIB" >&6; }
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521 $as_echo "no" >&6; }
5526 if test -z "$ac_cv_prog_RANLIB"; then
5527 ac_ct_RANLIB=$RANLIB
5528 # Extract the first word of "ranlib", so it can be a program name with args.
5529 set dummy ranlib; ac_word=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5533 $as_echo_n "(cached) " >&6
5535 if test -n "$ac_ct_RANLIB"; then
5536 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545 ac_cv_prog_ac_ct_RANLIB="ranlib"
5546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5556 if test -n "$ac_ct_RANLIB"; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5558 $as_echo "$ac_ct_RANLIB" >&6; }
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561 $as_echo "no" >&6; }
5564 if test "x$ac_ct_RANLIB" = x; then
5567 case $cross_compiling:$ac_tool_warned in
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5571 ac_tool_warned=yes ;;
5573 RANLIB=$ac_ct_RANLIB
5576 RANLIB="$ac_cv_prog_RANLIB"
5579 test -z "$RANLIB" && RANLIB=:
5586 # Determine commands to create old-style static archives.
5587 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5588 old_postinstall_cmds='chmod 644 $oldlib'
5589 old_postuninstall_cmds=
5591 if test -n "$RANLIB"; then
5594 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5597 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5600 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5636 # If no C compiler was specified, use CC.
5639 # If no C compiler flags were specified, use CFLAGS.
5640 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5642 # Allow CC to be a program name with arguments.
5646 # Check for command to grab the raw symbol name followed by C symbol from nm.
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5648 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5649 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5650 $as_echo_n "(cached) " >&6
5653 # These are sane defaults that work on at least a few old systems.
5654 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5656 # Character class describing NM global symbol codes.
5657 symcode='[BCDEGRST]'
5659 # Regexp to match symbols that can be accessed directly from C.
5660 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5662 # Define system-specific variables.
5667 cygwin* | mingw* | pw32* | cegcc*)
5668 symcode='[ABCDGISTW]'
5671 if test "$host_cpu" = ia64; then
5672 symcode='[ABCDEGRST]'
5676 symcode='[BCDEGRST]'
5679 symcode='[BCDEGQRST]'
5690 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5698 # If we're using GNU nm, then use its standard symbol codes.
5699 case `$NM -V 2>&1` in
5700 *GNU* | *'with BFD'*)
5701 symcode='[ABCDGIRSTW]' ;;
5704 # Transform an extracted symbol line into a proper C declaration.
5705 # Some systems (esp. on ia64) link data and code symbols differently,
5706 # so use this general approach.
5707 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5709 # Transform an extracted symbol line into symbol name and symbol address
5710 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5711 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5713 # Handle CRLF in mingw tool chain
5717 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5721 # Try without a prefix underscore, then with it.
5722 for ac_symprfx in "" "_"; do
5724 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5725 symxfrm="\\1 $ac_symprfx\\2 \\2"
5727 # Write the raw and C identifiers.
5728 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5729 # Fake it for dumpbin and say T for any non-static function
5730 # and D for any global variable.
5731 # Also find C++ and __fastcall symbols from MSVC++,
5732 # which start with @ or ?.
5733 lt_cv_sys_global_symbol_pipe="$AWK '"\
5734 " {last_section=section; section=\$ 3};"\
5735 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5736 " \$ 0!~/External *\|/{next};"\
5737 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5738 " {if(hide[section]) next};"\
5739 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5740 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5741 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5742 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5743 " ' prfx=^$ac_symprfx"
5745 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5748 # Check to see that the pipe works correctly.
5752 cat > conftest.$ac_ext <<_LT_EOF
5757 void nm_test_func(void);
5758 void nm_test_func(void){}
5762 int main(){nm_test_var='a';nm_test_func();return(0);}
5765 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5766 (eval $ac_compile) 2>&5
5768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5769 test $ac_status = 0; }; then
5770 # Now try to grab the symbols.
5772 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5773 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5776 test $ac_status = 0; } && test -s "$nlist"; then
5777 # Try sorting and uniquifying the output.
5778 if sort "$nlist" | uniq > "$nlist"T; then
5779 mv -f "$nlist"T "$nlist"
5784 # Make sure that we snagged all the symbols we need.
5785 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5786 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5787 cat <<_LT_EOF > conftest.$ac_ext
5793 # Now generate the symbol file.
5794 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5796 cat <<_LT_EOF >> conftest.$ac_ext
5798 /* The mapping between symbol names and symbols. */
5803 lt__PROGRAM__LTX_preloaded_symbols[] =
5805 { "@PROGRAM@", (void *) 0 },
5807 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5808 cat <<\_LT_EOF >> conftest.$ac_ext
5812 /* This works around a problem in FreeBSD linker */
5813 #ifdef FREEBSD_WORKAROUND
5814 static const void *lt_preloaded_setup() {
5815 return lt__PROGRAM__LTX_preloaded_symbols;
5823 # Now try linking the two files.
5824 mv conftest.$ac_objext conftstm.$ac_objext
5825 lt_save_LIBS="$LIBS"
5826 lt_save_CFLAGS="$CFLAGS"
5827 LIBS="conftstm.$ac_objext"
5828 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5829 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5830 (eval $ac_link) 2>&5
5832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5833 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5836 LIBS="$lt_save_LIBS"
5837 CFLAGS="$lt_save_CFLAGS"
5839 echo "cannot find nm_test_func in $nlist" >&5
5842 echo "cannot find nm_test_var in $nlist" >&5
5845 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5848 echo "$progname: failed program was:" >&5
5849 cat conftest.$ac_ext >&5
5851 rm -rf conftest* conftst*
5853 # Do not use the global_symbol_pipe unless it works.
5854 if test "$pipe_works" = yes; then
5857 lt_cv_sys_global_symbol_pipe=
5863 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5864 lt_cv_sys_global_symbol_to_cdecl=
5866 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5868 $as_echo "failed" >&6; }
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5871 $as_echo "ok" >&6; }
5896 # Check whether --enable-libtool-lock was given.
5897 if test "${enable_libtool_lock+set}" = set; then :
5898 enableval=$enable_libtool_lock;
5901 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5903 # Some flags need to be propagated to the compiler or linker for good
5907 # Find out which ABI we are using.
5908 echo 'int i;' > conftest.$ac_ext
5909 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5910 (eval $ac_compile) 2>&5
5912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5913 test $ac_status = 0; }; then
5914 case `/usr/bin/file conftest.$ac_objext` in
5926 # Find out which ABI we are using.
5927 echo '#line 5927 "configure"' > conftest.$ac_ext
5928 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5929 (eval $ac_compile) 2>&5
5931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5932 test $ac_status = 0; }; then
5933 if test "$lt_cv_prog_gnu_ld" = yes; then
5934 case `/usr/bin/file conftest.$ac_objext` in
5936 LD="${LD-ld} -melf32bsmip"
5939 LD="${LD-ld} -melf32bmipn32"
5942 LD="${LD-ld} -melf64bmip"
5946 case `/usr/bin/file conftest.$ac_objext` in
5962 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5963 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5964 # Find out which ABI we are using.
5965 echo 'int i;' > conftest.$ac_ext
5966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5967 (eval $ac_compile) 2>&5
5969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5970 test $ac_status = 0; }; then
5971 case `/usr/bin/file conftest.o` in
5974 x86_64-*kfreebsd*-gnu)
5975 LD="${LD-ld} -m elf_i386_fbsd"
5978 LD="${LD-ld} -m elf_i386"
5980 ppc64-*linux*|powerpc64-*linux*)
5981 LD="${LD-ld} -m elf32ppclinux"
5984 LD="${LD-ld} -m elf_s390"
5987 LD="${LD-ld} -m elf32_sparc"
5993 x86_64-*kfreebsd*-gnu)
5994 LD="${LD-ld} -m elf_x86_64_fbsd"
5997 LD="${LD-ld} -m elf_x86_64"
5999 ppc*-*linux*|powerpc*-*linux*)
6000 LD="${LD-ld} -m elf64ppc"
6002 s390*-*linux*|s390*-*tpf*)
6003 LD="${LD-ld} -m elf64_s390"
6006 LD="${LD-ld} -m elf64_sparc"
6016 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6017 SAVE_CFLAGS="$CFLAGS"
6018 CFLAGS="$CFLAGS -belf"
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6020 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6021 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6022 $as_echo_n "(cached) " >&6
6025 ac_cpp='$CPP $CPPFLAGS'
6026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6031 /* end confdefs.h. */
6041 if ac_fn_c_try_link "$LINENO"; then :
6042 lt_cv_cc_needs_belf=yes
6044 lt_cv_cc_needs_belf=no
6046 rm -f core conftest.err conftest.$ac_objext \
6047 conftest$ac_exeext conftest.$ac_ext
6049 ac_cpp='$CPP $CPPFLAGS'
6050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6056 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6057 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6058 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6059 CFLAGS="$SAVE_CFLAGS"
6063 # Find out which ABI we are using.
6064 echo 'int i;' > conftest.$ac_ext
6065 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6066 (eval $ac_compile) 2>&5
6068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6069 test $ac_status = 0; }; then
6070 case `/usr/bin/file conftest.o` in
6072 case $lt_cv_prog_gnu_ld in
6073 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6075 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6087 need_locks="$enable_libtool_lock"
6091 rhapsody* | darwin*)
6092 if test -n "$ac_tool_prefix"; then
6093 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6094 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6096 $as_echo_n "checking for $ac_word... " >&6; }
6097 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6098 $as_echo_n "(cached) " >&6
6100 if test -n "$DSYMUTIL"; then
6101 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 test -z "$as_dir" && as_dir=.
6108 for ac_exec_ext in '' $ac_executable_extensions; do
6109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6110 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6120 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6121 if test -n "$DSYMUTIL"; then
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6123 $as_echo "$DSYMUTIL" >&6; }
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6126 $as_echo "no" >&6; }
6131 if test -z "$ac_cv_prog_DSYMUTIL"; then
6132 ac_ct_DSYMUTIL=$DSYMUTIL
6133 # Extract the first word of "dsymutil", so it can be a program name with args.
6134 set dummy dsymutil; ac_word=$2
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6136 $as_echo_n "checking for $ac_word... " >&6; }
6137 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6138 $as_echo_n "(cached) " >&6
6140 if test -n "$ac_ct_DSYMUTIL"; then
6141 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 test -z "$as_dir" && as_dir=.
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6150 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6160 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6161 if test -n "$ac_ct_DSYMUTIL"; then
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6163 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6166 $as_echo "no" >&6; }
6169 if test "x$ac_ct_DSYMUTIL" = x; then
6172 case $cross_compiling:$ac_tool_warned in
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6176 ac_tool_warned=yes ;;
6178 DSYMUTIL=$ac_ct_DSYMUTIL
6181 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6184 if test -n "$ac_tool_prefix"; then
6185 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6186 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6188 $as_echo_n "checking for $ac_word... " >&6; }
6189 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6190 $as_echo_n "(cached) " >&6
6192 if test -n "$NMEDIT"; then
6193 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6199 test -z "$as_dir" && as_dir=.
6200 for ac_exec_ext in '' $ac_executable_extensions; do
6201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6202 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6212 NMEDIT=$ac_cv_prog_NMEDIT
6213 if test -n "$NMEDIT"; then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6215 $as_echo "$NMEDIT" >&6; }
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6218 $as_echo "no" >&6; }
6223 if test -z "$ac_cv_prog_NMEDIT"; then
6224 ac_ct_NMEDIT=$NMEDIT
6225 # Extract the first word of "nmedit", so it can be a program name with args.
6226 set dummy nmedit; ac_word=$2
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6228 $as_echo_n "checking for $ac_word... " >&6; }
6229 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6230 $as_echo_n "(cached) " >&6
6232 if test -n "$ac_ct_NMEDIT"; then
6233 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6239 test -z "$as_dir" && as_dir=.
6240 for ac_exec_ext in '' $ac_executable_extensions; do
6241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6242 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6252 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6253 if test -n "$ac_ct_NMEDIT"; then
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6255 $as_echo "$ac_ct_NMEDIT" >&6; }
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6258 $as_echo "no" >&6; }
6261 if test "x$ac_ct_NMEDIT" = x; then
6264 case $cross_compiling:$ac_tool_warned in
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6268 ac_tool_warned=yes ;;
6270 NMEDIT=$ac_ct_NMEDIT
6273 NMEDIT="$ac_cv_prog_NMEDIT"
6276 if test -n "$ac_tool_prefix"; then
6277 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6278 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6280 $as_echo_n "checking for $ac_word... " >&6; }
6281 if test "${ac_cv_prog_LIPO+set}" = set; then :
6282 $as_echo_n "(cached) " >&6
6284 if test -n "$LIPO"; then
6285 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6291 test -z "$as_dir" && as_dir=.
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6294 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6304 LIPO=$ac_cv_prog_LIPO
6305 if test -n "$LIPO"; then
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6307 $as_echo "$LIPO" >&6; }
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6310 $as_echo "no" >&6; }
6315 if test -z "$ac_cv_prog_LIPO"; then
6317 # Extract the first word of "lipo", so it can be a program name with args.
6318 set dummy lipo; ac_word=$2
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6320 $as_echo_n "checking for $ac_word... " >&6; }
6321 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6322 $as_echo_n "(cached) " >&6
6324 if test -n "$ac_ct_LIPO"; then
6325 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6331 test -z "$as_dir" && as_dir=.
6332 for ac_exec_ext in '' $ac_executable_extensions; do
6333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6334 ac_cv_prog_ac_ct_LIPO="lipo"
6335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6344 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6345 if test -n "$ac_ct_LIPO"; then
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6347 $as_echo "$ac_ct_LIPO" >&6; }
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6350 $as_echo "no" >&6; }
6353 if test "x$ac_ct_LIPO" = x; then
6356 case $cross_compiling:$ac_tool_warned in
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6360 ac_tool_warned=yes ;;
6365 LIPO="$ac_cv_prog_LIPO"
6368 if test -n "$ac_tool_prefix"; then
6369 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6370 set dummy ${ac_tool_prefix}otool; ac_word=$2
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6372 $as_echo_n "checking for $ac_word... " >&6; }
6373 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6374 $as_echo_n "(cached) " >&6
6376 if test -n "$OTOOL"; then
6377 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6383 test -z "$as_dir" && as_dir=.
6384 for ac_exec_ext in '' $ac_executable_extensions; do
6385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6386 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6396 OTOOL=$ac_cv_prog_OTOOL
6397 if test -n "$OTOOL"; then
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6399 $as_echo "$OTOOL" >&6; }
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6402 $as_echo "no" >&6; }
6407 if test -z "$ac_cv_prog_OTOOL"; then
6409 # Extract the first word of "otool", so it can be a program name with args.
6410 set dummy otool; ac_word=$2
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6412 $as_echo_n "checking for $ac_word... " >&6; }
6413 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6414 $as_echo_n "(cached) " >&6
6416 if test -n "$ac_ct_OTOOL"; then
6417 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423 test -z "$as_dir" && as_dir=.
6424 for ac_exec_ext in '' $ac_executable_extensions; do
6425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6426 ac_cv_prog_ac_ct_OTOOL="otool"
6427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6436 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6437 if test -n "$ac_ct_OTOOL"; then
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6439 $as_echo "$ac_ct_OTOOL" >&6; }
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6442 $as_echo "no" >&6; }
6445 if test "x$ac_ct_OTOOL" = x; then
6448 case $cross_compiling:$ac_tool_warned in
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6452 ac_tool_warned=yes ;;
6457 OTOOL="$ac_cv_prog_OTOOL"
6460 if test -n "$ac_tool_prefix"; then
6461 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6462 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6464 $as_echo_n "checking for $ac_word... " >&6; }
6465 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6466 $as_echo_n "(cached) " >&6
6468 if test -n "$OTOOL64"; then
6469 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 test -z "$as_dir" && as_dir=.
6476 for ac_exec_ext in '' $ac_executable_extensions; do
6477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6478 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6488 OTOOL64=$ac_cv_prog_OTOOL64
6489 if test -n "$OTOOL64"; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6491 $as_echo "$OTOOL64" >&6; }
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6494 $as_echo "no" >&6; }
6499 if test -z "$ac_cv_prog_OTOOL64"; then
6500 ac_ct_OTOOL64=$OTOOL64
6501 # Extract the first word of "otool64", so it can be a program name with args.
6502 set dummy otool64; ac_word=$2
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6504 $as_echo_n "checking for $ac_word... " >&6; }
6505 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6506 $as_echo_n "(cached) " >&6
6508 if test -n "$ac_ct_OTOOL64"; then
6509 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6515 test -z "$as_dir" && as_dir=.
6516 for ac_exec_ext in '' $ac_executable_extensions; do
6517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6518 ac_cv_prog_ac_ct_OTOOL64="otool64"
6519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6528 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6529 if test -n "$ac_ct_OTOOL64"; then
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6531 $as_echo "$ac_ct_OTOOL64" >&6; }
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6534 $as_echo "no" >&6; }
6537 if test "x$ac_ct_OTOOL64" = x; then
6540 case $cross_compiling:$ac_tool_warned in
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6544 ac_tool_warned=yes ;;
6546 OTOOL64=$ac_ct_OTOOL64
6549 OTOOL64="$ac_cv_prog_OTOOL64"
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6579 $as_echo_n "checking for -single_module linker flag... " >&6; }
6580 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6581 $as_echo_n "(cached) " >&6
6583 lt_cv_apple_cc_single_mod=no
6584 if test -z "${LT_MULTI_MODULE}"; then
6585 # By default we will add the -single_module flag. You can override
6586 # by either setting the environment variable LT_MULTI_MODULE
6587 # non-empty at configure time, or by adding -multi_module to the
6589 rm -rf libconftest.dylib*
6590 echo "int foo(void){return 1;}" > conftest.c
6591 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6592 -dynamiclib -Wl,-single_module conftest.c" >&5
6593 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6594 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6596 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6597 lt_cv_apple_cc_single_mod=yes
6599 cat conftest.err >&5
6601 rm -rf libconftest.dylib*
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6606 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6608 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6609 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6610 $as_echo_n "(cached) " >&6
6612 lt_cv_ld_exported_symbols_list=no
6613 save_LDFLAGS=$LDFLAGS
6614 echo "_main" > conftest.sym
6615 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6627 if ac_fn_c_try_link "$LINENO"; then :
6628 lt_cv_ld_exported_symbols_list=yes
6630 lt_cv_ld_exported_symbols_list=no
6632 rm -f core conftest.err conftest.$ac_objext \
6633 conftest$ac_exeext conftest.$ac_ext
6634 LDFLAGS="$save_LDFLAGS"
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6638 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6640 rhapsody* | darwin1.[012])
6641 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6643 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6644 darwin*) # darwin 5.x on
6645 # if running on 10.5 or later, the deployment target defaults
6646 # to the OS version, if on x86, and 10.4, the deployment
6647 # target defaults to 10.4. Don't you love it?
6648 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6649 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6650 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6652 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6654 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6658 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6659 _lt_dar_single_mod='$single_module'
6661 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6662 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6664 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6666 if test "$DSYMUTIL" != ":"; then
6667 _lt_dsymutil='~$DSYMUTIL $lib || :'
6675 ac_cpp='$CPP $CPPFLAGS'
6676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6680 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6681 # On Suns, sometimes $CPP names a directory.
6682 if test -n "$CPP" && test -d "$CPP"; then
6685 if test -z "$CPP"; then
6686 if test "${ac_cv_prog_CPP+set}" = set; then :
6687 $as_echo_n "(cached) " >&6
6689 # Double quotes because CPP needs to be expanded
6690 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6693 for ac_c_preproc_warn_flag in '' yes
6695 # Use a header file that comes with gcc, so configuring glibc
6696 # with a fresh cross-compiler works.
6697 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6698 # <limits.h> exists even on freestanding compilers.
6699 # On the NeXT, cc -E runs the code through the compiler's parser,
6700 # not just through cpp. "Syntax error" is here to catch this case.
6701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6702 /* end confdefs.h. */
6704 # include <limits.h>
6706 # include <assert.h>
6710 if ac_fn_c_try_cpp "$LINENO"; then :
6713 # Broken: fails on valid input.
6716 rm -f conftest.err conftest.$ac_ext
6718 # OK, works on sane cases. Now check whether nonexistent headers
6719 # can be detected and how.
6720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6721 /* end confdefs.h. */
6722 #include <ac_nonexistent.h>
6724 if ac_fn_c_try_cpp "$LINENO"; then :
6725 # Broken: success on invalid input.
6728 # Passes both tests.
6732 rm -f conftest.err conftest.$ac_ext
6735 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6736 rm -f conftest.err conftest.$ac_ext
6737 if $ac_preproc_ok; then :
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6750 $as_echo "$CPP" >&6; }
6752 for ac_c_preproc_warn_flag in '' yes
6754 # Use a header file that comes with gcc, so configuring glibc
6755 # with a fresh cross-compiler works.
6756 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6757 # <limits.h> exists even on freestanding compilers.
6758 # On the NeXT, cc -E runs the code through the compiler's parser,
6759 # not just through cpp. "Syntax error" is here to catch this case.
6760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6761 /* end confdefs.h. */
6763 # include <limits.h>
6765 # include <assert.h>
6769 if ac_fn_c_try_cpp "$LINENO"; then :
6772 # Broken: fails on valid input.
6775 rm -f conftest.err conftest.$ac_ext
6777 # OK, works on sane cases. Now check whether nonexistent headers
6778 # can be detected and how.
6779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6780 /* end confdefs.h. */
6781 #include <ac_nonexistent.h>
6783 if ac_fn_c_try_cpp "$LINENO"; then :
6784 # Broken: success on invalid input.
6787 # Passes both tests.
6791 rm -f conftest.err conftest.$ac_ext
6794 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6795 rm -f conftest.err conftest.$ac_ext
6796 if $ac_preproc_ok; then :
6799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6801 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6802 See \`config.log' for more details." "$LINENO" 5; }
6806 ac_cpp='$CPP $CPPFLAGS'
6807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6813 $as_echo_n "checking for ANSI C header files... " >&6; }
6814 if test "${ac_cv_header_stdc+set}" = set; then :
6815 $as_echo_n "(cached) " >&6
6817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6818 /* end confdefs.h. */
6832 if ac_fn_c_try_compile "$LINENO"; then :
6833 ac_cv_header_stdc=yes
6835 ac_cv_header_stdc=no
6837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6839 if test $ac_cv_header_stdc = yes; then
6840 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6842 /* end confdefs.h. */
6846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6847 $EGREP "memchr" >/dev/null 2>&1; then :
6850 ac_cv_header_stdc=no
6856 if test $ac_cv_header_stdc = yes; then
6857 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6859 /* end confdefs.h. */
6863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6864 $EGREP "free" >/dev/null 2>&1; then :
6867 ac_cv_header_stdc=no
6873 if test $ac_cv_header_stdc = yes; then
6874 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6875 if test "$cross_compiling" = yes; then :
6878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6879 /* end confdefs.h. */
6882 #if ((' ' & 0x0FF) == 0x020)
6883 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6884 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6886 # define ISLOWER(c) \
6887 (('a' <= (c) && (c) <= 'i') \
6888 || ('j' <= (c) && (c) <= 'r') \
6889 || ('s' <= (c) && (c) <= 'z'))
6890 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6893 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6898 for (i = 0; i < 256; i++)
6899 if (XOR (islower (i), ISLOWER (i))
6900 || toupper (i) != TOUPPER (i))
6905 if ac_fn_c_try_run "$LINENO"; then :
6908 ac_cv_header_stdc=no
6910 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6911 conftest.$ac_objext conftest.beam conftest.$ac_ext
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6917 $as_echo "$ac_cv_header_stdc" >&6; }
6918 if test $ac_cv_header_stdc = yes; then
6920 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6924 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6925 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6926 inttypes.h stdint.h unistd.h
6928 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6929 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6931 eval as_val=\$$as_ac_Header
6932 if test "x$as_val" = x""yes; then :
6933 cat >>confdefs.h <<_ACEOF
6934 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6942 for ac_header in dlfcn.h
6944 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6946 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6947 cat >>confdefs.h <<_ACEOF
6948 #define HAVE_DLFCN_H 1
6958 # Check whether --enable-static was given.
6959 if test "${enable_static+set}" = set; then :
6960 enableval=$enable_static; p=${PACKAGE-default}
6962 yes) enable_static=yes ;;
6963 no) enable_static=no ;;
6966 # Look at the argument we got. We use all the common list separators.
6967 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6968 for pkg in $enableval; do
6970 if test "X$pkg" = "X$p"; then
6996 # Check whether --enable-shared was given.
6997 if test "${enable_shared+set}" = set; then :
6998 enableval=$enable_shared; p=${PACKAGE-default}
7000 yes) enable_shared=yes ;;
7001 no) enable_shared=no ;;
7004 # Look at the argument we got. We use all the common list separators.
7005 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7006 for pkg in $enableval; do
7008 if test "X$pkg" = "X$p"; then
7029 # Check whether --with-pic was given.
7030 if test "${with_pic+set}" = set; then :
7031 withval=$with_pic; pic_mode="$withval"
7037 test -z "$pic_mode" && pic_mode=default
7045 # Check whether --enable-fast-install was given.
7046 if test "${enable_fast_install+set}" = set; then :
7047 enableval=$enable_fast_install; p=${PACKAGE-default}
7049 yes) enable_fast_install=yes ;;
7050 no) enable_fast_install=no ;;
7052 enable_fast_install=no
7053 # Look at the argument we got. We use all the common list separators.
7054 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7055 for pkg in $enableval; do
7057 if test "X$pkg" = "X$p"; then
7058 enable_fast_install=yes
7065 enable_fast_install=yes
7078 # This can be used to rebuild libtool when needed
7079 LIBTOOL_DEPS="$ltmain"
7081 # Always use our own libtool.
7082 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7108 test -z "$LN_S" && LN_S="ln -s"
7123 if test -n "${ZSH_VERSION+set}" ; then
7124 setopt NO_GLOB_SUBST
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7128 $as_echo_n "checking for objdir... " >&6; }
7129 if test "${lt_cv_objdir+set}" = set; then :
7130 $as_echo_n "(cached) " >&6
7132 rm -f .libs 2>/dev/null
7133 mkdir .libs 2>/dev/null
7134 if test -d .libs; then
7137 # MS-DOS does not allow filenames that begin with a dot.
7140 rmdir .libs 2>/dev/null
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7143 $as_echo "$lt_cv_objdir" >&6; }
7144 objdir=$lt_cv_objdir
7150 cat >>confdefs.h <<_ACEOF
7151 #define LT_OBJDIR "$lt_cv_objdir/"
7172 # AIX sometimes has problems with the GCC collect2 program. For some
7173 # reason, if we set the COLLECT_NAMES environment variable, the problems
7174 # vanish in a puff of smoke.
7175 if test "X${COLLECT_NAMES+set}" != Xset; then
7177 export COLLECT_NAMES
7182 # Sed substitution that helps us do robust quoting. It backslashifies
7183 # metacharacters that are still active within double-quoted strings.
7184 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7186 # Same as above, but do not quote variable references.
7187 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7189 # Sed substitution to delay expansion of an escaped shell variable in a
7190 # double_quote_subst'ed string.
7191 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7193 # Sed substitution to delay expansion of an escaped single quote.
7194 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7196 # Sed substitution to avoid accidental globbing in evaled expressions
7197 no_glob_subst='s/\*/\\\*/g'
7201 can_build_shared=yes
7203 # All known linkers require a `.a' archive for static linking (except MSVC,
7204 # which needs '.lib').
7207 with_gnu_ld="$lt_cv_prog_gnu_ld"
7210 old_CFLAGS="$CFLAGS"
7212 # Set sane defaults for various variables
7213 test -z "$CC" && CC=cc
7214 test -z "$LTCC" && LTCC=$CC
7215 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7216 test -z "$LD" && LD=ld
7217 test -z "$ac_objext" && ac_objext=o
7219 for cc_temp in $compiler""; do
7221 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7222 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7227 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7230 # Only perform the check for file, if the check method requires it
7231 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7232 case $deplibs_check_method in
7234 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7236 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7237 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7238 $as_echo_n "(cached) " >&6
7242 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7245 lt_save_MAGIC_CMD="$MAGIC_CMD"
7246 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7247 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7248 for ac_dir in $ac_dummy; do
7250 test -z "$ac_dir" && ac_dir=.
7251 if test -f $ac_dir/${ac_tool_prefix}file; then
7252 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7253 if test -n "$file_magic_test_file"; then
7254 case $deplibs_check_method in
7256 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7257 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7258 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7259 $EGREP "$file_magic_regex" > /dev/null; then
7264 *** Warning: the command libtool uses to detect shared libraries,
7265 *** $file_magic_cmd, produces output that libtool cannot recognize.
7266 *** The result is that libtool may fail to recognize shared libraries
7267 *** as such. This will affect the creation of libtool libraries that
7268 *** depend on shared libraries, but programs linked with such libtool
7269 *** libraries will work regardless of this problem. Nevertheless, you
7270 *** may want to report the problem to your system manager and/or to
7271 *** bug-libtool@gnu.org
7281 MAGIC_CMD="$lt_save_MAGIC_CMD"
7286 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7287 if test -n "$MAGIC_CMD"; then
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7289 $as_echo "$MAGIC_CMD" >&6; }
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7292 $as_echo "no" >&6; }
7299 if test -z "$lt_cv_path_MAGIC_CMD"; then
7300 if test -n "$ac_tool_prefix"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7302 $as_echo_n "checking for file... " >&6; }
7303 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7304 $as_echo_n "(cached) " >&6
7308 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7311 lt_save_MAGIC_CMD="$MAGIC_CMD"
7312 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7313 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7314 for ac_dir in $ac_dummy; do
7316 test -z "$ac_dir" && ac_dir=.
7317 if test -f $ac_dir/file; then
7318 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7319 if test -n "$file_magic_test_file"; then
7320 case $deplibs_check_method in
7322 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7323 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7324 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7325 $EGREP "$file_magic_regex" > /dev/null; then
7330 *** Warning: the command libtool uses to detect shared libraries,
7331 *** $file_magic_cmd, produces output that libtool cannot recognize.
7332 *** The result is that libtool may fail to recognize shared libraries
7333 *** as such. This will affect the creation of libtool libraries that
7334 *** depend on shared libraries, but programs linked with such libtool
7335 *** libraries will work regardless of this problem. Nevertheless, you
7336 *** may want to report the problem to your system manager and/or to
7337 *** bug-libtool@gnu.org
7347 MAGIC_CMD="$lt_save_MAGIC_CMD"
7352 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7353 if test -n "$MAGIC_CMD"; then
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7355 $as_echo "$MAGIC_CMD" >&6; }
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7358 $as_echo "no" >&6; }
7371 # Use C for the default configuration in the libtool script
7375 ac_cpp='$CPP $CPPFLAGS'
7376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7381 # Source file extension for C test sources.
7384 # Object file extension for compiled C test sources.
7388 # Code to be used in simple compile tests
7389 lt_simple_compile_test_code="int some_variable = 0;"
7391 # Code to be used in simple link tests
7392 lt_simple_link_test_code='int main(){return(0);}'
7400 # If no C compiler was specified, use CC.
7403 # If no C compiler flags were specified, use CFLAGS.
7404 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7406 # Allow CC to be a program name with arguments.
7409 # Save the default compiler, since it gets overwritten when the other
7410 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7411 compiler_DEFAULT=$CC
7413 # save warnings/boilerplate of simple test code
7414 ac_outfile=conftest.$ac_objext
7415 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7416 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7417 _lt_compiler_boilerplate=`cat conftest.err`
7420 ac_outfile=conftest.$ac_objext
7421 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7422 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7423 _lt_linker_boilerplate=`cat conftest.err`
7427 if test -n "$compiler"; then
7429 lt_prog_compiler_no_builtin_flag=
7431 if test "$GCC" = yes; then
7432 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7435 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7436 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7437 $as_echo_n "(cached) " >&6
7439 lt_cv_prog_compiler_rtti_exceptions=no
7440 ac_outfile=conftest.$ac_objext
7441 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7442 lt_compiler_flag="-fno-rtti -fno-exceptions"
7443 # Insert the option either (1) after the last *FLAGS variable, or
7444 # (2) before a word containing "conftest.", or (3) at the end.
7445 # Note that $ac_compile itself does not contain backslashes and begins
7446 # with a dollar sign (not a hyphen), so the echo should work correctly.
7447 # The option is referenced via a variable to avoid confusing sed.
7448 lt_compile=`echo "$ac_compile" | $SED \
7449 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7450 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7451 -e 's:$: $lt_compiler_flag:'`
7452 (eval echo "\"\$as_me:7452: $lt_compile\"" >&5)
7453 (eval "$lt_compile" 2>conftest.err)
7455 cat conftest.err >&5
7456 echo "$as_me:7456: \$? = $ac_status" >&5
7457 if (exit $ac_status) && test -s "$ac_outfile"; then
7458 # The compiler can only warn and ignore the option if not recognized
7459 # So say no if there are warnings other than the usual output.
7460 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7461 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7462 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7463 lt_cv_prog_compiler_rtti_exceptions=yes
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7470 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7472 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7473 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7485 lt_prog_compiler_wl=
7486 lt_prog_compiler_pic=
7487 lt_prog_compiler_static=
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7490 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7492 if test "$GCC" = yes; then
7493 lt_prog_compiler_wl='-Wl,'
7494 lt_prog_compiler_static='-static'
7498 # All AIX code is PIC.
7499 if test "$host_cpu" = ia64; then
7500 # AIX 5 now supports IA64 processor
7501 lt_prog_compiler_static='-Bstatic'
7508 # see comment about AmigaOS4 .so support
7509 lt_prog_compiler_pic='-fPIC'
7512 # FIXME: we need at least 68020 code to build shared libraries, but
7513 # adding the `-m68020' flag to GCC prevents building anything better,
7515 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7520 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7521 # PIC is the default for these OSes.
7524 mingw* | cygwin* | pw32* | os2* | cegcc*)
7525 # This hack is so that the source file can tell whether it is being
7526 # built for inclusion in a dll (and should export symbols for example).
7527 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7528 # (--disable-auto-import) libraries
7529 lt_prog_compiler_pic='-DDLL_EXPORT'
7532 darwin* | rhapsody*)
7533 # PIC is the default on this platform
7534 # Common symbols not allowed in MH_DYLIB files
7535 lt_prog_compiler_pic='-fno-common'
7539 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7540 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7541 # sets the default TLS model and affects inlining.
7547 lt_prog_compiler_pic='-fPIC'
7553 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7554 # Instead, we relocate shared libraries at runtime.
7558 # Just because we use GCC doesn't mean we suddenly get shared libraries
7559 # on systems that don't support them.
7560 lt_prog_compiler_can_build_shared=no
7565 # QNX uses GNU C++, but need to define -shared option too, otherwise
7567 lt_prog_compiler_pic='-fPIC -shared'
7571 if test -d /usr/nec; then
7572 lt_prog_compiler_pic=-Kconform_pic
7577 lt_prog_compiler_pic='-fPIC'
7581 # PORTME Check for flag to pass linker flags through the system compiler.
7584 lt_prog_compiler_wl='-Wl,'
7585 if test "$host_cpu" = ia64; then
7586 # AIX 5 now supports IA64 processor
7587 lt_prog_compiler_static='-Bstatic'
7589 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7593 mingw* | cygwin* | pw32* | os2* | cegcc*)
7594 # This hack is so that the source file can tell whether it is being
7595 # built for inclusion in a dll (and should export symbols for example).
7596 lt_prog_compiler_pic='-DDLL_EXPORT'
7599 hpux9* | hpux10* | hpux11*)
7600 lt_prog_compiler_wl='-Wl,'
7601 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7608 lt_prog_compiler_pic='+Z'
7611 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7612 lt_prog_compiler_static='${wl}-a ${wl}archive'
7615 irix5* | irix6* | nonstopux*)
7616 lt_prog_compiler_wl='-Wl,'
7617 # PIC (with -KPIC) is the default.
7618 lt_prog_compiler_static='-non_shared'
7621 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7622 case $cc_basename in
7623 # old Intel for x86_64 which still supported -KPIC.
7625 lt_prog_compiler_wl='-Wl,'
7626 lt_prog_compiler_pic='-KPIC'
7627 lt_prog_compiler_static='-static'
7629 # icc used to be incompatible with GCC.
7630 # ICC 10 doesn't accept -KPIC any more.
7632 lt_prog_compiler_wl='-Wl,'
7633 lt_prog_compiler_pic='-fPIC'
7634 lt_prog_compiler_static='-static'
7636 # Lahey Fortran 8.1.
7638 lt_prog_compiler_wl='-Wl,'
7639 lt_prog_compiler_pic='--shared'
7640 lt_prog_compiler_static='--static'
7642 pgcc* | pgf77* | pgf90* | pgf95*)
7643 # Portland Group compilers (*not* the Pentium gcc compiler,
7644 # which looks to be a dead project)
7645 lt_prog_compiler_wl='-Wl,'
7646 lt_prog_compiler_pic='-fpic'
7647 lt_prog_compiler_static='-Bstatic'
7650 lt_prog_compiler_wl='-Wl,'
7651 # All Alpha code is PIC.
7652 lt_prog_compiler_static='-non_shared'
7655 # IBM XL C 8.0/Fortran 10.1 on PPC
7656 lt_prog_compiler_wl='-Wl,'
7657 lt_prog_compiler_pic='-qpic'
7658 lt_prog_compiler_static='-qstaticlink'
7661 case `$CC -V 2>&1 | sed 5q` in
7664 lt_prog_compiler_pic='-KPIC'
7665 lt_prog_compiler_static='-Bstatic'
7666 lt_prog_compiler_wl='-Wl,'
7669 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7670 lt_prog_compiler_pic='-KPIC'
7671 lt_prog_compiler_static='-Bstatic'
7672 lt_prog_compiler_wl=''
7680 lt_prog_compiler_pic='-KPIC'
7681 lt_prog_compiler_static='-Bstatic'
7685 # QNX uses GNU C++, but need to define -shared option too, otherwise
7687 lt_prog_compiler_pic='-fPIC -shared'
7690 osf3* | osf4* | osf5*)
7691 lt_prog_compiler_wl='-Wl,'
7692 # All OSF/1 code is PIC.
7693 lt_prog_compiler_static='-non_shared'
7697 lt_prog_compiler_static='-non_shared'
7701 lt_prog_compiler_pic='-KPIC'
7702 lt_prog_compiler_static='-Bstatic'
7703 case $cc_basename in
7705 lt_prog_compiler_wl='-Qoption ld ';;
7707 lt_prog_compiler_wl='-Wl,';;
7712 lt_prog_compiler_wl='-Qoption ld '
7713 lt_prog_compiler_pic='-PIC'
7714 lt_prog_compiler_static='-Bstatic'
7717 sysv4 | sysv4.2uw2* | sysv4.3*)
7718 lt_prog_compiler_wl='-Wl,'
7719 lt_prog_compiler_pic='-KPIC'
7720 lt_prog_compiler_static='-Bstatic'
7724 if test -d /usr/nec ;then
7725 lt_prog_compiler_pic='-Kconform_pic'
7726 lt_prog_compiler_static='-Bstatic'
7730 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7731 lt_prog_compiler_wl='-Wl,'
7732 lt_prog_compiler_pic='-KPIC'
7733 lt_prog_compiler_static='-Bstatic'
7737 lt_prog_compiler_wl='-Wl,'
7738 lt_prog_compiler_can_build_shared=no
7742 lt_prog_compiler_pic='-pic'
7743 lt_prog_compiler_static='-Bstatic'
7747 lt_prog_compiler_can_build_shared=no
7753 # For platforms which do not support PIC, -DPIC is meaningless:
7755 lt_prog_compiler_pic=
7758 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7762 $as_echo "$lt_prog_compiler_pic" >&6; }
7770 # Check to make sure the PIC flag actually works.
7772 if test -n "$lt_prog_compiler_pic"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7774 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7775 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7776 $as_echo_n "(cached) " >&6
7778 lt_cv_prog_compiler_pic_works=no
7779 ac_outfile=conftest.$ac_objext
7780 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7781 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7782 # Insert the option either (1) after the last *FLAGS variable, or
7783 # (2) before a word containing "conftest.", or (3) at the end.
7784 # Note that $ac_compile itself does not contain backslashes and begins
7785 # with a dollar sign (not a hyphen), so the echo should work correctly.
7786 # The option is referenced via a variable to avoid confusing sed.
7787 lt_compile=`echo "$ac_compile" | $SED \
7788 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7789 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7790 -e 's:$: $lt_compiler_flag:'`
7791 (eval echo "\"\$as_me:7791: $lt_compile\"" >&5)
7792 (eval "$lt_compile" 2>conftest.err)
7794 cat conftest.err >&5
7795 echo "$as_me:7795: \$? = $ac_status" >&5
7796 if (exit $ac_status) && test -s "$ac_outfile"; then
7797 # The compiler can only warn and ignore the option if not recognized
7798 # So say no if there are warnings other than the usual output.
7799 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7800 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7801 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7802 lt_cv_prog_compiler_pic_works=yes
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7809 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7811 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7812 case $lt_prog_compiler_pic in
7814 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7817 lt_prog_compiler_pic=
7818 lt_prog_compiler_can_build_shared=no
7829 # Check to make sure the static flag actually works.
7831 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7833 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7834 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7835 $as_echo_n "(cached) " >&6
7837 lt_cv_prog_compiler_static_works=no
7838 save_LDFLAGS="$LDFLAGS"
7839 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7840 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7841 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7842 # The linker can only warn and ignore the option if not recognized
7843 # So say no if there are warnings
7844 if test -s conftest.err; then
7845 # Append any errors to the config.log.
7846 cat conftest.err 1>&5
7847 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7848 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7849 if diff conftest.exp conftest.er2 >/dev/null; then
7850 lt_cv_prog_compiler_static_works=yes
7853 lt_cv_prog_compiler_static_works=yes
7857 LDFLAGS="$save_LDFLAGS"
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7861 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7863 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7866 lt_prog_compiler_static=
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7876 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7877 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7878 $as_echo_n "(cached) " >&6
7880 lt_cv_prog_compiler_c_o=no
7881 $RM -r conftest 2>/dev/null
7885 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7887 lt_compiler_flag="-o out/conftest2.$ac_objext"
7888 # Insert the option either (1) after the last *FLAGS variable, or
7889 # (2) before a word containing "conftest.", or (3) at the end.
7890 # Note that $ac_compile itself does not contain backslashes and begins
7891 # with a dollar sign (not a hyphen), so the echo should work correctly.
7892 lt_compile=`echo "$ac_compile" | $SED \
7893 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7894 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7895 -e 's:$: $lt_compiler_flag:'`
7896 (eval echo "\"\$as_me:7896: $lt_compile\"" >&5)
7897 (eval "$lt_compile" 2>out/conftest.err)
7899 cat out/conftest.err >&5
7900 echo "$as_me:7900: \$? = $ac_status" >&5
7901 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7903 # The compiler can only warn and ignore the option if not recognized
7904 # So say no if there are warnings
7905 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7906 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7907 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7908 lt_cv_prog_compiler_c_o=yes
7913 # SGI C++ compiler will create directory out/ii_files/ for
7914 # template instantiation
7915 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7916 $RM out/* && rmdir out
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7923 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7931 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7932 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7933 $as_echo_n "(cached) " >&6
7935 lt_cv_prog_compiler_c_o=no
7936 $RM -r conftest 2>/dev/null
7940 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7942 lt_compiler_flag="-o out/conftest2.$ac_objext"
7943 # Insert the option either (1) after the last *FLAGS variable, or
7944 # (2) before a word containing "conftest.", or (3) at the end.
7945 # Note that $ac_compile itself does not contain backslashes and begins
7946 # with a dollar sign (not a hyphen), so the echo should work correctly.
7947 lt_compile=`echo "$ac_compile" | $SED \
7948 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7949 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7950 -e 's:$: $lt_compiler_flag:'`
7951 (eval echo "\"\$as_me:7951: $lt_compile\"" >&5)
7952 (eval "$lt_compile" 2>out/conftest.err)
7954 cat out/conftest.err >&5
7955 echo "$as_me:7955: \$? = $ac_status" >&5
7956 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7958 # The compiler can only warn and ignore the option if not recognized
7959 # So say no if there are warnings
7960 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7961 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7962 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7963 lt_cv_prog_compiler_c_o=yes
7968 # SGI C++ compiler will create directory out/ii_files/ for
7969 # template instantiation
7970 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7971 $RM out/* && rmdir out
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7978 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7983 hard_links="nottested"
7984 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7985 # do not overwrite the value of need_locks provided by the user
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7987 $as_echo_n "checking if we can lock with hard links... " >&6; }
7990 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7992 ln conftest.a conftest.b 2>&5 || hard_links=no
7993 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7995 $as_echo "$hard_links" >&6; }
7996 if test "$hard_links" = no; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7998 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8011 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8014 allow_undefined_flag=
8015 always_export_symbols=no
8017 archive_expsym_cmds=
8018 compiler_needs_object=no
8019 enable_shared_with_static_runtimes=no
8020 export_dynamic_flag_spec=
8021 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8022 hardcode_automatic=no
8024 hardcode_direct_absolute=no
8025 hardcode_libdir_flag_spec=
8026 hardcode_libdir_flag_spec_ld=
8027 hardcode_libdir_separator=
8029 hardcode_shlibpath_var=unsupported
8031 link_all_deplibs=unknown
8034 old_archive_from_new_cmds=
8035 old_archive_from_expsyms_cmds=
8036 thread_safe_flag_spec=
8037 whole_archive_flag_spec=
8038 # include_expsyms should be a list of space-separated symbols to be *always*
8039 # included in the symbol list
8041 # exclude_expsyms can be an extended regexp of symbols to exclude
8042 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8043 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8044 # as well as any symbol that contains `d'.
8045 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8046 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8047 # platforms (ab)use it in PIC code, but their linkers get confused if
8048 # the symbol is explicitly referenced. Since portable code cannot
8049 # rely on this symbol name, it's probably fine to never include it in
8050 # preloaded symbol tables.
8051 # Exclude shared library initialization/finalization symbols.
8052 extract_expsyms_cmds=
8055 cygwin* | mingw* | pw32* | cegcc*)
8056 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8057 # When not using gcc, we currently assume that we are using
8058 # Microsoft Visual C++.
8059 if test "$GCC" != yes; then
8064 # we just hope/assume this is gcc and not c89 (= MSVC++)
8070 linux* | k*bsd*-gnu)
8076 if test "$with_gnu_ld" = yes; then
8077 # If archive_cmds runs LD, not CC, wlarc should be empty
8080 # Set some defaults for GNU ld with shared library support. These
8081 # are reset later if shared libraries are not supported. Putting them
8082 # here allows them to be overridden if necessary.
8083 runpath_var=LD_RUN_PATH
8084 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8085 export_dynamic_flag_spec='${wl}--export-dynamic'
8086 # ancient GNU ld didn't support --whole-archive et. al.
8087 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8088 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8090 whole_archive_flag_spec=
8092 supports_anon_versioning=no
8093 case `$LD -v 2>&1` in
8094 *GNU\ gold*) supports_anon_versioning=yes ;;
8095 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8096 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8097 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8098 *\ 2.11.*) ;; # other 2.11 versions
8099 *) supports_anon_versioning=yes ;;
8102 # See if GNU ld supports shared libraries.
8105 # On AIX/PPC, the GNU linker is very broken
8106 if test "$host_cpu" != ia64; then
8110 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8111 *** to be unable to reliably create shared libraries on AIX.
8112 *** Therefore, libtool is disabling shared libraries support. If you
8113 *** really care for shared libraries, you may want to modify your PATH
8114 *** so that a non-GNU linker is found, and then restart.
8123 # see comment about AmigaOS4 .so support
8124 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8125 archive_expsym_cmds=''
8128 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)'
8129 hardcode_libdir_flag_spec='-L$libdir'
8130 hardcode_minus_L=yes
8136 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8137 allow_undefined_flag=unsupported
8138 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8139 # support --undefined. This deserves some investigation. FIXME
8140 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8146 cygwin* | mingw* | pw32* | cegcc*)
8147 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8148 # as there is no search path for DLLs.
8149 hardcode_libdir_flag_spec='-L$libdir'
8150 allow_undefined_flag=unsupported
8151 always_export_symbols=no
8152 enable_shared_with_static_runtimes=yes
8153 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8155 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8156 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8157 # If the export-symbols file already is a .def file (1st line
8158 # is EXPORTS), use it as is; otherwise, prepend...
8159 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8160 cp $export_symbols $output_objdir/$soname.def;
8162 echo EXPORTS > $output_objdir/$soname.def;
8163 cat $export_symbols >> $output_objdir/$soname.def;
8165 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8173 hardcode_shlibpath_var=no
8174 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8175 export_dynamic_flag_spec='${wl}-E'
8176 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8177 # Instead, shared libraries are loaded at an image base (0x10000000 by
8178 # default) and relocated if they conflict, which is a slow very memory
8179 # consuming and fragmenting process. To avoid this, we pick a random,
8180 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8181 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8182 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8183 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'
8186 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8188 if test "$host_os" = linux-dietlibc; then
8189 case $cc_basename in
8190 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8193 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8194 && test "$tmp_diet" = no
8197 tmp_sharedflag='-shared'
8198 case $cc_basename,$host_cpu in
8199 pgcc*) # Portland Group C compiler
8200 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8201 tmp_addflag=' $pic_flag'
8203 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8204 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8205 tmp_addflag=' $pic_flag -Mnomain' ;;
8206 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8207 tmp_addflag=' -i_dynamic' ;;
8208 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8209 tmp_addflag=' -i_dynamic -nofor_main' ;;
8210 ifc* | ifort*) # Intel Fortran compiler
8211 tmp_addflag=' -nofor_main' ;;
8212 lf95*) # Lahey Fortran 8.1
8213 whole_archive_flag_spec=
8214 tmp_sharedflag='--shared' ;;
8215 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8216 tmp_sharedflag='-qmkshrobj'
8219 case `$CC -V 2>&1 | sed 5q` in
8220 *Sun\ C*) # Sun C 5.9
8221 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8222 compiler_needs_object=yes
8223 tmp_sharedflag='-G' ;;
8224 *Sun\ F*) # Sun Fortran 8.3
8225 tmp_sharedflag='-G' ;;
8227 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8229 if test "x$supports_anon_versioning" = xyes; then
8230 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8231 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8232 echo "local: *; };" >> $output_objdir/$libname.ver~
8233 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8236 case $cc_basename in
8238 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8239 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8240 hardcode_libdir_flag_spec=
8241 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8242 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8243 if test "x$supports_anon_versioning" = xyes; then
8244 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8245 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8246 echo "local: *; };" >> $output_objdir/$libname.ver~
8247 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8256 netbsd* | netbsdelf*-gnu)
8257 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8258 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8261 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8262 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8267 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8271 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8272 *** create shared libraries on Solaris systems. Therefore, libtool
8273 *** is disabling shared libraries support. We urge you to upgrade GNU
8274 *** binutils to release 2.9.1 or newer. Another option is to modify
8275 *** your PATH or compiler configuration so that the native linker is
8276 *** used, and then restart.
8279 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8280 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8281 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8287 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8288 case `$LD -v 2>&1` in
8289 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8293 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8294 *** reliably create shared libraries on SCO systems. Therefore, libtool
8295 *** is disabling shared libraries support. We urge you to upgrade GNU
8296 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8297 *** your PATH or compiler configuration so that the native linker is
8298 *** used, and then restart.
8303 # For security reasons, it is highly recommended that you always
8304 # use absolute paths for naming shared libraries, and exclude the
8305 # DT_RUNPATH tag from executables and libraries. But doing so
8306 # requires that you compile everything twice, which is a pain.
8307 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8308 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8309 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8310 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8319 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8322 hardcode_shlibpath_var=no
8326 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8327 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8328 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8335 if test "$ld_shlibs" = no; then
8337 hardcode_libdir_flag_spec=
8338 export_dynamic_flag_spec=
8339 whole_archive_flag_spec=
8342 # PORTME fill in a description of your system's linker (not GNU ld)
8345 allow_undefined_flag=unsupported
8346 always_export_symbols=yes
8347 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'
8348 # Note: this linker hardcodes the directories in LIBPATH if there
8349 # are no directories specified by -L.
8350 hardcode_minus_L=yes
8351 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8352 # Neither direct hardcoding nor static linking is supported with a
8354 hardcode_direct=unsupported
8359 if test "$host_cpu" = ia64; then
8360 # On IA64, the linker does run time linking by default, so we don't
8361 # have to do anything special.
8362 aix_use_runtimelinking=no
8363 exp_sym_flag='-Bexport'
8366 # If we're using GNU nm, then we don't want the "-C" option.
8367 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8368 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8369 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8371 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'
8373 aix_use_runtimelinking=no
8375 # Test if we are trying to use run time linking or normal
8376 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8377 # need to do runtime linking.
8378 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8379 for ld_flag in $LDFLAGS; do
8380 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8381 aix_use_runtimelinking=yes
8388 exp_sym_flag='-bexport'
8389 no_entry_flag='-bnoentry'
8392 # When large executables or shared objects are built, AIX ld can
8393 # have problems creating the table of contents. If linking a library
8394 # or program results in "error TOC overflow" add -mminimal-toc to
8395 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8396 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8400 hardcode_direct_absolute=yes
8401 hardcode_libdir_separator=':'
8402 link_all_deplibs=yes
8403 file_list_spec='${wl}-f,'
8405 if test "$GCC" = yes; then
8406 case $host_os in aix4.[012]|aix4.[012].*)
8407 # We only want to do this on AIX 4.2 and lower, the check
8408 # below for broken collect2 doesn't work under 4.3+
8409 collect2name=`${CC} -print-prog-name=collect2`
8410 if test -f "$collect2name" &&
8411 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8413 # We have reworked collect2
8416 # We have old collect2
8417 hardcode_direct=unsupported
8418 # It fails to find uninstalled libraries when the uninstalled
8419 # path is not listed in the libpath. Setting hardcode_minus_L
8420 # to unsupported forces relinking
8421 hardcode_minus_L=yes
8422 hardcode_libdir_flag_spec='-L$libdir'
8423 hardcode_libdir_separator=
8427 shared_flag='-shared'
8428 if test "$aix_use_runtimelinking" = yes; then
8429 shared_flag="$shared_flag "'${wl}-G'
8434 if test "$host_cpu" = ia64; then
8435 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8436 # chokes on -Wl,-G. The following line is correct:
8439 if test "$aix_use_runtimelinking" = yes; then
8440 shared_flag='${wl}-G'
8442 shared_flag='${wl}-bM:SRE'
8447 export_dynamic_flag_spec='${wl}-bexpall'
8448 # It seems that -bexpall does not export symbols beginning with
8449 # underscore (_), so it is better to generate a list of symbols to export.
8450 always_export_symbols=yes
8451 if test "$aix_use_runtimelinking" = yes; then
8452 # Warning - without using the other runtime loading flags (-brtl),
8453 # -berok will link without error, but may produce a broken library.
8454 allow_undefined_flag='-berok'
8455 # Determine the default libpath from the value encoded in an
8457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8458 /* end confdefs.h. */
8468 if ac_fn_c_try_link "$LINENO"; then :
8470 lt_aix_libpath_sed='
8471 /Import File Strings/,/^$/ {
8477 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8478 # Check for a 64-bit object if we didn't find anything.
8479 if test -z "$aix_libpath"; then
8480 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8483 rm -f core conftest.err conftest.$ac_objext \
8484 conftest$ac_exeext conftest.$ac_ext
8485 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8487 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8488 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8490 if test "$host_cpu" = ia64; then
8491 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8492 allow_undefined_flag="-z nodefs"
8493 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"
8495 # Determine the default libpath from the value encoded in an
8497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498 /* end confdefs.h. */
8508 if ac_fn_c_try_link "$LINENO"; then :
8510 lt_aix_libpath_sed='
8511 /Import File Strings/,/^$/ {
8517 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8518 # Check for a 64-bit object if we didn't find anything.
8519 if test -z "$aix_libpath"; then
8520 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8523 rm -f core conftest.err conftest.$ac_objext \
8524 conftest$ac_exeext conftest.$ac_ext
8525 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8527 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8528 # Warning - without using the other run time loading flags,
8529 # -berok will link without error, but may produce a broken library.
8530 no_undefined_flag=' ${wl}-bernotok'
8531 allow_undefined_flag=' ${wl}-berok'
8532 # Exported symbols can be pulled into shared objects from archives
8533 whole_archive_flag_spec='$convenience'
8534 archive_cmds_need_lc=yes
8535 # This is similar to how AIX traditionally builds its shared libraries.
8536 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'
8544 # see comment about AmigaOS4 .so support
8545 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8546 archive_expsym_cmds=''
8549 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)'
8550 hardcode_libdir_flag_spec='-L$libdir'
8551 hardcode_minus_L=yes
8557 export_dynamic_flag_spec=-rdynamic
8560 cygwin* | mingw* | pw32* | cegcc*)
8561 # When not using gcc, we currently assume that we are using
8562 # Microsoft Visual C++.
8563 # hardcode_libdir_flag_spec is actually meaningless, as there is
8564 # no search path for DLLs.
8565 hardcode_libdir_flag_spec=' '
8566 allow_undefined_flag=unsupported
8567 # Tell ltmain to make .lib files, not .a files.
8569 # Tell ltmain to make .dll files, not .so files.
8571 # FIXME: Setting linknames here is a bad hack.
8572 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8573 # The linker will automatically build a .lib file if we build a DLL.
8574 old_archive_from_new_cmds='true'
8575 # FIXME: Should let the user specify the lib program.
8576 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8577 fix_srcfile_path='`cygpath -w "$srcfile"`'
8578 enable_shared_with_static_runtimes=yes
8581 darwin* | rhapsody*)
8584 archive_cmds_need_lc=no
8586 hardcode_automatic=yes
8587 hardcode_shlibpath_var=unsupported
8588 whole_archive_flag_spec=''
8589 link_all_deplibs=yes
8590 allow_undefined_flag="$_lt_dar_allow_undefined"
8591 case $cc_basename in
8592 ifort*) _lt_dar_can_shared=yes ;;
8593 *) _lt_dar_can_shared=$GCC ;;
8595 if test "$_lt_dar_can_shared" = "yes"; then
8596 output_verbose_link_cmd=echo
8597 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8598 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8599 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}"
8600 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}"
8609 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8610 hardcode_libdir_flag_spec='-L$libdir'
8611 hardcode_shlibpath_var=no
8618 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8619 # support. Future versions do this automatically, but an explicit c++rt0.o
8620 # does not break anything, and helps significantly (at the cost of a little
8623 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8624 hardcode_libdir_flag_spec='-R$libdir'
8626 hardcode_shlibpath_var=no
8629 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8631 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8633 hardcode_minus_L=yes
8634 hardcode_shlibpath_var=no
8637 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8638 freebsd* | dragonfly*)
8639 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8640 hardcode_libdir_flag_spec='-R$libdir'
8642 hardcode_shlibpath_var=no
8646 if test "$GCC" = yes; then
8647 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8649 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8651 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8652 hardcode_libdir_separator=:
8655 # hardcode_minus_L: Not really in the search PATH,
8656 # but as the default location of the library.
8657 hardcode_minus_L=yes
8658 export_dynamic_flag_spec='${wl}-E'
8662 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8663 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8665 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8667 if test "$with_gnu_ld" = no; then
8668 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8669 hardcode_libdir_flag_spec_ld='+b $libdir'
8670 hardcode_libdir_separator=:
8672 hardcode_direct_absolute=yes
8673 export_dynamic_flag_spec='${wl}-E'
8674 # hardcode_minus_L: Not really in the search PATH,
8675 # but as the default location of the library.
8676 hardcode_minus_L=yes
8681 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8684 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8687 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8690 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8696 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8699 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8702 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8706 if test "$with_gnu_ld" = no; then
8707 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8708 hardcode_libdir_separator=:
8713 hardcode_shlibpath_var=no
8717 hardcode_direct_absolute=yes
8718 export_dynamic_flag_spec='${wl}-E'
8720 # hardcode_minus_L: Not really in the search PATH,
8721 # but as the default location of the library.
8722 hardcode_minus_L=yes
8728 irix5* | irix6* | nonstopux*)
8729 if test "$GCC" = yes; then
8730 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8731 # Try to use the -exported_symbol ld option, if it does not
8732 # work, assume that -exports_file does not work either and
8733 # implicitly export all symbols.
8734 save_LDFLAGS="$LDFLAGS"
8735 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8737 /* end confdefs.h. */
8740 if ac_fn_c_try_link "$LINENO"; then :
8741 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8744 rm -f core conftest.err conftest.$ac_objext \
8745 conftest$ac_exeext conftest.$ac_ext
8746 LDFLAGS="$save_LDFLAGS"
8748 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8749 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8751 archive_cmds_need_lc='no'
8752 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8753 hardcode_libdir_separator=:
8755 link_all_deplibs=yes
8758 netbsd* | netbsdelf*-gnu)
8759 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8760 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8762 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8764 hardcode_libdir_flag_spec='-R$libdir'
8766 hardcode_shlibpath_var=no
8770 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8772 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8773 hardcode_libdir_separator=:
8774 hardcode_shlibpath_var=no
8781 if test -f /usr/libexec/ld.so; then
8783 hardcode_shlibpath_var=no
8784 hardcode_direct_absolute=yes
8785 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8786 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8787 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8788 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8789 export_dynamic_flag_spec='${wl}-E'
8792 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8793 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8794 hardcode_libdir_flag_spec='-R$libdir'
8797 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8798 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8808 hardcode_libdir_flag_spec='-L$libdir'
8809 hardcode_minus_L=yes
8810 allow_undefined_flag=unsupported
8811 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'
8812 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8816 if test "$GCC" = yes; then
8817 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8818 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8820 allow_undefined_flag=' -expect_unresolved \*'
8821 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8823 archive_cmds_need_lc='no'
8824 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8825 hardcode_libdir_separator=:
8828 osf4* | osf5*) # as osf3* with the addition of -msym flag
8829 if test "$GCC" = yes; then
8830 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8831 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8832 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8834 allow_undefined_flag=' -expect_unresolved \*'
8835 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8836 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~
8837 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8839 # Both c and cxx compiler support -rpath directly
8840 hardcode_libdir_flag_spec='-rpath $libdir'
8842 archive_cmds_need_lc='no'
8843 hardcode_libdir_separator=:
8847 no_undefined_flag=' -z defs'
8848 if test "$GCC" = yes; then
8850 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8851 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8852 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8854 case `$CC -V 2>&1` in
8857 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8858 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8859 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8863 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8864 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8865 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8869 hardcode_libdir_flag_spec='-R$libdir'
8870 hardcode_shlibpath_var=no
8872 solaris2.[0-5] | solaris2.[0-5].*) ;;
8874 # The compiler driver will combine and reorder linker options,
8875 # but understands `-z linker_flag'. GCC discards it without `$wl',
8876 # but is careful enough not to reorder.
8877 # Supported since Solaris 2.6 (maybe 2.5.1?)
8878 if test "$GCC" = yes; then
8879 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8881 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8885 link_all_deplibs=yes
8889 if test "x$host_vendor" = xsequent; then
8890 # Use $CC to link under sequent, because it throws in some extra .o
8891 # files that make .init and .fini sections work.
8892 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8894 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8896 hardcode_libdir_flag_spec='-L$libdir'
8898 hardcode_minus_L=yes
8899 hardcode_shlibpath_var=no
8903 case $host_vendor in
8905 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8906 hardcode_direct=yes # is this really true???
8909 ## LD is ld it makes a PLAMLIB
8910 ## CC just makes a GrossModule.
8911 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8912 reload_cmds='$CC -r -o $output$reload_objs'
8916 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8917 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8920 runpath_var='LD_RUN_PATH'
8921 hardcode_shlibpath_var=no
8925 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8926 hardcode_shlibpath_var=no
8927 export_dynamic_flag_spec='-Bexport'
8931 if test -d /usr/nec; then
8932 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8933 hardcode_shlibpath_var=no
8934 runpath_var=LD_RUN_PATH
8935 hardcode_runpath_var=yes
8940 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8941 no_undefined_flag='${wl}-z,text'
8942 archive_cmds_need_lc=no
8943 hardcode_shlibpath_var=no
8944 runpath_var='LD_RUN_PATH'
8946 if test "$GCC" = yes; then
8947 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8948 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8950 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8951 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8955 sysv5* | sco3.2v5* | sco5v6*)
8956 # Note: We can NOT use -z defs as we might desire, because we do not
8957 # link with -lc, and that would cause any symbols used from libc to
8958 # always be unresolved, which means just about no library would
8959 # ever link correctly. If we're not using GNU ld we use -z text
8960 # though, which does catch some bad symbols but isn't as heavy-handed
8962 no_undefined_flag='${wl}-z,text'
8963 allow_undefined_flag='${wl}-z,nodefs'
8964 archive_cmds_need_lc=no
8965 hardcode_shlibpath_var=no
8966 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8967 hardcode_libdir_separator=':'
8968 link_all_deplibs=yes
8969 export_dynamic_flag_spec='${wl}-Bexport'
8970 runpath_var='LD_RUN_PATH'
8972 if test "$GCC" = yes; then
8973 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8974 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8976 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8977 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8982 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8983 hardcode_libdir_flag_spec='-L$libdir'
8984 hardcode_shlibpath_var=no
8992 if test x$host_vendor = xsni; then
8994 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8995 export_dynamic_flag_spec='${wl}-Blargedynsym'
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9002 $as_echo "$ld_shlibs" >&6; }
9003 test "$ld_shlibs" = no && can_build_shared=no
9005 with_gnu_ld=$with_gnu_ld
9022 # Do we need to explicitly link libc?
9024 case "x$archive_cmds_need_lc" in
9026 # Assume -lc should be added
9027 archive_cmds_need_lc=yes
9029 if test "$enable_shared" = yes && test "$GCC" = yes; then
9030 case $archive_cmds in
9032 # FIXME: we may have to deal with multi-command sequences.
9035 # Test whether the compiler implicitly links with -lc since on some
9036 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9037 # to ld, don't add -lc before -lgcc.
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9039 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9041 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9043 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9044 (eval $ac_compile) 2>&5
9046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9047 test $ac_status = 0; } 2>conftest.err; then
9050 libobjs=conftest.$ac_objext
9052 wl=$lt_prog_compiler_wl
9053 pic_flag=$lt_prog_compiler_pic
9059 lt_save_allow_undefined_flag=$allow_undefined_flag
9060 allow_undefined_flag=
9061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9062 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9065 test $ac_status = 0; }
9067 archive_cmds_need_lc=no
9069 archive_cmds_need_lc=yes
9071 allow_undefined_flag=$lt_save_allow_undefined_flag
9073 cat conftest.err 1>&5
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9077 $as_echo "$archive_cmds_need_lc" >&6; }
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9241 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9243 if test "$GCC" = yes; then
9245 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9246 *) lt_awk_arg="/^libraries:/" ;;
9248 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9249 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9250 # if the path contains ";" then we assume it to be the separator
9251 # otherwise default to the standard path separator (i.e. ":") - it is
9252 # assumed that no part of a normal pathname contains ";" but that should
9253 # okay in the real world where ";" in dirpaths is itself problematic.
9254 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9256 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9258 # Ok, now we have the path, separated by spaces, we can step through it
9259 # and add multilib dir if necessary.
9260 lt_tmp_lt_search_path_spec=
9261 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9262 for lt_sys_path in $lt_search_path_spec; do
9263 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9264 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9266 test -d "$lt_sys_path" && \
9267 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9270 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9271 BEGIN {RS=" "; FS="/|\n";} {
9274 for (lt_i = NF; lt_i > 0; lt_i--) {
9275 if ($lt_i != "" && $lt_i != ".") {
9276 if ($lt_i == "..") {
9279 if (lt_count == 0) {
9280 lt_foo="/" $lt_i lt_foo;
9287 if (lt_foo != "") { lt_freq[lt_foo]++; }
9288 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9290 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9292 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9295 libname_spec='lib$name'
9303 shlibpath_overrides_runpath=unknown
9305 dynamic_linker="$host_os ld.so"
9306 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9307 need_lib_prefix=unknown
9308 hardcode_into_libs=no
9310 # when you set need_version to no, make sure it does not cause -set_version
9311 # flags to be left without arguments
9312 need_version=unknown
9317 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9318 shlibpath_var=LIBPATH
9320 # AIX 3 has no versioning support, so we append a major version to the name.
9321 soname_spec='${libname}${release}${shared_ext}$major'
9328 hardcode_into_libs=yes
9329 if test "$host_cpu" = ia64; then
9330 # AIX 5 supports IA64
9331 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9332 shlibpath_var=LD_LIBRARY_PATH
9334 # With GCC up to 2.95.x, collect2 would create an import file
9335 # for dependence libraries. The import file would start with
9336 # the line `#! .'. This would cause the generated library to
9337 # depend on `.', always an invalid library. This was fixed in
9338 # development snapshots of GCC prior to 3.0.
9340 aix4 | aix4.[01] | aix4.[01].*)
9341 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9343 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9350 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9351 # soname into executable. Probably we can add versioning support to
9352 # collect2, so additional links can be useful in future.
9353 if test "$aix_use_runtimelinking" = yes; then
9354 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9355 # instead of lib<name>.a to let people know that these are not
9356 # typical AIX shared libraries.
9357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9359 # We preserve .a as extension for shared libraries through AIX4.2
9360 # and later when we are not doing run time linking.
9361 library_names_spec='${libname}${release}.a $libname.a'
9362 soname_spec='${libname}${release}${shared_ext}$major'
9364 shlibpath_var=LIBPATH
9371 # Since July 2007 AmigaOS4 officially supports .so libraries.
9372 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9376 library_names_spec='$libname.ixlibrary $libname.a'
9377 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9378 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9384 library_names_spec='${libname}${shared_ext}'
9385 dynamic_linker="$host_os ld.so"
9386 shlibpath_var=LIBRARY_PATH
9392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9393 soname_spec='${libname}${release}${shared_ext}$major'
9394 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9395 shlibpath_var=LD_LIBRARY_PATH
9396 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9397 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9398 # the default ld.so.conf also contains /usr/contrib/lib and
9399 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9400 # libtool to hard-code these into programs
9403 cygwin* | mingw* | pw32* | cegcc*)
9404 version_type=windows
9409 case $GCC,$host_os in
9410 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9411 library_names_spec='$libname.dll.a'
9412 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9413 postinstall_cmds='base_file=`basename \${file}`~
9414 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9415 dldir=$destdir/`dirname \$dlpath`~
9416 test -d \$dldir || mkdir -p \$dldir~
9417 $install_prog $dir/$dlname \$dldir/$dlname~
9418 chmod a+x \$dldir/$dlname~
9419 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9420 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9422 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9423 dlpath=$dir/\$dldll~
9425 shlibpath_overrides_runpath=yes
9429 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9430 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9431 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9434 # MinGW DLLs use traditional 'lib' prefix
9435 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9436 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9437 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9438 # It is most probably a Windows format PATH printed by
9439 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9440 # path with ; separators, and with drive letters. We can handle the
9441 # drive letters (cygwin fileutils understands them), so leave them,
9442 # especially as we might pass files found there to a mingw objdump,
9443 # which wouldn't understand a cygwinified path. Ahh.
9444 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9446 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9450 # pw32 DLLs use 'pw' prefix rather than 'lib'
9451 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9457 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9460 dynamic_linker='Win32 ld.exe'
9461 # FIXME: first we should search . and the directory the executable is in
9465 darwin* | rhapsody*)
9466 dynamic_linker="$host_os dyld"
9470 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9471 soname_spec='${libname}${release}${major}$shared_ext'
9472 shlibpath_overrides_runpath=yes
9473 shlibpath_var=DYLD_LIBRARY_PATH
9474 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9476 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9477 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9485 soname_spec='${libname}${release}${shared_ext}$major'
9486 shlibpath_var=LD_LIBRARY_PATH
9493 freebsd* | dragonfly*)
9494 # DragonFly does not have aout. When/if they implement a new
9495 # versioning mechanism, adjust this.
9496 if test -x /usr/bin/objformat; then
9497 objformat=`/usr/bin/objformat`
9500 freebsd[123]*) objformat=aout ;;
9504 version_type=freebsd-$objformat
9505 case $version_type in
9507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9512 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9516 shlibpath_var=LD_LIBRARY_PATH
9519 shlibpath_overrides_runpath=yes
9521 freebsd3.[01]* | freebsdelf3.[01]*)
9522 shlibpath_overrides_runpath=yes
9523 hardcode_into_libs=yes
9525 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9526 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9527 shlibpath_overrides_runpath=no
9528 hardcode_into_libs=yes
9530 *) # from 4.6 on, and DragonFly
9531 shlibpath_overrides_runpath=yes
9532 hardcode_into_libs=yes
9541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9542 soname_spec='${libname}${release}${shared_ext}$major'
9543 shlibpath_var=LD_LIBRARY_PATH
9544 hardcode_into_libs=yes
9547 hpux9* | hpux10* | hpux11*)
9548 # Give a soname corresponding to the major version so that dld.sl refuses to
9549 # link against other versions.
9556 hardcode_into_libs=yes
9557 dynamic_linker="$host_os dld.so"
9558 shlibpath_var=LD_LIBRARY_PATH
9559 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9561 soname_spec='${libname}${release}${shared_ext}$major'
9562 if test "X$HPUX_IA64_MODE" = X32; then
9563 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9565 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9567 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9571 hardcode_into_libs=yes
9572 dynamic_linker="$host_os dld.sl"
9573 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9574 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9576 soname_spec='${libname}${release}${shared_ext}$major'
9577 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9578 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9582 dynamic_linker="$host_os dld.sl"
9583 shlibpath_var=SHLIB_PATH
9584 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9586 soname_spec='${libname}${release}${shared_ext}$major'
9589 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9590 postinstall_cmds='chmod 555 $lib'
9597 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9598 soname_spec='${libname}${release}${shared_ext}$major'
9599 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9600 shlibpath_var=LD_LIBRARY_PATH
9601 shlibpath_overrides_runpath=no
9602 hardcode_into_libs=yes
9605 irix5* | irix6* | nonstopux*)
9607 nonstopux*) version_type=nonstopux ;;
9609 if test "$lt_cv_prog_gnu_ld" = yes; then
9617 soname_spec='${libname}${release}${shared_ext}$major'
9618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9620 irix5* | nonstopux*)
9624 case $LD in # libtool.m4 will add one of these switches to LD
9625 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9626 libsuff= shlibsuff= libmagic=32-bit;;
9627 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9628 libsuff=32 shlibsuff=N32 libmagic=N32;;
9629 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9630 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9631 *) libsuff= shlibsuff= libmagic=never-match;;
9635 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9636 shlibpath_overrides_runpath=no
9637 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9638 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9639 hardcode_into_libs=yes
9642 # No shared lib support for Linux oldld, aout, or coff.
9643 linux*oldld* | linux*aout* | linux*coff*)
9647 # This must be Linux ELF.
9648 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9653 soname_spec='${libname}${release}${shared_ext}$major'
9654 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9655 shlibpath_var=LD_LIBRARY_PATH
9656 shlibpath_overrides_runpath=no
9657 # Some binutils ld are patched to set DT_RUNPATH
9658 save_LDFLAGS=$LDFLAGS
9660 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9661 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9663 /* end confdefs.h. */
9673 if ac_fn_c_try_link "$LINENO"; then :
9674 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9675 shlibpath_overrides_runpath=yes
9678 rm -f core conftest.err conftest.$ac_objext \
9679 conftest$ac_exeext conftest.$ac_ext
9680 LDFLAGS=$save_LDFLAGS
9683 # This implies no fast_install, which is unacceptable.
9684 # Some rework will be needed to allow for fast_install
9685 # before this can be enabled.
9686 hardcode_into_libs=yes
9688 # Append ld.so.conf contents to the search path
9689 if test -f /etc/ld.so.conf; then
9690 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9691 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9694 # We used to test for /lib/ld.so.1 and disable shared libraries on
9695 # powerpc, because MkLinux only supported shared libraries with the
9696 # GNU dynamic linker. Since this was broken with cross compilers,
9697 # most powerpc-linux boxes support dynamic linking these days and
9698 # people can always --disable-shared, the test was removed, and we
9699 # assume the GNU/Linux dynamic linker is in use.
9700 dynamic_linker='GNU/Linux ld.so'
9707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9708 soname_spec='${libname}${release}${shared_ext}$major'
9709 shlibpath_var=LD_LIBRARY_PATH
9710 shlibpath_overrides_runpath=no
9711 hardcode_into_libs=yes
9712 dynamic_linker='NetBSD ld.elf_so'
9719 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9721 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9722 dynamic_linker='NetBSD (a.out) ld.so'
9724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9725 soname_spec='${libname}${release}${shared_ext}$major'
9726 dynamic_linker='NetBSD ld.elf_so'
9728 shlibpath_var=LD_LIBRARY_PATH
9729 shlibpath_overrides_runpath=yes
9730 hardcode_into_libs=yes
9735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9736 shlibpath_var=LD_LIBRARY_PATH
9737 shlibpath_overrides_runpath=yes
9744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9745 soname_spec='${libname}${release}${shared_ext}$major'
9746 shlibpath_var=LD_LIBRARY_PATH
9747 shlibpath_overrides_runpath=no
9748 hardcode_into_libs=yes
9749 dynamic_linker='ldqnx.so'
9754 sys_lib_dlsearch_path_spec="/usr/lib"
9756 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9758 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9759 *) need_version=no ;;
9761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9762 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9763 shlibpath_var=LD_LIBRARY_PATH
9764 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9766 openbsd2.[89] | openbsd2.[89].*)
9767 shlibpath_overrides_runpath=no
9770 shlibpath_overrides_runpath=yes
9774 shlibpath_overrides_runpath=yes
9779 libname_spec='$name'
9782 library_names_spec='$libname${shared_ext} $libname.a'
9783 dynamic_linker='OS/2 ld.exe'
9784 shlibpath_var=LIBPATH
9787 osf3* | osf4* | osf5*)
9791 soname_spec='${libname}${release}${shared_ext}$major'
9792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9793 shlibpath_var=LD_LIBRARY_PATH
9794 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9795 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9807 soname_spec='${libname}${release}${shared_ext}$major'
9808 shlibpath_var=LD_LIBRARY_PATH
9809 shlibpath_overrides_runpath=yes
9810 hardcode_into_libs=yes
9811 # ldd complains unless libraries are executable
9812 postinstall_cmds='chmod +x $lib'
9817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9818 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9819 shlibpath_var=LD_LIBRARY_PATH
9820 shlibpath_overrides_runpath=yes
9821 if test "$with_gnu_ld" = yes; then
9829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9830 soname_spec='${libname}${release}${shared_ext}$major'
9831 shlibpath_var=LD_LIBRARY_PATH
9832 case $host_vendor in
9834 shlibpath_overrides_runpath=no
9836 runpath_var=LD_RUN_PATH
9844 shlibpath_overrides_runpath=no
9845 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9851 if test -d /usr/nec ;then
9853 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9854 soname_spec='$libname${shared_ext}.$major'
9855 shlibpath_var=LD_LIBRARY_PATH
9859 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9860 version_type=freebsd-elf
9863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9864 soname_spec='${libname}${release}${shared_ext}$major'
9865 shlibpath_var=LD_LIBRARY_PATH
9866 shlibpath_overrides_runpath=yes
9867 hardcode_into_libs=yes
9868 if test "$with_gnu_ld" = yes; then
9869 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9871 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9874 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9878 sys_lib_dlsearch_path_spec='/usr/lib'
9882 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9887 shlibpath_var=LD_LIBRARY_PATH
9888 shlibpath_overrides_runpath=no
9889 hardcode_into_libs=yes
9894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9895 soname_spec='${libname}${release}${shared_ext}$major'
9896 shlibpath_var=LD_LIBRARY_PATH
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9904 $as_echo "$dynamic_linker" >&6; }
9905 test "$dynamic_linker" = no && can_build_shared=no
9907 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9908 if test "$GCC" = yes; then
9909 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9912 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9913 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9915 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9916 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10006 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10008 if test -n "$hardcode_libdir_flag_spec" ||
10009 test -n "$runpath_var" ||
10010 test "X$hardcode_automatic" = "Xyes" ; then
10012 # We can hardcode non-existent directories.
10013 if test "$hardcode_direct" != no &&
10014 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10015 # have to relink, otherwise we might link with an installed library
10016 # when we should be linking with a yet-to-be-installed one
10017 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10018 test "$hardcode_minus_L" != no; then
10019 # Linking always hardcodes the temporary library directory.
10020 hardcode_action=relink
10022 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10023 hardcode_action=immediate
10026 # We cannot hardcode anything, or else we can only hardcode existing
10028 hardcode_action=unsupported
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10031 $as_echo "$hardcode_action" >&6; }
10033 if test "$hardcode_action" = relink ||
10034 test "$inherit_rpath" = yes; then
10035 # Fast installation is not supported
10036 enable_fast_install=no
10037 elif test "$shlibpath_overrides_runpath" = yes ||
10038 test "$enable_shared" = no; then
10039 # Fast installation is not necessary
10040 enable_fast_install=needless
10048 if test "x$enable_dlopen" != xyes; then
10049 enable_dlopen=unknown
10050 enable_dlopen_self=unknown
10051 enable_dlopen_self_static=unknown
10058 lt_cv_dlopen="load_add_on"
10060 lt_cv_dlopen_self=yes
10063 mingw* | pw32* | cegcc*)
10064 lt_cv_dlopen="LoadLibrary"
10069 lt_cv_dlopen="dlopen"
10074 # if libdl is installed we need to link against it
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10076 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10077 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10078 $as_echo_n "(cached) " >&6
10080 ac_check_lib_save_LIBS=$LIBS
10082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10083 /* end confdefs.h. */
10085 /* Override any GCC internal prototype to avoid an error.
10086 Use char because int might match the return type of a GCC
10087 builtin and then its argument prototype would still apply. */
10100 if ac_fn_c_try_link "$LINENO"; then :
10101 ac_cv_lib_dl_dlopen=yes
10103 ac_cv_lib_dl_dlopen=no
10105 rm -f core conftest.err conftest.$ac_objext \
10106 conftest$ac_exeext conftest.$ac_ext
10107 LIBS=$ac_check_lib_save_LIBS
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10110 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10111 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10112 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10115 lt_cv_dlopen="dyld"
10117 lt_cv_dlopen_self=yes
10124 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10125 if test "x$ac_cv_func_shl_load" = x""yes; then :
10126 lt_cv_dlopen="shl_load"
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10129 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10130 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10131 $as_echo_n "(cached) " >&6
10133 ac_check_lib_save_LIBS=$LIBS
10135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10136 /* end confdefs.h. */
10138 /* Override any GCC internal prototype to avoid an error.
10139 Use char because int might match the return type of a GCC
10140 builtin and then its argument prototype would still apply. */
10148 return shl_load ();
10153 if ac_fn_c_try_link "$LINENO"; then :
10154 ac_cv_lib_dld_shl_load=yes
10156 ac_cv_lib_dld_shl_load=no
10158 rm -f core conftest.err conftest.$ac_objext \
10159 conftest$ac_exeext conftest.$ac_ext
10160 LIBS=$ac_check_lib_save_LIBS
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10163 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10164 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10165 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10167 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10168 if test "x$ac_cv_func_dlopen" = x""yes; then :
10169 lt_cv_dlopen="dlopen"
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10172 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10173 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10174 $as_echo_n "(cached) " >&6
10176 ac_check_lib_save_LIBS=$LIBS
10178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10181 /* Override any GCC internal prototype to avoid an error.
10182 Use char because int might match the return type of a GCC
10183 builtin and then its argument prototype would still apply. */
10196 if ac_fn_c_try_link "$LINENO"; then :
10197 ac_cv_lib_dl_dlopen=yes
10199 ac_cv_lib_dl_dlopen=no
10201 rm -f core conftest.err conftest.$ac_objext \
10202 conftest$ac_exeext conftest.$ac_ext
10203 LIBS=$ac_check_lib_save_LIBS
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10206 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10207 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10208 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10211 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10212 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10213 $as_echo_n "(cached) " >&6
10215 ac_check_lib_save_LIBS=$LIBS
10216 LIBS="-lsvld $LIBS"
10217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10220 /* Override any GCC internal prototype to avoid an error.
10221 Use char because int might match the return type of a GCC
10222 builtin and then its argument prototype would still apply. */
10235 if ac_fn_c_try_link "$LINENO"; then :
10236 ac_cv_lib_svld_dlopen=yes
10238 ac_cv_lib_svld_dlopen=no
10240 rm -f core conftest.err conftest.$ac_objext \
10241 conftest$ac_exeext conftest.$ac_ext
10242 LIBS=$ac_check_lib_save_LIBS
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10245 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10246 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10247 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10250 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10251 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10252 $as_echo_n "(cached) " >&6
10254 ac_check_lib_save_LIBS=$LIBS
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10259 /* Override any GCC internal prototype to avoid an error.
10260 Use char because int might match the return type of a GCC
10261 builtin and then its argument prototype would still apply. */
10269 return dld_link ();
10274 if ac_fn_c_try_link "$LINENO"; then :
10275 ac_cv_lib_dld_dld_link=yes
10277 ac_cv_lib_dld_dld_link=no
10279 rm -f core conftest.err conftest.$ac_objext \
10280 conftest$ac_exeext conftest.$ac_ext
10281 LIBS=$ac_check_lib_save_LIBS
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10284 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10285 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10286 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10307 if test "x$lt_cv_dlopen" != xno; then
10313 case $lt_cv_dlopen in
10315 save_CPPFLAGS="$CPPFLAGS"
10316 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10318 save_LDFLAGS="$LDFLAGS"
10319 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10322 LIBS="$lt_cv_dlopen_libs $LIBS"
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10325 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10326 if test "${lt_cv_dlopen_self+set}" = set; then :
10327 $as_echo_n "(cached) " >&6
10329 if test "$cross_compiling" = yes; then :
10330 lt_cv_dlopen_self=cross
10332 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10333 lt_status=$lt_dlunknown
10334 cat > conftest.$ac_ext <<_LT_EOF
10335 #line 10335 "configure"
10336 #include "confdefs.h"
10345 # define LT_DLGLOBAL RTLD_GLOBAL
10348 # define LT_DLGLOBAL DL_GLOBAL
10350 # define LT_DLGLOBAL 0
10354 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10355 find out it does not work in some platform. */
10356 #ifndef LT_DLLAZY_OR_NOW
10358 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10361 # define LT_DLLAZY_OR_NOW DL_LAZY
10364 # define LT_DLLAZY_OR_NOW RTLD_NOW
10367 # define LT_DLLAZY_OR_NOW DL_NOW
10369 # define LT_DLLAZY_OR_NOW 0
10376 void fnord() { int i=42;}
10379 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10380 int status = $lt_dlunknown;
10384 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10385 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10386 /* dlclose (self); */
10394 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10395 (eval $ac_link) 2>&5
10397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10398 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10399 (./conftest; exit; ) >&5 2>/dev/null
10401 case x$lt_status in
10402 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10403 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10404 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10407 # compilation failed
10408 lt_cv_dlopen_self=no
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10416 $as_echo "$lt_cv_dlopen_self" >&6; }
10418 if test "x$lt_cv_dlopen_self" = xyes; then
10419 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10421 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10422 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10423 $as_echo_n "(cached) " >&6
10425 if test "$cross_compiling" = yes; then :
10426 lt_cv_dlopen_self_static=cross
10428 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10429 lt_status=$lt_dlunknown
10430 cat > conftest.$ac_ext <<_LT_EOF
10431 #line 10431 "configure"
10432 #include "confdefs.h"
10441 # define LT_DLGLOBAL RTLD_GLOBAL
10444 # define LT_DLGLOBAL DL_GLOBAL
10446 # define LT_DLGLOBAL 0
10450 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10451 find out it does not work in some platform. */
10452 #ifndef LT_DLLAZY_OR_NOW
10454 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10457 # define LT_DLLAZY_OR_NOW DL_LAZY
10460 # define LT_DLLAZY_OR_NOW RTLD_NOW
10463 # define LT_DLLAZY_OR_NOW DL_NOW
10465 # define LT_DLLAZY_OR_NOW 0
10472 void fnord() { int i=42;}
10475 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10476 int status = $lt_dlunknown;
10480 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10481 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10482 /* dlclose (self); */
10490 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10491 (eval $ac_link) 2>&5
10493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10494 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10495 (./conftest; exit; ) >&5 2>/dev/null
10497 case x$lt_status in
10498 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10499 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10500 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10503 # compilation failed
10504 lt_cv_dlopen_self_static=no
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10512 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10515 CPPFLAGS="$save_CPPFLAGS"
10516 LDFLAGS="$save_LDFLAGS"
10521 case $lt_cv_dlopen_self in
10522 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10523 *) enable_dlopen_self=unknown ;;
10526 case $lt_cv_dlopen_self_static in
10527 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10528 *) enable_dlopen_self_static=unknown ;;
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10551 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10552 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10553 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10554 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10556 $as_echo "yes" >&6; }
10558 # FIXME - insert some real tests, host_os isn't really good enough
10561 if test -n "$STRIP" ; then
10562 striplib="$STRIP -x"
10563 old_striplib="$STRIP -S"
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10565 $as_echo "yes" >&6; }
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10568 $as_echo "no" >&6; }
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10573 $as_echo "no" >&6; }
10589 # Report which library types will actually be built
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10591 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10593 $as_echo "$can_build_shared" >&6; }
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10596 $as_echo_n "checking whether to build shared libraries... " >&6; }
10597 test "$can_build_shared" = "no" && enable_shared=no
10599 # On AIX, shared libraries and static libraries use the same namespace, and
10600 # are all built from PIC.
10603 test "$enable_shared" = yes && enable_static=no
10604 if test -n "$RANLIB"; then
10605 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10606 postinstall_cmds='$RANLIB $lib'
10611 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10612 test "$enable_shared" = yes && enable_static=no
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10617 $as_echo "$enable_shared" >&6; }
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10620 $as_echo_n "checking whether to build static libraries... " >&6; }
10621 # Make sure either enable_shared or enable_static is yes.
10622 test "$enable_shared" = yes || enable_static=yes
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10624 $as_echo "$enable_static" >&6; }
10631 ac_cpp='$CPP $CPPFLAGS'
10632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10650 ac_config_commands="$ac_config_commands libtool"
10655 # Only expand once:
10659 # Check for programs
10661 ac_cpp='$CPP $CPPFLAGS'
10662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10665 if test -n "$ac_tool_prefix"; then
10666 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10667 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10669 $as_echo_n "checking for $ac_word... " >&6; }
10670 if test "${ac_cv_prog_CC+set}" = set; then :
10671 $as_echo_n "(cached) " >&6
10673 if test -n "$CC"; then
10674 ac_cv_prog_CC="$CC" # Let the user override the test.
10676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10677 for as_dir in $PATH
10680 test -z "$as_dir" && as_dir=.
10681 for ac_exec_ext in '' $ac_executable_extensions; do
10682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10683 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10694 if test -n "$CC"; then
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10696 $as_echo "$CC" >&6; }
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10699 $as_echo "no" >&6; }
10704 if test -z "$ac_cv_prog_CC"; then
10706 # Extract the first word of "gcc", so it can be a program name with args.
10707 set dummy gcc; ac_word=$2
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10709 $as_echo_n "checking for $ac_word... " >&6; }
10710 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10711 $as_echo_n "(cached) " >&6
10713 if test -n "$ac_ct_CC"; then
10714 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10717 for as_dir in $PATH
10720 test -z "$as_dir" && as_dir=.
10721 for ac_exec_ext in '' $ac_executable_extensions; do
10722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10723 ac_cv_prog_ac_ct_CC="gcc"
10724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10733 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10734 if test -n "$ac_ct_CC"; then
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10736 $as_echo "$ac_ct_CC" >&6; }
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10739 $as_echo "no" >&6; }
10742 if test "x$ac_ct_CC" = x; then
10745 case $cross_compiling:$ac_tool_warned in
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10749 ac_tool_warned=yes ;;
10754 CC="$ac_cv_prog_CC"
10757 if test -z "$CC"; then
10758 if test -n "$ac_tool_prefix"; then
10759 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10760 set dummy ${ac_tool_prefix}cc; ac_word=$2
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10762 $as_echo_n "checking for $ac_word... " >&6; }
10763 if test "${ac_cv_prog_CC+set}" = set; then :
10764 $as_echo_n "(cached) " >&6
10766 if test -n "$CC"; then
10767 ac_cv_prog_CC="$CC" # Let the user override the test.
10769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10770 for as_dir in $PATH
10773 test -z "$as_dir" && as_dir=.
10774 for ac_exec_ext in '' $ac_executable_extensions; do
10775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10776 ac_cv_prog_CC="${ac_tool_prefix}cc"
10777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10787 if test -n "$CC"; then
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10789 $as_echo "$CC" >&6; }
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10792 $as_echo "no" >&6; }
10798 if test -z "$CC"; then
10799 # Extract the first word of "cc", so it can be a program name with args.
10800 set dummy cc; ac_word=$2
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10802 $as_echo_n "checking for $ac_word... " >&6; }
10803 if test "${ac_cv_prog_CC+set}" = set; then :
10804 $as_echo_n "(cached) " >&6
10806 if test -n "$CC"; then
10807 ac_cv_prog_CC="$CC" # Let the user override the test.
10809 ac_prog_rejected=no
10810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10811 for as_dir in $PATH
10814 test -z "$as_dir" && as_dir=.
10815 for ac_exec_ext in '' $ac_executable_extensions; do
10816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10817 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10818 ac_prog_rejected=yes
10822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10829 if test $ac_prog_rejected = yes; then
10830 # We found a bogon in the path, so make sure we never use it.
10831 set dummy $ac_cv_prog_CC
10833 if test $# != 0; then
10834 # We chose a different compiler from the bogus one.
10835 # However, it has the same basename, so the bogon will be chosen
10836 # first if we set CC to just the basename; use the full file name.
10838 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10844 if test -n "$CC"; then
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10846 $as_echo "$CC" >&6; }
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10849 $as_echo "no" >&6; }
10854 if test -z "$CC"; then
10855 if test -n "$ac_tool_prefix"; then
10856 for ac_prog in cl.exe
10858 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10859 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10861 $as_echo_n "checking for $ac_word... " >&6; }
10862 if test "${ac_cv_prog_CC+set}" = set; then :
10863 $as_echo_n "(cached) " >&6
10865 if test -n "$CC"; then
10866 ac_cv_prog_CC="$CC" # Let the user override the test.
10868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10869 for as_dir in $PATH
10872 test -z "$as_dir" && as_dir=.
10873 for ac_exec_ext in '' $ac_executable_extensions; do
10874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10875 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10886 if test -n "$CC"; then
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10888 $as_echo "$CC" >&6; }
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10891 $as_echo "no" >&6; }
10895 test -n "$CC" && break
10898 if test -z "$CC"; then
10900 for ac_prog in cl.exe
10902 # Extract the first word of "$ac_prog", so it can be a program name with args.
10903 set dummy $ac_prog; ac_word=$2
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10905 $as_echo_n "checking for $ac_word... " >&6; }
10906 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10907 $as_echo_n "(cached) " >&6
10909 if test -n "$ac_ct_CC"; then
10910 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10913 for as_dir in $PATH
10916 test -z "$as_dir" && as_dir=.
10917 for ac_exec_ext in '' $ac_executable_extensions; do
10918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10919 ac_cv_prog_ac_ct_CC="$ac_prog"
10920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10929 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10930 if test -n "$ac_ct_CC"; then
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10932 $as_echo "$ac_ct_CC" >&6; }
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10935 $as_echo "no" >&6; }
10939 test -n "$ac_ct_CC" && break
10942 if test "x$ac_ct_CC" = x; then
10945 case $cross_compiling:$ac_tool_warned in
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10949 ac_tool_warned=yes ;;
10958 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10960 as_fn_error "no acceptable C compiler found in \$PATH
10961 See \`config.log' for more details." "$LINENO" 5; }
10963 # Provide some information about the compiler.
10964 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
10967 for ac_option in --version -v -V -qversion; do
10968 { { ac_try="$ac_compiler $ac_option >&5"
10969 case "(($ac_try" in
10970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10971 *) ac_try_echo=$ac_try;;
10973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10974 $as_echo "$ac_try_echo"; } >&5
10975 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10977 if test -s conftest.err; then
10979 ... rest of stderr output deleted ...
10980 10q' conftest.err >conftest.er1
10981 cat conftest.er1 >&5
10983 rm -f conftest.er1 conftest.err
10984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10985 test $ac_status = 0; }
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
10989 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
10990 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
10991 $as_echo_n "(cached) " >&6
10993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10994 /* end confdefs.h. */
11007 if ac_fn_c_try_compile "$LINENO"; then :
11008 ac_compiler_gnu=yes
11012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11013 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11017 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11018 if test $ac_compiler_gnu = yes; then
11023 ac_test_CFLAGS=${CFLAGS+set}
11024 ac_save_CFLAGS=$CFLAGS
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11026 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11027 if test "${ac_cv_prog_cc_g+set}" = set; then :
11028 $as_echo_n "(cached) " >&6
11030 ac_save_c_werror_flag=$ac_c_werror_flag
11031 ac_c_werror_flag=yes
11034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11035 /* end confdefs.h. */
11045 if ac_fn_c_try_compile "$LINENO"; then :
11046 ac_cv_prog_cc_g=yes
11049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11060 if ac_fn_c_try_compile "$LINENO"; then :
11063 ac_c_werror_flag=$ac_save_c_werror_flag
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11076 if ac_fn_c_try_compile "$LINENO"; then :
11077 ac_cv_prog_cc_g=yes
11079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11084 ac_c_werror_flag=$ac_save_c_werror_flag
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11087 $as_echo "$ac_cv_prog_cc_g" >&6; }
11088 if test "$ac_test_CFLAGS" = set; then
11089 CFLAGS=$ac_save_CFLAGS
11090 elif test $ac_cv_prog_cc_g = yes; then
11091 if test "$GCC" = yes; then
11097 if test "$GCC" = yes; then
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11104 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11105 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11106 $as_echo_n "(cached) " >&6
11108 ac_cv_prog_cc_c89=no
11110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11112 #include <stdarg.h>
11114 #include <sys/types.h>
11115 #include <sys/stat.h>
11116 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11117 struct buf { int x; };
11118 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11119 static char *e (p, i)
11125 static char *f (char * (*g) (char **, int), char **p, ...)
11130 s = g (p, va_arg (v,int));
11135 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11136 function prototypes and stuff, but not '\xHH' hex character constants.
11137 These don't provoke an error unfortunately, instead are silently treated
11138 as 'x'. The following induces an error, until -std is added to get
11139 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11140 array size at least. It's necessary to write '\x00'==0 to get something
11141 that's true only with -std. */
11142 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11144 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11145 inside strings and character constants. */
11147 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11149 int test (int i, double x);
11150 struct s1 {int (*f) (int a);};
11151 struct s2 {int (*f) (double a);};
11152 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11158 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11163 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11164 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11166 CC="$ac_save_CC $ac_arg"
11167 if ac_fn_c_try_compile "$LINENO"; then :
11168 ac_cv_prog_cc_c89=$ac_arg
11170 rm -f core conftest.err conftest.$ac_objext
11171 test "x$ac_cv_prog_cc_c89" != "xno" && break
11173 rm -f conftest.$ac_ext
11178 case "x$ac_cv_prog_cc_c89" in
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11181 $as_echo "none needed" >&6; } ;;
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11184 $as_echo "unsupported" >&6; } ;;
11186 CC="$CC $ac_cv_prog_cc_c89"
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11188 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11190 if test "x$ac_cv_prog_cc_c89" != xno; then :
11195 ac_cpp='$CPP $CPPFLAGS'
11196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11200 depcc="$CC" am_compiler_list=
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11203 $as_echo_n "checking dependency style of $depcc... " >&6; }
11204 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11205 $as_echo_n "(cached) " >&6
11207 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11208 # We make a subdir and do the tests there. Otherwise we can end up
11209 # making bogus files that we don't know about and never remove. For
11210 # instance it was reported that on HP-UX the gcc test will end up
11211 # making a dummy file named `D' -- because `-MD' means `put the output
11214 # Copy depcomp to subdir because otherwise we won't find it if we're
11215 # using a relative directory.
11216 cp "$am_depcomp" conftest.dir
11218 # We will build objects and dependencies in a subdirectory because
11219 # it helps to detect inapplicable dependency modes. For instance
11220 # both Tru64's cc and ICC support -MD to output dependencies as a
11221 # side effect of compilation, but ICC will put the dependencies in
11222 # the current directory while Tru64 will put them in the object
11226 am_cv_CC_dependencies_compiler_type=none
11227 if test "$am_compiler_list" = ""; then
11228 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11230 am__universal=false
11231 case " $depcc " in #(
11232 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11235 for depmode in $am_compiler_list; do
11236 # Setup a source with many dependencies, because some compilers
11237 # like to wrap large dependency lists on column 80 (with \), and
11238 # we should not choose a depcomp mode which is confused by this.
11240 # We need to recreate these files for each test, as the compiler may
11241 # overwrite some of them when testing with obscure command lines.
11242 # This happens at least with the AIX C compiler.
11244 for i in 1 2 3 4 5 6; do
11245 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11246 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11247 # Solaris 8's {/usr,}/bin/sh.
11248 touch sub/conftst$i.h
11250 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11252 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11253 # mode. It turns out that the SunPro C++ compiler does not properly
11254 # handle `-M -o', and we need to detect this. Also, some Intel
11255 # versions had trouble with output in subdirs
11256 am__obj=sub/conftest.${OBJEXT-o}
11257 am__minus_obj="-o $am__obj"
11260 # This depmode causes a compiler race in universal mode.
11261 test "$am__universal" = false || continue
11264 # after this tag, mechanisms are not by side-effect, so they'll
11265 # only be used when explicitly requested
11266 if test "x$enable_dependency_tracking" = xyes; then
11272 msvisualcpp | msvcmsys)
11273 # This compiler won't grok `-c -o', but also, the minuso test has
11274 # not run yet. These depmodes are late enough in the game, and
11275 # so weak that their functioning should not be impacted.
11276 am__obj=conftest.${OBJEXT-o}
11281 if depmode=$depmode \
11282 source=sub/conftest.c object=$am__obj \
11283 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11284 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11285 >/dev/null 2>conftest.err &&
11286 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11287 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11288 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11289 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11290 # icc doesn't choke on unknown options, it will just issue warnings
11291 # or remarks (even with -Werror). So we grep stderr for any message
11292 # that says an option was ignored or not supported.
11293 # When given -MP, icc 7.0 and 7.1 complain thusly:
11294 # icc: Command line warning: ignoring option '-M'; no argument required
11295 # The diagnosis changed in icc 8.0:
11296 # icc: Command line remark: option '-MP' not supported
11297 if (grep 'ignoring option' conftest.err ||
11298 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11299 am_cv_CC_dependencies_compiler_type=$depmode
11306 rm -rf conftest.dir
11308 am_cv_CC_dependencies_compiler_type=none
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11313 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11314 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11317 test "x$enable_dependency_tracking" != xno \
11318 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11319 am__fastdepCC_TRUE=
11320 am__fastdepCC_FALSE='#'
11322 am__fastdepCC_TRUE='#'
11323 am__fastdepCC_FALSE=
11327 if test "x$CC" != xcc; then
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11329 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11332 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11334 set dummy $CC; ac_cc=`$as_echo "$2" |
11335 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11336 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
11337 $as_echo_n "(cached) " >&6
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11350 # Make sure it works both with $CC and with simple cc.
11351 # We do the test twice because some compilers refuse to overwrite an
11352 # existing .o file with -o, though they will create one.
11353 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11355 if { { case "(($ac_try" in
11356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11357 *) ac_try_echo=$ac_try;;
11359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11360 $as_echo "$ac_try_echo"; } >&5
11361 (eval "$ac_try") 2>&5
11363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11364 test $ac_status = 0; } &&
11365 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11367 *) ac_try_echo=$ac_try;;
11369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11370 $as_echo "$ac_try_echo"; } >&5
11371 (eval "$ac_try") 2>&5
11373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11374 test $ac_status = 0; };
11376 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11377 if test "x$CC" != xcc; then
11378 # Test first that cc exists at all.
11379 if { ac_try='cc -c conftest.$ac_ext >&5'
11380 { { case "(($ac_try" in
11381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11382 *) ac_try_echo=$ac_try;;
11384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11385 $as_echo "$ac_try_echo"; } >&5
11386 (eval "$ac_try") 2>&5
11388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11389 test $ac_status = 0; }; }; then
11390 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11392 if { { case "(($ac_try" in
11393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11394 *) ac_try_echo=$ac_try;;
11396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11397 $as_echo "$ac_try_echo"; } >&5
11398 (eval "$ac_try") 2>&5
11400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11401 test $ac_status = 0; } &&
11402 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11404 *) ac_try_echo=$ac_try;;
11406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11407 $as_echo "$ac_try_echo"; } >&5
11408 (eval "$ac_try") 2>&5
11410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11411 test $ac_status = 0; };
11416 # cc exists but doesn't like -o.
11417 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11422 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11424 rm -f core conftest*
11427 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11429 $as_echo "yes" >&6; }
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11432 $as_echo "no" >&6; }
11434 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11438 # FIXME: we rely on the cache variable name because
11439 # there is no other way.
11441 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11442 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11443 if test "$am_t" != yes; then
11444 # Losing compiler, so override with the script.
11445 # FIXME: It is wrong to rewrite CC.
11446 # But if we don't then we get into trouble of one sort or another.
11447 # A longer-term fix would be to have automake use am__CC in this case,
11448 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11449 CC="$am_aux_dir/compile $CC"
11454 ac_cpp='$CXXCPP $CPPFLAGS'
11455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11458 if test -z "$CXX"; then
11459 if test -n "$CCC"; then
11462 if test -n "$ac_tool_prefix"; then
11463 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11465 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11466 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11468 $as_echo_n "checking for $ac_word... " >&6; }
11469 if test "${ac_cv_prog_CXX+set}" = set; then :
11470 $as_echo_n "(cached) " >&6
11472 if test -n "$CXX"; then
11473 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11476 for as_dir in $PATH
11479 test -z "$as_dir" && as_dir=.
11480 for ac_exec_ext in '' $ac_executable_extensions; do
11481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11482 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11492 CXX=$ac_cv_prog_CXX
11493 if test -n "$CXX"; then
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11495 $as_echo "$CXX" >&6; }
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11498 $as_echo "no" >&6; }
11502 test -n "$CXX" && break
11505 if test -z "$CXX"; then
11507 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11509 # Extract the first word of "$ac_prog", so it can be a program name with args.
11510 set dummy $ac_prog; ac_word=$2
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11512 $as_echo_n "checking for $ac_word... " >&6; }
11513 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11514 $as_echo_n "(cached) " >&6
11516 if test -n "$ac_ct_CXX"; then
11517 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11520 for as_dir in $PATH
11523 test -z "$as_dir" && as_dir=.
11524 for ac_exec_ext in '' $ac_executable_extensions; do
11525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11526 ac_cv_prog_ac_ct_CXX="$ac_prog"
11527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11536 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11537 if test -n "$ac_ct_CXX"; then
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11539 $as_echo "$ac_ct_CXX" >&6; }
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11542 $as_echo "no" >&6; }
11546 test -n "$ac_ct_CXX" && break
11549 if test "x$ac_ct_CXX" = x; then
11552 case $cross_compiling:$ac_tool_warned in
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11556 ac_tool_warned=yes ;;
11564 # Provide some information about the compiler.
11565 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11568 for ac_option in --version -v -V -qversion; do
11569 { { ac_try="$ac_compiler $ac_option >&5"
11570 case "(($ac_try" in
11571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11572 *) ac_try_echo=$ac_try;;
11574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11575 $as_echo "$ac_try_echo"; } >&5
11576 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11578 if test -s conftest.err; then
11580 ... rest of stderr output deleted ...
11581 10q' conftest.err >conftest.er1
11582 cat conftest.er1 >&5
11584 rm -f conftest.er1 conftest.err
11585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11586 test $ac_status = 0; }
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11590 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11591 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11592 $as_echo_n "(cached) " >&6
11594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11595 /* end confdefs.h. */
11608 if ac_fn_cxx_try_compile "$LINENO"; then :
11609 ac_compiler_gnu=yes
11613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11614 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11618 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11619 if test $ac_compiler_gnu = yes; then
11624 ac_test_CXXFLAGS=${CXXFLAGS+set}
11625 ac_save_CXXFLAGS=$CXXFLAGS
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11627 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11628 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11629 $as_echo_n "(cached) " >&6
11631 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11632 ac_cxx_werror_flag=yes
11633 ac_cv_prog_cxx_g=no
11635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11636 /* end confdefs.h. */
11646 if ac_fn_cxx_try_compile "$LINENO"; then :
11647 ac_cv_prog_cxx_g=yes
11650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11651 /* end confdefs.h. */
11661 if ac_fn_cxx_try_compile "$LINENO"; then :
11664 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11667 /* end confdefs.h. */
11677 if ac_fn_cxx_try_compile "$LINENO"; then :
11678 ac_cv_prog_cxx_g=yes
11680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11685 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11688 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11689 if test "$ac_test_CXXFLAGS" = set; then
11690 CXXFLAGS=$ac_save_CXXFLAGS
11691 elif test $ac_cv_prog_cxx_g = yes; then
11692 if test "$GXX" = yes; then
11698 if test "$GXX" = yes; then
11705 ac_cpp='$CPP $CPPFLAGS'
11706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11710 depcc="$CXX" am_compiler_list=
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11713 $as_echo_n "checking dependency style of $depcc... " >&6; }
11714 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
11715 $as_echo_n "(cached) " >&6
11717 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11718 # We make a subdir and do the tests there. Otherwise we can end up
11719 # making bogus files that we don't know about and never remove. For
11720 # instance it was reported that on HP-UX the gcc test will end up
11721 # making a dummy file named `D' -- because `-MD' means `put the output
11724 # Copy depcomp to subdir because otherwise we won't find it if we're
11725 # using a relative directory.
11726 cp "$am_depcomp" conftest.dir
11728 # We will build objects and dependencies in a subdirectory because
11729 # it helps to detect inapplicable dependency modes. For instance
11730 # both Tru64's cc and ICC support -MD to output dependencies as a
11731 # side effect of compilation, but ICC will put the dependencies in
11732 # the current directory while Tru64 will put them in the object
11736 am_cv_CXX_dependencies_compiler_type=none
11737 if test "$am_compiler_list" = ""; then
11738 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11740 am__universal=false
11741 case " $depcc " in #(
11742 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11745 for depmode in $am_compiler_list; do
11746 # Setup a source with many dependencies, because some compilers
11747 # like to wrap large dependency lists on column 80 (with \), and
11748 # we should not choose a depcomp mode which is confused by this.
11750 # We need to recreate these files for each test, as the compiler may
11751 # overwrite some of them when testing with obscure command lines.
11752 # This happens at least with the AIX C compiler.
11754 for i in 1 2 3 4 5 6; do
11755 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11756 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11757 # Solaris 8's {/usr,}/bin/sh.
11758 touch sub/conftst$i.h
11760 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11762 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11763 # mode. It turns out that the SunPro C++ compiler does not properly
11764 # handle `-M -o', and we need to detect this. Also, some Intel
11765 # versions had trouble with output in subdirs
11766 am__obj=sub/conftest.${OBJEXT-o}
11767 am__minus_obj="-o $am__obj"
11770 # This depmode causes a compiler race in universal mode.
11771 test "$am__universal" = false || continue
11774 # after this tag, mechanisms are not by side-effect, so they'll
11775 # only be used when explicitly requested
11776 if test "x$enable_dependency_tracking" = xyes; then
11782 msvisualcpp | msvcmsys)
11783 # This compiler won't grok `-c -o', but also, the minuso test has
11784 # not run yet. These depmodes are late enough in the game, and
11785 # so weak that their functioning should not be impacted.
11786 am__obj=conftest.${OBJEXT-o}
11791 if depmode=$depmode \
11792 source=sub/conftest.c object=$am__obj \
11793 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11794 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11795 >/dev/null 2>conftest.err &&
11796 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11797 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11798 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11799 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11800 # icc doesn't choke on unknown options, it will just issue warnings
11801 # or remarks (even with -Werror). So we grep stderr for any message
11802 # that says an option was ignored or not supported.
11803 # When given -MP, icc 7.0 and 7.1 complain thusly:
11804 # icc: Command line warning: ignoring option '-M'; no argument required
11805 # The diagnosis changed in icc 8.0:
11806 # icc: Command line remark: option '-MP' not supported
11807 if (grep 'ignoring option' conftest.err ||
11808 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11809 am_cv_CXX_dependencies_compiler_type=$depmode
11816 rm -rf conftest.dir
11818 am_cv_CXX_dependencies_compiler_type=none
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11823 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11824 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11827 test "x$enable_dependency_tracking" != xno \
11828 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11829 am__fastdepCXX_TRUE=
11830 am__fastdepCXX_FALSE='#'
11832 am__fastdepCXX_TRUE='#'
11833 am__fastdepCXX_FALSE=
11839 ac_cpp='$CXXCPP $CPPFLAGS'
11840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11843 if test -z "$CXX"; then
11844 if test -n "$CCC"; then
11847 if test -n "$ac_tool_prefix"; then
11848 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11850 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11851 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11853 $as_echo_n "checking for $ac_word... " >&6; }
11854 if test "${ac_cv_prog_CXX+set}" = set; then :
11855 $as_echo_n "(cached) " >&6
11857 if test -n "$CXX"; then
11858 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11861 for as_dir in $PATH
11864 test -z "$as_dir" && as_dir=.
11865 for ac_exec_ext in '' $ac_executable_extensions; do
11866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11867 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11877 CXX=$ac_cv_prog_CXX
11878 if test -n "$CXX"; then
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11880 $as_echo "$CXX" >&6; }
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11883 $as_echo "no" >&6; }
11887 test -n "$CXX" && break
11890 if test -z "$CXX"; then
11892 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11894 # Extract the first word of "$ac_prog", so it can be a program name with args.
11895 set dummy $ac_prog; ac_word=$2
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11897 $as_echo_n "checking for $ac_word... " >&6; }
11898 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11899 $as_echo_n "(cached) " >&6
11901 if test -n "$ac_ct_CXX"; then
11902 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11905 for as_dir in $PATH
11908 test -z "$as_dir" && as_dir=.
11909 for ac_exec_ext in '' $ac_executable_extensions; do
11910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11911 ac_cv_prog_ac_ct_CXX="$ac_prog"
11912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11921 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11922 if test -n "$ac_ct_CXX"; then
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11924 $as_echo "$ac_ct_CXX" >&6; }
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11927 $as_echo "no" >&6; }
11931 test -n "$ac_ct_CXX" && break
11934 if test "x$ac_ct_CXX" = x; then
11937 case $cross_compiling:$ac_tool_warned in
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11940 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11941 ac_tool_warned=yes ;;
11949 # Provide some information about the compiler.
11950 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11953 for ac_option in --version -v -V -qversion; do
11954 { { ac_try="$ac_compiler $ac_option >&5"
11955 case "(($ac_try" in
11956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11957 *) ac_try_echo=$ac_try;;
11959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11960 $as_echo "$ac_try_echo"; } >&5
11961 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11963 if test -s conftest.err; then
11965 ... rest of stderr output deleted ...
11966 10q' conftest.err >conftest.er1
11967 cat conftest.er1 >&5
11969 rm -f conftest.er1 conftest.err
11970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11971 test $ac_status = 0; }
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11975 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11976 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11977 $as_echo_n "(cached) " >&6
11979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h. */
11993 if ac_fn_cxx_try_compile "$LINENO"; then :
11994 ac_compiler_gnu=yes
11998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11999 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12003 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12004 if test $ac_compiler_gnu = yes; then
12009 ac_test_CXXFLAGS=${CXXFLAGS+set}
12010 ac_save_CXXFLAGS=$CXXFLAGS
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12012 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12013 if test "${ac_cv_prog_cxx_g+set}" = set; then :
12014 $as_echo_n "(cached) " >&6
12016 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12017 ac_cxx_werror_flag=yes
12018 ac_cv_prog_cxx_g=no
12020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12021 /* end confdefs.h. */
12031 if ac_fn_cxx_try_compile "$LINENO"; then :
12032 ac_cv_prog_cxx_g=yes
12035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h. */
12046 if ac_fn_cxx_try_compile "$LINENO"; then :
12049 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12052 /* end confdefs.h. */
12062 if ac_fn_cxx_try_compile "$LINENO"; then :
12063 ac_cv_prog_cxx_g=yes
12065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12070 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12073 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12074 if test "$ac_test_CXXFLAGS" = set; then
12075 CXXFLAGS=$ac_save_CXXFLAGS
12076 elif test $ac_cv_prog_cxx_g = yes; then
12077 if test "$GXX" = yes; then
12083 if test "$GXX" = yes; then
12090 ac_cpp='$CPP $CPPFLAGS'
12091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12095 depcc="$CXX" am_compiler_list=
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12098 $as_echo_n "checking dependency style of $depcc... " >&6; }
12099 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
12100 $as_echo_n "(cached) " >&6
12102 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12103 # We make a subdir and do the tests there. Otherwise we can end up
12104 # making bogus files that we don't know about and never remove. For
12105 # instance it was reported that on HP-UX the gcc test will end up
12106 # making a dummy file named `D' -- because `-MD' means `put the output
12109 # Copy depcomp to subdir because otherwise we won't find it if we're
12110 # using a relative directory.
12111 cp "$am_depcomp" conftest.dir
12113 # We will build objects and dependencies in a subdirectory because
12114 # it helps to detect inapplicable dependency modes. For instance
12115 # both Tru64's cc and ICC support -MD to output dependencies as a
12116 # side effect of compilation, but ICC will put the dependencies in
12117 # the current directory while Tru64 will put them in the object
12121 am_cv_CXX_dependencies_compiler_type=none
12122 if test "$am_compiler_list" = ""; then
12123 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12125 am__universal=false
12126 case " $depcc " in #(
12127 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12130 for depmode in $am_compiler_list; do
12131 # Setup a source with many dependencies, because some compilers
12132 # like to wrap large dependency lists on column 80 (with \), and
12133 # we should not choose a depcomp mode which is confused by this.
12135 # We need to recreate these files for each test, as the compiler may
12136 # overwrite some of them when testing with obscure command lines.
12137 # This happens at least with the AIX C compiler.
12139 for i in 1 2 3 4 5 6; do
12140 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12141 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12142 # Solaris 8's {/usr,}/bin/sh.
12143 touch sub/conftst$i.h
12145 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12147 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12148 # mode. It turns out that the SunPro C++ compiler does not properly
12149 # handle `-M -o', and we need to detect this. Also, some Intel
12150 # versions had trouble with output in subdirs
12151 am__obj=sub/conftest.${OBJEXT-o}
12152 am__minus_obj="-o $am__obj"
12155 # This depmode causes a compiler race in universal mode.
12156 test "$am__universal" = false || continue
12159 # after this tag, mechanisms are not by side-effect, so they'll
12160 # only be used when explicitly requested
12161 if test "x$enable_dependency_tracking" = xyes; then
12167 msvisualcpp | msvcmsys)
12168 # This compiler won't grok `-c -o', but also, the minuso test has
12169 # not run yet. These depmodes are late enough in the game, and
12170 # so weak that their functioning should not be impacted.
12171 am__obj=conftest.${OBJEXT-o}
12176 if depmode=$depmode \
12177 source=sub/conftest.c object=$am__obj \
12178 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12179 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12180 >/dev/null 2>conftest.err &&
12181 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12182 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12183 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12184 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12185 # icc doesn't choke on unknown options, it will just issue warnings
12186 # or remarks (even with -Werror). So we grep stderr for any message
12187 # that says an option was ignored or not supported.
12188 # When given -MP, icc 7.0 and 7.1 complain thusly:
12189 # icc: Command line warning: ignoring option '-M'; no argument required
12190 # The diagnosis changed in icc 8.0:
12191 # icc: Command line remark: option '-MP' not supported
12192 if (grep 'ignoring option' conftest.err ||
12193 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12194 am_cv_CXX_dependencies_compiler_type=$depmode
12201 rm -rf conftest.dir
12203 am_cv_CXX_dependencies_compiler_type=none
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12208 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12209 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12212 test "x$enable_dependency_tracking" != xno \
12213 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12214 am__fastdepCXX_TRUE=
12215 am__fastdepCXX_FALSE='#'
12217 am__fastdepCXX_TRUE='#'
12218 am__fastdepCXX_FALSE=
12222 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12223 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12224 (test "X$CXX" != "Xg++"))) ; then
12226 ac_cpp='$CXXCPP $CPPFLAGS'
12227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12231 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12232 if test -z "$CXXCPP"; then
12233 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12234 $as_echo_n "(cached) " >&6
12236 # Double quotes because CXXCPP needs to be expanded
12237 for CXXCPP in "$CXX -E" "/lib/cpp"
12239 ac_preproc_ok=false
12240 for ac_cxx_preproc_warn_flag in '' yes
12242 # Use a header file that comes with gcc, so configuring glibc
12243 # with a fresh cross-compiler works.
12244 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12245 # <limits.h> exists even on freestanding compilers.
12246 # On the NeXT, cc -E runs the code through the compiler's parser,
12247 # not just through cpp. "Syntax error" is here to catch this case.
12248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12249 /* end confdefs.h. */
12251 # include <limits.h>
12253 # include <assert.h>
12257 if ac_fn_cxx_try_cpp "$LINENO"; then :
12260 # Broken: fails on valid input.
12263 rm -f conftest.err conftest.$ac_ext
12265 # OK, works on sane cases. Now check whether nonexistent headers
12266 # can be detected and how.
12267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12268 /* end confdefs.h. */
12269 #include <ac_nonexistent.h>
12271 if ac_fn_cxx_try_cpp "$LINENO"; then :
12272 # Broken: success on invalid input.
12275 # Passes both tests.
12279 rm -f conftest.err conftest.$ac_ext
12282 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12283 rm -f conftest.err conftest.$ac_ext
12284 if $ac_preproc_ok; then :
12289 ac_cv_prog_CXXCPP=$CXXCPP
12292 CXXCPP=$ac_cv_prog_CXXCPP
12294 ac_cv_prog_CXXCPP=$CXXCPP
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12297 $as_echo "$CXXCPP" >&6; }
12298 ac_preproc_ok=false
12299 for ac_cxx_preproc_warn_flag in '' yes
12301 # Use a header file that comes with gcc, so configuring glibc
12302 # with a fresh cross-compiler works.
12303 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12304 # <limits.h> exists even on freestanding compilers.
12305 # On the NeXT, cc -E runs the code through the compiler's parser,
12306 # not just through cpp. "Syntax error" is here to catch this case.
12307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12308 /* end confdefs.h. */
12310 # include <limits.h>
12312 # include <assert.h>
12316 if ac_fn_cxx_try_cpp "$LINENO"; then :
12319 # Broken: fails on valid input.
12322 rm -f conftest.err conftest.$ac_ext
12324 # OK, works on sane cases. Now check whether nonexistent headers
12325 # can be detected and how.
12326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327 /* end confdefs.h. */
12328 #include <ac_nonexistent.h>
12330 if ac_fn_cxx_try_cpp "$LINENO"; then :
12331 # Broken: success on invalid input.
12334 # Passes both tests.
12338 rm -f conftest.err conftest.$ac_ext
12341 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12342 rm -f conftest.err conftest.$ac_ext
12343 if $ac_preproc_ok; then :
12346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12348 _lt_caught_CXX_error=yes; }
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
12358 _lt_caught_CXX_error=yes
12365 ac_cpp='$CXXCPP $CPPFLAGS'
12366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12370 archive_cmds_need_lc_CXX=no
12371 allow_undefined_flag_CXX=
12372 always_export_symbols_CXX=no
12373 archive_expsym_cmds_CXX=
12374 compiler_needs_object_CXX=no
12375 export_dynamic_flag_spec_CXX=
12376 hardcode_direct_CXX=no
12377 hardcode_direct_absolute_CXX=no
12378 hardcode_libdir_flag_spec_CXX=
12379 hardcode_libdir_flag_spec_ld_CXX=
12380 hardcode_libdir_separator_CXX=
12381 hardcode_minus_L_CXX=no
12382 hardcode_shlibpath_var_CXX=unsupported
12383 hardcode_automatic_CXX=no
12384 inherit_rpath_CXX=no
12386 module_expsym_cmds_CXX=
12387 link_all_deplibs_CXX=unknown
12388 old_archive_cmds_CXX=$old_archive_cmds
12389 no_undefined_flag_CXX=
12390 whole_archive_flag_spec_CXX=
12391 enable_shared_with_static_runtimes_CXX=no
12393 # Source file extension for C++ test sources.
12396 # Object file extension for compiled C++ test sources.
12400 # No sense in running all these tests if we already determined that
12401 # the CXX compiler isn't working. Some variables (like enable_shared)
12402 # are currently assumed to apply to all compilers on this platform,
12403 # and will be corrupted by setting them based on a non-working compiler.
12404 if test "$_lt_caught_CXX_error" != yes; then
12405 # Code to be used in simple compile tests
12406 lt_simple_compile_test_code="int some_variable = 0;"
12408 # Code to be used in simple link tests
12409 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12411 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12418 # If no C compiler was specified, use CC.
12421 # If no C compiler flags were specified, use CFLAGS.
12422 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12424 # Allow CC to be a program name with arguments.
12428 # save warnings/boilerplate of simple test code
12429 ac_outfile=conftest.$ac_objext
12430 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12431 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12432 _lt_compiler_boilerplate=`cat conftest.err`
12435 ac_outfile=conftest.$ac_objext
12436 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12437 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12438 _lt_linker_boilerplate=`cat conftest.err`
12442 # Allow CC to be a program name with arguments.
12447 lt_save_with_gnu_ld=$with_gnu_ld
12448 lt_save_path_LD=$lt_cv_path_LD
12449 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12450 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12452 $as_unset lt_cv_prog_gnu_ld
12454 if test -n "${lt_cv_path_LDCXX+set}"; then
12455 lt_cv_path_LD=$lt_cv_path_LDCXX
12457 $as_unset lt_cv_path_LD
12459 test -z "${LDCXX+set}" || LD=$LDCXX
12463 for cc_temp in $compiler""; do
12465 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12466 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12471 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12474 if test -n "$compiler"; then
12475 # We don't want -fno-exception when compiling C++ code, so set the
12476 # no_builtin_flag separately
12477 if test "$GXX" = yes; then
12478 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12480 lt_prog_compiler_no_builtin_flag_CXX=
12483 if test "$GXX" = yes; then
12484 # Set up default GNU C++ configuration
12488 # Check whether --with-gnu-ld was given.
12489 if test "${with_gnu_ld+set}" = set; then :
12490 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12496 if test "$GCC" = yes; then
12497 # Check if gcc -print-prog-name=ld gives a path.
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12499 $as_echo_n "checking for ld used by $CC... " >&6; }
12502 # gcc leaves a trailing carriage return which upsets mingw
12503 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12505 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12508 # Accept absolute paths.
12510 re_direlt='/[^/][^/]*/\.\./'
12511 # Canonicalize the pathname of ld
12512 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12513 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12514 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12516 test -z "$LD" && LD="$ac_prog"
12519 # If it fails, then pretend we aren't using GCC.
12523 # If it is relative, then search for the first ld in PATH.
12524 with_gnu_ld=unknown
12527 elif test "$with_gnu_ld" = yes; then
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12529 $as_echo_n "checking for GNU ld... " >&6; }
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12532 $as_echo_n "checking for non-GNU ld... " >&6; }
12534 if test "${lt_cv_path_LD+set}" = set; then :
12535 $as_echo_n "(cached) " >&6
12537 if test -z "$LD"; then
12538 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12539 for ac_dir in $PATH; do
12541 test -z "$ac_dir" && ac_dir=.
12542 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12543 lt_cv_path_LD="$ac_dir/$ac_prog"
12544 # Check to see if the program is GNU ld. I'd rather use --version,
12545 # but apparently some variants of GNU ld only accept -v.
12546 # Break only if it was the GNU/non-GNU ld that we prefer.
12547 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12548 *GNU* | *'with BFD'*)
12549 test "$with_gnu_ld" != no && break
12552 test "$with_gnu_ld" != yes && break
12559 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12563 LD="$lt_cv_path_LD"
12564 if test -n "$LD"; then
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12566 $as_echo "$LD" >&6; }
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12569 $as_echo "no" >&6; }
12571 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12573 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12574 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12575 $as_echo_n "(cached) " >&6
12577 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12578 case `$LD -v 2>&1 </dev/null` in
12579 *GNU* | *'with BFD'*)
12580 lt_cv_prog_gnu_ld=yes
12583 lt_cv_prog_gnu_ld=no
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12588 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12589 with_gnu_ld=$lt_cv_prog_gnu_ld
12597 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12598 # archiving commands below assume that GNU ld is being used.
12599 if test "$with_gnu_ld" = yes; then
12600 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12601 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12603 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12604 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12606 # If archive_cmds runs LD, not CC, wlarc should be empty
12607 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12608 # investigate it a little bit more. (MM)
12611 # ancient GNU ld didn't support --whole-archive et. al.
12612 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12613 $GREP 'no-whole-archive' > /dev/null; then
12614 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12616 whole_archive_flag_spec_CXX=
12622 # A generic and very simple default shared library creation
12623 # command for GNU C++ for the case where it uses the native
12624 # linker, instead of GNU ld. If possible, this setting should
12625 # overridden to take advantage of the native linker features on
12626 # the platform it is being used on.
12627 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12630 # Commands to make compiler produce verbose output that lists
12631 # what "hidden" libraries, object files and flags are used when
12632 # linking a shared library.
12633 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12641 # PORTME: fill in a description of your system's C++ link characteristics
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12643 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12647 # FIXME: insert proper C++ library support
12651 if test "$host_cpu" = ia64; then
12652 # On IA64, the linker does run time linking by default, so we don't
12653 # have to do anything special.
12654 aix_use_runtimelinking=no
12655 exp_sym_flag='-Bexport'
12658 aix_use_runtimelinking=no
12660 # Test if we are trying to use run time linking or normal
12661 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12662 # need to do runtime linking.
12663 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12664 for ld_flag in $LDFLAGS; do
12667 aix_use_runtimelinking=yes
12675 exp_sym_flag='-bexport'
12676 no_entry_flag='-bnoentry'
12679 # When large executables or shared objects are built, AIX ld can
12680 # have problems creating the table of contents. If linking a library
12681 # or program results in "error TOC overflow" add -mminimal-toc to
12682 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12683 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12685 archive_cmds_CXX=''
12686 hardcode_direct_CXX=yes
12687 hardcode_direct_absolute_CXX=yes
12688 hardcode_libdir_separator_CXX=':'
12689 link_all_deplibs_CXX=yes
12690 file_list_spec_CXX='${wl}-f,'
12692 if test "$GXX" = yes; then
12693 case $host_os in aix4.[012]|aix4.[012].*)
12694 # We only want to do this on AIX 4.2 and lower, the check
12695 # below for broken collect2 doesn't work under 4.3+
12696 collect2name=`${CC} -print-prog-name=collect2`
12697 if test -f "$collect2name" &&
12698 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12700 # We have reworked collect2
12703 # We have old collect2
12704 hardcode_direct_CXX=unsupported
12705 # It fails to find uninstalled libraries when the uninstalled
12706 # path is not listed in the libpath. Setting hardcode_minus_L
12707 # to unsupported forces relinking
12708 hardcode_minus_L_CXX=yes
12709 hardcode_libdir_flag_spec_CXX='-L$libdir'
12710 hardcode_libdir_separator_CXX=
12713 shared_flag='-shared'
12714 if test "$aix_use_runtimelinking" = yes; then
12715 shared_flag="$shared_flag "'${wl}-G'
12719 if test "$host_cpu" = ia64; then
12720 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12721 # chokes on -Wl,-G. The following line is correct:
12724 if test "$aix_use_runtimelinking" = yes; then
12725 shared_flag='${wl}-G'
12727 shared_flag='${wl}-bM:SRE'
12732 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12733 # It seems that -bexpall does not export symbols beginning with
12734 # underscore (_), so it is better to generate a list of symbols to
12736 always_export_symbols_CXX=yes
12737 if test "$aix_use_runtimelinking" = yes; then
12738 # Warning - without using the other runtime loading flags (-brtl),
12739 # -berok will link without error, but may produce a broken library.
12740 allow_undefined_flag_CXX='-berok'
12741 # Determine the default libpath from the value encoded in an empty
12743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12744 /* end confdefs.h. */
12754 if ac_fn_cxx_try_link "$LINENO"; then :
12756 lt_aix_libpath_sed='
12757 /Import File Strings/,/^$/ {
12763 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12764 # Check for a 64-bit object if we didn't find anything.
12765 if test -z "$aix_libpath"; then
12766 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12769 rm -f core conftest.err conftest.$ac_objext \
12770 conftest$ac_exeext conftest.$ac_ext
12771 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12773 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12775 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12777 if test "$host_cpu" = ia64; then
12778 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12779 allow_undefined_flag_CXX="-z nodefs"
12780 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"
12782 # Determine the default libpath from the value encoded in an
12783 # empty executable.
12784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12785 /* end confdefs.h. */
12795 if ac_fn_cxx_try_link "$LINENO"; then :
12797 lt_aix_libpath_sed='
12798 /Import File Strings/,/^$/ {
12804 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12805 # Check for a 64-bit object if we didn't find anything.
12806 if test -z "$aix_libpath"; then
12807 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12810 rm -f core conftest.err conftest.$ac_objext \
12811 conftest$ac_exeext conftest.$ac_ext
12812 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12814 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12815 # Warning - without using the other run time loading flags,
12816 # -berok will link without error, but may produce a broken library.
12817 no_undefined_flag_CXX=' ${wl}-bernotok'
12818 allow_undefined_flag_CXX=' ${wl}-berok'
12819 # Exported symbols can be pulled into shared objects from archives
12820 whole_archive_flag_spec_CXX='$convenience'
12821 archive_cmds_need_lc_CXX=yes
12822 # This is similar to how AIX traditionally builds its shared
12824 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'
12830 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12831 allow_undefined_flag_CXX=unsupported
12832 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12833 # support --undefined. This deserves some investigation. FIXME
12834 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12841 case $cc_basename in
12843 # FIXME: insert proper C++ library support
12849 cygwin* | mingw* | pw32* | cegcc*)
12850 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12851 # as there is no search path for DLLs.
12852 hardcode_libdir_flag_spec_CXX='-L$libdir'
12853 allow_undefined_flag_CXX=unsupported
12854 always_export_symbols_CXX=no
12855 enable_shared_with_static_runtimes_CXX=yes
12857 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12858 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'
12859 # If the export-symbols file already is a .def file (1st line
12860 # is EXPORTS), use it as is; otherwise, prepend...
12861 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12862 cp $export_symbols $output_objdir/$soname.def;
12864 echo EXPORTS > $output_objdir/$soname.def;
12865 cat $export_symbols >> $output_objdir/$soname.def;
12867 $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'
12872 darwin* | rhapsody*)
12875 archive_cmds_need_lc_CXX=no
12876 hardcode_direct_CXX=no
12877 hardcode_automatic_CXX=yes
12878 hardcode_shlibpath_var_CXX=unsupported
12879 whole_archive_flag_spec_CXX=''
12880 link_all_deplibs_CXX=yes
12881 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12882 case $cc_basename in
12883 ifort*) _lt_dar_can_shared=yes ;;
12884 *) _lt_dar_can_shared=$GCC ;;
12886 if test "$_lt_dar_can_shared" = "yes"; then
12887 output_verbose_link_cmd=echo
12888 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}"
12889 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12890 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}"
12891 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}"
12892 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12893 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}"
12894 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}"
12904 case $cc_basename in
12906 # FIXME: insert proper C++ library support
12910 # Green Hills C++ Compiler
12911 # FIXME: insert proper C++ library support
12915 # FIXME: insert proper C++ library support
12922 # C++ shared libraries reported to be fairly broken before
12928 archive_cmds_need_lc_CXX=no
12931 freebsd* | dragonfly*)
12932 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12941 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12942 hardcode_libdir_separator_CXX=:
12943 export_dynamic_flag_spec_CXX='${wl}-E'
12944 hardcode_direct_CXX=yes
12945 hardcode_minus_L_CXX=yes # Not in the search PATH,
12946 # but as the default
12947 # location of the library.
12949 case $cc_basename in
12951 # FIXME: insert proper C++ library support
12955 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12956 # Commands to make compiler produce verbose output that lists
12957 # what "hidden" libraries, object files and flags are used when
12958 # linking a shared library.
12960 # There doesn't appear to be a way to prevent this compiler from
12961 # explicitly linking system object files so we need to strip them
12962 # from the output so that they don't get included in the library
12964 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12967 if test "$GXX" = yes; then
12968 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12970 # FIXME: insert proper C++ library support
12978 if test $with_gnu_ld = no; then
12979 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12980 hardcode_libdir_separator_CXX=:
12986 export_dynamic_flag_spec_CXX='${wl}-E'
12992 hardcode_direct_CXX=no
12993 hardcode_shlibpath_var_CXX=no
12996 hardcode_direct_CXX=yes
12997 hardcode_direct_absolute_CXX=yes
12998 hardcode_minus_L_CXX=yes # Not in the search PATH,
12999 # but as the default
13000 # location of the library.
13004 case $cc_basename in
13006 # FIXME: insert proper C++ library support
13012 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13015 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13018 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13021 # Commands to make compiler produce verbose output that lists
13022 # what "hidden" libraries, object files and flags are used when
13023 # linking a shared library.
13025 # There doesn't appear to be a way to prevent this compiler from
13026 # explicitly linking system object files so we need to strip them
13027 # from the output so that they don't get included in the library
13029 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13032 if test "$GXX" = yes; then
13033 if test $with_gnu_ld = no; then
13036 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13039 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13042 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13047 # FIXME: insert proper C++ library support
13055 hardcode_direct_CXX=no
13056 hardcode_shlibpath_var_CXX=no
13057 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13058 export_dynamic_flag_spec_CXX='${wl}-E'
13059 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13060 # Instead, shared libraries are loaded at an image base (0x10000000 by
13061 # default) and relocated if they conflict, which is a slow very memory
13062 # consuming and fragmenting process. To avoid this, we pick a random,
13063 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13064 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13065 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'
13066 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'
13069 case $cc_basename in
13072 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13074 # Archives containing C++ object files must be created using
13075 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13076 # necessary to make sure instantiated templates are included
13078 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13081 if test "$GXX" = yes; then
13082 if test "$with_gnu_ld" = no; then
13083 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13085 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
13088 link_all_deplibs_CXX=yes
13091 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13092 hardcode_libdir_separator_CXX=:
13093 inherit_rpath_CXX=yes
13096 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13097 case $cc_basename in
13099 # Kuck and Associates, Inc. (KAI) C++ Compiler
13101 # KCC will only create a shared library if the output file
13102 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13103 # to its proper name (with version) after linking.
13104 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'
13105 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'
13106 # Commands to make compiler produce verbose output that lists
13107 # what "hidden" libraries, object files and flags are used when
13108 # linking a shared library.
13110 # There doesn't appear to be a way to prevent this compiler from
13111 # explicitly linking system object files so we need to strip them
13112 # from the output so that they don't get included in the library
13114 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13116 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13117 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13119 # Archives containing C++ object files must be created using
13120 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13121 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13126 # version 8.0 and above of icpc choke on multiply defined symbols
13127 # if we add $predep_objects and $postdep_objects, however 7.1 and
13128 # earlier do not add the objects themselves.
13129 case `$CC -V 2>&1` in
13131 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13132 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'
13134 *) # Version 8.0 or newer
13137 ia64*) tmp_idyn=' -i_dynamic';;
13139 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13140 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'
13143 archive_cmds_need_lc_CXX=no
13144 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13145 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13146 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13149 # Portland Group C++ compiler
13151 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
13152 prelink_cmds_CXX='tpldir=Template.dir~
13154 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13155 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13156 old_archive_cmds_CXX='tpldir=Template.dir~
13158 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13159 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13161 archive_cmds_CXX='tpldir=Template.dir~
13163 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13164 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13165 archive_expsym_cmds_CXX='tpldir=Template.dir~
13167 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13168 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13170 *) # Version 6 will use weak symbols
13171 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13172 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'
13176 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13177 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13178 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13182 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13183 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'
13185 runpath_var=LD_RUN_PATH
13186 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13187 hardcode_libdir_separator_CXX=:
13189 # Commands to make compiler produce verbose output that lists
13190 # what "hidden" libraries, object files and flags are used when
13191 # linking a shared library.
13193 # There doesn't appear to be a way to prevent this compiler from
13194 # explicitly linking system object files so we need to strip them
13195 # from the output so that they don't get included in the library
13197 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13200 # IBM XL 8.0 on PPC, with GNU ld
13201 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13202 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13203 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13204 if test "x$supports_anon_versioning" = xyes; then
13205 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13206 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13207 echo "local: *; };" >> $output_objdir/$libname.ver~
13208 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13212 case `$CC -V 2>&1 | sed 5q` in
13215 no_undefined_flag_CXX=' -zdefs'
13216 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13217 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'
13218 hardcode_libdir_flag_spec_CXX='-R$libdir'
13219 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13220 compiler_needs_object_CXX=yes
13222 # Not sure whether something based on
13223 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13225 output_verbose_link_cmd='echo'
13227 # Archives containing C++ object files must be created using
13228 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13229 # necessary to make sure instantiated templates are included
13231 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13239 # FIXME: insert proper C++ library support
13244 # FIXME: insert proper C++ library support
13249 case $cc_basename in
13251 # FIXME: insert proper C++ library support
13255 # FIXME: insert proper C++ library support
13262 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13263 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13265 hardcode_libdir_flag_spec_CXX='-R$libdir'
13266 hardcode_direct_CXX=yes
13267 hardcode_shlibpath_var_CXX=no
13269 # Workaround some broken pre-1.5 toolchains
13270 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13278 # C++ shared libraries are fairly broken
13283 if test -f /usr/libexec/ld.so; then
13284 hardcode_direct_CXX=yes
13285 hardcode_shlibpath_var_CXX=no
13286 hardcode_direct_absolute_CXX=yes
13287 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13288 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13289 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13290 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13291 export_dynamic_flag_spec_CXX='${wl}-E'
13292 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13294 output_verbose_link_cmd=echo
13300 osf3* | osf4* | osf5*)
13301 case $cc_basename in
13303 # Kuck and Associates, Inc. (KAI) C++ Compiler
13305 # KCC will only create a shared library if the output file
13306 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13307 # to its proper name (with version) after linking.
13308 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'
13310 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13311 hardcode_libdir_separator_CXX=:
13313 # Archives containing C++ object files must be created using
13314 # the KAI C++ compiler.
13316 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13317 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13321 # Rational C++ 2.4.1
13322 # FIXME: insert proper C++ library support
13328 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13329 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13330 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13333 allow_undefined_flag_CXX=' -expect_unresolved \*'
13334 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13335 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13336 echo "-hidden">> $lib.exp~
13337 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
13339 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13343 hardcode_libdir_separator_CXX=:
13345 # Commands to make compiler produce verbose output that lists
13346 # what "hidden" libraries, object files and flags are used when
13347 # linking a shared library.
13349 # There doesn't appear to be a way to prevent this compiler from
13350 # explicitly linking system object files so we need to strip them
13351 # from the output so that they don't get included in the library
13353 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13356 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13357 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13360 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13363 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13367 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13368 hardcode_libdir_separator_CXX=:
13370 # Commands to make compiler produce verbose output that lists
13371 # what "hidden" libraries, object files and flags are used when
13372 # linking a shared library.
13373 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13376 # FIXME: insert proper C++ library support
13384 # FIXME: insert proper C++ library support
13389 case $cc_basename in
13392 # FIXME: insert proper C++ library support
13397 # FIXME: insert proper C++ library support
13401 # FIXME: insert proper C++ library support
13408 case $cc_basename in
13410 # Sun C++ 4.2, 5.x and Centerline C++
13411 archive_cmds_need_lc_CXX=yes
13412 no_undefined_flag_CXX=' -zdefs'
13413 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13414 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13415 $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'
13417 hardcode_libdir_flag_spec_CXX='-R$libdir'
13418 hardcode_shlibpath_var_CXX=no
13420 solaris2.[0-5] | solaris2.[0-5].*) ;;
13422 # The compiler driver will combine and reorder linker options,
13423 # but understands `-z linker_flag'.
13424 # Supported since Solaris 2.6 (maybe 2.5.1?)
13425 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13428 link_all_deplibs_CXX=yes
13430 output_verbose_link_cmd='echo'
13432 # Archives containing C++ object files must be created using
13433 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13434 # necessary to make sure instantiated templates are included
13436 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13439 # Green Hills C++ Compiler
13440 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13442 # The C++ compiler must be used to create the archive.
13443 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13446 # GNU C++ compiler with Solaris linker
13447 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13448 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13449 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13450 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13451 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13452 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13454 # Commands to make compiler produce verbose output that lists
13455 # what "hidden" libraries, object files and flags are used when
13456 # linking a shared library.
13457 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13459 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13461 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13462 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13463 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13465 # Commands to make compiler produce verbose output that lists
13466 # what "hidden" libraries, object files and flags are used when
13467 # linking a shared library.
13468 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13471 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13473 solaris2.[0-5] | solaris2.[0-5].*) ;;
13475 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13483 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13484 no_undefined_flag_CXX='${wl}-z,text'
13485 archive_cmds_need_lc_CXX=no
13486 hardcode_shlibpath_var_CXX=no
13487 runpath_var='LD_RUN_PATH'
13489 case $cc_basename in
13491 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13492 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13495 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13496 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13501 sysv5* | sco3.2v5* | sco5v6*)
13502 # Note: We can NOT use -z defs as we might desire, because we do not
13503 # link with -lc, and that would cause any symbols used from libc to
13504 # always be unresolved, which means just about no library would
13505 # ever link correctly. If we're not using GNU ld we use -z text
13506 # though, which does catch some bad symbols but isn't as heavy-handed
13508 no_undefined_flag_CXX='${wl}-z,text'
13509 allow_undefined_flag_CXX='${wl}-z,nodefs'
13510 archive_cmds_need_lc_CXX=no
13511 hardcode_shlibpath_var_CXX=no
13512 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13513 hardcode_libdir_separator_CXX=':'
13514 link_all_deplibs_CXX=yes
13515 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13516 runpath_var='LD_RUN_PATH'
13518 case $cc_basename in
13520 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13521 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13524 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13525 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13531 case $cc_basename in
13533 # NonStop-UX NCC 3.20
13534 # FIXME: insert proper C++ library support
13538 # FIXME: insert proper C++ library support
13545 # FIXME: insert proper C++ library support
13550 # FIXME: insert proper C++ library support
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13556 $as_echo "$ld_shlibs_CXX" >&6; }
13557 test "$ld_shlibs_CXX" = no && can_build_shared=no
13563 ## There is no encapsulation within the following macros, do not change
13564 ## the running order or otherwise move them around unless you know exactly
13565 ## what you are doing...
13566 # Dependencies to place before and after the object being linked:
13567 predep_objects_CXX=
13568 postdep_objects_CXX=
13571 compiler_lib_search_path_CXX=
13573 cat > conftest.$ac_ext <<_LT_EOF
13577 Foo (void) { a = 0; }
13583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13584 (eval $ac_compile) 2>&5
13586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13587 test $ac_status = 0; }; then
13588 # Parse the compiler output and extract the necessary
13589 # objects, libraries and library flags.
13591 # Sentinel used to keep track of whether or not we are before
13592 # the conftest object file.
13593 pre_test_object_deps_done=no
13595 for p in `eval "$output_verbose_link_cmd"`; do
13599 # Some compilers place space between "-{L,R}" and the path.
13600 # Remove the space.
13601 if test $p = "-L" ||
13602 test $p = "-R"; then
13609 if test "$pre_test_object_deps_done" = no; then
13612 # Internal compiler library paths should come after those
13613 # provided the user. The postdeps already come after the
13614 # user supplied libs so there is no need to process them.
13615 if test -z "$compiler_lib_search_path_CXX"; then
13616 compiler_lib_search_path_CXX="${prev}${p}"
13618 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13621 # The "-l" case would never come before the object being
13622 # linked, so don't bother handling this case.
13625 if test -z "$postdeps_CXX"; then
13626 postdeps_CXX="${prev}${p}"
13628 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13634 # This assumes that the test object file only shows up
13635 # once in the compiler output.
13636 if test "$p" = "conftest.$objext"; then
13637 pre_test_object_deps_done=yes
13641 if test "$pre_test_object_deps_done" = no; then
13642 if test -z "$predep_objects_CXX"; then
13643 predep_objects_CXX="$p"
13645 predep_objects_CXX="$predep_objects_CXX $p"
13648 if test -z "$postdep_objects_CXX"; then
13649 postdep_objects_CXX="$p"
13651 postdep_objects_CXX="$postdep_objects_CXX $p"
13656 *) ;; # Ignore the rest.
13664 echo "libtool.m4: error: problem compiling CXX test program"
13667 $RM -f confest.$objext
13669 # PORTME: override above test on systems where it is broken
13672 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13673 # hack all around it, let's just trust "g++" to DTRT.
13674 predep_objects_CXX=
13675 postdep_objects_CXX=
13680 case `$CC -V 2>&1 | sed 5q` in
13684 # The more standards-conforming stlport4 library is
13685 # incompatible with the Cstd library. Avoid specifying
13686 # it if it's in CXXFLAGS. Ignore libCrun as
13687 # -library=stlport4 depends on it.
13688 case " $CXX $CXXFLAGS " in
13689 *" -library=stlport4 "*)
13690 solaris_use_stlport4=yes
13694 if test "$solaris_use_stlport4" != yes; then
13695 postdeps_CXX='-library=Cstd -library=Crun'
13702 case $cc_basename in
13704 # The more standards-conforming stlport4 library is
13705 # incompatible with the Cstd library. Avoid specifying
13706 # it if it's in CXXFLAGS. Ignore libCrun as
13707 # -library=stlport4 depends on it.
13708 case " $CXX $CXXFLAGS " in
13709 *" -library=stlport4 "*)
13710 solaris_use_stlport4=yes
13714 # Adding this requires a known-good setup of shared libraries for
13715 # Sun compiler versions before 5.6, else PIC objects from an old
13716 # archive will be linked into the output, leading to subtle bugs.
13717 if test "$solaris_use_stlport4" != yes; then
13718 postdeps_CXX='-library=Cstd -library=Crun'
13726 case " $postdeps_CXX " in
13727 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13729 compiler_lib_search_dirs_CXX=
13730 if test -n "${compiler_lib_search_path_CXX}"; then
13731 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13764 lt_prog_compiler_wl_CXX=
13765 lt_prog_compiler_pic_CXX=
13766 lt_prog_compiler_static_CXX=
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13769 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13771 # C++ specific cases for pic, static, wl, etc.
13772 if test "$GXX" = yes; then
13773 lt_prog_compiler_wl_CXX='-Wl,'
13774 lt_prog_compiler_static_CXX='-static'
13778 # All AIX code is PIC.
13779 if test "$host_cpu" = ia64; then
13780 # AIX 5 now supports IA64 processor
13781 lt_prog_compiler_static_CXX='-Bstatic'
13788 # see comment about AmigaOS4 .so support
13789 lt_prog_compiler_pic_CXX='-fPIC'
13792 # FIXME: we need at least 68020 code to build shared libraries, but
13793 # adding the `-m68020' flag to GCC prevents building anything better,
13795 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13800 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13801 # PIC is the default for these OSes.
13803 mingw* | cygwin* | os2* | pw32* | cegcc*)
13804 # This hack is so that the source file can tell whether it is being
13805 # built for inclusion in a dll (and should export symbols for example).
13806 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13807 # (--disable-auto-import) libraries
13808 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13810 darwin* | rhapsody*)
13811 # PIC is the default on this platform
13812 # Common symbols not allowed in MH_DYLIB files
13813 lt_prog_compiler_pic_CXX='-fno-common'
13816 # DJGPP does not support shared libraries at all
13817 lt_prog_compiler_pic_CXX=
13820 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13821 # Instead, we relocate shared libraries at runtime.
13824 if test -d /usr/nec; then
13825 lt_prog_compiler_pic_CXX=-Kconform_pic
13829 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13830 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13831 # sets the default TLS model and affects inlining.
13836 lt_prog_compiler_pic_CXX='-fPIC'
13841 # QNX uses GNU C++, but need to define -shared option too, otherwise
13842 # it will coredump.
13843 lt_prog_compiler_pic_CXX='-fPIC -shared'
13846 lt_prog_compiler_pic_CXX='-fPIC'
13852 # All AIX code is PIC.
13853 if test "$host_cpu" = ia64; then
13854 # AIX 5 now supports IA64 processor
13855 lt_prog_compiler_static_CXX='-Bstatic'
13857 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13861 case $cc_basename in
13863 # Green Hills C++ Compiler
13864 # _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"
13869 case $cc_basename in
13871 lt_prog_compiler_pic_CXX='-KPIC'
13874 # Green Hills C++ Compiler
13875 lt_prog_compiler_pic_CXX='-pic'
13881 freebsd* | dragonfly*)
13882 # FreeBSD uses GNU C++
13884 hpux9* | hpux10* | hpux11*)
13885 case $cc_basename in
13887 lt_prog_compiler_wl_CXX='-Wl,'
13888 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13889 if test "$host_cpu" != ia64; then
13890 lt_prog_compiler_pic_CXX='+Z'
13894 lt_prog_compiler_wl_CXX='-Wl,'
13895 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13901 lt_prog_compiler_pic_CXX='+Z'
13910 # This is c89, which is MS Visual C++ (no shared libs)
13911 # Anyone wants to do a port?
13913 irix5* | irix6* | nonstopux*)
13914 case $cc_basename in
13916 lt_prog_compiler_wl_CXX='-Wl,'
13917 lt_prog_compiler_static_CXX='-non_shared'
13918 # CC pic flag -KPIC is the default.
13924 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13925 case $cc_basename in
13928 lt_prog_compiler_wl_CXX='--backend -Wl,'
13929 lt_prog_compiler_pic_CXX='-fPIC'
13932 # old Intel C++ for x86_64 which still supported -KPIC.
13933 lt_prog_compiler_wl_CXX='-Wl,'
13934 lt_prog_compiler_pic_CXX='-KPIC'
13935 lt_prog_compiler_static_CXX='-static'
13938 # Intel C++, used to be incompatible with GCC.
13939 # ICC 10 doesn't accept -KPIC any more.
13940 lt_prog_compiler_wl_CXX='-Wl,'
13941 lt_prog_compiler_pic_CXX='-fPIC'
13942 lt_prog_compiler_static_CXX='-static'
13945 # Portland Group C++ compiler
13946 lt_prog_compiler_wl_CXX='-Wl,'
13947 lt_prog_compiler_pic_CXX='-fpic'
13948 lt_prog_compiler_static_CXX='-Bstatic'
13952 # Make sure the PIC flag is empty. It appears that all Alpha
13953 # Linux and Compaq Tru64 Unix objects are PIC.
13954 lt_prog_compiler_pic_CXX=
13955 lt_prog_compiler_static_CXX='-non_shared'
13958 # IBM XL 8.0 on PPC
13959 lt_prog_compiler_wl_CXX='-Wl,'
13960 lt_prog_compiler_pic_CXX='-qpic'
13961 lt_prog_compiler_static_CXX='-qstaticlink'
13964 case `$CC -V 2>&1 | sed 5q` in
13967 lt_prog_compiler_pic_CXX='-KPIC'
13968 lt_prog_compiler_static_CXX='-Bstatic'
13969 lt_prog_compiler_wl_CXX='-Qoption ld '
13980 case $cc_basename in
13982 lt_prog_compiler_pic_CXX='-W c,exportall'
13988 netbsd* | netbsdelf*-gnu)
13991 # QNX uses GNU C++, but need to define -shared option too, otherwise
13992 # it will coredump.
13993 lt_prog_compiler_pic_CXX='-fPIC -shared'
13995 osf3* | osf4* | osf5*)
13996 case $cc_basename in
13998 lt_prog_compiler_wl_CXX='--backend -Wl,'
14001 # Rational C++ 2.4.1
14002 lt_prog_compiler_pic_CXX='-pic'
14005 # Digital/Compaq C++
14006 lt_prog_compiler_wl_CXX='-Wl,'
14007 # Make sure the PIC flag is empty. It appears that all Alpha
14008 # Linux and Compaq Tru64 Unix objects are PIC.
14009 lt_prog_compiler_pic_CXX=
14010 lt_prog_compiler_static_CXX='-non_shared'
14019 case $cc_basename in
14021 # Sun C++ 4.2, 5.x and Centerline C++
14022 lt_prog_compiler_pic_CXX='-KPIC'
14023 lt_prog_compiler_static_CXX='-Bstatic'
14024 lt_prog_compiler_wl_CXX='-Qoption ld '
14027 # Green Hills C++ Compiler
14028 lt_prog_compiler_pic_CXX='-PIC'
14035 case $cc_basename in
14038 lt_prog_compiler_pic_CXX='-pic'
14039 lt_prog_compiler_static_CXX='-Bstatic'
14043 lt_prog_compiler_pic_CXX='-pic'
14049 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14050 case $cc_basename in
14052 lt_prog_compiler_wl_CXX='-Wl,'
14053 lt_prog_compiler_pic_CXX='-KPIC'
14054 lt_prog_compiler_static_CXX='-Bstatic'
14059 case $cc_basename in
14061 # NonStop-UX NCC 3.20
14062 lt_prog_compiler_pic_CXX='-KPIC'
14071 lt_prog_compiler_can_build_shared_CXX=no
14077 # For platforms which do not support PIC, -DPIC is meaningless:
14079 lt_prog_compiler_pic_CXX=
14082 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14086 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14091 # Check to make sure the PIC flag actually works.
14093 if test -n "$lt_prog_compiler_pic_CXX"; then
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14095 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14096 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14097 $as_echo_n "(cached) " >&6
14099 lt_cv_prog_compiler_pic_works_CXX=no
14100 ac_outfile=conftest.$ac_objext
14101 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14102 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14103 # Insert the option either (1) after the last *FLAGS variable, or
14104 # (2) before a word containing "conftest.", or (3) at the end.
14105 # Note that $ac_compile itself does not contain backslashes and begins
14106 # with a dollar sign (not a hyphen), so the echo should work correctly.
14107 # The option is referenced via a variable to avoid confusing sed.
14108 lt_compile=`echo "$ac_compile" | $SED \
14109 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14110 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14111 -e 's:$: $lt_compiler_flag:'`
14112 (eval echo "\"\$as_me:14112: $lt_compile\"" >&5)
14113 (eval "$lt_compile" 2>conftest.err)
14115 cat conftest.err >&5
14116 echo "$as_me:14116: \$? = $ac_status" >&5
14117 if (exit $ac_status) && test -s "$ac_outfile"; then
14118 # The compiler can only warn and ignore the option if not recognized
14119 # So say no if there are warnings other than the usual output.
14120 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14121 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14122 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14123 lt_cv_prog_compiler_pic_works_CXX=yes
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14130 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14132 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14133 case $lt_prog_compiler_pic_CXX in
14135 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14138 lt_prog_compiler_pic_CXX=
14139 lt_prog_compiler_can_build_shared_CXX=no
14147 # Check to make sure the static flag actually works.
14149 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14151 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14152 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14153 $as_echo_n "(cached) " >&6
14155 lt_cv_prog_compiler_static_works_CXX=no
14156 save_LDFLAGS="$LDFLAGS"
14157 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14158 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14159 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14160 # The linker can only warn and ignore the option if not recognized
14161 # So say no if there are warnings
14162 if test -s conftest.err; then
14163 # Append any errors to the config.log.
14164 cat conftest.err 1>&5
14165 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14166 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14167 if diff conftest.exp conftest.er2 >/dev/null; then
14168 lt_cv_prog_compiler_static_works_CXX=yes
14171 lt_cv_prog_compiler_static_works_CXX=yes
14175 LDFLAGS="$save_LDFLAGS"
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14179 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14181 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14184 lt_prog_compiler_static_CXX=
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14191 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14192 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14193 $as_echo_n "(cached) " >&6
14195 lt_cv_prog_compiler_c_o_CXX=no
14196 $RM -r conftest 2>/dev/null
14200 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14202 lt_compiler_flag="-o out/conftest2.$ac_objext"
14203 # Insert the option either (1) after the last *FLAGS variable, or
14204 # (2) before a word containing "conftest.", or (3) at the end.
14205 # Note that $ac_compile itself does not contain backslashes and begins
14206 # with a dollar sign (not a hyphen), so the echo should work correctly.
14207 lt_compile=`echo "$ac_compile" | $SED \
14208 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14209 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14210 -e 's:$: $lt_compiler_flag:'`
14211 (eval echo "\"\$as_me:14211: $lt_compile\"" >&5)
14212 (eval "$lt_compile" 2>out/conftest.err)
14214 cat out/conftest.err >&5
14215 echo "$as_me:14215: \$? = $ac_status" >&5
14216 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14218 # The compiler can only warn and ignore the option if not recognized
14219 # So say no if there are warnings
14220 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14221 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14222 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14223 lt_cv_prog_compiler_c_o_CXX=yes
14228 # SGI C++ compiler will create directory out/ii_files/ for
14229 # template instantiation
14230 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14231 $RM out/* && rmdir out
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14238 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14243 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14244 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14245 $as_echo_n "(cached) " >&6
14247 lt_cv_prog_compiler_c_o_CXX=no
14248 $RM -r conftest 2>/dev/null
14252 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14254 lt_compiler_flag="-o out/conftest2.$ac_objext"
14255 # Insert the option either (1) after the last *FLAGS variable, or
14256 # (2) before a word containing "conftest.", or (3) at the end.
14257 # Note that $ac_compile itself does not contain backslashes and begins
14258 # with a dollar sign (not a hyphen), so the echo should work correctly.
14259 lt_compile=`echo "$ac_compile" | $SED \
14260 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14261 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14262 -e 's:$: $lt_compiler_flag:'`
14263 (eval echo "\"\$as_me:14263: $lt_compile\"" >&5)
14264 (eval "$lt_compile" 2>out/conftest.err)
14266 cat out/conftest.err >&5
14267 echo "$as_me:14267: \$? = $ac_status" >&5
14268 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14270 # The compiler can only warn and ignore the option if not recognized
14271 # So say no if there are warnings
14272 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14273 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14274 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14275 lt_cv_prog_compiler_c_o_CXX=yes
14280 # SGI C++ compiler will create directory out/ii_files/ for
14281 # template instantiation
14282 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14283 $RM out/* && rmdir out
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14290 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14295 hard_links="nottested"
14296 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14297 # do not overwrite the value of need_locks provided by the user
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14299 $as_echo_n "checking if we can lock with hard links... " >&6; }
14302 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14304 ln conftest.a conftest.b 2>&5 || hard_links=no
14305 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14307 $as_echo "$hard_links" >&6; }
14308 if test "$hard_links" = no; then
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14310 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14320 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14322 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14325 # If we're using GNU nm, then we don't want the "-C" option.
14326 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14327 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14328 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14330 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'
14334 export_symbols_cmds_CXX="$ltdll_cmds"
14336 cygwin* | mingw* | cegcc*)
14337 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14339 linux* | k*bsd*-gnu)
14340 link_all_deplibs_CXX=no
14343 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14346 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14349 $as_echo "$ld_shlibs_CXX" >&6; }
14350 test "$ld_shlibs_CXX" = no && can_build_shared=no
14352 with_gnu_ld_CXX=$with_gnu_ld
14360 # Do we need to explicitly link libc?
14362 case "x$archive_cmds_need_lc_CXX" in
14364 # Assume -lc should be added
14365 archive_cmds_need_lc_CXX=yes
14367 if test "$enable_shared" = yes && test "$GCC" = yes; then
14368 case $archive_cmds_CXX in
14370 # FIXME: we may have to deal with multi-command sequences.
14373 # Test whether the compiler implicitly links with -lc since on some
14374 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14375 # to ld, don't add -lc before -lgcc.
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14377 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14379 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14381 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14382 (eval $ac_compile) 2>&5
14384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14385 test $ac_status = 0; } 2>conftest.err; then
14388 libobjs=conftest.$ac_objext
14390 wl=$lt_prog_compiler_wl_CXX
14391 pic_flag=$lt_prog_compiler_pic_CXX
14397 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14398 allow_undefined_flag_CXX=
14399 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14400 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14403 test $ac_status = 0; }
14405 archive_cmds_need_lc_CXX=no
14407 archive_cmds_need_lc_CXX=yes
14409 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14411 cat conftest.err 1>&5
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
14415 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14486 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14488 library_names_spec=
14489 libname_spec='lib$name'
14493 postuninstall_cmds=
14497 shlibpath_overrides_runpath=unknown
14499 dynamic_linker="$host_os ld.so"
14500 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14501 need_lib_prefix=unknown
14502 hardcode_into_libs=no
14504 # when you set need_version to no, make sure it does not cause -set_version
14505 # flags to be left without arguments
14506 need_version=unknown
14511 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14512 shlibpath_var=LIBPATH
14514 # AIX 3 has no versioning support, so we append a major version to the name.
14515 soname_spec='${libname}${release}${shared_ext}$major'
14522 hardcode_into_libs=yes
14523 if test "$host_cpu" = ia64; then
14524 # AIX 5 supports IA64
14525 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14526 shlibpath_var=LD_LIBRARY_PATH
14528 # With GCC up to 2.95.x, collect2 would create an import file
14529 # for dependence libraries. The import file would start with
14530 # the line `#! .'. This would cause the generated library to
14531 # depend on `.', always an invalid library. This was fixed in
14532 # development snapshots of GCC prior to 3.0.
14534 aix4 | aix4.[01] | aix4.[01].*)
14535 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14537 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14540 can_build_shared=no
14544 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14545 # soname into executable. Probably we can add versioning support to
14546 # collect2, so additional links can be useful in future.
14547 if test "$aix_use_runtimelinking" = yes; then
14548 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14549 # instead of lib<name>.a to let people know that these are not
14550 # typical AIX shared libraries.
14551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14553 # We preserve .a as extension for shared libraries through AIX4.2
14554 # and later when we are not doing run time linking.
14555 library_names_spec='${libname}${release}.a $libname.a'
14556 soname_spec='${libname}${release}${shared_ext}$major'
14558 shlibpath_var=LIBPATH
14565 # Since July 2007 AmigaOS4 officially supports .so libraries.
14566 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14570 library_names_spec='$libname.ixlibrary $libname.a'
14571 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14572 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14578 library_names_spec='${libname}${shared_ext}'
14579 dynamic_linker="$host_os ld.so"
14580 shlibpath_var=LIBRARY_PATH
14586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14587 soname_spec='${libname}${release}${shared_ext}$major'
14588 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14589 shlibpath_var=LD_LIBRARY_PATH
14590 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14591 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14592 # the default ld.so.conf also contains /usr/contrib/lib and
14593 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14594 # libtool to hard-code these into programs
14597 cygwin* | mingw* | pw32* | cegcc*)
14598 version_type=windows
14603 case $GCC,$host_os in
14604 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14605 library_names_spec='$libname.dll.a'
14606 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14607 postinstall_cmds='base_file=`basename \${file}`~
14608 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14609 dldir=$destdir/`dirname \$dlpath`~
14610 test -d \$dldir || mkdir -p \$dldir~
14611 $install_prog $dir/$dlname \$dldir/$dlname~
14612 chmod a+x \$dldir/$dlname~
14613 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14614 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14616 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14617 dlpath=$dir/\$dldll~
14619 shlibpath_overrides_runpath=yes
14623 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14624 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14625 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14628 # MinGW DLLs use traditional 'lib' prefix
14629 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14630 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14631 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14632 # It is most probably a Windows format PATH printed by
14633 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14634 # path with ; separators, and with drive letters. We can handle the
14635 # drive letters (cygwin fileutils understands them), so leave them,
14636 # especially as we might pass files found there to a mingw objdump,
14637 # which wouldn't understand a cygwinified path. Ahh.
14638 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14640 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14644 # pw32 DLLs use 'pw' prefix rather than 'lib'
14645 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14651 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14654 dynamic_linker='Win32 ld.exe'
14655 # FIXME: first we should search . and the directory the executable is in
14659 darwin* | rhapsody*)
14660 dynamic_linker="$host_os dyld"
14661 version_type=darwin
14664 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14665 soname_spec='${libname}${release}${major}$shared_ext'
14666 shlibpath_overrides_runpath=yes
14667 shlibpath_var=DYLD_LIBRARY_PATH
14668 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14670 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14678 soname_spec='${libname}${release}${shared_ext}$major'
14679 shlibpath_var=LD_LIBRARY_PATH
14686 freebsd* | dragonfly*)
14687 # DragonFly does not have aout. When/if they implement a new
14688 # versioning mechanism, adjust this.
14689 if test -x /usr/bin/objformat; then
14690 objformat=`/usr/bin/objformat`
14693 freebsd[123]*) objformat=aout ;;
14694 *) objformat=elf ;;
14697 version_type=freebsd-$objformat
14698 case $version_type in
14700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14705 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14709 shlibpath_var=LD_LIBRARY_PATH
14712 shlibpath_overrides_runpath=yes
14714 freebsd3.[01]* | freebsdelf3.[01]*)
14715 shlibpath_overrides_runpath=yes
14716 hardcode_into_libs=yes
14718 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14719 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14720 shlibpath_overrides_runpath=no
14721 hardcode_into_libs=yes
14723 *) # from 4.6 on, and DragonFly
14724 shlibpath_overrides_runpath=yes
14725 hardcode_into_libs=yes
14734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14735 soname_spec='${libname}${release}${shared_ext}$major'
14736 shlibpath_var=LD_LIBRARY_PATH
14737 hardcode_into_libs=yes
14740 hpux9* | hpux10* | hpux11*)
14741 # Give a soname corresponding to the major version so that dld.sl refuses to
14742 # link against other versions.
14749 hardcode_into_libs=yes
14750 dynamic_linker="$host_os dld.so"
14751 shlibpath_var=LD_LIBRARY_PATH
14752 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14754 soname_spec='${libname}${release}${shared_ext}$major'
14755 if test "X$HPUX_IA64_MODE" = X32; then
14756 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14758 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14760 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14764 hardcode_into_libs=yes
14765 dynamic_linker="$host_os dld.sl"
14766 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14767 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14769 soname_spec='${libname}${release}${shared_ext}$major'
14770 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14771 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14775 dynamic_linker="$host_os dld.sl"
14776 shlibpath_var=SHLIB_PATH
14777 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14779 soname_spec='${libname}${release}${shared_ext}$major'
14782 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14783 postinstall_cmds='chmod 555 $lib'
14790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14791 soname_spec='${libname}${release}${shared_ext}$major'
14792 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14793 shlibpath_var=LD_LIBRARY_PATH
14794 shlibpath_overrides_runpath=no
14795 hardcode_into_libs=yes
14798 irix5* | irix6* | nonstopux*)
14800 nonstopux*) version_type=nonstopux ;;
14802 if test "$lt_cv_prog_gnu_ld" = yes; then
14810 soname_spec='${libname}${release}${shared_ext}$major'
14811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14813 irix5* | nonstopux*)
14814 libsuff= shlibsuff=
14817 case $LD in # libtool.m4 will add one of these switches to LD
14818 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14819 libsuff= shlibsuff= libmagic=32-bit;;
14820 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14821 libsuff=32 shlibsuff=N32 libmagic=N32;;
14822 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14823 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14824 *) libsuff= shlibsuff= libmagic=never-match;;
14828 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14829 shlibpath_overrides_runpath=no
14830 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14831 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14832 hardcode_into_libs=yes
14835 # No shared lib support for Linux oldld, aout, or coff.
14836 linux*oldld* | linux*aout* | linux*coff*)
14840 # This must be Linux ELF.
14841 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14845 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14846 soname_spec='${libname}${release}${shared_ext}$major'
14847 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14848 shlibpath_var=LD_LIBRARY_PATH
14849 shlibpath_overrides_runpath=no
14850 # Some binutils ld are patched to set DT_RUNPATH
14851 save_LDFLAGS=$LDFLAGS
14852 save_libdir=$libdir
14853 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14854 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14866 if ac_fn_cxx_try_link "$LINENO"; then :
14867 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14868 shlibpath_overrides_runpath=yes
14871 rm -f core conftest.err conftest.$ac_objext \
14872 conftest$ac_exeext conftest.$ac_ext
14873 LDFLAGS=$save_LDFLAGS
14874 libdir=$save_libdir
14876 # This implies no fast_install, which is unacceptable.
14877 # Some rework will be needed to allow for fast_install
14878 # before this can be enabled.
14879 hardcode_into_libs=yes
14881 # Append ld.so.conf contents to the search path
14882 if test -f /etc/ld.so.conf; then
14883 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14884 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14887 # We used to test for /lib/ld.so.1 and disable shared libraries on
14888 # powerpc, because MkLinux only supported shared libraries with the
14889 # GNU dynamic linker. Since this was broken with cross compilers,
14890 # most powerpc-linux boxes support dynamic linking these days and
14891 # people can always --disable-shared, the test was removed, and we
14892 # assume the GNU/Linux dynamic linker is in use.
14893 dynamic_linker='GNU/Linux ld.so'
14900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14901 soname_spec='${libname}${release}${shared_ext}$major'
14902 shlibpath_var=LD_LIBRARY_PATH
14903 shlibpath_overrides_runpath=no
14904 hardcode_into_libs=yes
14905 dynamic_linker='NetBSD ld.elf_so'
14912 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14914 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14915 dynamic_linker='NetBSD (a.out) ld.so'
14917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14918 soname_spec='${libname}${release}${shared_ext}$major'
14919 dynamic_linker='NetBSD ld.elf_so'
14921 shlibpath_var=LD_LIBRARY_PATH
14922 shlibpath_overrides_runpath=yes
14923 hardcode_into_libs=yes
14928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14929 shlibpath_var=LD_LIBRARY_PATH
14930 shlibpath_overrides_runpath=yes
14937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14938 soname_spec='${libname}${release}${shared_ext}$major'
14939 shlibpath_var=LD_LIBRARY_PATH
14940 shlibpath_overrides_runpath=no
14941 hardcode_into_libs=yes
14942 dynamic_linker='ldqnx.so'
14947 sys_lib_dlsearch_path_spec="/usr/lib"
14949 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14951 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14952 *) need_version=no ;;
14954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14955 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14956 shlibpath_var=LD_LIBRARY_PATH
14957 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14959 openbsd2.[89] | openbsd2.[89].*)
14960 shlibpath_overrides_runpath=no
14963 shlibpath_overrides_runpath=yes
14967 shlibpath_overrides_runpath=yes
14972 libname_spec='$name'
14975 library_names_spec='$libname${shared_ext} $libname.a'
14976 dynamic_linker='OS/2 ld.exe'
14977 shlibpath_var=LIBPATH
14980 osf3* | osf4* | osf5*)
14984 soname_spec='${libname}${release}${shared_ext}$major'
14985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14986 shlibpath_var=LD_LIBRARY_PATH
14987 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14988 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15000 soname_spec='${libname}${release}${shared_ext}$major'
15001 shlibpath_var=LD_LIBRARY_PATH
15002 shlibpath_overrides_runpath=yes
15003 hardcode_into_libs=yes
15004 # ldd complains unless libraries are executable
15005 postinstall_cmds='chmod +x $lib'
15010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15011 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15012 shlibpath_var=LD_LIBRARY_PATH
15013 shlibpath_overrides_runpath=yes
15014 if test "$with_gnu_ld" = yes; then
15022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15023 soname_spec='${libname}${release}${shared_ext}$major'
15024 shlibpath_var=LD_LIBRARY_PATH
15025 case $host_vendor in
15027 shlibpath_overrides_runpath=no
15029 runpath_var=LD_RUN_PATH
15037 shlibpath_overrides_runpath=no
15038 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15044 if test -d /usr/nec ;then
15046 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15047 soname_spec='$libname${shared_ext}.$major'
15048 shlibpath_var=LD_LIBRARY_PATH
15052 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15053 version_type=freebsd-elf
15056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15057 soname_spec='${libname}${release}${shared_ext}$major'
15058 shlibpath_var=LD_LIBRARY_PATH
15059 shlibpath_overrides_runpath=yes
15060 hardcode_into_libs=yes
15061 if test "$with_gnu_ld" = yes; then
15062 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15064 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15067 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15071 sys_lib_dlsearch_path_spec='/usr/lib'
15075 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15080 shlibpath_var=LD_LIBRARY_PATH
15081 shlibpath_overrides_runpath=no
15082 hardcode_into_libs=yes
15087 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15088 soname_spec='${libname}${release}${shared_ext}$major'
15089 shlibpath_var=LD_LIBRARY_PATH
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15097 $as_echo "$dynamic_linker" >&6; }
15098 test "$dynamic_linker" = no && can_build_shared=no
15100 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15101 if test "$GCC" = yes; then
15102 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15105 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15106 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15108 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15109 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15148 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15149 hardcode_action_CXX=
15150 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15151 test -n "$runpath_var_CXX" ||
15152 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15154 # We can hardcode non-existent directories.
15155 if test "$hardcode_direct_CXX" != no &&
15156 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15157 # have to relink, otherwise we might link with an installed library
15158 # when we should be linking with a yet-to-be-installed one
15159 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15160 test "$hardcode_minus_L_CXX" != no; then
15161 # Linking always hardcodes the temporary library directory.
15162 hardcode_action_CXX=relink
15164 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15165 hardcode_action_CXX=immediate
15168 # We cannot hardcode anything, or else we can only hardcode existing
15170 hardcode_action_CXX=unsupported
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15173 $as_echo "$hardcode_action_CXX" >&6; }
15175 if test "$hardcode_action_CXX" = relink ||
15176 test "$inherit_rpath_CXX" = yes; then
15177 # Fast installation is not supported
15178 enable_fast_install=no
15179 elif test "$shlibpath_overrides_runpath" = yes ||
15180 test "$enable_shared" = no; then
15181 # Fast installation is not necessary
15182 enable_fast_install=needless
15191 fi # test -n "$compiler"
15197 with_gnu_ld=$lt_save_with_gnu_ld
15198 lt_cv_path_LDCXX=$lt_cv_path_LD
15199 lt_cv_path_LD=$lt_save_path_LD
15200 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15201 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15202 fi # test "$_lt_caught_CXX_error" != yes
15205 ac_cpp='$CPP $CPPFLAGS'
15206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15231 HB_LIBTOOL_VERSION_INFO=903:0:903
15235 # Functions and headers
15236 for ac_func in atexit mprotect sysconf getpagesize sched_yield mmap _setmode isatty
15238 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15239 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15240 eval as_val=\$$as_ac_var
15241 if test "x$as_val" = x""yes; then :
15242 cat >>confdefs.h <<_ACEOF
15243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15249 for ac_header in unistd.h sys/mman.h sched.h io.h
15251 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15252 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15253 eval as_val=\$$as_ac_Header
15254 if test "x$as_val" = x""yes; then :
15255 cat >>confdefs.h <<_ACEOF
15256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15266 if test "x$GCC" = "xyes"; then
15268 # Make symbols link locally
15269 LDFLAGS="$LDFLAGS -Bsymbolic-functions"
15271 # Make sure we don't link to libstdc++
15272 CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
15274 # Assorted warnings
15275 CXXFLAGS="$CXXFLAGS -Wcast-align"
15281 # Hide inline methods
15282 CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
15288 # Request byte alignment on arm
15289 CXXFLAGS="$CXXFLAGS -mstructure-size-boundary=8"
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
15295 $as_echo_n "checking for native Win32... " >&6; }
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hb_os_win32" >&5
15305 $as_echo "$hb_os_win32" >&6; }
15306 if test "$hb_os_win32" = "yes"; then
15319 $as_echo "#define HAVE_OT 1" >>confdefs.h
15333 if $have_hb_old; then
15335 $as_echo "#define HAVE_HB_OLD 1" >>confdefs.h
15338 if $have_hb_old; then
15340 HAVE_HB_OLD_FALSE='#'
15342 HAVE_HB_OLD_TRUE='#'
15350 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15351 if test -n "$ac_tool_prefix"; then
15352 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15353 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15355 $as_echo_n "checking for $ac_word... " >&6; }
15356 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
15357 $as_echo_n "(cached) " >&6
15359 case $PKG_CONFIG in
15361 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15365 for as_dir in $PATH
15368 test -z "$as_dir" && as_dir=.
15369 for ac_exec_ext in '' $ac_executable_extensions; do
15370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15371 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15382 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15383 if test -n "$PKG_CONFIG"; then
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15385 $as_echo "$PKG_CONFIG" >&6; }
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15388 $as_echo "no" >&6; }
15393 if test -z "$ac_cv_path_PKG_CONFIG"; then
15394 ac_pt_PKG_CONFIG=$PKG_CONFIG
15395 # Extract the first word of "pkg-config", so it can be a program name with args.
15396 set dummy pkg-config; ac_word=$2
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15398 $as_echo_n "checking for $ac_word... " >&6; }
15399 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
15400 $as_echo_n "(cached) " >&6
15402 case $ac_pt_PKG_CONFIG in
15404 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15408 for as_dir in $PATH
15411 test -z "$as_dir" && as_dir=.
15412 for ac_exec_ext in '' $ac_executable_extensions; do
15413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15414 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15425 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15426 if test -n "$ac_pt_PKG_CONFIG"; then
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15428 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15431 $as_echo "no" >&6; }
15434 if test "x$ac_pt_PKG_CONFIG" = x; then
15437 case $cross_compiling:$ac_tool_warned in
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15441 ac_tool_warned=yes ;;
15443 PKG_CONFIG=$ac_pt_PKG_CONFIG
15446 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15450 if test -n "$PKG_CONFIG"; then
15451 _pkg_min_version=0.9.0
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15453 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15454 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15456 $as_echo "yes" >&6; }
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15459 $as_echo "no" >&6; }
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
15467 $as_echo_n "checking for GLIB... " >&6; }
15469 if test -n "$PKG_CONFIG"; then
15470 if test -n "$GLIB_CFLAGS"; then
15471 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
15473 if test -n "$PKG_CONFIG" && \
15474 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
15475 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
15477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15478 test $ac_status = 0; }; then
15479 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.16" 2>/dev/null`
15487 if test -n "$PKG_CONFIG"; then
15488 if test -n "$GLIB_LIBS"; then
15489 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
15491 if test -n "$PKG_CONFIG" && \
15492 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
15493 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
15495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15496 test $ac_status = 0; }; then
15497 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.16" 2>/dev/null`
15508 if test $pkg_failed = yes; then
15510 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15511 _pkg_short_errors_supported=yes
15513 _pkg_short_errors_supported=no
15515 if test $_pkg_short_errors_supported = yes; then
15516 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.16"`
15518 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.16"`
15520 # Put the nasty error message in config.log where it belongs
15521 echo "$GLIB_PKG_ERRORS" >&5
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15524 $as_echo "no" >&6; }
15526 elif test $pkg_failed = untried; then
15529 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
15530 GLIB_LIBS=$pkg_cv_GLIB_LIBS
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15532 $as_echo "yes" >&6; }
15535 if $have_glib; then
15537 $as_echo "#define HAVE_GLIB 1" >>confdefs.h
15540 if $have_glib; then
15542 HAVE_GLIB_FALSE='#'
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
15552 $as_echo_n "checking for GTHREAD... " >&6; }
15554 if test -n "$PKG_CONFIG"; then
15555 if test -n "$GTHREAD_CFLAGS"; then
15556 pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
15558 if test -n "$PKG_CONFIG" && \
15559 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
15560 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
15562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15563 test $ac_status = 0; }; then
15564 pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
15572 if test -n "$PKG_CONFIG"; then
15573 if test -n "$GTHREAD_LIBS"; then
15574 pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
15576 if test -n "$PKG_CONFIG" && \
15577 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
15578 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
15580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15581 test $ac_status = 0; }; then
15582 pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
15593 if test $pkg_failed = yes; then
15595 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15596 _pkg_short_errors_supported=yes
15598 _pkg_short_errors_supported=no
15600 if test $_pkg_short_errors_supported = yes; then
15601 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread-2.0"`
15603 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0"`
15605 # Put the nasty error message in config.log where it belongs
15606 echo "$GTHREAD_PKG_ERRORS" >&5
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15609 $as_echo "no" >&6; }
15611 elif test $pkg_failed = untried; then
15614 GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
15615 GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15617 $as_echo "yes" >&6; }
15620 if $have_gthread; then
15622 $as_echo "#define HAVE_GTHREAD 1" >>confdefs.h
15625 if $have_gthread; then
15627 HAVE_GTHREAD_FALSE='#'
15629 HAVE_GTHREAD_TRUE='#'
15630 HAVE_GTHREAD_FALSE=
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
15637 $as_echo_n "checking for GOBJECT... " >&6; }
15639 if test -n "$PKG_CONFIG"; then
15640 if test -n "$GOBJECT_CFLAGS"; then
15641 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
15643 if test -n "$PKG_CONFIG" && \
15644 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 glib-2.0 >= 2.16\""; } >&5
15645 ($PKG_CONFIG --exists --print-errors "gobject-2.0 glib-2.0 >= 2.16") 2>&5
15647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15648 test $ac_status = 0; }; then
15649 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 glib-2.0 >= 2.16" 2>/dev/null`
15657 if test -n "$PKG_CONFIG"; then
15658 if test -n "$GOBJECT_LIBS"; then
15659 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
15661 if test -n "$PKG_CONFIG" && \
15662 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 glib-2.0 >= 2.16\""; } >&5
15663 ($PKG_CONFIG --exists --print-errors "gobject-2.0 glib-2.0 >= 2.16") 2>&5
15665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15666 test $ac_status = 0; }; then
15667 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 glib-2.0 >= 2.16" 2>/dev/null`
15678 if test $pkg_failed = yes; then
15680 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15681 _pkg_short_errors_supported=yes
15683 _pkg_short_errors_supported=no
15685 if test $_pkg_short_errors_supported = yes; then
15686 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gobject-2.0 glib-2.0 >= 2.16"`
15688 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-2.0 glib-2.0 >= 2.16"`
15690 # Put the nasty error message in config.log where it belongs
15691 echo "$GOBJECT_PKG_ERRORS" >&5
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15694 $as_echo "no" >&6; }
15696 elif test $pkg_failed = untried; then
15699 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
15700 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15702 $as_echo "yes" >&6; }
15705 if $have_gobject; then
15707 $as_echo "#define HAVE_GOBJECT 1" >>confdefs.h
15709 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
15712 if $have_gobject; then
15714 HAVE_GOBJECT_FALSE='#'
15716 HAVE_GOBJECT_TRUE='#'
15717 HAVE_GOBJECT_FALSE=
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
15725 $as_echo_n "checking for CAIRO... " >&6; }
15727 if test -n "$PKG_CONFIG"; then
15728 if test -n "$CAIRO_CFLAGS"; then
15729 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
15731 if test -n "$PKG_CONFIG" && \
15732 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.8.0\""; } >&5
15733 ($PKG_CONFIG --exists --print-errors "cairo >= 1.8.0") 2>&5
15735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15736 test $ac_status = 0; }; then
15737 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.8.0" 2>/dev/null`
15745 if test -n "$PKG_CONFIG"; then
15746 if test -n "$CAIRO_LIBS"; then
15747 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
15749 if test -n "$PKG_CONFIG" && \
15750 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.8.0\""; } >&5
15751 ($PKG_CONFIG --exists --print-errors "cairo >= 1.8.0") 2>&5
15753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15754 test $ac_status = 0; }; then
15755 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.8.0" 2>/dev/null`
15766 if test $pkg_failed = yes; then
15768 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15769 _pkg_short_errors_supported=yes
15771 _pkg_short_errors_supported=no
15773 if test $_pkg_short_errors_supported = yes; then
15774 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo >= 1.8.0"`
15776 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.8.0"`
15778 # Put the nasty error message in config.log where it belongs
15779 echo "$CAIRO_PKG_ERRORS" >&5
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15782 $as_echo "no" >&6; }
15784 elif test $pkg_failed = untried; then
15787 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
15788 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15790 $as_echo "yes" >&6; }
15793 if $have_cairo; then
15795 $as_echo "#define HAVE_CAIRO 1" >>confdefs.h
15798 if $have_cairo; then
15800 HAVE_CAIRO_FALSE='#'
15802 HAVE_CAIRO_TRUE='#'
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_FT" >&5
15810 $as_echo_n "checking for CAIRO_FT... " >&6; }
15812 if test -n "$PKG_CONFIG"; then
15813 if test -n "$CAIRO_FT_CFLAGS"; then
15814 pkg_cv_CAIRO_FT_CFLAGS="$CAIRO_FT_CFLAGS"
15816 if test -n "$PKG_CONFIG" && \
15817 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft\""; } >&5
15818 ($PKG_CONFIG --exists --print-errors "cairo-ft") 2>&5
15820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15821 test $ac_status = 0; }; then
15822 pkg_cv_CAIRO_FT_CFLAGS=`$PKG_CONFIG --cflags "cairo-ft" 2>/dev/null`
15830 if test -n "$PKG_CONFIG"; then
15831 if test -n "$CAIRO_FT_LIBS"; then
15832 pkg_cv_CAIRO_FT_LIBS="$CAIRO_FT_LIBS"
15834 if test -n "$PKG_CONFIG" && \
15835 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft\""; } >&5
15836 ($PKG_CONFIG --exists --print-errors "cairo-ft") 2>&5
15838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15839 test $ac_status = 0; }; then
15840 pkg_cv_CAIRO_FT_LIBS=`$PKG_CONFIG --libs "cairo-ft" 2>/dev/null`
15851 if test $pkg_failed = yes; then
15853 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15854 _pkg_short_errors_supported=yes
15856 _pkg_short_errors_supported=no
15858 if test $_pkg_short_errors_supported = yes; then
15859 CAIRO_FT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo-ft"`
15861 CAIRO_FT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo-ft"`
15863 # Put the nasty error message in config.log where it belongs
15864 echo "$CAIRO_FT_PKG_ERRORS" >&5
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15867 $as_echo "no" >&6; }
15868 have_cairo_ft=false
15869 elif test $pkg_failed = untried; then
15870 have_cairo_ft=false
15872 CAIRO_FT_CFLAGS=$pkg_cv_CAIRO_FT_CFLAGS
15873 CAIRO_FT_LIBS=$pkg_cv_CAIRO_FT_LIBS
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15875 $as_echo "yes" >&6; }
15878 if $have_cairo_ft; then
15880 $as_echo "#define HAVE_CAIRO_FT 1" >>confdefs.h
15883 if $have_cairo_ft; then
15884 HAVE_CAIRO_FT_TRUE=
15885 HAVE_CAIRO_FT_FALSE='#'
15887 HAVE_CAIRO_FT_TRUE='#'
15888 HAVE_CAIRO_FT_FALSE=
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU" >&5
15896 $as_echo_n "checking for ICU... " >&6; }
15898 if test -n "$PKG_CONFIG"; then
15899 if test -n "$ICU_CFLAGS"; then
15900 pkg_cv_ICU_CFLAGS="$ICU_CFLAGS"
15902 if test -n "$PKG_CONFIG" && \
15903 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5
15904 ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5
15906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15907 test $ac_status = 0; }; then
15908 pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-uc" 2>/dev/null`
15916 if test -n "$PKG_CONFIG"; then
15917 if test -n "$ICU_LIBS"; then
15918 pkg_cv_ICU_LIBS="$ICU_LIBS"
15920 if test -n "$PKG_CONFIG" && \
15921 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5
15922 ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5
15924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15925 test $ac_status = 0; }; then
15926 pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-uc" 2>/dev/null`
15937 if test $pkg_failed = yes; then
15939 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15940 _pkg_short_errors_supported=yes
15942 _pkg_short_errors_supported=no
15944 if test $_pkg_short_errors_supported = yes; then
15945 ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "icu-uc"`
15947 ICU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "icu-uc"`
15949 # Put the nasty error message in config.log where it belongs
15950 echo "$ICU_PKG_ERRORS" >&5
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15953 $as_echo "no" >&6; }
15955 elif test $pkg_failed = untried; then
15958 ICU_CFLAGS=$pkg_cv_ICU_CFLAGS
15959 ICU_LIBS=$pkg_cv_ICU_LIBS
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15961 $as_echo "yes" >&6; }
15966 $as_echo "#define HAVE_ICU 1" >>confdefs.h
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GRAPHITE2" >&5
15982 $as_echo_n "checking for GRAPHITE2... " >&6; }
15984 if test -n "$PKG_CONFIG"; then
15985 if test -n "$GRAPHITE2_CFLAGS"; then
15986 pkg_cv_GRAPHITE2_CFLAGS="$GRAPHITE2_CFLAGS"
15988 if test -n "$PKG_CONFIG" && \
15989 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"graphite2\""; } >&5
15990 ($PKG_CONFIG --exists --print-errors "graphite2") 2>&5
15992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15993 test $ac_status = 0; }; then
15994 pkg_cv_GRAPHITE2_CFLAGS=`$PKG_CONFIG --cflags "graphite2" 2>/dev/null`
16002 if test -n "$PKG_CONFIG"; then
16003 if test -n "$GRAPHITE2_LIBS"; then
16004 pkg_cv_GRAPHITE2_LIBS="$GRAPHITE2_LIBS"
16006 if test -n "$PKG_CONFIG" && \
16007 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"graphite2\""; } >&5
16008 ($PKG_CONFIG --exists --print-errors "graphite2") 2>&5
16010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16011 test $ac_status = 0; }; then
16012 pkg_cv_GRAPHITE2_LIBS=`$PKG_CONFIG --libs "graphite2" 2>/dev/null`
16023 if test $pkg_failed = yes; then
16025 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16026 _pkg_short_errors_supported=yes
16028 _pkg_short_errors_supported=no
16030 if test $_pkg_short_errors_supported = yes; then
16031 GRAPHITE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "graphite2"`
16033 GRAPHITE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "graphite2"`
16035 # Put the nasty error message in config.log where it belongs
16036 echo "$GRAPHITE2_PKG_ERRORS" >&5
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16039 $as_echo "no" >&6; }
16040 have_graphite=false
16041 elif test $pkg_failed = untried; then
16042 have_graphite=false
16044 GRAPHITE2_CFLAGS=$pkg_cv_GRAPHITE2_CFLAGS
16045 GRAPHITE2_LIBS=$pkg_cv_GRAPHITE2_LIBS
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16047 $as_echo "yes" >&6; }
16050 if $have_graphite; then
16052 $as_echo "#define HAVE_GRAPHITE2 1" >>confdefs.h
16055 if $have_graphite; then
16056 HAVE_GRAPHITE2_TRUE=
16057 HAVE_GRAPHITE2_FALSE='#'
16059 HAVE_GRAPHITE2_TRUE='#'
16060 HAVE_GRAPHITE2_FALSE=
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
16068 $as_echo_n "checking for FREETYPE... " >&6; }
16070 if test -n "$PKG_CONFIG"; then
16071 if test -n "$FREETYPE_CFLAGS"; then
16072 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
16074 if test -n "$PKG_CONFIG" && \
16075 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.3.8\""; } >&5
16076 ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.3.8") 2>&5
16078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16079 test $ac_status = 0; }; then
16080 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 2.3.8" 2>/dev/null`
16088 if test -n "$PKG_CONFIG"; then
16089 if test -n "$FREETYPE_LIBS"; then
16090 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
16092 if test -n "$PKG_CONFIG" && \
16093 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.3.8\""; } >&5
16094 ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.3.8") 2>&5
16096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16097 test $ac_status = 0; }; then
16098 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 2.3.8" 2>/dev/null`
16109 if test $pkg_failed = yes; then
16111 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16112 _pkg_short_errors_supported=yes
16114 _pkg_short_errors_supported=no
16116 if test $_pkg_short_errors_supported = yes; then
16117 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "freetype2 >= 2.3.8"`
16119 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2 >= 2.3.8"`
16121 # Put the nasty error message in config.log where it belongs
16122 echo "$FREETYPE_PKG_ERRORS" >&5
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16125 $as_echo "no" >&6; }
16126 have_freetype=false
16127 elif test $pkg_failed = untried; then
16128 have_freetype=false
16130 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
16131 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16133 $as_echo "yes" >&6; }
16136 if $have_freetype; then
16138 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
16141 _save_cflags="$CFLAGS"
16142 LIBS="$LIBS $FREETYPE_LIBS"
16143 CFLAGS="$CFLAGS $FREETYPE_CFLAGS"
16144 for ac_func in FT_Face_GetCharVariantIndex
16146 ac_fn_c_check_func "$LINENO" "FT_Face_GetCharVariantIndex" "ac_cv_func_FT_Face_GetCharVariantIndex"
16147 if test "x$ac_cv_func_FT_Face_GetCharVariantIndex" = x""yes; then :
16148 cat >>confdefs.h <<_ACEOF
16149 #define HAVE_FT_FACE_GETCHARVARIANTINDEX 1
16156 CFLAGS="$_save_cflags"
16158 if $have_freetype; then
16159 HAVE_FREETYPE_TRUE=
16160 HAVE_FREETYPE_FALSE='#'
16162 HAVE_FREETYPE_TRUE='#'
16163 HAVE_FREETYPE_FALSE=
16168 for ac_header in usp10.h windows.h
16170 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16171 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16172 eval as_val=\$$as_ac_Header
16173 if test "x$as_val" = x""yes; then :
16174 cat >>confdefs.h <<_ACEOF
16175 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16177 have_uniscribe=true
16179 have_uniscribe=false
16184 if $have_uniscribe; then
16186 UNISCRIBE_LIBS="-lusp10 -lgdi32"
16190 $as_echo "#define HAVE_UNISCRIBE 1" >>confdefs.h
16193 if $have_uniscribe; then
16194 HAVE_UNISCRIBE_TRUE=
16195 HAVE_UNISCRIBE_FALSE='#'
16197 HAVE_UNISCRIBE_TRUE='#'
16198 HAVE_UNISCRIBE_FALSE=
16203 for ac_header in ApplicationServices/ApplicationServices.h
16205 ac_fn_c_check_header_mongrel "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
16206 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = x""yes; then :
16207 cat >>confdefs.h <<_ACEOF
16208 #define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1
16212 have_coretext=false
16217 if $have_coretext; then
16223 $as_echo "#define HAVE_CORETEXT 1" >>confdefs.h
16226 if $have_coretext; then
16227 HAVE_CORETEXT_TRUE=
16228 HAVE_CORETEXT_FALSE='#'
16230 HAVE_CORETEXT_TRUE='#'
16231 HAVE_CORETEXT_FALSE=
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Intel atomic primitives" >&5
16237 $as_echo_n "checking for Intel atomic primitives... " >&6; }
16238 if test "${hb_cv_have_intel_atomic_primitives+set}" = set; then :
16239 $as_echo_n "(cached) " >&6
16242 hb_cv_have_intel_atomic_primitives=false
16243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16244 /* end confdefs.h. */
16246 void memory_barrier (void) { __sync_synchronize (); }
16247 int atomic_add (int *i) { return __sync_fetch_and_add (i, 1); }
16248 int mutex_trylock (int *m) { return __sync_lock_test_and_set (m, 1); }
16249 void mutex_unlock (int *m) { __sync_lock_release (m); }
16259 if ac_fn_c_try_link "$LINENO"; then :
16260 hb_cv_have_intel_atomic_primitives=true
16263 rm -f core conftest.err conftest.$ac_objext \
16264 conftest$ac_exeext conftest.$ac_ext
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hb_cv_have_intel_atomic_primitives" >&5
16268 $as_echo "$hb_cv_have_intel_atomic_primitives" >&6; }
16269 if $hb_cv_have_intel_atomic_primitives; then
16271 $as_echo "#define HAVE_INTEL_ATOMIC_PRIMITIVES 1" >>confdefs.h
16276 ac_config_files="$ac_config_files Makefile harfbuzz.pc src/Makefile src/hb-version.h src/hb-old/Makefile util/Makefile test/Makefile test/api/Makefile test/shaping/Makefile"
16279 cat >confcache <<\_ACEOF
16280 # This file is a shell script that caches the results of configure
16281 # tests run on this system so they can be shared between configure
16282 # scripts and configure runs, see configure's option --config-cache.
16283 # It is not useful on other systems. If it contains results you don't
16284 # want to keep, you may remove or edit it.
16286 # config.status only pays attention to the cache file if you give it
16287 # the --recheck option to rerun configure.
16289 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16290 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16291 # following values.
16295 # The following way of writing the cache mishandles newlines in values,
16296 # but we know of no workaround that is simple, portable, and efficient.
16297 # So, we kill variables containing newlines.
16298 # Ultrix sh set writes to stderr and can't be redirected directly,
16299 # and sets the high bit in the cache file unless we assign to the vars.
16301 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16302 eval ac_val=\$$ac_var
16306 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16307 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16310 _ | IFS | as_nl) ;; #(
16311 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16312 *) { eval $ac_var=; unset $ac_var;} ;;
16318 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16319 *${as_nl}ac_space=\ *)
16320 # `set' does not quote correctly, so add quotes: double-quote
16321 # substitution turns \\\\ into \\, and sed turns \\ into \.
16324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16327 # `set' quotes correctly as required by POSIX, so do not add quotes.
16328 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16337 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16339 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16341 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16342 if test -w "$cache_file"; then
16343 test "x$cache_file" != "x/dev/null" &&
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16345 $as_echo "$as_me: updating cache $cache_file" >&6;}
16346 cat confcache >$cache_file
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16349 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16354 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16355 # Let make expand exec_prefix.
16356 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16358 DEFS=-DHAVE_CONFIG_H
16362 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16363 # 1. Remove the extension, and $U if already installed.
16364 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16365 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16366 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16367 # will be set to the directory where LIBOBJS objects are built.
16368 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16369 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16371 LIBOBJS=$ac_libobjs
16373 LTLIBOBJS=$ac_ltlibobjs
16376 if test -n "$EXEEXT"; then
16378 am__EXEEXT_FALSE='#'
16380 am__EXEEXT_TRUE='#'
16384 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16385 as_fn_error "conditional \"AMDEP\" was never defined.
16386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16388 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16389 as_fn_error "conditional \"am__fastdepCC\" was never defined.
16390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16392 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16393 as_fn_error "conditional \"am__fastdepCC\" was never defined.
16394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16396 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16397 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
16398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16400 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16401 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
16402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16404 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
16405 as_fn_error "conditional \"OS_WIN32\" was never defined.
16406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16408 if test -z "${HAVE_OT_TRUE}" && test -z "${HAVE_OT_FALSE}"; then
16409 as_fn_error "conditional \"HAVE_OT\" was never defined.
16410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16412 if test -z "${HAVE_HB_OLD_TRUE}" && test -z "${HAVE_HB_OLD_FALSE}"; then
16413 as_fn_error "conditional \"HAVE_HB_OLD\" was never defined.
16414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16416 if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
16417 as_fn_error "conditional \"HAVE_GLIB\" was never defined.
16418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16420 if test -z "${HAVE_GTHREAD_TRUE}" && test -z "${HAVE_GTHREAD_FALSE}"; then
16421 as_fn_error "conditional \"HAVE_GTHREAD\" was never defined.
16422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16424 if test -z "${HAVE_GOBJECT_TRUE}" && test -z "${HAVE_GOBJECT_FALSE}"; then
16425 as_fn_error "conditional \"HAVE_GOBJECT\" was never defined.
16426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16428 if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then
16429 as_fn_error "conditional \"HAVE_CAIRO\" was never defined.
16430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16432 if test -z "${HAVE_CAIRO_FT_TRUE}" && test -z "${HAVE_CAIRO_FT_FALSE}"; then
16433 as_fn_error "conditional \"HAVE_CAIRO_FT\" was never defined.
16434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16436 if test -z "${HAVE_ICU_TRUE}" && test -z "${HAVE_ICU_FALSE}"; then
16437 as_fn_error "conditional \"HAVE_ICU\" was never defined.
16438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16440 if test -z "${HAVE_GRAPHITE2_TRUE}" && test -z "${HAVE_GRAPHITE2_FALSE}"; then
16441 as_fn_error "conditional \"HAVE_GRAPHITE2\" was never defined.
16442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16444 if test -z "${HAVE_FREETYPE_TRUE}" && test -z "${HAVE_FREETYPE_FALSE}"; then
16445 as_fn_error "conditional \"HAVE_FREETYPE\" was never defined.
16446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16448 if test -z "${HAVE_UNISCRIBE_TRUE}" && test -z "${HAVE_UNISCRIBE_FALSE}"; then
16449 as_fn_error "conditional \"HAVE_UNISCRIBE\" was never defined.
16450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16452 if test -z "${HAVE_CORETEXT_TRUE}" && test -z "${HAVE_CORETEXT_FALSE}"; then
16453 as_fn_error "conditional \"HAVE_CORETEXT\" was never defined.
16454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16457 : ${CONFIG_STATUS=./config.status}
16459 ac_clean_files_save=$ac_clean_files
16460 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16462 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16464 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16466 # Generated by $as_me.
16467 # Run this file to recreate the current configuration.
16468 # Compiler output produced by configure, useful for debugging
16469 # configure, is in config.log if it exists.
16472 ac_cs_recheck=false
16475 SHELL=\${CONFIG_SHELL-$SHELL}
16478 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16479 ## -------------------- ##
16480 ## M4sh Initialization. ##
16481 ## -------------------- ##
16483 # Be more Bourne compatible
16484 DUALCASE=1; export DUALCASE # for MKS sh
16485 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16488 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16489 # is contrary to our usage. Disable this feature.
16490 alias -g '${1+"$@"}'='"$@"'
16491 setopt NO_GLOB_SUBST
16493 case `(set -o) 2>/dev/null` in #(
16505 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16506 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16507 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16508 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16509 # Prefer a ksh shell builtin over an external printf program on Solaris,
16510 # but without wasting forks for bash or zsh.
16511 if test -z "$BASH_VERSION$ZSH_VERSION" \
16512 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16513 as_echo='print -r --'
16514 as_echo_n='print -rn --'
16515 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16516 as_echo='printf %s\n'
16517 as_echo_n='printf %s'
16519 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16520 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16521 as_echo_n='/usr/ucb/echo -n'
16523 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16524 as_echo_n_body='eval
16528 expr "X$arg" : "X\\(.*\\)$as_nl";
16529 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16531 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16533 export as_echo_n_body
16534 as_echo_n='sh -c $as_echo_n_body as_echo'
16536 export as_echo_body
16537 as_echo='sh -c $as_echo_body as_echo'
16540 # The user is always right.
16541 if test "${PATH_SEPARATOR+set}" != set; then
16543 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16544 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16551 # We need space, tab and new line, in precisely that order. Quoting is
16552 # there to prevent editors from complaining about space-tab.
16553 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16554 # splitting by setting IFS to empty value.)
16557 # Find who we are. Look in the path if we contain no directory separator.
16559 *[\\/]* ) as_myself=$0 ;;
16560 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16561 for as_dir in $PATH
16564 test -z "$as_dir" && as_dir=.
16565 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16571 # We did not find ourselves, most probably we were run as `sh COMMAND'
16572 # in which case we are not to be found in the path.
16573 if test "x$as_myself" = x; then
16576 if test ! -f "$as_myself"; then
16577 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16581 # Unset variables that we do not need and which cause bugs (e.g. in
16582 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16583 # suppresses any "Segmentation fault" message there. '((' could
16584 # trigger a bug in pdksh 5.2.14.
16585 for as_var in BASH_ENV ENV MAIL MAILPATH
16586 do eval test x\${$as_var+set} = xset \
16587 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16600 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16603 # as_fn_error ERROR [LINENO LOG_FD]
16604 # ---------------------------------
16605 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16606 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16607 # script with status $?, using 1 if that was 0.
16610 as_status=$?; test $as_status -eq 0 && as_status=1
16612 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16613 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16615 $as_echo "$as_me: error: $1" >&2
16616 as_fn_exit $as_status
16620 # as_fn_set_status STATUS
16621 # -----------------------
16622 # Set $? to STATUS, without forking.
16623 as_fn_set_status ()
16626 } # as_fn_set_status
16628 # as_fn_exit STATUS
16629 # -----------------
16630 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16634 as_fn_set_status $1
16640 # Portably unset VAR.
16643 { eval $1=; unset $1;}
16645 as_unset=as_fn_unset
16646 # as_fn_append VAR VALUE
16647 # ----------------------
16648 # Append the text in VALUE to the end of the definition contained in VAR. Take
16649 # advantage of any shell optimizations that allow amortized linear growth over
16650 # repeated appends, instead of the typical quadratic growth present in naive
16652 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16653 eval 'as_fn_append ()
16664 # as_fn_arith ARG...
16665 # ------------------
16666 # Perform arithmetic evaluation on the ARGs, and store the result in the
16667 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16668 # must be portable across $(()) and expr.
16669 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16670 eval 'as_fn_arith ()
16677 as_val=`expr "$@" || test $? -eq 1`
16682 if expr a : '\(a\)' >/dev/null 2>&1 &&
16683 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16689 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16690 as_basename=basename
16695 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16701 as_me=`$as_basename -- "$0" ||
16702 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16703 X"$0" : 'X\(//\)$' \| \
16704 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16706 sed '/^.*\/\([^/][^/]*\)\/*$/{
16720 # Avoid depending upon Character Ranges.
16721 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16722 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16723 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16724 as_cr_digits='0123456789'
16725 as_cr_alnum=$as_cr_Letters$as_cr_digits
16727 ECHO_C= ECHO_N= ECHO_T=
16728 case `echo -n x` in #(((((
16730 case `echo 'xy\c'` in
16731 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16733 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16740 rm -f conf$$ conf$$.exe conf$$.file
16741 if test -d conf$$.dir; then
16742 rm -f conf$$.dir/conf$$.file
16745 mkdir conf$$.dir 2>/dev/null
16747 if (echo >conf$$.file) 2>/dev/null; then
16748 if ln -s conf$$.file conf$$ 2>/dev/null; then
16750 # ... but there are two gotchas:
16751 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16752 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16753 # In both cases, we have to default to `cp -p'.
16754 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16756 elif ln conf$$.file conf$$ 2>/dev/null; then
16764 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16765 rmdir conf$$.dir 2>/dev/null
16770 # Create "$as_dir" as a directory, including parents if necessary.
16775 -*) as_dir=./$as_dir;;
16777 test -d "$as_dir" || eval $as_mkdir_p || {
16781 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16782 *) as_qdir=$as_dir;;
16784 as_dirs="'$as_qdir' $as_dirs"
16785 as_dir=`$as_dirname -- "$as_dir" ||
16786 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16787 X"$as_dir" : 'X\(//\)[^/]' \| \
16788 X"$as_dir" : 'X\(//\)$' \| \
16789 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16790 $as_echo X"$as_dir" |
16791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16795 /^X\(\/\/\)[^/].*/{
16808 test -d "$as_dir" && break
16810 test -z "$as_dirs" || eval "mkdir $as_dirs"
16811 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16815 if mkdir -p . 2>/dev/null; then
16816 as_mkdir_p='mkdir -p "$as_dir"'
16818 test -d ./-p && rmdir ./-p
16822 if test -x / >/dev/null 2>&1; then
16823 as_test_x='test -x'
16825 if ls -dL / >/dev/null 2>&1; then
16832 if test -d "$1"; then
16838 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16839 ???[sx]*):;;*)false;;esac;fi
16843 as_executable_p=$as_test_x
16845 # Sed expression to map a string onto a valid CPP name.
16846 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16848 # Sed expression to map a string onto a valid variable name.
16849 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16853 ## ----------------------------------- ##
16854 ## Main body of $CONFIG_STATUS script. ##
16855 ## ----------------------------------- ##
16857 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16860 # Save the log message, to keep $0 and so on meaningful, and to
16861 # report actual input values of CONFIG_FILES etc. instead of their
16862 # values after options handling.
16864 This file was extended by HarfBuzz $as_me 0.9.3, which was
16865 generated by GNU Autoconf 2.65. Invocation command line was
16867 CONFIG_FILES = $CONFIG_FILES
16868 CONFIG_HEADERS = $CONFIG_HEADERS
16869 CONFIG_LINKS = $CONFIG_LINKS
16870 CONFIG_COMMANDS = $CONFIG_COMMANDS
16873 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16878 case $ac_config_files in *"
16879 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16882 case $ac_config_headers in *"
16883 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16888 # Files that config.status was made for.
16889 config_files="$ac_config_files"
16890 config_headers="$ac_config_headers"
16891 config_commands="$ac_config_commands"
16895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16897 \`$as_me' instantiates files and other configuration actions
16898 from templates according to the current configuration. Unless the files
16899 and actions are specified as TAGs, all are instantiated by default.
16901 Usage: $0 [OPTION]... [TAG]...
16903 -h, --help print this help, then exit
16904 -V, --version print version number and configuration settings, then exit
16905 --config print configuration, then exit
16906 -q, --quiet, --silent
16907 do not print progress messages
16908 -d, --debug don't remove temporary files
16909 --recheck update $as_me by reconfiguring in the same conditions
16910 --file=FILE[:TEMPLATE]
16911 instantiate the configuration file FILE
16912 --header=FILE[:TEMPLATE]
16913 instantiate the configuration header FILE
16915 Configuration files:
16918 Configuration headers:
16921 Configuration commands:
16924 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz>.
16925 HarfBuzz home page: <http://harfbuzz.org/>."
16928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16929 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16931 HarfBuzz config.status 0.9.3
16932 configured by $0, generated by GNU Autoconf 2.65,
16933 with options \\"\$ac_cs_config\\"
16935 Copyright (C) 2009 Free Software Foundation, Inc.
16936 This config.status script is free software; the Free Software Foundation
16937 gives unlimited permission to copy, distribute and modify it."
16944 test -n "\$AWK" || AWK=awk
16947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16948 # The default lists apply if the user does not specify any file.
16954 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16955 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16966 # Handling of the options.
16967 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16969 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16970 $as_echo "$ac_cs_version"; exit ;;
16971 --config | --confi | --conf | --con | --co | --c )
16972 $as_echo "$ac_cs_config"; exit ;;
16973 --debug | --debu | --deb | --de | --d | -d )
16975 --file | --fil | --fi | --f )
16978 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16980 as_fn_append CONFIG_FILES " '$ac_optarg'"
16981 ac_need_defaults=false;;
16982 --header | --heade | --head | --hea )
16985 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16987 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16988 ac_need_defaults=false;;
16990 # Conflict between --help and --header
16991 as_fn_error "ambiguous option: \`$1'
16992 Try \`$0 --help' for more information.";;
16993 --help | --hel | -h )
16994 $as_echo "$ac_cs_usage"; exit ;;
16995 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16996 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16999 # This is an error.
17000 -*) as_fn_error "unrecognized option: \`$1'
17001 Try \`$0 --help' for more information." ;;
17003 *) as_fn_append ac_config_targets " $1"
17004 ac_need_defaults=false ;;
17010 ac_configure_extra_args=
17012 if $ac_cs_silent; then
17014 ac_configure_extra_args="$ac_configure_extra_args --silent"
17018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17019 if \$ac_cs_recheck; then
17020 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17022 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17023 CONFIG_SHELL='$SHELL'
17024 export CONFIG_SHELL
17029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17033 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17034 ## Running $as_me. ##
17040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17044 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17047 # The HP-UX ksh and POSIX shell print the target directory to stdout
17048 # if CDPATH is set.
17049 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17051 sed_quote_subst='$sed_quote_subst'
17052 double_quote_subst='$double_quote_subst'
17053 delay_variable_subst='$delay_variable_subst'
17054 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17055 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17056 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17057 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17058 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17059 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17060 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17061 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17062 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17063 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17064 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17065 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17066 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17067 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17068 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17069 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17070 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17071 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17072 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17073 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17074 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17075 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17076 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17077 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17078 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17079 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17080 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17081 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17082 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17083 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17084 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17085 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17086 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17087 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17088 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17089 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17090 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17091 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17092 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17093 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17094 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17095 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17096 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17097 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17098 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
17099 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17100 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17101 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17102 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17103 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17104 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17105 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17106 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17107 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17108 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17109 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17110 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17111 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17112 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17113 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17114 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17115 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17116 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17117 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17118 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17119 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17120 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17121 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17122 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17123 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17124 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17125 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17126 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17127 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17128 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17129 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17130 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17131 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17132 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17133 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17134 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17135 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17136 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17137 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17138 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17139 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17140 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17141 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17142 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17143 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17144 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17145 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17146 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17147 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17148 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17149 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17150 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17151 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17152 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17153 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17154 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17155 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17156 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17157 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17158 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17159 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17160 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17161 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17162 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17163 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17164 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17165 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17166 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17167 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17168 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17169 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17170 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17171 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17172 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17173 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17174 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17175 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17176 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17177 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17178 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17179 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17180 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17181 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17182 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17183 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17184 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17185 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17186 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17187 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17188 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17189 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17190 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17191 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17192 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17193 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17194 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17195 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17196 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17197 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17198 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17199 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17200 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17201 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17202 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17203 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17204 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17205 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17206 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17207 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17208 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17209 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17210 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17211 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17212 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17213 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17214 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17215 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17216 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17217 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17218 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17219 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17220 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17221 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17222 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17223 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17224 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17227 LTCFLAGS='$LTCFLAGS'
17228 compiler='$compiler_DEFAULT'
17230 # Quote evaled strings.
17242 deplibs_check_method \
17251 lt_cv_sys_global_symbol_pipe \
17252 lt_cv_sys_global_symbol_to_cdecl \
17253 lt_cv_sys_global_symbol_to_c_name_address \
17254 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17257 lt_prog_compiler_no_builtin_flag \
17258 lt_prog_compiler_wl \
17259 lt_prog_compiler_pic \
17260 lt_prog_compiler_static \
17261 lt_cv_prog_compiler_c_o \
17269 export_dynamic_flag_spec \
17270 whole_archive_flag_spec \
17271 compiler_needs_object \
17273 allow_undefined_flag \
17274 no_undefined_flag \
17275 hardcode_libdir_flag_spec \
17276 hardcode_libdir_flag_spec_ld \
17277 hardcode_libdir_separator \
17282 variables_saved_for_relink \
17284 library_names_spec \
17289 compiler_lib_search_dirs \
17294 compiler_lib_search_path \
17297 lt_prog_compiler_no_builtin_flag_CXX \
17298 lt_prog_compiler_wl_CXX \
17299 lt_prog_compiler_pic_CXX \
17300 lt_prog_compiler_static_CXX \
17301 lt_cv_prog_compiler_c_o_CXX \
17302 export_dynamic_flag_spec_CXX \
17303 whole_archive_flag_spec_CXX \
17304 compiler_needs_object_CXX \
17306 allow_undefined_flag_CXX \
17307 no_undefined_flag_CXX \
17308 hardcode_libdir_flag_spec_CXX \
17309 hardcode_libdir_flag_spec_ld_CXX \
17310 hardcode_libdir_separator_CXX \
17311 fix_srcfile_path_CXX \
17312 exclude_expsyms_CXX \
17313 include_expsyms_CXX \
17314 file_list_spec_CXX \
17315 compiler_lib_search_dirs_CXX \
17316 predep_objects_CXX \
17317 postdep_objects_CXX \
17320 compiler_lib_search_path_CXX; do
17321 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17322 *[\\\\\\\`\\"\\\$]*)
17323 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17326 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17331 # Double-quote double-evaled strings.
17332 for var in reload_cmds \
17333 old_postinstall_cmds \
17334 old_postuninstall_cmds \
17336 extract_expsyms_cmds \
17337 old_archive_from_new_cmds \
17338 old_archive_from_expsyms_cmds \
17340 archive_expsym_cmds \
17342 module_expsym_cmds \
17343 export_symbols_cmds \
17346 postuninstall_cmds \
17348 sys_lib_search_path_spec \
17349 sys_lib_dlsearch_path_spec \
17350 old_archive_cmds_CXX \
17351 old_archive_from_new_cmds_CXX \
17352 old_archive_from_expsyms_cmds_CXX \
17354 archive_expsym_cmds_CXX \
17356 module_expsym_cmds_CXX \
17357 export_symbols_cmds_CXX \
17358 prelink_cmds_CXX; do
17359 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17360 *[\\\\\\\`\\"\\\$]*)
17361 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17364 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17369 # Fix-up fallback echo if it was mangled by the above quoting rules.
17371 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17375 ac_aux_dir='$ac_aux_dir'
17376 xsi_shell='$xsi_shell'
17377 lt_shell_append='$lt_shell_append'
17379 # See if we are running on zsh, and set the options which allow our
17380 # commands through without removal of \ escapes INIT.
17381 if test -n "\${ZSH_VERSION+set}" ; then
17382 setopt NO_GLOB_SUBST
17388 TIMESTAMP='$TIMESTAMP'
17399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17401 # Handling of arguments.
17402 for ac_config_target in $ac_config_targets
17404 case $ac_config_target in
17405 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17406 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17407 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17408 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17409 "harfbuzz.pc") CONFIG_FILES="$CONFIG_FILES harfbuzz.pc" ;;
17410 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17411 "src/hb-version.h") CONFIG_FILES="$CONFIG_FILES src/hb-version.h" ;;
17412 "src/hb-old/Makefile") CONFIG_FILES="$CONFIG_FILES src/hb-old/Makefile" ;;
17413 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
17414 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
17415 "test/api/Makefile") CONFIG_FILES="$CONFIG_FILES test/api/Makefile" ;;
17416 "test/shaping/Makefile") CONFIG_FILES="$CONFIG_FILES test/shaping/Makefile" ;;
17418 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17423 # If the user did not use the arguments to specify the items to instantiate,
17424 # then the envvar interface is used. Set only those that are not.
17425 # We use the long form for the default assignment because of an extremely
17426 # bizarre bug on SunOS 4.1.3.
17427 if $ac_need_defaults; then
17428 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17429 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17430 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17433 # Have a temporary directory for convenience. Make it in the build tree
17434 # simply because there is no reason against having it here, and in addition,
17435 # creating and moving files from /tmp can sometimes cause problems.
17436 # Hook for its removal unless debugging.
17437 # Note that there is a small window in which the directory will not be cleaned:
17438 # after its creation but before its name has been assigned to `$tmp'.
17442 trap 'exit_status=$?
17443 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17445 trap 'as_fn_exit 1' 1 2 13 15
17447 # Create a (secure) tmp directory for tmp files.
17450 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17451 test -n "$tmp" && test -d "$tmp"
17454 tmp=./conf$$-$RANDOM
17455 (umask 077 && mkdir "$tmp")
17456 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
17458 # Set up the scripts for CONFIG_FILES section.
17459 # No need to generate them if there are no CONFIG_FILES.
17460 # This happens for instance with `./config.status config.h'.
17461 if test -n "$CONFIG_FILES"; then
17464 ac_cr=`echo X | tr X '\015'`
17465 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17466 # But we know of no other shell where ac_cr would be empty at this
17467 # point, so we can use a bashism as a fallback.
17468 if test "x$ac_cr" = x; then
17469 eval ac_cr=\$\'\\r\'
17471 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17472 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17475 ac_cs_awk_cr=$ac_cr
17478 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17483 echo "cat >conf$$subs.awk <<_ACEOF" &&
17484 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17486 } >conf$$subs.sh ||
17487 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17488 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17490 for ac_last_try in false false false false false :; do
17491 . ./conf$$subs.sh ||
17492 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17494 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17495 if test $ac_delim_n = $ac_delim_num; then
17497 elif $ac_last_try; then
17498 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17500 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17503 rm -f conf$$subs.sh
17505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17506 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17510 s/^/S["/; s/!.*/"]=/
17520 s/\(.\{148\}\)..*/\1/
17522 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17527 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17534 s/\(.\{148\}\)..*/\1/
17536 s/["\\]/\\&/g; s/^/"/; s/$/"/
17540 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17545 ' <conf$$subs.awk | sed '
17550 ' >>$CONFIG_STATUS || ac_write_fail=1
17551 rm -f conf$$subs.awk
17552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17554 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17555 for (key in S) S_is_set[key] = 1
17561 nfields = split(line, field, "@")
17563 len = length(field[1])
17564 for (i = 2; i < nfields; i++) {
17566 keylen = length(key)
17567 if (S_is_set[key]) {
17569 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17570 len += length(value) + length(field[++i])
17581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17582 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17583 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17586 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17587 || as_fn_error "could not setup config files machinery" "$LINENO" 5
17590 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17591 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17592 # trailing colons and then remove the whole line if VPATH becomes empty
17593 # (actually we leave an empty line to preserve line numbers).
17594 if test "x$srcdir" = x.; then
17595 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17596 s/:*\$(srcdir):*/:/
17597 s/:*\${srcdir}:*/:/
17599 s/^\([^=]*=[ ]*\):*/\1/
17605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17606 fi # test -n "$CONFIG_FILES"
17608 # Set up the scripts for CONFIG_HEADERS section.
17609 # No need to generate them if there are no CONFIG_HEADERS.
17610 # This happens for instance with `./config.status Makefile'.
17611 if test -n "$CONFIG_HEADERS"; then
17612 cat >"$tmp/defines.awk" <<\_ACAWK ||
17616 # Transform confdefs.h into an awk script `defines.awk', embedded as
17617 # here-document in config.status, that substitutes the proper values into
17618 # config.h.in to produce config.h.
17620 # Create a delimiter string that does not exist in confdefs.h, to ease
17621 # handling of long lines.
17623 for ac_last_try in false false :; do
17624 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17625 if test -z "$ac_t"; then
17627 elif $ac_last_try; then
17628 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
17630 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17634 # For the awk script, D is an array of macro values keyed by name,
17635 # likewise P contains macro parameters if any. Preserve backslash
17636 # newline sequences.
17638 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17640 s/.\{148\}/&'"$ac_delim"'/g
17643 s/^[ ]*#[ ]*define[ ][ ]*/ /
17650 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17652 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17656 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17657 D["\1"]=" \3\\\\\\n"\\/p
17659 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17664 s/.\{148\}/&'"$ac_delim"'/g
17669 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17672 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17674 ' <confdefs.h | sed '
17675 s/'"$ac_delim"'/"\\\
17676 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17679 for (key in D) D_is_set[key] = 1
17682 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17684 split(line, arg, " ")
17685 if (arg[1] == "#") {
17689 defundef = substr(arg[1], 2)
17692 split(mac1, mac2, "(") #)
17694 prefix = substr(line, 1, index(line, defundef) - 1)
17695 if (D_is_set[macro]) {
17696 # Preserve the white space surrounding the "#".
17697 print prefix "define", macro P[macro] D[macro]
17700 # Replace #undef with comments. This is necessary, for example,
17701 # in the case of _POSIX_SOURCE, which is predefined and required
17702 # on some systems where configure will not decide to define it.
17703 if (defundef == "undef") {
17704 print "/*", prefix defundef, macro, "*/"
17712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17713 as_fn_error "could not setup config headers machinery" "$LINENO" 5
17714 fi # test -n "$CONFIG_HEADERS"
17717 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17722 :[FHLC]) ac_mode=$ac_tag; continue;;
17724 case $ac_mode$ac_tag in
17726 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
17727 :[FH]-) ac_tag=-:-;;
17728 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17745 -) ac_f="$tmp/stdin";;
17746 *) # Look for the file first in the build tree, then in the source tree
17747 # (if the path is not absolute). The absolute path cannot be DOS-style,
17748 # because $ac_f cannot contain `:'.
17752 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17754 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17756 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17757 as_fn_append ac_file_inputs " '$ac_f'"
17760 # Let's still pretend it is `configure' which instantiates (i.e., don't
17761 # use $as_me), people would be surprised to read:
17762 # /* config.h. Generated by config.status. */
17763 configure_input='Generated from '`
17764 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17766 if test x"$ac_file" != x-; then
17767 configure_input="$ac_file. $configure_input"
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17769 $as_echo "$as_me: creating $ac_file" >&6;}
17771 # Neutralize special characters interpreted by sed in replacement strings.
17772 case $configure_input in #(
17773 *\&* | *\|* | *\\* )
17774 ac_sed_conf_input=`$as_echo "$configure_input" |
17775 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17776 *) ac_sed_conf_input=$configure_input;;
17780 *:-:* | *:-) cat >"$tmp/stdin" \
17781 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
17786 ac_dir=`$as_dirname -- "$ac_file" ||
17787 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17788 X"$ac_file" : 'X\(//\)[^/]' \| \
17789 X"$ac_file" : 'X\(//\)$' \| \
17790 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17791 $as_echo X"$ac_file" |
17792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17796 /^X\(\/\/\)[^/].*/{
17809 as_dir="$ac_dir"; as_fn_mkdir_p
17813 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17815 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17816 # A ".." for each directory in $ac_dir_suffix.
17817 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17818 case $ac_top_builddir_sub in
17819 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17820 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17823 ac_abs_top_builddir=$ac_pwd
17824 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17825 # for backward compatibility:
17826 ac_top_builddir=$ac_top_build_prefix
17829 .) # We are building in place.
17831 ac_top_srcdir=$ac_top_builddir_sub
17832 ac_abs_top_srcdir=$ac_pwd ;;
17833 [\\/]* | ?:[\\/]* ) # Absolute name.
17834 ac_srcdir=$srcdir$ac_dir_suffix;
17835 ac_top_srcdir=$srcdir
17836 ac_abs_top_srcdir=$srcdir ;;
17837 *) # Relative name.
17838 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17839 ac_top_srcdir=$ac_top_build_prefix$srcdir
17840 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17842 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17852 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17853 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17855 ac_MKDIR_P=$MKDIR_P
17857 [\\/$]* | ?:[\\/]* ) ;;
17858 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17863 # If the template does not know about datarootdir, expand it.
17864 # FIXME: This hack should be removed a few years after 2.60.
17865 ac_datarootdir_hack=; ac_datarootdir_seen=
17876 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17877 *datarootdir*) ac_datarootdir_seen=yes;;
17878 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17880 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17883 ac_datarootdir_hack='
17884 s&@datadir@&$datadir&g
17885 s&@docdir@&$docdir&g
17886 s&@infodir@&$infodir&g
17887 s&@localedir@&$localedir&g
17888 s&@mandir@&$mandir&g
17889 s&\\\${datarootdir}&$datarootdir&g' ;;
17893 # Neutralize VPATH when `$srcdir' = `.'.
17894 # Shell code in configure.ac might set extrasub.
17895 # FIXME: do we really want to maintain this feature?
17896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17897 ac_sed_extra="$ac_vpsub
17900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17902 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17903 s|@configure_input@|$ac_sed_conf_input|;t t
17904 s&@top_builddir@&$ac_top_builddir_sub&;t t
17905 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17906 s&@srcdir@&$ac_srcdir&;t t
17907 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17908 s&@top_srcdir@&$ac_top_srcdir&;t t
17909 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17910 s&@builddir@&$ac_builddir&;t t
17911 s&@abs_builddir@&$ac_abs_builddir&;t t
17912 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17913 s&@INSTALL@&$ac_INSTALL&;t t
17914 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17915 $ac_datarootdir_hack
17917 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17918 || as_fn_error "could not create $ac_file" "$LINENO" 5
17920 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17921 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17922 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17924 which seems to be undefined. Please make sure it is defined." >&5
17925 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17926 which seems to be undefined. Please make sure it is defined." >&2;}
17930 -) cat "$tmp/out" && rm -f "$tmp/out";;
17931 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17933 || as_fn_error "could not create $ac_file" "$LINENO" 5
17939 if test x"$ac_file" != x-; then
17941 $as_echo "/* $configure_input */" \
17942 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17943 } >"$tmp/config.h" \
17944 || as_fn_error "could not create $ac_file" "$LINENO" 5
17945 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17947 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17950 mv "$tmp/config.h" "$ac_file" \
17951 || as_fn_error "could not create $ac_file" "$LINENO" 5
17954 $as_echo "/* $configure_input */" \
17955 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17956 || as_fn_error "could not create -" "$LINENO" 5
17958 # Compute "$ac_file"'s index in $config_headers.
17961 for _am_header in $config_headers :; do
17962 case $_am_header in
17963 $_am_arg | $_am_arg:* )
17966 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17969 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17970 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17971 X"$_am_arg" : 'X\(//\)[^/]' \| \
17972 X"$_am_arg" : 'X\(//\)$' \| \
17973 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17974 $as_echo X"$_am_arg" |
17975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17979 /^X\(\/\/\)[^/].*/{
17991 s/.*/./; q'`/stamp-h$_am_stamp_count
17994 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17995 $as_echo "$as_me: executing $ac_file commands" >&6;}
18000 case $ac_file$ac_mode in
18001 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18002 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18003 # are listed without --file. Let's play safe and only enable the eval
18004 # if we detect the quoting.
18005 case $CONFIG_FILES in
18006 *\'*) eval set x "$CONFIG_FILES" ;;
18007 *) set x $CONFIG_FILES ;;
18012 # Strip MF so we end up with the name of the file.
18013 mf=`echo "$mf" | sed -e 's/:.*$//'`
18014 # Check whether this is an Automake generated Makefile or not.
18015 # We used to match only the files named `Makefile.in', but
18016 # some people rename them; so instead we look at the file content.
18017 # Grep'ing the first line is not enough: some people post-process
18018 # each Makefile.in and add a new line on top of each file to say so.
18019 # Grep'ing the whole file is not good either: AIX grep has a line
18020 # limit of 2048, but all sed's we know have understand at least 4000.
18021 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18022 dirpart=`$as_dirname -- "$mf" ||
18023 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18024 X"$mf" : 'X\(//\)[^/]' \| \
18025 X"$mf" : 'X\(//\)$' \| \
18026 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18032 /^X\(\/\/\)[^/].*/{
18048 # Extract the definition of DEPDIR, am__include, and am__quote
18049 # from the Makefile without running `make'.
18050 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18051 test -z "$DEPDIR" && continue
18052 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18053 test -z "am__include" && continue
18054 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18055 # When using ansi2knr, U may be empty or an underscore; expand it
18056 U=`sed -n 's/^U = //p' < "$mf"`
18057 # Find all dependency output files, they are included files with
18058 # $(DEPDIR) in their names. We invoke sed twice because it is the
18059 # simplest approach to changing $(DEPDIR) to its actual value in the
18061 for file in `sed -n "
18062 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18063 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18064 # Make sure the directory exists.
18065 test -f "$dirpart/$file" && continue
18066 fdir=`$as_dirname -- "$file" ||
18067 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18068 X"$file" : 'X\(//\)[^/]' \| \
18069 X"$file" : 'X\(//\)$' \| \
18070 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18071 $as_echo X"$file" |
18072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18076 /^X\(\/\/\)[^/].*/{
18089 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18090 # echo "creating $dirpart/$file"
18091 echo '# dummy' > "$dirpart/$file"
18098 # See if we are running on zsh, and set the options which allow our
18099 # commands through without removal of \ escapes.
18100 if test -n "${ZSH_VERSION+set}" ; then
18101 setopt NO_GLOB_SUBST
18104 cfgfile="${ofile}T"
18105 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18108 cat <<_LT_EOF >> "$cfgfile"
18111 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18112 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18113 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18114 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18116 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18117 # 2006, 2007, 2008 Free Software Foundation, Inc.
18118 # Written by Gordon Matzigkeit, 1996
18120 # This file is part of GNU Libtool.
18122 # GNU Libtool is free software; you can redistribute it and/or
18123 # modify it under the terms of the GNU General Public License as
18124 # published by the Free Software Foundation; either version 2 of
18125 # the License, or (at your option) any later version.
18127 # As a special exception to the GNU General Public License,
18128 # if you distribute this file as part of a program or library that
18129 # is built using GNU Libtool, you may include this file under the
18130 # same distribution terms that you use for the rest of that program.
18132 # GNU Libtool is distributed in the hope that it will be useful,
18133 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18134 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18135 # GNU General Public License for more details.
18137 # You should have received a copy of the GNU General Public License
18138 # along with GNU Libtool; see the file COPYING. If not, a copy
18139 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18140 # obtained by writing to the Free Software Foundation, Inc.,
18141 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18144 # The names of the tagged configurations supported by this script.
18145 available_tags="CXX "
18147 # ### BEGIN LIBTOOL CONFIG
18149 # Which release of libtool.m4 was used?
18150 macro_version=$macro_version
18151 macro_revision=$macro_revision
18153 # Whether or not to build static libraries.
18154 build_old_libs=$enable_static
18156 # Whether or not to build shared libraries.
18157 build_libtool_libs=$enable_shared
18159 # What type of objects to build.
18162 # Whether or not to optimize for fast installation.
18163 fast_install=$enable_fast_install
18166 host_alias=$host_alias
18170 # The build system.
18171 build_alias=$build_alias
18175 # A sed program that does not truncate output.
18178 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18179 Xsed="\$SED -e 1s/^X//"
18181 # A grep program that handles long lines.
18187 # A literal string matcher.
18190 # A BSD- or MS-compatible name lister.
18193 # Whether we need soft or hard links.
18196 # What is the maximum length of a command?
18197 max_cmd_len=$max_cmd_len
18199 # Object file suffix (normally "o").
18202 # Executable file suffix (normally "").
18205 # whether the shell understands "unset".
18208 # turn spaces into newlines.
18211 # turn newlines into spaces.
18214 # How to create reloadable object files.
18215 reload_flag=$lt_reload_flag
18216 reload_cmds=$lt_reload_cmds
18218 # An object symbol dumper.
18219 OBJDUMP=$lt_OBJDUMP
18221 # Method to check whether dependent libraries are shared objects.
18222 deplibs_check_method=$lt_deplibs_check_method
18224 # Command to use when deplibs_check_method == "file_magic".
18225 file_magic_cmd=$lt_file_magic_cmd
18229 AR_FLAGS=$lt_AR_FLAGS
18231 # A symbol stripping program.
18234 # Commands used to install an old-style archive.
18236 old_postinstall_cmds=$lt_old_postinstall_cmds
18237 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18242 # LTCC compiler flags.
18243 LTCFLAGS=$lt_CFLAGS
18245 # Take the output of nm and produce a listing of raw symbols and C names.
18246 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18248 # Transform the output of nm in a proper C declaration.
18249 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18251 # Transform the output of nm in a C name address pair.
18252 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18254 # Transform the output of nm in a C name address pair when lib prefix is needed.
18255 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18257 # The name of the directory that contains temporary libtool files.
18260 # Shell to use when invoking shell scripts.
18263 # An echo program that does not interpret backslashes.
18266 # Used to examine libraries when file_magic_cmd begins with "file".
18267 MAGIC_CMD=$MAGIC_CMD
18269 # Must we lock files when doing compilation?
18270 need_locks=$lt_need_locks
18272 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18273 DSYMUTIL=$lt_DSYMUTIL
18275 # Tool to change global to local symbols on Mac OS X.
18278 # Tool to manipulate fat objects and archives on Mac OS X.
18281 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18284 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18285 OTOOL64=$lt_OTOOL64
18287 # Old archive suffix (normally "a").
18290 # Shared library suffix (normally ".so").
18291 shrext_cmds=$lt_shrext_cmds
18293 # The commands to extract the exported symbol list from a shared archive.
18294 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18296 # Variables whose values should be saved in libtool wrapper scripts and
18297 # restored at link time.
18298 variables_saved_for_relink=$lt_variables_saved_for_relink
18300 # Do we need the "lib" prefix for modules?
18301 need_lib_prefix=$need_lib_prefix
18303 # Do we need a version for libraries?
18304 need_version=$need_version
18306 # Library versioning type.
18307 version_type=$version_type
18309 # Shared library runtime path variable.
18310 runpath_var=$runpath_var
18312 # Shared library path variable.
18313 shlibpath_var=$shlibpath_var
18315 # Is shlibpath searched before the hard-coded library search path?
18316 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18318 # Format of library name prefix.
18319 libname_spec=$lt_libname_spec
18321 # List of archive names. First name is the real one, the rest are links.
18322 # The last name is the one that the linker finds with -lNAME
18323 library_names_spec=$lt_library_names_spec
18325 # The coded name of the library, if different from the real name.
18326 soname_spec=$lt_soname_spec
18328 # Command to use after installation of a shared archive.
18329 postinstall_cmds=$lt_postinstall_cmds
18331 # Command to use after uninstallation of a shared archive.
18332 postuninstall_cmds=$lt_postuninstall_cmds
18334 # Commands used to finish a libtool library installation in a directory.
18335 finish_cmds=$lt_finish_cmds
18337 # As "finish_cmds", except a single script fragment to be evaled but
18339 finish_eval=$lt_finish_eval
18341 # Whether we should hardcode library paths into libraries.
18342 hardcode_into_libs=$hardcode_into_libs
18344 # Compile-time system search path for libraries.
18345 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18347 # Run-time system search path for libraries.
18348 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18350 # Whether dlopen is supported.
18351 dlopen_support=$enable_dlopen
18353 # Whether dlopen of programs is supported.
18354 dlopen_self=$enable_dlopen_self
18356 # Whether dlopen of statically linked programs is supported.
18357 dlopen_self_static=$enable_dlopen_self_static
18359 # Commands to strip libraries.
18360 old_striplib=$lt_old_striplib
18361 striplib=$lt_striplib
18364 # The linker used to build libraries.
18367 # Commands used to build an old-style archive.
18368 old_archive_cmds=$lt_old_archive_cmds
18370 # A language specific compiler.
18373 # Is the compiler the GNU compiler?
18376 # Compiler flag to turn off builtin functions.
18377 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18379 # How to pass a linker flag through the compiler.
18380 wl=$lt_lt_prog_compiler_wl
18382 # Additional compiler flags for building library objects.
18383 pic_flag=$lt_lt_prog_compiler_pic
18385 # Compiler flag to prevent dynamic linking.
18386 link_static_flag=$lt_lt_prog_compiler_static
18388 # Does compiler simultaneously support -c and -o options?
18389 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18391 # Whether or not to add -lc for building shared libraries.
18392 build_libtool_need_lc=$archive_cmds_need_lc
18394 # Whether or not to disallow shared libs when runtime libs are static.
18395 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18397 # Compiler flag to allow reflexive dlopens.
18398 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18400 # Compiler flag to generate shared objects directly from archives.
18401 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18403 # Whether the compiler copes with passing no objects directly.
18404 compiler_needs_object=$lt_compiler_needs_object
18406 # Create an old-style archive from a shared archive.
18407 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18409 # Create a temporary old-style archive to link instead of a shared archive.
18410 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18412 # Commands used to build a shared archive.
18413 archive_cmds=$lt_archive_cmds
18414 archive_expsym_cmds=$lt_archive_expsym_cmds
18416 # Commands used to build a loadable module if different from building
18417 # a shared archive.
18418 module_cmds=$lt_module_cmds
18419 module_expsym_cmds=$lt_module_expsym_cmds
18421 # Whether we are building with GNU ld or not.
18422 with_gnu_ld=$lt_with_gnu_ld
18424 # Flag that allows shared libraries with undefined symbols to be built.
18425 allow_undefined_flag=$lt_allow_undefined_flag
18427 # Flag that enforces no undefined symbols.
18428 no_undefined_flag=$lt_no_undefined_flag
18430 # Flag to hardcode \$libdir into a binary during linking.
18431 # This must work even if \$libdir does not exist
18432 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18434 # If ld is used when linking, flag to hardcode \$libdir into a binary
18435 # during linking. This must work even if \$libdir does not exist.
18436 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18438 # Whether we need a single "-rpath" flag with a separated argument.
18439 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18441 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18442 # DIR into the resulting binary.
18443 hardcode_direct=$hardcode_direct
18445 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18446 # DIR into the resulting binary and the resulting library dependency is
18447 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18448 # library is relocated.
18449 hardcode_direct_absolute=$hardcode_direct_absolute
18451 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18452 # into the resulting binary.
18453 hardcode_minus_L=$hardcode_minus_L
18455 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18456 # into the resulting binary.
18457 hardcode_shlibpath_var=$hardcode_shlibpath_var
18459 # Set to "yes" if building a shared library automatically hardcodes DIR
18460 # into the library and all subsequent libraries and executables linked
18462 hardcode_automatic=$hardcode_automatic
18464 # Set to yes if linker adds runtime paths of dependent libraries
18465 # to runtime path list.
18466 inherit_rpath=$inherit_rpath
18468 # Whether libtool must link a program against all its dependency libraries.
18469 link_all_deplibs=$link_all_deplibs
18471 # Fix the shell variable \$srcfile for the compiler.
18472 fix_srcfile_path=$lt_fix_srcfile_path
18474 # Set to "yes" if exported symbols are required.
18475 always_export_symbols=$always_export_symbols
18477 # The commands to list exported symbols.
18478 export_symbols_cmds=$lt_export_symbols_cmds
18480 # Symbols that should not be listed in the preloaded symbols.
18481 exclude_expsyms=$lt_exclude_expsyms
18483 # Symbols that must always be exported.
18484 include_expsyms=$lt_include_expsyms
18486 # Commands necessary for linking programs (against libraries) with templates.
18487 prelink_cmds=$lt_prelink_cmds
18489 # Specify filename containing input files.
18490 file_list_spec=$lt_file_list_spec
18492 # How to hardcode a shared library path into an executable.
18493 hardcode_action=$hardcode_action
18495 # The directories searched by this compiler when creating a shared library.
18496 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18498 # Dependencies to place before and after the objects being linked to
18499 # create a shared library.
18500 predep_objects=$lt_predep_objects
18501 postdep_objects=$lt_postdep_objects
18502 predeps=$lt_predeps
18503 postdeps=$lt_postdeps
18505 # The library search path used internally by the compiler when linking
18506 # a shared library.
18507 compiler_lib_search_path=$lt_compiler_lib_search_path
18509 # ### END LIBTOOL CONFIG
18515 cat <<\_LT_EOF >> "$cfgfile"
18516 # AIX sometimes has problems with the GCC collect2 program. For some
18517 # reason, if we set the COLLECT_NAMES environment variable, the problems
18518 # vanish in a puff of smoke.
18519 if test "X${COLLECT_NAMES+set}" != Xset; then
18521 export COLLECT_NAMES
18528 ltmain="$ac_aux_dir/ltmain.sh"
18531 # We use sed instead of cat because bash on DJGPP gets confused if
18532 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18533 # text mode, it properly converts lines to CR/LF. This bash problem
18534 # is reportedly fixed, but why not run on old versions too?
18535 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18536 || (rm -f "$cfgfile"; exit 1)
18540 cat << \_LT_EOF >> "$cfgfile"
18542 # func_dirname file append nondir_replacement
18543 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18544 # otherwise set result to NONDIR_REPLACEMENT.
18548 */*) func_dirname_result="${1%/*}${2}" ;;
18549 * ) func_dirname_result="${3}" ;;
18553 # func_basename file
18556 func_basename_result="${1##*/}"
18559 # func_dirname_and_basename file append nondir_replacement
18560 # perform func_basename and func_dirname in a single function
18562 # dirname: Compute the dirname of FILE. If nonempty,
18563 # add APPEND to the result, otherwise set result
18564 # to NONDIR_REPLACEMENT.
18565 # value returned in "$func_dirname_result"
18566 # basename: Compute filename of FILE.
18567 # value retuned in "$func_basename_result"
18568 # Implementation must be kept synchronized with func_dirname
18569 # and func_basename. For efficiency, we do not delegate to
18570 # those functions but instead duplicate the functionality here.
18571 func_dirname_and_basename ()
18574 */*) func_dirname_result="${1%/*}${2}" ;;
18575 * ) func_dirname_result="${3}" ;;
18577 func_basename_result="${1##*/}"
18580 # func_stripname prefix suffix name
18581 # strip PREFIX and SUFFIX off of NAME.
18582 # PREFIX and SUFFIX must not contain globbing or regex special
18583 # characters, hashes, percent signs, but SUFFIX may contain a leading
18584 # dot (in which case that matches only a dot).
18587 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18588 # positional parameters, so assign one to ordinary parameter first.
18589 func_stripname_result=${3}
18590 func_stripname_result=${func_stripname_result#"${1}"}
18591 func_stripname_result=${func_stripname_result%"${2}"}
18597 func_opt_split_opt=${1%%=*}
18598 func_opt_split_arg=${1#*=}
18605 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18606 *) func_lo2o_result=${1} ;;
18610 # func_xform libobj-or-source
18613 func_xform_result=${1%.*}.lo
18616 # func_arith arithmetic-term...
18619 func_arith_result=$(( $* ))
18623 # STRING may not start with a hyphen.
18626 func_len_result=${#1}
18631 *) # Bourne compatible functions.
18632 cat << \_LT_EOF >> "$cfgfile"
18634 # func_dirname file append nondir_replacement
18635 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18636 # otherwise set result to NONDIR_REPLACEMENT.
18639 # Extract subdirectory from the argument.
18640 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18641 if test "X$func_dirname_result" = "X${1}"; then
18642 func_dirname_result="${3}"
18644 func_dirname_result="$func_dirname_result${2}"
18648 # func_basename file
18651 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18655 # func_stripname prefix suffix name
18656 # strip PREFIX and SUFFIX off of NAME.
18657 # PREFIX and SUFFIX must not contain globbing or regex special
18658 # characters, hashes, percent signs, but SUFFIX may contain a leading
18659 # dot (in which case that matches only a dot).
18660 # func_strip_suffix prefix name
18664 .*) func_stripname_result=`$ECHO "X${3}" \
18665 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18666 *) func_stripname_result=`$ECHO "X${3}" \
18667 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18672 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18673 my_sed_long_arg='1s/^-[^=]*=//'
18678 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18679 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18685 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18688 # func_xform libobj-or-source
18691 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18694 # func_arith arithmetic-term...
18697 func_arith_result=`expr "$@"`
18701 # STRING may not start with a hyphen.
18704 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18710 case $lt_shell_append in
18712 cat << \_LT_EOF >> "$cfgfile"
18714 # func_append var value
18715 # Append VALUE to the end of shell variable VAR.
18723 cat << \_LT_EOF >> "$cfgfile"
18725 # func_append var value
18726 # Append VALUE to the end of shell variable VAR.
18737 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18738 || (rm -f "$cfgfile"; exit 1)
18740 mv -f "$cfgfile" "$ofile" ||
18741 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18745 cat <<_LT_EOF >> "$ofile"
18747 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18749 # The linker used to build libraries.
18752 # Commands used to build an old-style archive.
18753 old_archive_cmds=$lt_old_archive_cmds_CXX
18755 # A language specific compiler.
18756 CC=$lt_compiler_CXX
18758 # Is the compiler the GNU compiler?
18761 # Compiler flag to turn off builtin functions.
18762 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18764 # How to pass a linker flag through the compiler.
18765 wl=$lt_lt_prog_compiler_wl_CXX
18767 # Additional compiler flags for building library objects.
18768 pic_flag=$lt_lt_prog_compiler_pic_CXX
18770 # Compiler flag to prevent dynamic linking.
18771 link_static_flag=$lt_lt_prog_compiler_static_CXX
18773 # Does compiler simultaneously support -c and -o options?
18774 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18776 # Whether or not to add -lc for building shared libraries.
18777 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18779 # Whether or not to disallow shared libs when runtime libs are static.
18780 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18782 # Compiler flag to allow reflexive dlopens.
18783 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18785 # Compiler flag to generate shared objects directly from archives.
18786 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18788 # Whether the compiler copes with passing no objects directly.
18789 compiler_needs_object=$lt_compiler_needs_object_CXX
18791 # Create an old-style archive from a shared archive.
18792 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18794 # Create a temporary old-style archive to link instead of a shared archive.
18795 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18797 # Commands used to build a shared archive.
18798 archive_cmds=$lt_archive_cmds_CXX
18799 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18801 # Commands used to build a loadable module if different from building
18802 # a shared archive.
18803 module_cmds=$lt_module_cmds_CXX
18804 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18806 # Whether we are building with GNU ld or not.
18807 with_gnu_ld=$lt_with_gnu_ld_CXX
18809 # Flag that allows shared libraries with undefined symbols to be built.
18810 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18812 # Flag that enforces no undefined symbols.
18813 no_undefined_flag=$lt_no_undefined_flag_CXX
18815 # Flag to hardcode \$libdir into a binary during linking.
18816 # This must work even if \$libdir does not exist
18817 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18819 # If ld is used when linking, flag to hardcode \$libdir into a binary
18820 # during linking. This must work even if \$libdir does not exist.
18821 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18823 # Whether we need a single "-rpath" flag with a separated argument.
18824 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18826 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18827 # DIR into the resulting binary.
18828 hardcode_direct=$hardcode_direct_CXX
18830 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18831 # DIR into the resulting binary and the resulting library dependency is
18832 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18833 # library is relocated.
18834 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18836 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18837 # into the resulting binary.
18838 hardcode_minus_L=$hardcode_minus_L_CXX
18840 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18841 # into the resulting binary.
18842 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18844 # Set to "yes" if building a shared library automatically hardcodes DIR
18845 # into the library and all subsequent libraries and executables linked
18847 hardcode_automatic=$hardcode_automatic_CXX
18849 # Set to yes if linker adds runtime paths of dependent libraries
18850 # to runtime path list.
18851 inherit_rpath=$inherit_rpath_CXX
18853 # Whether libtool must link a program against all its dependency libraries.
18854 link_all_deplibs=$link_all_deplibs_CXX
18856 # Fix the shell variable \$srcfile for the compiler.
18857 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18859 # Set to "yes" if exported symbols are required.
18860 always_export_symbols=$always_export_symbols_CXX
18862 # The commands to list exported symbols.
18863 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18865 # Symbols that should not be listed in the preloaded symbols.
18866 exclude_expsyms=$lt_exclude_expsyms_CXX
18868 # Symbols that must always be exported.
18869 include_expsyms=$lt_include_expsyms_CXX
18871 # Commands necessary for linking programs (against libraries) with templates.
18872 prelink_cmds=$lt_prelink_cmds_CXX
18874 # Specify filename containing input files.
18875 file_list_spec=$lt_file_list_spec_CXX
18877 # How to hardcode a shared library path into an executable.
18878 hardcode_action=$hardcode_action_CXX
18880 # The directories searched by this compiler when creating a shared library.
18881 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18883 # Dependencies to place before and after the objects being linked to
18884 # create a shared library.
18885 predep_objects=$lt_predep_objects_CXX
18886 postdep_objects=$lt_postdep_objects_CXX
18887 predeps=$lt_predeps_CXX
18888 postdeps=$lt_postdeps_CXX
18890 # The library search path used internally by the compiler when linking
18891 # a shared library.
18892 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18894 # ### END LIBTOOL TAG CONFIG: CXX
18905 ac_clean_files=$ac_clean_files_save
18907 test $ac_write_fail = 0 ||
18908 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
18911 # configure is writing to config.log, and then calls config.status.
18912 # config.status does its own redirection, appending to config.log.
18913 # Unfortunately, on DOS this fails, as config.log is still kept open
18914 # by configure, so config.status won't be able to write to it; its
18915 # output is simply discarded. So we exec the FD to /dev/null,
18916 # effectively closing config.log, so it can be properly (re)opened and
18917 # appended to by config.status. When coming back to configure, we
18918 # need to make the FD available again.
18919 if test "$no_create" != yes; then
18921 ac_config_status_args=
18922 test "$silent" = yes &&
18923 ac_config_status_args="$ac_config_status_args --quiet"
18925 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18927 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18928 # would make configure fail if this is the last instruction.
18929 $ac_cs_success || as_fn_exit $?
18931 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18933 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}