3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.65 for libdispatch 1.0.
6 # Report bugs to <libdispatch@macosforge.org>.
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71 as_echo_n='sh -c $as_echo_n_body as_echo'
74 as_echo='sh -c $as_echo_body as_echo'
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
94 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
227 if test x$as_have_required = xno; then :
228 $as_echo "$0: This script requires a shell more modern than all"
229 $as_echo "$0: the shells that I found on your system."
230 if test x${ZSH_VERSION+set} = xset ; then
231 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
232 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
234 $as_echo "$0: Please tell bug-autoconf@gnu.org and
235 $0: libdispatch@macosforge.org about your system, including
236 $0: any error possibly output before this message. Then
237 $0: install a modern shell, or manually run the script
238 $0: under such a shell if you do have one."
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='libdispatch'
704 PACKAGE_TARNAME='libdispatch'
705 PACKAGE_VERSION='1.0'
706 PACKAGE_STRING='libdispatch 1.0'
707 PACKAGE_BUGREPORT='libdispatch@macosforge.org'
710 # Factoring default headers for most tests.
711 ac_includes_default="\
713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h>
716 #ifdef HAVE_SYS_STAT_H
717 # include <sys/stat.h>
723 # ifdef HAVE_STDLIB_H
728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
733 #ifdef HAVE_STRINGS_H
734 # include <strings.h>
736 #ifdef HAVE_INTTYPES_H
737 # include <inttypes.h>
746 ac_subst_vars='am__EXEEXT_FALSE
756 HAVE_POSIX_SPAWN_START_SUSPENDED_FALSE
757 HAVE_POSIX_SPAWN_START_SUSPENDED_TRUE
760 HAVE_CORESERVICES_FALSE
761 HAVE_CORESERVICES_TRUE
786 INSTALL_STRIP_PROGRAM
844 APPLE_XNU_SOURCE_PATH
845 APPLE_LIBC_SOURCE_PATH
847 MAINTAINER_MODE_FALSE
876 program_transform_name
889 enable_option_checking
890 enable_maintainer_mode
891 with_apple_libc_source
892 with_apple_xnu_source
894 enable_libdispatch_init_constructor
895 enable_apple_crashreporter_info
896 enable_apple_tsd_optimizations
897 enable_apple_semaphore_optimizations
904 enable_dependency_tracking
907 ac_precious_vars='build_alias
925 # Initialize some variables set by options.
927 ac_init_version=false
928 ac_unrecognized_opts=
930 # The variables have the same names as the options, with
931 # dashes changed to underlines.
939 program_transform_name=s,x,x,
947 # Installation directory options.
948 # These are left unexpanded so users can "make install exec_prefix=/foo"
949 # and all the variables that are supposed to be based on exec_prefix
950 # by default will actually change.
951 # Use braces instead of parens because sh, perl, etc. also accept them.
952 # (The list follows the same order as the GNU Coding Standards.)
953 bindir='${exec_prefix}/bin'
954 sbindir='${exec_prefix}/sbin'
955 libexecdir='${exec_prefix}/libexec'
956 datarootdir='${prefix}/share'
957 datadir='${datarootdir}'
958 sysconfdir='${prefix}/etc'
959 sharedstatedir='${prefix}/com'
960 localstatedir='${prefix}/var'
961 includedir='${prefix}/include'
962 oldincludedir='/usr/include'
963 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
964 infodir='${datarootdir}/info'
969 libdir='${exec_prefix}/lib'
970 localedir='${datarootdir}/locale'
971 mandir='${datarootdir}/man'
977 # If the previous option needs an argument, assign it.
978 if test -n "$ac_prev"; then
979 eval $ac_prev=\$ac_option
985 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
989 # Accept the important Cygnus configure options, so we can diagnose typos.
991 case $ac_dashdash$ac_option in
995 -bindir | --bindir | --bindi | --bind | --bin | --bi)
997 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1000 -build | --build | --buil | --bui | --bu)
1001 ac_prev=build_alias ;;
1002 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1003 build_alias=$ac_optarg ;;
1005 -cache-file | --cache-file | --cache-fil | --cache-fi \
1006 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1007 ac_prev=cache_file ;;
1008 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1009 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1010 cache_file=$ac_optarg ;;
1012 --config-cache | -C)
1013 cache_file=config.cache ;;
1015 -datadir | --datadir | --datadi | --datad)
1017 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1018 datadir=$ac_optarg ;;
1020 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1021 | --dataroo | --dataro | --datar)
1022 ac_prev=datarootdir ;;
1023 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1024 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1025 datarootdir=$ac_optarg ;;
1027 -disable-* | --disable-*)
1028 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1031 as_fn_error "invalid feature name: $ac_useropt"
1032 ac_useropt_orig=$ac_useropt
1033 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034 case $ac_user_opts in
1036 "enable_$ac_useropt"
1038 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1039 ac_unrecognized_sep=', ';;
1041 eval enable_$ac_useropt=no ;;
1043 -docdir | --docdir | --docdi | --doc | --do)
1045 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1046 docdir=$ac_optarg ;;
1048 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1050 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1051 dvidir=$ac_optarg ;;
1053 -enable-* | --enable-*)
1054 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1057 as_fn_error "invalid feature name: $ac_useropt"
1058 ac_useropt_orig=$ac_useropt
1059 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060 case $ac_user_opts in
1062 "enable_$ac_useropt"
1064 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1065 ac_unrecognized_sep=', ';;
1067 eval enable_$ac_useropt=\$ac_optarg ;;
1069 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1070 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1071 | --exec | --exe | --ex)
1072 ac_prev=exec_prefix ;;
1073 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1074 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1075 | --exec=* | --exe=* | --ex=*)
1076 exec_prefix=$ac_optarg ;;
1078 -gas | --gas | --ga | --g)
1079 # Obsolete; use --with-gas.
1082 -help | --help | --hel | --he | -h)
1083 ac_init_help=long ;;
1084 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1085 ac_init_help=recursive ;;
1086 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1087 ac_init_help=short ;;
1089 -host | --host | --hos | --ho)
1090 ac_prev=host_alias ;;
1091 -host=* | --host=* | --hos=* | --ho=*)
1092 host_alias=$ac_optarg ;;
1094 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1096 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1098 htmldir=$ac_optarg ;;
1100 -includedir | --includedir | --includedi | --included | --include \
1101 | --includ | --inclu | --incl | --inc)
1102 ac_prev=includedir ;;
1103 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1104 | --includ=* | --inclu=* | --incl=* | --inc=*)
1105 includedir=$ac_optarg ;;
1107 -infodir | --infodir | --infodi | --infod | --info | --inf)
1109 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1110 infodir=$ac_optarg ;;
1112 -libdir | --libdir | --libdi | --libd)
1114 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1115 libdir=$ac_optarg ;;
1117 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1118 | --libexe | --libex | --libe)
1119 ac_prev=libexecdir ;;
1120 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1121 | --libexe=* | --libex=* | --libe=*)
1122 libexecdir=$ac_optarg ;;
1124 -localedir | --localedir | --localedi | --localed | --locale)
1125 ac_prev=localedir ;;
1126 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1127 localedir=$ac_optarg ;;
1129 -localstatedir | --localstatedir | --localstatedi | --localstated \
1130 | --localstate | --localstat | --localsta | --localst | --locals)
1131 ac_prev=localstatedir ;;
1132 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1133 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1134 localstatedir=$ac_optarg ;;
1136 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1138 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1139 mandir=$ac_optarg ;;
1141 -nfp | --nfp | --nf)
1142 # Obsolete; use --without-fp.
1145 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1146 | --no-cr | --no-c | -n)
1149 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1150 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1153 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1154 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1155 | --oldin | --oldi | --old | --ol | --o)
1156 ac_prev=oldincludedir ;;
1157 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1158 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1159 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1160 oldincludedir=$ac_optarg ;;
1162 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1164 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1165 prefix=$ac_optarg ;;
1167 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1168 | --program-pre | --program-pr | --program-p)
1169 ac_prev=program_prefix ;;
1170 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1171 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1172 program_prefix=$ac_optarg ;;
1174 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1175 | --program-suf | --program-su | --program-s)
1176 ac_prev=program_suffix ;;
1177 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1178 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1179 program_suffix=$ac_optarg ;;
1181 -program-transform-name | --program-transform-name \
1182 | --program-transform-nam | --program-transform-na \
1183 | --program-transform-n | --program-transform- \
1184 | --program-transform | --program-transfor \
1185 | --program-transfo | --program-transf \
1186 | --program-trans | --program-tran \
1187 | --progr-tra | --program-tr | --program-t)
1188 ac_prev=program_transform_name ;;
1189 -program-transform-name=* | --program-transform-name=* \
1190 | --program-transform-nam=* | --program-transform-na=* \
1191 | --program-transform-n=* | --program-transform-=* \
1192 | --program-transform=* | --program-transfor=* \
1193 | --program-transfo=* | --program-transf=* \
1194 | --program-trans=* | --program-tran=* \
1195 | --progr-tra=* | --program-tr=* | --program-t=*)
1196 program_transform_name=$ac_optarg ;;
1198 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1200 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1201 pdfdir=$ac_optarg ;;
1203 -psdir | --psdir | --psdi | --psd | --ps)
1205 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1208 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1209 | -silent | --silent | --silen | --sile | --sil)
1212 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1214 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1216 sbindir=$ac_optarg ;;
1218 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1219 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1220 | --sharedst | --shareds | --shared | --share | --shar \
1222 ac_prev=sharedstatedir ;;
1223 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1224 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1225 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1227 sharedstatedir=$ac_optarg ;;
1229 -site | --site | --sit)
1231 -site=* | --site=* | --sit=*)
1234 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1236 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1237 srcdir=$ac_optarg ;;
1239 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1240 | --syscon | --sysco | --sysc | --sys | --sy)
1241 ac_prev=sysconfdir ;;
1242 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1243 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1244 sysconfdir=$ac_optarg ;;
1246 -target | --target | --targe | --targ | --tar | --ta | --t)
1247 ac_prev=target_alias ;;
1248 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1249 target_alias=$ac_optarg ;;
1251 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1254 -version | --version | --versio | --versi | --vers | -V)
1255 ac_init_version=: ;;
1258 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1259 # Reject names that are not valid shell variable names.
1260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1261 as_fn_error "invalid package name: $ac_useropt"
1262 ac_useropt_orig=$ac_useropt
1263 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1264 case $ac_user_opts in
1268 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1269 ac_unrecognized_sep=', ';;
1271 eval with_$ac_useropt=\$ac_optarg ;;
1273 -without-* | --without-*)
1274 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1275 # Reject names that are not valid shell variable names.
1276 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1277 as_fn_error "invalid package name: $ac_useropt"
1278 ac_useropt_orig=$ac_useropt
1279 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1280 case $ac_user_opts in
1284 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1285 ac_unrecognized_sep=', ';;
1287 eval with_$ac_useropt=no ;;
1290 # Obsolete; use --with-x.
1293 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1294 | --x-incl | --x-inc | --x-in | --x-i)
1295 ac_prev=x_includes ;;
1296 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1297 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1298 x_includes=$ac_optarg ;;
1300 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1301 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1302 ac_prev=x_libraries ;;
1303 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1304 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1305 x_libraries=$ac_optarg ;;
1307 -*) as_fn_error "unrecognized option: \`$ac_option'
1308 Try \`$0 --help' for more information."
1312 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1313 # Reject names that are not valid shell variable names.
1314 case $ac_envvar in #(
1315 '' | [0-9]* | *[!_$as_cr_alnum]* )
1316 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1318 eval $ac_envvar=\$ac_optarg
1319 export $ac_envvar ;;
1322 # FIXME: should be removed in autoconf 3.0.
1323 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1324 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1325 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1326 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1332 if test -n "$ac_prev"; then
1333 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1334 as_fn_error "missing argument to $ac_option"
1337 if test -n "$ac_unrecognized_opts"; then
1338 case $enable_option_checking in
1340 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1341 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1345 # Check all directory arguments for consistency.
1346 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1347 datadir sysconfdir sharedstatedir localstatedir includedir \
1348 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1349 libdir localedir mandir
1351 eval ac_val=\$$ac_var
1352 # Remove trailing slashes.
1355 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1356 eval $ac_var=\$ac_val;;
1358 # Be sure to have absolute directory names.
1360 [\\/$]* | ?:[\\/]* ) continue;;
1361 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1363 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1366 # There might be people who depend on the old broken behavior: `$host'
1367 # used to hold the argument of --host etc.
1368 # FIXME: To remove some day.
1371 target=$target_alias
1373 # FIXME: To remove some day.
1374 if test "x$host_alias" != x; then
1375 if test "x$build_alias" = x; then
1376 cross_compiling=maybe
1377 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1378 If a cross compiler is detected then cross compile mode will be used." >&2
1379 elif test "x$build_alias" != "x$host_alias"; then
1385 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1387 test "$silent" = yes && exec 6>/dev/null
1390 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1391 ac_ls_di=`ls -di .` &&
1392 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1393 as_fn_error "working directory cannot be determined"
1394 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1395 as_fn_error "pwd does not report name of working directory"
1398 # Find the source files, if location was not specified.
1399 if test -z "$srcdir"; then
1400 ac_srcdir_defaulted=yes
1401 # Try the directory containing this script, then the parent directory.
1402 ac_confdir=`$as_dirname -- "$as_myself" ||
1403 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1404 X"$as_myself" : 'X\(//\)[^/]' \| \
1405 X"$as_myself" : 'X\(//\)$' \| \
1406 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1407 $as_echo X"$as_myself" |
1408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1426 if test ! -r "$srcdir/$ac_unique_file"; then
1430 ac_srcdir_defaulted=no
1432 if test ! -r "$srcdir/$ac_unique_file"; then
1433 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1434 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1436 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1438 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1440 # When building in place, set srcdir=.
1441 if test "$ac_abs_confdir" = "$ac_pwd"; then
1444 # Remove unnecessary trailing slashes from srcdir.
1445 # Double slashes in file names in object file debugging info
1446 # mess up M-x gdb in Emacs.
1448 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1450 for ac_var in $ac_precious_vars; do
1451 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1452 eval ac_env_${ac_var}_value=\$${ac_var}
1453 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1454 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1458 # Report the --help message.
1460 if test "$ac_init_help" = "long"; then
1461 # Omit some internal or obsolete options to make the list less imposing.
1462 # This message is too long to be a string in the A/UX 3.1 sh.
1464 \`configure' configures libdispatch 1.0 to adapt to many kinds of systems.
1466 Usage: $0 [OPTION]... [VAR=VALUE]...
1468 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1469 VAR=VALUE. See below for descriptions of some of the useful variables.
1471 Defaults for the options are specified in brackets.
1474 -h, --help display this help and exit
1475 --help=short display options specific to this package
1476 --help=recursive display the short help of all the included packages
1477 -V, --version display version information and exit
1478 -q, --quiet, --silent do not print \`checking...' messages
1479 --cache-file=FILE cache test results in FILE [disabled]
1480 -C, --config-cache alias for \`--cache-file=config.cache'
1481 -n, --no-create do not create output files
1482 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1484 Installation directories:
1485 --prefix=PREFIX install architecture-independent files in PREFIX
1486 [$ac_default_prefix]
1487 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1490 By default, \`make install' will install all the files in
1491 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1492 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1493 for instance \`--prefix=\$HOME'.
1495 For better control, use the options below.
1497 Fine tuning of the installation directories:
1498 --bindir=DIR user executables [EPREFIX/bin]
1499 --sbindir=DIR system admin executables [EPREFIX/sbin]
1500 --libexecdir=DIR program executables [EPREFIX/libexec]
1501 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1502 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1503 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1504 --libdir=DIR object code libraries [EPREFIX/lib]
1505 --includedir=DIR C header files [PREFIX/include]
1506 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1507 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1508 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1509 --infodir=DIR info documentation [DATAROOTDIR/info]
1510 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1511 --mandir=DIR man documentation [DATAROOTDIR/man]
1512 --docdir=DIR documentation root [DATAROOTDIR/doc/libdispatch]
1513 --htmldir=DIR html documentation [DOCDIR]
1514 --dvidir=DIR dvi documentation [DOCDIR]
1515 --pdfdir=DIR pdf documentation [DOCDIR]
1516 --psdir=DIR ps documentation [DOCDIR]
1522 --program-prefix=PREFIX prepend PREFIX to installed program names
1523 --program-suffix=SUFFIX append SUFFIX to installed program names
1524 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1527 --build=BUILD configure for building on BUILD [guessed]
1528 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1532 if test -n "$ac_init_help"; then
1533 case $ac_init_help in
1534 short | recursive ) echo "Configuration of libdispatch 1.0:";;
1539 --disable-option-checking ignore unrecognized --enable/--with options
1540 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1541 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1542 --enable-maintainer-mode enable make rules and dependencies not useful
1543 (and sometimes confusing) to the casual installer
1544 --enable-legacy-api Enable legacy (deprecated) API.
1546 --disable-libdispatch-init-constructor
1547 Disable libdispatch_init as a constructor
1549 --enable-apple-crashreporter-info
1550 Use Mac OS X crashreporter info
1552 --enable-apple-tsd-optimizations
1553 Use non-portable pthread TSD optimizations for Mac
1556 --enable-apple-semaphore-optimizations
1557 Use non-portable semaphore optimizations for Mac OS
1560 --enable-shared[=PKGS] build shared libraries [default=yes]
1561 --enable-static[=PKGS] build static libraries [default=yes]
1562 --enable-fast-install[=PKGS]
1563 optimize for fast installation [default=yes]
1564 --disable-libtool-lock avoid locking (might break parallel builds)
1565 --disable-dependency-tracking speeds up one-time build
1566 --enable-dependency-tracking do not reject slow dependency extractors
1569 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1570 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1571 --with-apple-libc-source
1572 Specify path to Apple Libc source
1573 --with-apple-xnu-source Specify path to Apple XNU source
1574 --with-pic try to use only PIC/non-PIC objects [default=use
1576 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1577 --with-blocks-runtime Specify path to the blocks runtime
1579 Some influential environment variables:
1580 CC C compiler command
1581 CFLAGS C compiler flags
1582 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1583 nonstandard directory <lib dir>
1584 LIBS libraries to pass to the linker, e.g. -l<library>
1585 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1586 you have headers in a nonstandard directory <include dir>
1588 CXX C++ compiler command
1589 CXXFLAGS C++ compiler flags
1590 CXXCPP C++ preprocessor
1591 PKG_CONFIG path to pkg-config utility
1593 C compiler flags for KQUEUE, overriding pkg-config
1594 KQUEUE_LIBS linker flags for KQUEUE, overriding pkg-config
1596 Use these variables to override the choices made by `configure' or to help
1597 it to find libraries and programs with nonstandard names/locations.
1599 Report bugs to <libdispatch@macosforge.org>.
1604 if test "$ac_init_help" = "recursive"; then
1605 # If there are subdirs, report their specific --help.
1606 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1607 test -d "$ac_dir" ||
1608 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1613 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1615 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1616 # A ".." for each directory in $ac_dir_suffix.
1617 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1618 case $ac_top_builddir_sub in
1619 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1620 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1623 ac_abs_top_builddir=$ac_pwd
1624 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1625 # for backward compatibility:
1626 ac_top_builddir=$ac_top_build_prefix
1629 .) # We are building in place.
1631 ac_top_srcdir=$ac_top_builddir_sub
1632 ac_abs_top_srcdir=$ac_pwd ;;
1633 [\\/]* | ?:[\\/]* ) # Absolute name.
1634 ac_srcdir=$srcdir$ac_dir_suffix;
1635 ac_top_srcdir=$srcdir
1636 ac_abs_top_srcdir=$srcdir ;;
1638 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1639 ac_top_srcdir=$ac_top_build_prefix$srcdir
1640 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1642 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1644 cd "$ac_dir" || { ac_status=$?; continue; }
1645 # Check for guested configure.
1646 if test -f "$ac_srcdir/configure.gnu"; then
1648 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1649 elif test -f "$ac_srcdir/configure"; then
1651 $SHELL "$ac_srcdir/configure" --help=recursive
1653 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1655 cd "$ac_pwd" || { ac_status=$?; break; }
1659 test -n "$ac_init_help" && exit $ac_status
1660 if $ac_init_version; then
1662 libdispatch configure 1.0
1663 generated by GNU Autoconf 2.65
1665 Copyright (C) 2009 Free Software Foundation, Inc.
1666 This configure script is free software; the Free Software Foundation
1667 gives unlimited permission to copy, distribute and modify it.
1672 ## ------------------------ ##
1673 ## Autoconf initialization. ##
1674 ## ------------------------ ##
1676 # ac_fn_c_try_compile LINENO
1677 # --------------------------
1678 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1679 ac_fn_c_try_compile ()
1681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682 rm -f conftest.$ac_objext
1683 if { { ac_try="$ac_compile"
1685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1686 *) ac_try_echo=$ac_try;;
1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_compile") 2>conftest.err
1692 if test -s conftest.err; then
1693 grep -v '^ *+' conftest.err >conftest.er1
1694 cat conftest.er1 >&5
1695 mv -f conftest.er1 conftest.err
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; } && {
1699 test -z "$ac_c_werror_flag" ||
1700 test ! -s conftest.err
1701 } && test -s conftest.$ac_objext; then :
1704 $as_echo "$as_me: failed program was:" >&5
1705 sed 's/^/| /' conftest.$ac_ext >&5
1709 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1710 as_fn_set_status $ac_retval
1712 } # ac_fn_c_try_compile
1714 # ac_fn_c_try_cpp LINENO
1715 # ----------------------
1716 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 if { { ac_try="$ac_cpp conftest.$ac_ext"
1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1729 if test -s conftest.err; then
1730 grep -v '^ *+' conftest.err >conftest.er1
1731 cat conftest.er1 >&5
1732 mv -f conftest.er1 conftest.err
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } >/dev/null && {
1736 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1737 test ! -s conftest.err
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1746 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1747 as_fn_set_status $ac_retval
1751 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1752 # -------------------------------------------------------
1753 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1754 # the include files in INCLUDES and setting the cache variable VAR
1756 ac_fn_c_check_header_mongrel ()
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761 $as_echo_n "checking for $2... " >&6; }
1762 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1763 $as_echo_n "(cached) " >&6
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1767 $as_echo "$ac_res" >&6; }
1769 # Is the header compilable?
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1771 $as_echo_n "checking $2 usability... " >&6; }
1772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1773 /* end confdefs.h. */
1777 if ac_fn_c_try_compile "$LINENO"; then :
1778 ac_header_compiler=yes
1780 ac_header_compiler=no
1782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1784 $as_echo "$ac_header_compiler" >&6; }
1786 # Is the header present?
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1788 $as_echo_n "checking $2 presence... " >&6; }
1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1793 if ac_fn_c_try_cpp "$LINENO"; then :
1794 ac_header_preproc=yes
1796 ac_header_preproc=no
1798 rm -f conftest.err conftest.$ac_ext
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1800 $as_echo "$ac_header_preproc" >&6; }
1802 # So? What about this header?
1803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1806 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1808 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1812 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1814 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1816 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1818 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1820 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1822 ## ----------------------------------------- ##
1823 ## Report this to libdispatch@macosforge.org ##
1824 ## ----------------------------------------- ##
1826 ) | sed "s/^/$as_me: WARNING: /" >&2
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1830 $as_echo_n "checking for $2... " >&6; }
1831 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1832 $as_echo_n "(cached) " >&6
1834 eval "$3=\$ac_header_compiler"
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1838 $as_echo "$ac_res" >&6; }
1840 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842 } # ac_fn_c_check_header_mongrel
1844 # ac_fn_c_try_run LINENO
1845 # ----------------------
1846 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1847 # that executables *can* be run.
1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 if { { ac_try="$ac_link"
1853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1854 *) ac_try_echo=$ac_try;;
1856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857 $as_echo "$ac_try_echo"; } >&5
1858 (eval "$ac_link") 2>&5
1860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1861 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1862 { { case "(($ac_try" in
1863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1864 *) ac_try_echo=$ac_try;;
1866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867 $as_echo "$ac_try_echo"; } >&5
1868 (eval "$ac_try") 2>&5
1870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871 test $ac_status = 0; }; }; then :
1874 $as_echo "$as_me: program exited with status $ac_status" >&5
1875 $as_echo "$as_me: failed program was:" >&5
1876 sed 's/^/| /' conftest.$ac_ext >&5
1878 ac_retval=$ac_status
1880 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1881 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1882 as_fn_set_status $ac_retval
1886 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1887 # -------------------------------------------------------
1888 # Tests whether HEADER exists and can be compiled using the include files in
1889 # INCLUDES, setting the cache variable VAR accordingly.
1890 ac_fn_c_check_header_compile ()
1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894 $as_echo_n "checking for $2... " >&6; }
1895 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1896 $as_echo_n "(cached) " >&6
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h. */
1903 if ac_fn_c_try_compile "$LINENO"; then :
1908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1912 $as_echo "$ac_res" >&6; }
1913 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1915 } # ac_fn_c_check_header_compile
1917 # ac_fn_cxx_try_compile LINENO
1918 # ----------------------------
1919 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1920 ac_fn_cxx_try_compile ()
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 rm -f conftest.$ac_objext
1924 if { { ac_try="$ac_compile"
1926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1927 *) ac_try_echo=$ac_try;;
1929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1930 $as_echo "$ac_try_echo"; } >&5
1931 (eval "$ac_compile") 2>conftest.err
1933 if test -s conftest.err; then
1934 grep -v '^ *+' conftest.err >conftest.er1
1935 cat conftest.er1 >&5
1936 mv -f conftest.er1 conftest.err
1938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1939 test $ac_status = 0; } && {
1940 test -z "$ac_cxx_werror_flag" ||
1941 test ! -s conftest.err
1942 } && test -s conftest.$ac_objext; then :
1945 $as_echo "$as_me: failed program was:" >&5
1946 sed 's/^/| /' conftest.$ac_ext >&5
1950 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1951 as_fn_set_status $ac_retval
1953 } # ac_fn_cxx_try_compile
1955 # ac_fn_c_try_link LINENO
1956 # -----------------------
1957 # Try to link conftest.$ac_ext, and return whether this succeeded.
1960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961 rm -f conftest.$ac_objext conftest$ac_exeext
1962 if { { ac_try="$ac_link"
1964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1965 *) ac_try_echo=$ac_try;;
1967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1968 $as_echo "$ac_try_echo"; } >&5
1969 (eval "$ac_link") 2>conftest.err
1971 if test -s conftest.err; then
1972 grep -v '^ *+' conftest.err >conftest.er1
1973 cat conftest.er1 >&5
1974 mv -f conftest.er1 conftest.err
1976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1977 test $ac_status = 0; } && {
1978 test -z "$ac_c_werror_flag" ||
1979 test ! -s conftest.err
1980 } && test -s conftest$ac_exeext && {
1981 test "$cross_compiling" = yes ||
1982 $as_test_x conftest$ac_exeext
1986 $as_echo "$as_me: failed program was:" >&5
1987 sed 's/^/| /' conftest.$ac_ext >&5
1991 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1992 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1993 # interfere with the next link command; also delete a directory that is
1994 # left behind by Apple's compiler. We do this before executing the actions.
1995 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1996 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1997 as_fn_set_status $ac_retval
1999 } # ac_fn_c_try_link
2001 # ac_fn_c_check_func LINENO FUNC VAR
2002 # ----------------------------------
2003 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2004 ac_fn_c_check_func ()
2006 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2008 $as_echo_n "checking for $2... " >&6; }
2009 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2010 $as_echo_n "(cached) " >&6
2012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h. */
2014 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2016 #define $2 innocuous_$2
2018 /* System header to define __stub macros and hopefully few prototypes,
2019 which can conflict with char $2 (); below.
2020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2021 <limits.h> exists even on freestanding compilers. */
2024 # include <limits.h>
2026 # include <assert.h>
2031 /* Override any GCC internal prototype to avoid an error.
2032 Use char because int might match the return type of a GCC
2033 builtin and then its argument prototype would still apply. */
2038 /* The GNU C library defines this for functions which it implements
2039 to always fail with ENOSYS. Some functions are actually named
2040 something starting with __ and the normal name is an alias. */
2041 #if defined __stub_$2 || defined __stub___$2
2053 if ac_fn_c_try_link "$LINENO"; then :
2058 rm -f core conftest.err conftest.$ac_objext \
2059 conftest$ac_exeext conftest.$ac_ext
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2063 $as_echo "$ac_res" >&6; }
2064 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2066 } # ac_fn_c_check_func
2068 # ac_fn_cxx_try_cpp LINENO
2069 # ------------------------
2070 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2071 ac_fn_cxx_try_cpp ()
2073 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2074 if { { ac_try="$ac_cpp conftest.$ac_ext"
2076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2077 *) ac_try_echo=$ac_try;;
2079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2080 $as_echo "$ac_try_echo"; } >&5
2081 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2083 if test -s conftest.err; then
2084 grep -v '^ *+' conftest.err >conftest.er1
2085 cat conftest.er1 >&5
2086 mv -f conftest.er1 conftest.err
2088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2089 test $ac_status = 0; } >/dev/null && {
2090 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2091 test ! -s conftest.err
2095 $as_echo "$as_me: failed program was:" >&5
2096 sed 's/^/| /' conftest.$ac_ext >&5
2100 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2101 as_fn_set_status $ac_retval
2103 } # ac_fn_cxx_try_cpp
2105 # ac_fn_cxx_try_link LINENO
2106 # -------------------------
2107 # Try to link conftest.$ac_ext, and return whether this succeeded.
2108 ac_fn_cxx_try_link ()
2110 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2111 rm -f conftest.$ac_objext conftest$ac_exeext
2112 if { { ac_try="$ac_link"
2114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2115 *) ac_try_echo=$ac_try;;
2117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2118 $as_echo "$ac_try_echo"; } >&5
2119 (eval "$ac_link") 2>conftest.err
2121 if test -s conftest.err; then
2122 grep -v '^ *+' conftest.err >conftest.er1
2123 cat conftest.er1 >&5
2124 mv -f conftest.er1 conftest.err
2126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2127 test $ac_status = 0; } && {
2128 test -z "$ac_cxx_werror_flag" ||
2129 test ! -s conftest.err
2130 } && test -s conftest$ac_exeext && {
2131 test "$cross_compiling" = yes ||
2132 $as_test_x conftest$ac_exeext
2136 $as_echo "$as_me: failed program was:" >&5
2137 sed 's/^/| /' conftest.$ac_ext >&5
2141 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2142 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2143 # interfere with the next link command; also delete a directory that is
2144 # left behind by Apple's compiler. We do this before executing the actions.
2145 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2146 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2147 as_fn_set_status $ac_retval
2149 } # ac_fn_cxx_try_link
2151 # ac_fn_c_check_decl LINENO SYMBOL VAR
2152 # ------------------------------------
2153 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2154 ac_fn_c_check_decl ()
2156 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2158 $as_echo_n "checking whether $2 is declared... " >&6; }
2159 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2160 $as_echo_n "(cached) " >&6
2162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2163 /* end confdefs.h. */
2176 if ac_fn_c_try_compile "$LINENO"; then :
2181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2185 $as_echo "$ac_res" >&6; }
2186 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2188 } # ac_fn_c_check_decl
2189 cat >config.log <<_ACEOF
2190 This file contains any messages produced by compilers while
2191 running configure, to aid debugging if configure makes a mistake.
2193 It was created by libdispatch $as_me 1.0, which was
2194 generated by GNU Autoconf 2.65. Invocation command line was
2206 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2207 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2208 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2209 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2210 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2212 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2213 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2215 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2216 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2217 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2218 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2219 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2220 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2221 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2229 test -z "$as_dir" && as_dir=.
2230 $as_echo "PATH: $as_dir"
2246 # Keep a trace of the command line.
2247 # Strip out --no-create and --no-recursion so they do not pile up.
2248 # Strip out --silent because we don't want to record it for future runs.
2249 # Also quote any args containing shell meta-characters.
2250 # Make two passes to allow for proper duplicate-argument suppression.
2254 ac_must_keep_next=false
2260 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2261 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2262 | -silent | --silent | --silen | --sile | --sil)
2265 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2268 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2270 as_fn_append ac_configure_args1 " '$ac_arg'"
2271 if test $ac_must_keep_next = true; then
2272 ac_must_keep_next=false # Got value, back to normal.
2275 *=* | --config-cache | -C | -disable-* | --disable-* \
2276 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2277 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2278 | -with-* | --with-* | -without-* | --without-* | --x)
2279 case "$ac_configure_args0 " in
2280 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2283 -* ) ac_must_keep_next=true ;;
2286 as_fn_append ac_configure_args " '$ac_arg'"
2291 { ac_configure_args0=; unset ac_configure_args0;}
2292 { ac_configure_args1=; unset ac_configure_args1;}
2294 # When interrupted or exit'd, cleanup temporary files, and complete
2295 # config.log. We remove comments because anyway the quotes in there
2296 # would cause problems or look ugly.
2297 # WARNING: Use '\'' to represent an apostrophe within the trap.
2298 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2299 trap 'exit_status=$?
2300 # Save into config.log some information that might help in debugging.
2305 ## ---------------- ##
2306 ## Cache variables. ##
2307 ## ---------------- ##
2310 # The following way of writing the cache mishandles newlines in values,
2312 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2313 eval ac_val=\$$ac_var
2317 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2318 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2321 _ | IFS | as_nl) ;; #(
2322 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2323 *) { eval $ac_var=; unset $ac_var;} ;;
2328 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2329 *${as_nl}ac_space=\ *)
2331 "s/'\''/'\''\\\\'\'''\''/g;
2332 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2335 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2343 ## ----------------- ##
2344 ## Output variables. ##
2345 ## ----------------- ##
2348 for ac_var in $ac_subst_vars
2350 eval ac_val=\$$ac_var
2352 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2354 $as_echo "$ac_var='\''$ac_val'\''"
2358 if test -n "$ac_subst_files"; then
2360 ## ------------------- ##
2361 ## File substitutions. ##
2362 ## ------------------- ##
2365 for ac_var in $ac_subst_files
2367 eval ac_val=\$$ac_var
2369 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2371 $as_echo "$ac_var='\''$ac_val'\''"
2376 if test -s confdefs.h; then
2386 test "$ac_signal" != 0 &&
2387 $as_echo "$as_me: caught signal $ac_signal"
2388 $as_echo "$as_me: exit $exit_status"
2390 rm -f core *.core core.conftest.* &&
2391 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2394 for ac_signal in 1 2 13 15; do
2395 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2399 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2400 rm -f -r conftest* confdefs.h
2402 $as_echo "/* confdefs.h */" > confdefs.h
2404 # Predefined preprocessor variables.
2406 cat >>confdefs.h <<_ACEOF
2407 #define PACKAGE_NAME "$PACKAGE_NAME"
2410 cat >>confdefs.h <<_ACEOF
2411 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2414 cat >>confdefs.h <<_ACEOF
2415 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2418 cat >>confdefs.h <<_ACEOF
2419 #define PACKAGE_STRING "$PACKAGE_STRING"
2422 cat >>confdefs.h <<_ACEOF
2423 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2426 cat >>confdefs.h <<_ACEOF
2427 #define PACKAGE_URL "$PACKAGE_URL"
2431 # Let the site file select an alternate cache file if it wants to.
2432 # Prefer an explicitly selected file to automatically selected ones.
2435 if test -n "$CONFIG_SITE"; then
2436 ac_site_file1=$CONFIG_SITE
2437 elif test "x$prefix" != xNONE; then
2438 ac_site_file1=$prefix/share/config.site
2439 ac_site_file2=$prefix/etc/config.site
2441 ac_site_file1=$ac_default_prefix/share/config.site
2442 ac_site_file2=$ac_default_prefix/etc/config.site
2444 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2446 test "x$ac_site_file" = xNONE && continue
2447 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2449 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2450 sed 's/^/| /' "$ac_site_file" >&5
2455 if test -r "$cache_file"; then
2456 # Some versions of bash will fail to source /dev/null (special files
2457 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2458 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2460 $as_echo "$as_me: loading cache $cache_file" >&6;}
2462 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2463 *) . "./$cache_file";;
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2468 $as_echo "$as_me: creating cache $cache_file" >&6;}
2472 # Check that the precious variables saved in the cache have kept the same
2474 ac_cache_corrupted=false
2475 for ac_var in $ac_precious_vars; do
2476 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2477 eval ac_new_set=\$ac_env_${ac_var}_set
2478 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2479 eval ac_new_val=\$ac_env_${ac_var}_value
2480 case $ac_old_set,$ac_new_set in
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2483 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2484 ac_cache_corrupted=: ;;
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2487 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2488 ac_cache_corrupted=: ;;
2491 if test "x$ac_old_val" != "x$ac_new_val"; then
2492 # differences in whitespace do not lead to failure.
2493 ac_old_val_w=`echo x $ac_old_val`
2494 ac_new_val_w=`echo x $ac_new_val`
2495 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2497 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2498 ac_cache_corrupted=:
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2501 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2502 eval $ac_var=\$ac_old_val
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2505 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2507 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2510 # Pass precious variables to config.status.
2511 if test "$ac_new_set" = set; then
2513 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2514 *) ac_arg=$ac_var=$ac_new_val ;;
2516 case " $ac_configure_args " in
2517 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2518 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2522 if $ac_cache_corrupted; then
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2526 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2527 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2529 ## -------------------- ##
2530 ## Main body of script. ##
2531 ## -------------------- ##
2534 ac_cpp='$CPP $CPPFLAGS'
2535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2542 for ac_dir in config "$srcdir"/config; do
2543 for ac_t in install-sh install.sh shtool; do
2544 if test -f "$ac_dir/$ac_t"; then
2546 ac_install_sh="$ac_aux_dir/$ac_t -c"
2551 if test -z "$ac_aux_dir"; then
2552 as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2555 # These three variables are undocumented and unsupported,
2556 # and are intended to be withdrawn in a future Autoconf release.
2557 # They can cause serious problems if a builder's source tree is in a directory
2558 # whose full name contains unusual characters.
2559 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2560 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2561 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2564 ac_config_headers="$ac_config_headers config/config.h"
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2569 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2570 # Check whether --enable-maintainer-mode was given.
2571 if test "${enable_maintainer_mode+set}" = set; then :
2572 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2574 USE_MAINTAINER_MODE=no
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2578 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2579 if test $USE_MAINTAINER_MODE = yes; then
2580 MAINTAINER_MODE_TRUE=
2581 MAINTAINER_MODE_FALSE='#'
2583 MAINTAINER_MODE_TRUE='#'
2584 MAINTAINER_MODE_FALSE=
2587 MAINT=$MAINTAINER_MODE_TRUE
2592 # On Mac OS X, some required header files come from other source packages;
2593 # allow specifying where those are.
2596 # Check whether --with-apple-libc-source was given.
2597 if test "${with_apple_libc_source+set}" = set; then :
2598 withval=$with_apple_libc_source; apple_libc_source_path=${withval}/pthreads
2599 APPLE_LIBC_SOURCE_PATH=-I$apple_libc_source_path
2600 CPPFLAGS="$CPPFLAGS -I$apple_libc_source_path"
2602 APPLE_LIBC_SOURCE_PATH=
2609 # Check whether --with-apple-xnu-source was given.
2610 if test "${with_apple_xnu_source+set}" = set; then :
2611 withval=$with_apple_xnu_source; apple_xnu_source_path=${withval}/libkern
2612 APPLE_XNU_SOURCE_PATH=-I$apple_xnu_source_path
2613 CPPFLAGS="$CPPFLAGS -I$apple_xnu_source_path"
2615 APPLE_XNU_SOURCE_PATH=
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for System.framework/PrivateHeaders" >&5
2622 $as_echo_n "checking for System.framework/PrivateHeaders... " >&6; }
2623 if test "${dispatch_cv_system_privateheaders+set}" = set; then :
2624 $as_echo_n "(cached) " >&6
2626 if test -d /System/Library/Frameworks/System.framework/PrivateHeaders; then :
2627 dispatch_cv_system_privateheaders=yes
2629 dispatch_cv_system_privateheaders=no
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dispatch_cv_system_privateheaders" >&5
2634 $as_echo "$dispatch_cv_system_privateheaders" >&6; }
2635 if test "x$dispatch_cv_system_privateheaders" != "xno"; then :
2636 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/System.framework/PrivateHeaders"
2641 # Try to build the legacy API only if specifically requested.
2643 # Check whether --enable-legacy-api was given.
2644 if test "${enable_legacy_api+set}" = set; then :
2645 enableval=$enable_legacy_api;
2649 if test "x$enable_legacy_api" != "xyes"; then :
2650 use_legacy_api=false
2652 $as_echo "#define DISPATCH_NO_LEGACY 1" >>confdefs.h
2658 if $use_legacy_api; then
2659 USE_LEGACY_API_TRUE=
2660 USE_LEGACY_API_FALSE='#'
2662 USE_LEGACY_API_TRUE='#'
2663 USE_LEGACY_API_FALSE=
2668 # On Mac OS X Snow Leopard, libpispatch_init is automatically invoked during
2669 # libsyscall process setup. On other systems, it is tagged as a library
2670 # constructor to be run by automatically by the runtime linker.
2672 # Check whether --enable-libdispatch-init-constructor was given.
2673 if test "${enable_libdispatch_init_constructor+set}" = set; then :
2674 enableval=$enable_libdispatch_init_constructor;
2678 if test "x$enable_libdispatch_init_constructor" != "xno"; then :
2680 $as_echo "#define USE_LIBDISPATCH_INIT_CONSTRUCTOR 1" >>confdefs.h
2686 # Whether or not to include/reference a crashreporter symbol.
2688 # Check whether --enable-apple-crashreporter-info was given.
2689 if test "${enable_apple_crashreporter_info+set}" = set; then :
2690 enableval=$enable_apple_crashreporter_info;
2694 if test "x$enable_apple_crashreporter_info" = "xyes"; then :
2696 $as_echo "#define USE_APPLE_CRASHREPORTER_INFO 1" >>confdefs.h
2702 # libdispatch has micro-optimized and deeply personal knowledge of Mac OS
2703 # implementation details. Only enable this if explicitly requested, as it
2704 # will lead to data corruption if applied on systems violating its
2707 # Check whether --enable-apple-tsd-optimizations was given.
2708 if test "${enable_apple_tsd_optimizations+set}" = set; then :
2709 enableval=$enable_apple_tsd_optimizations;
2713 if test "x$enable_apple_tsd_optimizations" = "xyes"; then :
2715 $as_echo "#define USE_APPLE_TSD_OPTIMIZATIONS 1" >>confdefs.h
2720 # Check whether --enable-apple-semaphore-optimizations was given.
2721 if test "${enable_apple_semaphore_optimizations+set}" = set; then :
2722 enableval=$enable_apple_semaphore_optimizations;
2726 if test "x$enable_apple_semaphore_optimizations" = "xyes"; then :
2728 $as_echo "#define USE_APPLE_SEMAPHORE_OPTIMIZATIONS 1" >>confdefs.h
2734 ac_cpp='$CPP $CPPFLAGS'
2735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2738 if test -n "$ac_tool_prefix"; then
2739 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2740 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2742 $as_echo_n "checking for $ac_word... " >&6; }
2743 if test "${ac_cv_prog_CC+set}" = set; then :
2744 $as_echo_n "(cached) " >&6
2746 if test -n "$CC"; then
2747 ac_cv_prog_CC="$CC" # Let the user override the test.
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753 test -z "$as_dir" && as_dir=.
2754 for ac_exec_ext in '' $ac_executable_extensions; do
2755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2756 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2767 if test -n "$CC"; then
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2769 $as_echo "$CC" >&6; }
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2772 $as_echo "no" >&6; }
2777 if test -z "$ac_cv_prog_CC"; then
2779 # Extract the first word of "gcc", so it can be a program name with args.
2780 set dummy gcc; ac_word=$2
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2782 $as_echo_n "checking for $ac_word... " >&6; }
2783 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2784 $as_echo_n "(cached) " >&6
2786 if test -n "$ac_ct_CC"; then
2787 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir=.
2794 for ac_exec_ext in '' $ac_executable_extensions; do
2795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2796 ac_cv_prog_ac_ct_CC="gcc"
2797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2806 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2807 if test -n "$ac_ct_CC"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2809 $as_echo "$ac_ct_CC" >&6; }
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2812 $as_echo "no" >&6; }
2815 if test "x$ac_ct_CC" = x; then
2818 case $cross_compiling:$ac_tool_warned in
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2822 ac_tool_warned=yes ;;
2830 if test -z "$CC"; then
2831 if test -n "$ac_tool_prefix"; then
2832 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2833 set dummy ${ac_tool_prefix}cc; ac_word=$2
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2835 $as_echo_n "checking for $ac_word... " >&6; }
2836 if test "${ac_cv_prog_CC+set}" = set; then :
2837 $as_echo_n "(cached) " >&6
2839 if test -n "$CC"; then
2840 ac_cv_prog_CC="$CC" # Let the user override the test.
2842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2846 test -z "$as_dir" && as_dir=.
2847 for ac_exec_ext in '' $ac_executable_extensions; do
2848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2849 ac_cv_prog_CC="${ac_tool_prefix}cc"
2850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2860 if test -n "$CC"; then
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2862 $as_echo "$CC" >&6; }
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2865 $as_echo "no" >&6; }
2871 if test -z "$CC"; then
2872 # Extract the first word of "cc", so it can be a program name with args.
2873 set dummy cc; ac_word=$2
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2875 $as_echo_n "checking for $ac_word... " >&6; }
2876 if test "${ac_cv_prog_CC+set}" = set; then :
2877 $as_echo_n "(cached) " >&6
2879 if test -n "$CC"; then
2880 ac_cv_prog_CC="$CC" # Let the user override the test.
2883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2887 test -z "$as_dir" && as_dir=.
2888 for ac_exec_ext in '' $ac_executable_extensions; do
2889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2890 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2891 ac_prog_rejected=yes
2895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 if test $ac_prog_rejected = yes; then
2903 # We found a bogon in the path, so make sure we never use it.
2904 set dummy $ac_cv_prog_CC
2906 if test $# != 0; then
2907 # We chose a different compiler from the bogus one.
2908 # However, it has the same basename, so the bogon will be chosen
2909 # first if we set CC to just the basename; use the full file name.
2911 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2917 if test -n "$CC"; then
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2919 $as_echo "$CC" >&6; }
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2922 $as_echo "no" >&6; }
2927 if test -z "$CC"; then
2928 if test -n "$ac_tool_prefix"; then
2929 for ac_prog in cl.exe
2931 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2932 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2934 $as_echo_n "checking for $ac_word... " >&6; }
2935 if test "${ac_cv_prog_CC+set}" = set; then :
2936 $as_echo_n "(cached) " >&6
2938 if test -n "$CC"; then
2939 ac_cv_prog_CC="$CC" # Let the user override the test.
2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2945 test -z "$as_dir" && as_dir=.
2946 for ac_exec_ext in '' $ac_executable_extensions; do
2947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2948 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 if test -n "$CC"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2961 $as_echo "$CC" >&6; }
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964 $as_echo "no" >&6; }
2968 test -n "$CC" && break
2971 if test -z "$CC"; then
2973 for ac_prog in cl.exe
2975 # Extract the first word of "$ac_prog", so it can be a program name with args.
2976 set dummy $ac_prog; ac_word=$2
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978 $as_echo_n "checking for $ac_word... " >&6; }
2979 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2980 $as_echo_n "(cached) " >&6
2982 if test -n "$ac_ct_CC"; then
2983 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir=.
2990 for ac_exec_ext in '' $ac_executable_extensions; do
2991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2992 ac_cv_prog_ac_ct_CC="$ac_prog"
2993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3003 if test -n "$ac_ct_CC"; then
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3005 $as_echo "$ac_ct_CC" >&6; }
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008 $as_echo "no" >&6; }
3012 test -n "$ac_ct_CC" && break
3015 if test "x$ac_ct_CC" = x; then
3018 case $cross_compiling:$ac_tool_warned in
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3022 ac_tool_warned=yes ;;
3031 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3032 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3033 as_fn_error "no acceptable C compiler found in \$PATH
3034 See \`config.log' for more details." "$LINENO" 5; }
3036 # Provide some information about the compiler.
3037 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3040 for ac_option in --version -v -V -qversion; do
3041 { { ac_try="$ac_compiler $ac_option >&5"
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3050 if test -s conftest.err; then
3052 ... rest of stderr output deleted ...
3053 10q' conftest.err >conftest.er1
3054 cat conftest.er1 >&5
3056 rm -f conftest.er1 conftest.err
3057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3058 test $ac_status = 0; }
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3072 ac_clean_files_save=$ac_clean_files
3073 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3074 # Try to create an executable without -o first, disregard a.out.
3075 # It will help us diagnose broken compilers, and finding out an intuition
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3078 $as_echo_n "checking whether the C compiler works... " >&6; }
3079 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3081 # The possible output files:
3082 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3085 for ac_file in $ac_files
3088 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3089 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3094 if { { ac_try="$ac_link_default"
3096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3097 *) ac_try_echo=$ac_try;;
3099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3100 $as_echo "$ac_try_echo"; } >&5
3101 (eval "$ac_link_default") 2>&5
3103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3104 test $ac_status = 0; }; then :
3105 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3106 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3107 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3108 # so that the user can short-circuit this test for compilers unknown to
3110 for ac_file in $ac_files ''
3112 test -f "$ac_file" || continue
3114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3117 # We found the default executable, but exeext='' is most
3121 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3123 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3125 # We set ac_cv_exeext here because the later test for it is not
3126 # safe: cross compilers may not add the suffix if given an `-o'
3127 # argument, so we may need to know it at that point already.
3128 # Even if this section looks crufty: it has the advantage of
3135 test "$ac_cv_exeext" = no && ac_cv_exeext=
3140 if test -z "$ac_file"; then :
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3142 $as_echo "no" >&6; }
3143 $as_echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3148 { as_fn_set_status 77
3149 as_fn_error "C compiler cannot create executables
3150 See \`config.log' for more details." "$LINENO" 5; }; }
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3153 $as_echo "yes" >&6; }
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3156 $as_echo_n "checking for C compiler default output file name... " >&6; }
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3158 $as_echo "$ac_file" >&6; }
3159 ac_exeext=$ac_cv_exeext
3161 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3162 ac_clean_files=$ac_clean_files_save
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3164 $as_echo_n "checking for suffix of executables... " >&6; }
3165 if { { ac_try="$ac_link"
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3171 $as_echo "$ac_try_echo"; } >&5
3172 (eval "$ac_link") 2>&5
3174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3175 test $ac_status = 0; }; then :
3176 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3177 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3178 # work properly (i.e., refer to `conftest.exe'), while it won't with
3180 for ac_file in conftest.exe conftest conftest.*; do
3181 test -f "$ac_file" || continue
3183 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3184 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3192 as_fn_error "cannot compute suffix of executables: cannot compile and link
3193 See \`config.log' for more details." "$LINENO" 5; }
3195 rm -f conftest conftest$ac_cv_exeext
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3197 $as_echo "$ac_cv_exeext" >&6; }
3199 rm -f conftest.$ac_ext
3200 EXEEXT=$ac_cv_exeext
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3208 FILE *f = fopen ("conftest.out", "w");
3209 return ferror (f) || fclose (f) != 0;
3215 ac_clean_files="$ac_clean_files conftest.out"
3216 # Check that the compiler produces executables we can run. If not, either
3217 # the compiler is broken, or we cross compile.
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3219 $as_echo_n "checking whether we are cross compiling... " >&6; }
3220 if test "$cross_compiling" != yes; then
3221 { { ac_try="$ac_link"
3223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3224 *) ac_try_echo=$ac_try;;
3226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3227 $as_echo "$ac_try_echo"; } >&5
3228 (eval "$ac_link") 2>&5
3230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3231 test $ac_status = 0; }
3232 if { ac_try='./conftest$ac_cv_exeext'
3233 { { case "(($ac_try" in
3234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3235 *) ac_try_echo=$ac_try;;
3237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3238 $as_echo "$ac_try_echo"; } >&5
3239 (eval "$ac_try") 2>&5
3241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3242 test $ac_status = 0; }; }; then
3245 if test "$cross_compiling" = maybe; then
3248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3250 as_fn_error "cannot run C compiled programs.
3251 If you meant to cross compile, use \`--host'.
3252 See \`config.log' for more details." "$LINENO" 5; }
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3257 $as_echo "$cross_compiling" >&6; }
3259 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3260 ac_clean_files=$ac_clean_files_save
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3262 $as_echo_n "checking for suffix of object files... " >&6; }
3263 if test "${ac_cv_objext+set}" = set; then :
3264 $as_echo_n "(cached) " >&6
3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 /* end confdefs.h. */
3277 rm -f conftest.o conftest.obj
3278 if { { ac_try="$ac_compile"
3280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3281 *) ac_try_echo=$ac_try;;
3283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3284 $as_echo "$ac_try_echo"; } >&5
3285 (eval "$ac_compile") 2>&5
3287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3288 test $ac_status = 0; }; then :
3289 for ac_file in conftest.o conftest.obj conftest.*; do
3290 test -f "$ac_file" || continue;
3292 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3293 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3298 $as_echo "$as_me: failed program was:" >&5
3299 sed 's/^/| /' conftest.$ac_ext >&5
3301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3303 as_fn_error "cannot compute suffix of object files: cannot compile
3304 See \`config.log' for more details." "$LINENO" 5; }
3306 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3309 $as_echo "$ac_cv_objext" >&6; }
3310 OBJEXT=$ac_cv_objext
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3313 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3314 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3315 $as_echo_n "(cached) " >&6
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3331 if ac_fn_c_try_compile "$LINENO"; then :
3336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3337 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3341 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3342 if test $ac_compiler_gnu = yes; then
3347 ac_test_CFLAGS=${CFLAGS+set}
3348 ac_save_CFLAGS=$CFLAGS
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3350 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3351 if test "${ac_cv_prog_cc_g+set}" = set; then :
3352 $as_echo_n "(cached) " >&6
3354 ac_save_c_werror_flag=$ac_c_werror_flag
3355 ac_c_werror_flag=yes
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3369 if ac_fn_c_try_compile "$LINENO"; then :
3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3384 if ac_fn_c_try_compile "$LINENO"; then :
3387 ac_c_werror_flag=$ac_save_c_werror_flag
3389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3390 /* end confdefs.h. */
3400 if ac_fn_c_try_compile "$LINENO"; then :
3403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3408 ac_c_werror_flag=$ac_save_c_werror_flag
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3411 $as_echo "$ac_cv_prog_cc_g" >&6; }
3412 if test "$ac_test_CFLAGS" = set; then
3413 CFLAGS=$ac_save_CFLAGS
3414 elif test $ac_cv_prog_cc_g = yes; then
3415 if test "$GCC" = yes; then
3421 if test "$GCC" = yes; then
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3428 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3429 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3430 $as_echo_n "(cached) " >&6
3432 ac_cv_prog_cc_c89=no
3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3438 #include <sys/types.h>
3439 #include <sys/stat.h>
3440 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3441 struct buf { int x; };
3442 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3443 static char *e (p, i)
3449 static char *f (char * (*g) (char **, int), char **p, ...)
3454 s = g (p, va_arg (v,int));
3459 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3460 function prototypes and stuff, but not '\xHH' hex character constants.
3461 These don't provoke an error unfortunately, instead are silently treated
3462 as 'x'. The following induces an error, until -std is added to get
3463 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3464 array size at least. It's necessary to write '\x00'==0 to get something
3465 that's true only with -std. */
3466 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3468 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3469 inside strings and character constants. */
3471 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3473 int test (int i, double x);
3474 struct s1 {int (*f) (int a);};
3475 struct s2 {int (*f) (double a);};
3476 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3482 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3487 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3488 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3490 CC="$ac_save_CC $ac_arg"
3491 if ac_fn_c_try_compile "$LINENO"; then :
3492 ac_cv_prog_cc_c89=$ac_arg
3494 rm -f core conftest.err conftest.$ac_objext
3495 test "x$ac_cv_prog_cc_c89" != "xno" && break
3497 rm -f conftest.$ac_ext
3502 case "x$ac_cv_prog_cc_c89" in
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3505 $as_echo "none needed" >&6; } ;;
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3508 $as_echo "unsupported" >&6; } ;;
3510 CC="$CC $ac_cv_prog_cc_c89"
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3512 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3514 if test "x$ac_cv_prog_cc_c89" != xno; then :
3519 ac_cpp='$CPP $CPPFLAGS'
3520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3526 ac_cpp='$CPP $CPPFLAGS'
3527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3531 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3532 # On Suns, sometimes $CPP names a directory.
3533 if test -n "$CPP" && test -d "$CPP"; then
3536 if test -z "$CPP"; then
3537 if test "${ac_cv_prog_CPP+set}" = set; then :
3538 $as_echo_n "(cached) " >&6
3540 # Double quotes because CPP needs to be expanded
3541 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3544 for ac_c_preproc_warn_flag in '' yes
3546 # Use a header file that comes with gcc, so configuring glibc
3547 # with a fresh cross-compiler works.
3548 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3549 # <limits.h> exists even on freestanding compilers.
3550 # On the NeXT, cc -E runs the code through the compiler's parser,
3551 # not just through cpp. "Syntax error" is here to catch this case.
3552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553 /* end confdefs.h. */
3555 # include <limits.h>
3557 # include <assert.h>
3561 if ac_fn_c_try_cpp "$LINENO"; then :
3564 # Broken: fails on valid input.
3567 rm -f conftest.err conftest.$ac_ext
3569 # OK, works on sane cases. Now check whether nonexistent headers
3570 # can be detected and how.
3571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3572 /* end confdefs.h. */
3573 #include <ac_nonexistent.h>
3575 if ac_fn_c_try_cpp "$LINENO"; then :
3576 # Broken: success on invalid input.
3579 # Passes both tests.
3583 rm -f conftest.err conftest.$ac_ext
3586 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3587 rm -f conftest.err conftest.$ac_ext
3588 if $ac_preproc_ok; then :
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3601 $as_echo "$CPP" >&6; }
3603 for ac_c_preproc_warn_flag in '' yes
3605 # Use a header file that comes with gcc, so configuring glibc
3606 # with a fresh cross-compiler works.
3607 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3608 # <limits.h> exists even on freestanding compilers.
3609 # On the NeXT, cc -E runs the code through the compiler's parser,
3610 # not just through cpp. "Syntax error" is here to catch this case.
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612 /* end confdefs.h. */
3614 # include <limits.h>
3616 # include <assert.h>
3620 if ac_fn_c_try_cpp "$LINENO"; then :
3623 # Broken: fails on valid input.
3626 rm -f conftest.err conftest.$ac_ext
3628 # OK, works on sane cases. Now check whether nonexistent headers
3629 # can be detected and how.
3630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631 /* end confdefs.h. */
3632 #include <ac_nonexistent.h>
3634 if ac_fn_c_try_cpp "$LINENO"; then :
3635 # Broken: success on invalid input.
3638 # Passes both tests.
3642 rm -f conftest.err conftest.$ac_ext
3645 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3646 rm -f conftest.err conftest.$ac_ext
3647 if $ac_preproc_ok; then :
3650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3652 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3653 See \`config.log' for more details." "$LINENO" 5; }
3657 ac_cpp='$CPP $CPPFLAGS'
3658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3664 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3665 if test "${ac_cv_path_GREP+set}" = set; then :
3666 $as_echo_n "(cached) " >&6
3668 if test -z "$GREP"; then
3669 ac_path_GREP_found=false
3670 # Loop through the user's path and test for each of PROGNAME-LIST
3671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3672 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3675 test -z "$as_dir" && as_dir=.
3676 for ac_prog in grep ggrep; do
3677 for ac_exec_ext in '' $ac_executable_extensions; do
3678 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3679 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3680 # Check for GNU ac_path_GREP and select it if it is found.
3681 # Check for GNU $ac_path_GREP
3682 case `"$ac_path_GREP" --version 2>&1` in
3684 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3687 $as_echo_n 0123456789 >"conftest.in"
3690 cat "conftest.in" "conftest.in" >"conftest.tmp"
3691 mv "conftest.tmp" "conftest.in"
3692 cp "conftest.in" "conftest.nl"
3693 $as_echo 'GREP' >> "conftest.nl"
3694 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3695 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3696 as_fn_arith $ac_count + 1 && ac_count=$as_val
3697 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3698 # Best one so far, save it but keep looking for a better one
3699 ac_cv_path_GREP="$ac_path_GREP"
3700 ac_path_GREP_max=$ac_count
3702 # 10*(2^10) chars as input seems more than enough
3703 test $ac_count -gt 10 && break
3705 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3708 $ac_path_GREP_found && break 3
3713 if test -z "$ac_cv_path_GREP"; then
3714 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3717 ac_cv_path_GREP=$GREP
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3722 $as_echo "$ac_cv_path_GREP" >&6; }
3723 GREP="$ac_cv_path_GREP"
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3727 $as_echo_n "checking for egrep... " >&6; }
3728 if test "${ac_cv_path_EGREP+set}" = set; then :
3729 $as_echo_n "(cached) " >&6
3731 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3732 then ac_cv_path_EGREP="$GREP -E"
3734 if test -z "$EGREP"; then
3735 ac_path_EGREP_found=false
3736 # Loop through the user's path and test for each of PROGNAME-LIST
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3741 test -z "$as_dir" && as_dir=.
3742 for ac_prog in egrep; do
3743 for ac_exec_ext in '' $ac_executable_extensions; do
3744 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3745 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3746 # Check for GNU ac_path_EGREP and select it if it is found.
3747 # Check for GNU $ac_path_EGREP
3748 case `"$ac_path_EGREP" --version 2>&1` in
3750 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3753 $as_echo_n 0123456789 >"conftest.in"
3756 cat "conftest.in" "conftest.in" >"conftest.tmp"
3757 mv "conftest.tmp" "conftest.in"
3758 cp "conftest.in" "conftest.nl"
3759 $as_echo 'EGREP' >> "conftest.nl"
3760 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3761 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3762 as_fn_arith $ac_count + 1 && ac_count=$as_val
3763 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3764 # Best one so far, save it but keep looking for a better one
3765 ac_cv_path_EGREP="$ac_path_EGREP"
3766 ac_path_EGREP_max=$ac_count
3768 # 10*(2^10) chars as input seems more than enough
3769 test $ac_count -gt 10 && break
3771 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3774 $ac_path_EGREP_found && break 3
3779 if test -z "$ac_cv_path_EGREP"; then
3780 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3783 ac_cv_path_EGREP=$EGREP
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3789 $as_echo "$ac_cv_path_EGREP" >&6; }
3790 EGREP="$ac_cv_path_EGREP"
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3794 $as_echo_n "checking for ANSI C header files... " >&6; }
3795 if test "${ac_cv_header_stdc+set}" = set; then :
3796 $as_echo_n "(cached) " >&6
3798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h. */
3813 if ac_fn_c_try_compile "$LINENO"; then :
3814 ac_cv_header_stdc=yes
3816 ac_cv_header_stdc=no
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3820 if test $ac_cv_header_stdc = yes; then
3821 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823 /* end confdefs.h. */
3827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3828 $EGREP "memchr" >/dev/null 2>&1; then :
3831 ac_cv_header_stdc=no
3837 if test $ac_cv_header_stdc = yes; then
3838 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h. */
3844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3845 $EGREP "free" >/dev/null 2>&1; then :
3848 ac_cv_header_stdc=no
3854 if test $ac_cv_header_stdc = yes; then
3855 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3856 if test "$cross_compiling" = yes; then :
3859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3860 /* end confdefs.h. */
3863 #if ((' ' & 0x0FF) == 0x020)
3864 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3865 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3867 # define ISLOWER(c) \
3868 (('a' <= (c) && (c) <= 'i') \
3869 || ('j' <= (c) && (c) <= 'r') \
3870 || ('s' <= (c) && (c) <= 'z'))
3871 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3874 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3879 for (i = 0; i < 256; i++)
3880 if (XOR (islower (i), ISLOWER (i))
3881 || toupper (i) != TOUPPER (i))
3886 if ac_fn_c_try_run "$LINENO"; then :
3889 ac_cv_header_stdc=no
3891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3892 conftest.$ac_objext conftest.beam conftest.$ac_ext
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3898 $as_echo "$ac_cv_header_stdc" >&6; }
3899 if test $ac_cv_header_stdc = yes; then
3901 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3905 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3906 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3907 inttypes.h stdint.h unistd.h
3909 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3910 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3912 eval as_val=\$$as_ac_Header
3913 if test "x$as_val" = x""yes; then :
3914 cat >>confdefs.h <<_ACEOF
3915 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3924 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3925 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
3932 if test "$MINIX" = yes; then
3934 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3937 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3940 $as_echo "#define _MINIX 1" >>confdefs.h
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3946 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3947 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3948 $as_echo_n "(cached) " >&6
3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3953 # define __EXTENSIONS__ 1
3954 $ac_includes_default
3963 if ac_fn_c_try_compile "$LINENO"; then :
3964 ac_cv_safe_to_define___extensions__=yes
3966 ac_cv_safe_to_define___extensions__=no
3968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3971 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3972 test $ac_cv_safe_to_define___extensions__ = yes &&
3973 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3975 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3977 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3979 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3981 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3985 ac_cpp='$CPP $CPPFLAGS'
3986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3989 if test -n "$ac_tool_prefix"; then
3990 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3991 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3993 $as_echo_n "checking for $ac_word... " >&6; }
3994 if test "${ac_cv_prog_CC+set}" = set; then :
3995 $as_echo_n "(cached) " >&6
3997 if test -n "$CC"; then
3998 ac_cv_prog_CC="$CC" # Let the user override the test.
4000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4004 test -z "$as_dir" && as_dir=.
4005 for ac_exec_ext in '' $ac_executable_extensions; do
4006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4007 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4018 if test -n "$CC"; then
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4020 $as_echo "$CC" >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023 $as_echo "no" >&6; }
4028 if test -z "$ac_cv_prog_CC"; then
4030 # Extract the first word of "gcc", so it can be a program name with args.
4031 set dummy gcc; ac_word=$2
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4033 $as_echo_n "checking for $ac_word... " >&6; }
4034 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4035 $as_echo_n "(cached) " >&6
4037 if test -n "$ac_ct_CC"; then
4038 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4044 test -z "$as_dir" && as_dir=.
4045 for ac_exec_ext in '' $ac_executable_extensions; do
4046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4047 ac_cv_prog_ac_ct_CC="gcc"
4048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4057 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4058 if test -n "$ac_ct_CC"; then
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4060 $as_echo "$ac_ct_CC" >&6; }
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4063 $as_echo "no" >&6; }
4066 if test "x$ac_ct_CC" = x; then
4069 case $cross_compiling:$ac_tool_warned in
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4073 ac_tool_warned=yes ;;
4081 if test -z "$CC"; then
4082 if test -n "$ac_tool_prefix"; then
4083 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4084 set dummy ${ac_tool_prefix}cc; ac_word=$2
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4086 $as_echo_n "checking for $ac_word... " >&6; }
4087 if test "${ac_cv_prog_CC+set}" = set; then :
4088 $as_echo_n "(cached) " >&6
4090 if test -n "$CC"; then
4091 ac_cv_prog_CC="$CC" # Let the user override the test.
4093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir=.
4098 for ac_exec_ext in '' $ac_executable_extensions; do
4099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4100 ac_cv_prog_CC="${ac_tool_prefix}cc"
4101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4111 if test -n "$CC"; then
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4113 $as_echo "$CC" >&6; }
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4116 $as_echo "no" >&6; }
4122 if test -z "$CC"; then
4123 # Extract the first word of "cc", so it can be a program name with args.
4124 set dummy cc; ac_word=$2
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4126 $as_echo_n "checking for $ac_word... " >&6; }
4127 if test "${ac_cv_prog_CC+set}" = set; then :
4128 $as_echo_n "(cached) " >&6
4130 if test -n "$CC"; then
4131 ac_cv_prog_CC="$CC" # Let the user override the test.
4134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4138 test -z "$as_dir" && as_dir=.
4139 for ac_exec_ext in '' $ac_executable_extensions; do
4140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4141 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4142 ac_prog_rejected=yes
4146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4153 if test $ac_prog_rejected = yes; then
4154 # We found a bogon in the path, so make sure we never use it.
4155 set dummy $ac_cv_prog_CC
4157 if test $# != 0; then
4158 # We chose a different compiler from the bogus one.
4159 # However, it has the same basename, so the bogon will be chosen
4160 # first if we set CC to just the basename; use the full file name.
4162 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4168 if test -n "$CC"; then
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4170 $as_echo "$CC" >&6; }
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4173 $as_echo "no" >&6; }
4178 if test -z "$CC"; then
4179 if test -n "$ac_tool_prefix"; then
4180 for ac_prog in cl.exe
4182 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4183 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4185 $as_echo_n "checking for $ac_word... " >&6; }
4186 if test "${ac_cv_prog_CC+set}" = set; then :
4187 $as_echo_n "(cached) " >&6
4189 if test -n "$CC"; then
4190 ac_cv_prog_CC="$CC" # Let the user override the test.
4192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4196 test -z "$as_dir" && as_dir=.
4197 for ac_exec_ext in '' $ac_executable_extensions; do
4198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4199 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4210 if test -n "$CC"; then
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4212 $as_echo "$CC" >&6; }
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4215 $as_echo "no" >&6; }
4219 test -n "$CC" && break
4222 if test -z "$CC"; then
4224 for ac_prog in cl.exe
4226 # Extract the first word of "$ac_prog", so it can be a program name with args.
4227 set dummy $ac_prog; ac_word=$2
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4229 $as_echo_n "checking for $ac_word... " >&6; }
4230 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4231 $as_echo_n "(cached) " >&6
4233 if test -n "$ac_ct_CC"; then
4234 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4240 test -z "$as_dir" && as_dir=.
4241 for ac_exec_ext in '' $ac_executable_extensions; do
4242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4243 ac_cv_prog_ac_ct_CC="$ac_prog"
4244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4253 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4254 if test -n "$ac_ct_CC"; then
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4256 $as_echo "$ac_ct_CC" >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4259 $as_echo "no" >&6; }
4263 test -n "$ac_ct_CC" && break
4266 if test "x$ac_ct_CC" = x; then
4269 case $cross_compiling:$ac_tool_warned in
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4273 ac_tool_warned=yes ;;
4282 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4284 as_fn_error "no acceptable C compiler found in \$PATH
4285 See \`config.log' for more details." "$LINENO" 5; }
4287 # Provide some information about the compiler.
4288 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4291 for ac_option in --version -v -V -qversion; do
4292 { { ac_try="$ac_compiler $ac_option >&5"
4294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4298 $as_echo "$ac_try_echo"; } >&5
4299 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4301 if test -s conftest.err; then
4303 ... rest of stderr output deleted ...
4304 10q' conftest.err >conftest.er1
4305 cat conftest.er1 >&5
4307 rm -f conftest.er1 conftest.err
4308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4309 test $ac_status = 0; }
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4313 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4314 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4315 $as_echo_n "(cached) " >&6
4317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4318 /* end confdefs.h. */
4331 if ac_fn_c_try_compile "$LINENO"; then :
4336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4337 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4341 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4342 if test $ac_compiler_gnu = yes; then
4347 ac_test_CFLAGS=${CFLAGS+set}
4348 ac_save_CFLAGS=$CFLAGS
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4350 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4351 if test "${ac_cv_prog_cc_g+set}" = set; then :
4352 $as_echo_n "(cached) " >&6
4354 ac_save_c_werror_flag=$ac_c_werror_flag
4355 ac_c_werror_flag=yes
4358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4359 /* end confdefs.h. */
4369 if ac_fn_c_try_compile "$LINENO"; then :
4373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4374 /* end confdefs.h. */
4384 if ac_fn_c_try_compile "$LINENO"; then :
4387 ac_c_werror_flag=$ac_save_c_werror_flag
4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390 /* end confdefs.h. */
4400 if ac_fn_c_try_compile "$LINENO"; then :
4403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4408 ac_c_werror_flag=$ac_save_c_werror_flag
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4411 $as_echo "$ac_cv_prog_cc_g" >&6; }
4412 if test "$ac_test_CFLAGS" = set; then
4413 CFLAGS=$ac_save_CFLAGS
4414 elif test $ac_cv_prog_cc_g = yes; then
4415 if test "$GCC" = yes; then
4421 if test "$GCC" = yes; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4428 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4429 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4430 $as_echo_n "(cached) " >&6
4432 ac_cv_prog_cc_c89=no
4434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4435 /* end confdefs.h. */
4438 #include <sys/types.h>
4439 #include <sys/stat.h>
4440 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4441 struct buf { int x; };
4442 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4443 static char *e (p, i)
4449 static char *f (char * (*g) (char **, int), char **p, ...)
4454 s = g (p, va_arg (v,int));
4459 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4460 function prototypes and stuff, but not '\xHH' hex character constants.
4461 These don't provoke an error unfortunately, instead are silently treated
4462 as 'x'. The following induces an error, until -std is added to get
4463 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4464 array size at least. It's necessary to write '\x00'==0 to get something
4465 that's true only with -std. */
4466 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4468 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4469 inside strings and character constants. */
4471 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4473 int test (int i, double x);
4474 struct s1 {int (*f) (int a);};
4475 struct s2 {int (*f) (double a);};
4476 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4482 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4487 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4488 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4490 CC="$ac_save_CC $ac_arg"
4491 if ac_fn_c_try_compile "$LINENO"; then :
4492 ac_cv_prog_cc_c89=$ac_arg
4494 rm -f core conftest.err conftest.$ac_objext
4495 test "x$ac_cv_prog_cc_c89" != "xno" && break
4497 rm -f conftest.$ac_ext
4502 case "x$ac_cv_prog_cc_c89" in
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4505 $as_echo "none needed" >&6; } ;;
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4508 $as_echo "unsupported" >&6; } ;;
4510 CC="$CC $ac_cv_prog_cc_c89"
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4512 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4514 if test "x$ac_cv_prog_cc_c89" != xno; then :
4519 ac_cpp='$CPP $CPPFLAGS'
4520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4525 ac_cpp='$CXXCPP $CPPFLAGS'
4526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4529 if test -z "$CXX"; then
4530 if test -n "$CCC"; then
4533 if test -n "$ac_tool_prefix"; then
4534 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4536 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4537 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4539 $as_echo_n "checking for $ac_word... " >&6; }
4540 if test "${ac_cv_prog_CXX+set}" = set; then :
4541 $as_echo_n "(cached) " >&6
4543 if test -n "$CXX"; then
4544 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4550 test -z "$as_dir" && as_dir=.
4551 for ac_exec_ext in '' $ac_executable_extensions; do
4552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4553 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4564 if test -n "$CXX"; then
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4566 $as_echo "$CXX" >&6; }
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4569 $as_echo "no" >&6; }
4573 test -n "$CXX" && break
4576 if test -z "$CXX"; then
4578 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4580 # Extract the first word of "$ac_prog", so it can be a program name with args.
4581 set dummy $ac_prog; ac_word=$2
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4583 $as_echo_n "checking for $ac_word... " >&6; }
4584 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4585 $as_echo_n "(cached) " >&6
4587 if test -n "$ac_ct_CXX"; then
4588 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir=.
4595 for ac_exec_ext in '' $ac_executable_extensions; do
4596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4597 ac_cv_prog_ac_ct_CXX="$ac_prog"
4598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4608 if test -n "$ac_ct_CXX"; then
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4610 $as_echo "$ac_ct_CXX" >&6; }
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4613 $as_echo "no" >&6; }
4617 test -n "$ac_ct_CXX" && break
4620 if test "x$ac_ct_CXX" = x; then
4623 case $cross_compiling:$ac_tool_warned in
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4627 ac_tool_warned=yes ;;
4635 # Provide some information about the compiler.
4636 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4639 for ac_option in --version -v -V -qversion; do
4640 { { ac_try="$ac_compiler $ac_option >&5"
4642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4643 *) ac_try_echo=$ac_try;;
4645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4646 $as_echo "$ac_try_echo"; } >&5
4647 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4649 if test -s conftest.err; then
4651 ... rest of stderr output deleted ...
4652 10q' conftest.err >conftest.er1
4653 cat conftest.er1 >&5
4655 rm -f conftest.er1 conftest.err
4656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4657 test $ac_status = 0; }
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4661 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4662 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4663 $as_echo_n "(cached) " >&6
4665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4666 /* end confdefs.h. */
4679 if ac_fn_cxx_try_compile "$LINENO"; then :
4684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4685 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4689 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4690 if test $ac_compiler_gnu = yes; then
4695 ac_test_CXXFLAGS=${CXXFLAGS+set}
4696 ac_save_CXXFLAGS=$CXXFLAGS
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4698 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4699 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4700 $as_echo_n "(cached) " >&6
4702 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4703 ac_cxx_werror_flag=yes
4706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4707 /* end confdefs.h. */
4717 if ac_fn_cxx_try_compile "$LINENO"; then :
4718 ac_cv_prog_cxx_g=yes
4721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4722 /* end confdefs.h. */
4732 if ac_fn_cxx_try_compile "$LINENO"; then :
4735 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4738 /* end confdefs.h. */
4748 if ac_fn_cxx_try_compile "$LINENO"; then :
4749 ac_cv_prog_cxx_g=yes
4751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4756 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4759 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4760 if test "$ac_test_CXXFLAGS" = set; then
4761 CXXFLAGS=$ac_save_CXXFLAGS
4762 elif test $ac_cv_prog_cxx_g = yes; then
4763 if test "$GXX" = yes; then
4769 if test "$GXX" = yes; then
4776 ac_cpp='$CPP $CPPFLAGS'
4777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4781 # Find a good install program. We prefer a C program (faster),
4782 # so one script is as good as another. But avoid the broken or
4783 # incompatible versions:
4784 # SysV /etc/install, /usr/sbin/install
4785 # SunOS /usr/etc/install
4786 # IRIX /sbin/install
4788 # AmigaOS /C/install, which installs bootblocks on floppy discs
4789 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4790 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4791 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4792 # OS/2's system install, which has a completely different semantic
4793 # ./install, which can be erroneously created by make from ./install.sh.
4794 # Reject install programs that cannot install multiple files.
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4796 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4797 if test -z "$INSTALL"; then
4798 if test "${ac_cv_path_install+set}" = set; then :
4799 $as_echo_n "(cached) " >&6
4801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4805 test -z "$as_dir" && as_dir=.
4806 # Account for people who put trailing slashes in PATH elements.
4807 case $as_dir/ in #((
4808 ./ | .// | /[cC]/* | \
4809 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4810 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4813 # OSF1 and SCO ODT 3.0 have their own names for install.
4814 # Don't use installbsd from OSF since it installs stuff as root
4816 for ac_prog in ginstall scoinst install; do
4817 for ac_exec_ext in '' $ac_executable_extensions; do
4818 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4819 if test $ac_prog = install &&
4820 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4821 # AIX install. It has an incompatible calling convention.
4823 elif test $ac_prog = install &&
4824 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4825 # program-specific install script used by HP pwplus--don't use.
4828 rm -rf conftest.one conftest.two conftest.dir
4829 echo one > conftest.one
4830 echo two > conftest.two
4832 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4833 test -s conftest.one && test -s conftest.two &&
4834 test -s conftest.dir/conftest.one &&
4835 test -s conftest.dir/conftest.two
4837 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4850 rm -rf conftest.one conftest.two conftest.dir
4853 if test "${ac_cv_path_install+set}" = set; then
4854 INSTALL=$ac_cv_path_install
4856 # As a last resort, use the slow shell script. Don't cache a
4857 # value for INSTALL within a source directory, because that will
4858 # break other packages using the cache if that directory is
4859 # removed, or if the value is a relative name.
4860 INSTALL=$ac_install_sh
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4864 $as_echo "$INSTALL" >&6; }
4866 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4867 # It thinks the first close brace ends the variable substitution.
4868 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4870 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4872 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4877 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4882 macro_version='2.2.6b'
4883 macro_revision='1.3017'
4897 ltmain="$ac_aux_dir/ltmain.sh"
4899 # Make sure we can run config.sub.
4900 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4901 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4904 $as_echo_n "checking build system type... " >&6; }
4905 if test "${ac_cv_build+set}" = set; then :
4906 $as_echo_n "(cached) " >&6
4908 ac_build_alias=$build_alias
4909 test "x$ac_build_alias" = x &&
4910 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4911 test "x$ac_build_alias" = x &&
4912 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4913 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4914 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4918 $as_echo "$ac_cv_build" >&6; }
4919 case $ac_cv_build in
4921 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4924 ac_save_IFS=$IFS; IFS='-'
4930 # Remember, the first character of IFS is used to create $*,
4931 # except with old shells:
4934 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4938 $as_echo_n "checking host system type... " >&6; }
4939 if test "${ac_cv_host+set}" = set; then :
4940 $as_echo_n "(cached) " >&6
4942 if test "x$host_alias" = x; then
4943 ac_cv_host=$ac_cv_build
4945 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4946 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4951 $as_echo "$ac_cv_host" >&6; }
4954 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4957 ac_save_IFS=$IFS; IFS='-'
4963 # Remember, the first character of IFS is used to create $*,
4964 # except with old shells:
4967 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4971 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4972 if test "${ac_cv_path_SED+set}" = set; then :
4973 $as_echo_n "(cached) " >&6
4975 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4976 for ac_i in 1 2 3 4 5 6 7; do
4977 ac_script="$ac_script$as_nl$ac_script"
4979 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4980 { ac_script=; unset ac_script;}
4981 if test -z "$SED"; then
4982 ac_path_SED_found=false
4983 # Loop through the user's path and test for each of PROGNAME-LIST
4984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4988 test -z "$as_dir" && as_dir=.
4989 for ac_prog in sed gsed; do
4990 for ac_exec_ext in '' $ac_executable_extensions; do
4991 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4992 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4993 # Check for GNU ac_path_SED and select it if it is found.
4994 # Check for GNU $ac_path_SED
4995 case `"$ac_path_SED" --version 2>&1` in
4997 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5000 $as_echo_n 0123456789 >"conftest.in"
5003 cat "conftest.in" "conftest.in" >"conftest.tmp"
5004 mv "conftest.tmp" "conftest.in"
5005 cp "conftest.in" "conftest.nl"
5006 $as_echo '' >> "conftest.nl"
5007 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5008 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5009 as_fn_arith $ac_count + 1 && ac_count=$as_val
5010 if test $ac_count -gt ${ac_path_SED_max-0}; then
5011 # Best one so far, save it but keep looking for a better one
5012 ac_cv_path_SED="$ac_path_SED"
5013 ac_path_SED_max=$ac_count
5015 # 10*(2^10) chars as input seems more than enough
5016 test $ac_count -gt 10 && break
5018 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5021 $ac_path_SED_found && break 3
5026 if test -z "$ac_cv_path_SED"; then
5027 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5035 $as_echo "$ac_cv_path_SED" >&6; }
5036 SED="$ac_cv_path_SED"
5039 test -z "$SED" && SED=sed
5040 Xsed="$SED -e 1s/^X//"
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5053 $as_echo_n "checking for fgrep... " >&6; }
5054 if test "${ac_cv_path_FGREP+set}" = set; then :
5055 $as_echo_n "(cached) " >&6
5057 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5058 then ac_cv_path_FGREP="$GREP -F"
5060 if test -z "$FGREP"; then
5061 ac_path_FGREP_found=false
5062 # Loop through the user's path and test for each of PROGNAME-LIST
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5067 test -z "$as_dir" && as_dir=.
5068 for ac_prog in fgrep; do
5069 for ac_exec_ext in '' $ac_executable_extensions; do
5070 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5071 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5072 # Check for GNU ac_path_FGREP and select it if it is found.
5073 # Check for GNU $ac_path_FGREP
5074 case `"$ac_path_FGREP" --version 2>&1` in
5076 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5079 $as_echo_n 0123456789 >"conftest.in"
5082 cat "conftest.in" "conftest.in" >"conftest.tmp"
5083 mv "conftest.tmp" "conftest.in"
5084 cp "conftest.in" "conftest.nl"
5085 $as_echo 'FGREP' >> "conftest.nl"
5086 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5087 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5088 as_fn_arith $ac_count + 1 && ac_count=$as_val
5089 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5090 # Best one so far, save it but keep looking for a better one
5091 ac_cv_path_FGREP="$ac_path_FGREP"
5092 ac_path_FGREP_max=$ac_count
5094 # 10*(2^10) chars as input seems more than enough
5095 test $ac_count -gt 10 && break
5097 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5100 $ac_path_FGREP_found && break 3
5105 if test -z "$ac_cv_path_FGREP"; then
5106 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5109 ac_cv_path_FGREP=$FGREP
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5115 $as_echo "$ac_cv_path_FGREP" >&6; }
5116 FGREP="$ac_cv_path_FGREP"
5119 test -z "$GREP" && GREP=grep
5139 # Check whether --with-gnu-ld was given.
5140 if test "${with_gnu_ld+set}" = set; then :
5141 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5147 if test "$GCC" = yes; then
5148 # Check if gcc -print-prog-name=ld gives a path.
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5150 $as_echo_n "checking for ld used by $CC... " >&6; }
5153 # gcc leaves a trailing carriage return which upsets mingw
5154 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5156 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5159 # Accept absolute paths.
5161 re_direlt='/[^/][^/]*/\.\./'
5162 # Canonicalize the pathname of ld
5163 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5164 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5165 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5167 test -z "$LD" && LD="$ac_prog"
5170 # If it fails, then pretend we aren't using GCC.
5174 # If it is relative, then search for the first ld in PATH.
5178 elif test "$with_gnu_ld" = yes; then
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5180 $as_echo_n "checking for GNU ld... " >&6; }
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5183 $as_echo_n "checking for non-GNU ld... " >&6; }
5185 if test "${lt_cv_path_LD+set}" = set; then :
5186 $as_echo_n "(cached) " >&6
5188 if test -z "$LD"; then
5189 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5190 for ac_dir in $PATH; do
5192 test -z "$ac_dir" && ac_dir=.
5193 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5194 lt_cv_path_LD="$ac_dir/$ac_prog"
5195 # Check to see if the program is GNU ld. I'd rather use --version,
5196 # but apparently some variants of GNU ld only accept -v.
5197 # Break only if it was the GNU/non-GNU ld that we prefer.
5198 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5199 *GNU* | *'with BFD'*)
5200 test "$with_gnu_ld" != no && break
5203 test "$with_gnu_ld" != yes && break
5210 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5215 if test -n "$LD"; then
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5217 $as_echo "$LD" >&6; }
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5220 $as_echo "no" >&6; }
5222 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5224 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5225 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5226 $as_echo_n "(cached) " >&6
5228 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5229 case `$LD -v 2>&1 </dev/null` in
5230 *GNU* | *'with BFD'*)
5231 lt_cv_prog_gnu_ld=yes
5234 lt_cv_prog_gnu_ld=no
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5239 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5240 with_gnu_ld=$lt_cv_prog_gnu_ld
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5251 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5252 if test "${lt_cv_path_NM+set}" = set; then :
5253 $as_echo_n "(cached) " >&6
5255 if test -n "$NM"; then
5256 # Let the user override the test.
5259 lt_nm_to_check="${ac_tool_prefix}nm"
5260 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5261 lt_nm_to_check="$lt_nm_to_check nm"
5263 for lt_tmp_nm in $lt_nm_to_check; do
5264 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5265 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5267 test -z "$ac_dir" && ac_dir=.
5268 tmp_nm="$ac_dir/$lt_tmp_nm"
5269 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5270 # Check to see if the nm accepts a BSD-compat flag.
5271 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5272 # nm: unknown option "B" ignored
5273 # Tru64's nm complains that /dev/null is an invalid object file
5274 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5275 */dev/null* | *'Invalid file or object type'*)
5276 lt_cv_path_NM="$tmp_nm -B"
5280 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5282 lt_cv_path_NM="$tmp_nm -p"
5286 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5287 continue # so that we can try to find one that supports BSD flags
5296 : ${lt_cv_path_NM=no}
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5300 $as_echo "$lt_cv_path_NM" >&6; }
5301 if test "$lt_cv_path_NM" != "no"; then
5304 # Didn't find any BSD compatible name lister, look for dumpbin.
5305 if test -n "$ac_tool_prefix"; then
5306 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5308 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5309 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5311 $as_echo_n "checking for $ac_word... " >&6; }
5312 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5313 $as_echo_n "(cached) " >&6
5315 if test -n "$DUMPBIN"; then
5316 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322 test -z "$as_dir" && as_dir=.
5323 for ac_exec_ext in '' $ac_executable_extensions; do
5324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5325 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 DUMPBIN=$ac_cv_prog_DUMPBIN
5336 if test -n "$DUMPBIN"; then
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5338 $as_echo "$DUMPBIN" >&6; }
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5341 $as_echo "no" >&6; }
5345 test -n "$DUMPBIN" && break
5348 if test -z "$DUMPBIN"; then
5349 ac_ct_DUMPBIN=$DUMPBIN
5350 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5352 # Extract the first word of "$ac_prog", so it can be a program name with args.
5353 set dummy $ac_prog; ac_word=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5357 $as_echo_n "(cached) " >&6
5359 if test -n "$ac_ct_DUMPBIN"; then
5360 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 test -z "$as_dir" && as_dir=.
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5369 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5380 if test -n "$ac_ct_DUMPBIN"; then
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5382 $as_echo "$ac_ct_DUMPBIN" >&6; }
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5389 test -n "$ac_ct_DUMPBIN" && break
5392 if test "x$ac_ct_DUMPBIN" = x; then
5395 case $cross_compiling:$ac_tool_warned in
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5399 ac_tool_warned=yes ;;
5401 DUMPBIN=$ac_ct_DUMPBIN
5406 if test "$DUMPBIN" != ":"; then
5410 test -z "$NM" && NM=nm
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5418 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5419 if test "${lt_cv_nm_interface+set}" = set; then :
5420 $as_echo_n "(cached) " >&6
5422 lt_cv_nm_interface="BSD nm"
5423 echo "int some_variable = 0;" > conftest.$ac_ext
5424 (eval echo "\"\$as_me:5424: $ac_compile\"" >&5)
5425 (eval "$ac_compile" 2>conftest.err)
5426 cat conftest.err >&5
5427 (eval echo "\"\$as_me:5427: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5428 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5429 cat conftest.err >&5
5430 (eval echo "\"\$as_me:5430: output\"" >&5)
5431 cat conftest.out >&5
5432 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5433 lt_cv_nm_interface="MS dumpbin"
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5438 $as_echo "$lt_cv_nm_interface" >&6; }
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5441 $as_echo_n "checking whether ln -s works... " >&6; }
5443 if test "$LN_S" = "ln -s"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5445 $as_echo "yes" >&6; }
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5448 $as_echo "no, using $LN_S" >&6; }
5451 # find the maximum length of command line arguments
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5453 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5454 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5455 $as_echo_n "(cached) " >&6
5462 # On DJGPP, this test can blow up pretty badly due to problems in libc
5463 # (any single argument exceeding 2000 bytes causes a buffer overrun
5464 # during glob expansion). Even if it were fixed, the result of this
5465 # check would be larger than it should be.
5466 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5470 # Under GNU Hurd, this test is not required because there is
5471 # no limit to the length of command line arguments.
5472 # Libtool will interpret -1 as no limit whatsoever
5473 lt_cv_sys_max_cmd_len=-1;
5476 cygwin* | mingw* | cegcc*)
5477 # On Win9x/ME, this test blows up -- it succeeds, but takes
5478 # about 5 minutes as the teststring grows exponentially.
5479 # Worse, since 9x/ME are not pre-emptively multitasking,
5480 # you end up with a "frozen" computer, even though with patience
5481 # the test eventually succeeds (with a max line length of 256k).
5482 # Instead, let's just punt: use the minimum linelength reported by
5483 # all of the supported platforms: 8192 (on NT/2K/XP).
5484 lt_cv_sys_max_cmd_len=8192;
5488 # On AmigaOS with pdksh, this test takes hours, literally.
5489 # So we just punt and use a minimum line length of 8192.
5490 lt_cv_sys_max_cmd_len=8192;
5493 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5494 # This has been around since 386BSD, at least. Likely further.
5495 if test -x /sbin/sysctl; then
5496 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5497 elif test -x /usr/sbin/sysctl; then
5498 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5500 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5502 # And add a safety zone
5503 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5504 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5508 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5509 lt_cv_sys_max_cmd_len=196608
5513 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5514 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5515 # nice to cause kernel panics so lets avoid the loop below.
5516 # First set a reasonable default.
5517 lt_cv_sys_max_cmd_len=16384
5519 if test -x /sbin/sysconfig; then
5520 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5521 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5526 lt_cv_sys_max_cmd_len=102400
5528 sysv5* | sco5v6* | sysv4.2uw2*)
5529 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5530 if test -n "$kargmax"; then
5531 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5533 lt_cv_sys_max_cmd_len=32768
5537 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5538 if test -n "$lt_cv_sys_max_cmd_len"; then
5539 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5540 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5542 # Make teststring a little bigger before we do anything with it.
5543 # a 1K string should be a reasonable start.
5544 for i in 1 2 3 4 5 6 7 8 ; do
5545 teststring=$teststring$teststring
5547 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5548 # If test is not a shell built-in, we'll probably end up computing a
5549 # maximum length that is only half of the actual maximum length, but
5551 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5552 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5553 test $i != 17 # 1/2 MB should be enough
5556 teststring=$teststring$teststring
5558 # Only check the string length outside the loop.
5559 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5561 # Add a significant safety factor because C++ compilers can tack on
5562 # massive amounts of additional arguments before passing them to the
5563 # linker. It appears as though 1/2 is a usable value.
5564 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5571 if test -n $lt_cv_sys_max_cmd_len ; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5573 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5576 $as_echo "none" >&6; }
5578 max_cmd_len=$lt_cv_sys_max_cmd_len
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5590 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5591 # Try some XSI features
5594 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5596 && eval 'test $(( 1 + 1 )) -eq 2 \
5597 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5600 $as_echo "$xsi_shell" >&6; }
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5604 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5606 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5608 && lt_shell_append=yes
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5610 $as_echo "$lt_shell_append" >&6; }
5613 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5623 # test EBCDIC or ASCII
5624 case `echo X|tr X '\101'` in
5625 A) # ASCII based system
5626 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5627 lt_SP2NL='tr \040 \012'
5628 lt_NL2SP='tr \015\012 \040\040'
5630 *) # EBCDIC based system
5631 lt_SP2NL='tr \100 \n'
5632 lt_NL2SP='tr \r\n \100\100'
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5645 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5646 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5647 $as_echo_n "(cached) " >&6
5649 lt_cv_ld_reload_flag='-r'
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5652 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5653 reload_flag=$lt_cv_ld_reload_flag
5654 case $reload_flag in
5656 *) reload_flag=" $reload_flag" ;;
5658 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5661 if test "$GCC" = yes; then
5662 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5664 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5677 if test -n "$ac_tool_prefix"; then
5678 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5679 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5681 $as_echo_n "checking for $ac_word... " >&6; }
5682 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5683 $as_echo_n "(cached) " >&6
5685 if test -n "$OBJDUMP"; then
5686 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 test -z "$as_dir" && as_dir=.
5693 for ac_exec_ext in '' $ac_executable_extensions; do
5694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5695 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5705 OBJDUMP=$ac_cv_prog_OBJDUMP
5706 if test -n "$OBJDUMP"; then
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5708 $as_echo "$OBJDUMP" >&6; }
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5711 $as_echo "no" >&6; }
5716 if test -z "$ac_cv_prog_OBJDUMP"; then
5717 ac_ct_OBJDUMP=$OBJDUMP
5718 # Extract the first word of "objdump", so it can be a program name with args.
5719 set dummy objdump; ac_word=$2
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5721 $as_echo_n "checking for $ac_word... " >&6; }
5722 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5723 $as_echo_n "(cached) " >&6
5725 if test -n "$ac_ct_OBJDUMP"; then
5726 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5732 test -z "$as_dir" && as_dir=.
5733 for ac_exec_ext in '' $ac_executable_extensions; do
5734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5735 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5745 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5746 if test -n "$ac_ct_OBJDUMP"; then
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5748 $as_echo "$ac_ct_OBJDUMP" >&6; }
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5751 $as_echo "no" >&6; }
5754 if test "x$ac_ct_OBJDUMP" = x; then
5757 case $cross_compiling:$ac_tool_warned in
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5761 ac_tool_warned=yes ;;
5763 OBJDUMP=$ac_ct_OBJDUMP
5766 OBJDUMP="$ac_cv_prog_OBJDUMP"
5769 test -z "$OBJDUMP" && OBJDUMP=objdump
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5780 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5781 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5782 $as_echo_n "(cached) " >&6
5784 lt_cv_file_magic_cmd='$MAGIC_CMD'
5785 lt_cv_file_magic_test_file=
5786 lt_cv_deplibs_check_method='unknown'
5787 # Need to set the preceding variable on all platforms that support
5788 # interlibrary dependencies.
5789 # 'none' -- dependencies not supported.
5790 # `unknown' -- same as none, but documents that we really don't know.
5791 # 'pass_all' -- all dependencies passed with no checks.
5792 # 'test_compile' -- check by making test program.
5793 # 'file_magic [[regex]]' -- check by looking for files in library path
5794 # which responds to the $file_magic_cmd with a given extended regex.
5795 # If you have `file' or equivalent on your system and you're not sure
5796 # whether `pass_all' will *always* work, you probably want this one.
5800 lt_cv_deplibs_check_method=pass_all
5804 lt_cv_deplibs_check_method=pass_all
5808 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5809 lt_cv_file_magic_cmd='/usr/bin/file -L'
5810 lt_cv_file_magic_test_file=/shlib/libc.so
5814 # func_win32_libid is a shell function defined in ltmain.sh
5815 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5816 lt_cv_file_magic_cmd='func_win32_libid'
5820 # Base MSYS/MinGW do not provide the 'file' command needed by
5821 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5822 # unless we find 'file', for example because we are cross-compiling.
5823 if ( file / ) >/dev/null 2>&1; then
5824 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5825 lt_cv_file_magic_cmd='func_win32_libid'
5827 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5828 lt_cv_file_magic_cmd='$OBJDUMP -f'
5833 # use the weaker test based on 'objdump'. See mingw*.
5834 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5835 lt_cv_file_magic_cmd='$OBJDUMP -f'
5838 darwin* | rhapsody*)
5839 lt_cv_deplibs_check_method=pass_all
5842 freebsd* | dragonfly*)
5843 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5846 # Not sure whether the presence of OpenBSD here was a mistake.
5847 # Let's accept both of them until this is cleared up.
5848 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5849 lt_cv_file_magic_cmd=/usr/bin/file
5850 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5854 lt_cv_deplibs_check_method=pass_all
5859 lt_cv_deplibs_check_method=pass_all
5862 hpux10.20* | hpux11*)
5863 lt_cv_file_magic_cmd=/usr/bin/file
5866 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5867 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5870 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]'
5871 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5874 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5875 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5881 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5882 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5885 irix5* | irix6* | nonstopux*)
5887 *-32|*"-32 ") libmagic=32-bit;;
5888 *-n32|*"-n32 ") libmagic=N32;;
5889 *-64|*"-64 ") libmagic=64-bit;;
5890 *) libmagic=never-match;;
5892 lt_cv_deplibs_check_method=pass_all
5895 # This must be Linux ELF.
5896 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5897 lt_cv_deplibs_check_method=pass_all
5900 netbsd* | netbsdelf*-gnu)
5901 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5902 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5904 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5909 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5910 lt_cv_file_magic_cmd=/usr/bin/file
5911 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5915 lt_cv_deplibs_check_method=pass_all
5919 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5920 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5922 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5926 osf3* | osf4* | osf5*)
5927 lt_cv_deplibs_check_method=pass_all
5931 lt_cv_deplibs_check_method=pass_all
5935 lt_cv_deplibs_check_method=pass_all
5938 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5939 lt_cv_deplibs_check_method=pass_all
5943 case $host_vendor in
5945 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]'
5946 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5949 lt_cv_deplibs_check_method=pass_all
5952 lt_cv_file_magic_cmd='/bin/file'
5953 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5956 lt_cv_file_magic_cmd='/bin/file'
5957 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5958 lt_cv_file_magic_test_file=/lib/libc.so
5961 lt_cv_deplibs_check_method=pass_all
5964 lt_cv_deplibs_check_method=pass_all
5970 lt_cv_deplibs_check_method=pass_all
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5976 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5977 file_magic_cmd=$lt_cv_file_magic_cmd
5978 deplibs_check_method=$lt_cv_deplibs_check_method
5979 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5992 if test -n "$ac_tool_prefix"; then
5993 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5994 set dummy ${ac_tool_prefix}ar; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if test "${ac_cv_prog_AR+set}" = set; then :
5998 $as_echo_n "(cached) " >&6
6000 if test -n "$AR"; then
6001 ac_cv_prog_AR="$AR" # Let the user override the test.
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6010 ac_cv_prog_AR="${ac_tool_prefix}ar"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 if test -n "$AR"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6023 $as_echo "$AR" >&6; }
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6031 if test -z "$ac_cv_prog_AR"; then
6033 # Extract the first word of "ar", so it can be a program name with args.
6034 set dummy ar; ac_word=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 $as_echo_n "checking for $ac_word... " >&6; }
6037 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6038 $as_echo_n "(cached) " >&6
6040 if test -n "$ac_ct_AR"; then
6041 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047 test -z "$as_dir" && as_dir=.
6048 for ac_exec_ext in '' $ac_executable_extensions; do
6049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6050 ac_cv_prog_ac_ct_AR="ar"
6051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6060 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6061 if test -n "$ac_ct_AR"; then
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6063 $as_echo "$ac_ct_AR" >&6; }
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 $as_echo "no" >&6; }
6069 if test "x$ac_ct_AR" = x; then
6072 case $cross_compiling:$ac_tool_warned in
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6076 ac_tool_warned=yes ;;
6084 test -z "$AR" && AR=ar
6085 test -z "$AR_FLAGS" && AR_FLAGS=cru
6097 if test -n "$ac_tool_prefix"; then
6098 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6099 set dummy ${ac_tool_prefix}strip; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if test "${ac_cv_prog_STRIP+set}" = set; then :
6103 $as_echo_n "(cached) " >&6
6105 if test -n "$STRIP"; then
6106 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6115 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6125 STRIP=$ac_cv_prog_STRIP
6126 if test -n "$STRIP"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6128 $as_echo "$STRIP" >&6; }
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6136 if test -z "$ac_cv_prog_STRIP"; then
6138 # Extract the first word of "strip", so it can be a program name with args.
6139 set dummy strip; ac_word=$2
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6141 $as_echo_n "checking for $ac_word... " >&6; }
6142 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6143 $as_echo_n "(cached) " >&6
6145 if test -n "$ac_ct_STRIP"; then
6146 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152 test -z "$as_dir" && as_dir=.
6153 for ac_exec_ext in '' $ac_executable_extensions; do
6154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6155 ac_cv_prog_ac_ct_STRIP="strip"
6156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6165 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6166 if test -n "$ac_ct_STRIP"; then
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6168 $as_echo "$ac_ct_STRIP" >&6; }
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6171 $as_echo "no" >&6; }
6174 if test "x$ac_ct_STRIP" = x; then
6177 case $cross_compiling:$ac_tool_warned in
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6181 ac_tool_warned=yes ;;
6186 STRIP="$ac_cv_prog_STRIP"
6189 test -z "$STRIP" && STRIP=:
6196 if test -n "$ac_tool_prefix"; then
6197 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6198 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6200 $as_echo_n "checking for $ac_word... " >&6; }
6201 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6202 $as_echo_n "(cached) " >&6
6204 if test -n "$RANLIB"; then
6205 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6211 test -z "$as_dir" && as_dir=.
6212 for ac_exec_ext in '' $ac_executable_extensions; do
6213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6214 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6224 RANLIB=$ac_cv_prog_RANLIB
6225 if test -n "$RANLIB"; then
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6227 $as_echo "$RANLIB" >&6; }
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6230 $as_echo "no" >&6; }
6235 if test -z "$ac_cv_prog_RANLIB"; then
6236 ac_ct_RANLIB=$RANLIB
6237 # Extract the first word of "ranlib", so it can be a program name with args.
6238 set dummy ranlib; ac_word=$2
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6240 $as_echo_n "checking for $ac_word... " >&6; }
6241 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6242 $as_echo_n "(cached) " >&6
6244 if test -n "$ac_ct_RANLIB"; then
6245 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6251 test -z "$as_dir" && as_dir=.
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6254 ac_cv_prog_ac_ct_RANLIB="ranlib"
6255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6264 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6265 if test -n "$ac_ct_RANLIB"; then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6267 $as_echo "$ac_ct_RANLIB" >&6; }
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6270 $as_echo "no" >&6; }
6273 if test "x$ac_ct_RANLIB" = x; then
6276 case $cross_compiling:$ac_tool_warned in
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6280 ac_tool_warned=yes ;;
6282 RANLIB=$ac_ct_RANLIB
6285 RANLIB="$ac_cv_prog_RANLIB"
6288 test -z "$RANLIB" && RANLIB=:
6295 # Determine commands to create old-style static archives.
6296 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6297 old_postinstall_cmds='chmod 644 $oldlib'
6298 old_postuninstall_cmds=
6300 if test -n "$RANLIB"; then
6303 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6306 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6309 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6345 # If no C compiler was specified, use CC.
6348 # If no C compiler flags were specified, use CFLAGS.
6349 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6351 # Allow CC to be a program name with arguments.
6355 # Check for command to grab the raw symbol name followed by C symbol from nm.
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6357 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6358 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6359 $as_echo_n "(cached) " >&6
6362 # These are sane defaults that work on at least a few old systems.
6363 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6365 # Character class describing NM global symbol codes.
6366 symcode='[BCDEGRST]'
6368 # Regexp to match symbols that can be accessed directly from C.
6369 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6371 # Define system-specific variables.
6376 cygwin* | mingw* | pw32* | cegcc*)
6377 symcode='[ABCDGISTW]'
6380 if test "$host_cpu" = ia64; then
6381 symcode='[ABCDEGRST]'
6385 symcode='[BCDEGRST]'
6388 symcode='[BCDEGQRST]'
6399 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6407 # If we're using GNU nm, then use its standard symbol codes.
6408 case `$NM -V 2>&1` in
6409 *GNU* | *'with BFD'*)
6410 symcode='[ABCDGIRSTW]' ;;
6413 # Transform an extracted symbol line into a proper C declaration.
6414 # Some systems (esp. on ia64) link data and code symbols differently,
6415 # so use this general approach.
6416 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6418 # Transform an extracted symbol line into symbol name and symbol address
6419 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6420 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'"
6422 # Handle CRLF in mingw tool chain
6426 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6430 # Try without a prefix underscore, then with it.
6431 for ac_symprfx in "" "_"; do
6433 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6434 symxfrm="\\1 $ac_symprfx\\2 \\2"
6436 # Write the raw and C identifiers.
6437 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6438 # Fake it for dumpbin and say T for any non-static function
6439 # and D for any global variable.
6440 # Also find C++ and __fastcall symbols from MSVC++,
6441 # which start with @ or ?.
6442 lt_cv_sys_global_symbol_pipe="$AWK '"\
6443 " {last_section=section; section=\$ 3};"\
6444 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6445 " \$ 0!~/External *\|/{next};"\
6446 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6447 " {if(hide[section]) next};"\
6448 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6449 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6450 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6451 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6452 " ' prfx=^$ac_symprfx"
6454 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6457 # Check to see that the pipe works correctly.
6461 cat > conftest.$ac_ext <<_LT_EOF
6466 void nm_test_func(void);
6467 void nm_test_func(void){}
6471 int main(){nm_test_var='a';nm_test_func();return(0);}
6474 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6475 (eval $ac_compile) 2>&5
6477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6478 test $ac_status = 0; }; then
6479 # Now try to grab the symbols.
6481 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6482 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6485 test $ac_status = 0; } && test -s "$nlist"; then
6486 # Try sorting and uniquifying the output.
6487 if sort "$nlist" | uniq > "$nlist"T; then
6488 mv -f "$nlist"T "$nlist"
6493 # Make sure that we snagged all the symbols we need.
6494 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6495 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6496 cat <<_LT_EOF > conftest.$ac_ext
6502 # Now generate the symbol file.
6503 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6505 cat <<_LT_EOF >> conftest.$ac_ext
6507 /* The mapping between symbol names and symbols. */
6512 lt__PROGRAM__LTX_preloaded_symbols[] =
6514 { "@PROGRAM@", (void *) 0 },
6516 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6517 cat <<\_LT_EOF >> conftest.$ac_ext
6521 /* This works around a problem in FreeBSD linker */
6522 #ifdef FREEBSD_WORKAROUND
6523 static const void *lt_preloaded_setup() {
6524 return lt__PROGRAM__LTX_preloaded_symbols;
6532 # Now try linking the two files.
6533 mv conftest.$ac_objext conftstm.$ac_objext
6534 lt_save_LIBS="$LIBS"
6535 lt_save_CFLAGS="$CFLAGS"
6536 LIBS="conftstm.$ac_objext"
6537 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6538 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6539 (eval $ac_link) 2>&5
6541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6542 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6545 LIBS="$lt_save_LIBS"
6546 CFLAGS="$lt_save_CFLAGS"
6548 echo "cannot find nm_test_func in $nlist" >&5
6551 echo "cannot find nm_test_var in $nlist" >&5
6554 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6557 echo "$progname: failed program was:" >&5
6558 cat conftest.$ac_ext >&5
6560 rm -rf conftest* conftst*
6562 # Do not use the global_symbol_pipe unless it works.
6563 if test "$pipe_works" = yes; then
6566 lt_cv_sys_global_symbol_pipe=
6572 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6573 lt_cv_sys_global_symbol_to_cdecl=
6575 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6577 $as_echo "failed" >&6; }
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6580 $as_echo "ok" >&6; }
6604 # Check whether --enable-libtool-lock was given.
6605 if test "${enable_libtool_lock+set}" = set; then :
6606 enableval=$enable_libtool_lock;
6609 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6611 # Some flags need to be propagated to the compiler or linker for good
6615 # Find out which ABI we are using.
6616 echo 'int i;' > conftest.$ac_ext
6617 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6618 (eval $ac_compile) 2>&5
6620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6621 test $ac_status = 0; }; then
6622 case `/usr/bin/file conftest.$ac_objext` in
6634 # Find out which ABI we are using.
6635 echo '#line 6635 "configure"' > conftest.$ac_ext
6636 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6637 (eval $ac_compile) 2>&5
6639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6640 test $ac_status = 0; }; then
6641 if test "$lt_cv_prog_gnu_ld" = yes; then
6642 case `/usr/bin/file conftest.$ac_objext` in
6644 LD="${LD-ld} -melf32bsmip"
6647 LD="${LD-ld} -melf32bmipn32"
6650 LD="${LD-ld} -melf64bmip"
6654 case `/usr/bin/file conftest.$ac_objext` in
6670 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6671 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6672 # Find out which ABI we are using.
6673 echo 'int i;' > conftest.$ac_ext
6674 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6675 (eval $ac_compile) 2>&5
6677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6678 test $ac_status = 0; }; then
6679 case `/usr/bin/file conftest.o` in
6682 x86_64-*kfreebsd*-gnu)
6683 LD="${LD-ld} -m elf_i386_fbsd"
6686 LD="${LD-ld} -m elf_i386"
6688 ppc64-*linux*|powerpc64-*linux*)
6689 LD="${LD-ld} -m elf32ppclinux"
6692 LD="${LD-ld} -m elf_s390"
6695 LD="${LD-ld} -m elf32_sparc"
6701 x86_64-*kfreebsd*-gnu)
6702 LD="${LD-ld} -m elf_x86_64_fbsd"
6705 LD="${LD-ld} -m elf_x86_64"
6707 ppc*-*linux*|powerpc*-*linux*)
6708 LD="${LD-ld} -m elf64ppc"
6710 s390*-*linux*|s390*-*tpf*)
6711 LD="${LD-ld} -m elf64_s390"
6714 LD="${LD-ld} -m elf64_sparc"
6724 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6725 SAVE_CFLAGS="$CFLAGS"
6726 CFLAGS="$CFLAGS -belf"
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6728 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6729 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6730 $as_echo_n "(cached) " >&6
6733 ac_cpp='$CPP $CPPFLAGS'
6734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6739 /* end confdefs.h. */
6749 if ac_fn_c_try_link "$LINENO"; then :
6750 lt_cv_cc_needs_belf=yes
6752 lt_cv_cc_needs_belf=no
6754 rm -f core conftest.err conftest.$ac_objext \
6755 conftest$ac_exeext conftest.$ac_ext
6757 ac_cpp='$CPP $CPPFLAGS'
6758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6764 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6765 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6766 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6767 CFLAGS="$SAVE_CFLAGS"
6771 # Find out which ABI we are using.
6772 echo 'int i;' > conftest.$ac_ext
6773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6774 (eval $ac_compile) 2>&5
6776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6777 test $ac_status = 0; }; then
6778 case `/usr/bin/file conftest.o` in
6780 case $lt_cv_prog_gnu_ld in
6781 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6783 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6795 need_locks="$enable_libtool_lock"
6799 rhapsody* | darwin*)
6800 if test -n "$ac_tool_prefix"; then
6801 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6802 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6804 $as_echo_n "checking for $ac_word... " >&6; }
6805 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6806 $as_echo_n "(cached) " >&6
6808 if test -n "$DSYMUTIL"; then
6809 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6815 test -z "$as_dir" && as_dir=.
6816 for ac_exec_ext in '' $ac_executable_extensions; do
6817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6818 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6828 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6829 if test -n "$DSYMUTIL"; then
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6831 $as_echo "$DSYMUTIL" >&6; }
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6834 $as_echo "no" >&6; }
6839 if test -z "$ac_cv_prog_DSYMUTIL"; then
6840 ac_ct_DSYMUTIL=$DSYMUTIL
6841 # Extract the first word of "dsymutil", so it can be a program name with args.
6842 set dummy dsymutil; ac_word=$2
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6844 $as_echo_n "checking for $ac_word... " >&6; }
6845 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6846 $as_echo_n "(cached) " >&6
6848 if test -n "$ac_ct_DSYMUTIL"; then
6849 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6855 test -z "$as_dir" && as_dir=.
6856 for ac_exec_ext in '' $ac_executable_extensions; do
6857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6858 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6868 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6869 if test -n "$ac_ct_DSYMUTIL"; then
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6871 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6874 $as_echo "no" >&6; }
6877 if test "x$ac_ct_DSYMUTIL" = x; then
6880 case $cross_compiling:$ac_tool_warned in
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6884 ac_tool_warned=yes ;;
6886 DSYMUTIL=$ac_ct_DSYMUTIL
6889 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6892 if test -n "$ac_tool_prefix"; then
6893 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6894 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6896 $as_echo_n "checking for $ac_word... " >&6; }
6897 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6898 $as_echo_n "(cached) " >&6
6900 if test -n "$NMEDIT"; then
6901 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6907 test -z "$as_dir" && as_dir=.
6908 for ac_exec_ext in '' $ac_executable_extensions; do
6909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6910 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6920 NMEDIT=$ac_cv_prog_NMEDIT
6921 if test -n "$NMEDIT"; then
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6923 $as_echo "$NMEDIT" >&6; }
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6926 $as_echo "no" >&6; }
6931 if test -z "$ac_cv_prog_NMEDIT"; then
6932 ac_ct_NMEDIT=$NMEDIT
6933 # Extract the first word of "nmedit", so it can be a program name with args.
6934 set dummy nmedit; ac_word=$2
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6936 $as_echo_n "checking for $ac_word... " >&6; }
6937 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6938 $as_echo_n "(cached) " >&6
6940 if test -n "$ac_ct_NMEDIT"; then
6941 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6947 test -z "$as_dir" && as_dir=.
6948 for ac_exec_ext in '' $ac_executable_extensions; do
6949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6950 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6960 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6961 if test -n "$ac_ct_NMEDIT"; then
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6963 $as_echo "$ac_ct_NMEDIT" >&6; }
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6966 $as_echo "no" >&6; }
6969 if test "x$ac_ct_NMEDIT" = x; then
6972 case $cross_compiling:$ac_tool_warned in
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6976 ac_tool_warned=yes ;;
6978 NMEDIT=$ac_ct_NMEDIT
6981 NMEDIT="$ac_cv_prog_NMEDIT"
6984 if test -n "$ac_tool_prefix"; then
6985 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6986 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6988 $as_echo_n "checking for $ac_word... " >&6; }
6989 if test "${ac_cv_prog_LIPO+set}" = set; then :
6990 $as_echo_n "(cached) " >&6
6992 if test -n "$LIPO"; then
6993 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6999 test -z "$as_dir" && as_dir=.
7000 for ac_exec_ext in '' $ac_executable_extensions; do
7001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7002 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7012 LIPO=$ac_cv_prog_LIPO
7013 if test -n "$LIPO"; then
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7015 $as_echo "$LIPO" >&6; }
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7018 $as_echo "no" >&6; }
7023 if test -z "$ac_cv_prog_LIPO"; then
7025 # Extract the first word of "lipo", so it can be a program name with args.
7026 set dummy lipo; ac_word=$2
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7028 $as_echo_n "checking for $ac_word... " >&6; }
7029 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7030 $as_echo_n "(cached) " >&6
7032 if test -n "$ac_ct_LIPO"; then
7033 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7039 test -z "$as_dir" && as_dir=.
7040 for ac_exec_ext in '' $ac_executable_extensions; do
7041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7042 ac_cv_prog_ac_ct_LIPO="lipo"
7043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7052 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7053 if test -n "$ac_ct_LIPO"; then
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7055 $as_echo "$ac_ct_LIPO" >&6; }
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7058 $as_echo "no" >&6; }
7061 if test "x$ac_ct_LIPO" = x; then
7064 case $cross_compiling:$ac_tool_warned in
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7068 ac_tool_warned=yes ;;
7073 LIPO="$ac_cv_prog_LIPO"
7076 if test -n "$ac_tool_prefix"; then
7077 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7078 set dummy ${ac_tool_prefix}otool; ac_word=$2
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7080 $as_echo_n "checking for $ac_word... " >&6; }
7081 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7082 $as_echo_n "(cached) " >&6
7084 if test -n "$OTOOL"; then
7085 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7091 test -z "$as_dir" && as_dir=.
7092 for ac_exec_ext in '' $ac_executable_extensions; do
7093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7094 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7104 OTOOL=$ac_cv_prog_OTOOL
7105 if test -n "$OTOOL"; then
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7107 $as_echo "$OTOOL" >&6; }
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7110 $as_echo "no" >&6; }
7115 if test -z "$ac_cv_prog_OTOOL"; then
7117 # Extract the first word of "otool", so it can be a program name with args.
7118 set dummy otool; ac_word=$2
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7120 $as_echo_n "checking for $ac_word... " >&6; }
7121 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7122 $as_echo_n "(cached) " >&6
7124 if test -n "$ac_ct_OTOOL"; then
7125 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7131 test -z "$as_dir" && as_dir=.
7132 for ac_exec_ext in '' $ac_executable_extensions; do
7133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7134 ac_cv_prog_ac_ct_OTOOL="otool"
7135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7144 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7145 if test -n "$ac_ct_OTOOL"; then
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7147 $as_echo "$ac_ct_OTOOL" >&6; }
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7150 $as_echo "no" >&6; }
7153 if test "x$ac_ct_OTOOL" = x; then
7156 case $cross_compiling:$ac_tool_warned in
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7160 ac_tool_warned=yes ;;
7165 OTOOL="$ac_cv_prog_OTOOL"
7168 if test -n "$ac_tool_prefix"; then
7169 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7170 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7172 $as_echo_n "checking for $ac_word... " >&6; }
7173 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7174 $as_echo_n "(cached) " >&6
7176 if test -n "$OTOOL64"; then
7177 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7183 test -z "$as_dir" && as_dir=.
7184 for ac_exec_ext in '' $ac_executable_extensions; do
7185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7186 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7196 OTOOL64=$ac_cv_prog_OTOOL64
7197 if test -n "$OTOOL64"; then
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7199 $as_echo "$OTOOL64" >&6; }
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 $as_echo "no" >&6; }
7207 if test -z "$ac_cv_prog_OTOOL64"; then
7208 ac_ct_OTOOL64=$OTOOL64
7209 # Extract the first word of "otool64", so it can be a program name with args.
7210 set dummy otool64; ac_word=$2
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7212 $as_echo_n "checking for $ac_word... " >&6; }
7213 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7214 $as_echo_n "(cached) " >&6
7216 if test -n "$ac_ct_OTOOL64"; then
7217 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7223 test -z "$as_dir" && as_dir=.
7224 for ac_exec_ext in '' $ac_executable_extensions; do
7225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7226 ac_cv_prog_ac_ct_OTOOL64="otool64"
7227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7236 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7237 if test -n "$ac_ct_OTOOL64"; then
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7239 $as_echo "$ac_ct_OTOOL64" >&6; }
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7242 $as_echo "no" >&6; }
7245 if test "x$ac_ct_OTOOL64" = x; then
7248 case $cross_compiling:$ac_tool_warned in
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7252 ac_tool_warned=yes ;;
7254 OTOOL64=$ac_ct_OTOOL64
7257 OTOOL64="$ac_cv_prog_OTOOL64"
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7287 $as_echo_n "checking for -single_module linker flag... " >&6; }
7288 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7289 $as_echo_n "(cached) " >&6
7291 lt_cv_apple_cc_single_mod=no
7292 if test -z "${LT_MULTI_MODULE}"; then
7293 # By default we will add the -single_module flag. You can override
7294 # by either setting the environment variable LT_MULTI_MODULE
7295 # non-empty at configure time, or by adding -multi_module to the
7297 rm -rf libconftest.dylib*
7298 echo "int foo(void){return 1;}" > conftest.c
7299 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7300 -dynamiclib -Wl,-single_module conftest.c" >&5
7301 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7302 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7304 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7305 lt_cv_apple_cc_single_mod=yes
7307 cat conftest.err >&5
7309 rm -rf libconftest.dylib*
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7314 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7316 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7317 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7318 $as_echo_n "(cached) " >&6
7320 lt_cv_ld_exported_symbols_list=no
7321 save_LDFLAGS=$LDFLAGS
7322 echo "_main" > conftest.sym
7323 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7325 /* end confdefs.h. */
7335 if ac_fn_c_try_link "$LINENO"; then :
7336 lt_cv_ld_exported_symbols_list=yes
7338 lt_cv_ld_exported_symbols_list=no
7340 rm -f core conftest.err conftest.$ac_objext \
7341 conftest$ac_exeext conftest.$ac_ext
7342 LDFLAGS="$save_LDFLAGS"
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7346 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7348 rhapsody* | darwin1.[012])
7349 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7351 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7352 darwin*) # darwin 5.x on
7353 # if running on 10.5 or later, the deployment target defaults
7354 # to the OS version, if on x86, and 10.4, the deployment
7355 # target defaults to 10.4. Don't you love it?
7356 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7357 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7358 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7360 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7362 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7366 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7367 _lt_dar_single_mod='$single_module'
7369 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7370 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7372 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7374 if test "$DSYMUTIL" != ":"; then
7375 _lt_dsymutil='~$DSYMUTIL $lib || :'
7382 for ac_header in dlfcn.h
7384 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7386 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7387 cat >>confdefs.h <<_ACEOF
7388 #define HAVE_DLFCN_H 1
7398 ac_cpp='$CXXCPP $CPPFLAGS'
7399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7402 if test -z "$CXX"; then
7403 if test -n "$CCC"; then
7406 if test -n "$ac_tool_prefix"; then
7407 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7409 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7410 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412 $as_echo_n "checking for $ac_word... " >&6; }
7413 if test "${ac_cv_prog_CXX+set}" = set; then :
7414 $as_echo_n "(cached) " >&6
7416 if test -n "$CXX"; then
7417 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7423 test -z "$as_dir" && as_dir=.
7424 for ac_exec_ext in '' $ac_executable_extensions; do
7425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7426 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7437 if test -n "$CXX"; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7439 $as_echo "$CXX" >&6; }
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 $as_echo "no" >&6; }
7446 test -n "$CXX" && break
7449 if test -z "$CXX"; then
7451 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7453 # Extract the first word of "$ac_prog", so it can be a program name with args.
7454 set dummy $ac_prog; ac_word=$2
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7456 $as_echo_n "checking for $ac_word... " >&6; }
7457 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
7458 $as_echo_n "(cached) " >&6
7460 if test -n "$ac_ct_CXX"; then
7461 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7467 test -z "$as_dir" && as_dir=.
7468 for ac_exec_ext in '' $ac_executable_extensions; do
7469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7470 ac_cv_prog_ac_ct_CXX="$ac_prog"
7471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7480 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7481 if test -n "$ac_ct_CXX"; then
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7483 $as_echo "$ac_ct_CXX" >&6; }
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 $as_echo "no" >&6; }
7490 test -n "$ac_ct_CXX" && break
7493 if test "x$ac_ct_CXX" = x; then
7496 case $cross_compiling:$ac_tool_warned in
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7500 ac_tool_warned=yes ;;
7508 # Provide some information about the compiler.
7509 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7512 for ac_option in --version -v -V -qversion; do
7513 { { ac_try="$ac_compiler $ac_option >&5"
7515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7516 *) ac_try_echo=$ac_try;;
7518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7519 $as_echo "$ac_try_echo"; } >&5
7520 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7522 if test -s conftest.err; then
7524 ... rest of stderr output deleted ...
7525 10q' conftest.err >conftest.er1
7526 cat conftest.er1 >&5
7528 rm -f conftest.er1 conftest.err
7529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7530 test $ac_status = 0; }
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7534 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7535 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
7536 $as_echo_n "(cached) " >&6
7538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7539 /* end confdefs.h. */
7552 if ac_fn_cxx_try_compile "$LINENO"; then :
7557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7558 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7562 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7563 if test $ac_compiler_gnu = yes; then
7568 ac_test_CXXFLAGS=${CXXFLAGS+set}
7569 ac_save_CXXFLAGS=$CXXFLAGS
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7571 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7572 if test "${ac_cv_prog_cxx_g+set}" = set; then :
7573 $as_echo_n "(cached) " >&6
7575 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7576 ac_cxx_werror_flag=yes
7579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7580 /* end confdefs.h. */
7590 if ac_fn_cxx_try_compile "$LINENO"; then :
7591 ac_cv_prog_cxx_g=yes
7594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7595 /* end confdefs.h. */
7605 if ac_fn_cxx_try_compile "$LINENO"; then :
7608 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7611 /* end confdefs.h. */
7621 if ac_fn_cxx_try_compile "$LINENO"; then :
7622 ac_cv_prog_cxx_g=yes
7624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7629 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7632 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7633 if test "$ac_test_CXXFLAGS" = set; then
7634 CXXFLAGS=$ac_save_CXXFLAGS
7635 elif test $ac_cv_prog_cxx_g = yes; then
7636 if test "$GXX" = yes; then
7642 if test "$GXX" = yes; then
7649 ac_cpp='$CPP $CPPFLAGS'
7650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7654 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7655 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7656 (test "X$CXX" != "Xg++"))) ; then
7658 ac_cpp='$CXXCPP $CPPFLAGS'
7659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
7663 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7664 if test -z "$CXXCPP"; then
7665 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
7666 $as_echo_n "(cached) " >&6
7668 # Double quotes because CXXCPP needs to be expanded
7669 for CXXCPP in "$CXX -E" "/lib/cpp"
7672 for ac_cxx_preproc_warn_flag in '' yes
7674 # Use a header file that comes with gcc, so configuring glibc
7675 # with a fresh cross-compiler works.
7676 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7677 # <limits.h> exists even on freestanding compilers.
7678 # On the NeXT, cc -E runs the code through the compiler's parser,
7679 # not just through cpp. "Syntax error" is here to catch this case.
7680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7681 /* end confdefs.h. */
7683 # include <limits.h>
7685 # include <assert.h>
7689 if ac_fn_cxx_try_cpp "$LINENO"; then :
7692 # Broken: fails on valid input.
7695 rm -f conftest.err conftest.$ac_ext
7697 # OK, works on sane cases. Now check whether nonexistent headers
7698 # can be detected and how.
7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7701 #include <ac_nonexistent.h>
7703 if ac_fn_cxx_try_cpp "$LINENO"; then :
7704 # Broken: success on invalid input.
7707 # Passes both tests.
7711 rm -f conftest.err conftest.$ac_ext
7714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7715 rm -f conftest.err conftest.$ac_ext
7716 if $ac_preproc_ok; then :
7721 ac_cv_prog_CXXCPP=$CXXCPP
7724 CXXCPP=$ac_cv_prog_CXXCPP
7726 ac_cv_prog_CXXCPP=$CXXCPP
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
7729 $as_echo "$CXXCPP" >&6; }
7731 for ac_cxx_preproc_warn_flag in '' yes
7733 # Use a header file that comes with gcc, so configuring glibc
7734 # with a fresh cross-compiler works.
7735 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7736 # <limits.h> exists even on freestanding compilers.
7737 # On the NeXT, cc -E runs the code through the compiler's parser,
7738 # not just through cpp. "Syntax error" is here to catch this case.
7739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7740 /* end confdefs.h. */
7742 # include <limits.h>
7744 # include <assert.h>
7748 if ac_fn_cxx_try_cpp "$LINENO"; then :
7751 # Broken: fails on valid input.
7754 rm -f conftest.err conftest.$ac_ext
7756 # OK, works on sane cases. Now check whether nonexistent headers
7757 # can be detected and how.
7758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7759 /* end confdefs.h. */
7760 #include <ac_nonexistent.h>
7762 if ac_fn_cxx_try_cpp "$LINENO"; then :
7763 # Broken: success on invalid input.
7766 # Passes both tests.
7770 rm -f conftest.err conftest.$ac_ext
7773 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7774 rm -f conftest.err conftest.$ac_ext
7775 if $ac_preproc_ok; then :
7778 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7780 _lt_caught_CXX_error=yes; }
7784 ac_cpp='$CPP $CPPFLAGS'
7785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7790 _lt_caught_CXX_error=yes
7807 # Check whether --enable-shared was given.
7808 if test "${enable_shared+set}" = set; then :
7809 enableval=$enable_shared; p=${PACKAGE-default}
7811 yes) enable_shared=yes ;;
7812 no) enable_shared=no ;;
7815 # Look at the argument we got. We use all the common list separators.
7816 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7817 for pkg in $enableval; do
7819 if test "X$pkg" = "X$p"; then
7838 # Check whether --enable-static was given.
7839 if test "${enable_static+set}" = set; then :
7840 enableval=$enable_static; p=${PACKAGE-default}
7842 yes) enable_static=yes ;;
7843 no) enable_static=no ;;
7846 # Look at the argument we got. We use all the common list separators.
7847 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7848 for pkg in $enableval; do
7850 if test "X$pkg" = "X$p"; then
7870 # Check whether --with-pic was given.
7871 if test "${with_pic+set}" = set; then :
7872 withval=$with_pic; pic_mode="$withval"
7878 test -z "$pic_mode" && pic_mode=default
7886 # Check whether --enable-fast-install was given.
7887 if test "${enable_fast_install+set}" = set; then :
7888 enableval=$enable_fast_install; p=${PACKAGE-default}
7890 yes) enable_fast_install=yes ;;
7891 no) enable_fast_install=no ;;
7893 enable_fast_install=no
7894 # Look at the argument we got. We use all the common list separators.
7895 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7896 for pkg in $enableval; do
7898 if test "X$pkg" = "X$p"; then
7899 enable_fast_install=yes
7906 enable_fast_install=yes
7919 # This can be used to rebuild libtool when needed
7920 LIBTOOL_DEPS="$ltmain"
7922 # Always use our own libtool.
7923 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7949 test -z "$LN_S" && LN_S="ln -s"
7964 if test -n "${ZSH_VERSION+set}" ; then
7965 setopt NO_GLOB_SUBST
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7969 $as_echo_n "checking for objdir... " >&6; }
7970 if test "${lt_cv_objdir+set}" = set; then :
7971 $as_echo_n "(cached) " >&6
7973 rm -f .libs 2>/dev/null
7974 mkdir .libs 2>/dev/null
7975 if test -d .libs; then
7978 # MS-DOS does not allow filenames that begin with a dot.
7981 rmdir .libs 2>/dev/null
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7984 $as_echo "$lt_cv_objdir" >&6; }
7985 objdir=$lt_cv_objdir
7991 cat >>confdefs.h <<_ACEOF
7992 #define LT_OBJDIR "$lt_cv_objdir/"
8013 # AIX sometimes has problems with the GCC collect2 program. For some
8014 # reason, if we set the COLLECT_NAMES environment variable, the problems
8015 # vanish in a puff of smoke.
8016 if test "X${COLLECT_NAMES+set}" != Xset; then
8018 export COLLECT_NAMES
8023 # Sed substitution that helps us do robust quoting. It backslashifies
8024 # metacharacters that are still active within double-quoted strings.
8025 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8027 # Same as above, but do not quote variable references.
8028 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8030 # Sed substitution to delay expansion of an escaped shell variable in a
8031 # double_quote_subst'ed string.
8032 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8034 # Sed substitution to delay expansion of an escaped single quote.
8035 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8037 # Sed substitution to avoid accidental globbing in evaled expressions
8038 no_glob_subst='s/\*/\\\*/g'
8042 can_build_shared=yes
8044 # All known linkers require a `.a' archive for static linking (except MSVC,
8045 # which needs '.lib').
8048 with_gnu_ld="$lt_cv_prog_gnu_ld"
8051 old_CFLAGS="$CFLAGS"
8053 # Set sane defaults for various variables
8054 test -z "$CC" && CC=cc
8055 test -z "$LTCC" && LTCC=$CC
8056 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8057 test -z "$LD" && LD=ld
8058 test -z "$ac_objext" && ac_objext=o
8060 for cc_temp in $compiler""; do
8062 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8063 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8068 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8071 # Only perform the check for file, if the check method requires it
8072 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8073 case $deplibs_check_method in
8075 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8077 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8078 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8079 $as_echo_n "(cached) " >&6
8083 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8086 lt_save_MAGIC_CMD="$MAGIC_CMD"
8087 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8088 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8089 for ac_dir in $ac_dummy; do
8091 test -z "$ac_dir" && ac_dir=.
8092 if test -f $ac_dir/${ac_tool_prefix}file; then
8093 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8094 if test -n "$file_magic_test_file"; then
8095 case $deplibs_check_method in
8097 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8098 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8099 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8100 $EGREP "$file_magic_regex" > /dev/null; then
8105 *** Warning: the command libtool uses to detect shared libraries,
8106 *** $file_magic_cmd, produces output that libtool cannot recognize.
8107 *** The result is that libtool may fail to recognize shared libraries
8108 *** as such. This will affect the creation of libtool libraries that
8109 *** depend on shared libraries, but programs linked with such libtool
8110 *** libraries will work regardless of this problem. Nevertheless, you
8111 *** may want to report the problem to your system manager and/or to
8112 *** bug-libtool@gnu.org
8122 MAGIC_CMD="$lt_save_MAGIC_CMD"
8127 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8128 if test -n "$MAGIC_CMD"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8130 $as_echo "$MAGIC_CMD" >&6; }
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133 $as_echo "no" >&6; }
8140 if test -z "$lt_cv_path_MAGIC_CMD"; then
8141 if test -n "$ac_tool_prefix"; then
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8143 $as_echo_n "checking for file... " >&6; }
8144 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8145 $as_echo_n "(cached) " >&6
8149 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8152 lt_save_MAGIC_CMD="$MAGIC_CMD"
8153 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8154 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8155 for ac_dir in $ac_dummy; do
8157 test -z "$ac_dir" && ac_dir=.
8158 if test -f $ac_dir/file; then
8159 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8160 if test -n "$file_magic_test_file"; then
8161 case $deplibs_check_method in
8163 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8164 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8165 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8166 $EGREP "$file_magic_regex" > /dev/null; then
8171 *** Warning: the command libtool uses to detect shared libraries,
8172 *** $file_magic_cmd, produces output that libtool cannot recognize.
8173 *** The result is that libtool may fail to recognize shared libraries
8174 *** as such. This will affect the creation of libtool libraries that
8175 *** depend on shared libraries, but programs linked with such libtool
8176 *** libraries will work regardless of this problem. Nevertheless, you
8177 *** may want to report the problem to your system manager and/or to
8178 *** bug-libtool@gnu.org
8188 MAGIC_CMD="$lt_save_MAGIC_CMD"
8193 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8194 if test -n "$MAGIC_CMD"; then
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8196 $as_echo "$MAGIC_CMD" >&6; }
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8199 $as_echo "no" >&6; }
8212 # Use C for the default configuration in the libtool script
8216 ac_cpp='$CPP $CPPFLAGS'
8217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8222 # Source file extension for C test sources.
8225 # Object file extension for compiled C test sources.
8229 # Code to be used in simple compile tests
8230 lt_simple_compile_test_code="int some_variable = 0;"
8232 # Code to be used in simple link tests
8233 lt_simple_link_test_code='int main(){return(0);}'
8241 # If no C compiler was specified, use CC.
8244 # If no C compiler flags were specified, use CFLAGS.
8245 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8247 # Allow CC to be a program name with arguments.
8250 # Save the default compiler, since it gets overwritten when the other
8251 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8252 compiler_DEFAULT=$CC
8254 # save warnings/boilerplate of simple test code
8255 ac_outfile=conftest.$ac_objext
8256 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8257 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8258 _lt_compiler_boilerplate=`cat conftest.err`
8261 ac_outfile=conftest.$ac_objext
8262 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8263 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8264 _lt_linker_boilerplate=`cat conftest.err`
8269 ## There is no encapsulation within the following macros, do not change
8270 ## the running order or otherwise move them around unless you know exactly
8271 ## what you are doing...
8272 if test -n "$compiler"; then
8274 lt_prog_compiler_no_builtin_flag=
8276 if test "$GCC" = yes; then
8277 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8280 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8281 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8282 $as_echo_n "(cached) " >&6
8284 lt_cv_prog_compiler_rtti_exceptions=no
8285 ac_outfile=conftest.$ac_objext
8286 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8287 lt_compiler_flag="-fno-rtti -fno-exceptions"
8288 # Insert the option either (1) after the last *FLAGS variable, or
8289 # (2) before a word containing "conftest.", or (3) at the end.
8290 # Note that $ac_compile itself does not contain backslashes and begins
8291 # with a dollar sign (not a hyphen), so the echo should work correctly.
8292 # The option is referenced via a variable to avoid confusing sed.
8293 lt_compile=`echo "$ac_compile" | $SED \
8294 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8295 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8296 -e 's:$: $lt_compiler_flag:'`
8297 (eval echo "\"\$as_me:8297: $lt_compile\"" >&5)
8298 (eval "$lt_compile" 2>conftest.err)
8300 cat conftest.err >&5
8301 echo "$as_me:8301: \$? = $ac_status" >&5
8302 if (exit $ac_status) && test -s "$ac_outfile"; then
8303 # The compiler can only warn and ignore the option if not recognized
8304 # So say no if there are warnings other than the usual output.
8305 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8306 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8307 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8308 lt_cv_prog_compiler_rtti_exceptions=yes
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8315 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8317 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8318 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8330 lt_prog_compiler_wl=
8331 lt_prog_compiler_pic=
8332 lt_prog_compiler_static=
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8335 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8337 if test "$GCC" = yes; then
8338 lt_prog_compiler_wl='-Wl,'
8339 lt_prog_compiler_static='-static'
8343 # All AIX code is PIC.
8344 if test "$host_cpu" = ia64; then
8345 # AIX 5 now supports IA64 processor
8346 lt_prog_compiler_static='-Bstatic'
8353 # see comment about AmigaOS4 .so support
8354 lt_prog_compiler_pic='-fPIC'
8357 # FIXME: we need at least 68020 code to build shared libraries, but
8358 # adding the `-m68020' flag to GCC prevents building anything better,
8360 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8365 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8366 # PIC is the default for these OSes.
8369 mingw* | cygwin* | pw32* | os2* | cegcc*)
8370 # This hack is so that the source file can tell whether it is being
8371 # built for inclusion in a dll (and should export symbols for example).
8372 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8373 # (--disable-auto-import) libraries
8374 lt_prog_compiler_pic='-DDLL_EXPORT'
8377 darwin* | rhapsody*)
8378 # PIC is the default on this platform
8379 # Common symbols not allowed in MH_DYLIB files
8380 lt_prog_compiler_pic='-fno-common'
8384 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8385 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8386 # sets the default TLS model and affects inlining.
8392 lt_prog_compiler_pic='-fPIC'
8398 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8399 # Instead, we relocate shared libraries at runtime.
8403 # Just because we use GCC doesn't mean we suddenly get shared libraries
8404 # on systems that don't support them.
8405 lt_prog_compiler_can_build_shared=no
8410 # QNX uses GNU C++, but need to define -shared option too, otherwise
8412 lt_prog_compiler_pic='-fPIC -shared'
8416 if test -d /usr/nec; then
8417 lt_prog_compiler_pic=-Kconform_pic
8422 lt_prog_compiler_pic='-fPIC'
8426 # PORTME Check for flag to pass linker flags through the system compiler.
8429 lt_prog_compiler_wl='-Wl,'
8430 if test "$host_cpu" = ia64; then
8431 # AIX 5 now supports IA64 processor
8432 lt_prog_compiler_static='-Bstatic'
8434 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8438 mingw* | cygwin* | pw32* | os2* | cegcc*)
8439 # This hack is so that the source file can tell whether it is being
8440 # built for inclusion in a dll (and should export symbols for example).
8441 lt_prog_compiler_pic='-DDLL_EXPORT'
8444 hpux9* | hpux10* | hpux11*)
8445 lt_prog_compiler_wl='-Wl,'
8446 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8453 lt_prog_compiler_pic='+Z'
8456 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8457 lt_prog_compiler_static='${wl}-a ${wl}archive'
8460 irix5* | irix6* | nonstopux*)
8461 lt_prog_compiler_wl='-Wl,'
8462 # PIC (with -KPIC) is the default.
8463 lt_prog_compiler_static='-non_shared'
8466 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8467 case $cc_basename in
8468 # old Intel for x86_64 which still supported -KPIC.
8470 lt_prog_compiler_wl='-Wl,'
8471 lt_prog_compiler_pic='-KPIC'
8472 lt_prog_compiler_static='-static'
8474 # icc used to be incompatible with GCC.
8475 # ICC 10 doesn't accept -KPIC any more.
8477 lt_prog_compiler_wl='-Wl,'
8478 lt_prog_compiler_pic='-fPIC'
8479 lt_prog_compiler_static='-static'
8481 # Lahey Fortran 8.1.
8483 lt_prog_compiler_wl='-Wl,'
8484 lt_prog_compiler_pic='--shared'
8485 lt_prog_compiler_static='--static'
8487 pgcc* | pgf77* | pgf90* | pgf95*)
8488 # Portland Group compilers (*not* the Pentium gcc compiler,
8489 # which looks to be a dead project)
8490 lt_prog_compiler_wl='-Wl,'
8491 lt_prog_compiler_pic='-fpic'
8492 lt_prog_compiler_static='-Bstatic'
8495 lt_prog_compiler_wl='-Wl,'
8496 # All Alpha code is PIC.
8497 lt_prog_compiler_static='-non_shared'
8500 # IBM XL C 8.0/Fortran 10.1 on PPC
8501 lt_prog_compiler_wl='-Wl,'
8502 lt_prog_compiler_pic='-qpic'
8503 lt_prog_compiler_static='-qstaticlink'
8506 case `$CC -V 2>&1 | sed 5q` in
8509 lt_prog_compiler_pic='-KPIC'
8510 lt_prog_compiler_static='-Bstatic'
8511 lt_prog_compiler_wl='-Wl,'
8514 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8515 lt_prog_compiler_pic='-KPIC'
8516 lt_prog_compiler_static='-Bstatic'
8517 lt_prog_compiler_wl=''
8525 lt_prog_compiler_pic='-KPIC'
8526 lt_prog_compiler_static='-Bstatic'
8530 # QNX uses GNU C++, but need to define -shared option too, otherwise
8532 lt_prog_compiler_pic='-fPIC -shared'
8535 osf3* | osf4* | osf5*)
8536 lt_prog_compiler_wl='-Wl,'
8537 # All OSF/1 code is PIC.
8538 lt_prog_compiler_static='-non_shared'
8542 lt_prog_compiler_static='-non_shared'
8546 lt_prog_compiler_pic='-KPIC'
8547 lt_prog_compiler_static='-Bstatic'
8548 case $cc_basename in
8550 lt_prog_compiler_wl='-Qoption ld ';;
8552 lt_prog_compiler_wl='-Wl,';;
8557 lt_prog_compiler_wl='-Qoption ld '
8558 lt_prog_compiler_pic='-PIC'
8559 lt_prog_compiler_static='-Bstatic'
8562 sysv4 | sysv4.2uw2* | sysv4.3*)
8563 lt_prog_compiler_wl='-Wl,'
8564 lt_prog_compiler_pic='-KPIC'
8565 lt_prog_compiler_static='-Bstatic'
8569 if test -d /usr/nec ;then
8570 lt_prog_compiler_pic='-Kconform_pic'
8571 lt_prog_compiler_static='-Bstatic'
8575 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8576 lt_prog_compiler_wl='-Wl,'
8577 lt_prog_compiler_pic='-KPIC'
8578 lt_prog_compiler_static='-Bstatic'
8582 lt_prog_compiler_wl='-Wl,'
8583 lt_prog_compiler_can_build_shared=no
8587 lt_prog_compiler_pic='-pic'
8588 lt_prog_compiler_static='-Bstatic'
8592 lt_prog_compiler_can_build_shared=no
8598 # For platforms which do not support PIC, -DPIC is meaningless:
8600 lt_prog_compiler_pic=
8603 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8607 $as_echo "$lt_prog_compiler_pic" >&6; }
8615 # Check to make sure the PIC flag actually works.
8617 if test -n "$lt_prog_compiler_pic"; then
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8619 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8620 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8621 $as_echo_n "(cached) " >&6
8623 lt_cv_prog_compiler_pic_works=no
8624 ac_outfile=conftest.$ac_objext
8625 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8626 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8627 # Insert the option either (1) after the last *FLAGS variable, or
8628 # (2) before a word containing "conftest.", or (3) at the end.
8629 # Note that $ac_compile itself does not contain backslashes and begins
8630 # with a dollar sign (not a hyphen), so the echo should work correctly.
8631 # The option is referenced via a variable to avoid confusing sed.
8632 lt_compile=`echo "$ac_compile" | $SED \
8633 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8634 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8635 -e 's:$: $lt_compiler_flag:'`
8636 (eval echo "\"\$as_me:8636: $lt_compile\"" >&5)
8637 (eval "$lt_compile" 2>conftest.err)
8639 cat conftest.err >&5
8640 echo "$as_me:8640: \$? = $ac_status" >&5
8641 if (exit $ac_status) && test -s "$ac_outfile"; then
8642 # The compiler can only warn and ignore the option if not recognized
8643 # So say no if there are warnings other than the usual output.
8644 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8645 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8646 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8647 lt_cv_prog_compiler_pic_works=yes
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8654 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8656 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8657 case $lt_prog_compiler_pic in
8659 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8662 lt_prog_compiler_pic=
8663 lt_prog_compiler_can_build_shared=no
8674 # Check to make sure the static flag actually works.
8676 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8678 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8679 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8680 $as_echo_n "(cached) " >&6
8682 lt_cv_prog_compiler_static_works=no
8683 save_LDFLAGS="$LDFLAGS"
8684 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8685 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8686 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8687 # The linker can only warn and ignore the option if not recognized
8688 # So say no if there are warnings
8689 if test -s conftest.err; then
8690 # Append any errors to the config.log.
8691 cat conftest.err 1>&5
8692 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8693 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8694 if diff conftest.exp conftest.er2 >/dev/null; then
8695 lt_cv_prog_compiler_static_works=yes
8698 lt_cv_prog_compiler_static_works=yes
8702 LDFLAGS="$save_LDFLAGS"
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8706 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8708 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8711 lt_prog_compiler_static=
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8721 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8722 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8723 $as_echo_n "(cached) " >&6
8725 lt_cv_prog_compiler_c_o=no
8726 $RM -r conftest 2>/dev/null
8730 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8732 lt_compiler_flag="-o out/conftest2.$ac_objext"
8733 # Insert the option either (1) after the last *FLAGS variable, or
8734 # (2) before a word containing "conftest.", or (3) at the end.
8735 # Note that $ac_compile itself does not contain backslashes and begins
8736 # with a dollar sign (not a hyphen), so the echo should work correctly.
8737 lt_compile=`echo "$ac_compile" | $SED \
8738 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8739 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8740 -e 's:$: $lt_compiler_flag:'`
8741 (eval echo "\"\$as_me:8741: $lt_compile\"" >&5)
8742 (eval "$lt_compile" 2>out/conftest.err)
8744 cat out/conftest.err >&5
8745 echo "$as_me:8745: \$? = $ac_status" >&5
8746 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8748 # The compiler can only warn and ignore the option if not recognized
8749 # So say no if there are warnings
8750 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8751 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8752 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8753 lt_cv_prog_compiler_c_o=yes
8758 # SGI C++ compiler will create directory out/ii_files/ for
8759 # template instantiation
8760 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8761 $RM out/* && rmdir out
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8768 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8776 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8777 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8778 $as_echo_n "(cached) " >&6
8780 lt_cv_prog_compiler_c_o=no
8781 $RM -r conftest 2>/dev/null
8785 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8787 lt_compiler_flag="-o out/conftest2.$ac_objext"
8788 # Insert the option either (1) after the last *FLAGS variable, or
8789 # (2) before a word containing "conftest.", or (3) at the end.
8790 # Note that $ac_compile itself does not contain backslashes and begins
8791 # with a dollar sign (not a hyphen), so the echo should work correctly.
8792 lt_compile=`echo "$ac_compile" | $SED \
8793 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8794 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8795 -e 's:$: $lt_compiler_flag:'`
8796 (eval echo "\"\$as_me:8796: $lt_compile\"" >&5)
8797 (eval "$lt_compile" 2>out/conftest.err)
8799 cat out/conftest.err >&5
8800 echo "$as_me:8800: \$? = $ac_status" >&5
8801 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8803 # The compiler can only warn and ignore the option if not recognized
8804 # So say no if there are warnings
8805 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8806 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8807 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8808 lt_cv_prog_compiler_c_o=yes
8813 # SGI C++ compiler will create directory out/ii_files/ for
8814 # template instantiation
8815 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8816 $RM out/* && rmdir out
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8823 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8828 hard_links="nottested"
8829 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8830 # do not overwrite the value of need_locks provided by the user
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8832 $as_echo_n "checking if we can lock with hard links... " >&6; }
8835 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8837 ln conftest.a conftest.b 2>&5 || hard_links=no
8838 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8840 $as_echo "$hard_links" >&6; }
8841 if test "$hard_links" = no; then
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8843 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8856 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8859 allow_undefined_flag=
8860 always_export_symbols=no
8862 archive_expsym_cmds=
8863 compiler_needs_object=no
8864 enable_shared_with_static_runtimes=no
8865 export_dynamic_flag_spec=
8866 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8867 hardcode_automatic=no
8869 hardcode_direct_absolute=no
8870 hardcode_libdir_flag_spec=
8871 hardcode_libdir_flag_spec_ld=
8872 hardcode_libdir_separator=
8874 hardcode_shlibpath_var=unsupported
8876 link_all_deplibs=unknown
8879 old_archive_from_new_cmds=
8880 old_archive_from_expsyms_cmds=
8881 thread_safe_flag_spec=
8882 whole_archive_flag_spec=
8883 # include_expsyms should be a list of space-separated symbols to be *always*
8884 # included in the symbol list
8886 # exclude_expsyms can be an extended regexp of symbols to exclude
8887 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8888 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8889 # as well as any symbol that contains `d'.
8890 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8891 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8892 # platforms (ab)use it in PIC code, but their linkers get confused if
8893 # the symbol is explicitly referenced. Since portable code cannot
8894 # rely on this symbol name, it's probably fine to never include it in
8895 # preloaded symbol tables.
8896 # Exclude shared library initialization/finalization symbols.
8897 extract_expsyms_cmds=
8900 cygwin* | mingw* | pw32* | cegcc*)
8901 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8902 # When not using gcc, we currently assume that we are using
8903 # Microsoft Visual C++.
8904 if test "$GCC" != yes; then
8909 # we just hope/assume this is gcc and not c89 (= MSVC++)
8915 linux* | k*bsd*-gnu)
8921 if test "$with_gnu_ld" = yes; then
8922 # If archive_cmds runs LD, not CC, wlarc should be empty
8925 # Set some defaults for GNU ld with shared library support. These
8926 # are reset later if shared libraries are not supported. Putting them
8927 # here allows them to be overridden if necessary.
8928 runpath_var=LD_RUN_PATH
8929 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8930 export_dynamic_flag_spec='${wl}--export-dynamic'
8931 # ancient GNU ld didn't support --whole-archive et. al.
8932 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8933 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8935 whole_archive_flag_spec=
8937 supports_anon_versioning=no
8938 case `$LD -v 2>&1` in
8939 *GNU\ gold*) supports_anon_versioning=yes ;;
8940 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8941 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8942 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8943 *\ 2.11.*) ;; # other 2.11 versions
8944 *) supports_anon_versioning=yes ;;
8947 # See if GNU ld supports shared libraries.
8950 # On AIX/PPC, the GNU linker is very broken
8951 if test "$host_cpu" != ia64; then
8955 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8956 *** to be unable to reliably create shared libraries on AIX.
8957 *** Therefore, libtool is disabling shared libraries support. If you
8958 *** really care for shared libraries, you may want to modify your PATH
8959 *** so that a non-GNU linker is found, and then restart.
8968 # see comment about AmigaOS4 .so support
8969 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8970 archive_expsym_cmds=''
8973 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)'
8974 hardcode_libdir_flag_spec='-L$libdir'
8975 hardcode_minus_L=yes
8981 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8982 allow_undefined_flag=unsupported
8983 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8984 # support --undefined. This deserves some investigation. FIXME
8985 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8991 cygwin* | mingw* | pw32* | cegcc*)
8992 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8993 # as there is no search path for DLLs.
8994 hardcode_libdir_flag_spec='-L$libdir'
8995 allow_undefined_flag=unsupported
8996 always_export_symbols=no
8997 enable_shared_with_static_runtimes=yes
8998 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9000 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9001 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9002 # If the export-symbols file already is a .def file (1st line
9003 # is EXPORTS), use it as is; otherwise, prepend...
9004 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9005 cp $export_symbols $output_objdir/$soname.def;
9007 echo EXPORTS > $output_objdir/$soname.def;
9008 cat $export_symbols >> $output_objdir/$soname.def;
9010 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9018 hardcode_shlibpath_var=no
9019 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9020 export_dynamic_flag_spec='${wl}-E'
9021 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9022 # Instead, shared libraries are loaded at an image base (0x10000000 by
9023 # default) and relocated if they conflict, which is a slow very memory
9024 # consuming and fragmenting process. To avoid this, we pick a random,
9025 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9026 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9027 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9028 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'
9031 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9033 if test "$host_os" = linux-dietlibc; then
9034 case $cc_basename in
9035 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9038 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9039 && test "$tmp_diet" = no
9042 tmp_sharedflag='-shared'
9043 case $cc_basename,$host_cpu in
9044 pgcc*) # Portland Group C compiler
9045 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'
9046 tmp_addflag=' $pic_flag'
9048 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9049 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'
9050 tmp_addflag=' $pic_flag -Mnomain' ;;
9051 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9052 tmp_addflag=' -i_dynamic' ;;
9053 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9054 tmp_addflag=' -i_dynamic -nofor_main' ;;
9055 ifc* | ifort*) # Intel Fortran compiler
9056 tmp_addflag=' -nofor_main' ;;
9057 lf95*) # Lahey Fortran 8.1
9058 whole_archive_flag_spec=
9059 tmp_sharedflag='--shared' ;;
9060 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9061 tmp_sharedflag='-qmkshrobj'
9064 case `$CC -V 2>&1 | sed 5q` in
9065 *Sun\ C*) # Sun C 5.9
9066 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'
9067 compiler_needs_object=yes
9068 tmp_sharedflag='-G' ;;
9069 *Sun\ F*) # Sun Fortran 8.3
9070 tmp_sharedflag='-G' ;;
9072 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9074 if test "x$supports_anon_versioning" = xyes; then
9075 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9076 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9077 echo "local: *; };" >> $output_objdir/$libname.ver~
9078 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9081 case $cc_basename in
9083 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9084 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9085 hardcode_libdir_flag_spec=
9086 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9087 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9088 if test "x$supports_anon_versioning" = xyes; then
9089 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9090 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9091 echo "local: *; };" >> $output_objdir/$libname.ver~
9092 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9101 netbsd* | netbsdelf*-gnu)
9102 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9103 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9106 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9107 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9112 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9116 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9117 *** create shared libraries on Solaris systems. Therefore, libtool
9118 *** is disabling shared libraries support. We urge you to upgrade GNU
9119 *** binutils to release 2.9.1 or newer. Another option is to modify
9120 *** your PATH or compiler configuration so that the native linker is
9121 *** used, and then restart.
9124 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9125 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9126 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9132 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9133 case `$LD -v 2>&1` in
9134 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9138 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9139 *** reliably create shared libraries on SCO systems. Therefore, libtool
9140 *** is disabling shared libraries support. We urge you to upgrade GNU
9141 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9142 *** your PATH or compiler configuration so that the native linker is
9143 *** used, and then restart.
9148 # For security reasons, it is highly recommended that you always
9149 # use absolute paths for naming shared libraries, and exclude the
9150 # DT_RUNPATH tag from executables and libraries. But doing so
9151 # requires that you compile everything twice, which is a pain.
9152 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9153 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9154 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9155 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9164 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9167 hardcode_shlibpath_var=no
9171 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9172 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9173 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9180 if test "$ld_shlibs" = no; then
9182 hardcode_libdir_flag_spec=
9183 export_dynamic_flag_spec=
9184 whole_archive_flag_spec=
9187 # PORTME fill in a description of your system's linker (not GNU ld)
9190 allow_undefined_flag=unsupported
9191 always_export_symbols=yes
9192 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'
9193 # Note: this linker hardcodes the directories in LIBPATH if there
9194 # are no directories specified by -L.
9195 hardcode_minus_L=yes
9196 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9197 # Neither direct hardcoding nor static linking is supported with a
9199 hardcode_direct=unsupported
9204 if test "$host_cpu" = ia64; then
9205 # On IA64, the linker does run time linking by default, so we don't
9206 # have to do anything special.
9207 aix_use_runtimelinking=no
9208 exp_sym_flag='-Bexport'
9211 # If we're using GNU nm, then we don't want the "-C" option.
9212 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9213 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9214 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'
9216 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'
9218 aix_use_runtimelinking=no
9220 # Test if we are trying to use run time linking or normal
9221 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9222 # need to do runtime linking.
9223 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9224 for ld_flag in $LDFLAGS; do
9225 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9226 aix_use_runtimelinking=yes
9233 exp_sym_flag='-bexport'
9234 no_entry_flag='-bnoentry'
9237 # When large executables or shared objects are built, AIX ld can
9238 # have problems creating the table of contents. If linking a library
9239 # or program results in "error TOC overflow" add -mminimal-toc to
9240 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9241 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9245 hardcode_direct_absolute=yes
9246 hardcode_libdir_separator=':'
9247 link_all_deplibs=yes
9248 file_list_spec='${wl}-f,'
9250 if test "$GCC" = yes; then
9251 case $host_os in aix4.[012]|aix4.[012].*)
9252 # We only want to do this on AIX 4.2 and lower, the check
9253 # below for broken collect2 doesn't work under 4.3+
9254 collect2name=`${CC} -print-prog-name=collect2`
9255 if test -f "$collect2name" &&
9256 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9258 # We have reworked collect2
9261 # We have old collect2
9262 hardcode_direct=unsupported
9263 # It fails to find uninstalled libraries when the uninstalled
9264 # path is not listed in the libpath. Setting hardcode_minus_L
9265 # to unsupported forces relinking
9266 hardcode_minus_L=yes
9267 hardcode_libdir_flag_spec='-L$libdir'
9268 hardcode_libdir_separator=
9272 shared_flag='-shared'
9273 if test "$aix_use_runtimelinking" = yes; then
9274 shared_flag="$shared_flag "'${wl}-G'
9279 if test "$host_cpu" = ia64; then
9280 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9281 # chokes on -Wl,-G. The following line is correct:
9284 if test "$aix_use_runtimelinking" = yes; then
9285 shared_flag='${wl}-G'
9287 shared_flag='${wl}-bM:SRE'
9292 export_dynamic_flag_spec='${wl}-bexpall'
9293 # It seems that -bexpall does not export symbols beginning with
9294 # underscore (_), so it is better to generate a list of symbols to export.
9295 always_export_symbols=yes
9296 if test "$aix_use_runtimelinking" = yes; then
9297 # Warning - without using the other runtime loading flags (-brtl),
9298 # -berok will link without error, but may produce a broken library.
9299 allow_undefined_flag='-berok'
9300 # Determine the default libpath from the value encoded in an
9302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9303 /* end confdefs.h. */
9313 if ac_fn_c_try_link "$LINENO"; then :
9315 lt_aix_libpath_sed='
9316 /Import File Strings/,/^$/ {
9322 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9323 # Check for a 64-bit object if we didn't find anything.
9324 if test -z "$aix_libpath"; then
9325 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9328 rm -f core conftest.err conftest.$ac_objext \
9329 conftest$ac_exeext conftest.$ac_ext
9330 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9332 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9333 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"
9335 if test "$host_cpu" = ia64; then
9336 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9337 allow_undefined_flag="-z nodefs"
9338 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"
9340 # Determine the default libpath from the value encoded in an
9342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9343 /* end confdefs.h. */
9353 if ac_fn_c_try_link "$LINENO"; then :
9355 lt_aix_libpath_sed='
9356 /Import File Strings/,/^$/ {
9362 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9363 # Check for a 64-bit object if we didn't find anything.
9364 if test -z "$aix_libpath"; then
9365 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9368 rm -f core conftest.err conftest.$ac_objext \
9369 conftest$ac_exeext conftest.$ac_ext
9370 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9372 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9373 # Warning - without using the other run time loading flags,
9374 # -berok will link without error, but may produce a broken library.
9375 no_undefined_flag=' ${wl}-bernotok'
9376 allow_undefined_flag=' ${wl}-berok'
9377 # Exported symbols can be pulled into shared objects from archives
9378 whole_archive_flag_spec='$convenience'
9379 archive_cmds_need_lc=yes
9380 # This is similar to how AIX traditionally builds its shared libraries.
9381 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'
9389 # see comment about AmigaOS4 .so support
9390 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9391 archive_expsym_cmds=''
9394 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)'
9395 hardcode_libdir_flag_spec='-L$libdir'
9396 hardcode_minus_L=yes
9402 export_dynamic_flag_spec=-rdynamic
9405 cygwin* | mingw* | pw32* | cegcc*)
9406 # When not using gcc, we currently assume that we are using
9407 # Microsoft Visual C++.
9408 # hardcode_libdir_flag_spec is actually meaningless, as there is
9409 # no search path for DLLs.
9410 hardcode_libdir_flag_spec=' '
9411 allow_undefined_flag=unsupported
9412 # Tell ltmain to make .lib files, not .a files.
9414 # Tell ltmain to make .dll files, not .so files.
9416 # FIXME: Setting linknames here is a bad hack.
9417 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9418 # The linker will automatically build a .lib file if we build a DLL.
9419 old_archive_from_new_cmds='true'
9420 # FIXME: Should let the user specify the lib program.
9421 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9422 fix_srcfile_path='`cygpath -w "$srcfile"`'
9423 enable_shared_with_static_runtimes=yes
9426 darwin* | rhapsody*)
9429 archive_cmds_need_lc=no
9431 hardcode_automatic=yes
9432 hardcode_shlibpath_var=unsupported
9433 whole_archive_flag_spec=''
9434 link_all_deplibs=yes
9435 allow_undefined_flag="$_lt_dar_allow_undefined"
9436 case $cc_basename in
9437 ifort*) _lt_dar_can_shared=yes ;;
9438 *) _lt_dar_can_shared=$GCC ;;
9440 if test "$_lt_dar_can_shared" = "yes"; then
9441 output_verbose_link_cmd=echo
9442 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9443 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9444 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}"
9445 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}"
9454 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9455 hardcode_libdir_flag_spec='-L$libdir'
9456 hardcode_shlibpath_var=no
9463 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9464 # support. Future versions do this automatically, but an explicit c++rt0.o
9465 # does not break anything, and helps significantly (at the cost of a little
9468 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9469 hardcode_libdir_flag_spec='-R$libdir'
9471 hardcode_shlibpath_var=no
9474 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9476 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9478 hardcode_minus_L=yes
9479 hardcode_shlibpath_var=no
9482 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9483 freebsd* | dragonfly*)
9484 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9485 hardcode_libdir_flag_spec='-R$libdir'
9487 hardcode_shlibpath_var=no
9491 if test "$GCC" = yes; then
9492 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'
9494 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'
9496 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9497 hardcode_libdir_separator=:
9500 # hardcode_minus_L: Not really in the search PATH,
9501 # but as the default location of the library.
9502 hardcode_minus_L=yes
9503 export_dynamic_flag_spec='${wl}-E'
9507 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9508 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9510 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9512 if test "$with_gnu_ld" = no; then
9513 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9514 hardcode_libdir_flag_spec_ld='+b $libdir'
9515 hardcode_libdir_separator=:
9517 hardcode_direct_absolute=yes
9518 export_dynamic_flag_spec='${wl}-E'
9519 # hardcode_minus_L: Not really in the search PATH,
9520 # but as the default location of the library.
9521 hardcode_minus_L=yes
9526 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9529 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9532 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9535 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9541 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9544 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9547 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9551 if test "$with_gnu_ld" = no; then
9552 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9553 hardcode_libdir_separator=:
9558 hardcode_shlibpath_var=no
9562 hardcode_direct_absolute=yes
9563 export_dynamic_flag_spec='${wl}-E'
9565 # hardcode_minus_L: Not really in the search PATH,
9566 # but as the default location of the library.
9567 hardcode_minus_L=yes
9573 irix5* | irix6* | nonstopux*)
9574 if test "$GCC" = yes; then
9575 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'
9576 # Try to use the -exported_symbol ld option, if it does not
9577 # work, assume that -exports_file does not work either and
9578 # implicitly export all symbols.
9579 save_LDFLAGS="$LDFLAGS"
9580 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9582 /* end confdefs.h. */
9585 if ac_fn_c_try_link "$LINENO"; then :
9586 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'
9589 rm -f core conftest.err conftest.$ac_objext \
9590 conftest$ac_exeext conftest.$ac_ext
9591 LDFLAGS="$save_LDFLAGS"
9593 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'
9594 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'
9596 archive_cmds_need_lc='no'
9597 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9598 hardcode_libdir_separator=:
9600 link_all_deplibs=yes
9603 netbsd* | netbsdelf*-gnu)
9604 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9605 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9607 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9609 hardcode_libdir_flag_spec='-R$libdir'
9611 hardcode_shlibpath_var=no
9615 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9617 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9618 hardcode_libdir_separator=:
9619 hardcode_shlibpath_var=no
9626 if test -f /usr/libexec/ld.so; then
9628 hardcode_shlibpath_var=no
9629 hardcode_direct_absolute=yes
9630 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9631 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9632 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9633 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9634 export_dynamic_flag_spec='${wl}-E'
9637 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9638 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9639 hardcode_libdir_flag_spec='-R$libdir'
9642 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9643 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9653 hardcode_libdir_flag_spec='-L$libdir'
9654 hardcode_minus_L=yes
9655 allow_undefined_flag=unsupported
9656 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'
9657 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9661 if test "$GCC" = yes; then
9662 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9663 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'
9665 allow_undefined_flag=' -expect_unresolved \*'
9666 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'
9668 archive_cmds_need_lc='no'
9669 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9670 hardcode_libdir_separator=:
9673 osf4* | osf5*) # as osf3* with the addition of -msym flag
9674 if test "$GCC" = yes; then
9675 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9676 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'
9677 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9679 allow_undefined_flag=' -expect_unresolved \*'
9680 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'
9681 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~
9682 $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'
9684 # Both c and cxx compiler support -rpath directly
9685 hardcode_libdir_flag_spec='-rpath $libdir'
9687 archive_cmds_need_lc='no'
9688 hardcode_libdir_separator=:
9692 no_undefined_flag=' -z defs'
9693 if test "$GCC" = yes; then
9695 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9696 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9697 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9699 case `$CC -V 2>&1` in
9702 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9703 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9704 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9708 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9709 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9710 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9714 hardcode_libdir_flag_spec='-R$libdir'
9715 hardcode_shlibpath_var=no
9717 solaris2.[0-5] | solaris2.[0-5].*) ;;
9719 # The compiler driver will combine and reorder linker options,
9720 # but understands `-z linker_flag'. GCC discards it without `$wl',
9721 # but is careful enough not to reorder.
9722 # Supported since Solaris 2.6 (maybe 2.5.1?)
9723 if test "$GCC" = yes; then
9724 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9726 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9730 link_all_deplibs=yes
9734 if test "x$host_vendor" = xsequent; then
9735 # Use $CC to link under sequent, because it throws in some extra .o
9736 # files that make .init and .fini sections work.
9737 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9739 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9741 hardcode_libdir_flag_spec='-L$libdir'
9743 hardcode_minus_L=yes
9744 hardcode_shlibpath_var=no
9748 case $host_vendor in
9750 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9751 hardcode_direct=yes # is this really true???
9754 ## LD is ld it makes a PLAMLIB
9755 ## CC just makes a GrossModule.
9756 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9757 reload_cmds='$CC -r -o $output$reload_objs'
9761 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9762 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9765 runpath_var='LD_RUN_PATH'
9766 hardcode_shlibpath_var=no
9770 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9771 hardcode_shlibpath_var=no
9772 export_dynamic_flag_spec='-Bexport'
9776 if test -d /usr/nec; then
9777 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9778 hardcode_shlibpath_var=no
9779 runpath_var=LD_RUN_PATH
9780 hardcode_runpath_var=yes
9785 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9786 no_undefined_flag='${wl}-z,text'
9787 archive_cmds_need_lc=no
9788 hardcode_shlibpath_var=no
9789 runpath_var='LD_RUN_PATH'
9791 if test "$GCC" = yes; then
9792 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9793 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9795 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9796 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9800 sysv5* | sco3.2v5* | sco5v6*)
9801 # Note: We can NOT use -z defs as we might desire, because we do not
9802 # link with -lc, and that would cause any symbols used from libc to
9803 # always be unresolved, which means just about no library would
9804 # ever link correctly. If we're not using GNU ld we use -z text
9805 # though, which does catch some bad symbols but isn't as heavy-handed
9807 no_undefined_flag='${wl}-z,text'
9808 allow_undefined_flag='${wl}-z,nodefs'
9809 archive_cmds_need_lc=no
9810 hardcode_shlibpath_var=no
9811 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9812 hardcode_libdir_separator=':'
9813 link_all_deplibs=yes
9814 export_dynamic_flag_spec='${wl}-Bexport'
9815 runpath_var='LD_RUN_PATH'
9817 if test "$GCC" = yes; then
9818 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9819 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9821 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9822 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9827 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9828 hardcode_libdir_flag_spec='-L$libdir'
9829 hardcode_shlibpath_var=no
9837 if test x$host_vendor = xsni; then
9839 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9840 export_dynamic_flag_spec='${wl}-Blargedynsym'
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9847 $as_echo "$ld_shlibs" >&6; }
9848 test "$ld_shlibs" = no && can_build_shared=no
9850 with_gnu_ld=$with_gnu_ld
9867 # Do we need to explicitly link libc?
9869 case "x$archive_cmds_need_lc" in
9871 # Assume -lc should be added
9872 archive_cmds_need_lc=yes
9874 if test "$enable_shared" = yes && test "$GCC" = yes; then
9875 case $archive_cmds in
9877 # FIXME: we may have to deal with multi-command sequences.
9880 # Test whether the compiler implicitly links with -lc since on some
9881 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9882 # to ld, don't add -lc before -lgcc.
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9884 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9886 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9888 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9889 (eval $ac_compile) 2>&5
9891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9892 test $ac_status = 0; } 2>conftest.err; then
9895 libobjs=conftest.$ac_objext
9897 wl=$lt_prog_compiler_wl
9898 pic_flag=$lt_prog_compiler_pic
9904 lt_save_allow_undefined_flag=$allow_undefined_flag
9905 allow_undefined_flag=
9906 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9907 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9910 test $ac_status = 0; }
9912 archive_cmds_need_lc=no
9914 archive_cmds_need_lc=yes
9916 allow_undefined_flag=$lt_save_allow_undefined_flag
9918 cat conftest.err 1>&5
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9922 $as_echo "$archive_cmds_need_lc" >&6; }
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10086 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10088 if test "$GCC" = yes; then
10090 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10091 *) lt_awk_arg="/^libraries:/" ;;
10093 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10094 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10095 # if the path contains ";" then we assume it to be the separator
10096 # otherwise default to the standard path separator (i.e. ":") - it is
10097 # assumed that no part of a normal pathname contains ";" but that should
10098 # okay in the real world where ";" in dirpaths is itself problematic.
10099 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10101 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10103 # Ok, now we have the path, separated by spaces, we can step through it
10104 # and add multilib dir if necessary.
10105 lt_tmp_lt_search_path_spec=
10106 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10107 for lt_sys_path in $lt_search_path_spec; do
10108 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10109 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10111 test -d "$lt_sys_path" && \
10112 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10115 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10116 BEGIN {RS=" "; FS="/|\n";} {
10119 for (lt_i = NF; lt_i > 0; lt_i--) {
10120 if ($lt_i != "" && $lt_i != ".") {
10121 if ($lt_i == "..") {
10124 if (lt_count == 0) {
10125 lt_foo="/" $lt_i lt_foo;
10132 if (lt_foo != "") { lt_freq[lt_foo]++; }
10133 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10135 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10137 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10139 library_names_spec=
10140 libname_spec='lib$name'
10144 postuninstall_cmds=
10148 shlibpath_overrides_runpath=unknown
10150 dynamic_linker="$host_os ld.so"
10151 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10152 need_lib_prefix=unknown
10153 hardcode_into_libs=no
10155 # when you set need_version to no, make sure it does not cause -set_version
10156 # flags to be left without arguments
10157 need_version=unknown
10162 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10163 shlibpath_var=LIBPATH
10165 # AIX 3 has no versioning support, so we append a major version to the name.
10166 soname_spec='${libname}${release}${shared_ext}$major'
10173 hardcode_into_libs=yes
10174 if test "$host_cpu" = ia64; then
10175 # AIX 5 supports IA64
10176 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10177 shlibpath_var=LD_LIBRARY_PATH
10179 # With GCC up to 2.95.x, collect2 would create an import file
10180 # for dependence libraries. The import file would start with
10181 # the line `#! .'. This would cause the generated library to
10182 # depend on `.', always an invalid library. This was fixed in
10183 # development snapshots of GCC prior to 3.0.
10185 aix4 | aix4.[01] | aix4.[01].*)
10186 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10188 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10191 can_build_shared=no
10195 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10196 # soname into executable. Probably we can add versioning support to
10197 # collect2, so additional links can be useful in future.
10198 if test "$aix_use_runtimelinking" = yes; then
10199 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10200 # instead of lib<name>.a to let people know that these are not
10201 # typical AIX shared libraries.
10202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10204 # We preserve .a as extension for shared libraries through AIX4.2
10205 # and later when we are not doing run time linking.
10206 library_names_spec='${libname}${release}.a $libname.a'
10207 soname_spec='${libname}${release}${shared_ext}$major'
10209 shlibpath_var=LIBPATH
10216 # Since July 2007 AmigaOS4 officially supports .so libraries.
10217 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10221 library_names_spec='$libname.ixlibrary $libname.a'
10222 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10223 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'
10229 library_names_spec='${libname}${shared_ext}'
10230 dynamic_linker="$host_os ld.so"
10231 shlibpath_var=LIBRARY_PATH
10237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10238 soname_spec='${libname}${release}${shared_ext}$major'
10239 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10240 shlibpath_var=LD_LIBRARY_PATH
10241 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10242 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10243 # the default ld.so.conf also contains /usr/contrib/lib and
10244 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10245 # libtool to hard-code these into programs
10248 cygwin* | mingw* | pw32* | cegcc*)
10249 version_type=windows
10254 case $GCC,$host_os in
10255 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10256 library_names_spec='$libname.dll.a'
10257 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10258 postinstall_cmds='base_file=`basename \${file}`~
10259 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10260 dldir=$destdir/`dirname \$dlpath`~
10261 test -d \$dldir || mkdir -p \$dldir~
10262 $install_prog $dir/$dlname \$dldir/$dlname~
10263 chmod a+x \$dldir/$dlname~
10264 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10265 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10267 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10268 dlpath=$dir/\$dldll~
10270 shlibpath_overrides_runpath=yes
10274 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10275 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10276 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10279 # MinGW DLLs use traditional 'lib' prefix
10280 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10281 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10282 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10283 # It is most probably a Windows format PATH printed by
10284 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10285 # path with ; separators, and with drive letters. We can handle the
10286 # drive letters (cygwin fileutils understands them), so leave them,
10287 # especially as we might pass files found there to a mingw objdump,
10288 # which wouldn't understand a cygwinified path. Ahh.
10289 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10291 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10295 # pw32 DLLs use 'pw' prefix rather than 'lib'
10296 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10302 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10305 dynamic_linker='Win32 ld.exe'
10306 # FIXME: first we should search . and the directory the executable is in
10310 darwin* | rhapsody*)
10311 dynamic_linker="$host_os dyld"
10312 version_type=darwin
10315 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10316 soname_spec='${libname}${release}${major}$shared_ext'
10317 shlibpath_overrides_runpath=yes
10318 shlibpath_var=DYLD_LIBRARY_PATH
10319 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10321 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10322 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10330 soname_spec='${libname}${release}${shared_ext}$major'
10331 shlibpath_var=LD_LIBRARY_PATH
10338 freebsd* | dragonfly*)
10339 # DragonFly does not have aout. When/if they implement a new
10340 # versioning mechanism, adjust this.
10341 if test -x /usr/bin/objformat; then
10342 objformat=`/usr/bin/objformat`
10345 freebsd[123]*) objformat=aout ;;
10346 *) objformat=elf ;;
10349 version_type=freebsd-$objformat
10350 case $version_type in
10352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10357 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10361 shlibpath_var=LD_LIBRARY_PATH
10364 shlibpath_overrides_runpath=yes
10366 freebsd3.[01]* | freebsdelf3.[01]*)
10367 shlibpath_overrides_runpath=yes
10368 hardcode_into_libs=yes
10370 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10371 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10372 shlibpath_overrides_runpath=no
10373 hardcode_into_libs=yes
10375 *) # from 4.6 on, and DragonFly
10376 shlibpath_overrides_runpath=yes
10377 hardcode_into_libs=yes
10386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10387 soname_spec='${libname}${release}${shared_ext}$major'
10388 shlibpath_var=LD_LIBRARY_PATH
10389 hardcode_into_libs=yes
10392 hpux9* | hpux10* | hpux11*)
10393 # Give a soname corresponding to the major version so that dld.sl refuses to
10394 # link against other versions.
10401 hardcode_into_libs=yes
10402 dynamic_linker="$host_os dld.so"
10403 shlibpath_var=LD_LIBRARY_PATH
10404 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10406 soname_spec='${libname}${release}${shared_ext}$major'
10407 if test "X$HPUX_IA64_MODE" = X32; then
10408 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10410 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10412 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10416 hardcode_into_libs=yes
10417 dynamic_linker="$host_os dld.sl"
10418 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10419 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10421 soname_spec='${libname}${release}${shared_ext}$major'
10422 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10423 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10427 dynamic_linker="$host_os dld.sl"
10428 shlibpath_var=SHLIB_PATH
10429 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10431 soname_spec='${libname}${release}${shared_ext}$major'
10434 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10435 postinstall_cmds='chmod 555 $lib'
10442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10443 soname_spec='${libname}${release}${shared_ext}$major'
10444 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10445 shlibpath_var=LD_LIBRARY_PATH
10446 shlibpath_overrides_runpath=no
10447 hardcode_into_libs=yes
10450 irix5* | irix6* | nonstopux*)
10452 nonstopux*) version_type=nonstopux ;;
10454 if test "$lt_cv_prog_gnu_ld" = yes; then
10462 soname_spec='${libname}${release}${shared_ext}$major'
10463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10465 irix5* | nonstopux*)
10466 libsuff= shlibsuff=
10469 case $LD in # libtool.m4 will add one of these switches to LD
10470 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10471 libsuff= shlibsuff= libmagic=32-bit;;
10472 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10473 libsuff=32 shlibsuff=N32 libmagic=N32;;
10474 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10475 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10476 *) libsuff= shlibsuff= libmagic=never-match;;
10480 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10481 shlibpath_overrides_runpath=no
10482 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10483 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10484 hardcode_into_libs=yes
10487 # No shared lib support for Linux oldld, aout, or coff.
10488 linux*oldld* | linux*aout* | linux*coff*)
10492 # This must be Linux ELF.
10493 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10498 soname_spec='${libname}${release}${shared_ext}$major'
10499 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10500 shlibpath_var=LD_LIBRARY_PATH
10501 shlibpath_overrides_runpath=no
10502 # Some binutils ld are patched to set DT_RUNPATH
10503 save_LDFLAGS=$LDFLAGS
10504 save_libdir=$libdir
10505 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10506 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10508 /* end confdefs.h. */
10518 if ac_fn_c_try_link "$LINENO"; then :
10519 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10520 shlibpath_overrides_runpath=yes
10523 rm -f core conftest.err conftest.$ac_objext \
10524 conftest$ac_exeext conftest.$ac_ext
10525 LDFLAGS=$save_LDFLAGS
10526 libdir=$save_libdir
10528 # This implies no fast_install, which is unacceptable.
10529 # Some rework will be needed to allow for fast_install
10530 # before this can be enabled.
10531 hardcode_into_libs=yes
10533 # Append ld.so.conf contents to the search path
10534 if test -f /etc/ld.so.conf; then
10535 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' ' '`
10536 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10539 # We used to test for /lib/ld.so.1 and disable shared libraries on
10540 # powerpc, because MkLinux only supported shared libraries with the
10541 # GNU dynamic linker. Since this was broken with cross compilers,
10542 # most powerpc-linux boxes support dynamic linking these days and
10543 # people can always --disable-shared, the test was removed, and we
10544 # assume the GNU/Linux dynamic linker is in use.
10545 dynamic_linker='GNU/Linux ld.so'
10552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10553 soname_spec='${libname}${release}${shared_ext}$major'
10554 shlibpath_var=LD_LIBRARY_PATH
10555 shlibpath_overrides_runpath=no
10556 hardcode_into_libs=yes
10557 dynamic_linker='NetBSD ld.elf_so'
10564 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10566 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10567 dynamic_linker='NetBSD (a.out) ld.so'
10569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10570 soname_spec='${libname}${release}${shared_ext}$major'
10571 dynamic_linker='NetBSD ld.elf_so'
10573 shlibpath_var=LD_LIBRARY_PATH
10574 shlibpath_overrides_runpath=yes
10575 hardcode_into_libs=yes
10580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10581 shlibpath_var=LD_LIBRARY_PATH
10582 shlibpath_overrides_runpath=yes
10589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10590 soname_spec='${libname}${release}${shared_ext}$major'
10591 shlibpath_var=LD_LIBRARY_PATH
10592 shlibpath_overrides_runpath=no
10593 hardcode_into_libs=yes
10594 dynamic_linker='ldqnx.so'
10599 sys_lib_dlsearch_path_spec="/usr/lib"
10601 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10603 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10604 *) need_version=no ;;
10606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10607 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10608 shlibpath_var=LD_LIBRARY_PATH
10609 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10611 openbsd2.[89] | openbsd2.[89].*)
10612 shlibpath_overrides_runpath=no
10615 shlibpath_overrides_runpath=yes
10619 shlibpath_overrides_runpath=yes
10624 libname_spec='$name'
10627 library_names_spec='$libname${shared_ext} $libname.a'
10628 dynamic_linker='OS/2 ld.exe'
10629 shlibpath_var=LIBPATH
10632 osf3* | osf4* | osf5*)
10636 soname_spec='${libname}${release}${shared_ext}$major'
10637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10638 shlibpath_var=LD_LIBRARY_PATH
10639 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10640 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10652 soname_spec='${libname}${release}${shared_ext}$major'
10653 shlibpath_var=LD_LIBRARY_PATH
10654 shlibpath_overrides_runpath=yes
10655 hardcode_into_libs=yes
10656 # ldd complains unless libraries are executable
10657 postinstall_cmds='chmod +x $lib'
10662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10663 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10664 shlibpath_var=LD_LIBRARY_PATH
10665 shlibpath_overrides_runpath=yes
10666 if test "$with_gnu_ld" = yes; then
10674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10675 soname_spec='${libname}${release}${shared_ext}$major'
10676 shlibpath_var=LD_LIBRARY_PATH
10677 case $host_vendor in
10679 shlibpath_overrides_runpath=no
10681 runpath_var=LD_RUN_PATH
10689 shlibpath_overrides_runpath=no
10690 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10696 if test -d /usr/nec ;then
10698 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10699 soname_spec='$libname${shared_ext}.$major'
10700 shlibpath_var=LD_LIBRARY_PATH
10704 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10705 version_type=freebsd-elf
10708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10709 soname_spec='${libname}${release}${shared_ext}$major'
10710 shlibpath_var=LD_LIBRARY_PATH
10711 shlibpath_overrides_runpath=yes
10712 hardcode_into_libs=yes
10713 if test "$with_gnu_ld" = yes; then
10714 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10716 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10719 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10723 sys_lib_dlsearch_path_spec='/usr/lib'
10727 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10732 shlibpath_var=LD_LIBRARY_PATH
10733 shlibpath_overrides_runpath=no
10734 hardcode_into_libs=yes
10739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10740 soname_spec='${libname}${release}${shared_ext}$major'
10741 shlibpath_var=LD_LIBRARY_PATH
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10749 $as_echo "$dynamic_linker" >&6; }
10750 test "$dynamic_linker" = no && can_build_shared=no
10752 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10753 if test "$GCC" = yes; then
10754 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10757 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10758 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10760 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10761 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10851 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10853 if test -n "$hardcode_libdir_flag_spec" ||
10854 test -n "$runpath_var" ||
10855 test "X$hardcode_automatic" = "Xyes" ; then
10857 # We can hardcode non-existent directories.
10858 if test "$hardcode_direct" != no &&
10859 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10860 # have to relink, otherwise we might link with an installed library
10861 # when we should be linking with a yet-to-be-installed one
10862 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10863 test "$hardcode_minus_L" != no; then
10864 # Linking always hardcodes the temporary library directory.
10865 hardcode_action=relink
10867 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10868 hardcode_action=immediate
10871 # We cannot hardcode anything, or else we can only hardcode existing
10873 hardcode_action=unsupported
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10876 $as_echo "$hardcode_action" >&6; }
10878 if test "$hardcode_action" = relink ||
10879 test "$inherit_rpath" = yes; then
10880 # Fast installation is not supported
10881 enable_fast_install=no
10882 elif test "$shlibpath_overrides_runpath" = yes ||
10883 test "$enable_shared" = no; then
10884 # Fast installation is not necessary
10885 enable_fast_install=needless
10893 if test "x$enable_dlopen" != xyes; then
10894 enable_dlopen=unknown
10895 enable_dlopen_self=unknown
10896 enable_dlopen_self_static=unknown
10903 lt_cv_dlopen="load_add_on"
10905 lt_cv_dlopen_self=yes
10908 mingw* | pw32* | cegcc*)
10909 lt_cv_dlopen="LoadLibrary"
10914 lt_cv_dlopen="dlopen"
10919 # if libdl is installed we need to link against it
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10921 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10922 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10923 $as_echo_n "(cached) " >&6
10925 ac_check_lib_save_LIBS=$LIBS
10927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h. */
10930 /* Override any GCC internal prototype to avoid an error.
10931 Use char because int might match the return type of a GCC
10932 builtin and then its argument prototype would still apply. */
10945 if ac_fn_c_try_link "$LINENO"; then :
10946 ac_cv_lib_dl_dlopen=yes
10948 ac_cv_lib_dl_dlopen=no
10950 rm -f core conftest.err conftest.$ac_objext \
10951 conftest$ac_exeext conftest.$ac_ext
10952 LIBS=$ac_check_lib_save_LIBS
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10955 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10956 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10957 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10960 lt_cv_dlopen="dyld"
10962 lt_cv_dlopen_self=yes
10969 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10970 if test "x$ac_cv_func_shl_load" = x""yes; then :
10971 lt_cv_dlopen="shl_load"
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10974 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10975 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10976 $as_echo_n "(cached) " >&6
10978 ac_check_lib_save_LIBS=$LIBS
10980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10981 /* end confdefs.h. */
10983 /* Override any GCC internal prototype to avoid an error.
10984 Use char because int might match the return type of a GCC
10985 builtin and then its argument prototype would still apply. */
10993 return shl_load ();
10998 if ac_fn_c_try_link "$LINENO"; then :
10999 ac_cv_lib_dld_shl_load=yes
11001 ac_cv_lib_dld_shl_load=no
11003 rm -f core conftest.err conftest.$ac_objext \
11004 conftest$ac_exeext conftest.$ac_ext
11005 LIBS=$ac_check_lib_save_LIBS
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11008 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11009 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11010 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11012 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11013 if test "x$ac_cv_func_dlopen" = x""yes; then :
11014 lt_cv_dlopen="dlopen"
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11017 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11018 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11019 $as_echo_n "(cached) " >&6
11021 ac_check_lib_save_LIBS=$LIBS
11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11026 /* Override any GCC internal prototype to avoid an error.
11027 Use char because int might match the return type of a GCC
11028 builtin and then its argument prototype would still apply. */
11041 if ac_fn_c_try_link "$LINENO"; then :
11042 ac_cv_lib_dl_dlopen=yes
11044 ac_cv_lib_dl_dlopen=no
11046 rm -f core conftest.err conftest.$ac_objext \
11047 conftest$ac_exeext conftest.$ac_ext
11048 LIBS=$ac_check_lib_save_LIBS
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11051 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11052 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11053 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11056 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11057 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11058 $as_echo_n "(cached) " >&6
11060 ac_check_lib_save_LIBS=$LIBS
11061 LIBS="-lsvld $LIBS"
11062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11065 /* Override any GCC internal prototype to avoid an error.
11066 Use char because int might match the return type of a GCC
11067 builtin and then its argument prototype would still apply. */
11080 if ac_fn_c_try_link "$LINENO"; then :
11081 ac_cv_lib_svld_dlopen=yes
11083 ac_cv_lib_svld_dlopen=no
11085 rm -f core conftest.err conftest.$ac_objext \
11086 conftest$ac_exeext conftest.$ac_ext
11087 LIBS=$ac_check_lib_save_LIBS
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11090 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11091 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11092 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11095 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11096 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11097 $as_echo_n "(cached) " >&6
11099 ac_check_lib_save_LIBS=$LIBS
11101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11104 /* Override any GCC internal prototype to avoid an error.
11105 Use char because int might match the return type of a GCC
11106 builtin and then its argument prototype would still apply. */
11114 return dld_link ();
11119 if ac_fn_c_try_link "$LINENO"; then :
11120 ac_cv_lib_dld_dld_link=yes
11122 ac_cv_lib_dld_dld_link=no
11124 rm -f core conftest.err conftest.$ac_objext \
11125 conftest$ac_exeext conftest.$ac_ext
11126 LIBS=$ac_check_lib_save_LIBS
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11129 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11130 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11131 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11152 if test "x$lt_cv_dlopen" != xno; then
11158 case $lt_cv_dlopen in
11160 save_CPPFLAGS="$CPPFLAGS"
11161 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11163 save_LDFLAGS="$LDFLAGS"
11164 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11167 LIBS="$lt_cv_dlopen_libs $LIBS"
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11170 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11171 if test "${lt_cv_dlopen_self+set}" = set; then :
11172 $as_echo_n "(cached) " >&6
11174 if test "$cross_compiling" = yes; then :
11175 lt_cv_dlopen_self=cross
11177 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11178 lt_status=$lt_dlunknown
11179 cat > conftest.$ac_ext <<_LT_EOF
11180 #line 11180 "configure"
11181 #include "confdefs.h"
11190 # define LT_DLGLOBAL RTLD_GLOBAL
11193 # define LT_DLGLOBAL DL_GLOBAL
11195 # define LT_DLGLOBAL 0
11199 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11200 find out it does not work in some platform. */
11201 #ifndef LT_DLLAZY_OR_NOW
11203 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11206 # define LT_DLLAZY_OR_NOW DL_LAZY
11209 # define LT_DLLAZY_OR_NOW RTLD_NOW
11212 # define LT_DLLAZY_OR_NOW DL_NOW
11214 # define LT_DLLAZY_OR_NOW 0
11221 void fnord() { int i=42;}
11224 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11225 int status = $lt_dlunknown;
11229 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11230 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11231 /* dlclose (self); */
11239 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11240 (eval $ac_link) 2>&5
11242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11243 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11244 (./conftest; exit; ) >&5 2>/dev/null
11246 case x$lt_status in
11247 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11248 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11249 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11252 # compilation failed
11253 lt_cv_dlopen_self=no
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11261 $as_echo "$lt_cv_dlopen_self" >&6; }
11263 if test "x$lt_cv_dlopen_self" = xyes; then
11264 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11266 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11267 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11268 $as_echo_n "(cached) " >&6
11270 if test "$cross_compiling" = yes; then :
11271 lt_cv_dlopen_self_static=cross
11273 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11274 lt_status=$lt_dlunknown
11275 cat > conftest.$ac_ext <<_LT_EOF
11276 #line 11276 "configure"
11277 #include "confdefs.h"
11286 # define LT_DLGLOBAL RTLD_GLOBAL
11289 # define LT_DLGLOBAL DL_GLOBAL
11291 # define LT_DLGLOBAL 0
11295 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11296 find out it does not work in some platform. */
11297 #ifndef LT_DLLAZY_OR_NOW
11299 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11302 # define LT_DLLAZY_OR_NOW DL_LAZY
11305 # define LT_DLLAZY_OR_NOW RTLD_NOW
11308 # define LT_DLLAZY_OR_NOW DL_NOW
11310 # define LT_DLLAZY_OR_NOW 0
11317 void fnord() { int i=42;}
11320 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11321 int status = $lt_dlunknown;
11325 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11326 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11327 /* dlclose (self); */
11335 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11336 (eval $ac_link) 2>&5
11338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11339 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11340 (./conftest; exit; ) >&5 2>/dev/null
11342 case x$lt_status in
11343 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11344 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11345 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11348 # compilation failed
11349 lt_cv_dlopen_self_static=no
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11357 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11360 CPPFLAGS="$save_CPPFLAGS"
11361 LDFLAGS="$save_LDFLAGS"
11366 case $lt_cv_dlopen_self in
11367 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11368 *) enable_dlopen_self=unknown ;;
11371 case $lt_cv_dlopen_self_static in
11372 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11373 *) enable_dlopen_self_static=unknown ;;
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11396 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11397 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11398 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11399 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11401 $as_echo "yes" >&6; }
11403 # FIXME - insert some real tests, host_os isn't really good enough
11406 if test -n "$STRIP" ; then
11407 striplib="$STRIP -x"
11408 old_striplib="$STRIP -S"
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11410 $as_echo "yes" >&6; }
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11413 $as_echo "no" >&6; }
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11418 $as_echo "no" >&6; }
11434 # Report which library types will actually be built
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11436 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11438 $as_echo "$can_build_shared" >&6; }
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11441 $as_echo_n "checking whether to build shared libraries... " >&6; }
11442 test "$can_build_shared" = "no" && enable_shared=no
11444 # On AIX, shared libraries and static libraries use the same namespace, and
11445 # are all built from PIC.
11448 test "$enable_shared" = yes && enable_static=no
11449 if test -n "$RANLIB"; then
11450 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11451 postinstall_cmds='$RANLIB $lib'
11456 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11457 test "$enable_shared" = yes && enable_static=no
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11462 $as_echo "$enable_shared" >&6; }
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11465 $as_echo_n "checking whether to build static libraries... " >&6; }
11466 # Make sure either enable_shared or enable_static is yes.
11467 test "$enable_shared" = yes || enable_static=yes
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11469 $as_echo "$enable_static" >&6; }
11476 ac_cpp='$CPP $CPPFLAGS'
11477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11485 ac_cpp='$CXXCPP $CPPFLAGS'
11486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11490 archive_cmds_need_lc_CXX=no
11491 allow_undefined_flag_CXX=
11492 always_export_symbols_CXX=no
11493 archive_expsym_cmds_CXX=
11494 compiler_needs_object_CXX=no
11495 export_dynamic_flag_spec_CXX=
11496 hardcode_direct_CXX=no
11497 hardcode_direct_absolute_CXX=no
11498 hardcode_libdir_flag_spec_CXX=
11499 hardcode_libdir_flag_spec_ld_CXX=
11500 hardcode_libdir_separator_CXX=
11501 hardcode_minus_L_CXX=no
11502 hardcode_shlibpath_var_CXX=unsupported
11503 hardcode_automatic_CXX=no
11504 inherit_rpath_CXX=no
11506 module_expsym_cmds_CXX=
11507 link_all_deplibs_CXX=unknown
11508 old_archive_cmds_CXX=$old_archive_cmds
11509 no_undefined_flag_CXX=
11510 whole_archive_flag_spec_CXX=
11511 enable_shared_with_static_runtimes_CXX=no
11513 # Source file extension for C++ test sources.
11516 # Object file extension for compiled C++ test sources.
11520 # No sense in running all these tests if we already determined that
11521 # the CXX compiler isn't working. Some variables (like enable_shared)
11522 # are currently assumed to apply to all compilers on this platform,
11523 # and will be corrupted by setting them based on a non-working compiler.
11524 if test "$_lt_caught_CXX_error" != yes; then
11525 # Code to be used in simple compile tests
11526 lt_simple_compile_test_code="int some_variable = 0;"
11528 # Code to be used in simple link tests
11529 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11531 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11538 # If no C compiler was specified, use CC.
11541 # If no C compiler flags were specified, use CFLAGS.
11542 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11544 # Allow CC to be a program name with arguments.
11548 # save warnings/boilerplate of simple test code
11549 ac_outfile=conftest.$ac_objext
11550 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11551 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11552 _lt_compiler_boilerplate=`cat conftest.err`
11555 ac_outfile=conftest.$ac_objext
11556 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11557 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11558 _lt_linker_boilerplate=`cat conftest.err`
11562 # Allow CC to be a program name with arguments.
11567 lt_save_with_gnu_ld=$with_gnu_ld
11568 lt_save_path_LD=$lt_cv_path_LD
11569 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11570 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11572 $as_unset lt_cv_prog_gnu_ld
11574 if test -n "${lt_cv_path_LDCXX+set}"; then
11575 lt_cv_path_LD=$lt_cv_path_LDCXX
11577 $as_unset lt_cv_path_LD
11579 test -z "${LDCXX+set}" || LD=$LDCXX
11583 for cc_temp in $compiler""; do
11585 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11586 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11591 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11594 if test -n "$compiler"; then
11595 # We don't want -fno-exception when compiling C++ code, so set the
11596 # no_builtin_flag separately
11597 if test "$GXX" = yes; then
11598 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11600 lt_prog_compiler_no_builtin_flag_CXX=
11603 if test "$GXX" = yes; then
11604 # Set up default GNU C++ configuration
11608 # Check whether --with-gnu-ld was given.
11609 if test "${with_gnu_ld+set}" = set; then :
11610 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11616 if test "$GCC" = yes; then
11617 # Check if gcc -print-prog-name=ld gives a path.
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11619 $as_echo_n "checking for ld used by $CC... " >&6; }
11622 # gcc leaves a trailing carriage return which upsets mingw
11623 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11625 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11628 # Accept absolute paths.
11630 re_direlt='/[^/][^/]*/\.\./'
11631 # Canonicalize the pathname of ld
11632 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11633 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11634 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11636 test -z "$LD" && LD="$ac_prog"
11639 # If it fails, then pretend we aren't using GCC.
11643 # If it is relative, then search for the first ld in PATH.
11644 with_gnu_ld=unknown
11647 elif test "$with_gnu_ld" = yes; then
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11649 $as_echo_n "checking for GNU ld... " >&6; }
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11652 $as_echo_n "checking for non-GNU ld... " >&6; }
11654 if test "${lt_cv_path_LD+set}" = set; then :
11655 $as_echo_n "(cached) " >&6
11657 if test -z "$LD"; then
11658 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11659 for ac_dir in $PATH; do
11661 test -z "$ac_dir" && ac_dir=.
11662 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11663 lt_cv_path_LD="$ac_dir/$ac_prog"
11664 # Check to see if the program is GNU ld. I'd rather use --version,
11665 # but apparently some variants of GNU ld only accept -v.
11666 # Break only if it was the GNU/non-GNU ld that we prefer.
11667 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11668 *GNU* | *'with BFD'*)
11669 test "$with_gnu_ld" != no && break
11672 test "$with_gnu_ld" != yes && break
11679 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11683 LD="$lt_cv_path_LD"
11684 if test -n "$LD"; then
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11686 $as_echo "$LD" >&6; }
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11689 $as_echo "no" >&6; }
11691 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11693 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11694 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11695 $as_echo_n "(cached) " >&6
11697 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11698 case `$LD -v 2>&1 </dev/null` in
11699 *GNU* | *'with BFD'*)
11700 lt_cv_prog_gnu_ld=yes
11703 lt_cv_prog_gnu_ld=no
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11708 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11709 with_gnu_ld=$lt_cv_prog_gnu_ld
11717 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11718 # archiving commands below assume that GNU ld is being used.
11719 if test "$with_gnu_ld" = yes; then
11720 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11721 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'
11723 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11724 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11726 # If archive_cmds runs LD, not CC, wlarc should be empty
11727 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11728 # investigate it a little bit more. (MM)
11731 # ancient GNU ld didn't support --whole-archive et. al.
11732 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11733 $GREP 'no-whole-archive' > /dev/null; then
11734 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11736 whole_archive_flag_spec_CXX=
11742 # A generic and very simple default shared library creation
11743 # command for GNU C++ for the case where it uses the native
11744 # linker, instead of GNU ld. If possible, this setting should
11745 # overridden to take advantage of the native linker features on
11746 # the platform it is being used on.
11747 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11750 # Commands to make compiler produce verbose output that lists
11751 # what "hidden" libraries, object files and flags are used when
11752 # linking a shared library.
11753 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11761 # PORTME: fill in a description of your system's C++ link characteristics
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11763 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11767 # FIXME: insert proper C++ library support
11771 if test "$host_cpu" = ia64; then
11772 # On IA64, the linker does run time linking by default, so we don't
11773 # have to do anything special.
11774 aix_use_runtimelinking=no
11775 exp_sym_flag='-Bexport'
11778 aix_use_runtimelinking=no
11780 # Test if we are trying to use run time linking or normal
11781 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11782 # need to do runtime linking.
11783 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11784 for ld_flag in $LDFLAGS; do
11787 aix_use_runtimelinking=yes
11795 exp_sym_flag='-bexport'
11796 no_entry_flag='-bnoentry'
11799 # When large executables or shared objects are built, AIX ld can
11800 # have problems creating the table of contents. If linking a library
11801 # or program results in "error TOC overflow" add -mminimal-toc to
11802 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11803 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11805 archive_cmds_CXX=''
11806 hardcode_direct_CXX=yes
11807 hardcode_direct_absolute_CXX=yes
11808 hardcode_libdir_separator_CXX=':'
11809 link_all_deplibs_CXX=yes
11810 file_list_spec_CXX='${wl}-f,'
11812 if test "$GXX" = yes; then
11813 case $host_os in aix4.[012]|aix4.[012].*)
11814 # We only want to do this on AIX 4.2 and lower, the check
11815 # below for broken collect2 doesn't work under 4.3+
11816 collect2name=`${CC} -print-prog-name=collect2`
11817 if test -f "$collect2name" &&
11818 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11820 # We have reworked collect2
11823 # We have old collect2
11824 hardcode_direct_CXX=unsupported
11825 # It fails to find uninstalled libraries when the uninstalled
11826 # path is not listed in the libpath. Setting hardcode_minus_L
11827 # to unsupported forces relinking
11828 hardcode_minus_L_CXX=yes
11829 hardcode_libdir_flag_spec_CXX='-L$libdir'
11830 hardcode_libdir_separator_CXX=
11833 shared_flag='-shared'
11834 if test "$aix_use_runtimelinking" = yes; then
11835 shared_flag="$shared_flag "'${wl}-G'
11839 if test "$host_cpu" = ia64; then
11840 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11841 # chokes on -Wl,-G. The following line is correct:
11844 if test "$aix_use_runtimelinking" = yes; then
11845 shared_flag='${wl}-G'
11847 shared_flag='${wl}-bM:SRE'
11852 export_dynamic_flag_spec_CXX='${wl}-bexpall'
11853 # It seems that -bexpall does not export symbols beginning with
11854 # underscore (_), so it is better to generate a list of symbols to
11856 always_export_symbols_CXX=yes
11857 if test "$aix_use_runtimelinking" = yes; then
11858 # Warning - without using the other runtime loading flags (-brtl),
11859 # -berok will link without error, but may produce a broken library.
11860 allow_undefined_flag_CXX='-berok'
11861 # Determine the default libpath from the value encoded in an empty
11863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11864 /* end confdefs.h. */
11874 if ac_fn_cxx_try_link "$LINENO"; then :
11876 lt_aix_libpath_sed='
11877 /Import File Strings/,/^$/ {
11883 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11884 # Check for a 64-bit object if we didn't find anything.
11885 if test -z "$aix_libpath"; then
11886 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11889 rm -f core conftest.err conftest.$ac_objext \
11890 conftest$ac_exeext conftest.$ac_ext
11891 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11893 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11895 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"
11897 if test "$host_cpu" = ia64; then
11898 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11899 allow_undefined_flag_CXX="-z nodefs"
11900 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"
11902 # Determine the default libpath from the value encoded in an
11903 # empty executable.
11904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11915 if ac_fn_cxx_try_link "$LINENO"; then :
11917 lt_aix_libpath_sed='
11918 /Import File Strings/,/^$/ {
11924 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11925 # Check for a 64-bit object if we didn't find anything.
11926 if test -z "$aix_libpath"; then
11927 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11930 rm -f core conftest.err conftest.$ac_objext \
11931 conftest$ac_exeext conftest.$ac_ext
11932 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11934 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11935 # Warning - without using the other run time loading flags,
11936 # -berok will link without error, but may produce a broken library.
11937 no_undefined_flag_CXX=' ${wl}-bernotok'
11938 allow_undefined_flag_CXX=' ${wl}-berok'
11939 # Exported symbols can be pulled into shared objects from archives
11940 whole_archive_flag_spec_CXX='$convenience'
11941 archive_cmds_need_lc_CXX=yes
11942 # This is similar to how AIX traditionally builds its shared
11944 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'
11950 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11951 allow_undefined_flag_CXX=unsupported
11952 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11953 # support --undefined. This deserves some investigation. FIXME
11954 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11961 case $cc_basename in
11963 # FIXME: insert proper C++ library support
11969 cygwin* | mingw* | pw32* | cegcc*)
11970 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11971 # as there is no search path for DLLs.
11972 hardcode_libdir_flag_spec_CXX='-L$libdir'
11973 allow_undefined_flag_CXX=unsupported
11974 always_export_symbols_CXX=no
11975 enable_shared_with_static_runtimes_CXX=yes
11977 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11978 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'
11979 # If the export-symbols file already is a .def file (1st line
11980 # is EXPORTS), use it as is; otherwise, prepend...
11981 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11982 cp $export_symbols $output_objdir/$soname.def;
11984 echo EXPORTS > $output_objdir/$soname.def;
11985 cat $export_symbols >> $output_objdir/$soname.def;
11987 $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'
11992 darwin* | rhapsody*)
11995 archive_cmds_need_lc_CXX=no
11996 hardcode_direct_CXX=no
11997 hardcode_automatic_CXX=yes
11998 hardcode_shlibpath_var_CXX=unsupported
11999 whole_archive_flag_spec_CXX=''
12000 link_all_deplibs_CXX=yes
12001 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12002 case $cc_basename in
12003 ifort*) _lt_dar_can_shared=yes ;;
12004 *) _lt_dar_can_shared=$GCC ;;
12006 if test "$_lt_dar_can_shared" = "yes"; then
12007 output_verbose_link_cmd=echo
12008 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}"
12009 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12010 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}"
12011 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}"
12012 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12013 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}"
12014 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}"
12024 case $cc_basename in
12026 # FIXME: insert proper C++ library support
12030 # Green Hills C++ Compiler
12031 # FIXME: insert proper C++ library support
12035 # FIXME: insert proper C++ library support
12042 # C++ shared libraries reported to be fairly broken before
12048 archive_cmds_need_lc_CXX=no
12051 freebsd* | dragonfly*)
12052 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12061 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12062 hardcode_libdir_separator_CXX=:
12063 export_dynamic_flag_spec_CXX='${wl}-E'
12064 hardcode_direct_CXX=yes
12065 hardcode_minus_L_CXX=yes # Not in the search PATH,
12066 # but as the default
12067 # location of the library.
12069 case $cc_basename in
12071 # FIXME: insert proper C++ library support
12075 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'
12076 # Commands to make compiler produce verbose output that lists
12077 # what "hidden" libraries, object files and flags are used when
12078 # linking a shared library.
12080 # There doesn't appear to be a way to prevent this compiler from
12081 # explicitly linking system object files so we need to strip them
12082 # from the output so that they don't get included in the library
12084 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'
12087 if test "$GXX" = yes; then
12088 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'
12090 # FIXME: insert proper C++ library support
12098 if test $with_gnu_ld = no; then
12099 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12100 hardcode_libdir_separator_CXX=:
12106 export_dynamic_flag_spec_CXX='${wl}-E'
12112 hardcode_direct_CXX=no
12113 hardcode_shlibpath_var_CXX=no
12116 hardcode_direct_CXX=yes
12117 hardcode_direct_absolute_CXX=yes
12118 hardcode_minus_L_CXX=yes # Not in the search PATH,
12119 # but as the default
12120 # location of the library.
12124 case $cc_basename in
12126 # FIXME: insert proper C++ library support
12132 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12135 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12138 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12141 # Commands to make compiler produce verbose output that lists
12142 # what "hidden" libraries, object files and flags are used when
12143 # linking a shared library.
12145 # There doesn't appear to be a way to prevent this compiler from
12146 # explicitly linking system object files so we need to strip them
12147 # from the output so that they don't get included in the library
12149 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'
12152 if test "$GXX" = yes; then
12153 if test $with_gnu_ld = no; then
12156 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12159 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12162 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'
12167 # FIXME: insert proper C++ library support
12175 hardcode_direct_CXX=no
12176 hardcode_shlibpath_var_CXX=no
12177 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12178 export_dynamic_flag_spec_CXX='${wl}-E'
12179 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12180 # Instead, shared libraries are loaded at an image base (0x10000000 by
12181 # default) and relocated if they conflict, which is a slow very memory
12182 # consuming and fragmenting process. To avoid this, we pick a random,
12183 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12184 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12185 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'
12186 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'
12189 case $cc_basename in
12192 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'
12194 # Archives containing C++ object files must be created using
12195 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12196 # necessary to make sure instantiated templates are included
12198 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12201 if test "$GXX" = yes; then
12202 if test "$with_gnu_ld" = no; then
12203 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'
12205 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'
12208 link_all_deplibs_CXX=yes
12211 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12212 hardcode_libdir_separator_CXX=:
12213 inherit_rpath_CXX=yes
12216 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12217 case $cc_basename in
12219 # Kuck and Associates, Inc. (KAI) C++ Compiler
12221 # KCC will only create a shared library if the output file
12222 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12223 # to its proper name (with version) after linking.
12224 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'
12225 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'
12226 # Commands to make compiler produce verbose output that lists
12227 # what "hidden" libraries, object files and flags are used when
12228 # linking a shared library.
12230 # There doesn't appear to be a way to prevent this compiler from
12231 # explicitly linking system object files so we need to strip them
12232 # from the output so that they don't get included in the library
12234 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'
12236 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12237 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12239 # Archives containing C++ object files must be created using
12240 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12241 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12246 # version 8.0 and above of icpc choke on multiply defined symbols
12247 # if we add $predep_objects and $postdep_objects, however 7.1 and
12248 # earlier do not add the objects themselves.
12249 case `$CC -V 2>&1` in
12251 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12252 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'
12254 *) # Version 8.0 or newer
12257 ia64*) tmp_idyn=' -i_dynamic';;
12259 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12260 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'
12263 archive_cmds_need_lc_CXX=no
12264 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12265 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12266 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12269 # Portland Group C++ compiler
12271 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12272 prelink_cmds_CXX='tpldir=Template.dir~
12274 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12275 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12276 old_archive_cmds_CXX='tpldir=Template.dir~
12278 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12279 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12281 archive_cmds_CXX='tpldir=Template.dir~
12283 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12284 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12285 archive_expsym_cmds_CXX='tpldir=Template.dir~
12287 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12288 $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'
12290 *) # Version 6 will use weak symbols
12291 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12292 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'
12296 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12297 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12298 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'
12302 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12303 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'
12305 runpath_var=LD_RUN_PATH
12306 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12307 hardcode_libdir_separator_CXX=:
12309 # Commands to make compiler produce verbose output that lists
12310 # what "hidden" libraries, object files and flags are used when
12311 # linking a shared library.
12313 # There doesn't appear to be a way to prevent this compiler from
12314 # explicitly linking system object files so we need to strip them
12315 # from the output so that they don't get included in the library
12317 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'
12320 # IBM XL 8.0 on PPC, with GNU ld
12321 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12322 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12323 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12324 if test "x$supports_anon_versioning" = xyes; then
12325 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12326 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12327 echo "local: *; };" >> $output_objdir/$libname.ver~
12328 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12332 case `$CC -V 2>&1 | sed 5q` in
12335 no_undefined_flag_CXX=' -zdefs'
12336 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12337 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'
12338 hardcode_libdir_flag_spec_CXX='-R$libdir'
12339 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'
12340 compiler_needs_object_CXX=yes
12342 # Not sure whether something based on
12343 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12345 output_verbose_link_cmd='echo'
12347 # Archives containing C++ object files must be created using
12348 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12349 # necessary to make sure instantiated templates are included
12351 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12359 # FIXME: insert proper C++ library support
12364 # FIXME: insert proper C++ library support
12369 case $cc_basename in
12371 # FIXME: insert proper C++ library support
12375 # FIXME: insert proper C++ library support
12382 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12383 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12385 hardcode_libdir_flag_spec_CXX='-R$libdir'
12386 hardcode_direct_CXX=yes
12387 hardcode_shlibpath_var_CXX=no
12389 # Workaround some broken pre-1.5 toolchains
12390 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12398 # C++ shared libraries are fairly broken
12403 if test -f /usr/libexec/ld.so; then
12404 hardcode_direct_CXX=yes
12405 hardcode_shlibpath_var_CXX=no
12406 hardcode_direct_absolute_CXX=yes
12407 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12408 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12409 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12410 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12411 export_dynamic_flag_spec_CXX='${wl}-E'
12412 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12414 output_verbose_link_cmd=echo
12420 osf3* | osf4* | osf5*)
12421 case $cc_basename in
12423 # Kuck and Associates, Inc. (KAI) C++ Compiler
12425 # KCC will only create a shared library if the output file
12426 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12427 # to its proper name (with version) after linking.
12428 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'
12430 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12431 hardcode_libdir_separator_CXX=:
12433 # Archives containing C++ object files must be created using
12434 # the KAI C++ compiler.
12436 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12437 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12441 # Rational C++ 2.4.1
12442 # FIXME: insert proper C++ library support
12448 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12449 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'
12450 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12453 allow_undefined_flag_CXX=' -expect_unresolved \*'
12454 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'
12455 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12456 echo "-hidden">> $lib.exp~
12457 $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~
12459 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12463 hardcode_libdir_separator_CXX=:
12465 # Commands to make compiler produce verbose output that lists
12466 # what "hidden" libraries, object files and flags are used when
12467 # linking a shared library.
12469 # There doesn't appear to be a way to prevent this compiler from
12470 # explicitly linking system object files so we need to strip them
12471 # from the output so that they don't get included in the library
12473 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'
12476 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12477 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12480 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'
12483 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'
12487 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12488 hardcode_libdir_separator_CXX=:
12490 # Commands to make compiler produce verbose output that lists
12491 # what "hidden" libraries, object files and flags are used when
12492 # linking a shared library.
12493 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12496 # FIXME: insert proper C++ library support
12504 # FIXME: insert proper C++ library support
12509 case $cc_basename in
12512 # FIXME: insert proper C++ library support
12517 # FIXME: insert proper C++ library support
12521 # FIXME: insert proper C++ library support
12528 case $cc_basename in
12530 # Sun C++ 4.2, 5.x and Centerline C++
12531 archive_cmds_need_lc_CXX=yes
12532 no_undefined_flag_CXX=' -zdefs'
12533 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12534 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12535 $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'
12537 hardcode_libdir_flag_spec_CXX='-R$libdir'
12538 hardcode_shlibpath_var_CXX=no
12540 solaris2.[0-5] | solaris2.[0-5].*) ;;
12542 # The compiler driver will combine and reorder linker options,
12543 # but understands `-z linker_flag'.
12544 # Supported since Solaris 2.6 (maybe 2.5.1?)
12545 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12548 link_all_deplibs_CXX=yes
12550 output_verbose_link_cmd='echo'
12552 # Archives containing C++ object files must be created using
12553 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12554 # necessary to make sure instantiated templates are included
12556 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12559 # Green Hills C++ Compiler
12560 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12562 # The C++ compiler must be used to create the archive.
12563 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12566 # GNU C++ compiler with Solaris linker
12567 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12568 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12569 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12570 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12571 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12572 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12574 # Commands to make compiler produce verbose output that lists
12575 # what "hidden" libraries, object files and flags are used when
12576 # linking a shared library.
12577 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12579 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12581 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12582 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12583 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12585 # Commands to make compiler produce verbose output that lists
12586 # what "hidden" libraries, object files and flags are used when
12587 # linking a shared library.
12588 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12591 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12593 solaris2.[0-5] | solaris2.[0-5].*) ;;
12595 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12603 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12604 no_undefined_flag_CXX='${wl}-z,text'
12605 archive_cmds_need_lc_CXX=no
12606 hardcode_shlibpath_var_CXX=no
12607 runpath_var='LD_RUN_PATH'
12609 case $cc_basename in
12611 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12612 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12615 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12616 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12621 sysv5* | sco3.2v5* | sco5v6*)
12622 # Note: We can NOT use -z defs as we might desire, because we do not
12623 # link with -lc, and that would cause any symbols used from libc to
12624 # always be unresolved, which means just about no library would
12625 # ever link correctly. If we're not using GNU ld we use -z text
12626 # though, which does catch some bad symbols but isn't as heavy-handed
12628 no_undefined_flag_CXX='${wl}-z,text'
12629 allow_undefined_flag_CXX='${wl}-z,nodefs'
12630 archive_cmds_need_lc_CXX=no
12631 hardcode_shlibpath_var_CXX=no
12632 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12633 hardcode_libdir_separator_CXX=':'
12634 link_all_deplibs_CXX=yes
12635 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12636 runpath_var='LD_RUN_PATH'
12638 case $cc_basename in
12640 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12641 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12644 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12645 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12651 case $cc_basename in
12653 # NonStop-UX NCC 3.20
12654 # FIXME: insert proper C++ library support
12658 # FIXME: insert proper C++ library support
12665 # FIXME: insert proper C++ library support
12670 # FIXME: insert proper C++ library support
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12676 $as_echo "$ld_shlibs_CXX" >&6; }
12677 test "$ld_shlibs_CXX" = no && can_build_shared=no
12683 ## There is no encapsulation within the following macros, do not change
12684 ## the running order or otherwise move them around unless you know exactly
12685 ## what you are doing...
12686 # Dependencies to place before and after the object being linked:
12687 predep_objects_CXX=
12688 postdep_objects_CXX=
12691 compiler_lib_search_path_CXX=
12693 cat > conftest.$ac_ext <<_LT_EOF
12697 Foo (void) { a = 0; }
12703 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12704 (eval $ac_compile) 2>&5
12706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12707 test $ac_status = 0; }; then
12708 # Parse the compiler output and extract the necessary
12709 # objects, libraries and library flags.
12711 # Sentinel used to keep track of whether or not we are before
12712 # the conftest object file.
12713 pre_test_object_deps_done=no
12715 for p in `eval "$output_verbose_link_cmd"`; do
12719 # Some compilers place space between "-{L,R}" and the path.
12720 # Remove the space.
12721 if test $p = "-L" ||
12722 test $p = "-R"; then
12729 if test "$pre_test_object_deps_done" = no; then
12732 # Internal compiler library paths should come after those
12733 # provided the user. The postdeps already come after the
12734 # user supplied libs so there is no need to process them.
12735 if test -z "$compiler_lib_search_path_CXX"; then
12736 compiler_lib_search_path_CXX="${prev}${p}"
12738 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12741 # The "-l" case would never come before the object being
12742 # linked, so don't bother handling this case.
12745 if test -z "$postdeps_CXX"; then
12746 postdeps_CXX="${prev}${p}"
12748 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12754 # This assumes that the test object file only shows up
12755 # once in the compiler output.
12756 if test "$p" = "conftest.$objext"; then
12757 pre_test_object_deps_done=yes
12761 if test "$pre_test_object_deps_done" = no; then
12762 if test -z "$predep_objects_CXX"; then
12763 predep_objects_CXX="$p"
12765 predep_objects_CXX="$predep_objects_CXX $p"
12768 if test -z "$postdep_objects_CXX"; then
12769 postdep_objects_CXX="$p"
12771 postdep_objects_CXX="$postdep_objects_CXX $p"
12776 *) ;; # Ignore the rest.
12784 echo "libtool.m4: error: problem compiling CXX test program"
12787 $RM -f confest.$objext
12789 # PORTME: override above test on systems where it is broken
12792 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12793 # hack all around it, let's just trust "g++" to DTRT.
12794 predep_objects_CXX=
12795 postdep_objects_CXX=
12800 case `$CC -V 2>&1 | sed 5q` in
12804 # The more standards-conforming stlport4 library is
12805 # incompatible with the Cstd library. Avoid specifying
12806 # it if it's in CXXFLAGS. Ignore libCrun as
12807 # -library=stlport4 depends on it.
12808 case " $CXX $CXXFLAGS " in
12809 *" -library=stlport4 "*)
12810 solaris_use_stlport4=yes
12814 if test "$solaris_use_stlport4" != yes; then
12815 postdeps_CXX='-library=Cstd -library=Crun'
12822 case $cc_basename in
12824 # The more standards-conforming stlport4 library is
12825 # incompatible with the Cstd library. Avoid specifying
12826 # it if it's in CXXFLAGS. Ignore libCrun as
12827 # -library=stlport4 depends on it.
12828 case " $CXX $CXXFLAGS " in
12829 *" -library=stlport4 "*)
12830 solaris_use_stlport4=yes
12834 # Adding this requires a known-good setup of shared libraries for
12835 # Sun compiler versions before 5.6, else PIC objects from an old
12836 # archive will be linked into the output, leading to subtle bugs.
12837 if test "$solaris_use_stlport4" != yes; then
12838 postdeps_CXX='-library=Cstd -library=Crun'
12846 case " $postdeps_CXX " in
12847 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12849 compiler_lib_search_dirs_CXX=
12850 if test -n "${compiler_lib_search_path_CXX}"; then
12851 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12884 lt_prog_compiler_wl_CXX=
12885 lt_prog_compiler_pic_CXX=
12886 lt_prog_compiler_static_CXX=
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12889 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12891 # C++ specific cases for pic, static, wl, etc.
12892 if test "$GXX" = yes; then
12893 lt_prog_compiler_wl_CXX='-Wl,'
12894 lt_prog_compiler_static_CXX='-static'
12898 # All AIX code is PIC.
12899 if test "$host_cpu" = ia64; then
12900 # AIX 5 now supports IA64 processor
12901 lt_prog_compiler_static_CXX='-Bstatic'
12908 # see comment about AmigaOS4 .so support
12909 lt_prog_compiler_pic_CXX='-fPIC'
12912 # FIXME: we need at least 68020 code to build shared libraries, but
12913 # adding the `-m68020' flag to GCC prevents building anything better,
12915 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12920 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12921 # PIC is the default for these OSes.
12923 mingw* | cygwin* | os2* | pw32* | cegcc*)
12924 # This hack is so that the source file can tell whether it is being
12925 # built for inclusion in a dll (and should export symbols for example).
12926 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12927 # (--disable-auto-import) libraries
12928 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12930 darwin* | rhapsody*)
12931 # PIC is the default on this platform
12932 # Common symbols not allowed in MH_DYLIB files
12933 lt_prog_compiler_pic_CXX='-fno-common'
12936 # DJGPP does not support shared libraries at all
12937 lt_prog_compiler_pic_CXX=
12940 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12941 # Instead, we relocate shared libraries at runtime.
12944 if test -d /usr/nec; then
12945 lt_prog_compiler_pic_CXX=-Kconform_pic
12949 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12950 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12951 # sets the default TLS model and affects inlining.
12956 lt_prog_compiler_pic_CXX='-fPIC'
12961 # QNX uses GNU C++, but need to define -shared option too, otherwise
12962 # it will coredump.
12963 lt_prog_compiler_pic_CXX='-fPIC -shared'
12966 lt_prog_compiler_pic_CXX='-fPIC'
12972 # All AIX code is PIC.
12973 if test "$host_cpu" = ia64; then
12974 # AIX 5 now supports IA64 processor
12975 lt_prog_compiler_static_CXX='-Bstatic'
12977 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12981 case $cc_basename in
12983 # Green Hills C++ Compiler
12984 # _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"
12989 case $cc_basename in
12991 lt_prog_compiler_pic_CXX='-KPIC'
12994 # Green Hills C++ Compiler
12995 lt_prog_compiler_pic_CXX='-pic'
13001 freebsd* | dragonfly*)
13002 # FreeBSD uses GNU C++
13004 hpux9* | hpux10* | hpux11*)
13005 case $cc_basename in
13007 lt_prog_compiler_wl_CXX='-Wl,'
13008 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13009 if test "$host_cpu" != ia64; then
13010 lt_prog_compiler_pic_CXX='+Z'
13014 lt_prog_compiler_wl_CXX='-Wl,'
13015 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13021 lt_prog_compiler_pic_CXX='+Z'
13030 # This is c89, which is MS Visual C++ (no shared libs)
13031 # Anyone wants to do a port?
13033 irix5* | irix6* | nonstopux*)
13034 case $cc_basename in
13036 lt_prog_compiler_wl_CXX='-Wl,'
13037 lt_prog_compiler_static_CXX='-non_shared'
13038 # CC pic flag -KPIC is the default.
13044 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13045 case $cc_basename in
13048 lt_prog_compiler_wl_CXX='--backend -Wl,'
13049 lt_prog_compiler_pic_CXX='-fPIC'
13052 # old Intel C++ for x86_64 which still supported -KPIC.
13053 lt_prog_compiler_wl_CXX='-Wl,'
13054 lt_prog_compiler_pic_CXX='-KPIC'
13055 lt_prog_compiler_static_CXX='-static'
13058 # Intel C++, used to be incompatible with GCC.
13059 # ICC 10 doesn't accept -KPIC any more.
13060 lt_prog_compiler_wl_CXX='-Wl,'
13061 lt_prog_compiler_pic_CXX='-fPIC'
13062 lt_prog_compiler_static_CXX='-static'
13065 # Portland Group C++ compiler
13066 lt_prog_compiler_wl_CXX='-Wl,'
13067 lt_prog_compiler_pic_CXX='-fpic'
13068 lt_prog_compiler_static_CXX='-Bstatic'
13072 # Make sure the PIC flag is empty. It appears that all Alpha
13073 # Linux and Compaq Tru64 Unix objects are PIC.
13074 lt_prog_compiler_pic_CXX=
13075 lt_prog_compiler_static_CXX='-non_shared'
13078 # IBM XL 8.0 on PPC
13079 lt_prog_compiler_wl_CXX='-Wl,'
13080 lt_prog_compiler_pic_CXX='-qpic'
13081 lt_prog_compiler_static_CXX='-qstaticlink'
13084 case `$CC -V 2>&1 | sed 5q` in
13087 lt_prog_compiler_pic_CXX='-KPIC'
13088 lt_prog_compiler_static_CXX='-Bstatic'
13089 lt_prog_compiler_wl_CXX='-Qoption ld '
13100 case $cc_basename in
13102 lt_prog_compiler_pic_CXX='-W c,exportall'
13108 netbsd* | netbsdelf*-gnu)
13111 # QNX uses GNU C++, but need to define -shared option too, otherwise
13112 # it will coredump.
13113 lt_prog_compiler_pic_CXX='-fPIC -shared'
13115 osf3* | osf4* | osf5*)
13116 case $cc_basename in
13118 lt_prog_compiler_wl_CXX='--backend -Wl,'
13121 # Rational C++ 2.4.1
13122 lt_prog_compiler_pic_CXX='-pic'
13125 # Digital/Compaq C++
13126 lt_prog_compiler_wl_CXX='-Wl,'
13127 # Make sure the PIC flag is empty. It appears that all Alpha
13128 # Linux and Compaq Tru64 Unix objects are PIC.
13129 lt_prog_compiler_pic_CXX=
13130 lt_prog_compiler_static_CXX='-non_shared'
13139 case $cc_basename in
13141 # Sun C++ 4.2, 5.x and Centerline C++
13142 lt_prog_compiler_pic_CXX='-KPIC'
13143 lt_prog_compiler_static_CXX='-Bstatic'
13144 lt_prog_compiler_wl_CXX='-Qoption ld '
13147 # Green Hills C++ Compiler
13148 lt_prog_compiler_pic_CXX='-PIC'
13155 case $cc_basename in
13158 lt_prog_compiler_pic_CXX='-pic'
13159 lt_prog_compiler_static_CXX='-Bstatic'
13163 lt_prog_compiler_pic_CXX='-pic'
13169 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13170 case $cc_basename in
13172 lt_prog_compiler_wl_CXX='-Wl,'
13173 lt_prog_compiler_pic_CXX='-KPIC'
13174 lt_prog_compiler_static_CXX='-Bstatic'
13179 case $cc_basename in
13181 # NonStop-UX NCC 3.20
13182 lt_prog_compiler_pic_CXX='-KPIC'
13191 lt_prog_compiler_can_build_shared_CXX=no
13197 # For platforms which do not support PIC, -DPIC is meaningless:
13199 lt_prog_compiler_pic_CXX=
13202 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13206 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13211 # Check to make sure the PIC flag actually works.
13213 if test -n "$lt_prog_compiler_pic_CXX"; then
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13215 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13216 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13217 $as_echo_n "(cached) " >&6
13219 lt_cv_prog_compiler_pic_works_CXX=no
13220 ac_outfile=conftest.$ac_objext
13221 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13222 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13223 # Insert the option either (1) after the last *FLAGS variable, or
13224 # (2) before a word containing "conftest.", or (3) at the end.
13225 # Note that $ac_compile itself does not contain backslashes and begins
13226 # with a dollar sign (not a hyphen), so the echo should work correctly.
13227 # The option is referenced via a variable to avoid confusing sed.
13228 lt_compile=`echo "$ac_compile" | $SED \
13229 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13230 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13231 -e 's:$: $lt_compiler_flag:'`
13232 (eval echo "\"\$as_me:13232: $lt_compile\"" >&5)
13233 (eval "$lt_compile" 2>conftest.err)
13235 cat conftest.err >&5
13236 echo "$as_me:13236: \$? = $ac_status" >&5
13237 if (exit $ac_status) && test -s "$ac_outfile"; then
13238 # The compiler can only warn and ignore the option if not recognized
13239 # So say no if there are warnings other than the usual output.
13240 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13241 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13242 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13243 lt_cv_prog_compiler_pic_works_CXX=yes
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13250 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13252 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13253 case $lt_prog_compiler_pic_CXX in
13255 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13258 lt_prog_compiler_pic_CXX=
13259 lt_prog_compiler_can_build_shared_CXX=no
13267 # Check to make sure the static flag actually works.
13269 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13271 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13272 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13273 $as_echo_n "(cached) " >&6
13275 lt_cv_prog_compiler_static_works_CXX=no
13276 save_LDFLAGS="$LDFLAGS"
13277 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13278 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13279 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13280 # The linker can only warn and ignore the option if not recognized
13281 # So say no if there are warnings
13282 if test -s conftest.err; then
13283 # Append any errors to the config.log.
13284 cat conftest.err 1>&5
13285 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13286 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13287 if diff conftest.exp conftest.er2 >/dev/null; then
13288 lt_cv_prog_compiler_static_works_CXX=yes
13291 lt_cv_prog_compiler_static_works_CXX=yes
13295 LDFLAGS="$save_LDFLAGS"
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13299 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13301 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13304 lt_prog_compiler_static_CXX=
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13311 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13312 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13313 $as_echo_n "(cached) " >&6
13315 lt_cv_prog_compiler_c_o_CXX=no
13316 $RM -r conftest 2>/dev/null
13320 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13322 lt_compiler_flag="-o out/conftest2.$ac_objext"
13323 # Insert the option either (1) after the last *FLAGS variable, or
13324 # (2) before a word containing "conftest.", or (3) at the end.
13325 # Note that $ac_compile itself does not contain backslashes and begins
13326 # with a dollar sign (not a hyphen), so the echo should work correctly.
13327 lt_compile=`echo "$ac_compile" | $SED \
13328 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13329 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13330 -e 's:$: $lt_compiler_flag:'`
13331 (eval echo "\"\$as_me:13331: $lt_compile\"" >&5)
13332 (eval "$lt_compile" 2>out/conftest.err)
13334 cat out/conftest.err >&5
13335 echo "$as_me:13335: \$? = $ac_status" >&5
13336 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13338 # The compiler can only warn and ignore the option if not recognized
13339 # So say no if there are warnings
13340 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13341 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13342 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13343 lt_cv_prog_compiler_c_o_CXX=yes
13348 # SGI C++ compiler will create directory out/ii_files/ for
13349 # template instantiation
13350 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13351 $RM out/* && rmdir out
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13358 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13363 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13364 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13365 $as_echo_n "(cached) " >&6
13367 lt_cv_prog_compiler_c_o_CXX=no
13368 $RM -r conftest 2>/dev/null
13372 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13374 lt_compiler_flag="-o out/conftest2.$ac_objext"
13375 # Insert the option either (1) after the last *FLAGS variable, or
13376 # (2) before a word containing "conftest.", or (3) at the end.
13377 # Note that $ac_compile itself does not contain backslashes and begins
13378 # with a dollar sign (not a hyphen), so the echo should work correctly.
13379 lt_compile=`echo "$ac_compile" | $SED \
13380 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13381 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13382 -e 's:$: $lt_compiler_flag:'`
13383 (eval echo "\"\$as_me:13383: $lt_compile\"" >&5)
13384 (eval "$lt_compile" 2>out/conftest.err)
13386 cat out/conftest.err >&5
13387 echo "$as_me:13387: \$? = $ac_status" >&5
13388 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13390 # The compiler can only warn and ignore the option if not recognized
13391 # So say no if there are warnings
13392 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13393 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13394 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13395 lt_cv_prog_compiler_c_o_CXX=yes
13400 # SGI C++ compiler will create directory out/ii_files/ for
13401 # template instantiation
13402 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13403 $RM out/* && rmdir out
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13410 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13415 hard_links="nottested"
13416 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13417 # do not overwrite the value of need_locks provided by the user
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13419 $as_echo_n "checking if we can lock with hard links... " >&6; }
13422 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13424 ln conftest.a conftest.b 2>&5 || hard_links=no
13425 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13427 $as_echo "$hard_links" >&6; }
13428 if test "$hard_links" = no; then
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13430 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13440 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13442 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13445 # If we're using GNU nm, then we don't want the "-C" option.
13446 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13447 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13448 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'
13450 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'
13454 export_symbols_cmds_CXX="$ltdll_cmds"
13456 cygwin* | mingw* | cegcc*)
13457 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'
13459 linux* | k*bsd*-gnu)
13460 link_all_deplibs_CXX=no
13463 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13466 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13469 $as_echo "$ld_shlibs_CXX" >&6; }
13470 test "$ld_shlibs_CXX" = no && can_build_shared=no
13472 with_gnu_ld_CXX=$with_gnu_ld
13480 # Do we need to explicitly link libc?
13482 case "x$archive_cmds_need_lc_CXX" in
13484 # Assume -lc should be added
13485 archive_cmds_need_lc_CXX=yes
13487 if test "$enable_shared" = yes && test "$GCC" = yes; then
13488 case $archive_cmds_CXX in
13490 # FIXME: we may have to deal with multi-command sequences.
13493 # Test whether the compiler implicitly links with -lc since on some
13494 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13495 # to ld, don't add -lc before -lgcc.
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13497 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13499 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13501 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13502 (eval $ac_compile) 2>&5
13504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13505 test $ac_status = 0; } 2>conftest.err; then
13508 libobjs=conftest.$ac_objext
13510 wl=$lt_prog_compiler_wl_CXX
13511 pic_flag=$lt_prog_compiler_pic_CXX
13517 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13518 allow_undefined_flag_CXX=
13519 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13520 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13523 test $ac_status = 0; }
13525 archive_cmds_need_lc_CXX=no
13527 archive_cmds_need_lc_CXX=yes
13529 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13531 cat conftest.err 1>&5
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13535 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13606 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13608 library_names_spec=
13609 libname_spec='lib$name'
13613 postuninstall_cmds=
13617 shlibpath_overrides_runpath=unknown
13619 dynamic_linker="$host_os ld.so"
13620 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13621 need_lib_prefix=unknown
13622 hardcode_into_libs=no
13624 # when you set need_version to no, make sure it does not cause -set_version
13625 # flags to be left without arguments
13626 need_version=unknown
13631 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13632 shlibpath_var=LIBPATH
13634 # AIX 3 has no versioning support, so we append a major version to the name.
13635 soname_spec='${libname}${release}${shared_ext}$major'
13642 hardcode_into_libs=yes
13643 if test "$host_cpu" = ia64; then
13644 # AIX 5 supports IA64
13645 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13646 shlibpath_var=LD_LIBRARY_PATH
13648 # With GCC up to 2.95.x, collect2 would create an import file
13649 # for dependence libraries. The import file would start with
13650 # the line `#! .'. This would cause the generated library to
13651 # depend on `.', always an invalid library. This was fixed in
13652 # development snapshots of GCC prior to 3.0.
13654 aix4 | aix4.[01] | aix4.[01].*)
13655 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13657 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13660 can_build_shared=no
13664 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13665 # soname into executable. Probably we can add versioning support to
13666 # collect2, so additional links can be useful in future.
13667 if test "$aix_use_runtimelinking" = yes; then
13668 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13669 # instead of lib<name>.a to let people know that these are not
13670 # typical AIX shared libraries.
13671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13673 # We preserve .a as extension for shared libraries through AIX4.2
13674 # and later when we are not doing run time linking.
13675 library_names_spec='${libname}${release}.a $libname.a'
13676 soname_spec='${libname}${release}${shared_ext}$major'
13678 shlibpath_var=LIBPATH
13685 # Since July 2007 AmigaOS4 officially supports .so libraries.
13686 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13690 library_names_spec='$libname.ixlibrary $libname.a'
13691 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13692 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'
13698 library_names_spec='${libname}${shared_ext}'
13699 dynamic_linker="$host_os ld.so"
13700 shlibpath_var=LIBRARY_PATH
13706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13707 soname_spec='${libname}${release}${shared_ext}$major'
13708 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13709 shlibpath_var=LD_LIBRARY_PATH
13710 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13711 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13712 # the default ld.so.conf also contains /usr/contrib/lib and
13713 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13714 # libtool to hard-code these into programs
13717 cygwin* | mingw* | pw32* | cegcc*)
13718 version_type=windows
13723 case $GCC,$host_os in
13724 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13725 library_names_spec='$libname.dll.a'
13726 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13727 postinstall_cmds='base_file=`basename \${file}`~
13728 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13729 dldir=$destdir/`dirname \$dlpath`~
13730 test -d \$dldir || mkdir -p \$dldir~
13731 $install_prog $dir/$dlname \$dldir/$dlname~
13732 chmod a+x \$dldir/$dlname~
13733 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13734 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13736 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13737 dlpath=$dir/\$dldll~
13739 shlibpath_overrides_runpath=yes
13743 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13744 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13745 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13748 # MinGW DLLs use traditional 'lib' prefix
13749 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13750 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13751 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13752 # It is most probably a Windows format PATH printed by
13753 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13754 # path with ; separators, and with drive letters. We can handle the
13755 # drive letters (cygwin fileutils understands them), so leave them,
13756 # especially as we might pass files found there to a mingw objdump,
13757 # which wouldn't understand a cygwinified path. Ahh.
13758 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13760 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13764 # pw32 DLLs use 'pw' prefix rather than 'lib'
13765 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13771 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13774 dynamic_linker='Win32 ld.exe'
13775 # FIXME: first we should search . and the directory the executable is in
13779 darwin* | rhapsody*)
13780 dynamic_linker="$host_os dyld"
13781 version_type=darwin
13784 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13785 soname_spec='${libname}${release}${major}$shared_ext'
13786 shlibpath_overrides_runpath=yes
13787 shlibpath_var=DYLD_LIBRARY_PATH
13788 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13790 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13798 soname_spec='${libname}${release}${shared_ext}$major'
13799 shlibpath_var=LD_LIBRARY_PATH
13806 freebsd* | dragonfly*)
13807 # DragonFly does not have aout. When/if they implement a new
13808 # versioning mechanism, adjust this.
13809 if test -x /usr/bin/objformat; then
13810 objformat=`/usr/bin/objformat`
13813 freebsd[123]*) objformat=aout ;;
13814 *) objformat=elf ;;
13817 version_type=freebsd-$objformat
13818 case $version_type in
13820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13825 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13829 shlibpath_var=LD_LIBRARY_PATH
13832 shlibpath_overrides_runpath=yes
13834 freebsd3.[01]* | freebsdelf3.[01]*)
13835 shlibpath_overrides_runpath=yes
13836 hardcode_into_libs=yes
13838 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13839 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13840 shlibpath_overrides_runpath=no
13841 hardcode_into_libs=yes
13843 *) # from 4.6 on, and DragonFly
13844 shlibpath_overrides_runpath=yes
13845 hardcode_into_libs=yes
13854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13855 soname_spec='${libname}${release}${shared_ext}$major'
13856 shlibpath_var=LD_LIBRARY_PATH
13857 hardcode_into_libs=yes
13860 hpux9* | hpux10* | hpux11*)
13861 # Give a soname corresponding to the major version so that dld.sl refuses to
13862 # link against other versions.
13869 hardcode_into_libs=yes
13870 dynamic_linker="$host_os dld.so"
13871 shlibpath_var=LD_LIBRARY_PATH
13872 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13874 soname_spec='${libname}${release}${shared_ext}$major'
13875 if test "X$HPUX_IA64_MODE" = X32; then
13876 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13878 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13880 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13884 hardcode_into_libs=yes
13885 dynamic_linker="$host_os dld.sl"
13886 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13887 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13889 soname_spec='${libname}${release}${shared_ext}$major'
13890 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13891 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13895 dynamic_linker="$host_os dld.sl"
13896 shlibpath_var=SHLIB_PATH
13897 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13899 soname_spec='${libname}${release}${shared_ext}$major'
13902 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13903 postinstall_cmds='chmod 555 $lib'
13910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13911 soname_spec='${libname}${release}${shared_ext}$major'
13912 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13913 shlibpath_var=LD_LIBRARY_PATH
13914 shlibpath_overrides_runpath=no
13915 hardcode_into_libs=yes
13918 irix5* | irix6* | nonstopux*)
13920 nonstopux*) version_type=nonstopux ;;
13922 if test "$lt_cv_prog_gnu_ld" = yes; then
13930 soname_spec='${libname}${release}${shared_ext}$major'
13931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13933 irix5* | nonstopux*)
13934 libsuff= shlibsuff=
13937 case $LD in # libtool.m4 will add one of these switches to LD
13938 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13939 libsuff= shlibsuff= libmagic=32-bit;;
13940 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13941 libsuff=32 shlibsuff=N32 libmagic=N32;;
13942 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13943 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13944 *) libsuff= shlibsuff= libmagic=never-match;;
13948 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13949 shlibpath_overrides_runpath=no
13950 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13951 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13952 hardcode_into_libs=yes
13955 # No shared lib support for Linux oldld, aout, or coff.
13956 linux*oldld* | linux*aout* | linux*coff*)
13960 # This must be Linux ELF.
13961 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13966 soname_spec='${libname}${release}${shared_ext}$major'
13967 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13968 shlibpath_var=LD_LIBRARY_PATH
13969 shlibpath_overrides_runpath=no
13970 # Some binutils ld are patched to set DT_RUNPATH
13971 save_LDFLAGS=$LDFLAGS
13972 save_libdir=$libdir
13973 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13974 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13976 /* end confdefs.h. */
13986 if ac_fn_cxx_try_link "$LINENO"; then :
13987 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13988 shlibpath_overrides_runpath=yes
13991 rm -f core conftest.err conftest.$ac_objext \
13992 conftest$ac_exeext conftest.$ac_ext
13993 LDFLAGS=$save_LDFLAGS
13994 libdir=$save_libdir
13996 # This implies no fast_install, which is unacceptable.
13997 # Some rework will be needed to allow for fast_install
13998 # before this can be enabled.
13999 hardcode_into_libs=yes
14001 # Append ld.so.conf contents to the search path
14002 if test -f /etc/ld.so.conf; then
14003 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' ' '`
14004 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14007 # We used to test for /lib/ld.so.1 and disable shared libraries on
14008 # powerpc, because MkLinux only supported shared libraries with the
14009 # GNU dynamic linker. Since this was broken with cross compilers,
14010 # most powerpc-linux boxes support dynamic linking these days and
14011 # people can always --disable-shared, the test was removed, and we
14012 # assume the GNU/Linux dynamic linker is in use.
14013 dynamic_linker='GNU/Linux ld.so'
14020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14021 soname_spec='${libname}${release}${shared_ext}$major'
14022 shlibpath_var=LD_LIBRARY_PATH
14023 shlibpath_overrides_runpath=no
14024 hardcode_into_libs=yes
14025 dynamic_linker='NetBSD ld.elf_so'
14032 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14034 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14035 dynamic_linker='NetBSD (a.out) ld.so'
14037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14038 soname_spec='${libname}${release}${shared_ext}$major'
14039 dynamic_linker='NetBSD ld.elf_so'
14041 shlibpath_var=LD_LIBRARY_PATH
14042 shlibpath_overrides_runpath=yes
14043 hardcode_into_libs=yes
14048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14049 shlibpath_var=LD_LIBRARY_PATH
14050 shlibpath_overrides_runpath=yes
14057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14058 soname_spec='${libname}${release}${shared_ext}$major'
14059 shlibpath_var=LD_LIBRARY_PATH
14060 shlibpath_overrides_runpath=no
14061 hardcode_into_libs=yes
14062 dynamic_linker='ldqnx.so'
14067 sys_lib_dlsearch_path_spec="/usr/lib"
14069 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14071 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14072 *) need_version=no ;;
14074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14075 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14076 shlibpath_var=LD_LIBRARY_PATH
14077 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14079 openbsd2.[89] | openbsd2.[89].*)
14080 shlibpath_overrides_runpath=no
14083 shlibpath_overrides_runpath=yes
14087 shlibpath_overrides_runpath=yes
14092 libname_spec='$name'
14095 library_names_spec='$libname${shared_ext} $libname.a'
14096 dynamic_linker='OS/2 ld.exe'
14097 shlibpath_var=LIBPATH
14100 osf3* | osf4* | osf5*)
14104 soname_spec='${libname}${release}${shared_ext}$major'
14105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14106 shlibpath_var=LD_LIBRARY_PATH
14107 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14108 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14120 soname_spec='${libname}${release}${shared_ext}$major'
14121 shlibpath_var=LD_LIBRARY_PATH
14122 shlibpath_overrides_runpath=yes
14123 hardcode_into_libs=yes
14124 # ldd complains unless libraries are executable
14125 postinstall_cmds='chmod +x $lib'
14130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14131 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14132 shlibpath_var=LD_LIBRARY_PATH
14133 shlibpath_overrides_runpath=yes
14134 if test "$with_gnu_ld" = yes; then
14142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14143 soname_spec='${libname}${release}${shared_ext}$major'
14144 shlibpath_var=LD_LIBRARY_PATH
14145 case $host_vendor in
14147 shlibpath_overrides_runpath=no
14149 runpath_var=LD_RUN_PATH
14157 shlibpath_overrides_runpath=no
14158 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14164 if test -d /usr/nec ;then
14166 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14167 soname_spec='$libname${shared_ext}.$major'
14168 shlibpath_var=LD_LIBRARY_PATH
14172 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14173 version_type=freebsd-elf
14176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14177 soname_spec='${libname}${release}${shared_ext}$major'
14178 shlibpath_var=LD_LIBRARY_PATH
14179 shlibpath_overrides_runpath=yes
14180 hardcode_into_libs=yes
14181 if test "$with_gnu_ld" = yes; then
14182 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14184 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14187 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14191 sys_lib_dlsearch_path_spec='/usr/lib'
14195 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14199 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14200 shlibpath_var=LD_LIBRARY_PATH
14201 shlibpath_overrides_runpath=no
14202 hardcode_into_libs=yes
14207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14208 soname_spec='${libname}${release}${shared_ext}$major'
14209 shlibpath_var=LD_LIBRARY_PATH
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14217 $as_echo "$dynamic_linker" >&6; }
14218 test "$dynamic_linker" = no && can_build_shared=no
14220 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14221 if test "$GCC" = yes; then
14222 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14225 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14226 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14228 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14229 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14268 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14269 hardcode_action_CXX=
14270 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14271 test -n "$runpath_var_CXX" ||
14272 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14274 # We can hardcode non-existent directories.
14275 if test "$hardcode_direct_CXX" != no &&
14276 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14277 # have to relink, otherwise we might link with an installed library
14278 # when we should be linking with a yet-to-be-installed one
14279 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14280 test "$hardcode_minus_L_CXX" != no; then
14281 # Linking always hardcodes the temporary library directory.
14282 hardcode_action_CXX=relink
14284 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14285 hardcode_action_CXX=immediate
14288 # We cannot hardcode anything, or else we can only hardcode existing
14290 hardcode_action_CXX=unsupported
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14293 $as_echo "$hardcode_action_CXX" >&6; }
14295 if test "$hardcode_action_CXX" = relink ||
14296 test "$inherit_rpath_CXX" = yes; then
14297 # Fast installation is not supported
14298 enable_fast_install=no
14299 elif test "$shlibpath_overrides_runpath" = yes ||
14300 test "$enable_shared" = no; then
14301 # Fast installation is not necessary
14302 enable_fast_install=needless
14311 fi # test -n "$compiler"
14317 with_gnu_ld=$lt_save_with_gnu_ld
14318 lt_cv_path_LDCXX=$lt_cv_path_LD
14319 lt_cv_path_LD=$lt_save_path_LD
14320 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14321 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14322 fi # test "$_lt_caught_CXX_error" != yes
14325 ac_cpp='$CPP $CPPFLAGS'
14326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14342 ac_config_commands="$ac_config_commands libtool"
14347 # Only expand once:
14352 # Extract the first word of "$ac_prog", so it can be a program name with args.
14353 set dummy $ac_prog; ac_word=$2
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14355 $as_echo_n "checking for $ac_word... " >&6; }
14356 if test "${ac_cv_path_MIG+set}" = set; then :
14357 $as_echo_n "(cached) " >&6
14361 ac_cv_path_MIG="$MIG" # Let the user override the test with a path.
14364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14365 for as_dir in $PATH
14368 test -z "$as_dir" && as_dir=.
14369 for ac_exec_ext in '' $ac_executable_extensions; do
14370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14371 ac_cv_path_MIG="$as_dir/$ac_word$ac_exec_ext"
14372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14382 MIG=$ac_cv_path_MIG
14383 if test -n "$MIG"; then
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIG" >&5
14385 $as_echo "$MIG" >&6; }
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14388 $as_echo "no" >&6; }
14392 test -n "$MIG" && break
14396 # Extract the first word of "leaks", so it can be a program name with args.
14397 set dummy leaks; ac_word=$2
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14399 $as_echo_n "checking for $ac_word... " >&6; }
14400 if test "${ac_cv_path_LEAKS+set}" = set; then :
14401 $as_echo_n "(cached) " >&6
14405 ac_cv_path_LEAKS="$LEAKS" # Let the user override the test with a path.
14408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14409 for as_dir in $PATH
14412 test -z "$as_dir" && as_dir=.
14413 for ac_exec_ext in '' $ac_executable_extensions; do
14414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14415 ac_cv_path_LEAKS="$as_dir/$ac_word$ac_exec_ext"
14416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14426 LEAKS=$ac_cv_path_LEAKS
14427 if test -n "$LEAKS"; then
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEAKS" >&5
14429 $as_echo "$LEAKS" >&6; }
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14432 $as_echo "no" >&6; }
14436 if test "x$LEAKS" != "x"; then :
14438 $as_echo "#define HAVE_LEAKS 1" >>confdefs.h
14443 am__api_version='1.11'
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
14446 $as_echo_n "checking whether build environment is sane... " >&6; }
14449 echo timestamp > conftest.file
14450 # Reject unsafe characters in $srcdir or the absolute working directory
14451 # name. Accept space and tab only in the latter.
14455 *[\\\"\#\$\&\'\`$am_lf]*)
14456 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
14459 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
14460 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
14463 # Do `set' in a subshell so we don't clobber the current shell's
14464 # arguments. Must try -L first in case configure is actually a
14465 # symlink; some systems play weird games with the mod time of symlinks
14466 # (eg FreeBSD returns the mod time of the symlink's containing
14469 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
14470 if test "$*" = "X"; then
14472 set X `ls -t "$srcdir/configure" conftest.file`
14474 rm -f conftest.file
14475 if test "$*" != "X $srcdir/configure conftest.file" \
14476 && test "$*" != "X conftest.file $srcdir/configure"; then
14478 # If neither matched, then we have a broken ls. This can happen
14479 # if, for instance, CONFIG_SHELL is bash and it inherits a
14480 # broken ls alias from the environment. This has actually
14481 # happened. Such a system could not be considered "sane".
14482 as_fn_error "ls -t appears to fail. Make sure there is not a broken
14483 alias in your environment" "$LINENO" 5
14486 test "$2" = conftest.file
14492 as_fn_error "newly created file is older than distributed files!
14493 Check your system clock" "$LINENO" 5
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14496 $as_echo "yes" >&6; }
14497 test "$program_prefix" != NONE &&
14498 program_transform_name="s&^&$program_prefix&;$program_transform_name"
14499 # Use a double $ so make ignores it.
14500 test "$program_suffix" != NONE &&
14501 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
14502 # Double any \ or $.
14503 # By default was `s,x,x', remove it if useless.
14504 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
14505 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
14507 # expand $ac_aux_dir to an absolute path
14508 am_aux_dir=`cd $ac_aux_dir && pwd`
14510 if test x"${MISSING+set}" != xset; then
14511 case $am_aux_dir in
14513 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
14515 MISSING="\${SHELL} $am_aux_dir/missing" ;;
14518 # Use eval to expand $SHELL
14519 if eval "$MISSING --run true"; then
14520 am_missing_run="$MISSING --run "
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
14524 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
14527 if test x"${install_sh}" != xset; then
14528 case $am_aux_dir in
14530 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
14532 install_sh="\${SHELL} $am_aux_dir/install-sh"
14536 # Installed binaries are usually stripped using `strip' when the user
14537 # run `make install-strip'. However `strip' might not be the right
14538 # tool to use in cross-compilation environments, therefore Automake
14539 # will honor the `STRIP' environment variable to overrule this program.
14540 if test "$cross_compiling" != no; then
14541 if test -n "$ac_tool_prefix"; then
14542 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14543 set dummy ${ac_tool_prefix}strip; ac_word=$2
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14545 $as_echo_n "checking for $ac_word... " >&6; }
14546 if test "${ac_cv_prog_STRIP+set}" = set; then :
14547 $as_echo_n "(cached) " >&6
14549 if test -n "$STRIP"; then
14550 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14553 for as_dir in $PATH
14556 test -z "$as_dir" && as_dir=.
14557 for ac_exec_ext in '' $ac_executable_extensions; do
14558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14559 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14569 STRIP=$ac_cv_prog_STRIP
14570 if test -n "$STRIP"; then
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
14572 $as_echo "$STRIP" >&6; }
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14575 $as_echo "no" >&6; }
14580 if test -z "$ac_cv_prog_STRIP"; then
14582 # Extract the first word of "strip", so it can be a program name with args.
14583 set dummy strip; ac_word=$2
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14585 $as_echo_n "checking for $ac_word... " >&6; }
14586 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
14587 $as_echo_n "(cached) " >&6
14589 if test -n "$ac_ct_STRIP"; then
14590 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14593 for as_dir in $PATH
14596 test -z "$as_dir" && as_dir=.
14597 for ac_exec_ext in '' $ac_executable_extensions; do
14598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14599 ac_cv_prog_ac_ct_STRIP="strip"
14600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14609 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14610 if test -n "$ac_ct_STRIP"; then
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
14612 $as_echo "$ac_ct_STRIP" >&6; }
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14615 $as_echo "no" >&6; }
14618 if test "x$ac_ct_STRIP" = x; then
14621 case $cross_compiling:$ac_tool_warned in
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14625 ac_tool_warned=yes ;;
14630 STRIP="$ac_cv_prog_STRIP"
14634 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
14637 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
14638 if test -z "$MKDIR_P"; then
14639 if test "${ac_cv_path_mkdir+set}" = set; then :
14640 $as_echo_n "(cached) " >&6
14642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14643 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
14646 test -z "$as_dir" && as_dir=.
14647 for ac_prog in mkdir gmkdir; do
14648 for ac_exec_ext in '' $ac_executable_extensions; do
14649 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
14650 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
14651 'mkdir (GNU coreutils) '* | \
14652 'mkdir (coreutils) '* | \
14653 'mkdir (fileutils) '4.1*)
14654 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
14664 test -d ./--version && rmdir ./--version
14665 if test "${ac_cv_path_mkdir+set}" = set; then
14666 MKDIR_P="$ac_cv_path_mkdir -p"
14668 # As a last resort, use the slow shell script. Don't cache a
14669 # value for MKDIR_P within a source directory, because that will
14670 # break other packages using the cache if that directory is
14671 # removed, or if the value is a relative name.
14672 MKDIR_P="$ac_install_sh -d"
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
14676 $as_echo "$MKDIR_P" >&6; }
14680 [\\/$]* | ?:[\\/]*) ;;
14681 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
14684 for ac_prog in gawk mawk nawk awk
14686 # Extract the first word of "$ac_prog", so it can be a program name with args.
14687 set dummy $ac_prog; ac_word=$2
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14689 $as_echo_n "checking for $ac_word... " >&6; }
14690 if test "${ac_cv_prog_AWK+set}" = set; then :
14691 $as_echo_n "(cached) " >&6
14693 if test -n "$AWK"; then
14694 ac_cv_prog_AWK="$AWK" # Let the user override the test.
14696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14697 for as_dir in $PATH
14700 test -z "$as_dir" && as_dir=.
14701 for ac_exec_ext in '' $ac_executable_extensions; do
14702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14703 ac_cv_prog_AWK="$ac_prog"
14704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14713 AWK=$ac_cv_prog_AWK
14714 if test -n "$AWK"; then
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
14716 $as_echo "$AWK" >&6; }
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14719 $as_echo "no" >&6; }
14723 test -n "$AWK" && break
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
14727 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
14729 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
14730 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
14731 $as_echo_n "(cached) " >&6
14733 cat >conftest.make <<\_ACEOF
14736 @echo '@@@%%%=$(MAKE)=@@@%%%'
14738 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
14739 case `${MAKE-make} -f conftest.make 2>/dev/null` in
14740 *@@@%%%=?*=@@@%%%*)
14741 eval ac_cv_prog_make_${ac_make}_set=yes;;
14743 eval ac_cv_prog_make_${ac_make}_set=no;;
14745 rm -f conftest.make
14747 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14749 $as_echo "yes" >&6; }
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14753 $as_echo "no" >&6; }
14754 SET_MAKE="MAKE=${MAKE-make}"
14757 rm -rf .tst 2>/dev/null
14758 mkdir .tst 2>/dev/null
14759 if test -d .tst; then
14764 rmdir .tst 2>/dev/null
14766 DEPDIR="${am__leading_dot}deps"
14768 ac_config_commands="$ac_config_commands depfiles"
14771 am_make=${MAKE-make}
14772 cat > confinc << 'END'
14774 @echo this is the am__doit target
14777 # If we don't find an include directive, just comment out the code.
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
14779 $as_echo_n "checking for style of include used by $am_make... " >&6; }
14783 # First try GNU make style include.
14784 echo "include confinc" > confmf
14785 # Ignore all kinds of additional output from `make'.
14786 case `$am_make -s -f confmf 2> /dev/null` in #(
14787 *the\ am__doit\ target*)
14788 am__include=include
14793 # Now try BSD make style include.
14794 if test "$am__include" = "#"; then
14795 echo '.include "confinc"' > confmf
14796 case `$am_make -s -f confmf 2> /dev/null` in #(
14797 *the\ am__doit\ target*)
14798 am__include=.include
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
14807 $as_echo "$_am_result" >&6; }
14808 rm -f confinc confmf
14810 # Check whether --enable-dependency-tracking was given.
14811 if test "${enable_dependency_tracking+set}" = set; then :
14812 enableval=$enable_dependency_tracking;
14815 if test "x$enable_dependency_tracking" != xno; then
14816 am_depcomp="$ac_aux_dir/depcomp"
14819 if test "x$enable_dependency_tracking" != xno; then
14828 if test "`cd $srcdir && pwd`" != "`pwd`"; then
14829 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
14830 # is not polluted with repeated "-I."
14831 am__isrc=' -I$(srcdir)'
14832 # test to see if srcdir already configured
14833 if test -f $srcdir/config.status; then
14834 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
14838 # test whether we have cygpath
14839 if test -z "$CYGPATH_W"; then
14840 if (cygpath --version) >/dev/null 2>/dev/null; then
14841 CYGPATH_W='cygpath -w'
14848 # Define the identity of the package.
14849 PACKAGE='libdispatch'
14853 cat >>confdefs.h <<_ACEOF
14854 #define PACKAGE "$PACKAGE"
14858 cat >>confdefs.h <<_ACEOF
14859 #define VERSION "$VERSION"
14862 # Some tools Automake needs.
14864 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
14867 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
14870 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
14873 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
14876 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
14878 # We need awk for the "check" target. The system "awk" is bad on
14880 # Always define AMTAR for backward compatibility.
14882 AMTAR=${AMTAR-"${am_missing_run}tar"}
14884 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
14889 depcc="$CC" am_compiler_list=
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14892 $as_echo_n "checking dependency style of $depcc... " >&6; }
14893 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
14894 $as_echo_n "(cached) " >&6
14896 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14897 # We make a subdir and do the tests there. Otherwise we can end up
14898 # making bogus files that we don't know about and never remove. For
14899 # instance it was reported that on HP-UX the gcc test will end up
14900 # making a dummy file named `D' -- because `-MD' means `put the output
14903 # Copy depcomp to subdir because otherwise we won't find it if we're
14904 # using a relative directory.
14905 cp "$am_depcomp" conftest.dir
14907 # We will build objects and dependencies in a subdirectory because
14908 # it helps to detect inapplicable dependency modes. For instance
14909 # both Tru64's cc and ICC support -MD to output dependencies as a
14910 # side effect of compilation, but ICC will put the dependencies in
14911 # the current directory while Tru64 will put them in the object
14915 am_cv_CC_dependencies_compiler_type=none
14916 if test "$am_compiler_list" = ""; then
14917 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14919 am__universal=false
14920 case " $depcc " in #(
14921 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14924 for depmode in $am_compiler_list; do
14925 # Setup a source with many dependencies, because some compilers
14926 # like to wrap large dependency lists on column 80 (with \), and
14927 # we should not choose a depcomp mode which is confused by this.
14929 # We need to recreate these files for each test, as the compiler may
14930 # overwrite some of them when testing with obscure command lines.
14931 # This happens at least with the AIX C compiler.
14933 for i in 1 2 3 4 5 6; do
14934 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14935 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14936 # Solaris 8's {/usr,}/bin/sh.
14937 touch sub/conftst$i.h
14939 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14941 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14942 # mode. It turns out that the SunPro C++ compiler does not properly
14943 # handle `-M -o', and we need to detect this. Also, some Intel
14944 # versions had trouble with output in subdirs
14945 am__obj=sub/conftest.${OBJEXT-o}
14946 am__minus_obj="-o $am__obj"
14949 # This depmode causes a compiler race in universal mode.
14950 test "$am__universal" = false || continue
14953 # after this tag, mechanisms are not by side-effect, so they'll
14954 # only be used when explicitly requested
14955 if test "x$enable_dependency_tracking" = xyes; then
14961 msvisualcpp | msvcmsys)
14962 # This compiler won't grok `-c -o', but also, the minuso test has
14963 # not run yet. These depmodes are late enough in the game, and
14964 # so weak that their functioning should not be impacted.
14965 am__obj=conftest.${OBJEXT-o}
14970 if depmode=$depmode \
14971 source=sub/conftest.c object=$am__obj \
14972 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14973 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14974 >/dev/null 2>conftest.err &&
14975 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14976 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14977 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14978 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14979 # icc doesn't choke on unknown options, it will just issue warnings
14980 # or remarks (even with -Werror). So we grep stderr for any message
14981 # that says an option was ignored or not supported.
14982 # When given -MP, icc 7.0 and 7.1 complain thusly:
14983 # icc: Command line warning: ignoring option '-M'; no argument required
14984 # The diagnosis changed in icc 8.0:
14985 # icc: Command line remark: option '-MP' not supported
14986 if (grep 'ignoring option' conftest.err ||
14987 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14988 am_cv_CC_dependencies_compiler_type=$depmode
14995 rm -rf conftest.dir
14997 am_cv_CC_dependencies_compiler_type=none
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
15002 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
15003 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
15006 test "x$enable_dependency_tracking" != xno \
15007 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
15008 am__fastdepCC_TRUE=
15009 am__fastdepCC_FALSE='#'
15011 am__fastdepCC_TRUE='#'
15012 am__fastdepCC_FALSE=
15016 depcc="$CXX" am_compiler_list=
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15019 $as_echo_n "checking dependency style of $depcc... " >&6; }
15020 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
15021 $as_echo_n "(cached) " >&6
15023 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15024 # We make a subdir and do the tests there. Otherwise we can end up
15025 # making bogus files that we don't know about and never remove. For
15026 # instance it was reported that on HP-UX the gcc test will end up
15027 # making a dummy file named `D' -- because `-MD' means `put the output
15030 # Copy depcomp to subdir because otherwise we won't find it if we're
15031 # using a relative directory.
15032 cp "$am_depcomp" conftest.dir
15034 # We will build objects and dependencies in a subdirectory because
15035 # it helps to detect inapplicable dependency modes. For instance
15036 # both Tru64's cc and ICC support -MD to output dependencies as a
15037 # side effect of compilation, but ICC will put the dependencies in
15038 # the current directory while Tru64 will put them in the object
15042 am_cv_CXX_dependencies_compiler_type=none
15043 if test "$am_compiler_list" = ""; then
15044 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15046 am__universal=false
15047 case " $depcc " in #(
15048 *\ -arch\ *\ -arch\ *) am__universal=true ;;
15051 for depmode in $am_compiler_list; do
15052 # Setup a source with many dependencies, because some compilers
15053 # like to wrap large dependency lists on column 80 (with \), and
15054 # we should not choose a depcomp mode which is confused by this.
15056 # We need to recreate these files for each test, as the compiler may
15057 # overwrite some of them when testing with obscure command lines.
15058 # This happens at least with the AIX C compiler.
15060 for i in 1 2 3 4 5 6; do
15061 echo '#include "conftst'$i'.h"' >> sub/conftest.c
15062 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15063 # Solaris 8's {/usr,}/bin/sh.
15064 touch sub/conftst$i.h
15066 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15068 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15069 # mode. It turns out that the SunPro C++ compiler does not properly
15070 # handle `-M -o', and we need to detect this. Also, some Intel
15071 # versions had trouble with output in subdirs
15072 am__obj=sub/conftest.${OBJEXT-o}
15073 am__minus_obj="-o $am__obj"
15076 # This depmode causes a compiler race in universal mode.
15077 test "$am__universal" = false || continue
15080 # after this tag, mechanisms are not by side-effect, so they'll
15081 # only be used when explicitly requested
15082 if test "x$enable_dependency_tracking" = xyes; then
15088 msvisualcpp | msvcmsys)
15089 # This compiler won't grok `-c -o', but also, the minuso test has
15090 # not run yet. These depmodes are late enough in the game, and
15091 # so weak that their functioning should not be impacted.
15092 am__obj=conftest.${OBJEXT-o}
15097 if depmode=$depmode \
15098 source=sub/conftest.c object=$am__obj \
15099 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15100 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15101 >/dev/null 2>conftest.err &&
15102 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15103 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15104 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15105 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15106 # icc doesn't choke on unknown options, it will just issue warnings
15107 # or remarks (even with -Werror). So we grep stderr for any message
15108 # that says an option was ignored or not supported.
15109 # When given -MP, icc 7.0 and 7.1 complain thusly:
15110 # icc: Command line warning: ignoring option '-M'; no argument required
15111 # The diagnosis changed in icc 8.0:
15112 # icc: Command line remark: option '-MP' not supported
15113 if (grep 'ignoring option' conftest.err ||
15114 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15115 am_cv_CXX_dependencies_compiler_type=$depmode
15122 rm -rf conftest.dir
15124 am_cv_CXX_dependencies_compiler_type=none
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
15129 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
15130 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
15133 test "x$enable_dependency_tracking" != xno \
15134 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
15135 am__fastdepCXX_TRUE=
15136 am__fastdepCXX_FALSE='#'
15138 am__fastdepCXX_TRUE='#'
15139 am__fastdepCXX_FALSE=
15147 # This is a bit subtle: on i386 systems without at least -march=i486 defined,
15148 # certain built-in atomics fall back to depending on undefined symbols if
15149 # their return values are used.
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc atomic builtins" >&5
15152 $as_echo_n "checking for gcc atomic builtins... " >&6; }
15153 if test "${dispatch_cv_atomic+set}" = set; then :
15154 $as_echo_n "(cached) " >&6
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15164 i = __sync_add_and_fetch(&x,1);
15170 if ac_fn_c_try_link "$LINENO"; then :
15171 dispatch_cv_atomic=yes
15173 saveCFLAGS="$CFLAGS"
15174 CFLAGS="$CFLAGS -march=i486"
15175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15176 /* end confdefs.h. */
15183 i = __sync_add_and_fetch(&x,1);
15189 if ac_fn_c_try_link "$LINENO"; then :
15190 CFLAGS="$saveCFLAGS"
15191 dispatch_cv_atomic="-march=i486"
15194 rm -f core conftest.err conftest.$ac_objext \
15195 conftest$ac_exeext conftest.$ac_ext
15197 rm -f core conftest.err conftest.$ac_objext \
15198 conftest$ac_exeext conftest.$ac_ext
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dispatch_cv_atomic" >&5
15201 $as_echo "$dispatch_cv_atomic" >&6; }
15205 case $dispatch_cv_atomic in
15207 -march*) MARCH_FLAGS="$dispatch_cv_atomic"
15209 *) as_fn_error "No gcc builtin atomic operations available" "$LINENO" 5 ;;
15213 # Find libraries we will need
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15216 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15217 if test "${ac_cv_search_clock_gettime+set}" = set; then :
15218 $as_echo_n "(cached) " >&6
15220 ac_func_search_save_LIBS=$LIBS
15221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15224 /* Override any GCC internal prototype to avoid an error.
15225 Use char because int might match the return type of a GCC
15226 builtin and then its argument prototype would still apply. */
15230 char clock_gettime ();
15234 return clock_gettime ();
15239 for ac_lib in '' rt; do
15240 if test -z "$ac_lib"; then
15241 ac_res="none required"
15244 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15246 if ac_fn_c_try_link "$LINENO"; then :
15247 ac_cv_search_clock_gettime=$ac_res
15249 rm -f core conftest.err conftest.$ac_objext \
15251 if test "${ac_cv_search_clock_gettime+set}" = set; then :
15255 if test "${ac_cv_search_clock_gettime+set}" = set; then :
15258 ac_cv_search_clock_gettime=no
15260 rm conftest.$ac_ext
15261 LIBS=$ac_func_search_save_LIBS
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15264 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15265 ac_res=$ac_cv_search_clock_gettime
15266 if test "$ac_res" != no; then :
15267 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
15272 $as_echo_n "checking for library containing pthread_create... " >&6; }
15273 if test "${ac_cv_search_pthread_create+set}" = set; then :
15274 $as_echo_n "(cached) " >&6
15276 ac_func_search_save_LIBS=$LIBS
15277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15278 /* end confdefs.h. */
15280 /* Override any GCC internal prototype to avoid an error.
15281 Use char because int might match the return type of a GCC
15282 builtin and then its argument prototype would still apply. */
15286 char pthread_create ();
15290 return pthread_create ();
15295 for ac_lib in '' pthread; do
15296 if test -z "$ac_lib"; then
15297 ac_res="none required"
15300 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15302 if ac_fn_c_try_link "$LINENO"; then :
15303 ac_cv_search_pthread_create=$ac_res
15305 rm -f core conftest.err conftest.$ac_objext \
15307 if test "${ac_cv_search_pthread_create+set}" = set; then :
15311 if test "${ac_cv_search_pthread_create+set}" = set; then :
15314 ac_cv_search_pthread_create=no
15316 rm conftest.$ac_ext
15317 LIBS=$ac_func_search_save_LIBS
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
15320 $as_echo "$ac_cv_search_pthread_create" >&6; }
15321 ac_res=$ac_cv_search_pthread_create
15322 if test "$ac_res" != no; then :
15323 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15329 # Prefer native kqueue(2); otherwise use libkqueue if present.
15333 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15334 if test -n "$ac_tool_prefix"; then
15335 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15336 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15338 $as_echo_n "checking for $ac_word... " >&6; }
15339 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
15340 $as_echo_n "(cached) " >&6
15342 case $PKG_CONFIG in
15344 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15348 for as_dir in $PATH
15351 test -z "$as_dir" && as_dir=.
15352 for ac_exec_ext in '' $ac_executable_extensions; do
15353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15354 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15365 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15366 if test -n "$PKG_CONFIG"; then
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15368 $as_echo "$PKG_CONFIG" >&6; }
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15371 $as_echo "no" >&6; }
15376 if test -z "$ac_cv_path_PKG_CONFIG"; then
15377 ac_pt_PKG_CONFIG=$PKG_CONFIG
15378 # Extract the first word of "pkg-config", so it can be a program name with args.
15379 set dummy pkg-config; ac_word=$2
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15381 $as_echo_n "checking for $ac_word... " >&6; }
15382 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
15383 $as_echo_n "(cached) " >&6
15385 case $ac_pt_PKG_CONFIG in
15387 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15391 for as_dir in $PATH
15394 test -z "$as_dir" && as_dir=.
15395 for ac_exec_ext in '' $ac_executable_extensions; do
15396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15397 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15408 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15409 if test -n "$ac_pt_PKG_CONFIG"; then
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15411 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15414 $as_echo "no" >&6; }
15417 if test "x$ac_pt_PKG_CONFIG" = x; then
15420 case $cross_compiling:$ac_tool_warned in
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15424 ac_tool_warned=yes ;;
15426 PKG_CONFIG=$ac_pt_PKG_CONFIG
15429 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15433 if test -n "$PKG_CONFIG"; then
15434 _pkg_min_version=0.9.0
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15436 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15437 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15439 $as_echo "yes" >&6; }
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15442 $as_echo "no" >&6; }
15447 ac_fn_c_check_header_mongrel "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
15448 if test "x$ac_cv_header_sys_event_h" = x""yes; then :
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KQUEUE" >&5
15454 $as_echo_n "checking for KQUEUE... " >&6; }
15456 if test -n "$KQUEUE_CFLAGS"; then
15457 pkg_cv_KQUEUE_CFLAGS="$KQUEUE_CFLAGS"
15458 elif test -n "$PKG_CONFIG"; then
15459 if test -n "$PKG_CONFIG" && \
15460 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libkqueue\""; } >&5
15461 ($PKG_CONFIG --exists --print-errors "libkqueue") 2>&5
15463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15464 test $ac_status = 0; }; then
15465 pkg_cv_KQUEUE_CFLAGS=`$PKG_CONFIG --cflags "libkqueue" 2>/dev/null`
15472 if test -n "$KQUEUE_LIBS"; then
15473 pkg_cv_KQUEUE_LIBS="$KQUEUE_LIBS"
15474 elif test -n "$PKG_CONFIG"; then
15475 if test -n "$PKG_CONFIG" && \
15476 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libkqueue\""; } >&5
15477 ($PKG_CONFIG --exists --print-errors "libkqueue") 2>&5
15479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15480 test $ac_status = 0; }; then
15481 pkg_cv_KQUEUE_LIBS=`$PKG_CONFIG --libs "libkqueue" 2>/dev/null`
15491 if test $pkg_failed = yes; then
15493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15494 _pkg_short_errors_supported=yes
15496 _pkg_short_errors_supported=no
15498 if test $_pkg_short_errors_supported = yes; then
15499 KQUEUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libkqueue" 2>&1`
15501 KQUEUE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libkqueue" 2>&1`
15503 # Put the nasty error message in config.log where it belongs
15504 echo "$KQUEUE_PKG_ERRORS" >&5
15506 as_fn_error "Package requirements (libkqueue) were not met:
15510 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15511 installed software in a non-standard prefix.
15513 Alternatively, you may set the environment variables KQUEUE_CFLAGS
15514 and KQUEUE_LIBS to avoid the need to call pkg-config.
15515 See the pkg-config man page for more details.
15517 elif test $pkg_failed = untried; then
15518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15520 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
15521 is in your PATH or set the PKG_CONFIG environment variable to the full
15522 path to pkg-config.
15524 Alternatively, you may set the environment variables KQUEUE_CFLAGS
15525 and KQUEUE_LIBS to avoid the need to call pkg-config.
15526 See the pkg-config man page for more details.
15528 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15529 See \`config.log' for more details." "$LINENO" 5; }
15531 KQUEUE_CFLAGS=$pkg_cv_KQUEUE_CFLAGS
15532 KQUEUE_LIBS=$pkg_cv_KQUEUE_LIBS
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15534 $as_echo "yes" >&6; }
15543 # Checks for header files.
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15546 $as_echo_n "checking for ANSI C header files... " >&6; }
15547 if test "${ac_cv_header_stdc+set}" = set; then :
15548 $as_echo_n "(cached) " >&6
15550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15551 /* end confdefs.h. */
15552 #include <stdlib.h>
15553 #include <stdarg.h>
15554 #include <string.h>
15565 if ac_fn_c_try_compile "$LINENO"; then :
15566 ac_cv_header_stdc=yes
15568 ac_cv_header_stdc=no
15570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15572 if test $ac_cv_header_stdc = yes; then
15573 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15575 /* end confdefs.h. */
15576 #include <string.h>
15579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15580 $EGREP "memchr" >/dev/null 2>&1; then :
15583 ac_cv_header_stdc=no
15589 if test $ac_cv_header_stdc = yes; then
15590 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15592 /* end confdefs.h. */
15593 #include <stdlib.h>
15596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15597 $EGREP "free" >/dev/null 2>&1; then :
15600 ac_cv_header_stdc=no
15606 if test $ac_cv_header_stdc = yes; then
15607 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15608 if test "$cross_compiling" = yes; then :
15611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15612 /* end confdefs.h. */
15614 #include <stdlib.h>
15615 #if ((' ' & 0x0FF) == 0x020)
15616 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15617 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15619 # define ISLOWER(c) \
15620 (('a' <= (c) && (c) <= 'i') \
15621 || ('j' <= (c) && (c) <= 'r') \
15622 || ('s' <= (c) && (c) <= 'z'))
15623 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15626 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15631 for (i = 0; i < 256; i++)
15632 if (XOR (islower (i), ISLOWER (i))
15633 || toupper (i) != TOUPPER (i))
15638 if ac_fn_c_try_run "$LINENO"; then :
15641 ac_cv_header_stdc=no
15643 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15644 conftest.$ac_objext conftest.beam conftest.$ac_ext
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15650 $as_echo "$ac_cv_header_stdc" >&6; }
15651 if test $ac_cv_header_stdc = yes; then
15653 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15657 for ac_header in TargetConditionals.h pthread_machdep.h pthread_np.h malloc/malloc.h libkern/OSCrossEndian.h libkern/OSAtomic.h sys/sysctl.h
15659 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15660 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15661 eval as_val=\$$as_ac_Header
15662 if test "x$as_val" = x""yes; then :
15663 cat >>confdefs.h <<_ACEOF
15664 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15673 # Core Services is tested in one of the GCD regression tests, so test for its
15674 # presence using its header file.
15676 ac_fn_c_check_header_mongrel "$LINENO" "CoreServices/CoreServices.h" "ac_cv_header_CoreServices_CoreServices_h" "$ac_includes_default"
15677 if test "x$ac_cv_header_CoreServices_CoreServices_h" = x""yes; then :
15678 have_coreservices=true
15680 have_coreservices=false
15685 if $have_coreservices; then
15686 HAVE_CORESERVICES_TRUE=
15687 HAVE_CORESERVICES_FALSE='#'
15689 HAVE_CORESERVICES_TRUE='#'
15690 HAVE_CORESERVICES_FALSE=
15695 # We use the availability of mach.h to decide whether to compile in all sorts
15696 # of Machisms, including using Mach ports as event sources, etc.
15698 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
15699 if test "x$ac_cv_header_mach_mach_h" = x""yes; then :
15701 $as_echo "#define HAVE_MACH 1" >>confdefs.h
15710 if $have_mach; then
15720 # We use the availability of pthread_workqueue.h to decide whether to compile
15721 # in support for pthread work queues.
15723 ac_fn_c_check_header_mongrel "$LINENO" "pthread_workqueue.h" "ac_cv_header_pthread_workqueue_h" "$ac_includes_default"
15724 if test "x$ac_cv_header_pthread_workqueue_h" = x""yes; then :
15726 $as_echo "#define HAVE_PTHREAD_WORKQUEUES 1" >>confdefs.h
15734 # Find functions and declarations we care about.
15736 ac_fn_c_check_decl "$LINENO" "CLOCK_UPTIME" "ac_cv_have_decl_CLOCK_UPTIME" "#include <time.h>
15738 if test "x$ac_cv_have_decl_CLOCK_UPTIME" = x""yes; then :
15744 cat >>confdefs.h <<_ACEOF
15745 #define HAVE_DECL_CLOCK_UPTIME $ac_have_decl
15747 ac_fn_c_check_decl "$LINENO" "CLOCK_MONOTONIC" "ac_cv_have_decl_CLOCK_MONOTONIC" "#include <time.h>
15749 if test "x$ac_cv_have_decl_CLOCK_MONOTONIC" = x""yes; then :
15755 cat >>confdefs.h <<_ACEOF
15756 #define HAVE_DECL_CLOCK_MONOTONIC $ac_have_decl
15758 ac_fn_c_check_decl "$LINENO" "CLOCK_REALTIME" "ac_cv_have_decl_CLOCK_REALTIME" "#include <time.h>
15760 if test "x$ac_cv_have_decl_CLOCK_REALTIME" = x""yes; then :
15766 cat >>confdefs.h <<_ACEOF
15767 #define HAVE_DECL_CLOCK_REALTIME $ac_have_decl
15770 ac_fn_c_check_decl "$LINENO" "EVFILT_LIO" "ac_cv_have_decl_EVFILT_LIO" "#include <sys/types.h>
15771 #include <sys/event.h>
15773 if test "x$ac_cv_have_decl_EVFILT_LIO" = x""yes; then :
15779 cat >>confdefs.h <<_ACEOF
15780 #define HAVE_DECL_EVFILT_LIO $ac_have_decl
15782 ac_fn_c_check_decl "$LINENO" "EVFILT_SESSION" "ac_cv_have_decl_EVFILT_SESSION" "#include <sys/types.h>
15783 #include <sys/event.h>
15785 if test "x$ac_cv_have_decl_EVFILT_SESSION" = x""yes; then :
15791 cat >>confdefs.h <<_ACEOF
15792 #define HAVE_DECL_EVFILT_SESSION $ac_have_decl
15794 ac_fn_c_check_decl "$LINENO" "NOTE_NONE" "ac_cv_have_decl_NOTE_NONE" "#include <sys/types.h>
15795 #include <sys/event.h>
15797 if test "x$ac_cv_have_decl_NOTE_NONE" = x""yes; then :
15803 cat >>confdefs.h <<_ACEOF
15804 #define HAVE_DECL_NOTE_NONE $ac_have_decl
15806 ac_fn_c_check_decl "$LINENO" "NOTE_REAP" "ac_cv_have_decl_NOTE_REAP" "#include <sys/types.h>
15807 #include <sys/event.h>
15809 if test "x$ac_cv_have_decl_NOTE_REAP" = x""yes; then :
15815 cat >>confdefs.h <<_ACEOF
15816 #define HAVE_DECL_NOTE_REAP $ac_have_decl
15818 ac_fn_c_check_decl "$LINENO" "NOTE_REVOKE" "ac_cv_have_decl_NOTE_REVOKE" "#include <sys/types.h>
15819 #include <sys/event.h>
15821 if test "x$ac_cv_have_decl_NOTE_REVOKE" = x""yes; then :
15827 cat >>confdefs.h <<_ACEOF
15828 #define HAVE_DECL_NOTE_REVOKE $ac_have_decl
15830 ac_fn_c_check_decl "$LINENO" "NOTE_SIGNAL" "ac_cv_have_decl_NOTE_SIGNAL" "#include <sys/types.h>
15831 #include <sys/event.h>
15833 if test "x$ac_cv_have_decl_NOTE_SIGNAL" = x""yes; then :
15839 cat >>confdefs.h <<_ACEOF
15840 #define HAVE_DECL_NOTE_SIGNAL $ac_have_decl
15843 ac_fn_c_check_decl "$LINENO" "FD_COPY" "ac_cv_have_decl_FD_COPY" "#include <sys/select.h>
15845 if test "x$ac_cv_have_decl_FD_COPY" = x""yes; then :
15851 cat >>confdefs.h <<_ACEOF
15852 #define HAVE_DECL_FD_COPY $ac_have_decl
15855 ac_fn_c_check_decl "$LINENO" "SIGEMT" "ac_cv_have_decl_SIGEMT" "#include <signal.h>
15857 if test "x$ac_cv_have_decl_SIGEMT" = x""yes; then :
15863 cat >>confdefs.h <<_ACEOF
15864 #define HAVE_DECL_SIGEMT $ac_have_decl
15867 ac_fn_c_check_decl "$LINENO" "VQ_UPDATE" "ac_cv_have_decl_VQ_UPDATE" "#include <sys/mount.h>
15869 if test "x$ac_cv_have_decl_VQ_UPDATE" = x""yes; then :
15875 cat >>confdefs.h <<_ACEOF
15876 #define HAVE_DECL_VQ_UPDATE $ac_have_decl
15878 ac_fn_c_check_decl "$LINENO" "VQ_VERYLOWDISK" "ac_cv_have_decl_VQ_VERYLOWDISK" "#include <sys/mount.h>
15880 if test "x$ac_cv_have_decl_VQ_VERYLOWDISK" = x""yes; then :
15886 cat >>confdefs.h <<_ACEOF
15887 #define HAVE_DECL_VQ_VERYLOWDISK $ac_have_decl
15890 ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
15892 if test "x$ac_cv_have_decl_program_invocation_short_name" = x""yes; then :
15898 cat >>confdefs.h <<_ACEOF
15899 #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl
15902 for ac_func in pthread_key_init_np pthread_main_np mach_absolute_time malloc_create_zone sysconf getprogname
15904 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15905 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15906 eval as_val=\$$as_ac_var
15907 if test "x$as_val" = x""yes; then :
15908 cat >>confdefs.h <<_ACEOF
15909 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15916 ac_fn_c_check_decl "$LINENO" "POSIX_SPAWN_START_SUSPENDED" "ac_cv_have_decl_POSIX_SPAWN_START_SUSPENDED" "#include <sys/spawn.h>
15919 if test "x$ac_cv_have_decl_POSIX_SPAWN_START_SUSPENDED" = x""yes; then :
15925 cat >>confdefs.h <<_ACEOF
15926 #define HAVE_DECL_POSIX_SPAWN_START_SUSPENDED $ac_have_decl
15928 if test $ac_have_decl = 1; then :
15929 have_posix_spawn_start_suspended=true
15931 have_posix_spawn_start_suspended=false
15934 if $have_posix_spawn_start_suspended; then
15935 HAVE_POSIX_SPAWN_START_SUSPENDED_TRUE=
15936 HAVE_POSIX_SPAWN_START_SUSPENDED_FALSE='#'
15938 HAVE_POSIX_SPAWN_START_SUSPENDED_TRUE='#'
15939 HAVE_POSIX_SPAWN_START_SUSPENDED_FALSE=
15943 ac_fn_c_check_func "$LINENO" "sem_init" "ac_cv_func_sem_init"
15944 if test "x$ac_cv_func_sem_init" = x""yes; then :
15947 have_sem_init=false
15953 # We support both Mach semaphores and POSIX semaphores; if the former are
15954 # available, prefer them.
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what semaphore type to use" >&5
15957 $as_echo_n "checking what semaphore type to use... " >&6; };
15958 if test "x$have_mach" = "xtrue"; then :
15960 $as_echo "#define USE_MACH_SEM 1" >>confdefs.h
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Mach semaphores" >&5
15963 $as_echo "Mach semaphores" >&6; }
15964 elif test "x$have_sem_init" = "xtrue"; then :
15966 $as_echo "#define USE_POSIX_SEM 1" >>confdefs.h
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: POSIX semaphores" >&5
15969 $as_echo "POSIX semaphores" >&6; }
15971 as_fn_error "no supported semaphore type" "$LINENO" 5
15975 for ac_header in sys/cdefs.h
15977 ac_fn_c_check_header_compile "$LINENO" "sys/cdefs.h" "ac_cv_header_sys_cdefs_h" "#ifdef HAVE_SYS_CDEFS_H
15978 #include <sys/cdefs.h>
15981 if test "x$ac_cv_header_sys_cdefs_h" = x""yes; then :
15982 cat >>confdefs.h <<_ACEOF
15983 #define HAVE_SYS_CDEFS_H 1
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
15994 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
15995 if test "${dispatch_cv_hidden_visibility_attribute+set}" = set; then :
15996 $as_echo_n "(cached) " >&6
15999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16000 /* end confdefs.h. */
16005 extern __attribute__ ((visibility ("hidden"))) int foo;
16010 if ac_fn_c_try_link "$LINENO"; then :
16011 dispatch_cv_hidden_visibility_attribute=yes
16013 dispatch_cv_hidden_visibility_attribute=no
16015 rm -f core conftest.err conftest.$ac_objext \
16016 conftest$ac_exeext conftest.$ac_ext
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dispatch_cv_hidden_visibility_attribute" >&5
16019 $as_echo "$dispatch_cv_hidden_visibility_attribute" >&6; }
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __private_extern__" >&5
16022 $as_echo_n "checking for __private_extern__... " >&6; }
16023 if test "${dispatch_cv_private_extern+set}" = set; then :
16024 $as_echo_n "(cached) " >&6
16027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16028 /* end confdefs.h. */
16033 __private_extern__ int foo;
16038 if ac_fn_c_try_link "$LINENO"; then :
16039 dispatch_cv_private_extern=yes
16041 dispatch_cv_private_extern=no
16043 rm -f core conftest.err conftest.$ac_objext \
16044 conftest$ac_exeext conftest.$ac_ext
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dispatch_cv_private_extern" >&5
16047 $as_echo "$dispatch_cv_private_extern" >&6; }
16049 if test $dispatch_cv_private_extern = yes; then
16051 $as_echo "#define HAVE_PRIVATE_EXTERN 1" >>confdefs.h
16053 elif test $dispatch_cv_hidden_visibility_attribute = yes; then
16055 $as_echo "#define HAVE_PRIVATE_EXTERN 1" >>confdefs.h
16058 $as_echo "#define __private_extern__ extern __attribute__ ((visibility (\"hidden\")))" >>confdefs.h
16062 $as_echo "#define __private_extern__ extern" >>confdefs.h
16069 # Allow configure to be passed a path to the directory where it should look
16070 # for the Blocks runtime library, if any.
16073 # Check whether --with-blocks-runtime was given.
16074 if test "${with_blocks_runtime+set}" = set; then :
16075 withval=$with_blocks_runtime; blocks_runtime=${withval}
16076 LIBS="$LIBS -L$blocks_runtime"
16082 # Detect compiler support for Blocks; perhaps someday -fblocks won't be
16083 # required, in which case we'll need to change this.
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C Blocks support" >&5
16086 $as_echo_n "checking for C Blocks support... " >&6; }
16087 if test "${dispatch_cv_cblocks+set}" = set; then :
16088 $as_echo_n "(cached) " >&6
16091 saveCFLAGS="$CFLAGS"
16092 CFLAGS="$CFLAGS -fblocks"
16093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h. */
16099 (void)^{int i; i = 0; }();
16104 if ac_fn_c_try_compile "$LINENO"; then :
16106 CFLAGS="$saveCFLAGS"
16107 dispatch_cv_cblocks="-fblocks"
16111 CFLAGS="$saveCFLAGS"
16112 dispatch_cv_cblocks="no"
16115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dispatch_cv_cblocks" >&5
16119 $as_echo "$dispatch_cv_cblocks" >&6; }
16121 if test "x$dispatch_cv_cblocks" != "xno"; then :
16123 CBLOCKS_FLAGS="$dispatch_cv_cblocks"
16126 # It may be necessary to directly link the Blocks runtime on some
16127 # systems, so give it a try if we can't link a C program that uses
16128 # Blocks. We will want to remove this at somepoint, as really -fblocks
16129 # should force that linkage already.
16131 saveCFLAGS="$CFLAGS"
16132 CFLAGS="$CFLAGS -fblocks -O0"
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether additional libraries are required for the Blocks runtime" >&5
16134 $as_echo_n "checking whether additional libraries are required for the Blocks runtime... " >&6; }
16135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16136 /* end confdefs.h. */
16142 ^{ int j; j=0; }();
16148 if ac_fn_c_try_link "$LINENO"; then :
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16151 $as_echo "no" >&6; };
16156 LIBS="$LIBS -lBlocksRuntime"
16157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16158 /* end confdefs.h. */
16164 ^{ int k; k=0; }();
16170 if ac_fn_c_try_link "$LINENO"; then :
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -lBlocksRuntime" >&5
16173 $as_echo "-lBlocksRuntime" >&6; }
16177 as_fn_error "can't find Blocks runtime" "$LINENO" 5
16180 rm -f core conftest.err conftest.$ac_objext \
16181 conftest$ac_exeext conftest.$ac_ext
16184 rm -f core conftest.err conftest.$ac_objext \
16185 conftest$ac_exeext conftest.$ac_ext
16186 CFLAGS="$saveCFLAGS"
16195 if $have_cblocks; then
16197 HAVE_CBLOCKS_FALSE='#'
16199 HAVE_CBLOCKS_TRUE='#'
16200 HAVE_CBLOCKS_FALSE=
16206 # Because a different C++ compiler may be specified than C compiler, we have
16207 # to do it again for C++.
16210 ac_cpp='$CXXCPP $CPPFLAGS'
16211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ Blocks support" >&5
16216 $as_echo_n "checking for C++ Blocks support... " >&6; }
16217 if test "${dispatch_cv_cxxblocks+set}" = set; then :
16218 $as_echo_n "(cached) " >&6
16221 saveCXXFLAGS="$CXXFLAGS"
16222 CXXFLAGS="$CXXFLAGS -fblocks"
16223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16224 /* end confdefs.h. */
16229 (void)^{int i; i = 0; }();
16234 if ac_fn_cxx_try_compile "$LINENO"; then :
16236 CXXFLAGS="$saveCXXFLAGS"
16237 dispatch_cv_cxxblocks="-fblocks"
16241 CXXFLAGS="$saveCXXFLAGS"
16242 dispatch_cv_cxxblocks="no"
16245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dispatch_cv_cxxblocks" >&5
16249 $as_echo "$dispatch_cv_cxxblocks" >&6; }
16251 if test "x$dispatch_cv_cxxblocks" != "xno"; then :
16253 CXXBLOCKS_FLAGS="$dispatch_cv_cxxblocks"
16255 saveCXXFLAGS="$CXXFLAGS"
16256 CXXFLAGS="$CXXFLAGS -fblocks -O0"
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether additional libraries are required for the Blocks runtime" >&5
16258 $as_echo_n "checking whether additional libraries are required for the Blocks runtime... " >&6; }
16259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16260 /* end confdefs.h. */
16266 ^{ int j; j=0; }();
16272 if ac_fn_cxx_try_link "$LINENO"; then :
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16275 $as_echo "no" >&6; };
16280 LIBS="$LIBS -lBlocksRuntime"
16281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16282 /* end confdefs.h. */
16288 ^{ int k; k=0; }();
16294 if ac_fn_cxx_try_link "$LINENO"; then :
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -lBlocksRuntime" >&5
16297 $as_echo "-lBlocksRuntime" >&6; }
16301 as_fn_error "can't find Blocks runtime" "$LINENO" 5
16304 rm -f core conftest.err conftest.$ac_objext \
16305 conftest$ac_exeext conftest.$ac_ext
16308 rm -f core conftest.err conftest.$ac_objext \
16309 conftest$ac_exeext conftest.$ac_ext
16310 CXXFLAGS="$saveCXXFLAGS"
16311 have_cxxblocks=true
16316 have_cxxblocks=false
16320 ac_cpp='$CPP $CPPFLAGS'
16321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16325 if $have_cxxblocks; then
16326 HAVE_CXXBLOCKS_TRUE=
16327 HAVE_CXXBLOCKS_FALSE='#'
16329 HAVE_CXXBLOCKS_TRUE='#'
16330 HAVE_CXXBLOCKS_FALSE=
16337 # Temporary: some versions of clang do not mark __builtin_trap() as
16338 # __attribute__((__noreturn__)). Detect and add if required.
16340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16341 /* end confdefs.h. */
16343 void __attribute__((__noreturn__)) temp(void) { __builtin_trap(); }
16352 if ac_fn_c_try_compile "$LINENO"; then :
16355 $as_echo "#define HAVE_NORETURN_BUILTIN_TRAP 1" >>confdefs.h
16359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16362 # Generate Makefiles.
16364 ac_config_files="$ac_config_files Makefile dispatch/Makefile man/Makefile src/Makefile testing/Makefile"
16366 cat >confcache <<\_ACEOF
16367 # This file is a shell script that caches the results of configure
16368 # tests run on this system so they can be shared between configure
16369 # scripts and configure runs, see configure's option --config-cache.
16370 # It is not useful on other systems. If it contains results you don't
16371 # want to keep, you may remove or edit it.
16373 # config.status only pays attention to the cache file if you give it
16374 # the --recheck option to rerun configure.
16376 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16377 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16378 # following values.
16382 # The following way of writing the cache mishandles newlines in values,
16383 # but we know of no workaround that is simple, portable, and efficient.
16384 # So, we kill variables containing newlines.
16385 # Ultrix sh set writes to stderr and can't be redirected directly,
16386 # and sets the high bit in the cache file unless we assign to the vars.
16388 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16389 eval ac_val=\$$ac_var
16393 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16394 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16397 _ | IFS | as_nl) ;; #(
16398 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16399 *) { eval $ac_var=; unset $ac_var;} ;;
16405 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16406 *${as_nl}ac_space=\ *)
16407 # `set' does not quote correctly, so add quotes: double-quote
16408 # substitution turns \\\\ into \\, and sed turns \\ into \.
16411 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16414 # `set' quotes correctly as required by POSIX, so do not add quotes.
16415 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16424 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16426 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16428 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16429 if test -w "$cache_file"; then
16430 test "x$cache_file" != "x/dev/null" &&
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16432 $as_echo "$as_me: updating cache $cache_file" >&6;}
16433 cat confcache >$cache_file
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16436 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16441 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16442 # Let make expand exec_prefix.
16443 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16445 DEFS=-DHAVE_CONFIG_H
16449 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16450 # 1. Remove the extension, and $U if already installed.
16451 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16452 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16453 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16454 # will be set to the directory where LIBOBJS objects are built.
16455 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16456 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16458 LIBOBJS=$ac_libobjs
16460 LTLIBOBJS=$ac_ltlibobjs
16463 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16464 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
16465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16467 if test -z "${USE_LEGACY_API_TRUE}" && test -z "${USE_LEGACY_API_FALSE}"; then
16468 as_fn_error "conditional \"USE_LEGACY_API\" was never defined.
16469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16471 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16472 as_fn_error "conditional \"AMDEP\" was never defined.
16473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16475 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16476 as_fn_error "conditional \"am__fastdepCC\" was never defined.
16477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16479 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16480 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
16481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16483 if test -n "$EXEEXT"; then
16485 am__EXEEXT_FALSE='#'
16487 am__EXEEXT_TRUE='#'
16491 if test -z "${HAVE_CORESERVICES_TRUE}" && test -z "${HAVE_CORESERVICES_FALSE}"; then
16492 as_fn_error "conditional \"HAVE_CORESERVICES\" was never defined.
16493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16495 if test -z "${USE_MIG_TRUE}" && test -z "${USE_MIG_FALSE}"; then
16496 as_fn_error "conditional \"USE_MIG\" was never defined.
16497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16499 if test -z "${HAVE_POSIX_SPAWN_START_SUSPENDED_TRUE}" && test -z "${HAVE_POSIX_SPAWN_START_SUSPENDED_FALSE}"; then
16500 as_fn_error "conditional \"HAVE_POSIX_SPAWN_START_SUSPENDED\" was never defined.
16501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16503 if test -z "${HAVE_CBLOCKS_TRUE}" && test -z "${HAVE_CBLOCKS_FALSE}"; then
16504 as_fn_error "conditional \"HAVE_CBLOCKS\" was never defined.
16505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16507 if test -z "${HAVE_CXXBLOCKS_TRUE}" && test -z "${HAVE_CXXBLOCKS_FALSE}"; then
16508 as_fn_error "conditional \"HAVE_CXXBLOCKS\" was never defined.
16509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16512 : ${CONFIG_STATUS=./config.status}
16514 ac_clean_files_save=$ac_clean_files
16515 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16517 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16519 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16521 # Generated by $as_me.
16522 # Run this file to recreate the current configuration.
16523 # Compiler output produced by configure, useful for debugging
16524 # configure, is in config.log if it exists.
16527 ac_cs_recheck=false
16530 SHELL=\${CONFIG_SHELL-$SHELL}
16533 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16534 ## -------------------- ##
16535 ## M4sh Initialization. ##
16536 ## -------------------- ##
16538 # Be more Bourne compatible
16539 DUALCASE=1; export DUALCASE # for MKS sh
16540 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16543 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16544 # is contrary to our usage. Disable this feature.
16545 alias -g '${1+"$@"}'='"$@"'
16546 setopt NO_GLOB_SUBST
16548 case `(set -o) 2>/dev/null` in #(
16560 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16561 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16562 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16563 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16564 # Prefer a ksh shell builtin over an external printf program on Solaris,
16565 # but without wasting forks for bash or zsh.
16566 if test -z "$BASH_VERSION$ZSH_VERSION" \
16567 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16568 as_echo='print -r --'
16569 as_echo_n='print -rn --'
16570 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16571 as_echo='printf %s\n'
16572 as_echo_n='printf %s'
16574 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16575 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16576 as_echo_n='/usr/ucb/echo -n'
16578 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16579 as_echo_n_body='eval
16583 expr "X$arg" : "X\\(.*\\)$as_nl";
16584 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16586 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16588 export as_echo_n_body
16589 as_echo_n='sh -c $as_echo_n_body as_echo'
16591 export as_echo_body
16592 as_echo='sh -c $as_echo_body as_echo'
16595 # The user is always right.
16596 if test "${PATH_SEPARATOR+set}" != set; then
16598 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16599 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16606 # We need space, tab and new line, in precisely that order. Quoting is
16607 # there to prevent editors from complaining about space-tab.
16608 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16609 # splitting by setting IFS to empty value.)
16612 # Find who we are. Look in the path if we contain no directory separator.
16614 *[\\/]* ) as_myself=$0 ;;
16615 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16616 for as_dir in $PATH
16619 test -z "$as_dir" && as_dir=.
16620 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16626 # We did not find ourselves, most probably we were run as `sh COMMAND'
16627 # in which case we are not to be found in the path.
16628 if test "x$as_myself" = x; then
16631 if test ! -f "$as_myself"; then
16632 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16636 # Unset variables that we do not need and which cause bugs (e.g. in
16637 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16638 # suppresses any "Segmentation fault" message there. '((' could
16639 # trigger a bug in pdksh 5.2.14.
16640 for as_var in BASH_ENV ENV MAIL MAILPATH
16641 do eval test x\${$as_var+set} = xset \
16642 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16655 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16658 # as_fn_error ERROR [LINENO LOG_FD]
16659 # ---------------------------------
16660 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16661 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16662 # script with status $?, using 1 if that was 0.
16665 as_status=$?; test $as_status -eq 0 && as_status=1
16667 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16668 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16670 $as_echo "$as_me: error: $1" >&2
16671 as_fn_exit $as_status
16675 # as_fn_set_status STATUS
16676 # -----------------------
16677 # Set $? to STATUS, without forking.
16678 as_fn_set_status ()
16681 } # as_fn_set_status
16683 # as_fn_exit STATUS
16684 # -----------------
16685 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16689 as_fn_set_status $1
16695 # Portably unset VAR.
16698 { eval $1=; unset $1;}
16700 as_unset=as_fn_unset
16701 # as_fn_append VAR VALUE
16702 # ----------------------
16703 # Append the text in VALUE to the end of the definition contained in VAR. Take
16704 # advantage of any shell optimizations that allow amortized linear growth over
16705 # repeated appends, instead of the typical quadratic growth present in naive
16707 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16708 eval 'as_fn_append ()
16719 # as_fn_arith ARG...
16720 # ------------------
16721 # Perform arithmetic evaluation on the ARGs, and store the result in the
16722 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16723 # must be portable across $(()) and expr.
16724 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16725 eval 'as_fn_arith ()
16732 as_val=`expr "$@" || test $? -eq 1`
16737 if expr a : '\(a\)' >/dev/null 2>&1 &&
16738 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16744 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16745 as_basename=basename
16750 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16756 as_me=`$as_basename -- "$0" ||
16757 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16758 X"$0" : 'X\(//\)$' \| \
16759 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16761 sed '/^.*\/\([^/][^/]*\)\/*$/{
16775 # Avoid depending upon Character Ranges.
16776 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16777 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16778 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16779 as_cr_digits='0123456789'
16780 as_cr_alnum=$as_cr_Letters$as_cr_digits
16782 ECHO_C= ECHO_N= ECHO_T=
16783 case `echo -n x` in #(((((
16785 case `echo 'xy\c'` in
16786 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16788 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16795 rm -f conf$$ conf$$.exe conf$$.file
16796 if test -d conf$$.dir; then
16797 rm -f conf$$.dir/conf$$.file
16800 mkdir conf$$.dir 2>/dev/null
16802 if (echo >conf$$.file) 2>/dev/null; then
16803 if ln -s conf$$.file conf$$ 2>/dev/null; then
16805 # ... but there are two gotchas:
16806 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16807 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16808 # In both cases, we have to default to `cp -p'.
16809 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16811 elif ln conf$$.file conf$$ 2>/dev/null; then
16819 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16820 rmdir conf$$.dir 2>/dev/null
16825 # Create "$as_dir" as a directory, including parents if necessary.
16830 -*) as_dir=./$as_dir;;
16832 test -d "$as_dir" || eval $as_mkdir_p || {
16836 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16837 *) as_qdir=$as_dir;;
16839 as_dirs="'$as_qdir' $as_dirs"
16840 as_dir=`$as_dirname -- "$as_dir" ||
16841 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16842 X"$as_dir" : 'X\(//\)[^/]' \| \
16843 X"$as_dir" : 'X\(//\)$' \| \
16844 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16845 $as_echo X"$as_dir" |
16846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16850 /^X\(\/\/\)[^/].*/{
16863 test -d "$as_dir" && break
16865 test -z "$as_dirs" || eval "mkdir $as_dirs"
16866 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16870 if mkdir -p . 2>/dev/null; then
16871 as_mkdir_p='mkdir -p "$as_dir"'
16873 test -d ./-p && rmdir ./-p
16877 if test -x / >/dev/null 2>&1; then
16878 as_test_x='test -x'
16880 if ls -dL / >/dev/null 2>&1; then
16887 if test -d "$1"; then
16893 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16894 ???[sx]*):;;*)false;;esac;fi
16898 as_executable_p=$as_test_x
16900 # Sed expression to map a string onto a valid CPP name.
16901 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16903 # Sed expression to map a string onto a valid variable name.
16904 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16908 ## ----------------------------------- ##
16909 ## Main body of $CONFIG_STATUS script. ##
16910 ## ----------------------------------- ##
16912 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16915 # Save the log message, to keep $0 and so on meaningful, and to
16916 # report actual input values of CONFIG_FILES etc. instead of their
16917 # values after options handling.
16919 This file was extended by libdispatch $as_me 1.0, which was
16920 generated by GNU Autoconf 2.65. Invocation command line was
16922 CONFIG_FILES = $CONFIG_FILES
16923 CONFIG_HEADERS = $CONFIG_HEADERS
16924 CONFIG_LINKS = $CONFIG_LINKS
16925 CONFIG_COMMANDS = $CONFIG_COMMANDS
16928 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16933 case $ac_config_files in *"
16934 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16937 case $ac_config_headers in *"
16938 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16943 # Files that config.status was made for.
16944 config_files="$ac_config_files"
16945 config_headers="$ac_config_headers"
16946 config_commands="$ac_config_commands"
16950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16952 \`$as_me' instantiates files and other configuration actions
16953 from templates according to the current configuration. Unless the files
16954 and actions are specified as TAGs, all are instantiated by default.
16956 Usage: $0 [OPTION]... [TAG]...
16958 -h, --help print this help, then exit
16959 -V, --version print version number and configuration settings, then exit
16960 --config print configuration, then exit
16961 -q, --quiet, --silent
16962 do not print progress messages
16963 -d, --debug don't remove temporary files
16964 --recheck update $as_me by reconfiguring in the same conditions
16965 --file=FILE[:TEMPLATE]
16966 instantiate the configuration file FILE
16967 --header=FILE[:TEMPLATE]
16968 instantiate the configuration header FILE
16970 Configuration files:
16973 Configuration headers:
16976 Configuration commands:
16979 Report bugs to <libdispatch@macosforge.org>."
16982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16983 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16985 libdispatch config.status 1.0
16986 configured by $0, generated by GNU Autoconf 2.65,
16987 with options \\"\$ac_cs_config\\"
16989 Copyright (C) 2009 Free Software Foundation, Inc.
16990 This config.status script is free software; the Free Software Foundation
16991 gives unlimited permission to copy, distribute and modify it."
16998 test -n "\$AWK" || AWK=awk
17001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17002 # The default lists apply if the user does not specify any file.
17008 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17009 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17020 # Handling of the options.
17021 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17023 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17024 $as_echo "$ac_cs_version"; exit ;;
17025 --config | --confi | --conf | --con | --co | --c )
17026 $as_echo "$ac_cs_config"; exit ;;
17027 --debug | --debu | --deb | --de | --d | -d )
17029 --file | --fil | --fi | --f )
17032 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17034 as_fn_append CONFIG_FILES " '$ac_optarg'"
17035 ac_need_defaults=false;;
17036 --header | --heade | --head | --hea )
17039 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17041 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17042 ac_need_defaults=false;;
17044 # Conflict between --help and --header
17045 as_fn_error "ambiguous option: \`$1'
17046 Try \`$0 --help' for more information.";;
17047 --help | --hel | -h )
17048 $as_echo "$ac_cs_usage"; exit ;;
17049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17050 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17053 # This is an error.
17054 -*) as_fn_error "unrecognized option: \`$1'
17055 Try \`$0 --help' for more information." ;;
17057 *) as_fn_append ac_config_targets " $1"
17058 ac_need_defaults=false ;;
17064 ac_configure_extra_args=
17066 if $ac_cs_silent; then
17068 ac_configure_extra_args="$ac_configure_extra_args --silent"
17072 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17073 if \$ac_cs_recheck; then
17074 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17076 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17077 CONFIG_SHELL='$SHELL'
17078 export CONFIG_SHELL
17083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17087 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17088 ## Running $as_me. ##
17094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17100 # The HP-UX ksh and POSIX shell print the target directory to stdout
17101 # if CDPATH is set.
17102 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17104 sed_quote_subst='$sed_quote_subst'
17105 double_quote_subst='$double_quote_subst'
17106 delay_variable_subst='$delay_variable_subst'
17107 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17108 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17109 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17110 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17111 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17112 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17113 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17114 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17115 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17116 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17117 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17118 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17119 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17120 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17121 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17122 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17123 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17124 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17125 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17126 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17127 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17128 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17129 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17130 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17131 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17132 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17133 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17134 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17135 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17136 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17137 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17138 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17139 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17140 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17141 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17142 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17143 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17144 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17145 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17146 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17147 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17148 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17149 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17150 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17151 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"`'
17152 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"`'
17153 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17154 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17155 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17156 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17157 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17158 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17159 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17160 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17161 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17162 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17163 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17164 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17165 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17166 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17167 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17168 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17169 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17170 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17171 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17172 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17173 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17174 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17175 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17176 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17177 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17178 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17179 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17180 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17181 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17182 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17183 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17184 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17185 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17186 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17187 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17188 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17189 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17190 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17191 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17192 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17193 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17194 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17195 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17196 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17197 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17198 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17199 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17200 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17201 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17202 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17203 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17204 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17205 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17206 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17207 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17208 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17209 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17210 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17211 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17212 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17213 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17214 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17215 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17216 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17217 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17218 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17219 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17220 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17221 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17222 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17223 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17224 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17225 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17226 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17227 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17228 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17229 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17230 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17231 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17232 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17233 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17234 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17235 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17236 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17237 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17238 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17239 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17240 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17241 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17242 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17243 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17244 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17245 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17246 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17247 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17248 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17249 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17250 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17251 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17252 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17253 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17254 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17255 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17256 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17257 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17258 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17259 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17260 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17261 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17262 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17263 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17264 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17265 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17266 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17267 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17268 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17269 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17270 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17271 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17272 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17273 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17274 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17275 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17276 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17277 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17280 LTCFLAGS='$LTCFLAGS'
17281 compiler='$compiler_DEFAULT'
17283 # Quote evaled strings.
17295 deplibs_check_method \
17304 lt_cv_sys_global_symbol_pipe \
17305 lt_cv_sys_global_symbol_to_cdecl \
17306 lt_cv_sys_global_symbol_to_c_name_address \
17307 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17310 lt_prog_compiler_no_builtin_flag \
17311 lt_prog_compiler_wl \
17312 lt_prog_compiler_pic \
17313 lt_prog_compiler_static \
17314 lt_cv_prog_compiler_c_o \
17322 export_dynamic_flag_spec \
17323 whole_archive_flag_spec \
17324 compiler_needs_object \
17326 allow_undefined_flag \
17327 no_undefined_flag \
17328 hardcode_libdir_flag_spec \
17329 hardcode_libdir_flag_spec_ld \
17330 hardcode_libdir_separator \
17335 variables_saved_for_relink \
17337 library_names_spec \
17342 compiler_lib_search_dirs \
17347 compiler_lib_search_path \
17350 lt_prog_compiler_no_builtin_flag_CXX \
17351 lt_prog_compiler_wl_CXX \
17352 lt_prog_compiler_pic_CXX \
17353 lt_prog_compiler_static_CXX \
17354 lt_cv_prog_compiler_c_o_CXX \
17355 export_dynamic_flag_spec_CXX \
17356 whole_archive_flag_spec_CXX \
17357 compiler_needs_object_CXX \
17359 allow_undefined_flag_CXX \
17360 no_undefined_flag_CXX \
17361 hardcode_libdir_flag_spec_CXX \
17362 hardcode_libdir_flag_spec_ld_CXX \
17363 hardcode_libdir_separator_CXX \
17364 fix_srcfile_path_CXX \
17365 exclude_expsyms_CXX \
17366 include_expsyms_CXX \
17367 file_list_spec_CXX \
17368 compiler_lib_search_dirs_CXX \
17369 predep_objects_CXX \
17370 postdep_objects_CXX \
17373 compiler_lib_search_path_CXX; do
17374 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17375 *[\\\\\\\`\\"\\\$]*)
17376 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17379 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17384 # Double-quote double-evaled strings.
17385 for var in reload_cmds \
17386 old_postinstall_cmds \
17387 old_postuninstall_cmds \
17389 extract_expsyms_cmds \
17390 old_archive_from_new_cmds \
17391 old_archive_from_expsyms_cmds \
17393 archive_expsym_cmds \
17395 module_expsym_cmds \
17396 export_symbols_cmds \
17399 postuninstall_cmds \
17401 sys_lib_search_path_spec \
17402 sys_lib_dlsearch_path_spec \
17403 old_archive_cmds_CXX \
17404 old_archive_from_new_cmds_CXX \
17405 old_archive_from_expsyms_cmds_CXX \
17407 archive_expsym_cmds_CXX \
17409 module_expsym_cmds_CXX \
17410 export_symbols_cmds_CXX \
17411 prelink_cmds_CXX; do
17412 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17413 *[\\\\\\\`\\"\\\$]*)
17414 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17417 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17422 # Fix-up fallback echo if it was mangled by the above quoting rules.
17424 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17428 ac_aux_dir='$ac_aux_dir'
17429 xsi_shell='$xsi_shell'
17430 lt_shell_append='$lt_shell_append'
17432 # See if we are running on zsh, and set the options which allow our
17433 # commands through without removal of \ escapes INIT.
17434 if test -n "\${ZSH_VERSION+set}" ; then
17435 setopt NO_GLOB_SUBST
17441 TIMESTAMP='$TIMESTAMP'
17449 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17455 # Handling of arguments.
17456 for ac_config_target in $ac_config_targets
17458 case $ac_config_target in
17459 "config/config.h") CONFIG_HEADERS="$CONFIG_HEADERS config/config.h" ;;
17460 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17461 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17462 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17463 "dispatch/Makefile") CONFIG_FILES="$CONFIG_FILES dispatch/Makefile" ;;
17464 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
17465 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17466 "testing/Makefile") CONFIG_FILES="$CONFIG_FILES testing/Makefile" ;;
17468 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17473 # If the user did not use the arguments to specify the items to instantiate,
17474 # then the envvar interface is used. Set only those that are not.
17475 # We use the long form for the default assignment because of an extremely
17476 # bizarre bug on SunOS 4.1.3.
17477 if $ac_need_defaults; then
17478 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17479 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17480 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17483 # Have a temporary directory for convenience. Make it in the build tree
17484 # simply because there is no reason against having it here, and in addition,
17485 # creating and moving files from /tmp can sometimes cause problems.
17486 # Hook for its removal unless debugging.
17487 # Note that there is a small window in which the directory will not be cleaned:
17488 # after its creation but before its name has been assigned to `$tmp'.
17492 trap 'exit_status=$?
17493 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17495 trap 'as_fn_exit 1' 1 2 13 15
17497 # Create a (secure) tmp directory for tmp files.
17500 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17501 test -n "$tmp" && test -d "$tmp"
17504 tmp=./conf$$-$RANDOM
17505 (umask 077 && mkdir "$tmp")
17506 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
17508 # Set up the scripts for CONFIG_FILES section.
17509 # No need to generate them if there are no CONFIG_FILES.
17510 # This happens for instance with `./config.status config.h'.
17511 if test -n "$CONFIG_FILES"; then
17514 ac_cr=`echo X | tr X '\015'`
17515 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17516 # But we know of no other shell where ac_cr would be empty at this
17517 # point, so we can use a bashism as a fallback.
17518 if test "x$ac_cr" = x; then
17519 eval ac_cr=\$\'\\r\'
17521 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17522 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17525 ac_cs_awk_cr=$ac_cr
17528 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17533 echo "cat >conf$$subs.awk <<_ACEOF" &&
17534 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17536 } >conf$$subs.sh ||
17537 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17538 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17540 for ac_last_try in false false false false false :; do
17541 . ./conf$$subs.sh ||
17542 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17544 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17545 if test $ac_delim_n = $ac_delim_num; then
17547 elif $ac_last_try; then
17548 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17550 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17553 rm -f conf$$subs.sh
17555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17556 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17560 s/^/S["/; s/!.*/"]=/
17570 s/\(.\{148\}\)..*/\1/
17572 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17577 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17584 s/\(.\{148\}\)..*/\1/
17586 s/["\\]/\\&/g; s/^/"/; s/$/"/
17590 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17595 ' <conf$$subs.awk | sed '
17600 ' >>$CONFIG_STATUS || ac_write_fail=1
17601 rm -f conf$$subs.awk
17602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17604 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17605 for (key in S) S_is_set[key] = 1
17611 nfields = split(line, field, "@")
17613 len = length(field[1])
17614 for (i = 2; i < nfields; i++) {
17616 keylen = length(key)
17617 if (S_is_set[key]) {
17619 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17620 len += length(value) + length(field[++i])
17631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17632 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17633 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17636 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17637 || as_fn_error "could not setup config files machinery" "$LINENO" 5
17640 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17641 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17642 # trailing colons and then remove the whole line if VPATH becomes empty
17643 # (actually we leave an empty line to preserve line numbers).
17644 if test "x$srcdir" = x.; then
17645 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17646 s/:*\$(srcdir):*/:/
17647 s/:*\${srcdir}:*/:/
17649 s/^\([^=]*=[ ]*\):*/\1/
17655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17656 fi # test -n "$CONFIG_FILES"
17658 # Set up the scripts for CONFIG_HEADERS section.
17659 # No need to generate them if there are no CONFIG_HEADERS.
17660 # This happens for instance with `./config.status Makefile'.
17661 if test -n "$CONFIG_HEADERS"; then
17662 cat >"$tmp/defines.awk" <<\_ACAWK ||
17666 # Transform confdefs.h into an awk script `defines.awk', embedded as
17667 # here-document in config.status, that substitutes the proper values into
17668 # config.h.in to produce config.h.
17670 # Create a delimiter string that does not exist in confdefs.h, to ease
17671 # handling of long lines.
17673 for ac_last_try in false false :; do
17674 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17675 if test -z "$ac_t"; then
17677 elif $ac_last_try; then
17678 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
17680 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17684 # For the awk script, D is an array of macro values keyed by name,
17685 # likewise P contains macro parameters if any. Preserve backslash
17686 # newline sequences.
17688 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17690 s/.\{148\}/&'"$ac_delim"'/g
17693 s/^[ ]*#[ ]*define[ ][ ]*/ /
17700 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17702 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17706 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17707 D["\1"]=" \3\\\\\\n"\\/p
17709 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17714 s/.\{148\}/&'"$ac_delim"'/g
17719 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17722 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17724 ' <confdefs.h | sed '
17725 s/'"$ac_delim"'/"\\\
17726 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17729 for (key in D) D_is_set[key] = 1
17732 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17734 split(line, arg, " ")
17735 if (arg[1] == "#") {
17739 defundef = substr(arg[1], 2)
17742 split(mac1, mac2, "(") #)
17744 prefix = substr(line, 1, index(line, defundef) - 1)
17745 if (D_is_set[macro]) {
17746 # Preserve the white space surrounding the "#".
17747 print prefix "define", macro P[macro] D[macro]
17750 # Replace #undef with comments. This is necessary, for example,
17751 # in the case of _POSIX_SOURCE, which is predefined and required
17752 # on some systems where configure will not decide to define it.
17753 if (defundef == "undef") {
17754 print "/*", prefix defundef, macro, "*/"
17762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17763 as_fn_error "could not setup config headers machinery" "$LINENO" 5
17764 fi # test -n "$CONFIG_HEADERS"
17767 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17772 :[FHLC]) ac_mode=$ac_tag; continue;;
17774 case $ac_mode$ac_tag in
17776 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
17777 :[FH]-) ac_tag=-:-;;
17778 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17795 -) ac_f="$tmp/stdin";;
17796 *) # Look for the file first in the build tree, then in the source tree
17797 # (if the path is not absolute). The absolute path cannot be DOS-style,
17798 # because $ac_f cannot contain `:'.
17802 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17804 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17806 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17807 as_fn_append ac_file_inputs " '$ac_f'"
17810 # Let's still pretend it is `configure' which instantiates (i.e., don't
17811 # use $as_me), people would be surprised to read:
17812 # /* config.h. Generated by config.status. */
17813 configure_input='Generated from '`
17814 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17816 if test x"$ac_file" != x-; then
17817 configure_input="$ac_file. $configure_input"
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17819 $as_echo "$as_me: creating $ac_file" >&6;}
17821 # Neutralize special characters interpreted by sed in replacement strings.
17822 case $configure_input in #(
17823 *\&* | *\|* | *\\* )
17824 ac_sed_conf_input=`$as_echo "$configure_input" |
17825 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17826 *) ac_sed_conf_input=$configure_input;;
17830 *:-:* | *:-) cat >"$tmp/stdin" \
17831 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
17836 ac_dir=`$as_dirname -- "$ac_file" ||
17837 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17838 X"$ac_file" : 'X\(//\)[^/]' \| \
17839 X"$ac_file" : 'X\(//\)$' \| \
17840 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17841 $as_echo X"$ac_file" |
17842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17846 /^X\(\/\/\)[^/].*/{
17859 as_dir="$ac_dir"; as_fn_mkdir_p
17863 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17865 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17866 # A ".." for each directory in $ac_dir_suffix.
17867 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17868 case $ac_top_builddir_sub in
17869 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17870 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17873 ac_abs_top_builddir=$ac_pwd
17874 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17875 # for backward compatibility:
17876 ac_top_builddir=$ac_top_build_prefix
17879 .) # We are building in place.
17881 ac_top_srcdir=$ac_top_builddir_sub
17882 ac_abs_top_srcdir=$ac_pwd ;;
17883 [\\/]* | ?:[\\/]* ) # Absolute name.
17884 ac_srcdir=$srcdir$ac_dir_suffix;
17885 ac_top_srcdir=$srcdir
17886 ac_abs_top_srcdir=$srcdir ;;
17887 *) # Relative name.
17888 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17889 ac_top_srcdir=$ac_top_build_prefix$srcdir
17890 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17892 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17902 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17903 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17905 ac_MKDIR_P=$MKDIR_P
17907 [\\/$]* | ?:[\\/]* ) ;;
17908 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17913 # If the template does not know about datarootdir, expand it.
17914 # FIXME: This hack should be removed a few years after 2.60.
17915 ac_datarootdir_hack=; ac_datarootdir_seen=
17926 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17927 *datarootdir*) ac_datarootdir_seen=yes;;
17928 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17930 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17933 ac_datarootdir_hack='
17934 s&@datadir@&$datadir&g
17935 s&@docdir@&$docdir&g
17936 s&@infodir@&$infodir&g
17937 s&@localedir@&$localedir&g
17938 s&@mandir@&$mandir&g
17939 s&\\\${datarootdir}&$datarootdir&g' ;;
17943 # Neutralize VPATH when `$srcdir' = `.'.
17944 # Shell code in configure.ac might set extrasub.
17945 # FIXME: do we really want to maintain this feature?
17946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17947 ac_sed_extra="$ac_vpsub
17950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17952 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17953 s|@configure_input@|$ac_sed_conf_input|;t t
17954 s&@top_builddir@&$ac_top_builddir_sub&;t t
17955 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17956 s&@srcdir@&$ac_srcdir&;t t
17957 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17958 s&@top_srcdir@&$ac_top_srcdir&;t t
17959 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17960 s&@builddir@&$ac_builddir&;t t
17961 s&@abs_builddir@&$ac_abs_builddir&;t t
17962 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17963 s&@INSTALL@&$ac_INSTALL&;t t
17964 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17965 $ac_datarootdir_hack
17967 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17968 || as_fn_error "could not create $ac_file" "$LINENO" 5
17970 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17971 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17972 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17974 which seems to be undefined. Please make sure it is defined." >&5
17975 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17976 which seems to be undefined. Please make sure it is defined." >&2;}
17980 -) cat "$tmp/out" && rm -f "$tmp/out";;
17981 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17983 || as_fn_error "could not create $ac_file" "$LINENO" 5
17989 if test x"$ac_file" != x-; then
17991 $as_echo "/* $configure_input */" \
17992 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17993 } >"$tmp/config.h" \
17994 || as_fn_error "could not create $ac_file" "$LINENO" 5
17995 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17997 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18000 mv "$tmp/config.h" "$ac_file" \
18001 || as_fn_error "could not create $ac_file" "$LINENO" 5
18004 $as_echo "/* $configure_input */" \
18005 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18006 || as_fn_error "could not create -" "$LINENO" 5
18008 # Compute "$ac_file"'s index in $config_headers.
18011 for _am_header in $config_headers :; do
18012 case $_am_header in
18013 $_am_arg | $_am_arg:* )
18016 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18019 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18020 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18021 X"$_am_arg" : 'X\(//\)[^/]' \| \
18022 X"$_am_arg" : 'X\(//\)$' \| \
18023 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18024 $as_echo X"$_am_arg" |
18025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18029 /^X\(\/\/\)[^/].*/{
18041 s/.*/./; q'`/stamp-h$_am_stamp_count
18044 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18045 $as_echo "$as_me: executing $ac_file commands" >&6;}
18050 case $ac_file$ac_mode in
18053 # See if we are running on zsh, and set the options which allow our
18054 # commands through without removal of \ escapes.
18055 if test -n "${ZSH_VERSION+set}" ; then
18056 setopt NO_GLOB_SUBST
18059 cfgfile="${ofile}T"
18060 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18063 cat <<_LT_EOF >> "$cfgfile"
18066 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18067 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18068 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18069 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18071 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18072 # 2006, 2007, 2008 Free Software Foundation, Inc.
18073 # Written by Gordon Matzigkeit, 1996
18075 # This file is part of GNU Libtool.
18077 # GNU Libtool is free software; you can redistribute it and/or
18078 # modify it under the terms of the GNU General Public License as
18079 # published by the Free Software Foundation; either version 2 of
18080 # the License, or (at your option) any later version.
18082 # As a special exception to the GNU General Public License,
18083 # if you distribute this file as part of a program or library that
18084 # is built using GNU Libtool, you may include this file under the
18085 # same distribution terms that you use for the rest of that program.
18087 # GNU Libtool is distributed in the hope that it will be useful,
18088 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18089 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18090 # GNU General Public License for more details.
18092 # You should have received a copy of the GNU General Public License
18093 # along with GNU Libtool; see the file COPYING. If not, a copy
18094 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18095 # obtained by writing to the Free Software Foundation, Inc.,
18096 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18099 # The names of the tagged configurations supported by this script.
18100 available_tags="CXX "
18102 # ### BEGIN LIBTOOL CONFIG
18104 # Which release of libtool.m4 was used?
18105 macro_version=$macro_version
18106 macro_revision=$macro_revision
18108 # Whether or not to build shared libraries.
18109 build_libtool_libs=$enable_shared
18111 # Whether or not to build static libraries.
18112 build_old_libs=$enable_static
18114 # What type of objects to build.
18117 # Whether or not to optimize for fast installation.
18118 fast_install=$enable_fast_install
18121 host_alias=$host_alias
18125 # The build system.
18126 build_alias=$build_alias
18130 # A sed program that does not truncate output.
18133 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18134 Xsed="\$SED -e 1s/^X//"
18136 # A grep program that handles long lines.
18142 # A literal string matcher.
18145 # A BSD- or MS-compatible name lister.
18148 # Whether we need soft or hard links.
18151 # What is the maximum length of a command?
18152 max_cmd_len=$max_cmd_len
18154 # Object file suffix (normally "o").
18157 # Executable file suffix (normally "").
18160 # whether the shell understands "unset".
18163 # turn spaces into newlines.
18166 # turn newlines into spaces.
18169 # How to create reloadable object files.
18170 reload_flag=$lt_reload_flag
18171 reload_cmds=$lt_reload_cmds
18173 # An object symbol dumper.
18174 OBJDUMP=$lt_OBJDUMP
18176 # Method to check whether dependent libraries are shared objects.
18177 deplibs_check_method=$lt_deplibs_check_method
18179 # Command to use when deplibs_check_method == "file_magic".
18180 file_magic_cmd=$lt_file_magic_cmd
18184 AR_FLAGS=$lt_AR_FLAGS
18186 # A symbol stripping program.
18189 # Commands used to install an old-style archive.
18191 old_postinstall_cmds=$lt_old_postinstall_cmds
18192 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18197 # LTCC compiler flags.
18198 LTCFLAGS=$lt_CFLAGS
18200 # Take the output of nm and produce a listing of raw symbols and C names.
18201 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18203 # Transform the output of nm in a proper C declaration.
18204 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18206 # Transform the output of nm in a C name address pair.
18207 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18209 # Transform the output of nm in a C name address pair when lib prefix is needed.
18210 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18212 # The name of the directory that contains temporary libtool files.
18215 # Shell to use when invoking shell scripts.
18218 # An echo program that does not interpret backslashes.
18221 # Used to examine libraries when file_magic_cmd begins with "file".
18222 MAGIC_CMD=$MAGIC_CMD
18224 # Must we lock files when doing compilation?
18225 need_locks=$lt_need_locks
18227 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18228 DSYMUTIL=$lt_DSYMUTIL
18230 # Tool to change global to local symbols on Mac OS X.
18233 # Tool to manipulate fat objects and archives on Mac OS X.
18236 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18239 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18240 OTOOL64=$lt_OTOOL64
18242 # Old archive suffix (normally "a").
18245 # Shared library suffix (normally ".so").
18246 shrext_cmds=$lt_shrext_cmds
18248 # The commands to extract the exported symbol list from a shared archive.
18249 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18251 # Variables whose values should be saved in libtool wrapper scripts and
18252 # restored at link time.
18253 variables_saved_for_relink=$lt_variables_saved_for_relink
18255 # Do we need the "lib" prefix for modules?
18256 need_lib_prefix=$need_lib_prefix
18258 # Do we need a version for libraries?
18259 need_version=$need_version
18261 # Library versioning type.
18262 version_type=$version_type
18264 # Shared library runtime path variable.
18265 runpath_var=$runpath_var
18267 # Shared library path variable.
18268 shlibpath_var=$shlibpath_var
18270 # Is shlibpath searched before the hard-coded library search path?
18271 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18273 # Format of library name prefix.
18274 libname_spec=$lt_libname_spec
18276 # List of archive names. First name is the real one, the rest are links.
18277 # The last name is the one that the linker finds with -lNAME
18278 library_names_spec=$lt_library_names_spec
18280 # The coded name of the library, if different from the real name.
18281 soname_spec=$lt_soname_spec
18283 # Command to use after installation of a shared archive.
18284 postinstall_cmds=$lt_postinstall_cmds
18286 # Command to use after uninstallation of a shared archive.
18287 postuninstall_cmds=$lt_postuninstall_cmds
18289 # Commands used to finish a libtool library installation in a directory.
18290 finish_cmds=$lt_finish_cmds
18292 # As "finish_cmds", except a single script fragment to be evaled but
18294 finish_eval=$lt_finish_eval
18296 # Whether we should hardcode library paths into libraries.
18297 hardcode_into_libs=$hardcode_into_libs
18299 # Compile-time system search path for libraries.
18300 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18302 # Run-time system search path for libraries.
18303 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18305 # Whether dlopen is supported.
18306 dlopen_support=$enable_dlopen
18308 # Whether dlopen of programs is supported.
18309 dlopen_self=$enable_dlopen_self
18311 # Whether dlopen of statically linked programs is supported.
18312 dlopen_self_static=$enable_dlopen_self_static
18314 # Commands to strip libraries.
18315 old_striplib=$lt_old_striplib
18316 striplib=$lt_striplib
18319 # The linker used to build libraries.
18322 # Commands used to build an old-style archive.
18323 old_archive_cmds=$lt_old_archive_cmds
18325 # A language specific compiler.
18328 # Is the compiler the GNU compiler?
18331 # Compiler flag to turn off builtin functions.
18332 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18334 # How to pass a linker flag through the compiler.
18335 wl=$lt_lt_prog_compiler_wl
18337 # Additional compiler flags for building library objects.
18338 pic_flag=$lt_lt_prog_compiler_pic
18340 # Compiler flag to prevent dynamic linking.
18341 link_static_flag=$lt_lt_prog_compiler_static
18343 # Does compiler simultaneously support -c and -o options?
18344 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18346 # Whether or not to add -lc for building shared libraries.
18347 build_libtool_need_lc=$archive_cmds_need_lc
18349 # Whether or not to disallow shared libs when runtime libs are static.
18350 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18352 # Compiler flag to allow reflexive dlopens.
18353 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18355 # Compiler flag to generate shared objects directly from archives.
18356 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18358 # Whether the compiler copes with passing no objects directly.
18359 compiler_needs_object=$lt_compiler_needs_object
18361 # Create an old-style archive from a shared archive.
18362 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18364 # Create a temporary old-style archive to link instead of a shared archive.
18365 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18367 # Commands used to build a shared archive.
18368 archive_cmds=$lt_archive_cmds
18369 archive_expsym_cmds=$lt_archive_expsym_cmds
18371 # Commands used to build a loadable module if different from building
18372 # a shared archive.
18373 module_cmds=$lt_module_cmds
18374 module_expsym_cmds=$lt_module_expsym_cmds
18376 # Whether we are building with GNU ld or not.
18377 with_gnu_ld=$lt_with_gnu_ld
18379 # Flag that allows shared libraries with undefined symbols to be built.
18380 allow_undefined_flag=$lt_allow_undefined_flag
18382 # Flag that enforces no undefined symbols.
18383 no_undefined_flag=$lt_no_undefined_flag
18385 # Flag to hardcode \$libdir into a binary during linking.
18386 # This must work even if \$libdir does not exist
18387 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18389 # If ld is used when linking, flag to hardcode \$libdir into a binary
18390 # during linking. This must work even if \$libdir does not exist.
18391 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18393 # Whether we need a single "-rpath" flag with a separated argument.
18394 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18396 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18397 # DIR into the resulting binary.
18398 hardcode_direct=$hardcode_direct
18400 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18401 # DIR into the resulting binary and the resulting library dependency is
18402 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18403 # library is relocated.
18404 hardcode_direct_absolute=$hardcode_direct_absolute
18406 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18407 # into the resulting binary.
18408 hardcode_minus_L=$hardcode_minus_L
18410 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18411 # into the resulting binary.
18412 hardcode_shlibpath_var=$hardcode_shlibpath_var
18414 # Set to "yes" if building a shared library automatically hardcodes DIR
18415 # into the library and all subsequent libraries and executables linked
18417 hardcode_automatic=$hardcode_automatic
18419 # Set to yes if linker adds runtime paths of dependent libraries
18420 # to runtime path list.
18421 inherit_rpath=$inherit_rpath
18423 # Whether libtool must link a program against all its dependency libraries.
18424 link_all_deplibs=$link_all_deplibs
18426 # Fix the shell variable \$srcfile for the compiler.
18427 fix_srcfile_path=$lt_fix_srcfile_path
18429 # Set to "yes" if exported symbols are required.
18430 always_export_symbols=$always_export_symbols
18432 # The commands to list exported symbols.
18433 export_symbols_cmds=$lt_export_symbols_cmds
18435 # Symbols that should not be listed in the preloaded symbols.
18436 exclude_expsyms=$lt_exclude_expsyms
18438 # Symbols that must always be exported.
18439 include_expsyms=$lt_include_expsyms
18441 # Commands necessary for linking programs (against libraries) with templates.
18442 prelink_cmds=$lt_prelink_cmds
18444 # Specify filename containing input files.
18445 file_list_spec=$lt_file_list_spec
18447 # How to hardcode a shared library path into an executable.
18448 hardcode_action=$hardcode_action
18450 # The directories searched by this compiler when creating a shared library.
18451 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18453 # Dependencies to place before and after the objects being linked to
18454 # create a shared library.
18455 predep_objects=$lt_predep_objects
18456 postdep_objects=$lt_postdep_objects
18457 predeps=$lt_predeps
18458 postdeps=$lt_postdeps
18460 # The library search path used internally by the compiler when linking
18461 # a shared library.
18462 compiler_lib_search_path=$lt_compiler_lib_search_path
18464 # ### END LIBTOOL CONFIG
18470 cat <<\_LT_EOF >> "$cfgfile"
18471 # AIX sometimes has problems with the GCC collect2 program. For some
18472 # reason, if we set the COLLECT_NAMES environment variable, the problems
18473 # vanish in a puff of smoke.
18474 if test "X${COLLECT_NAMES+set}" != Xset; then
18476 export COLLECT_NAMES
18483 ltmain="$ac_aux_dir/ltmain.sh"
18486 # We use sed instead of cat because bash on DJGPP gets confused if
18487 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18488 # text mode, it properly converts lines to CR/LF. This bash problem
18489 # is reportedly fixed, but why not run on old versions too?
18490 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18491 || (rm -f "$cfgfile"; exit 1)
18495 cat << \_LT_EOF >> "$cfgfile"
18497 # func_dirname file append nondir_replacement
18498 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18499 # otherwise set result to NONDIR_REPLACEMENT.
18503 */*) func_dirname_result="${1%/*}${2}" ;;
18504 * ) func_dirname_result="${3}" ;;
18508 # func_basename file
18511 func_basename_result="${1##*/}"
18514 # func_dirname_and_basename file append nondir_replacement
18515 # perform func_basename and func_dirname in a single function
18517 # dirname: Compute the dirname of FILE. If nonempty,
18518 # add APPEND to the result, otherwise set result
18519 # to NONDIR_REPLACEMENT.
18520 # value returned in "$func_dirname_result"
18521 # basename: Compute filename of FILE.
18522 # value retuned in "$func_basename_result"
18523 # Implementation must be kept synchronized with func_dirname
18524 # and func_basename. For efficiency, we do not delegate to
18525 # those functions but instead duplicate the functionality here.
18526 func_dirname_and_basename ()
18529 */*) func_dirname_result="${1%/*}${2}" ;;
18530 * ) func_dirname_result="${3}" ;;
18532 func_basename_result="${1##*/}"
18535 # func_stripname prefix suffix name
18536 # strip PREFIX and SUFFIX off of NAME.
18537 # PREFIX and SUFFIX must not contain globbing or regex special
18538 # characters, hashes, percent signs, but SUFFIX may contain a leading
18539 # dot (in which case that matches only a dot).
18542 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18543 # positional parameters, so assign one to ordinary parameter first.
18544 func_stripname_result=${3}
18545 func_stripname_result=${func_stripname_result#"${1}"}
18546 func_stripname_result=${func_stripname_result%"${2}"}
18552 func_opt_split_opt=${1%%=*}
18553 func_opt_split_arg=${1#*=}
18560 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18561 *) func_lo2o_result=${1} ;;
18565 # func_xform libobj-or-source
18568 func_xform_result=${1%.*}.lo
18571 # func_arith arithmetic-term...
18574 func_arith_result=$(( $* ))
18578 # STRING may not start with a hyphen.
18581 func_len_result=${#1}
18586 *) # Bourne compatible functions.
18587 cat << \_LT_EOF >> "$cfgfile"
18589 # func_dirname file append nondir_replacement
18590 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18591 # otherwise set result to NONDIR_REPLACEMENT.
18594 # Extract subdirectory from the argument.
18595 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18596 if test "X$func_dirname_result" = "X${1}"; then
18597 func_dirname_result="${3}"
18599 func_dirname_result="$func_dirname_result${2}"
18603 # func_basename file
18606 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18610 # func_stripname prefix suffix name
18611 # strip PREFIX and SUFFIX off of NAME.
18612 # PREFIX and SUFFIX must not contain globbing or regex special
18613 # characters, hashes, percent signs, but SUFFIX may contain a leading
18614 # dot (in which case that matches only a dot).
18615 # func_strip_suffix prefix name
18619 .*) func_stripname_result=`$ECHO "X${3}" \
18620 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18621 *) func_stripname_result=`$ECHO "X${3}" \
18622 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18627 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18628 my_sed_long_arg='1s/^-[^=]*=//'
18633 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18634 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18640 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18643 # func_xform libobj-or-source
18646 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18649 # func_arith arithmetic-term...
18652 func_arith_result=`expr "$@"`
18656 # STRING may not start with a hyphen.
18659 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18665 case $lt_shell_append in
18667 cat << \_LT_EOF >> "$cfgfile"
18669 # func_append var value
18670 # Append VALUE to the end of shell variable VAR.
18678 cat << \_LT_EOF >> "$cfgfile"
18680 # func_append var value
18681 # Append VALUE to the end of shell variable VAR.
18692 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18693 || (rm -f "$cfgfile"; exit 1)
18695 mv -f "$cfgfile" "$ofile" ||
18696 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18700 cat <<_LT_EOF >> "$ofile"
18702 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18704 # The linker used to build libraries.
18707 # Commands used to build an old-style archive.
18708 old_archive_cmds=$lt_old_archive_cmds_CXX
18710 # A language specific compiler.
18711 CC=$lt_compiler_CXX
18713 # Is the compiler the GNU compiler?
18716 # Compiler flag to turn off builtin functions.
18717 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18719 # How to pass a linker flag through the compiler.
18720 wl=$lt_lt_prog_compiler_wl_CXX
18722 # Additional compiler flags for building library objects.
18723 pic_flag=$lt_lt_prog_compiler_pic_CXX
18725 # Compiler flag to prevent dynamic linking.
18726 link_static_flag=$lt_lt_prog_compiler_static_CXX
18728 # Does compiler simultaneously support -c and -o options?
18729 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18731 # Whether or not to add -lc for building shared libraries.
18732 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18734 # Whether or not to disallow shared libs when runtime libs are static.
18735 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18737 # Compiler flag to allow reflexive dlopens.
18738 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18740 # Compiler flag to generate shared objects directly from archives.
18741 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18743 # Whether the compiler copes with passing no objects directly.
18744 compiler_needs_object=$lt_compiler_needs_object_CXX
18746 # Create an old-style archive from a shared archive.
18747 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18749 # Create a temporary old-style archive to link instead of a shared archive.
18750 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18752 # Commands used to build a shared archive.
18753 archive_cmds=$lt_archive_cmds_CXX
18754 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18756 # Commands used to build a loadable module if different from building
18757 # a shared archive.
18758 module_cmds=$lt_module_cmds_CXX
18759 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18761 # Whether we are building with GNU ld or not.
18762 with_gnu_ld=$lt_with_gnu_ld_CXX
18764 # Flag that allows shared libraries with undefined symbols to be built.
18765 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18767 # Flag that enforces no undefined symbols.
18768 no_undefined_flag=$lt_no_undefined_flag_CXX
18770 # Flag to hardcode \$libdir into a binary during linking.
18771 # This must work even if \$libdir does not exist
18772 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18774 # If ld is used when linking, flag to hardcode \$libdir into a binary
18775 # during linking. This must work even if \$libdir does not exist.
18776 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18778 # Whether we need a single "-rpath" flag with a separated argument.
18779 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18781 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18782 # DIR into the resulting binary.
18783 hardcode_direct=$hardcode_direct_CXX
18785 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18786 # DIR into the resulting binary and the resulting library dependency is
18787 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18788 # library is relocated.
18789 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18791 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18792 # into the resulting binary.
18793 hardcode_minus_L=$hardcode_minus_L_CXX
18795 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18796 # into the resulting binary.
18797 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18799 # Set to "yes" if building a shared library automatically hardcodes DIR
18800 # into the library and all subsequent libraries and executables linked
18802 hardcode_automatic=$hardcode_automatic_CXX
18804 # Set to yes if linker adds runtime paths of dependent libraries
18805 # to runtime path list.
18806 inherit_rpath=$inherit_rpath_CXX
18808 # Whether libtool must link a program against all its dependency libraries.
18809 link_all_deplibs=$link_all_deplibs_CXX
18811 # Fix the shell variable \$srcfile for the compiler.
18812 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18814 # Set to "yes" if exported symbols are required.
18815 always_export_symbols=$always_export_symbols_CXX
18817 # The commands to list exported symbols.
18818 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18820 # Symbols that should not be listed in the preloaded symbols.
18821 exclude_expsyms=$lt_exclude_expsyms_CXX
18823 # Symbols that must always be exported.
18824 include_expsyms=$lt_include_expsyms_CXX
18826 # Commands necessary for linking programs (against libraries) with templates.
18827 prelink_cmds=$lt_prelink_cmds_CXX
18829 # Specify filename containing input files.
18830 file_list_spec=$lt_file_list_spec_CXX
18832 # How to hardcode a shared library path into an executable.
18833 hardcode_action=$hardcode_action_CXX
18835 # The directories searched by this compiler when creating a shared library.
18836 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18838 # Dependencies to place before and after the objects being linked to
18839 # create a shared library.
18840 predep_objects=$lt_predep_objects_CXX
18841 postdep_objects=$lt_postdep_objects_CXX
18842 predeps=$lt_predeps_CXX
18843 postdeps=$lt_postdeps_CXX
18845 # The library search path used internally by the compiler when linking
18846 # a shared library.
18847 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18849 # ### END LIBTOOL TAG CONFIG: CXX
18853 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18854 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18855 # are listed without --file. Let's play safe and only enable the eval
18856 # if we detect the quoting.
18857 case $CONFIG_FILES in
18858 *\'*) eval set x "$CONFIG_FILES" ;;
18859 *) set x $CONFIG_FILES ;;
18864 # Strip MF so we end up with the name of the file.
18865 mf=`echo "$mf" | sed -e 's/:.*$//'`
18866 # Check whether this is an Automake generated Makefile or not.
18867 # We used to match only the files named `Makefile.in', but
18868 # some people rename them; so instead we look at the file content.
18869 # Grep'ing the first line is not enough: some people post-process
18870 # each Makefile.in and add a new line on top of each file to say so.
18871 # Grep'ing the whole file is not good either: AIX grep has a line
18872 # limit of 2048, but all sed's we know have understand at least 4000.
18873 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18874 dirpart=`$as_dirname -- "$mf" ||
18875 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18876 X"$mf" : 'X\(//\)[^/]' \| \
18877 X"$mf" : 'X\(//\)$' \| \
18878 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18884 /^X\(\/\/\)[^/].*/{
18900 # Extract the definition of DEPDIR, am__include, and am__quote
18901 # from the Makefile without running `make'.
18902 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18903 test -z "$DEPDIR" && continue
18904 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18905 test -z "am__include" && continue
18906 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18907 # When using ansi2knr, U may be empty or an underscore; expand it
18908 U=`sed -n 's/^U = //p' < "$mf"`
18909 # Find all dependency output files, they are included files with
18910 # $(DEPDIR) in their names. We invoke sed twice because it is the
18911 # simplest approach to changing $(DEPDIR) to its actual value in the
18913 for file in `sed -n "
18914 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18915 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18916 # Make sure the directory exists.
18917 test -f "$dirpart/$file" && continue
18918 fdir=`$as_dirname -- "$file" ||
18919 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18920 X"$file" : 'X\(//\)[^/]' \| \
18921 X"$file" : 'X\(//\)$' \| \
18922 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18923 $as_echo X"$file" |
18924 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18928 /^X\(\/\/\)[^/].*/{
18941 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18942 # echo "creating $dirpart/$file"
18943 echo '# dummy' > "$dirpart/$file"
18955 ac_clean_files=$ac_clean_files_save
18957 test $ac_write_fail = 0 ||
18958 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
18961 # configure is writing to config.log, and then calls config.status.
18962 # config.status does its own redirection, appending to config.log.
18963 # Unfortunately, on DOS this fails, as config.log is still kept open
18964 # by configure, so config.status won't be able to write to it; its
18965 # output is simply discarded. So we exec the FD to /dev/null,
18966 # effectively closing config.log, so it can be properly (re)opened and
18967 # appended to by config.status. When coming back to configure, we
18968 # need to make the FD available again.
18969 if test "$no_create" != yes; then
18971 ac_config_status_args=
18972 test "$silent" = yes &&
18973 ac_config_status_args="$ac_config_status_args --quiet"
18975 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18977 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18978 # would make configure fail if this is the last instruction.
18979 $ac_cs_success || as_fn_exit $?
18981 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18983 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}