2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libsigc++ 2.4.1.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" || exec 7<&0 </dev/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix=/usr/local
584 ac_config_libobj_dir=.
591 # Identity of this package.
592 PACKAGE_NAME='libsigc++'
593 PACKAGE_TARNAME='libsigc++'
594 PACKAGE_VERSION='2.4.1'
595 PACKAGE_STRING='libsigc++ 2.4.1'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B'
597 PACKAGE_URL='http://libsigc.sourceforge.net/'
599 ac_unique_file="sigc++/sigc++.h"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 ac_subst_vars='am__EXEEXT_FALSE
640 DISABLE_DEPRECATED_API_FALSE
641 DISABLE_DEPRECATED_API_TRUE
648 ENABLE_DOCUMENTATION_FALSE
649 ENABLE_DOCUMENTATION_TRUE
721 MAINTAINER_MODE_FALSE
735 INSTALL_STRIP_PROGRAM
777 program_transform_name
790 enable_option_checking
792 enable_maintainer_mode
793 enable_dependency_tracking
804 enable_deprecated_api
806 ac_precious_vars='build_alias
830 # Initialize some variables set by options.
832 ac_init_version=false
833 ac_unrecognized_opts=
835 # The variables have the same names as the options, with
836 # dashes changed to underlines.
844 program_transform_name=s,x,x,
852 # Installation directory options.
853 # These are left unexpanded so users can "make install exec_prefix=/foo"
854 # and all the variables that are supposed to be based on exec_prefix
855 # by default will actually change.
856 # Use braces instead of parens because sh, perl, etc. also accept them.
857 # (The list follows the same order as the GNU Coding Standards.)
858 bindir='${exec_prefix}/bin'
859 sbindir='${exec_prefix}/sbin'
860 libexecdir='${exec_prefix}/libexec'
861 datarootdir='${prefix}/share'
862 datadir='${datarootdir}'
863 sysconfdir='${prefix}/etc'
864 sharedstatedir='${prefix}/com'
865 localstatedir='${prefix}/var'
866 includedir='${prefix}/include'
867 oldincludedir='/usr/include'
868 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
869 infodir='${datarootdir}/info'
874 libdir='${exec_prefix}/lib'
875 localedir='${datarootdir}/locale'
876 mandir='${datarootdir}/man'
882 # If the previous option needs an argument, assign it.
883 if test -n "$ac_prev"; then
884 eval $ac_prev=\$ac_option
890 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
895 # Accept the important Cygnus configure options, so we can diagnose typos.
897 case $ac_dashdash$ac_option in
901 -bindir | --bindir | --bindi | --bind | --bin | --bi)
903 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
906 -build | --build | --buil | --bui | --bu)
907 ac_prev=build_alias ;;
908 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
909 build_alias=$ac_optarg ;;
911 -cache-file | --cache-file | --cache-fil | --cache-fi \
912 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
913 ac_prev=cache_file ;;
914 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
915 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
916 cache_file=$ac_optarg ;;
919 cache_file=config.cache ;;
921 -datadir | --datadir | --datadi | --datad)
923 -datadir=* | --datadir=* | --datadi=* | --datad=*)
924 datadir=$ac_optarg ;;
926 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
927 | --dataroo | --dataro | --datar)
928 ac_prev=datarootdir ;;
929 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
930 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
931 datarootdir=$ac_optarg ;;
933 -disable-* | --disable-*)
934 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
935 # Reject names that are not valid shell variable names.
936 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
937 as_fn_error $? "invalid feature name: $ac_useropt"
938 ac_useropt_orig=$ac_useropt
939 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
940 case $ac_user_opts in
944 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
945 ac_unrecognized_sep=', ';;
947 eval enable_$ac_useropt=no ;;
949 -docdir | --docdir | --docdi | --doc | --do)
951 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
954 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
956 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
959 -enable-* | --enable-*)
960 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
961 # Reject names that are not valid shell variable names.
962 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
963 as_fn_error $? "invalid feature name: $ac_useropt"
964 ac_useropt_orig=$ac_useropt
965 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
966 case $ac_user_opts in
970 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
971 ac_unrecognized_sep=', ';;
973 eval enable_$ac_useropt=\$ac_optarg ;;
975 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
976 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
977 | --exec | --exe | --ex)
978 ac_prev=exec_prefix ;;
979 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
980 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
981 | --exec=* | --exe=* | --ex=*)
982 exec_prefix=$ac_optarg ;;
984 -gas | --gas | --ga | --g)
985 # Obsolete; use --with-gas.
988 -help | --help | --hel | --he | -h)
990 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
991 ac_init_help=recursive ;;
992 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
993 ac_init_help=short ;;
995 -host | --host | --hos | --ho)
996 ac_prev=host_alias ;;
997 -host=* | --host=* | --hos=* | --ho=*)
998 host_alias=$ac_optarg ;;
1000 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1002 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1004 htmldir=$ac_optarg ;;
1006 -includedir | --includedir | --includedi | --included | --include \
1007 | --includ | --inclu | --incl | --inc)
1008 ac_prev=includedir ;;
1009 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1010 | --includ=* | --inclu=* | --incl=* | --inc=*)
1011 includedir=$ac_optarg ;;
1013 -infodir | --infodir | --infodi | --infod | --info | --inf)
1015 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1016 infodir=$ac_optarg ;;
1018 -libdir | --libdir | --libdi | --libd)
1020 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1021 libdir=$ac_optarg ;;
1023 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1024 | --libexe | --libex | --libe)
1025 ac_prev=libexecdir ;;
1026 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1027 | --libexe=* | --libex=* | --libe=*)
1028 libexecdir=$ac_optarg ;;
1030 -localedir | --localedir | --localedi | --localed | --locale)
1031 ac_prev=localedir ;;
1032 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1033 localedir=$ac_optarg ;;
1035 -localstatedir | --localstatedir | --localstatedi | --localstated \
1036 | --localstate | --localstat | --localsta | --localst | --locals)
1037 ac_prev=localstatedir ;;
1038 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1039 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1040 localstatedir=$ac_optarg ;;
1042 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1044 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1045 mandir=$ac_optarg ;;
1047 -nfp | --nfp | --nf)
1048 # Obsolete; use --without-fp.
1051 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1052 | --no-cr | --no-c | -n)
1055 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1056 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1059 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1060 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1061 | --oldin | --oldi | --old | --ol | --o)
1062 ac_prev=oldincludedir ;;
1063 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1064 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1065 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1066 oldincludedir=$ac_optarg ;;
1068 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1070 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1071 prefix=$ac_optarg ;;
1073 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1074 | --program-pre | --program-pr | --program-p)
1075 ac_prev=program_prefix ;;
1076 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1077 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1078 program_prefix=$ac_optarg ;;
1080 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1081 | --program-suf | --program-su | --program-s)
1082 ac_prev=program_suffix ;;
1083 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1084 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1085 program_suffix=$ac_optarg ;;
1087 -program-transform-name | --program-transform-name \
1088 | --program-transform-nam | --program-transform-na \
1089 | --program-transform-n | --program-transform- \
1090 | --program-transform | --program-transfor \
1091 | --program-transfo | --program-transf \
1092 | --program-trans | --program-tran \
1093 | --progr-tra | --program-tr | --program-t)
1094 ac_prev=program_transform_name ;;
1095 -program-transform-name=* | --program-transform-name=* \
1096 | --program-transform-nam=* | --program-transform-na=* \
1097 | --program-transform-n=* | --program-transform-=* \
1098 | --program-transform=* | --program-transfor=* \
1099 | --program-transfo=* | --program-transf=* \
1100 | --program-trans=* | --program-tran=* \
1101 | --progr-tra=* | --program-tr=* | --program-t=*)
1102 program_transform_name=$ac_optarg ;;
1104 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1106 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1107 pdfdir=$ac_optarg ;;
1109 -psdir | --psdir | --psdi | --psd | --ps)
1111 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1114 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1115 | -silent | --silent | --silen | --sile | --sil)
1118 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1120 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1122 sbindir=$ac_optarg ;;
1124 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1125 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1126 | --sharedst | --shareds | --shared | --share | --shar \
1128 ac_prev=sharedstatedir ;;
1129 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1130 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1131 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1133 sharedstatedir=$ac_optarg ;;
1135 -site | --site | --sit)
1137 -site=* | --site=* | --sit=*)
1140 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1142 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1143 srcdir=$ac_optarg ;;
1145 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1146 | --syscon | --sysco | --sysc | --sys | --sy)
1147 ac_prev=sysconfdir ;;
1148 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1149 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1150 sysconfdir=$ac_optarg ;;
1152 -target | --target | --targe | --targ | --tar | --ta | --t)
1153 ac_prev=target_alias ;;
1154 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1155 target_alias=$ac_optarg ;;
1157 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1160 -version | --version | --versio | --versi | --vers | -V)
1161 ac_init_version=: ;;
1164 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1165 # Reject names that are not valid shell variable names.
1166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1167 as_fn_error $? "invalid package name: $ac_useropt"
1168 ac_useropt_orig=$ac_useropt
1169 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1170 case $ac_user_opts in
1174 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1175 ac_unrecognized_sep=', ';;
1177 eval with_$ac_useropt=\$ac_optarg ;;
1179 -without-* | --without-*)
1180 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1183 as_fn_error $? "invalid package name: $ac_useropt"
1184 ac_useropt_orig=$ac_useropt
1185 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in
1190 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1191 ac_unrecognized_sep=', ';;
1193 eval with_$ac_useropt=no ;;
1196 # Obsolete; use --with-x.
1199 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1200 | --x-incl | --x-inc | --x-in | --x-i)
1201 ac_prev=x_includes ;;
1202 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1203 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1204 x_includes=$ac_optarg ;;
1206 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1207 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1208 ac_prev=x_libraries ;;
1209 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1210 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1211 x_libraries=$ac_optarg ;;
1213 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1214 Try \`$0 --help' for more information"
1218 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1219 # Reject names that are not valid shell variable names.
1220 case $ac_envvar in #(
1221 '' | [0-9]* | *[!_$as_cr_alnum]* )
1222 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1224 eval $ac_envvar=\$ac_optarg
1225 export $ac_envvar ;;
1228 # FIXME: should be removed in autoconf 3.0.
1229 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1230 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1231 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1232 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1238 if test -n "$ac_prev"; then
1239 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1240 as_fn_error $? "missing argument to $ac_option"
1243 if test -n "$ac_unrecognized_opts"; then
1244 case $enable_option_checking in
1246 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1247 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1251 # Check all directory arguments for consistency.
1252 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1253 datadir sysconfdir sharedstatedir localstatedir includedir \
1254 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1255 libdir localedir mandir
1257 eval ac_val=\$$ac_var
1258 # Remove trailing slashes.
1261 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1262 eval $ac_var=\$ac_val;;
1264 # Be sure to have absolute directory names.
1266 [\\/$]* | ?:[\\/]* ) continue;;
1267 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1269 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1272 # There might be people who depend on the old broken behavior: `$host'
1273 # used to hold the argument of --host etc.
1274 # FIXME: To remove some day.
1277 target=$target_alias
1279 # FIXME: To remove some day.
1280 if test "x$host_alias" != x; then
1281 if test "x$build_alias" = x; then
1282 cross_compiling=maybe
1283 elif test "x$build_alias" != "x$host_alias"; then
1289 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1291 test "$silent" = yes && exec 6>/dev/null
1294 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1295 ac_ls_di=`ls -di .` &&
1296 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1297 as_fn_error $? "working directory cannot be determined"
1298 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1299 as_fn_error $? "pwd does not report name of working directory"
1302 # Find the source files, if location was not specified.
1303 if test -z "$srcdir"; then
1304 ac_srcdir_defaulted=yes
1305 # Try the directory containing this script, then the parent directory.
1306 ac_confdir=`$as_dirname -- "$as_myself" ||
1307 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1308 X"$as_myself" : 'X\(//\)[^/]' \| \
1309 X"$as_myself" : 'X\(//\)$' \| \
1310 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1311 $as_echo X"$as_myself" |
1312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1330 if test ! -r "$srcdir/$ac_unique_file"; then
1334 ac_srcdir_defaulted=no
1336 if test ! -r "$srcdir/$ac_unique_file"; then
1337 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1338 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1340 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1342 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1344 # When building in place, set srcdir=.
1345 if test "$ac_abs_confdir" = "$ac_pwd"; then
1348 # Remove unnecessary trailing slashes from srcdir.
1349 # Double slashes in file names in object file debugging info
1350 # mess up M-x gdb in Emacs.
1352 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1354 for ac_var in $ac_precious_vars; do
1355 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1356 eval ac_env_${ac_var}_value=\$${ac_var}
1357 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1358 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1362 # Report the --help message.
1364 if test "$ac_init_help" = "long"; then
1365 # Omit some internal or obsolete options to make the list less imposing.
1366 # This message is too long to be a string in the A/UX 3.1 sh.
1368 \`configure' configures libsigc++ 2.4.1 to adapt to many kinds of systems.
1370 Usage: $0 [OPTION]... [VAR=VALUE]...
1372 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1373 VAR=VALUE. See below for descriptions of some of the useful variables.
1375 Defaults for the options are specified in brackets.
1378 -h, --help display this help and exit
1379 --help=short display options specific to this package
1380 --help=recursive display the short help of all the included packages
1381 -V, --version display version information and exit
1382 -q, --quiet, --silent do not print \`checking ...' messages
1383 --cache-file=FILE cache test results in FILE [disabled]
1384 -C, --config-cache alias for \`--cache-file=config.cache'
1385 -n, --no-create do not create output files
1386 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1388 Installation directories:
1389 --prefix=PREFIX install architecture-independent files in PREFIX
1390 [$ac_default_prefix]
1391 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1394 By default, \`make install' will install all the files in
1395 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1396 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1397 for instance \`--prefix=\$HOME'.
1399 For better control, use the options below.
1401 Fine tuning of the installation directories:
1402 --bindir=DIR user executables [EPREFIX/bin]
1403 --sbindir=DIR system admin executables [EPREFIX/sbin]
1404 --libexecdir=DIR program executables [EPREFIX/libexec]
1405 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1406 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1407 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1408 --libdir=DIR object code libraries [EPREFIX/lib]
1409 --includedir=DIR C header files [PREFIX/include]
1410 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1411 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1412 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1413 --infodir=DIR info documentation [DATAROOTDIR/info]
1414 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1415 --mandir=DIR man documentation [DATAROOTDIR/man]
1416 --docdir=DIR documentation root [DATAROOTDIR/doc/libsigc++]
1417 --htmldir=DIR html documentation [DOCDIR]
1418 --dvidir=DIR dvi documentation [DOCDIR]
1419 --pdfdir=DIR pdf documentation [DOCDIR]
1420 --psdir=DIR ps documentation [DOCDIR]
1426 --program-prefix=PREFIX prepend PREFIX to installed program names
1427 --program-suffix=SUFFIX append SUFFIX to installed program names
1428 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1431 --build=BUILD configure for building on BUILD [guessed]
1432 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1436 if test -n "$ac_init_help"; then
1437 case $ac_init_help in
1438 short | recursive ) echo "Configuration of libsigc++ 2.4.1:";;
1443 --disable-option-checking ignore unrecognized --enable/--with options
1444 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1445 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1446 --enable-silent-rules less verbose build output (undo: "make V=1")
1447 --disable-silent-rules verbose build output (undo: "make V=0")
1448 --enable-maintainer-mode
1449 enable make rules and dependencies not useful (and
1450 sometimes confusing) to the casual installer
1451 --enable-dependency-tracking
1452 do not reject slow dependency extractors
1453 --disable-dependency-tracking
1454 speeds up one-time build
1455 --enable-static[=PKGS] build static libraries [default=no]
1456 --enable-shared[=PKGS] build shared libraries [default=yes]
1457 --enable-fast-install[=PKGS]
1458 optimize for fast installation [default=yes]
1459 --disable-libtool-lock avoid locking (might break parallel builds)
1460 --disable-documentation do not build or install the documentation
1461 --enable-warnings[=min|max|fatal|no]
1462 set compiler pedantry level [default=min]
1463 --disable-deprecated-api
1464 omit deprecated API from the library
1467 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1468 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1469 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1471 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1472 --with-sysroot=DIR Search for dependent libraries within DIR
1473 (or the compiler's sysroot if not specified).
1474 --with-libstdc-doc=[TAGFILE@]HTMLREFDIR
1475 Link to external libstdc documentation [auto]
1477 Some influential environment variables:
1479 aclocal flags, e.g. -I <macro dir>
1480 CXX C++ compiler command
1481 CXXFLAGS C++ compiler flags
1482 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1483 nonstandard directory <lib dir>
1484 LIBS libraries to pass to the linker, e.g. -l<library>
1485 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1486 you have headers in a nonstandard directory <include dir>
1487 CC C compiler command
1488 CFLAGS C compiler flags
1490 CXXCPP C++ preprocessor
1491 M4 M4 macro processor command
1492 PERL path to Perl interpreter
1493 DOT path to dot utility
1494 DOXYGEN path to Doxygen utility
1495 XSLTPROC path to xsltproc utility
1496 PKG_CONFIG path to pkg-config utility
1498 directories to add to pkg-config's search path
1500 path overriding pkg-config's built-in search path
1502 Use these variables to override the choices made by `configure' or to help
1503 it to find libraries and programs with nonstandard names/locations.
1505 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B>.
1506 libsigc++ home page: <http://libsigc.sourceforge.net/>.
1511 if test "$ac_init_help" = "recursive"; then
1512 # If there are subdirs, report their specific --help.
1513 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1514 test -d "$ac_dir" ||
1515 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1522 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1523 # A ".." for each directory in $ac_dir_suffix.
1524 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1525 case $ac_top_builddir_sub in
1526 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1530 ac_abs_top_builddir=$ac_pwd
1531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1532 # for backward compatibility:
1533 ac_top_builddir=$ac_top_build_prefix
1536 .) # We are building in place.
1538 ac_top_srcdir=$ac_top_builddir_sub
1539 ac_abs_top_srcdir=$ac_pwd ;;
1540 [\\/]* | ?:[\\/]* ) # Absolute name.
1541 ac_srcdir=$srcdir$ac_dir_suffix;
1542 ac_top_srcdir=$srcdir
1543 ac_abs_top_srcdir=$srcdir ;;
1545 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1546 ac_top_srcdir=$ac_top_build_prefix$srcdir
1547 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1551 cd "$ac_dir" || { ac_status=$?; continue; }
1552 # Check for guested configure.
1553 if test -f "$ac_srcdir/configure.gnu"; then
1555 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1556 elif test -f "$ac_srcdir/configure"; then
1558 $SHELL "$ac_srcdir/configure" --help=recursive
1560 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1562 cd "$ac_pwd" || { ac_status=$?; break; }
1566 test -n "$ac_init_help" && exit $ac_status
1567 if $ac_init_version; then
1569 libsigc++ configure 2.4.1
1570 generated by GNU Autoconf 2.69
1572 Copyright (C) 2012 Free Software Foundation, Inc.
1573 This configure script is free software; the Free Software Foundation
1574 gives unlimited permission to copy, distribute and modify it.
1579 ## ------------------------ ##
1580 ## Autoconf initialization. ##
1581 ## ------------------------ ##
1583 # ac_fn_cxx_try_compile LINENO
1584 # ----------------------------
1585 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1586 ac_fn_cxx_try_compile ()
1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589 rm -f conftest.$ac_objext
1590 if { { ac_try="$ac_compile"
1592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1593 *) ac_try_echo=$ac_try;;
1595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596 $as_echo "$ac_try_echo"; } >&5
1597 (eval "$ac_compile") 2>conftest.err
1599 if test -s conftest.err; then
1600 grep -v '^ *+' conftest.err >conftest.er1
1601 cat conftest.er1 >&5
1602 mv -f conftest.er1 conftest.err
1604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1605 test $ac_status = 0; } && {
1606 test -z "$ac_cxx_werror_flag" ||
1607 test ! -s conftest.err
1608 } && test -s conftest.$ac_objext; then :
1611 $as_echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.$ac_ext >&5
1616 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617 as_fn_set_status $ac_retval
1619 } # ac_fn_cxx_try_compile
1621 # ac_fn_c_try_compile LINENO
1622 # --------------------------
1623 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1624 ac_fn_c_try_compile ()
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 rm -f conftest.$ac_objext
1628 if { { ac_try="$ac_compile"
1630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1631 *) ac_try_echo=$ac_try;;
1633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1634 $as_echo "$ac_try_echo"; } >&5
1635 (eval "$ac_compile") 2>conftest.err
1637 if test -s conftest.err; then
1638 grep -v '^ *+' conftest.err >conftest.er1
1639 cat conftest.er1 >&5
1640 mv -f conftest.er1 conftest.err
1642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1643 test $ac_status = 0; } && {
1644 test -z "$ac_c_werror_flag" ||
1645 test ! -s conftest.err
1646 } && test -s conftest.$ac_objext; then :
1649 $as_echo "$as_me: failed program was:" >&5
1650 sed 's/^/| /' conftest.$ac_ext >&5
1654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1655 as_fn_set_status $ac_retval
1657 } # ac_fn_c_try_compile
1659 # ac_fn_c_try_link LINENO
1660 # -----------------------
1661 # Try to link conftest.$ac_ext, and return whether this succeeded.
1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665 rm -f conftest.$ac_objext conftest$ac_exeext
1666 if { { ac_try="$ac_link"
1668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1669 *) ac_try_echo=$ac_try;;
1671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672 $as_echo "$ac_try_echo"; } >&5
1673 (eval "$ac_link") 2>conftest.err
1675 if test -s conftest.err; then
1676 grep -v '^ *+' conftest.err >conftest.er1
1677 cat conftest.er1 >&5
1678 mv -f conftest.er1 conftest.err
1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681 test $ac_status = 0; } && {
1682 test -z "$ac_c_werror_flag" ||
1683 test ! -s conftest.err
1684 } && test -s conftest$ac_exeext && {
1685 test "$cross_compiling" = yes ||
1686 test -x conftest$ac_exeext
1690 $as_echo "$as_me: failed program was:" >&5
1691 sed 's/^/| /' conftest.$ac_ext >&5
1695 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1696 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1697 # interfere with the next link command; also delete a directory that is
1698 # left behind by Apple's compiler. We do this before executing the actions.
1699 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701 as_fn_set_status $ac_retval
1703 } # ac_fn_c_try_link
1705 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1706 # -------------------------------------------------------
1707 # Tests whether HEADER exists and can be compiled using the include files in
1708 # INCLUDES, setting the cache variable VAR accordingly.
1709 ac_fn_c_check_header_compile ()
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1713 $as_echo_n "checking for $2... " >&6; }
1714 if eval \${$3+:} false; then :
1715 $as_echo_n "(cached) " >&6
1717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1718 /* end confdefs.h. */
1722 if ac_fn_c_try_compile "$LINENO"; then :
1727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1731 $as_echo "$ac_res" >&6; }
1732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1734 } # ac_fn_c_check_header_compile
1736 # ac_fn_c_try_cpp LINENO
1737 # ----------------------
1738 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 if { { ac_try="$ac_cpp conftest.$ac_ext"
1744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1745 *) ac_try_echo=$ac_try;;
1747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1748 $as_echo "$ac_try_echo"; } >&5
1749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1751 if test -s conftest.err; then
1752 grep -v '^ *+' conftest.err >conftest.er1
1753 cat conftest.er1 >&5
1754 mv -f conftest.er1 conftest.err
1756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757 test $ac_status = 0; } > conftest.i && {
1758 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1759 test ! -s conftest.err
1763 $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.$ac_ext >&5
1768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769 as_fn_set_status $ac_retval
1773 # ac_fn_c_try_run LINENO
1774 # ----------------------
1775 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1776 # that executables *can* be run.
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 if { { ac_try="$ac_link"
1782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_link") 2>&5
1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1791 { { case "(($ac_try" in
1792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1793 *) ac_try_echo=$ac_try;;
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_try") 2>&5
1799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800 test $ac_status = 0; }; }; then :
1803 $as_echo "$as_me: program exited with status $ac_status" >&5
1804 $as_echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.$ac_ext >&5
1807 ac_retval=$ac_status
1809 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811 as_fn_set_status $ac_retval
1815 # ac_fn_c_check_func LINENO FUNC VAR
1816 # ----------------------------------
1817 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1818 ac_fn_c_check_func ()
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1822 $as_echo_n "checking for $2... " >&6; }
1823 if eval \${$3+:} false; then :
1824 $as_echo_n "(cached) " >&6
1826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h. */
1828 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1830 #define $2 innocuous_$2
1832 /* System header to define __stub macros and hopefully few prototypes,
1833 which can conflict with char $2 (); below.
1834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1835 <limits.h> exists even on freestanding compilers. */
1838 # include <limits.h>
1840 # include <assert.h>
1845 /* Override any GCC internal prototype to avoid an error.
1846 Use char because int might match the return type of a GCC
1847 builtin and then its argument prototype would still apply. */
1852 /* The GNU C library defines this for functions which it implements
1853 to always fail with ENOSYS. Some functions are actually named
1854 something starting with __ and the normal name is an alias. */
1855 #if defined __stub_$2 || defined __stub___$2
1867 if ac_fn_c_try_link "$LINENO"; then :
1872 rm -f core conftest.err conftest.$ac_objext \
1873 conftest$ac_exeext conftest.$ac_ext
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1877 $as_echo "$ac_res" >&6; }
1878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1880 } # ac_fn_c_check_func
1882 # ac_fn_cxx_try_cpp LINENO
1883 # ------------------------
1884 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1885 ac_fn_cxx_try_cpp ()
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 if { { ac_try="$ac_cpp conftest.$ac_ext"
1890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1897 if test -s conftest.err; then
1898 grep -v '^ *+' conftest.err >conftest.er1
1899 cat conftest.er1 >&5
1900 mv -f conftest.er1 conftest.err
1902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1903 test $ac_status = 0; } > conftest.i && {
1904 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1905 test ! -s conftest.err
1909 $as_echo "$as_me: failed program was:" >&5
1910 sed 's/^/| /' conftest.$ac_ext >&5
1914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1915 as_fn_set_status $ac_retval
1917 } # ac_fn_cxx_try_cpp
1919 # ac_fn_cxx_try_link LINENO
1920 # -------------------------
1921 # Try to link conftest.$ac_ext, and return whether this succeeded.
1922 ac_fn_cxx_try_link ()
1924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1925 rm -f conftest.$ac_objext conftest$ac_exeext
1926 if { { ac_try="$ac_link"
1928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1929 *) ac_try_echo=$ac_try;;
1931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1932 $as_echo "$ac_try_echo"; } >&5
1933 (eval "$ac_link") 2>conftest.err
1935 if test -s conftest.err; then
1936 grep -v '^ *+' conftest.err >conftest.er1
1937 cat conftest.er1 >&5
1938 mv -f conftest.er1 conftest.err
1940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1941 test $ac_status = 0; } && {
1942 test -z "$ac_cxx_werror_flag" ||
1943 test ! -s conftest.err
1944 } && test -s conftest$ac_exeext && {
1945 test "$cross_compiling" = yes ||
1946 test -x conftest$ac_exeext
1950 $as_echo "$as_me: failed program was:" >&5
1951 sed 's/^/| /' conftest.$ac_ext >&5
1955 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1956 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1957 # interfere with the next link command; also delete a directory that is
1958 # left behind by Apple's compiler. We do this before executing the actions.
1959 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1961 as_fn_set_status $ac_retval
1963 } # ac_fn_cxx_try_link
1964 cat >config.log <<_ACEOF
1965 This file contains any messages produced by compilers while
1966 running configure, to aid debugging if configure makes a mistake.
1968 It was created by libsigc++ $as_me 2.4.1, which was
1969 generated by GNU Autoconf 2.69. Invocation command line was
1981 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1982 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1983 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1984 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1985 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1987 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1988 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1990 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1991 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1992 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1993 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1994 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1995 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1996 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2004 test -z "$as_dir" && as_dir=.
2005 $as_echo "PATH: $as_dir"
2021 # Keep a trace of the command line.
2022 # Strip out --no-create and --no-recursion so they do not pile up.
2023 # Strip out --silent because we don't want to record it for future runs.
2024 # Also quote any args containing shell meta-characters.
2025 # Make two passes to allow for proper duplicate-argument suppression.
2029 ac_must_keep_next=false
2035 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2036 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2037 | -silent | --silent | --silen | --sile | --sil)
2040 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2043 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2045 as_fn_append ac_configure_args1 " '$ac_arg'"
2046 if test $ac_must_keep_next = true; then
2047 ac_must_keep_next=false # Got value, back to normal.
2050 *=* | --config-cache | -C | -disable-* | --disable-* \
2051 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2052 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2053 | -with-* | --with-* | -without-* | --without-* | --x)
2054 case "$ac_configure_args0 " in
2055 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2058 -* ) ac_must_keep_next=true ;;
2061 as_fn_append ac_configure_args " '$ac_arg'"
2066 { ac_configure_args0=; unset ac_configure_args0;}
2067 { ac_configure_args1=; unset ac_configure_args1;}
2069 # When interrupted or exit'd, cleanup temporary files, and complete
2070 # config.log. We remove comments because anyway the quotes in there
2071 # would cause problems or look ugly.
2072 # WARNING: Use '\'' to represent an apostrophe within the trap.
2073 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2074 trap 'exit_status=$?
2075 # Save into config.log some information that might help in debugging.
2079 $as_echo "## ---------------- ##
2080 ## Cache variables. ##
2081 ## ---------------- ##"
2083 # The following way of writing the cache mishandles newlines in values,
2085 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2086 eval ac_val=\$$ac_var
2090 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2091 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2094 _ | IFS | as_nl) ;; #(
2095 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2096 *) { eval $ac_var=; unset $ac_var;} ;;
2101 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2102 *${as_nl}ac_space=\ *)
2104 "s/'\''/'\''\\\\'\'''\''/g;
2105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2108 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2115 $as_echo "## ----------------- ##
2116 ## Output variables. ##
2117 ## ----------------- ##"
2119 for ac_var in $ac_subst_vars
2121 eval ac_val=\$$ac_var
2123 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2125 $as_echo "$ac_var='\''$ac_val'\''"
2129 if test -n "$ac_subst_files"; then
2130 $as_echo "## ------------------- ##
2131 ## File substitutions. ##
2132 ## ------------------- ##"
2134 for ac_var in $ac_subst_files
2136 eval ac_val=\$$ac_var
2138 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2140 $as_echo "$ac_var='\''$ac_val'\''"
2145 if test -s confdefs.h; then
2146 $as_echo "## ----------- ##
2153 test "$ac_signal" != 0 &&
2154 $as_echo "$as_me: caught signal $ac_signal"
2155 $as_echo "$as_me: exit $exit_status"
2157 rm -f core *.core core.conftest.* &&
2158 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2161 for ac_signal in 1 2 13 15; do
2162 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2167 rm -f -r conftest* confdefs.h
2169 $as_echo "/* confdefs.h */" > confdefs.h
2171 # Predefined preprocessor variables.
2173 cat >>confdefs.h <<_ACEOF
2174 #define PACKAGE_NAME "$PACKAGE_NAME"
2177 cat >>confdefs.h <<_ACEOF
2178 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2181 cat >>confdefs.h <<_ACEOF
2182 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2185 cat >>confdefs.h <<_ACEOF
2186 #define PACKAGE_STRING "$PACKAGE_STRING"
2189 cat >>confdefs.h <<_ACEOF
2190 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2193 cat >>confdefs.h <<_ACEOF
2194 #define PACKAGE_URL "$PACKAGE_URL"
2198 # Let the site file select an alternate cache file if it wants to.
2199 # Prefer an explicitly selected file to automatically selected ones.
2202 if test -n "$CONFIG_SITE"; then
2203 # We do not want a PATH search for config.site.
2204 case $CONFIG_SITE in #((
2205 -*) ac_site_file1=./$CONFIG_SITE;;
2206 */*) ac_site_file1=$CONFIG_SITE;;
2207 *) ac_site_file1=./$CONFIG_SITE;;
2209 elif test "x$prefix" != xNONE; then
2210 ac_site_file1=$prefix/share/config.site
2211 ac_site_file2=$prefix/etc/config.site
2213 ac_site_file1=$ac_default_prefix/share/config.site
2214 ac_site_file2=$ac_default_prefix/etc/config.site
2216 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2218 test "x$ac_site_file" = xNONE && continue
2219 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2221 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2222 sed 's/^/| /' "$ac_site_file" >&5
2224 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2226 as_fn_error $? "failed to load site script $ac_site_file
2227 See \`config.log' for more details" "$LINENO" 5; }
2231 if test -r "$cache_file"; then
2232 # Some versions of bash will fail to source /dev/null (special files
2233 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2234 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2236 $as_echo "$as_me: loading cache $cache_file" >&6;}
2238 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2239 *) . "./$cache_file";;
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2244 $as_echo "$as_me: creating cache $cache_file" >&6;}
2248 # Check that the precious variables saved in the cache have kept the same
2250 ac_cache_corrupted=false
2251 for ac_var in $ac_precious_vars; do
2252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2253 eval ac_new_set=\$ac_env_${ac_var}_set
2254 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2255 eval ac_new_val=\$ac_env_${ac_var}_value
2256 case $ac_old_set,$ac_new_set in
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2259 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2260 ac_cache_corrupted=: ;;
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2263 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2264 ac_cache_corrupted=: ;;
2267 if test "x$ac_old_val" != "x$ac_new_val"; then
2268 # differences in whitespace do not lead to failure.
2269 ac_old_val_w=`echo x $ac_old_val`
2270 ac_new_val_w=`echo x $ac_new_val`
2271 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2273 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2274 ac_cache_corrupted=:
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2277 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2278 eval $ac_var=\$ac_old_val
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2281 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2283 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2286 # Pass precious variables to config.status.
2287 if test "$ac_new_set" = set; then
2289 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2290 *) ac_arg=$ac_var=$ac_new_val ;;
2292 case " $ac_configure_args " in
2293 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2294 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2298 if $ac_cache_corrupted; then
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2302 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2303 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2305 ## -------------------- ##
2306 ## Main body of script. ##
2307 ## -------------------- ##
2310 ac_cpp='$CPP $CPPFLAGS'
2311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2320 for ac_dir in build "$srcdir"/build; do
2321 if test -f "$ac_dir/install-sh"; then
2323 ac_install_sh="$ac_aux_dir/install-sh -c"
2325 elif test -f "$ac_dir/install.sh"; then
2327 ac_install_sh="$ac_aux_dir/install.sh -c"
2329 elif test -f "$ac_dir/shtool"; then
2331 ac_install_sh="$ac_aux_dir/shtool install -c"
2335 if test -z "$ac_aux_dir"; then
2336 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2339 # These three variables are undocumented and unsupported,
2340 # and are intended to be withdrawn in a future Autoconf release.
2341 # They can cause serious problems if a builder's source tree is in a directory
2342 # whose full name contains unusual characters.
2343 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2344 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2345 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2349 ac_config_headers="$ac_config_headers config.h sigc++config.h"
2352 am__api_version='1.14'
2354 # Find a good install program. We prefer a C program (faster),
2355 # so one script is as good as another. But avoid the broken or
2356 # incompatible versions:
2357 # SysV /etc/install, /usr/sbin/install
2358 # SunOS /usr/etc/install
2359 # IRIX /sbin/install
2361 # AmigaOS /C/install, which installs bootblocks on floppy discs
2362 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2363 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2364 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2365 # OS/2's system install, which has a completely different semantic
2366 # ./install, which can be erroneously created by make from ./install.sh.
2367 # Reject install programs that cannot install multiple files.
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2369 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2370 if test -z "$INSTALL"; then
2371 if ${ac_cv_path_install+:} false; then :
2372 $as_echo_n "(cached) " >&6
2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2378 test -z "$as_dir" && as_dir=.
2379 # Account for people who put trailing slashes in PATH elements.
2380 case $as_dir/ in #((
2381 ./ | .// | /[cC]/* | \
2382 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2383 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2386 # OSF1 and SCO ODT 3.0 have their own names for install.
2387 # Don't use installbsd from OSF since it installs stuff as root
2389 for ac_prog in ginstall scoinst install; do
2390 for ac_exec_ext in '' $ac_executable_extensions; do
2391 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2392 if test $ac_prog = install &&
2393 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2394 # AIX install. It has an incompatible calling convention.
2396 elif test $ac_prog = install &&
2397 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2398 # program-specific install script used by HP pwplus--don't use.
2401 rm -rf conftest.one conftest.two conftest.dir
2402 echo one > conftest.one
2403 echo two > conftest.two
2405 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2406 test -s conftest.one && test -s conftest.two &&
2407 test -s conftest.dir/conftest.one &&
2408 test -s conftest.dir/conftest.two
2410 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2423 rm -rf conftest.one conftest.two conftest.dir
2426 if test "${ac_cv_path_install+set}" = set; then
2427 INSTALL=$ac_cv_path_install
2429 # As a last resort, use the slow shell script. Don't cache a
2430 # value for INSTALL within a source directory, because that will
2431 # break other packages using the cache if that directory is
2432 # removed, or if the value is a relative name.
2433 INSTALL=$ac_install_sh
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2437 $as_echo "$INSTALL" >&6; }
2439 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2440 # It thinks the first close brace ends the variable substitution.
2441 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2443 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2445 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2448 $as_echo_n "checking whether build environment is sane... " >&6; }
2449 # Reject unsafe characters in $srcdir or the absolute working directory
2450 # name. Accept space and tab only in the latter.
2454 *[\\\"\#\$\&\'\`$am_lf]*)
2455 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2458 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2459 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2462 # Do 'set' in a subshell so we don't clobber the current shell's
2463 # arguments. Must try -L first in case configure is actually a
2464 # symlink; some systems play weird games with the mod time of symlinks
2465 # (eg FreeBSD returns the mod time of the symlink's containing
2469 for am_try in 1 2; do
2470 echo "timestamp, slept: $am_has_slept" > conftest.file
2471 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2472 if test "$*" = "X"; then
2474 set X `ls -t "$srcdir/configure" conftest.file`
2476 if test "$*" != "X $srcdir/configure conftest.file" \
2477 && test "$*" != "X conftest.file $srcdir/configure"; then
2479 # If neither matched, then we have a broken ls. This can happen
2480 # if, for instance, CONFIG_SHELL is bash and it inherits a
2481 # broken ls alias from the environment. This has actually
2482 # happened. Such a system could not be considered "sane".
2483 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2484 alias in your environment" "$LINENO" 5
2486 if test "$2" = conftest.file || test $am_try -eq 2; then
2493 test "$2" = conftest.file
2499 as_fn_error $? "newly created file is older than distributed files!
2500 Check your system clock" "$LINENO" 5
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2503 $as_echo "yes" >&6; }
2504 # If we didn't sleep, we still need to ensure time stamps of config.status and
2505 # generated files are strictly newer.
2507 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2514 test "$program_prefix" != NONE &&
2515 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2516 # Use a double $ so make ignores it.
2517 test "$program_suffix" != NONE &&
2518 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2519 # Double any \ or $.
2520 # By default was `s,x,x', remove it if useless.
2521 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2522 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2524 # expand $ac_aux_dir to an absolute path
2525 am_aux_dir=`cd $ac_aux_dir && pwd`
2527 if test x"${MISSING+set}" != xset; then
2530 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2532 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2535 # Use eval to expand $SHELL
2536 if eval "$MISSING --is-lightweight"; then
2537 am_missing_run="$MISSING "
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2541 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2544 if test x"${install_sh}" != xset; then
2547 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2549 install_sh="\${SHELL} $am_aux_dir/install-sh"
2553 # Installed binaries are usually stripped using 'strip' when the user
2554 # run "make install-strip". However 'strip' might not be the right
2555 # tool to use in cross-compilation environments, therefore Automake
2556 # will honor the 'STRIP' environment variable to overrule this program.
2557 if test "$cross_compiling" != no; then
2558 if test -n "$ac_tool_prefix"; then
2559 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2560 set dummy ${ac_tool_prefix}strip; ac_word=$2
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2562 $as_echo_n "checking for $ac_word... " >&6; }
2563 if ${ac_cv_prog_STRIP+:} false; then :
2564 $as_echo_n "(cached) " >&6
2566 if test -n "$STRIP"; then
2567 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2573 test -z "$as_dir" && as_dir=.
2574 for ac_exec_ext in '' $ac_executable_extensions; do
2575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2576 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2586 STRIP=$ac_cv_prog_STRIP
2587 if test -n "$STRIP"; then
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2589 $as_echo "$STRIP" >&6; }
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2592 $as_echo "no" >&6; }
2597 if test -z "$ac_cv_prog_STRIP"; then
2599 # Extract the first word of "strip", so it can be a program name with args.
2600 set dummy strip; ac_word=$2
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2602 $as_echo_n "checking for $ac_word... " >&6; }
2603 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2604 $as_echo_n "(cached) " >&6
2606 if test -n "$ac_ct_STRIP"; then
2607 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 test -z "$as_dir" && as_dir=.
2614 for ac_exec_ext in '' $ac_executable_extensions; do
2615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2616 ac_cv_prog_ac_ct_STRIP="strip"
2617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2626 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2627 if test -n "$ac_ct_STRIP"; then
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2629 $as_echo "$ac_ct_STRIP" >&6; }
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2632 $as_echo "no" >&6; }
2635 if test "x$ac_ct_STRIP" = x; then
2638 case $cross_compiling:$ac_tool_warned in
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2642 ac_tool_warned=yes ;;
2647 STRIP="$ac_cv_prog_STRIP"
2651 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2654 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2655 if test -z "$MKDIR_P"; then
2656 if ${ac_cv_path_mkdir+:} false; then :
2657 $as_echo_n "(cached) " >&6
2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2663 test -z "$as_dir" && as_dir=.
2664 for ac_prog in mkdir gmkdir; do
2665 for ac_exec_ext in '' $ac_executable_extensions; do
2666 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2667 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2668 'mkdir (GNU coreutils) '* | \
2669 'mkdir (coreutils) '* | \
2670 'mkdir (fileutils) '4.1*)
2671 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2681 test -d ./--version && rmdir ./--version
2682 if test "${ac_cv_path_mkdir+set}" = set; then
2683 MKDIR_P="$ac_cv_path_mkdir -p"
2685 # As a last resort, use the slow shell script. Don't cache a
2686 # value for MKDIR_P within a source directory, because that will
2687 # break other packages using the cache if that directory is
2688 # removed, or if the value is a relative name.
2689 MKDIR_P="$ac_install_sh -d"
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2693 $as_echo "$MKDIR_P" >&6; }
2695 for ac_prog in gawk mawk nawk awk
2697 # Extract the first word of "$ac_prog", so it can be a program name with args.
2698 set dummy $ac_prog; ac_word=$2
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2700 $as_echo_n "checking for $ac_word... " >&6; }
2701 if ${ac_cv_prog_AWK+:} false; then :
2702 $as_echo_n "(cached) " >&6
2704 if test -n "$AWK"; then
2705 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir=.
2712 for ac_exec_ext in '' $ac_executable_extensions; do
2713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2714 ac_cv_prog_AWK="$ac_prog"
2715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2725 if test -n "$AWK"; then
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2727 $as_echo "$AWK" >&6; }
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2730 $as_echo "no" >&6; }
2734 test -n "$AWK" && break
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2738 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2740 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2741 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2742 $as_echo_n "(cached) " >&6
2744 cat >conftest.make <<\_ACEOF
2747 @echo '@@@%%%=$(MAKE)=@@@%%%'
2749 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2750 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2752 eval ac_cv_prog_make_${ac_make}_set=yes;;
2754 eval ac_cv_prog_make_${ac_make}_set=no;;
2758 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2760 $as_echo "yes" >&6; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764 $as_echo "no" >&6; }
2765 SET_MAKE="MAKE=${MAKE-make}"
2768 rm -rf .tst 2>/dev/null
2769 mkdir .tst 2>/dev/null
2770 if test -d .tst; then
2775 rmdir .tst 2>/dev/null
2777 # Check whether --enable-silent-rules was given.
2778 if test "${enable_silent_rules+set}" = set; then :
2779 enableval=$enable_silent_rules;
2782 case $enable_silent_rules in # (((
2783 yes) AM_DEFAULT_VERBOSITY=0;;
2784 no) AM_DEFAULT_VERBOSITY=1;;
2785 *) AM_DEFAULT_VERBOSITY=1;;
2787 am_make=${MAKE-make}
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2789 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2790 if ${am_cv_make_support_nested_variables+:} false; then :
2791 $as_echo_n "(cached) " >&6
2793 if $as_echo 'TRUE=$(BAR$(V))
2799 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2800 am_cv_make_support_nested_variables=yes
2802 am_cv_make_support_nested_variables=no
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2806 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2807 if test $am_cv_make_support_nested_variables = yes; then
2809 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2811 AM_V=$AM_DEFAULT_VERBOSITY
2812 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2816 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2817 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2818 # is not polluted with repeated "-I."
2819 am__isrc=' -I$(srcdir)'
2820 # test to see if srcdir already configured
2821 if test -f $srcdir/config.status; then
2822 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2826 # test whether we have cygpath
2827 if test -z "$CYGPATH_W"; then
2828 if (cygpath --version) >/dev/null 2>/dev/null; then
2829 CYGPATH_W='cygpath -w'
2836 # Define the identity of the package.
2841 # Some tools Automake needs.
2843 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2846 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2849 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2852 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2855 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2857 # For better backward compatibility. To be removed once Automake 1.9.x
2858 # dies out for good. For more background, see:
2859 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2860 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2861 mkdir_p='$(MKDIR_P)'
2863 # We need awk for the "check" target. The system "awk" is bad on
2865 # Always define AMTAR for backward compatibility. Yes, it's still used
2866 # in the wild :-( We should find a proper way to deprecate it ...
2870 # We'll loop over all known methods to create a tar archive until one works.
2871 _am_tools='gnutar plaintar pax cpio none'
2873 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
2874 # There is notably a 21 bits limit for the UID and the GID. In fact,
2875 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2877 am_max_uid=2097151 # 2^21 - 1
2878 am_max_gid=$am_max_uid
2879 # The $UID and $GID variables are not portable, so we need to resort
2880 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
2881 # below are definitely unexpected, so allow the users to see them
2882 # (that is, avoid stderr redirection).
2883 am_uid=`id -u || echo unknown`
2884 am_gid=`id -g || echo unknown`
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2886 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2887 if test $am_uid -le $am_max_uid; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2889 $as_echo "yes" >&6; }
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892 $as_echo "no" >&6; }
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2896 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2897 if test $am_gid -le $am_max_gid; then
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2899 $as_echo "yes" >&6; }
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 $as_echo "no" >&6; }
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2907 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2909 # Go ahead even if we have the value already cached. We do so because we
2910 # need to set the values for the 'am__tar' and 'am__untar' variables.
2911 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2913 for _am_tool in $_am_tools; do
2916 for _am_tar in tar gnutar gtar; do
2917 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2918 ($_am_tar --version) >&5 2>&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); } && break
2923 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2924 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2925 am__untar="$_am_tar -xf -"
2928 # Must skip GNU tar: if it does not support --format= it doesn't create
2929 # ustar tarball either.
2930 (tar --version) >/dev/null 2>&1 && continue
2931 am__tar='tar chf - "$$tardir"'
2932 am__tar_='tar chf - "$tardir"'
2933 am__untar='tar xf -'
2936 am__tar='pax -L -x ustar -w "$$tardir"'
2937 am__tar_='pax -L -x ustar -w "$tardir"'
2941 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2942 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2943 am__untar='cpio -i -H ustar -d'
2952 # If the value was cached, stop now. We just wanted to have am__tar
2953 # and am__untar set.
2954 test -n "${am_cv_prog_tar_ustar}" && break
2956 # tar/untar a dummy directory, and stop if the command works.
2959 echo GrepMe > conftest.dir/file
2960 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2961 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); }
2966 if test -s conftest.tar; then
2967 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2968 ($am__untar <conftest.tar) >&5 2>&5
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); }
2972 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2973 (cat conftest.dir/file) >&5 2>&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); }
2977 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2982 if ${am_cv_prog_tar_ustar+:} false; then :
2983 $as_echo_n "(cached) " >&6
2985 am_cv_prog_tar_ustar=$_am_tool
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2989 $as_echo "$am_cv_prog_tar_ustar" >&6; }
2996 # POSIX will say in a future version that running "rm -f" with no argument
2997 # is OK; and we want to be able to make that assumption in our Makefile
2998 # recipes. So use an aggressive probe to check that the usage we want is
2999 # actually supported "in the wild" to an acceptable degree.
3000 # See automake bug#10828.
3001 # To make any issue more visible, cause the running configure to be aborted
3002 # by default if the 'rm' program in use doesn't match our expectations; the
3003 # user can still override this though.
3004 if rm -f && rm -fr && rm -rf; then : OK; else
3008 Your 'rm' program seems unable to run without file operands specified
3009 on the command line, even when the '-f' option is present. This is contrary
3010 to the behaviour of most rm programs out there, and not conforming with
3011 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3013 Please tell bug-automake@gnu.org about your system, including the value
3014 of your $PATH and any error possibly output before this message. This
3015 can help us improve future automake versions.
3018 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3019 echo 'Configuration will proceed anyway, since you have set the' >&2
3020 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3024 Aborting the configuration process, to ensure you take notice of the issue.
3026 You can download and install GNU coreutils to get an 'rm' implementation
3027 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3029 If you want to complete the configuration process using your problematic
3030 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3031 to "yes", and re-run configure.
3034 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3038 # Check whether --enable-silent-rules was given.
3039 if test "${enable_silent_rules+set}" = set; then :
3040 enableval=$enable_silent_rules;
3043 case $enable_silent_rules in # (((
3044 yes) AM_DEFAULT_VERBOSITY=0;;
3045 no) AM_DEFAULT_VERBOSITY=1;;
3046 *) AM_DEFAULT_VERBOSITY=1;;
3048 am_make=${MAKE-make}
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3050 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3051 if ${am_cv_make_support_nested_variables+:} false; then :
3052 $as_echo_n "(cached) " >&6
3054 if $as_echo 'TRUE=$(BAR$(V))
3060 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3061 am_cv_make_support_nested_variables=yes
3063 am_cv_make_support_nested_variables=no
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3067 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3068 if test $am_cv_make_support_nested_variables = yes; then
3070 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3072 AM_V=$AM_DEFAULT_VERBOSITY
3073 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3079 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3080 # Check whether --enable-maintainer-mode was given.
3081 if test "${enable_maintainer_mode+set}" = set; then :
3082 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3084 USE_MAINTAINER_MODE=no
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3088 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3089 if test $USE_MAINTAINER_MODE = yes; then
3090 MAINTAINER_MODE_TRUE=
3091 MAINTAINER_MODE_FALSE='#'
3093 MAINTAINER_MODE_TRUE='#'
3094 MAINTAINER_MODE_FALSE=
3097 MAINT=$MAINTAINER_MODE_TRUE
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports GNU make features" >&5
3105 $as_echo_n "checking whether ${MAKE-make} supports GNU make features... " >&6; }
3106 cat >conftest.make <<'_MMEOF'
3107 override reverse = $(2)$(subst ,, )$(1)
3108 override result := $(word 2,$(call reverse,success,failure))
3109 all: ; test '$(result)' = success
3112 if ${MAKE-make} -f conftest.make >&5 2>&5; then :
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_gnu_make" >&5
3119 $as_echo "$mm_gnu_make" >&6; }
3120 if test "x$mm_gnu_make" != xyes; then :
3121 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3123 as_fn_error $? "The GNU make program is required to build $PACKAGE_NAME.
3124 See \`config.log' for more details" "$LINENO" 5; }
3127 SIGCXX_MODULE_NAME='sigc++-2.0'
3129 SIGCXX_VERSION='2.4.1'
3131 SIGCXX_API_VERSION='2.0'
3133 SIGCXX_MAJOR_VERSION=2
3136 $as_echo "#define SIGCXX_MAJOR_VERSION 2" >>confdefs.h
3138 SIGCXX_MINOR_VERSION=4
3141 $as_echo "#define SIGCXX_MINOR_VERSION 4" >>confdefs.h
3143 SIGCXX_MICRO_VERSION=1
3146 $as_echo "#define SIGCXX_MICRO_VERSION 1" >>confdefs.h
3149 MMDOCTOOLDIR='${top_srcdir}/docs'
3150 if test 'xdocs' != 'x'; then
3152 DIST_DOCTOOLS_FALSE='#'
3154 DIST_DOCTOOLS_TRUE='#'
3155 DIST_DOCTOOLS_FALSE=
3160 ac_cpp='$CXXCPP $CPPFLAGS'
3161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3164 if test -z "$CXX"; then
3165 if test -n "$CCC"; then
3168 if test -n "$ac_tool_prefix"; then
3169 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3171 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3172 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if ${ac_cv_prog_CXX+:} false; then :
3176 $as_echo_n "(cached) " >&6
3178 if test -n "$CXX"; then
3179 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185 test -z "$as_dir" && as_dir=.
3186 for ac_exec_ext in '' $ac_executable_extensions; do
3187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3188 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3199 if test -n "$CXX"; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3201 $as_echo "$CXX" >&6; }
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204 $as_echo "no" >&6; }
3208 test -n "$CXX" && break
3211 if test -z "$CXX"; then
3213 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3215 # Extract the first word of "$ac_prog", so it can be a program name with args.
3216 set dummy $ac_prog; ac_word=$2
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3218 $as_echo_n "checking for $ac_word... " >&6; }
3219 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3220 $as_echo_n "(cached) " >&6
3222 if test -n "$ac_ct_CXX"; then
3223 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3229 test -z "$as_dir" && as_dir=.
3230 for ac_exec_ext in '' $ac_executable_extensions; do
3231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3232 ac_cv_prog_ac_ct_CXX="$ac_prog"
3233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3242 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3243 if test -n "$ac_ct_CXX"; then
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3245 $as_echo "$ac_ct_CXX" >&6; }
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3252 test -n "$ac_ct_CXX" && break
3255 if test "x$ac_ct_CXX" = x; then
3258 case $cross_compiling:$ac_tool_warned in
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3262 ac_tool_warned=yes ;;
3270 # Provide some information about the compiler.
3271 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3274 for ac_option in --version -v -V -qversion; do
3275 { { ac_try="$ac_compiler $ac_option >&5"
3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3281 $as_echo "$ac_try_echo"; } >&5
3282 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3284 if test -s conftest.err; then
3286 ... rest of stderr output deleted ...
3287 10q' conftest.err >conftest.er1
3288 cat conftest.er1 >&5
3290 rm -f conftest.er1 conftest.err
3291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3292 test $ac_status = 0; }
3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3306 ac_clean_files_save=$ac_clean_files
3307 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3308 # Try to create an executable without -o first, disregard a.out.
3309 # It will help us diagnose broken compilers, and finding out an intuition
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3312 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3313 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3315 # The possible output files:
3316 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3319 for ac_file in $ac_files
3322 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3323 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3328 if { { ac_try="$ac_link_default"
3330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3331 *) ac_try_echo=$ac_try;;
3333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3334 $as_echo "$ac_try_echo"; } >&5
3335 (eval "$ac_link_default") 2>&5
3337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3338 test $ac_status = 0; }; then :
3339 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3340 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3341 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3342 # so that the user can short-circuit this test for compilers unknown to
3344 for ac_file in $ac_files ''
3346 test -f "$ac_file" || continue
3348 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3351 # We found the default executable, but exeext='' is most
3355 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3357 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3359 # We set ac_cv_exeext here because the later test for it is not
3360 # safe: cross compilers may not add the suffix if given an `-o'
3361 # argument, so we may need to know it at that point already.
3362 # Even if this section looks crufty: it has the advantage of
3369 test "$ac_cv_exeext" = no && ac_cv_exeext=
3374 if test -z "$ac_file"; then :
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3377 $as_echo "$as_me: failed program was:" >&5
3378 sed 's/^/| /' conftest.$ac_ext >&5
3380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3382 as_fn_error 77 "C++ compiler cannot create executables
3383 See \`config.log' for more details" "$LINENO" 5; }
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3386 $as_echo "yes" >&6; }
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3389 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3391 $as_echo "$ac_file" >&6; }
3392 ac_exeext=$ac_cv_exeext
3394 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3395 ac_clean_files=$ac_clean_files_save
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3397 $as_echo_n "checking for suffix of executables... " >&6; }
3398 if { { ac_try="$ac_link"
3400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401 *) ac_try_echo=$ac_try;;
3403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3404 $as_echo "$ac_try_echo"; } >&5
3405 (eval "$ac_link") 2>&5
3407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3408 test $ac_status = 0; }; then :
3409 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3410 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3411 # work properly (i.e., refer to `conftest.exe'), while it won't with
3413 for ac_file in conftest.exe conftest conftest.*; do
3414 test -f "$ac_file" || continue
3416 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3417 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3425 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3426 See \`config.log' for more details" "$LINENO" 5; }
3428 rm -f conftest conftest$ac_cv_exeext
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3430 $as_echo "$ac_cv_exeext" >&6; }
3432 rm -f conftest.$ac_ext
3433 EXEEXT=$ac_cv_exeext
3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3441 FILE *f = fopen ("conftest.out", "w");
3442 return ferror (f) || fclose (f) != 0;
3448 ac_clean_files="$ac_clean_files conftest.out"
3449 # Check that the compiler produces executables we can run. If not, either
3450 # the compiler is broken, or we cross compile.
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3452 $as_echo_n "checking whether we are cross compiling... " >&6; }
3453 if test "$cross_compiling" != yes; then
3454 { { ac_try="$ac_link"
3456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3457 *) ac_try_echo=$ac_try;;
3459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3460 $as_echo "$ac_try_echo"; } >&5
3461 (eval "$ac_link") 2>&5
3463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3464 test $ac_status = 0; }
3465 if { ac_try='./conftest$ac_cv_exeext'
3466 { { case "(($ac_try" in
3467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3468 *) ac_try_echo=$ac_try;;
3470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3471 $as_echo "$ac_try_echo"; } >&5
3472 (eval "$ac_try") 2>&5
3474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3475 test $ac_status = 0; }; }; then
3478 if test "$cross_compiling" = maybe; then
3481 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3483 as_fn_error $? "cannot run C++ compiled programs.
3484 If you meant to cross compile, use \`--host'.
3485 See \`config.log' for more details" "$LINENO" 5; }
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3490 $as_echo "$cross_compiling" >&6; }
3492 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3493 ac_clean_files=$ac_clean_files_save
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3495 $as_echo_n "checking for suffix of object files... " >&6; }
3496 if ${ac_cv_objext+:} false; then :
3497 $as_echo_n "(cached) " >&6
3499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3500 /* end confdefs.h. */
3510 rm -f conftest.o conftest.obj
3511 if { { ac_try="$ac_compile"
3513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3514 *) ac_try_echo=$ac_try;;
3516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3517 $as_echo "$ac_try_echo"; } >&5
3518 (eval "$ac_compile") 2>&5
3520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3521 test $ac_status = 0; }; then :
3522 for ac_file in conftest.o conftest.obj conftest.*; do
3523 test -f "$ac_file" || continue;
3525 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3526 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3531 $as_echo "$as_me: failed program was:" >&5
3532 sed 's/^/| /' conftest.$ac_ext >&5
3534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3536 as_fn_error $? "cannot compute suffix of object files: cannot compile
3537 See \`config.log' for more details" "$LINENO" 5; }
3539 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3542 $as_echo "$ac_cv_objext" >&6; }
3543 OBJEXT=$ac_cv_objext
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3546 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3547 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3548 $as_echo_n "(cached) " >&6
3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3564 if ac_fn_cxx_try_compile "$LINENO"; then :
3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3574 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3575 if test $ac_compiler_gnu = yes; then
3580 ac_test_CXXFLAGS=${CXXFLAGS+set}
3581 ac_save_CXXFLAGS=$CXXFLAGS
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3583 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3584 if ${ac_cv_prog_cxx_g+:} false; then :
3585 $as_echo_n "(cached) " >&6
3587 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3588 ac_cxx_werror_flag=yes
3591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3592 /* end confdefs.h. */
3602 if ac_fn_cxx_try_compile "$LINENO"; then :
3603 ac_cv_prog_cxx_g=yes
3606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3607 /* end confdefs.h. */
3617 if ac_fn_cxx_try_compile "$LINENO"; then :
3620 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h. */
3633 if ac_fn_cxx_try_compile "$LINENO"; then :
3634 ac_cv_prog_cxx_g=yes
3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3641 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3644 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3645 if test "$ac_test_CXXFLAGS" = set; then
3646 CXXFLAGS=$ac_save_CXXFLAGS
3647 elif test $ac_cv_prog_cxx_g = yes; then
3648 if test "$GXX" = yes; then
3654 if test "$GXX" = yes; then
3661 ac_cpp='$CPP $CPPFLAGS'
3662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3665 DEPDIR="${am__leading_dot}deps"
3667 ac_config_commands="$ac_config_commands depfiles"
3670 am_make=${MAKE-make}
3671 cat > confinc << 'END'
3673 @echo this is the am__doit target
3676 # If we don't find an include directive, just comment out the code.
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3678 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3682 # First try GNU make style include.
3683 echo "include confinc" > confmf
3684 # Ignore all kinds of additional output from 'make'.
3685 case `$am_make -s -f confmf 2> /dev/null` in #(
3686 *the\ am__doit\ target*)
3692 # Now try BSD make style include.
3693 if test "$am__include" = "#"; then
3694 echo '.include "confinc"' > confmf
3695 case `$am_make -s -f confmf 2> /dev/null` in #(
3696 *the\ am__doit\ target*)
3697 am__include=.include
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3706 $as_echo "$_am_result" >&6; }
3707 rm -f confinc confmf
3709 # Check whether --enable-dependency-tracking was given.
3710 if test "${enable_dependency_tracking+set}" = set; then :
3711 enableval=$enable_dependency_tracking;
3714 if test "x$enable_dependency_tracking" != xno; then
3715 am_depcomp="$ac_aux_dir/depcomp"
3719 if test "x$enable_dependency_tracking" != xno; then
3729 depcc="$CXX" am_compiler_list=
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3732 $as_echo_n "checking dependency style of $depcc... " >&6; }
3733 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3734 $as_echo_n "(cached) " >&6
3736 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3737 # We make a subdir and do the tests there. Otherwise we can end up
3738 # making bogus files that we don't know about and never remove. For
3739 # instance it was reported that on HP-UX the gcc test will end up
3740 # making a dummy file named 'D' -- because '-MD' means "put the output
3744 # Copy depcomp to subdir because otherwise we won't find it if we're
3745 # using a relative directory.
3746 cp "$am_depcomp" conftest.dir
3748 # We will build objects and dependencies in a subdirectory because
3749 # it helps to detect inapplicable dependency modes. For instance
3750 # both Tru64's cc and ICC support -MD to output dependencies as a
3751 # side effect of compilation, but ICC will put the dependencies in
3752 # the current directory while Tru64 will put them in the object
3756 am_cv_CXX_dependencies_compiler_type=none
3757 if test "$am_compiler_list" = ""; then
3758 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3761 case " $depcc " in #(
3762 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3765 for depmode in $am_compiler_list; do
3766 # Setup a source with many dependencies, because some compilers
3767 # like to wrap large dependency lists on column 80 (with \), and
3768 # we should not choose a depcomp mode which is confused by this.
3770 # We need to recreate these files for each test, as the compiler may
3771 # overwrite some of them when testing with obscure command lines.
3772 # This happens at least with the AIX C compiler.
3774 for i in 1 2 3 4 5 6; do
3775 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3776 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3777 # Solaris 10 /bin/sh.
3778 echo '/* dummy */' > sub/conftst$i.h
3780 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3782 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3783 # mode. It turns out that the SunPro C++ compiler does not properly
3784 # handle '-M -o', and we need to detect this. Also, some Intel
3785 # versions had trouble with output in subdirs.
3786 am__obj=sub/conftest.${OBJEXT-o}
3787 am__minus_obj="-o $am__obj"
3790 # This depmode causes a compiler race in universal mode.
3791 test "$am__universal" = false || continue
3794 # After this tag, mechanisms are not by side-effect, so they'll
3795 # only be used when explicitly requested.
3796 if test "x$enable_dependency_tracking" = xyes; then
3802 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3803 # This compiler won't grok '-c -o', but also, the minuso test has
3804 # not run yet. These depmodes are late enough in the game, and
3805 # so weak that their functioning should not be impacted.
3806 am__obj=conftest.${OBJEXT-o}
3811 if depmode=$depmode \
3812 source=sub/conftest.c object=$am__obj \
3813 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3814 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3815 >/dev/null 2>conftest.err &&
3816 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3817 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3818 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3819 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3820 # icc doesn't choke on unknown options, it will just issue warnings
3821 # or remarks (even with -Werror). So we grep stderr for any message
3822 # that says an option was ignored or not supported.
3823 # When given -MP, icc 7.0 and 7.1 complain thusly:
3824 # icc: Command line warning: ignoring option '-M'; no argument required
3825 # The diagnosis changed in icc 8.0:
3826 # icc: Command line remark: option '-MP' not supported
3827 if (grep 'ignoring option' conftest.err ||
3828 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3829 am_cv_CXX_dependencies_compiler_type=$depmode
3838 am_cv_CXX_dependencies_compiler_type=none
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3843 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3844 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3847 test "x$enable_dependency_tracking" != xno \
3848 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3849 am__fastdepCXX_TRUE=
3850 am__fastdepCXX_FALSE='#'
3852 am__fastdepCXX_TRUE='#'
3853 am__fastdepCXX_FALSE=
3857 # Check whether --enable-static was given.
3858 if test "${enable_static+set}" = set; then :
3859 enableval=$enable_static; p=${PACKAGE-default}
3861 yes) enable_static=yes ;;
3862 no) enable_static=no ;;
3865 # Look at the argument we got. We use all the common list separators.
3866 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3867 for pkg in $enableval; do
3869 if test "X$pkg" = "X$p"; then
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3891 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3896 macro_version='2.4.2'
3897 macro_revision='1.3337'
3911 ltmain="$ac_aux_dir/ltmain.sh"
3913 # Make sure we can run config.sub.
3914 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3915 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3918 $as_echo_n "checking build system type... " >&6; }
3919 if ${ac_cv_build+:} false; then :
3920 $as_echo_n "(cached) " >&6
3922 ac_build_alias=$build_alias
3923 test "x$ac_build_alias" = x &&
3924 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3925 test "x$ac_build_alias" = x &&
3926 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3927 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3928 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3932 $as_echo "$ac_cv_build" >&6; }
3933 case $ac_cv_build in
3935 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3938 ac_save_IFS=$IFS; IFS='-'
3944 # Remember, the first character of IFS is used to create $*,
3945 # except with old shells:
3948 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3952 $as_echo_n "checking host system type... " >&6; }
3953 if ${ac_cv_host+:} false; then :
3954 $as_echo_n "(cached) " >&6
3956 if test "x$host_alias" = x; then
3957 ac_cv_host=$ac_cv_build
3959 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3960 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3965 $as_echo "$ac_cv_host" >&6; }
3968 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3971 ac_save_IFS=$IFS; IFS='-'
3977 # Remember, the first character of IFS is used to create $*,
3978 # except with old shells:
3981 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3984 # Backslashify metacharacters that are still active within
3985 # double-quoted strings.
3986 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3988 # Same as above, but do not quote variable references.
3989 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3991 # Sed substitution to delay expansion of an escaped shell variable in a
3992 # double_quote_subst'ed string.
3993 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3995 # Sed substitution to delay expansion of an escaped single quote.
3996 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3998 # Sed substitution to avoid accidental globbing in evaled expressions
3999 no_glob_subst='s/\*/\\\*/g'
4001 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4002 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4003 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4006 $as_echo_n "checking how to print strings... " >&6; }
4007 # Test print first, because it will be a builtin if present.
4008 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4009 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4011 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4014 # Use this function as a fallback that always works.
4015 func_fallback_echo ()
4017 eval 'cat <<_LTECHO_EOF
4021 ECHO='func_fallback_echo'
4024 # func_echo_all arg...
4025 # Invoke $ECHO with all args, space-separated.
4032 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4033 $as_echo "printf" >&6; } ;;
4034 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4035 $as_echo "print -r" >&6; } ;;
4036 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4037 $as_echo "cat" >&6; } ;;
4054 ac_cpp='$CPP $CPPFLAGS'
4055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4058 if test -n "$ac_tool_prefix"; then
4059 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4060 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4062 $as_echo_n "checking for $ac_word... " >&6; }
4063 if ${ac_cv_prog_CC+:} false; then :
4064 $as_echo_n "(cached) " >&6
4066 if test -n "$CC"; then
4067 ac_cv_prog_CC="$CC" # Let the user override the test.
4069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073 test -z "$as_dir" && as_dir=.
4074 for ac_exec_ext in '' $ac_executable_extensions; do
4075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4076 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4087 if test -n "$CC"; then
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4089 $as_echo "$CC" >&6; }
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4092 $as_echo "no" >&6; }
4097 if test -z "$ac_cv_prog_CC"; then
4099 # Extract the first word of "gcc", so it can be a program name with args.
4100 set dummy gcc; ac_word=$2
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4102 $as_echo_n "checking for $ac_word... " >&6; }
4103 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4104 $as_echo_n "(cached) " >&6
4106 if test -n "$ac_ct_CC"; then
4107 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4113 test -z "$as_dir" && as_dir=.
4114 for ac_exec_ext in '' $ac_executable_extensions; do
4115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4116 ac_cv_prog_ac_ct_CC="gcc"
4117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4126 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4127 if test -n "$ac_ct_CC"; then
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4129 $as_echo "$ac_ct_CC" >&6; }
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4132 $as_echo "no" >&6; }
4135 if test "x$ac_ct_CC" = x; then
4138 case $cross_compiling:$ac_tool_warned in
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4142 ac_tool_warned=yes ;;
4150 if test -z "$CC"; then
4151 if test -n "$ac_tool_prefix"; then
4152 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4153 set dummy ${ac_tool_prefix}cc; ac_word=$2
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4155 $as_echo_n "checking for $ac_word... " >&6; }
4156 if ${ac_cv_prog_CC+:} false; then :
4157 $as_echo_n "(cached) " >&6
4159 if test -n "$CC"; then
4160 ac_cv_prog_CC="$CC" # Let the user override the test.
4162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4166 test -z "$as_dir" && as_dir=.
4167 for ac_exec_ext in '' $ac_executable_extensions; do
4168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4169 ac_cv_prog_CC="${ac_tool_prefix}cc"
4170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4180 if test -n "$CC"; then
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4182 $as_echo "$CC" >&6; }
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4185 $as_echo "no" >&6; }
4191 if test -z "$CC"; then
4192 # Extract the first word of "cc", so it can be a program name with args.
4193 set dummy cc; ac_word=$2
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4195 $as_echo_n "checking for $ac_word... " >&6; }
4196 if ${ac_cv_prog_CC+:} false; then :
4197 $as_echo_n "(cached) " >&6
4199 if test -n "$CC"; then
4200 ac_cv_prog_CC="$CC" # Let the user override the test.
4203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4207 test -z "$as_dir" && as_dir=.
4208 for ac_exec_ext in '' $ac_executable_extensions; do
4209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4210 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4211 ac_prog_rejected=yes
4215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4222 if test $ac_prog_rejected = yes; then
4223 # We found a bogon in the path, so make sure we never use it.
4224 set dummy $ac_cv_prog_CC
4226 if test $# != 0; then
4227 # We chose a different compiler from the bogus one.
4228 # However, it has the same basename, so the bogon will be chosen
4229 # first if we set CC to just the basename; use the full file name.
4231 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4237 if test -n "$CC"; then
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4239 $as_echo "$CC" >&6; }
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4242 $as_echo "no" >&6; }
4247 if test -z "$CC"; then
4248 if test -n "$ac_tool_prefix"; then
4249 for ac_prog in cl.exe
4251 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4252 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4254 $as_echo_n "checking for $ac_word... " >&6; }
4255 if ${ac_cv_prog_CC+:} false; then :
4256 $as_echo_n "(cached) " >&6
4258 if test -n "$CC"; then
4259 ac_cv_prog_CC="$CC" # Let the user override the test.
4261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4265 test -z "$as_dir" && as_dir=.
4266 for ac_exec_ext in '' $ac_executable_extensions; do
4267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4268 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4279 if test -n "$CC"; then
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4281 $as_echo "$CC" >&6; }
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4284 $as_echo "no" >&6; }
4288 test -n "$CC" && break
4291 if test -z "$CC"; then
4293 for ac_prog in cl.exe
4295 # Extract the first word of "$ac_prog", so it can be a program name with args.
4296 set dummy $ac_prog; ac_word=$2
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4298 $as_echo_n "checking for $ac_word... " >&6; }
4299 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4300 $as_echo_n "(cached) " >&6
4302 if test -n "$ac_ct_CC"; then
4303 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4309 test -z "$as_dir" && as_dir=.
4310 for ac_exec_ext in '' $ac_executable_extensions; do
4311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4312 ac_cv_prog_ac_ct_CC="$ac_prog"
4313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4322 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4323 if test -n "$ac_ct_CC"; then
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4325 $as_echo "$ac_ct_CC" >&6; }
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4328 $as_echo "no" >&6; }
4332 test -n "$ac_ct_CC" && break
4335 if test "x$ac_ct_CC" = x; then
4338 case $cross_compiling:$ac_tool_warned in
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4342 ac_tool_warned=yes ;;
4351 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4353 as_fn_error $? "no acceptable C compiler found in \$PATH
4354 See \`config.log' for more details" "$LINENO" 5; }
4356 # Provide some information about the compiler.
4357 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4360 for ac_option in --version -v -V -qversion; do
4361 { { ac_try="$ac_compiler $ac_option >&5"
4363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4364 *) ac_try_echo=$ac_try;;
4366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4367 $as_echo "$ac_try_echo"; } >&5
4368 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4370 if test -s conftest.err; then
4372 ... rest of stderr output deleted ...
4373 10q' conftest.err >conftest.er1
4374 cat conftest.er1 >&5
4376 rm -f conftest.er1 conftest.err
4377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4378 test $ac_status = 0; }
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4382 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4383 if ${ac_cv_c_compiler_gnu+:} false; then :
4384 $as_echo_n "(cached) " >&6
4386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h. */
4400 if ac_fn_c_try_compile "$LINENO"; then :
4405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4406 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4410 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4411 if test $ac_compiler_gnu = yes; then
4416 ac_test_CFLAGS=${CFLAGS+set}
4417 ac_save_CFLAGS=$CFLAGS
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4419 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4420 if ${ac_cv_prog_cc_g+:} false; then :
4421 $as_echo_n "(cached) " >&6
4423 ac_save_c_werror_flag=$ac_c_werror_flag
4424 ac_c_werror_flag=yes
4427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4438 if ac_fn_c_try_compile "$LINENO"; then :
4442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h. */
4453 if ac_fn_c_try_compile "$LINENO"; then :
4456 ac_c_werror_flag=$ac_save_c_werror_flag
4458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4459 /* end confdefs.h. */
4469 if ac_fn_c_try_compile "$LINENO"; then :
4472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4477 ac_c_werror_flag=$ac_save_c_werror_flag
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4480 $as_echo "$ac_cv_prog_cc_g" >&6; }
4481 if test "$ac_test_CFLAGS" = set; then
4482 CFLAGS=$ac_save_CFLAGS
4483 elif test $ac_cv_prog_cc_g = yes; then
4484 if test "$GCC" = yes; then
4490 if test "$GCC" = yes; then
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4497 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4498 if ${ac_cv_prog_cc_c89+:} false; then :
4499 $as_echo_n "(cached) " >&6
4501 ac_cv_prog_cc_c89=no
4503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h. */
4508 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4509 struct buf { int x; };
4510 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4511 static char *e (p, i)
4517 static char *f (char * (*g) (char **, int), char **p, ...)
4522 s = g (p, va_arg (v,int));
4527 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4528 function prototypes and stuff, but not '\xHH' hex character constants.
4529 These don't provoke an error unfortunately, instead are silently treated
4530 as 'x'. The following induces an error, until -std is added to get
4531 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4532 array size at least. It's necessary to write '\x00'==0 to get something
4533 that's true only with -std. */
4534 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4536 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4537 inside strings and character constants. */
4539 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4541 int test (int i, double x);
4542 struct s1 {int (*f) (int a);};
4543 struct s2 {int (*f) (double a);};
4544 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4550 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4555 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4556 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4558 CC="$ac_save_CC $ac_arg"
4559 if ac_fn_c_try_compile "$LINENO"; then :
4560 ac_cv_prog_cc_c89=$ac_arg
4562 rm -f core conftest.err conftest.$ac_objext
4563 test "x$ac_cv_prog_cc_c89" != "xno" && break
4565 rm -f conftest.$ac_ext
4570 case "x$ac_cv_prog_cc_c89" in
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4573 $as_echo "none needed" >&6; } ;;
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4576 $as_echo "unsupported" >&6; } ;;
4578 CC="$CC $ac_cv_prog_cc_c89"
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4580 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4582 if test "x$ac_cv_prog_cc_c89" != xno; then :
4587 ac_cpp='$CPP $CPPFLAGS'
4588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4593 ac_cpp='$CPP $CPPFLAGS'
4594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4598 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4599 if ${am_cv_prog_cc_c_o+:} false; then :
4600 $as_echo_n "(cached) " >&6
4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4613 # Make sure it works both with $CC and with simple cc.
4614 # Following AC_PROG_CC_C_O, we do the test twice because some
4615 # compilers refuse to overwrite an existing .o file with -o,
4616 # though they will create one.
4617 am_cv_prog_cc_c_o=yes
4619 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4620 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4623 (exit $ac_status); } \
4624 && test -f conftest2.$ac_objext; then
4627 am_cv_prog_cc_c_o=no
4631 rm -f core conftest*
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4635 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4636 if test "$am_cv_prog_cc_c_o" != yes; then
4637 # Losing compiler, so override with the script.
4638 # FIXME: It is wrong to rewrite CC.
4639 # But if we don't then we get into trouble of one sort or another.
4640 # A longer-term fix would be to have automake use am__CC in this case,
4641 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4642 CC="$am_aux_dir/compile $CC"
4645 ac_cpp='$CPP $CPPFLAGS'
4646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4651 depcc="$CC" am_compiler_list=
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4654 $as_echo_n "checking dependency style of $depcc... " >&6; }
4655 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4656 $as_echo_n "(cached) " >&6
4658 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4659 # We make a subdir and do the tests there. Otherwise we can end up
4660 # making bogus files that we don't know about and never remove. For
4661 # instance it was reported that on HP-UX the gcc test will end up
4662 # making a dummy file named 'D' -- because '-MD' means "put the output
4666 # Copy depcomp to subdir because otherwise we won't find it if we're
4667 # using a relative directory.
4668 cp "$am_depcomp" conftest.dir
4670 # We will build objects and dependencies in a subdirectory because
4671 # it helps to detect inapplicable dependency modes. For instance
4672 # both Tru64's cc and ICC support -MD to output dependencies as a
4673 # side effect of compilation, but ICC will put the dependencies in
4674 # the current directory while Tru64 will put them in the object
4678 am_cv_CC_dependencies_compiler_type=none
4679 if test "$am_compiler_list" = ""; then
4680 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4683 case " $depcc " in #(
4684 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4687 for depmode in $am_compiler_list; do
4688 # Setup a source with many dependencies, because some compilers
4689 # like to wrap large dependency lists on column 80 (with \), and
4690 # we should not choose a depcomp mode which is confused by this.
4692 # We need to recreate these files for each test, as the compiler may
4693 # overwrite some of them when testing with obscure command lines.
4694 # This happens at least with the AIX C compiler.
4696 for i in 1 2 3 4 5 6; do
4697 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4698 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4699 # Solaris 10 /bin/sh.
4700 echo '/* dummy */' > sub/conftst$i.h
4702 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4704 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4705 # mode. It turns out that the SunPro C++ compiler does not properly
4706 # handle '-M -o', and we need to detect this. Also, some Intel
4707 # versions had trouble with output in subdirs.
4708 am__obj=sub/conftest.${OBJEXT-o}
4709 am__minus_obj="-o $am__obj"
4712 # This depmode causes a compiler race in universal mode.
4713 test "$am__universal" = false || continue
4716 # After this tag, mechanisms are not by side-effect, so they'll
4717 # only be used when explicitly requested.
4718 if test "x$enable_dependency_tracking" = xyes; then
4724 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4725 # This compiler won't grok '-c -o', but also, the minuso test has
4726 # not run yet. These depmodes are late enough in the game, and
4727 # so weak that their functioning should not be impacted.
4728 am__obj=conftest.${OBJEXT-o}
4733 if depmode=$depmode \
4734 source=sub/conftest.c object=$am__obj \
4735 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4736 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4737 >/dev/null 2>conftest.err &&
4738 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4739 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4740 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4741 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4742 # icc doesn't choke on unknown options, it will just issue warnings
4743 # or remarks (even with -Werror). So we grep stderr for any message
4744 # that says an option was ignored or not supported.
4745 # When given -MP, icc 7.0 and 7.1 complain thusly:
4746 # icc: Command line warning: ignoring option '-M'; no argument required
4747 # The diagnosis changed in icc 8.0:
4748 # icc: Command line remark: option '-MP' not supported
4749 if (grep 'ignoring option' conftest.err ||
4750 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4751 am_cv_CC_dependencies_compiler_type=$depmode
4760 am_cv_CC_dependencies_compiler_type=none
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4765 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4766 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4769 test "x$enable_dependency_tracking" != xno \
4770 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4772 am__fastdepCC_FALSE='#'
4774 am__fastdepCC_TRUE='#'
4775 am__fastdepCC_FALSE=
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4780 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4781 if ${ac_cv_path_SED+:} false; then :
4782 $as_echo_n "(cached) " >&6
4784 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4785 for ac_i in 1 2 3 4 5 6 7; do
4786 ac_script="$ac_script$as_nl$ac_script"
4788 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4789 { ac_script=; unset ac_script;}
4790 if test -z "$SED"; then
4791 ac_path_SED_found=false
4792 # Loop through the user's path and test for each of PROGNAME-LIST
4793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4797 test -z "$as_dir" && as_dir=.
4798 for ac_prog in sed gsed; do
4799 for ac_exec_ext in '' $ac_executable_extensions; do
4800 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4801 as_fn_executable_p "$ac_path_SED" || continue
4802 # Check for GNU ac_path_SED and select it if it is found.
4803 # Check for GNU $ac_path_SED
4804 case `"$ac_path_SED" --version 2>&1` in
4806 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4809 $as_echo_n 0123456789 >"conftest.in"
4812 cat "conftest.in" "conftest.in" >"conftest.tmp"
4813 mv "conftest.tmp" "conftest.in"
4814 cp "conftest.in" "conftest.nl"
4815 $as_echo '' >> "conftest.nl"
4816 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4817 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4818 as_fn_arith $ac_count + 1 && ac_count=$as_val
4819 if test $ac_count -gt ${ac_path_SED_max-0}; then
4820 # Best one so far, save it but keep looking for a better one
4821 ac_cv_path_SED="$ac_path_SED"
4822 ac_path_SED_max=$ac_count
4824 # 10*(2^10) chars as input seems more than enough
4825 test $ac_count -gt 10 && break
4827 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4830 $ac_path_SED_found && break 3
4835 if test -z "$ac_cv_path_SED"; then
4836 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4844 $as_echo "$ac_cv_path_SED" >&6; }
4845 SED="$ac_cv_path_SED"
4848 test -z "$SED" && SED=sed
4849 Xsed="$SED -e 1s/^X//"
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4862 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4863 if ${ac_cv_path_GREP+:} false; then :
4864 $as_echo_n "(cached) " >&6
4866 if test -z "$GREP"; then
4867 ac_path_GREP_found=false
4868 # Loop through the user's path and test for each of PROGNAME-LIST
4869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4870 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4873 test -z "$as_dir" && as_dir=.
4874 for ac_prog in grep ggrep; do
4875 for ac_exec_ext in '' $ac_executable_extensions; do
4876 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4877 as_fn_executable_p "$ac_path_GREP" || continue
4878 # Check for GNU ac_path_GREP and select it if it is found.
4879 # Check for GNU $ac_path_GREP
4880 case `"$ac_path_GREP" --version 2>&1` in
4882 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4885 $as_echo_n 0123456789 >"conftest.in"
4888 cat "conftest.in" "conftest.in" >"conftest.tmp"
4889 mv "conftest.tmp" "conftest.in"
4890 cp "conftest.in" "conftest.nl"
4891 $as_echo 'GREP' >> "conftest.nl"
4892 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4893 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4894 as_fn_arith $ac_count + 1 && ac_count=$as_val
4895 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4896 # Best one so far, save it but keep looking for a better one
4897 ac_cv_path_GREP="$ac_path_GREP"
4898 ac_path_GREP_max=$ac_count
4900 # 10*(2^10) chars as input seems more than enough
4901 test $ac_count -gt 10 && break
4903 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4906 $ac_path_GREP_found && break 3
4911 if test -z "$ac_cv_path_GREP"; then
4912 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4915 ac_cv_path_GREP=$GREP
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4920 $as_echo "$ac_cv_path_GREP" >&6; }
4921 GREP="$ac_cv_path_GREP"
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4925 $as_echo_n "checking for egrep... " >&6; }
4926 if ${ac_cv_path_EGREP+:} false; then :
4927 $as_echo_n "(cached) " >&6
4929 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4930 then ac_cv_path_EGREP="$GREP -E"
4932 if test -z "$EGREP"; then
4933 ac_path_EGREP_found=false
4934 # Loop through the user's path and test for each of PROGNAME-LIST
4935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4936 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4939 test -z "$as_dir" && as_dir=.
4940 for ac_prog in egrep; do
4941 for ac_exec_ext in '' $ac_executable_extensions; do
4942 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4943 as_fn_executable_p "$ac_path_EGREP" || continue
4944 # Check for GNU ac_path_EGREP and select it if it is found.
4945 # Check for GNU $ac_path_EGREP
4946 case `"$ac_path_EGREP" --version 2>&1` in
4948 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4951 $as_echo_n 0123456789 >"conftest.in"
4954 cat "conftest.in" "conftest.in" >"conftest.tmp"
4955 mv "conftest.tmp" "conftest.in"
4956 cp "conftest.in" "conftest.nl"
4957 $as_echo 'EGREP' >> "conftest.nl"
4958 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4959 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4960 as_fn_arith $ac_count + 1 && ac_count=$as_val
4961 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4962 # Best one so far, save it but keep looking for a better one
4963 ac_cv_path_EGREP="$ac_path_EGREP"
4964 ac_path_EGREP_max=$ac_count
4966 # 10*(2^10) chars as input seems more than enough
4967 test $ac_count -gt 10 && break
4969 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4972 $ac_path_EGREP_found && break 3
4977 if test -z "$ac_cv_path_EGREP"; then
4978 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4981 ac_cv_path_EGREP=$EGREP
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4987 $as_echo "$ac_cv_path_EGREP" >&6; }
4988 EGREP="$ac_cv_path_EGREP"
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4992 $as_echo_n "checking for fgrep... " >&6; }
4993 if ${ac_cv_path_FGREP+:} false; then :
4994 $as_echo_n "(cached) " >&6
4996 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4997 then ac_cv_path_FGREP="$GREP -F"
4999 if test -z "$FGREP"; then
5000 ac_path_FGREP_found=false
5001 # Loop through the user's path and test for each of PROGNAME-LIST
5002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5003 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5006 test -z "$as_dir" && as_dir=.
5007 for ac_prog in fgrep; do
5008 for ac_exec_ext in '' $ac_executable_extensions; do
5009 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5010 as_fn_executable_p "$ac_path_FGREP" || continue
5011 # Check for GNU ac_path_FGREP and select it if it is found.
5012 # Check for GNU $ac_path_FGREP
5013 case `"$ac_path_FGREP" --version 2>&1` in
5015 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5018 $as_echo_n 0123456789 >"conftest.in"
5021 cat "conftest.in" "conftest.in" >"conftest.tmp"
5022 mv "conftest.tmp" "conftest.in"
5023 cp "conftest.in" "conftest.nl"
5024 $as_echo 'FGREP' >> "conftest.nl"
5025 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5026 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5027 as_fn_arith $ac_count + 1 && ac_count=$as_val
5028 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5029 # Best one so far, save it but keep looking for a better one
5030 ac_cv_path_FGREP="$ac_path_FGREP"
5031 ac_path_FGREP_max=$ac_count
5033 # 10*(2^10) chars as input seems more than enough
5034 test $ac_count -gt 10 && break
5036 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5039 $ac_path_FGREP_found && break 3
5044 if test -z "$ac_cv_path_FGREP"; then
5045 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5048 ac_cv_path_FGREP=$FGREP
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5054 $as_echo "$ac_cv_path_FGREP" >&6; }
5055 FGREP="$ac_cv_path_FGREP"
5058 test -z "$GREP" && GREP=grep
5078 # Check whether --with-gnu-ld was given.
5079 if test "${with_gnu_ld+set}" = set; then :
5080 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5086 if test "$GCC" = yes; then
5087 # Check if gcc -print-prog-name=ld gives a path.
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5089 $as_echo_n "checking for ld used by $CC... " >&6; }
5092 # gcc leaves a trailing carriage return which upsets mingw
5093 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5095 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5098 # Accept absolute paths.
5100 re_direlt='/[^/][^/]*/\.\./'
5101 # Canonicalize the pathname of ld
5102 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5103 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5104 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5106 test -z "$LD" && LD="$ac_prog"
5109 # If it fails, then pretend we aren't using GCC.
5113 # If it is relative, then search for the first ld in PATH.
5117 elif test "$with_gnu_ld" = yes; then
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5119 $as_echo_n "checking for GNU ld... " >&6; }
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5122 $as_echo_n "checking for non-GNU ld... " >&6; }
5124 if ${lt_cv_path_LD+:} false; then :
5125 $as_echo_n "(cached) " >&6
5127 if test -z "$LD"; then
5128 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5129 for ac_dir in $PATH; do
5131 test -z "$ac_dir" && ac_dir=.
5132 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5133 lt_cv_path_LD="$ac_dir/$ac_prog"
5134 # Check to see if the program is GNU ld. I'd rather use --version,
5135 # but apparently some variants of GNU ld only accept -v.
5136 # Break only if it was the GNU/non-GNU ld that we prefer.
5137 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5138 *GNU* | *'with BFD'*)
5139 test "$with_gnu_ld" != no && break
5142 test "$with_gnu_ld" != yes && break
5149 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5154 if test -n "$LD"; then
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5156 $as_echo "$LD" >&6; }
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5161 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5163 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5164 if ${lt_cv_prog_gnu_ld+:} false; then :
5165 $as_echo_n "(cached) " >&6
5167 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5168 case `$LD -v 2>&1 </dev/null` in
5169 *GNU* | *'with BFD'*)
5170 lt_cv_prog_gnu_ld=yes
5173 lt_cv_prog_gnu_ld=no
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5178 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5179 with_gnu_ld=$lt_cv_prog_gnu_ld
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5190 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5191 if ${lt_cv_path_NM+:} false; then :
5192 $as_echo_n "(cached) " >&6
5194 if test -n "$NM"; then
5195 # Let the user override the test.
5198 lt_nm_to_check="${ac_tool_prefix}nm"
5199 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5200 lt_nm_to_check="$lt_nm_to_check nm"
5202 for lt_tmp_nm in $lt_nm_to_check; do
5203 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5204 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5206 test -z "$ac_dir" && ac_dir=.
5207 tmp_nm="$ac_dir/$lt_tmp_nm"
5208 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5209 # Check to see if the nm accepts a BSD-compat flag.
5210 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5211 # nm: unknown option "B" ignored
5212 # Tru64's nm complains that /dev/null is an invalid object file
5213 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5214 */dev/null* | *'Invalid file or object type'*)
5215 lt_cv_path_NM="$tmp_nm -B"
5219 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5221 lt_cv_path_NM="$tmp_nm -p"
5225 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5226 continue # so that we can try to find one that supports BSD flags
5235 : ${lt_cv_path_NM=no}
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5239 $as_echo "$lt_cv_path_NM" >&6; }
5240 if test "$lt_cv_path_NM" != "no"; then
5243 # Didn't find any BSD compatible name lister, look for dumpbin.
5244 if test -n "$DUMPBIN"; then :
5245 # Let the user override the test.
5247 if test -n "$ac_tool_prefix"; then
5248 for ac_prog in dumpbin "link -dump"
5250 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5251 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5253 $as_echo_n "checking for $ac_word... " >&6; }
5254 if ${ac_cv_prog_DUMPBIN+:} false; then :
5255 $as_echo_n "(cached) " >&6
5257 if test -n "$DUMPBIN"; then
5258 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5264 test -z "$as_dir" && as_dir=.
5265 for ac_exec_ext in '' $ac_executable_extensions; do
5266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5267 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 DUMPBIN=$ac_cv_prog_DUMPBIN
5278 if test -n "$DUMPBIN"; then
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5280 $as_echo "$DUMPBIN" >&6; }
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5283 $as_echo "no" >&6; }
5287 test -n "$DUMPBIN" && break
5290 if test -z "$DUMPBIN"; then
5291 ac_ct_DUMPBIN=$DUMPBIN
5292 for ac_prog in dumpbin "link -dump"
5294 # Extract the first word of "$ac_prog", so it can be a program name with args.
5295 set dummy $ac_prog; ac_word=$2
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5297 $as_echo_n "checking for $ac_word... " >&6; }
5298 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5299 $as_echo_n "(cached) " >&6
5301 if test -n "$ac_ct_DUMPBIN"; then
5302 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5308 test -z "$as_dir" && as_dir=.
5309 for ac_exec_ext in '' $ac_executable_extensions; do
5310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5311 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5321 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5322 if test -n "$ac_ct_DUMPBIN"; then
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5324 $as_echo "$ac_ct_DUMPBIN" >&6; }
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5327 $as_echo "no" >&6; }
5331 test -n "$ac_ct_DUMPBIN" && break
5334 if test "x$ac_ct_DUMPBIN" = x; then
5337 case $cross_compiling:$ac_tool_warned in
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5341 ac_tool_warned=yes ;;
5343 DUMPBIN=$ac_ct_DUMPBIN
5347 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5349 DUMPBIN="$DUMPBIN -symbols"
5357 if test "$DUMPBIN" != ":"; then
5361 test -z "$NM" && NM=nm
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5369 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5370 if ${lt_cv_nm_interface+:} false; then :
5371 $as_echo_n "(cached) " >&6
5373 lt_cv_nm_interface="BSD nm"
5374 echo "int some_variable = 0;" > conftest.$ac_ext
5375 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5376 (eval "$ac_compile" 2>conftest.err)
5377 cat conftest.err >&5
5378 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5379 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5380 cat conftest.err >&5
5381 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5382 cat conftest.out >&5
5383 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5384 lt_cv_nm_interface="MS dumpbin"
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5389 $as_echo "$lt_cv_nm_interface" >&6; }
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5392 $as_echo_n "checking whether ln -s works... " >&6; }
5394 if test "$LN_S" = "ln -s"; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5396 $as_echo "yes" >&6; }
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5399 $as_echo "no, using $LN_S" >&6; }
5402 # find the maximum length of command line arguments
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5404 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5405 if ${lt_cv_sys_max_cmd_len+:} false; then :
5406 $as_echo_n "(cached) " >&6
5413 # On DJGPP, this test can blow up pretty badly due to problems in libc
5414 # (any single argument exceeding 2000 bytes causes a buffer overrun
5415 # during glob expansion). Even if it were fixed, the result of this
5416 # check would be larger than it should be.
5417 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5421 # Under GNU Hurd, this test is not required because there is
5422 # no limit to the length of command line arguments.
5423 # Libtool will interpret -1 as no limit whatsoever
5424 lt_cv_sys_max_cmd_len=-1;
5427 cygwin* | mingw* | cegcc*)
5428 # On Win9x/ME, this test blows up -- it succeeds, but takes
5429 # about 5 minutes as the teststring grows exponentially.
5430 # Worse, since 9x/ME are not pre-emptively multitasking,
5431 # you end up with a "frozen" computer, even though with patience
5432 # the test eventually succeeds (with a max line length of 256k).
5433 # Instead, let's just punt: use the minimum linelength reported by
5434 # all of the supported platforms: 8192 (on NT/2K/XP).
5435 lt_cv_sys_max_cmd_len=8192;
5439 # On MiNT this can take a long time and run out of memory.
5440 lt_cv_sys_max_cmd_len=8192;
5444 # On AmigaOS with pdksh, this test takes hours, literally.
5445 # So we just punt and use a minimum line length of 8192.
5446 lt_cv_sys_max_cmd_len=8192;
5449 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5450 # This has been around since 386BSD, at least. Likely further.
5451 if test -x /sbin/sysctl; then
5452 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5453 elif test -x /usr/sbin/sysctl; then
5454 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5456 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5458 # And add a safety zone
5459 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5460 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5464 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5465 lt_cv_sys_max_cmd_len=196608
5469 # The test takes a long time on OS/2.
5470 lt_cv_sys_max_cmd_len=8192
5474 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5475 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5476 # nice to cause kernel panics so lets avoid the loop below.
5477 # First set a reasonable default.
5478 lt_cv_sys_max_cmd_len=16384
5480 if test -x /sbin/sysconfig; then
5481 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5482 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5487 lt_cv_sys_max_cmd_len=102400
5489 sysv5* | sco5v6* | sysv4.2uw2*)
5490 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5491 if test -n "$kargmax"; then
5492 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5494 lt_cv_sys_max_cmd_len=32768
5498 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5499 if test -n "$lt_cv_sys_max_cmd_len" && \
5500 test undefined != "$lt_cv_sys_max_cmd_len"; then
5501 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5502 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5504 # Make teststring a little bigger before we do anything with it.
5505 # a 1K string should be a reasonable start.
5506 for i in 1 2 3 4 5 6 7 8 ; do
5507 teststring=$teststring$teststring
5509 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5510 # If test is not a shell built-in, we'll probably end up computing a
5511 # maximum length that is only half of the actual maximum length, but
5513 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5514 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5515 test $i != 17 # 1/2 MB should be enough
5518 teststring=$teststring$teststring
5520 # Only check the string length outside the loop.
5521 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5523 # Add a significant safety factor because C++ compilers can tack on
5524 # massive amounts of additional arguments before passing them to the
5525 # linker. It appears as though 1/2 is a usable value.
5526 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5533 if test -n $lt_cv_sys_max_cmd_len ; then
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5535 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5538 $as_echo "none" >&6; }
5540 max_cmd_len=$lt_cv_sys_max_cmd_len
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5552 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5553 # Try some XSI features
5556 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5558 && eval 'test $(( 1 + 1 )) -eq 2 \
5559 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5562 $as_echo "$xsi_shell" >&6; }
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5566 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5568 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5570 && lt_shell_append=yes
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5572 $as_echo "$lt_shell_append" >&6; }
5575 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5585 # test EBCDIC or ASCII
5586 case `echo X|tr X '\101'` in
5587 A) # ASCII based system
5588 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5589 lt_SP2NL='tr \040 \012'
5590 lt_NL2SP='tr \015\012 \040\040'
5592 *) # EBCDIC based system
5593 lt_SP2NL='tr \100 \n'
5594 lt_NL2SP='tr \r\n \100\100'
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5607 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5608 if ${lt_cv_to_host_file_cmd+:} false; then :
5609 $as_echo_n "(cached) " >&6
5614 *-*-mingw* ) # actually msys
5615 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5618 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5620 * ) # otherwise, assume *nix
5621 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5627 *-*-mingw* ) # actually msys
5628 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5631 lt_cv_to_host_file_cmd=func_convert_file_noop
5633 * ) # otherwise, assume *nix
5634 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5638 * ) # unhandled hosts (and "normal" native builds)
5639 lt_cv_to_host_file_cmd=func_convert_file_noop
5645 to_host_file_cmd=$lt_cv_to_host_file_cmd
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5647 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5654 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5655 if ${lt_cv_to_tool_file_cmd+:} false; then :
5656 $as_echo_n "(cached) " >&6
5658 #assume ordinary cross tools, or native build.
5659 lt_cv_to_tool_file_cmd=func_convert_file_noop
5663 *-*-mingw* ) # actually msys
5664 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5672 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5674 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5681 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5682 if ${lt_cv_ld_reload_flag+:} false; then :
5683 $as_echo_n "(cached) " >&6
5685 lt_cv_ld_reload_flag='-r'
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5688 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5689 reload_flag=$lt_cv_ld_reload_flag
5690 case $reload_flag in
5692 *) reload_flag=" $reload_flag" ;;
5694 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5696 cygwin* | mingw* | pw32* | cegcc*)
5697 if test "$GCC" != yes; then
5702 if test "$GCC" = yes; then
5703 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5705 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5718 if test -n "$ac_tool_prefix"; then
5719 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5720 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5722 $as_echo_n "checking for $ac_word... " >&6; }
5723 if ${ac_cv_prog_OBJDUMP+:} false; then :
5724 $as_echo_n "(cached) " >&6
5726 if test -n "$OBJDUMP"; then
5727 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 test -z "$as_dir" && as_dir=.
5734 for ac_exec_ext in '' $ac_executable_extensions; do
5735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5736 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 OBJDUMP=$ac_cv_prog_OBJDUMP
5747 if test -n "$OBJDUMP"; then
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5749 $as_echo "$OBJDUMP" >&6; }
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 $as_echo "no" >&6; }
5757 if test -z "$ac_cv_prog_OBJDUMP"; then
5758 ac_ct_OBJDUMP=$OBJDUMP
5759 # Extract the first word of "objdump", so it can be a program name with args.
5760 set dummy objdump; ac_word=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5764 $as_echo_n "(cached) " >&6
5766 if test -n "$ac_ct_OBJDUMP"; then
5767 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir=.
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5776 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5786 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5787 if test -n "$ac_ct_OBJDUMP"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5789 $as_echo "$ac_ct_OBJDUMP" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5795 if test "x$ac_ct_OBJDUMP" = x; then
5798 case $cross_compiling:$ac_tool_warned in
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5802 ac_tool_warned=yes ;;
5804 OBJDUMP=$ac_ct_OBJDUMP
5807 OBJDUMP="$ac_cv_prog_OBJDUMP"
5810 test -z "$OBJDUMP" && OBJDUMP=objdump
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5818 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5819 if ${lt_cv_deplibs_check_method+:} false; then :
5820 $as_echo_n "(cached) " >&6
5822 lt_cv_file_magic_cmd='$MAGIC_CMD'
5823 lt_cv_file_magic_test_file=
5824 lt_cv_deplibs_check_method='unknown'
5825 # Need to set the preceding variable on all platforms that support
5826 # interlibrary dependencies.
5827 # 'none' -- dependencies not supported.
5828 # `unknown' -- same as none, but documents that we really don't know.
5829 # 'pass_all' -- all dependencies passed with no checks.
5830 # 'test_compile' -- check by making test program.
5831 # 'file_magic [[regex]]' -- check by looking for files in library path
5832 # which responds to the $file_magic_cmd with a given extended regex.
5833 # If you have `file' or equivalent on your system and you're not sure
5834 # whether `pass_all' will *always* work, you probably want this one.
5838 lt_cv_deplibs_check_method=pass_all
5842 lt_cv_deplibs_check_method=pass_all
5846 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5847 lt_cv_file_magic_cmd='/usr/bin/file -L'
5848 lt_cv_file_magic_test_file=/shlib/libc.so
5852 # func_win32_libid is a shell function defined in ltmain.sh
5853 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5854 lt_cv_file_magic_cmd='func_win32_libid'
5858 # Base MSYS/MinGW do not provide the 'file' command needed by
5859 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5860 # unless we find 'file', for example because we are cross-compiling.
5861 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5862 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5863 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5864 lt_cv_file_magic_cmd='func_win32_libid'
5866 # Keep this pattern in sync with the one in func_win32_libid.
5867 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5868 lt_cv_file_magic_cmd='$OBJDUMP -f'
5873 # use the weaker test based on 'objdump'. See mingw*.
5874 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5875 lt_cv_file_magic_cmd='$OBJDUMP -f'
5878 darwin* | rhapsody*)
5879 lt_cv_deplibs_check_method=pass_all
5882 freebsd* | dragonfly*)
5883 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5886 # Not sure whether the presence of OpenBSD here was a mistake.
5887 # Let's accept both of them until this is cleared up.
5888 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5889 lt_cv_file_magic_cmd=/usr/bin/file
5890 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5894 lt_cv_deplibs_check_method=pass_all
5899 lt_cv_deplibs_check_method=pass_all
5902 hpux10.20* | hpux11*)
5903 lt_cv_file_magic_cmd=/usr/bin/file
5906 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5907 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5910 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5911 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5914 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5915 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5921 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5922 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5925 irix5* | irix6* | nonstopux*)
5927 *-32|*"-32 ") libmagic=32-bit;;
5928 *-n32|*"-n32 ") libmagic=N32;;
5929 *-64|*"-64 ") libmagic=64-bit;;
5930 *) libmagic=never-match;;
5932 lt_cv_deplibs_check_method=pass_all
5935 # This must be glibc/ELF.
5936 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5937 lt_cv_deplibs_check_method=pass_all
5940 netbsd* | netbsdelf*-gnu)
5941 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5942 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5944 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5949 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5950 lt_cv_file_magic_cmd=/usr/bin/file
5951 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5955 lt_cv_deplibs_check_method=pass_all
5959 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5960 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5962 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5966 osf3* | osf4* | osf5*)
5967 lt_cv_deplibs_check_method=pass_all
5971 lt_cv_deplibs_check_method=pass_all
5975 lt_cv_deplibs_check_method=pass_all
5978 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5979 lt_cv_deplibs_check_method=pass_all
5983 case $host_vendor in
5985 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]'
5986 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5989 lt_cv_deplibs_check_method=pass_all
5992 lt_cv_file_magic_cmd='/bin/file'
5993 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5996 lt_cv_file_magic_cmd='/bin/file'
5997 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5998 lt_cv_file_magic_test_file=/lib/libc.so
6001 lt_cv_deplibs_check_method=pass_all
6004 lt_cv_deplibs_check_method=pass_all
6010 lt_cv_deplibs_check_method=pass_all
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6016 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6020 if test "$build" = "$host"; then
6023 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6026 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6032 file_magic_cmd=$lt_cv_file_magic_cmd
6033 deplibs_check_method=$lt_cv_deplibs_check_method
6034 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6057 if test -n "$ac_tool_prefix"; then
6058 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6059 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if ${ac_cv_prog_DLLTOOL+:} false; then :
6063 $as_echo_n "(cached) " >&6
6065 if test -n "$DLLTOOL"; then
6066 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6072 test -z "$as_dir" && as_dir=.
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6075 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6085 DLLTOOL=$ac_cv_prog_DLLTOOL
6086 if test -n "$DLLTOOL"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6088 $as_echo "$DLLTOOL" >&6; }
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6096 if test -z "$ac_cv_prog_DLLTOOL"; then
6097 ac_ct_DLLTOOL=$DLLTOOL
6098 # Extract the first word of "dlltool", so it can be a program name with args.
6099 set dummy dlltool; 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 ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6103 $as_echo_n "(cached) " >&6
6105 if test -n "$ac_ct_DLLTOOL"; then
6106 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6125 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6126 if test -n "$ac_ct_DLLTOOL"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6128 $as_echo "$ac_ct_DLLTOOL" >&6; }
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6134 if test "x$ac_ct_DLLTOOL" = x; then
6137 case $cross_compiling:$ac_tool_warned in
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6141 ac_tool_warned=yes ;;
6143 DLLTOOL=$ac_ct_DLLTOOL
6146 DLLTOOL="$ac_cv_prog_DLLTOOL"
6149 test -z "$DLLTOOL" && DLLTOOL=dlltool
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6158 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6159 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6160 $as_echo_n "(cached) " >&6
6162 lt_cv_sharedlib_from_linklib_cmd='unknown'
6165 cygwin* | mingw* | pw32* | cegcc*)
6166 # two different shell functions defined in ltmain.sh
6167 # decide which to use based on capabilities of $DLLTOOL
6168 case `$DLLTOOL --help 2>&1` in
6169 *--identify-strict*)
6170 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6173 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6178 # fallback: assume linklib IS sharedlib
6179 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6185 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6186 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6187 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6196 if test -n "$ac_tool_prefix"; then
6199 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6200 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6202 $as_echo_n "checking for $ac_word... " >&6; }
6203 if ${ac_cv_prog_AR+:} false; then :
6204 $as_echo_n "(cached) " >&6
6206 if test -n "$AR"; then
6207 ac_cv_prog_AR="$AR" # Let the user override the test.
6209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6213 test -z "$as_dir" && as_dir=.
6214 for ac_exec_ext in '' $ac_executable_extensions; do
6215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6216 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6227 if test -n "$AR"; then
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6229 $as_echo "$AR" >&6; }
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232 $as_echo "no" >&6; }
6236 test -n "$AR" && break
6239 if test -z "$AR"; then
6243 # Extract the first word of "$ac_prog", so it can be a program name with args.
6244 set dummy $ac_prog; ac_word=$2
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6246 $as_echo_n "checking for $ac_word... " >&6; }
6247 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6248 $as_echo_n "(cached) " >&6
6250 if test -n "$ac_ct_AR"; then
6251 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257 test -z "$as_dir" && as_dir=.
6258 for ac_exec_ext in '' $ac_executable_extensions; do
6259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6260 ac_cv_prog_ac_ct_AR="$ac_prog"
6261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6270 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6271 if test -n "$ac_ct_AR"; then
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6273 $as_echo "$ac_ct_AR" >&6; }
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6276 $as_echo "no" >&6; }
6280 test -n "$ac_ct_AR" && break
6283 if test "x$ac_ct_AR" = x; then
6286 case $cross_compiling:$ac_tool_warned in
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6290 ac_tool_warned=yes ;;
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6310 $as_echo_n "checking for archiver @FILE support... " >&6; }
6311 if ${lt_cv_ar_at_file+:} false; then :
6312 $as_echo_n "(cached) " >&6
6315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6326 if ac_fn_c_try_compile "$LINENO"; then :
6327 echo conftest.$ac_objext > conftest.lst
6328 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6329 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6330 (eval $lt_ar_try) 2>&5
6332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6333 test $ac_status = 0; }
6334 if test "$ac_status" -eq 0; then
6335 # Ensure the archiver fails upon bogus file names.
6336 rm -f conftest.$ac_objext libconftest.a
6337 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6338 (eval $lt_ar_try) 2>&5
6340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6341 test $ac_status = 0; }
6342 if test "$ac_status" -ne 0; then
6346 rm -f conftest.* libconftest.a
6349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6353 $as_echo "$lt_cv_ar_at_file" >&6; }
6355 if test "x$lt_cv_ar_at_file" = xno; then
6358 archiver_list_spec=$lt_cv_ar_at_file
6367 if test -n "$ac_tool_prefix"; then
6368 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6369 set dummy ${ac_tool_prefix}strip; ac_word=$2
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6371 $as_echo_n "checking for $ac_word... " >&6; }
6372 if ${ac_cv_prog_STRIP+:} false; then :
6373 $as_echo_n "(cached) " >&6
6375 if test -n "$STRIP"; then
6376 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6382 test -z "$as_dir" && as_dir=.
6383 for ac_exec_ext in '' $ac_executable_extensions; do
6384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6385 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6395 STRIP=$ac_cv_prog_STRIP
6396 if test -n "$STRIP"; then
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6398 $as_echo "$STRIP" >&6; }
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6401 $as_echo "no" >&6; }
6406 if test -z "$ac_cv_prog_STRIP"; then
6408 # Extract the first word of "strip", so it can be a program name with args.
6409 set dummy strip; ac_word=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 $as_echo_n "checking for $ac_word... " >&6; }
6412 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6413 $as_echo_n "(cached) " >&6
6415 if test -n "$ac_ct_STRIP"; then
6416 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6425 ac_cv_prog_ac_ct_STRIP="strip"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6435 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6436 if test -n "$ac_ct_STRIP"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6438 $as_echo "$ac_ct_STRIP" >&6; }
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6444 if test "x$ac_ct_STRIP" = x; then
6447 case $cross_compiling:$ac_tool_warned in
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6451 ac_tool_warned=yes ;;
6456 STRIP="$ac_cv_prog_STRIP"
6459 test -z "$STRIP" && STRIP=:
6466 if test -n "$ac_tool_prefix"; then
6467 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6468 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if ${ac_cv_prog_RANLIB+:} false; then :
6472 $as_echo_n "(cached) " >&6
6474 if test -n "$RANLIB"; then
6475 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6484 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6494 RANLIB=$ac_cv_prog_RANLIB
6495 if test -n "$RANLIB"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6497 $as_echo "$RANLIB" >&6; }
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6505 if test -z "$ac_cv_prog_RANLIB"; then
6506 ac_ct_RANLIB=$RANLIB
6507 # Extract the first word of "ranlib", so it can be a program name with args.
6508 set dummy ranlib; ac_word=$2
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6510 $as_echo_n "checking for $ac_word... " >&6; }
6511 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6512 $as_echo_n "(cached) " >&6
6514 if test -n "$ac_ct_RANLIB"; then
6515 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6524 ac_cv_prog_ac_ct_RANLIB="ranlib"
6525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6534 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6535 if test -n "$ac_ct_RANLIB"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6537 $as_echo "$ac_ct_RANLIB" >&6; }
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 $as_echo "no" >&6; }
6543 if test "x$ac_ct_RANLIB" = x; then
6546 case $cross_compiling:$ac_tool_warned in
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6550 ac_tool_warned=yes ;;
6552 RANLIB=$ac_ct_RANLIB
6555 RANLIB="$ac_cv_prog_RANLIB"
6558 test -z "$RANLIB" && RANLIB=:
6565 # Determine commands to create old-style static archives.
6566 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6567 old_postinstall_cmds='chmod 644 $oldlib'
6568 old_postuninstall_cmds=
6570 if test -n "$RANLIB"; then
6573 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6576 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6579 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6584 lock_old_archive_extraction=yes ;;
6586 lock_old_archive_extraction=no ;;
6627 # If no C compiler was specified, use CC.
6630 # If no C compiler flags were specified, use CFLAGS.
6631 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6633 # Allow CC to be a program name with arguments.
6637 # Check for command to grab the raw symbol name followed by C symbol from nm.
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6639 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6640 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6641 $as_echo_n "(cached) " >&6
6644 # These are sane defaults that work on at least a few old systems.
6645 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6647 # Character class describing NM global symbol codes.
6648 symcode='[BCDEGRST]'
6650 # Regexp to match symbols that can be accessed directly from C.
6651 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6653 # Define system-specific variables.
6658 cygwin* | mingw* | pw32* | cegcc*)
6659 symcode='[ABCDGISTW]'
6662 if test "$host_cpu" = ia64; then
6663 symcode='[ABCDEGRST]'
6667 symcode='[BCDEGRST]'
6670 symcode='[BCDEGQRST]'
6681 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6689 # If we're using GNU nm, then use its standard symbol codes.
6690 case `$NM -V 2>&1` in
6691 *GNU* | *'with BFD'*)
6692 symcode='[ABCDGIRSTW]' ;;
6695 # Transform an extracted symbol line into a proper C declaration.
6696 # Some systems (esp. on ia64) link data and code symbols differently,
6697 # so use this general approach.
6698 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6700 # Transform an extracted symbol line into symbol name and symbol address
6701 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6702 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'"
6704 # Handle CRLF in mingw tool chain
6708 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6712 # Try without a prefix underscore, then with it.
6713 for ac_symprfx in "" "_"; do
6715 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6716 symxfrm="\\1 $ac_symprfx\\2 \\2"
6718 # Write the raw and C identifiers.
6719 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6720 # Fake it for dumpbin and say T for any non-static function
6721 # and D for any global variable.
6722 # Also find C++ and __fastcall symbols from MSVC++,
6723 # which start with @ or ?.
6724 lt_cv_sys_global_symbol_pipe="$AWK '"\
6725 " {last_section=section; section=\$ 3};"\
6726 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6727 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6728 " \$ 0!~/External *\|/{next};"\
6729 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6730 " {if(hide[section]) next};"\
6731 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6732 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6733 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6734 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6735 " ' prfx=^$ac_symprfx"
6737 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6739 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6741 # Check to see that the pipe works correctly.
6745 cat > conftest.$ac_ext <<_LT_EOF
6750 void nm_test_func(void);
6751 void nm_test_func(void){}
6755 int main(){nm_test_var='a';nm_test_func();return(0);}
6758 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6759 (eval $ac_compile) 2>&5
6761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6762 test $ac_status = 0; }; then
6763 # Now try to grab the symbols.
6765 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6766 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6769 test $ac_status = 0; } && test -s "$nlist"; then
6770 # Try sorting and uniquifying the output.
6771 if sort "$nlist" | uniq > "$nlist"T; then
6772 mv -f "$nlist"T "$nlist"
6777 # Make sure that we snagged all the symbols we need.
6778 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6779 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6780 cat <<_LT_EOF > conftest.$ac_ext
6781 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6782 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6783 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6784 relocations are performed -- see ld's documentation on pseudo-relocs. */
6785 # define LT_DLSYM_CONST
6786 #elif defined(__osf__)
6787 /* This system does not cope well with relocations in const data. */
6788 # define LT_DLSYM_CONST
6790 # define LT_DLSYM_CONST const
6798 # Now generate the symbol file.
6799 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6801 cat <<_LT_EOF >> conftest.$ac_ext
6803 /* The mapping between symbol names and symbols. */
6804 LT_DLSYM_CONST struct {
6808 lt__PROGRAM__LTX_preloaded_symbols[] =
6810 { "@PROGRAM@", (void *) 0 },
6812 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6813 cat <<\_LT_EOF >> conftest.$ac_ext
6817 /* This works around a problem in FreeBSD linker */
6818 #ifdef FREEBSD_WORKAROUND
6819 static const void *lt_preloaded_setup() {
6820 return lt__PROGRAM__LTX_preloaded_symbols;
6828 # Now try linking the two files.
6829 mv conftest.$ac_objext conftstm.$ac_objext
6830 lt_globsym_save_LIBS=$LIBS
6831 lt_globsym_save_CFLAGS=$CFLAGS
6832 LIBS="conftstm.$ac_objext"
6833 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6834 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6835 (eval $ac_link) 2>&5
6837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6838 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6841 LIBS=$lt_globsym_save_LIBS
6842 CFLAGS=$lt_globsym_save_CFLAGS
6844 echo "cannot find nm_test_func in $nlist" >&5
6847 echo "cannot find nm_test_var in $nlist" >&5
6850 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6853 echo "$progname: failed program was:" >&5
6854 cat conftest.$ac_ext >&5
6856 rm -rf conftest* conftst*
6858 # Do not use the global_symbol_pipe unless it works.
6859 if test "$pipe_works" = yes; then
6862 lt_cv_sys_global_symbol_pipe=
6868 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6869 lt_cv_sys_global_symbol_to_cdecl=
6871 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6873 $as_echo "failed" >&6; }
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6876 $as_echo "ok" >&6; }
6879 # Response file support.
6880 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6881 nm_file_list_spec='@'
6882 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6883 nm_file_list_spec='@'
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6913 $as_echo_n "checking for sysroot... " >&6; }
6915 # Check whether --with-sysroot was given.
6916 if test "${with_sysroot+set}" = set; then :
6917 withval=$with_sysroot;
6924 case ${with_sysroot} in #(
6926 if test "$GCC" = yes; then
6927 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6931 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6937 $as_echo "${with_sysroot}" >&6; }
6938 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6943 $as_echo "${lt_sysroot:-no}" >&6; }
6949 # Check whether --enable-libtool-lock was given.
6950 if test "${enable_libtool_lock+set}" = set; then :
6951 enableval=$enable_libtool_lock;
6954 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6956 # Some flags need to be propagated to the compiler or linker for good
6960 # Find out which ABI we are using.
6961 echo 'int i;' > conftest.$ac_ext
6962 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6963 (eval $ac_compile) 2>&5
6965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6966 test $ac_status = 0; }; then
6967 case `/usr/bin/file conftest.$ac_objext` in
6979 # Find out which ABI we are using.
6980 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6981 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6982 (eval $ac_compile) 2>&5
6984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6985 test $ac_status = 0; }; then
6986 if test "$lt_cv_prog_gnu_ld" = yes; then
6987 case `/usr/bin/file conftest.$ac_objext` in
6989 LD="${LD-ld} -melf32bsmip"
6992 LD="${LD-ld} -melf32bmipn32"
6995 LD="${LD-ld} -melf64bmip"
6999 case `/usr/bin/file conftest.$ac_objext` in
7015 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7016 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7017 # Find out which ABI we are using.
7018 echo 'int i;' > conftest.$ac_ext
7019 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7020 (eval $ac_compile) 2>&5
7022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7023 test $ac_status = 0; }; then
7024 case `/usr/bin/file conftest.o` in
7027 x86_64-*kfreebsd*-gnu)
7028 LD="${LD-ld} -m elf_i386_fbsd"
7031 case `/usr/bin/file conftest.o` in
7033 LD="${LD-ld} -m elf32_x86_64"
7036 LD="${LD-ld} -m elf_i386"
7041 LD="${LD-ld} -m elf32lppclinux"
7044 LD="${LD-ld} -m elf32ppclinux"
7047 LD="${LD-ld} -m elf_s390"
7050 LD="${LD-ld} -m elf32_sparc"
7056 x86_64-*kfreebsd*-gnu)
7057 LD="${LD-ld} -m elf_x86_64_fbsd"
7060 LD="${LD-ld} -m elf_x86_64"
7063 LD="${LD-ld} -m elf64lppc"
7066 LD="${LD-ld} -m elf64ppc"
7068 s390*-*linux*|s390*-*tpf*)
7069 LD="${LD-ld} -m elf64_s390"
7072 LD="${LD-ld} -m elf64_sparc"
7082 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7083 SAVE_CFLAGS="$CFLAGS"
7084 CFLAGS="$CFLAGS -belf"
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7086 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7087 if ${lt_cv_cc_needs_belf+:} false; then :
7088 $as_echo_n "(cached) " >&6
7091 ac_cpp='$CPP $CPPFLAGS'
7092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7097 /* end confdefs.h. */
7107 if ac_fn_c_try_link "$LINENO"; then :
7108 lt_cv_cc_needs_belf=yes
7110 lt_cv_cc_needs_belf=no
7112 rm -f core conftest.err conftest.$ac_objext \
7113 conftest$ac_exeext conftest.$ac_ext
7115 ac_cpp='$CPP $CPPFLAGS'
7116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7122 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7123 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7124 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7125 CFLAGS="$SAVE_CFLAGS"
7129 # Find out which ABI we are using.
7130 echo 'int i;' > conftest.$ac_ext
7131 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7132 (eval $ac_compile) 2>&5
7134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7135 test $ac_status = 0; }; then
7136 case `/usr/bin/file conftest.o` in
7138 case $lt_cv_prog_gnu_ld in
7142 LD="${LD-ld} -m elf_x86_64"
7145 LD="${LD-ld} -m elf64_sparc"
7148 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7149 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7154 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7166 need_locks="$enable_libtool_lock"
7168 if test -n "$ac_tool_prefix"; then
7169 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7170 set dummy ${ac_tool_prefix}mt; 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 ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7174 $as_echo_n "(cached) " >&6
7176 if test -n "$MANIFEST_TOOL"; then
7177 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7186 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7196 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7197 if test -n "$MANIFEST_TOOL"; then
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7199 $as_echo "$MANIFEST_TOOL" >&6; }
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 $as_echo "no" >&6; }
7207 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7208 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7209 # Extract the first word of "mt", so it can be a program name with args.
7210 set dummy mt; 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 ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7214 $as_echo_n "(cached) " >&6
7216 if test -n "$ac_ct_MANIFEST_TOOL"; then
7217 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7226 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7236 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7237 if test -n "$ac_ct_MANIFEST_TOOL"; then
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7239 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7242 $as_echo "no" >&6; }
7245 if test "x$ac_ct_MANIFEST_TOOL" = 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 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7257 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7260 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7262 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7263 if ${lt_cv_path_mainfest_tool+:} false; then :
7264 $as_echo_n "(cached) " >&6
7266 lt_cv_path_mainfest_tool=no
7267 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7268 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7269 cat conftest.err >&5
7270 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7271 lt_cv_path_mainfest_tool=yes
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7276 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7277 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7287 rhapsody* | darwin*)
7288 if test -n "$ac_tool_prefix"; then
7289 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7290 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7292 $as_echo_n "checking for $ac_word... " >&6; }
7293 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7294 $as_echo_n "(cached) " >&6
7296 if test -n "$DSYMUTIL"; then
7297 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7303 test -z "$as_dir" && as_dir=.
7304 for ac_exec_ext in '' $ac_executable_extensions; do
7305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7306 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7316 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7317 if test -n "$DSYMUTIL"; then
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7319 $as_echo "$DSYMUTIL" >&6; }
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7322 $as_echo "no" >&6; }
7327 if test -z "$ac_cv_prog_DSYMUTIL"; then
7328 ac_ct_DSYMUTIL=$DSYMUTIL
7329 # Extract the first word of "dsymutil", so it can be a program name with args.
7330 set dummy dsymutil; ac_word=$2
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7332 $as_echo_n "checking for $ac_word... " >&6; }
7333 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7334 $as_echo_n "(cached) " >&6
7336 if test -n "$ac_ct_DSYMUTIL"; then
7337 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7343 test -z "$as_dir" && as_dir=.
7344 for ac_exec_ext in '' $ac_executable_extensions; do
7345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7346 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7356 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7357 if test -n "$ac_ct_DSYMUTIL"; then
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7359 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7362 $as_echo "no" >&6; }
7365 if test "x$ac_ct_DSYMUTIL" = x; then
7368 case $cross_compiling:$ac_tool_warned in
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7371 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7372 ac_tool_warned=yes ;;
7374 DSYMUTIL=$ac_ct_DSYMUTIL
7377 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7380 if test -n "$ac_tool_prefix"; then
7381 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7382 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7384 $as_echo_n "checking for $ac_word... " >&6; }
7385 if ${ac_cv_prog_NMEDIT+:} false; then :
7386 $as_echo_n "(cached) " >&6
7388 if test -n "$NMEDIT"; then
7389 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7395 test -z "$as_dir" && as_dir=.
7396 for ac_exec_ext in '' $ac_executable_extensions; do
7397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7398 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 NMEDIT=$ac_cv_prog_NMEDIT
7409 if test -n "$NMEDIT"; then
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7411 $as_echo "$NMEDIT" >&6; }
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7414 $as_echo "no" >&6; }
7419 if test -z "$ac_cv_prog_NMEDIT"; then
7420 ac_ct_NMEDIT=$NMEDIT
7421 # Extract the first word of "nmedit", so it can be a program name with args.
7422 set dummy nmedit; ac_word=$2
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7424 $as_echo_n "checking for $ac_word... " >&6; }
7425 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7426 $as_echo_n "(cached) " >&6
7428 if test -n "$ac_ct_NMEDIT"; then
7429 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7435 test -z "$as_dir" && as_dir=.
7436 for ac_exec_ext in '' $ac_executable_extensions; do
7437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7438 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7448 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7449 if test -n "$ac_ct_NMEDIT"; then
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7451 $as_echo "$ac_ct_NMEDIT" >&6; }
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7454 $as_echo "no" >&6; }
7457 if test "x$ac_ct_NMEDIT" = x; then
7460 case $cross_compiling:$ac_tool_warned in
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7464 ac_tool_warned=yes ;;
7466 NMEDIT=$ac_ct_NMEDIT
7469 NMEDIT="$ac_cv_prog_NMEDIT"
7472 if test -n "$ac_tool_prefix"; then
7473 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7474 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7476 $as_echo_n "checking for $ac_word... " >&6; }
7477 if ${ac_cv_prog_LIPO+:} false; then :
7478 $as_echo_n "(cached) " >&6
7480 if test -n "$LIPO"; then
7481 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7487 test -z "$as_dir" && as_dir=.
7488 for ac_exec_ext in '' $ac_executable_extensions; do
7489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7490 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7500 LIPO=$ac_cv_prog_LIPO
7501 if test -n "$LIPO"; then
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7503 $as_echo "$LIPO" >&6; }
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7506 $as_echo "no" >&6; }
7511 if test -z "$ac_cv_prog_LIPO"; then
7513 # Extract the first word of "lipo", so it can be a program name with args.
7514 set dummy lipo; ac_word=$2
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7516 $as_echo_n "checking for $ac_word... " >&6; }
7517 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7518 $as_echo_n "(cached) " >&6
7520 if test -n "$ac_ct_LIPO"; then
7521 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7527 test -z "$as_dir" && as_dir=.
7528 for ac_exec_ext in '' $ac_executable_extensions; do
7529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7530 ac_cv_prog_ac_ct_LIPO="lipo"
7531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7540 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7541 if test -n "$ac_ct_LIPO"; then
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7543 $as_echo "$ac_ct_LIPO" >&6; }
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7546 $as_echo "no" >&6; }
7549 if test "x$ac_ct_LIPO" = x; then
7552 case $cross_compiling:$ac_tool_warned in
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7556 ac_tool_warned=yes ;;
7561 LIPO="$ac_cv_prog_LIPO"
7564 if test -n "$ac_tool_prefix"; then
7565 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7566 set dummy ${ac_tool_prefix}otool; ac_word=$2
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7568 $as_echo_n "checking for $ac_word... " >&6; }
7569 if ${ac_cv_prog_OTOOL+:} false; then :
7570 $as_echo_n "(cached) " >&6
7572 if test -n "$OTOOL"; then
7573 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7579 test -z "$as_dir" && as_dir=.
7580 for ac_exec_ext in '' $ac_executable_extensions; do
7581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7582 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592 OTOOL=$ac_cv_prog_OTOOL
7593 if test -n "$OTOOL"; then
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7595 $as_echo "$OTOOL" >&6; }
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598 $as_echo "no" >&6; }
7603 if test -z "$ac_cv_prog_OTOOL"; then
7605 # Extract the first word of "otool", so it can be a program name with args.
7606 set dummy otool; ac_word=$2
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7608 $as_echo_n "checking for $ac_word... " >&6; }
7609 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7610 $as_echo_n "(cached) " >&6
7612 if test -n "$ac_ct_OTOOL"; then
7613 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7619 test -z "$as_dir" && as_dir=.
7620 for ac_exec_ext in '' $ac_executable_extensions; do
7621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7622 ac_cv_prog_ac_ct_OTOOL="otool"
7623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7632 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7633 if test -n "$ac_ct_OTOOL"; then
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7635 $as_echo "$ac_ct_OTOOL" >&6; }
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7638 $as_echo "no" >&6; }
7641 if test "x$ac_ct_OTOOL" = x; then
7644 case $cross_compiling:$ac_tool_warned in
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7648 ac_tool_warned=yes ;;
7653 OTOOL="$ac_cv_prog_OTOOL"
7656 if test -n "$ac_tool_prefix"; then
7657 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7658 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7660 $as_echo_n "checking for $ac_word... " >&6; }
7661 if ${ac_cv_prog_OTOOL64+:} false; then :
7662 $as_echo_n "(cached) " >&6
7664 if test -n "$OTOOL64"; then
7665 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7671 test -z "$as_dir" && as_dir=.
7672 for ac_exec_ext in '' $ac_executable_extensions; do
7673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7674 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7684 OTOOL64=$ac_cv_prog_OTOOL64
7685 if test -n "$OTOOL64"; then
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7687 $as_echo "$OTOOL64" >&6; }
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7690 $as_echo "no" >&6; }
7695 if test -z "$ac_cv_prog_OTOOL64"; then
7696 ac_ct_OTOOL64=$OTOOL64
7697 # Extract the first word of "otool64", so it can be a program name with args.
7698 set dummy otool64; ac_word=$2
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7700 $as_echo_n "checking for $ac_word... " >&6; }
7701 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7702 $as_echo_n "(cached) " >&6
7704 if test -n "$ac_ct_OTOOL64"; then
7705 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7711 test -z "$as_dir" && as_dir=.
7712 for ac_exec_ext in '' $ac_executable_extensions; do
7713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7714 ac_cv_prog_ac_ct_OTOOL64="otool64"
7715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7724 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7725 if test -n "$ac_ct_OTOOL64"; then
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7727 $as_echo "$ac_ct_OTOOL64" >&6; }
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7730 $as_echo "no" >&6; }
7733 if test "x$ac_ct_OTOOL64" = x; then
7736 case $cross_compiling:$ac_tool_warned in
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7740 ac_tool_warned=yes ;;
7742 OTOOL64=$ac_ct_OTOOL64
7745 OTOOL64="$ac_cv_prog_OTOOL64"
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7775 $as_echo_n "checking for -single_module linker flag... " >&6; }
7776 if ${lt_cv_apple_cc_single_mod+:} false; then :
7777 $as_echo_n "(cached) " >&6
7779 lt_cv_apple_cc_single_mod=no
7780 if test -z "${LT_MULTI_MODULE}"; then
7781 # By default we will add the -single_module flag. You can override
7782 # by either setting the environment variable LT_MULTI_MODULE
7783 # non-empty at configure time, or by adding -multi_module to the
7785 rm -rf libconftest.dylib*
7786 echo "int foo(void){return 1;}" > conftest.c
7787 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7788 -dynamiclib -Wl,-single_module conftest.c" >&5
7789 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7790 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7792 # If there is a non-empty error log, and "single_module"
7793 # appears in it, assume the flag caused a linker warning
7794 if test -s conftest.err && $GREP single_module conftest.err; then
7795 cat conftest.err >&5
7796 # Otherwise, if the output was created with a 0 exit code from
7797 # the compiler, it worked.
7798 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7799 lt_cv_apple_cc_single_mod=yes
7801 cat conftest.err >&5
7803 rm -rf libconftest.dylib*
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7808 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7811 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7812 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7813 $as_echo_n "(cached) " >&6
7815 lt_cv_ld_exported_symbols_list=no
7816 save_LDFLAGS=$LDFLAGS
7817 echo "_main" > conftest.sym
7818 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7820 /* end confdefs.h. */
7830 if ac_fn_c_try_link "$LINENO"; then :
7831 lt_cv_ld_exported_symbols_list=yes
7833 lt_cv_ld_exported_symbols_list=no
7835 rm -f core conftest.err conftest.$ac_objext \
7836 conftest$ac_exeext conftest.$ac_ext
7837 LDFLAGS="$save_LDFLAGS"
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7841 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7844 $as_echo_n "checking for -force_load linker flag... " >&6; }
7845 if ${lt_cv_ld_force_load+:} false; then :
7846 $as_echo_n "(cached) " >&6
7848 lt_cv_ld_force_load=no
7849 cat > conftest.c << _LT_EOF
7850 int forced_loaded() { return 2;}
7852 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7853 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7854 echo "$AR cru libconftest.a conftest.o" >&5
7855 $AR cru libconftest.a conftest.o 2>&5
7856 echo "$RANLIB libconftest.a" >&5
7857 $RANLIB libconftest.a 2>&5
7858 cat > conftest.c << _LT_EOF
7859 int main() { return 0;}
7861 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7862 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7864 if test -s conftest.err && $GREP force_load conftest.err; then
7865 cat conftest.err >&5
7866 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7867 lt_cv_ld_force_load=yes
7869 cat conftest.err >&5
7871 rm -f conftest.err libconftest.a conftest conftest.c
7872 rm -rf conftest.dSYM
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7876 $as_echo "$lt_cv_ld_force_load" >&6; }
7878 rhapsody* | darwin1.[012])
7879 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7881 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7882 darwin*) # darwin 5.x on
7883 # if running on 10.5 or later, the deployment target defaults
7884 # to the OS version, if on x86, and 10.4, the deployment
7885 # target defaults to 10.4. Don't you love it?
7886 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7887 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7888 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7890 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7892 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7896 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7897 _lt_dar_single_mod='$single_module'
7899 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7900 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7902 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7904 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7905 _lt_dsymutil='~$DSYMUTIL $lib || :'
7913 ac_cpp='$CPP $CPPFLAGS'
7914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7918 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7919 # On Suns, sometimes $CPP names a directory.
7920 if test -n "$CPP" && test -d "$CPP"; then
7923 if test -z "$CPP"; then
7924 if ${ac_cv_prog_CPP+:} false; then :
7925 $as_echo_n "(cached) " >&6
7927 # Double quotes because CPP needs to be expanded
7928 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7931 for ac_c_preproc_warn_flag in '' yes
7933 # Use a header file that comes with gcc, so configuring glibc
7934 # with a fresh cross-compiler works.
7935 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7936 # <limits.h> exists even on freestanding compilers.
7937 # On the NeXT, cc -E runs the code through the compiler's parser,
7938 # not just through cpp. "Syntax error" is here to catch this case.
7939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7940 /* end confdefs.h. */
7942 # include <limits.h>
7944 # include <assert.h>
7948 if ac_fn_c_try_cpp "$LINENO"; then :
7951 # Broken: fails on valid input.
7954 rm -f conftest.err conftest.i conftest.$ac_ext
7956 # OK, works on sane cases. Now check whether nonexistent headers
7957 # can be detected and how.
7958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7959 /* end confdefs.h. */
7960 #include <ac_nonexistent.h>
7962 if ac_fn_c_try_cpp "$LINENO"; then :
7963 # Broken: success on invalid input.
7966 # Passes both tests.
7970 rm -f conftest.err conftest.i conftest.$ac_ext
7973 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7974 rm -f conftest.i conftest.err conftest.$ac_ext
7975 if $ac_preproc_ok; then :
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7988 $as_echo "$CPP" >&6; }
7990 for ac_c_preproc_warn_flag in '' yes
7992 # Use a header file that comes with gcc, so configuring glibc
7993 # with a fresh cross-compiler works.
7994 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7995 # <limits.h> exists even on freestanding compilers.
7996 # On the NeXT, cc -E runs the code through the compiler's parser,
7997 # not just through cpp. "Syntax error" is here to catch this case.
7998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7999 /* end confdefs.h. */
8001 # include <limits.h>
8003 # include <assert.h>
8007 if ac_fn_c_try_cpp "$LINENO"; then :
8010 # Broken: fails on valid input.
8013 rm -f conftest.err conftest.i conftest.$ac_ext
8015 # OK, works on sane cases. Now check whether nonexistent headers
8016 # can be detected and how.
8017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8018 /* end confdefs.h. */
8019 #include <ac_nonexistent.h>
8021 if ac_fn_c_try_cpp "$LINENO"; then :
8022 # Broken: success on invalid input.
8025 # Passes both tests.
8029 rm -f conftest.err conftest.i conftest.$ac_ext
8032 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8033 rm -f conftest.i conftest.err conftest.$ac_ext
8034 if $ac_preproc_ok; then :
8037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8039 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8040 See \`config.log' for more details" "$LINENO" 5; }
8044 ac_cpp='$CPP $CPPFLAGS'
8045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8051 $as_echo_n "checking for ANSI C header files... " >&6; }
8052 if ${ac_cv_header_stdc+:} false; then :
8053 $as_echo_n "(cached) " >&6
8055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8056 /* end confdefs.h. */
8070 if ac_fn_c_try_compile "$LINENO"; then :
8071 ac_cv_header_stdc=yes
8073 ac_cv_header_stdc=no
8075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8077 if test $ac_cv_header_stdc = yes; then
8078 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8080 /* end confdefs.h. */
8084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8085 $EGREP "memchr" >/dev/null 2>&1; then :
8088 ac_cv_header_stdc=no
8094 if test $ac_cv_header_stdc = yes; then
8095 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8097 /* end confdefs.h. */
8101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8102 $EGREP "free" >/dev/null 2>&1; then :
8105 ac_cv_header_stdc=no
8111 if test $ac_cv_header_stdc = yes; then
8112 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8113 if test "$cross_compiling" = yes; then :
8116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8117 /* end confdefs.h. */
8120 #if ((' ' & 0x0FF) == 0x020)
8121 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8122 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8124 # define ISLOWER(c) \
8125 (('a' <= (c) && (c) <= 'i') \
8126 || ('j' <= (c) && (c) <= 'r') \
8127 || ('s' <= (c) && (c) <= 'z'))
8128 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8131 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8136 for (i = 0; i < 256; i++)
8137 if (XOR (islower (i), ISLOWER (i))
8138 || toupper (i) != TOUPPER (i))
8143 if ac_fn_c_try_run "$LINENO"; then :
8146 ac_cv_header_stdc=no
8148 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8149 conftest.$ac_objext conftest.beam conftest.$ac_ext
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8155 $as_echo "$ac_cv_header_stdc" >&6; }
8156 if test $ac_cv_header_stdc = yes; then
8158 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8162 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8163 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8164 inttypes.h stdint.h unistd.h
8166 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8167 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8169 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8170 cat >>confdefs.h <<_ACEOF
8171 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8179 for ac_header in dlfcn.h
8181 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8183 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8184 cat >>confdefs.h <<_ACEOF
8185 #define HAVE_DLFCN_H 1
8195 func_stripname_cnf ()
8198 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8199 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8201 } # func_stripname_cnf
8208 enable_win32_dll=yes
8211 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8212 if test -n "$ac_tool_prefix"; then
8213 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8214 set dummy ${ac_tool_prefix}as; ac_word=$2
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8216 $as_echo_n "checking for $ac_word... " >&6; }
8217 if ${ac_cv_prog_AS+:} false; then :
8218 $as_echo_n "(cached) " >&6
8220 if test -n "$AS"; then
8221 ac_cv_prog_AS="$AS" # Let the user override the test.
8223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8227 test -z "$as_dir" && as_dir=.
8228 for ac_exec_ext in '' $ac_executable_extensions; do
8229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8230 ac_cv_prog_AS="${ac_tool_prefix}as"
8231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8241 if test -n "$AS"; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8243 $as_echo "$AS" >&6; }
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8251 if test -z "$ac_cv_prog_AS"; then
8253 # Extract the first word of "as", so it can be a program name with args.
8254 set dummy as; ac_word=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8256 $as_echo_n "checking for $ac_word... " >&6; }
8257 if ${ac_cv_prog_ac_ct_AS+:} false; then :
8258 $as_echo_n "(cached) " >&6
8260 if test -n "$ac_ct_AS"; then
8261 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8267 test -z "$as_dir" && as_dir=.
8268 for ac_exec_ext in '' $ac_executable_extensions; do
8269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8270 ac_cv_prog_ac_ct_AS="as"
8271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8280 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8281 if test -n "$ac_ct_AS"; then
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8283 $as_echo "$ac_ct_AS" >&6; }
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286 $as_echo "no" >&6; }
8289 if test "x$ac_ct_AS" = x; then
8292 case $cross_compiling:$ac_tool_warned in
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8296 ac_tool_warned=yes ;;
8304 if test -n "$ac_tool_prefix"; then
8305 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8306 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8308 $as_echo_n "checking for $ac_word... " >&6; }
8309 if ${ac_cv_prog_DLLTOOL+:} false; then :
8310 $as_echo_n "(cached) " >&6
8312 if test -n "$DLLTOOL"; then
8313 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8319 test -z "$as_dir" && as_dir=.
8320 for ac_exec_ext in '' $ac_executable_extensions; do
8321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8322 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8332 DLLTOOL=$ac_cv_prog_DLLTOOL
8333 if test -n "$DLLTOOL"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8335 $as_echo "$DLLTOOL" >&6; }
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8343 if test -z "$ac_cv_prog_DLLTOOL"; then
8344 ac_ct_DLLTOOL=$DLLTOOL
8345 # Extract the first word of "dlltool", so it can be a program name with args.
8346 set dummy dlltool; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8350 $as_echo_n "(cached) " >&6
8352 if test -n "$ac_ct_DLLTOOL"; then
8353 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8359 test -z "$as_dir" && as_dir=.
8360 for ac_exec_ext in '' $ac_executable_extensions; do
8361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8372 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8373 if test -n "$ac_ct_DLLTOOL"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8375 $as_echo "$ac_ct_DLLTOOL" >&6; }
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8381 if test "x$ac_ct_DLLTOOL" = x; then
8384 case $cross_compiling:$ac_tool_warned in
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8388 ac_tool_warned=yes ;;
8390 DLLTOOL=$ac_ct_DLLTOOL
8393 DLLTOOL="$ac_cv_prog_DLLTOOL"
8396 if test -n "$ac_tool_prefix"; then
8397 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8398 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8400 $as_echo_n "checking for $ac_word... " >&6; }
8401 if ${ac_cv_prog_OBJDUMP+:} false; then :
8402 $as_echo_n "(cached) " >&6
8404 if test -n "$OBJDUMP"; then
8405 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8411 test -z "$as_dir" && as_dir=.
8412 for ac_exec_ext in '' $ac_executable_extensions; do
8413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8414 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8424 OBJDUMP=$ac_cv_prog_OBJDUMP
8425 if test -n "$OBJDUMP"; then
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8427 $as_echo "$OBJDUMP" >&6; }
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8430 $as_echo "no" >&6; }
8435 if test -z "$ac_cv_prog_OBJDUMP"; then
8436 ac_ct_OBJDUMP=$OBJDUMP
8437 # Extract the first word of "objdump", so it can be a program name with args.
8438 set dummy objdump; ac_word=$2
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8440 $as_echo_n "checking for $ac_word... " >&6; }
8441 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8442 $as_echo_n "(cached) " >&6
8444 if test -n "$ac_ct_OBJDUMP"; then
8445 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8451 test -z "$as_dir" && as_dir=.
8452 for ac_exec_ext in '' $ac_executable_extensions; do
8453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8454 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8464 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8465 if test -n "$ac_ct_OBJDUMP"; then
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8467 $as_echo "$ac_ct_OBJDUMP" >&6; }
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470 $as_echo "no" >&6; }
8473 if test "x$ac_ct_OBJDUMP" = x; then
8476 case $cross_compiling:$ac_tool_warned in
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8480 ac_tool_warned=yes ;;
8482 OBJDUMP=$ac_ct_OBJDUMP
8485 OBJDUMP="$ac_cv_prog_OBJDUMP"
8491 test -z "$AS" && AS=as
8497 test -z "$DLLTOOL" && DLLTOOL=dlltool
8503 test -z "$OBJDUMP" && OBJDUMP=objdump
8515 # Check whether --enable-shared was given.
8516 if test "${enable_shared+set}" = set; then :
8517 enableval=$enable_shared; p=${PACKAGE-default}
8519 yes) enable_shared=yes ;;
8520 no) enable_shared=no ;;
8523 # Look at the argument we got. We use all the common list separators.
8524 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8525 for pkg in $enableval; do
8527 if test "X$pkg" = "X$p"; then
8548 # Check whether --with-pic was given.
8549 if test "${with_pic+set}" = set; then :
8550 withval=$with_pic; lt_p=${PACKAGE-default}
8552 yes|no) pic_mode=$withval ;;
8555 # Look at the argument we got. We use all the common list separators.
8556 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8557 for lt_pkg in $withval; do
8559 if test "X$lt_pkg" = "X$lt_p"; then
8571 test -z "$pic_mode" && pic_mode=default
8579 # Check whether --enable-fast-install was given.
8580 if test "${enable_fast_install+set}" = set; then :
8581 enableval=$enable_fast_install; p=${PACKAGE-default}
8583 yes) enable_fast_install=yes ;;
8584 no) enable_fast_install=no ;;
8586 enable_fast_install=no
8587 # Look at the argument we got. We use all the common list separators.
8588 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8589 for pkg in $enableval; do
8591 if test "X$pkg" = "X$p"; then
8592 enable_fast_install=yes
8599 enable_fast_install=yes
8612 # This can be used to rebuild libtool when needed
8613 LIBTOOL_DEPS="$ltmain"
8615 # Always use our own libtool.
8616 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8647 test -z "$LN_S" && LN_S="ln -s"
8662 if test -n "${ZSH_VERSION+set}" ; then
8663 setopt NO_GLOB_SUBST
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8667 $as_echo_n "checking for objdir... " >&6; }
8668 if ${lt_cv_objdir+:} false; then :
8669 $as_echo_n "(cached) " >&6
8671 rm -f .libs 2>/dev/null
8672 mkdir .libs 2>/dev/null
8673 if test -d .libs; then
8676 # MS-DOS does not allow filenames that begin with a dot.
8679 rmdir .libs 2>/dev/null
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8682 $as_echo "$lt_cv_objdir" >&6; }
8683 objdir=$lt_cv_objdir
8689 cat >>confdefs.h <<_ACEOF
8690 #define LT_OBJDIR "$lt_cv_objdir/"
8698 # AIX sometimes has problems with the GCC collect2 program. For some
8699 # reason, if we set the COLLECT_NAMES environment variable, the problems
8700 # vanish in a puff of smoke.
8701 if test "X${COLLECT_NAMES+set}" != Xset; then
8703 export COLLECT_NAMES
8710 can_build_shared=yes
8712 # All known linkers require a `.a' archive for static linking (except MSVC,
8713 # which needs '.lib').
8716 with_gnu_ld="$lt_cv_prog_gnu_ld"
8719 old_CFLAGS="$CFLAGS"
8721 # Set sane defaults for various variables
8722 test -z "$CC" && CC=cc
8723 test -z "$LTCC" && LTCC=$CC
8724 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8725 test -z "$LD" && LD=ld
8726 test -z "$ac_objext" && ac_objext=o
8728 for cc_temp in $compiler""; do
8730 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8731 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8736 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8739 # Only perform the check for file, if the check method requires it
8740 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8741 case $deplibs_check_method in
8743 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8745 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8746 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8747 $as_echo_n "(cached) " >&6
8751 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8754 lt_save_MAGIC_CMD="$MAGIC_CMD"
8755 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8756 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8757 for ac_dir in $ac_dummy; do
8759 test -z "$ac_dir" && ac_dir=.
8760 if test -f $ac_dir/${ac_tool_prefix}file; then
8761 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8762 if test -n "$file_magic_test_file"; then
8763 case $deplibs_check_method in
8765 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8766 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8767 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8768 $EGREP "$file_magic_regex" > /dev/null; then
8773 *** Warning: the command libtool uses to detect shared libraries,
8774 *** $file_magic_cmd, produces output that libtool cannot recognize.
8775 *** The result is that libtool may fail to recognize shared libraries
8776 *** as such. This will affect the creation of libtool libraries that
8777 *** depend on shared libraries, but programs linked with such libtool
8778 *** libraries will work regardless of this problem. Nevertheless, you
8779 *** may want to report the problem to your system manager and/or to
8780 *** bug-libtool@gnu.org
8790 MAGIC_CMD="$lt_save_MAGIC_CMD"
8795 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8796 if test -n "$MAGIC_CMD"; then
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8798 $as_echo "$MAGIC_CMD" >&6; }
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8801 $as_echo "no" >&6; }
8808 if test -z "$lt_cv_path_MAGIC_CMD"; then
8809 if test -n "$ac_tool_prefix"; then
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8811 $as_echo_n "checking for file... " >&6; }
8812 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8813 $as_echo_n "(cached) " >&6
8817 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8820 lt_save_MAGIC_CMD="$MAGIC_CMD"
8821 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8822 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8823 for ac_dir in $ac_dummy; do
8825 test -z "$ac_dir" && ac_dir=.
8826 if test -f $ac_dir/file; then
8827 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8828 if test -n "$file_magic_test_file"; then
8829 case $deplibs_check_method in
8831 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8832 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8833 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8834 $EGREP "$file_magic_regex" > /dev/null; then
8839 *** Warning: the command libtool uses to detect shared libraries,
8840 *** $file_magic_cmd, produces output that libtool cannot recognize.
8841 *** The result is that libtool may fail to recognize shared libraries
8842 *** as such. This will affect the creation of libtool libraries that
8843 *** depend on shared libraries, but programs linked with such libtool
8844 *** libraries will work regardless of this problem. Nevertheless, you
8845 *** may want to report the problem to your system manager and/or to
8846 *** bug-libtool@gnu.org
8856 MAGIC_CMD="$lt_save_MAGIC_CMD"
8861 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8862 if test -n "$MAGIC_CMD"; then
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8864 $as_echo "$MAGIC_CMD" >&6; }
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8867 $as_echo "no" >&6; }
8880 # Use C for the default configuration in the libtool script
8884 ac_cpp='$CPP $CPPFLAGS'
8885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8890 # Source file extension for C test sources.
8893 # Object file extension for compiled C test sources.
8897 # Code to be used in simple compile tests
8898 lt_simple_compile_test_code="int some_variable = 0;"
8900 # Code to be used in simple link tests
8901 lt_simple_link_test_code='int main(){return(0);}'
8909 # If no C compiler was specified, use CC.
8912 # If no C compiler flags were specified, use CFLAGS.
8913 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8915 # Allow CC to be a program name with arguments.
8918 # Save the default compiler, since it gets overwritten when the other
8919 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8920 compiler_DEFAULT=$CC
8922 # save warnings/boilerplate of simple test code
8923 ac_outfile=conftest.$ac_objext
8924 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8925 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8926 _lt_compiler_boilerplate=`cat conftest.err`
8929 ac_outfile=conftest.$ac_objext
8930 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8931 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8932 _lt_linker_boilerplate=`cat conftest.err`
8937 ## There is no encapsulation within the following macros, do not change
8938 ## the running order or otherwise move them around unless you know exactly
8939 ## what you are doing...
8940 if test -n "$compiler"; then
8942 lt_prog_compiler_no_builtin_flag=
8944 if test "$GCC" = yes; then
8945 case $cc_basename in
8947 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8949 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8953 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8954 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8955 $as_echo_n "(cached) " >&6
8957 lt_cv_prog_compiler_rtti_exceptions=no
8958 ac_outfile=conftest.$ac_objext
8959 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8960 lt_compiler_flag="-fno-rtti -fno-exceptions"
8961 # Insert the option either (1) after the last *FLAGS variable, or
8962 # (2) before a word containing "conftest.", or (3) at the end.
8963 # Note that $ac_compile itself does not contain backslashes and begins
8964 # with a dollar sign (not a hyphen), so the echo should work correctly.
8965 # The option is referenced via a variable to avoid confusing sed.
8966 lt_compile=`echo "$ac_compile" | $SED \
8967 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8968 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8969 -e 's:$: $lt_compiler_flag:'`
8970 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8971 (eval "$lt_compile" 2>conftest.err)
8973 cat conftest.err >&5
8974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 if (exit $ac_status) && test -s "$ac_outfile"; then
8976 # The compiler can only warn and ignore the option if not recognized
8977 # So say no if there are warnings other than the usual output.
8978 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8979 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8980 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8981 lt_cv_prog_compiler_rtti_exceptions=yes
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8988 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8990 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8991 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9003 lt_prog_compiler_wl=
9004 lt_prog_compiler_pic=
9005 lt_prog_compiler_static=
9008 if test "$GCC" = yes; then
9009 lt_prog_compiler_wl='-Wl,'
9010 lt_prog_compiler_static='-static'
9014 # All AIX code is PIC.
9015 if test "$host_cpu" = ia64; then
9016 # AIX 5 now supports IA64 processor
9017 lt_prog_compiler_static='-Bstatic'
9024 # see comment about AmigaOS4 .so support
9025 lt_prog_compiler_pic='-fPIC'
9028 # FIXME: we need at least 68020 code to build shared libraries, but
9029 # adding the `-m68020' flag to GCC prevents building anything better,
9031 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9036 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9037 # PIC is the default for these OSes.
9040 mingw* | cygwin* | pw32* | os2* | cegcc*)
9041 # This hack is so that the source file can tell whether it is being
9042 # built for inclusion in a dll (and should export symbols for example).
9043 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9044 # (--disable-auto-import) libraries
9045 lt_prog_compiler_pic='-DDLL_EXPORT'
9048 darwin* | rhapsody*)
9049 # PIC is the default on this platform
9050 # Common symbols not allowed in MH_DYLIB files
9051 lt_prog_compiler_pic='-fno-common'
9055 # PIC is the default for Haiku.
9056 # The "-static" flag exists, but is broken.
9057 lt_prog_compiler_static=
9061 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9062 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9063 # sets the default TLS model and affects inlining.
9069 lt_prog_compiler_pic='-fPIC'
9075 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9076 # Instead, we relocate shared libraries at runtime.
9080 # Just because we use GCC doesn't mean we suddenly get shared libraries
9081 # on systems that don't support them.
9082 lt_prog_compiler_can_build_shared=no
9087 # QNX uses GNU C++, but need to define -shared option too, otherwise
9089 lt_prog_compiler_pic='-fPIC -shared'
9093 if test -d /usr/nec; then
9094 lt_prog_compiler_pic=-Kconform_pic
9099 lt_prog_compiler_pic='-fPIC'
9103 case $cc_basename in
9104 nvcc*) # Cuda Compiler Driver 2.2
9105 lt_prog_compiler_wl='-Xlinker '
9106 if test -n "$lt_prog_compiler_pic"; then
9107 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9112 # PORTME Check for flag to pass linker flags through the system compiler.
9115 lt_prog_compiler_wl='-Wl,'
9116 if test "$host_cpu" = ia64; then
9117 # AIX 5 now supports IA64 processor
9118 lt_prog_compiler_static='-Bstatic'
9120 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9124 mingw* | cygwin* | pw32* | os2* | cegcc*)
9125 # This hack is so that the source file can tell whether it is being
9126 # built for inclusion in a dll (and should export symbols for example).
9127 lt_prog_compiler_pic='-DDLL_EXPORT'
9130 hpux9* | hpux10* | hpux11*)
9131 lt_prog_compiler_wl='-Wl,'
9132 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9139 lt_prog_compiler_pic='+Z'
9142 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9143 lt_prog_compiler_static='${wl}-a ${wl}archive'
9146 irix5* | irix6* | nonstopux*)
9147 lt_prog_compiler_wl='-Wl,'
9148 # PIC (with -KPIC) is the default.
9149 lt_prog_compiler_static='-non_shared'
9152 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9153 case $cc_basename in
9154 # old Intel for x86_64 which still supported -KPIC.
9156 lt_prog_compiler_wl='-Wl,'
9157 lt_prog_compiler_pic='-KPIC'
9158 lt_prog_compiler_static='-static'
9160 # icc used to be incompatible with GCC.
9161 # ICC 10 doesn't accept -KPIC any more.
9163 lt_prog_compiler_wl='-Wl,'
9164 lt_prog_compiler_pic='-fPIC'
9165 lt_prog_compiler_static='-static'
9167 # Lahey Fortran 8.1.
9169 lt_prog_compiler_wl='-Wl,'
9170 lt_prog_compiler_pic='--shared'
9171 lt_prog_compiler_static='--static'
9174 # NAG Fortran compiler
9175 lt_prog_compiler_wl='-Wl,-Wl,,'
9176 lt_prog_compiler_pic='-PIC'
9177 lt_prog_compiler_static='-Bstatic'
9179 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9180 # Portland Group compilers (*not* the Pentium gcc compiler,
9181 # which looks to be a dead project)
9182 lt_prog_compiler_wl='-Wl,'
9183 lt_prog_compiler_pic='-fpic'
9184 lt_prog_compiler_static='-Bstatic'
9187 lt_prog_compiler_wl='-Wl,'
9188 # All Alpha code is PIC.
9189 lt_prog_compiler_static='-non_shared'
9191 xl* | bgxl* | bgf* | mpixl*)
9192 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9193 lt_prog_compiler_wl='-Wl,'
9194 lt_prog_compiler_pic='-qpic'
9195 lt_prog_compiler_static='-qstaticlink'
9198 case `$CC -V 2>&1 | sed 5q` in
9199 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9200 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9201 lt_prog_compiler_pic='-KPIC'
9202 lt_prog_compiler_static='-Bstatic'
9203 lt_prog_compiler_wl=''
9205 *Sun\ F* | *Sun*Fortran*)
9206 lt_prog_compiler_pic='-KPIC'
9207 lt_prog_compiler_static='-Bstatic'
9208 lt_prog_compiler_wl='-Qoption ld '
9212 lt_prog_compiler_pic='-KPIC'
9213 lt_prog_compiler_static='-Bstatic'
9214 lt_prog_compiler_wl='-Wl,'
9216 *Intel*\ [CF]*Compiler*)
9217 lt_prog_compiler_wl='-Wl,'
9218 lt_prog_compiler_pic='-fPIC'
9219 lt_prog_compiler_static='-static'
9222 lt_prog_compiler_wl='-Wl,'
9223 lt_prog_compiler_pic='-fpic'
9224 lt_prog_compiler_static='-Bstatic'
9232 lt_prog_compiler_pic='-KPIC'
9233 lt_prog_compiler_static='-Bstatic'
9237 # QNX uses GNU C++, but need to define -shared option too, otherwise
9239 lt_prog_compiler_pic='-fPIC -shared'
9242 osf3* | osf4* | osf5*)
9243 lt_prog_compiler_wl='-Wl,'
9244 # All OSF/1 code is PIC.
9245 lt_prog_compiler_static='-non_shared'
9249 lt_prog_compiler_static='-non_shared'
9253 lt_prog_compiler_pic='-KPIC'
9254 lt_prog_compiler_static='-Bstatic'
9255 case $cc_basename in
9256 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9257 lt_prog_compiler_wl='-Qoption ld ';;
9259 lt_prog_compiler_wl='-Wl,';;
9264 lt_prog_compiler_wl='-Qoption ld '
9265 lt_prog_compiler_pic='-PIC'
9266 lt_prog_compiler_static='-Bstatic'
9269 sysv4 | sysv4.2uw2* | sysv4.3*)
9270 lt_prog_compiler_wl='-Wl,'
9271 lt_prog_compiler_pic='-KPIC'
9272 lt_prog_compiler_static='-Bstatic'
9276 if test -d /usr/nec ;then
9277 lt_prog_compiler_pic='-Kconform_pic'
9278 lt_prog_compiler_static='-Bstatic'
9282 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9283 lt_prog_compiler_wl='-Wl,'
9284 lt_prog_compiler_pic='-KPIC'
9285 lt_prog_compiler_static='-Bstatic'
9289 lt_prog_compiler_wl='-Wl,'
9290 lt_prog_compiler_can_build_shared=no
9294 lt_prog_compiler_pic='-pic'
9295 lt_prog_compiler_static='-Bstatic'
9299 lt_prog_compiler_can_build_shared=no
9305 # For platforms which do not support PIC, -DPIC is meaningless:
9307 lt_prog_compiler_pic=
9310 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9315 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9316 if ${lt_cv_prog_compiler_pic+:} false; then :
9317 $as_echo_n "(cached) " >&6
9319 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9322 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9323 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9326 # Check to make sure the PIC flag actually works.
9328 if test -n "$lt_prog_compiler_pic"; then
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9330 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9331 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9332 $as_echo_n "(cached) " >&6
9334 lt_cv_prog_compiler_pic_works=no
9335 ac_outfile=conftest.$ac_objext
9336 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9337 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9338 # Insert the option either (1) after the last *FLAGS variable, or
9339 # (2) before a word containing "conftest.", or (3) at the end.
9340 # Note that $ac_compile itself does not contain backslashes and begins
9341 # with a dollar sign (not a hyphen), so the echo should work correctly.
9342 # The option is referenced via a variable to avoid confusing sed.
9343 lt_compile=`echo "$ac_compile" | $SED \
9344 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9345 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9346 -e 's:$: $lt_compiler_flag:'`
9347 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9348 (eval "$lt_compile" 2>conftest.err)
9350 cat conftest.err >&5
9351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9352 if (exit $ac_status) && test -s "$ac_outfile"; then
9353 # The compiler can only warn and ignore the option if not recognized
9354 # So say no if there are warnings other than the usual output.
9355 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9356 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9357 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9358 lt_cv_prog_compiler_pic_works=yes
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9365 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9367 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9368 case $lt_prog_compiler_pic in
9370 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9373 lt_prog_compiler_pic=
9374 lt_prog_compiler_can_build_shared=no
9390 # Check to make sure the static flag actually works.
9392 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9394 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9395 if ${lt_cv_prog_compiler_static_works+:} false; then :
9396 $as_echo_n "(cached) " >&6
9398 lt_cv_prog_compiler_static_works=no
9399 save_LDFLAGS="$LDFLAGS"
9400 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9401 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9402 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9403 # The linker can only warn and ignore the option if not recognized
9404 # So say no if there are warnings
9405 if test -s conftest.err; then
9406 # Append any errors to the config.log.
9407 cat conftest.err 1>&5
9408 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9409 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9410 if diff conftest.exp conftest.er2 >/dev/null; then
9411 lt_cv_prog_compiler_static_works=yes
9414 lt_cv_prog_compiler_static_works=yes
9418 LDFLAGS="$save_LDFLAGS"
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9422 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9424 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9427 lt_prog_compiler_static=
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9437 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9438 if ${lt_cv_prog_compiler_c_o+:} false; then :
9439 $as_echo_n "(cached) " >&6
9441 lt_cv_prog_compiler_c_o=no
9442 $RM -r conftest 2>/dev/null
9446 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9448 lt_compiler_flag="-o out/conftest2.$ac_objext"
9449 # Insert the option either (1) after the last *FLAGS variable, or
9450 # (2) before a word containing "conftest.", or (3) at the end.
9451 # Note that $ac_compile itself does not contain backslashes and begins
9452 # with a dollar sign (not a hyphen), so the echo should work correctly.
9453 lt_compile=`echo "$ac_compile" | $SED \
9454 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9455 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9456 -e 's:$: $lt_compiler_flag:'`
9457 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9458 (eval "$lt_compile" 2>out/conftest.err)
9460 cat out/conftest.err >&5
9461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9464 # The compiler can only warn and ignore the option if not recognized
9465 # So say no if there are warnings
9466 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9467 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9468 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9469 lt_cv_prog_compiler_c_o=yes
9474 # SGI C++ compiler will create directory out/ii_files/ for
9475 # template instantiation
9476 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9477 $RM out/* && rmdir out
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9484 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9492 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9493 if ${lt_cv_prog_compiler_c_o+:} false; then :
9494 $as_echo_n "(cached) " >&6
9496 lt_cv_prog_compiler_c_o=no
9497 $RM -r conftest 2>/dev/null
9501 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9503 lt_compiler_flag="-o out/conftest2.$ac_objext"
9504 # Insert the option either (1) after the last *FLAGS variable, or
9505 # (2) before a word containing "conftest.", or (3) at the end.
9506 # Note that $ac_compile itself does not contain backslashes and begins
9507 # with a dollar sign (not a hyphen), so the echo should work correctly.
9508 lt_compile=`echo "$ac_compile" | $SED \
9509 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9510 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9511 -e 's:$: $lt_compiler_flag:'`
9512 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9513 (eval "$lt_compile" 2>out/conftest.err)
9515 cat out/conftest.err >&5
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9519 # The compiler can only warn and ignore the option if not recognized
9520 # So say no if there are warnings
9521 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9522 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9523 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9524 lt_cv_prog_compiler_c_o=yes
9529 # SGI C++ compiler will create directory out/ii_files/ for
9530 # template instantiation
9531 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9532 $RM out/* && rmdir out
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9539 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9544 hard_links="nottested"
9545 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9546 # do not overwrite the value of need_locks provided by the user
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9548 $as_echo_n "checking if we can lock with hard links... " >&6; }
9551 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9553 ln conftest.a conftest.b 2>&5 || hard_links=no
9554 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9556 $as_echo "$hard_links" >&6; }
9557 if test "$hard_links" = no; then
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9559 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9572 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9575 allow_undefined_flag=
9576 always_export_symbols=no
9578 archive_expsym_cmds=
9579 compiler_needs_object=no
9580 enable_shared_with_static_runtimes=no
9581 export_dynamic_flag_spec=
9582 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9583 hardcode_automatic=no
9585 hardcode_direct_absolute=no
9586 hardcode_libdir_flag_spec=
9587 hardcode_libdir_separator=
9589 hardcode_shlibpath_var=unsupported
9591 link_all_deplibs=unknown
9594 old_archive_from_new_cmds=
9595 old_archive_from_expsyms_cmds=
9596 thread_safe_flag_spec=
9597 whole_archive_flag_spec=
9598 # include_expsyms should be a list of space-separated symbols to be *always*
9599 # included in the symbol list
9601 # exclude_expsyms can be an extended regexp of symbols to exclude
9602 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9603 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9604 # as well as any symbol that contains `d'.
9605 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9606 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9607 # platforms (ab)use it in PIC code, but their linkers get confused if
9608 # the symbol is explicitly referenced. Since portable code cannot
9609 # rely on this symbol name, it's probably fine to never include it in
9610 # preloaded symbol tables.
9611 # Exclude shared library initialization/finalization symbols.
9612 extract_expsyms_cmds=
9615 cygwin* | mingw* | pw32* | cegcc*)
9616 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9617 # When not using gcc, we currently assume that we are using
9618 # Microsoft Visual C++.
9619 if test "$GCC" != yes; then
9624 # we just hope/assume this is gcc and not c89 (= MSVC++)
9630 linux* | k*bsd*-gnu | gnu*)
9637 # On some targets, GNU ld is compatible enough with the native linker
9638 # that we're better off using the native interface for both.
9639 lt_use_gnu_ld_interface=no
9640 if test "$with_gnu_ld" = yes; then
9643 # The AIX port of GNU ld has always aspired to compatibility
9644 # with the native linker. However, as the warning in the GNU ld
9645 # block says, versions before 2.19.5* couldn't really create working
9646 # shared libraries, regardless of the interface used.
9647 case `$LD -v 2>&1` in
9648 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9649 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9650 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9652 lt_use_gnu_ld_interface=yes
9657 lt_use_gnu_ld_interface=yes
9662 if test "$lt_use_gnu_ld_interface" = yes; then
9663 # If archive_cmds runs LD, not CC, wlarc should be empty
9666 # Set some defaults for GNU ld with shared library support. These
9667 # are reset later if shared libraries are not supported. Putting them
9668 # here allows them to be overridden if necessary.
9669 runpath_var=LD_RUN_PATH
9670 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9671 export_dynamic_flag_spec='${wl}--export-dynamic'
9672 # ancient GNU ld didn't support --whole-archive et. al.
9673 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9674 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9676 whole_archive_flag_spec=
9678 supports_anon_versioning=no
9679 case `$LD -v 2>&1` in
9680 *GNU\ gold*) supports_anon_versioning=yes ;;
9681 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9682 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9683 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9684 *\ 2.11.*) ;; # other 2.11 versions
9685 *) supports_anon_versioning=yes ;;
9688 # See if GNU ld supports shared libraries.
9691 # On AIX/PPC, the GNU linker is very broken
9692 if test "$host_cpu" != ia64; then
9696 *** Warning: the GNU linker, at least up to release 2.19, is reported
9697 *** to be unable to reliably create shared libraries on AIX.
9698 *** Therefore, libtool is disabling shared libraries support. If you
9699 *** really care for shared libraries, you may want to install binutils
9700 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9701 *** You will then need to restart the configuration process.
9710 # see comment about AmigaOS4 .so support
9711 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9712 archive_expsym_cmds=''
9715 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)'
9716 hardcode_libdir_flag_spec='-L$libdir'
9717 hardcode_minus_L=yes
9723 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9724 allow_undefined_flag=unsupported
9725 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9726 # support --undefined. This deserves some investigation. FIXME
9727 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9733 cygwin* | mingw* | pw32* | cegcc*)
9734 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9735 # as there is no search path for DLLs.
9736 hardcode_libdir_flag_spec='-L$libdir'
9737 export_dynamic_flag_spec='${wl}--export-all-symbols'
9738 allow_undefined_flag=unsupported
9739 always_export_symbols=no
9740 enable_shared_with_static_runtimes=yes
9741 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9742 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9744 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9745 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9746 # If the export-symbols file already is a .def file (1st line
9747 # is EXPORTS), use it as is; otherwise, prepend...
9748 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9749 cp $export_symbols $output_objdir/$soname.def;
9751 echo EXPORTS > $output_objdir/$soname.def;
9752 cat $export_symbols >> $output_objdir/$soname.def;
9754 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9761 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9762 link_all_deplibs=yes
9767 hardcode_shlibpath_var=no
9768 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9769 export_dynamic_flag_spec='${wl}-E'
9770 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9771 # Instead, shared libraries are loaded at an image base (0x10000000 by
9772 # default) and relocated if they conflict, which is a slow very memory
9773 # consuming and fragmenting process. To avoid this, we pick a random,
9774 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9775 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9776 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9777 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'
9780 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9782 if test "$host_os" = linux-dietlibc; then
9783 case $cc_basename in
9784 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9787 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9788 && test "$tmp_diet" = no
9790 tmp_addflag=' $pic_flag'
9791 tmp_sharedflag='-shared'
9792 case $cc_basename,$host_cpu in
9793 pgcc*) # Portland Group C compiler
9794 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9795 tmp_addflag=' $pic_flag'
9797 pgf77* | pgf90* | pgf95* | pgfortran*)
9798 # Portland Group f77 and f90 compilers
9799 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9800 tmp_addflag=' $pic_flag -Mnomain' ;;
9801 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9802 tmp_addflag=' -i_dynamic' ;;
9803 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9804 tmp_addflag=' -i_dynamic -nofor_main' ;;
9805 ifc* | ifort*) # Intel Fortran compiler
9806 tmp_addflag=' -nofor_main' ;;
9807 lf95*) # Lahey Fortran 8.1
9808 whole_archive_flag_spec=
9809 tmp_sharedflag='--shared' ;;
9810 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9811 tmp_sharedflag='-qmkshrobj'
9813 nvcc*) # Cuda Compiler Driver 2.2
9814 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9815 compiler_needs_object=yes
9818 case `$CC -V 2>&1 | sed 5q` in
9819 *Sun\ C*) # Sun C 5.9
9820 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9821 compiler_needs_object=yes
9822 tmp_sharedflag='-G' ;;
9823 *Sun\ F*) # Sun Fortran 8.3
9824 tmp_sharedflag='-G' ;;
9826 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9828 if test "x$supports_anon_versioning" = xyes; then
9829 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9830 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9831 echo "local: *; };" >> $output_objdir/$libname.ver~
9832 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9835 case $cc_basename in
9836 xlf* | bgf* | bgxlf* | mpixlf*)
9837 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9838 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9839 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9840 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9841 if test "x$supports_anon_versioning" = xyes; then
9842 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9843 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9844 echo "local: *; };" >> $output_objdir/$libname.ver~
9845 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9854 netbsd* | netbsdelf*-gnu)
9855 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9856 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9859 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9860 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9865 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9869 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9870 *** create shared libraries on Solaris systems. Therefore, libtool
9871 *** is disabling shared libraries support. We urge you to upgrade GNU
9872 *** binutils to release 2.9.1 or newer. Another option is to modify
9873 *** your PATH or compiler configuration so that the native linker is
9874 *** used, and then restart.
9877 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9878 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9879 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9885 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9886 case `$LD -v 2>&1` in
9887 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9891 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9892 *** reliably create shared libraries on SCO systems. Therefore, libtool
9893 *** is disabling shared libraries support. We urge you to upgrade GNU
9894 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9895 *** your PATH or compiler configuration so that the native linker is
9896 *** used, and then restart.
9901 # For security reasons, it is highly recommended that you always
9902 # use absolute paths for naming shared libraries, and exclude the
9903 # DT_RUNPATH tag from executables and libraries. But doing so
9904 # requires that you compile everything twice, which is a pain.
9905 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9906 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9907 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9908 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9917 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9920 hardcode_shlibpath_var=no
9924 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9925 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9926 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9933 if test "$ld_shlibs" = no; then
9935 hardcode_libdir_flag_spec=
9936 export_dynamic_flag_spec=
9937 whole_archive_flag_spec=
9940 # PORTME fill in a description of your system's linker (not GNU ld)
9943 allow_undefined_flag=unsupported
9944 always_export_symbols=yes
9945 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'
9946 # Note: this linker hardcodes the directories in LIBPATH if there
9947 # are no directories specified by -L.
9948 hardcode_minus_L=yes
9949 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9950 # Neither direct hardcoding nor static linking is supported with a
9952 hardcode_direct=unsupported
9957 if test "$host_cpu" = ia64; then
9958 # On IA64, the linker does run time linking by default, so we don't
9959 # have to do anything special.
9960 aix_use_runtimelinking=no
9961 exp_sym_flag='-Bexport'
9964 # If we're using GNU nm, then we don't want the "-C" option.
9965 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9966 # Also, AIX nm treats weak defined symbols like other global
9967 # defined symbols, whereas GNU nm marks them as "W".
9968 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9969 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9971 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'
9973 aix_use_runtimelinking=no
9975 # Test if we are trying to use run time linking or normal
9976 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9977 # need to do runtime linking.
9978 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9979 for ld_flag in $LDFLAGS; do
9980 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9981 aix_use_runtimelinking=yes
9988 exp_sym_flag='-bexport'
9989 no_entry_flag='-bnoentry'
9992 # When large executables or shared objects are built, AIX ld can
9993 # have problems creating the table of contents. If linking a library
9994 # or program results in "error TOC overflow" add -mminimal-toc to
9995 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9996 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10000 hardcode_direct_absolute=yes
10001 hardcode_libdir_separator=':'
10002 link_all_deplibs=yes
10003 file_list_spec='${wl}-f,'
10005 if test "$GCC" = yes; then
10006 case $host_os in aix4.[012]|aix4.[012].*)
10007 # We only want to do this on AIX 4.2 and lower, the check
10008 # below for broken collect2 doesn't work under 4.3+
10009 collect2name=`${CC} -print-prog-name=collect2`
10010 if test -f "$collect2name" &&
10011 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10013 # We have reworked collect2
10016 # We have old collect2
10017 hardcode_direct=unsupported
10018 # It fails to find uninstalled libraries when the uninstalled
10019 # path is not listed in the libpath. Setting hardcode_minus_L
10020 # to unsupported forces relinking
10021 hardcode_minus_L=yes
10022 hardcode_libdir_flag_spec='-L$libdir'
10023 hardcode_libdir_separator=
10027 shared_flag='-shared'
10028 if test "$aix_use_runtimelinking" = yes; then
10029 shared_flag="$shared_flag "'${wl}-G'
10031 link_all_deplibs=no
10034 if test "$host_cpu" = ia64; then
10035 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10036 # chokes on -Wl,-G. The following line is correct:
10039 if test "$aix_use_runtimelinking" = yes; then
10040 shared_flag='${wl}-G'
10042 shared_flag='${wl}-bM:SRE'
10047 export_dynamic_flag_spec='${wl}-bexpall'
10048 # It seems that -bexpall does not export symbols beginning with
10049 # underscore (_), so it is better to generate a list of symbols to export.
10050 always_export_symbols=yes
10051 if test "$aix_use_runtimelinking" = yes; then
10052 # Warning - without using the other runtime loading flags (-brtl),
10053 # -berok will link without error, but may produce a broken library.
10054 allow_undefined_flag='-berok'
10055 # Determine the default libpath from the value encoded in an
10056 # empty executable.
10057 if test "${lt_cv_aix_libpath+set}" = set; then
10058 aix_libpath=$lt_cv_aix_libpath
10060 if ${lt_cv_aix_libpath_+:} false; then :
10061 $as_echo_n "(cached) " >&6
10063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10064 /* end confdefs.h. */
10074 if ac_fn_c_try_link "$LINENO"; then :
10076 lt_aix_libpath_sed='
10077 /Import File Strings/,/^$/ {
10079 s/^0 *\([^ ]*\) *$/\1/
10083 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10084 # Check for a 64-bit object if we didn't find anything.
10085 if test -z "$lt_cv_aix_libpath_"; then
10086 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10089 rm -f core conftest.err conftest.$ac_objext \
10090 conftest$ac_exeext conftest.$ac_ext
10091 if test -z "$lt_cv_aix_libpath_"; then
10092 lt_cv_aix_libpath_="/usr/lib:/lib"
10097 aix_libpath=$lt_cv_aix_libpath_
10100 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10101 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10103 if test "$host_cpu" = ia64; then
10104 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10105 allow_undefined_flag="-z nodefs"
10106 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"
10108 # Determine the default libpath from the value encoded in an
10109 # empty executable.
10110 if test "${lt_cv_aix_libpath+set}" = set; then
10111 aix_libpath=$lt_cv_aix_libpath
10113 if ${lt_cv_aix_libpath_+:} false; then :
10114 $as_echo_n "(cached) " >&6
10116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10117 /* end confdefs.h. */
10127 if ac_fn_c_try_link "$LINENO"; then :
10129 lt_aix_libpath_sed='
10130 /Import File Strings/,/^$/ {
10132 s/^0 *\([^ ]*\) *$/\1/
10136 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10137 # Check for a 64-bit object if we didn't find anything.
10138 if test -z "$lt_cv_aix_libpath_"; then
10139 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10142 rm -f core conftest.err conftest.$ac_objext \
10143 conftest$ac_exeext conftest.$ac_ext
10144 if test -z "$lt_cv_aix_libpath_"; then
10145 lt_cv_aix_libpath_="/usr/lib:/lib"
10150 aix_libpath=$lt_cv_aix_libpath_
10153 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10154 # Warning - without using the other run time loading flags,
10155 # -berok will link without error, but may produce a broken library.
10156 no_undefined_flag=' ${wl}-bernotok'
10157 allow_undefined_flag=' ${wl}-berok'
10158 if test "$with_gnu_ld" = yes; then
10159 # We only use this code for GNU lds that support --whole-archive.
10160 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10162 # Exported symbols can be pulled into shared objects from archives
10163 whole_archive_flag_spec='$convenience'
10165 archive_cmds_need_lc=yes
10166 # This is similar to how AIX traditionally builds its shared libraries.
10167 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'
10175 # see comment about AmigaOS4 .so support
10176 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10177 archive_expsym_cmds=''
10180 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)'
10181 hardcode_libdir_flag_spec='-L$libdir'
10182 hardcode_minus_L=yes
10188 export_dynamic_flag_spec=-rdynamic
10191 cygwin* | mingw* | pw32* | cegcc*)
10192 # When not using gcc, we currently assume that we are using
10193 # Microsoft Visual C++.
10194 # hardcode_libdir_flag_spec is actually meaningless, as there is
10195 # no search path for DLLs.
10196 case $cc_basename in
10199 hardcode_libdir_flag_spec=' '
10200 allow_undefined_flag=unsupported
10201 always_export_symbols=yes
10203 # Tell ltmain to make .lib files, not .a files.
10205 # Tell ltmain to make .dll files, not .so files.
10207 # FIXME: Setting linknames here is a bad hack.
10208 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10209 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10210 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10212 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10214 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10216 # The linker will not automatically build a static lib if we build a DLL.
10217 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10218 enable_shared_with_static_runtimes=yes
10219 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10220 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10222 old_postinstall_cmds='chmod 644 $oldlib'
10223 postlink_cmds='lt_outputfile="@OUTPUT@"~
10224 lt_tool_outputfile="@TOOL_OUTPUT@"~
10225 case $lt_outputfile in
10228 lt_outputfile="$lt_outputfile.exe"
10229 lt_tool_outputfile="$lt_tool_outputfile.exe"
10232 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10233 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10234 $RM "$lt_outputfile.manifest";
10238 # Assume MSVC wrapper
10239 hardcode_libdir_flag_spec=' '
10240 allow_undefined_flag=unsupported
10241 # Tell ltmain to make .lib files, not .a files.
10243 # Tell ltmain to make .dll files, not .so files.
10245 # FIXME: Setting linknames here is a bad hack.
10246 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10247 # The linker will automatically build a .lib file if we build a DLL.
10248 old_archive_from_new_cmds='true'
10249 # FIXME: Should let the user specify the lib program.
10250 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10251 enable_shared_with_static_runtimes=yes
10256 darwin* | rhapsody*)
10259 archive_cmds_need_lc=no
10261 hardcode_automatic=yes
10262 hardcode_shlibpath_var=unsupported
10263 if test "$lt_cv_ld_force_load" = "yes"; then
10264 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10267 whole_archive_flag_spec=''
10269 link_all_deplibs=yes
10270 allow_undefined_flag="$_lt_dar_allow_undefined"
10271 case $cc_basename in
10272 ifort*) _lt_dar_can_shared=yes ;;
10273 *) _lt_dar_can_shared=$GCC ;;
10275 if test "$_lt_dar_can_shared" = "yes"; then
10276 output_verbose_link_cmd=func_echo_all
10277 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10278 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10279 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}"
10280 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}"
10289 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10290 hardcode_libdir_flag_spec='-L$libdir'
10291 hardcode_shlibpath_var=no
10294 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10295 # support. Future versions do this automatically, but an explicit c++rt0.o
10296 # does not break anything, and helps significantly (at the cost of a little
10299 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10300 hardcode_libdir_flag_spec='-R$libdir'
10301 hardcode_direct=yes
10302 hardcode_shlibpath_var=no
10305 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10307 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10308 hardcode_direct=yes
10309 hardcode_minus_L=yes
10310 hardcode_shlibpath_var=no
10313 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10314 freebsd* | dragonfly*)
10315 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10316 hardcode_libdir_flag_spec='-R$libdir'
10317 hardcode_direct=yes
10318 hardcode_shlibpath_var=no
10322 if test "$GCC" = yes; then
10323 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10325 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'
10327 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10328 hardcode_libdir_separator=:
10329 hardcode_direct=yes
10331 # hardcode_minus_L: Not really in the search PATH,
10332 # but as the default location of the library.
10333 hardcode_minus_L=yes
10334 export_dynamic_flag_spec='${wl}-E'
10338 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10339 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10341 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10343 if test "$with_gnu_ld" = no; then
10344 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10345 hardcode_libdir_separator=:
10346 hardcode_direct=yes
10347 hardcode_direct_absolute=yes
10348 export_dynamic_flag_spec='${wl}-E'
10349 # hardcode_minus_L: Not really in the search PATH,
10350 # but as the default location of the library.
10351 hardcode_minus_L=yes
10356 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10359 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10362 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10365 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10371 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10374 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10378 # Older versions of the 11.00 compiler do not understand -b yet
10379 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10381 $as_echo_n "checking if $CC understands -b... " >&6; }
10382 if ${lt_cv_prog_compiler__b+:} false; then :
10383 $as_echo_n "(cached) " >&6
10385 lt_cv_prog_compiler__b=no
10386 save_LDFLAGS="$LDFLAGS"
10387 LDFLAGS="$LDFLAGS -b"
10388 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10389 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10390 # The linker can only warn and ignore the option if not recognized
10391 # So say no if there are warnings
10392 if test -s conftest.err; then
10393 # Append any errors to the config.log.
10394 cat conftest.err 1>&5
10395 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10396 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10397 if diff conftest.exp conftest.er2 >/dev/null; then
10398 lt_cv_prog_compiler__b=yes
10401 lt_cv_prog_compiler__b=yes
10405 LDFLAGS="$save_LDFLAGS"
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10409 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10411 if test x"$lt_cv_prog_compiler__b" = xyes; then
10412 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10414 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10420 if test "$with_gnu_ld" = no; then
10421 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10422 hardcode_libdir_separator=:
10427 hardcode_shlibpath_var=no
10430 hardcode_direct=yes
10431 hardcode_direct_absolute=yes
10432 export_dynamic_flag_spec='${wl}-E'
10434 # hardcode_minus_L: Not really in the search PATH,
10435 # but as the default location of the library.
10436 hardcode_minus_L=yes
10442 irix5* | irix6* | nonstopux*)
10443 if test "$GCC" = yes; then
10444 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10445 # Try to use the -exported_symbol ld option, if it does not
10446 # work, assume that -exports_file does not work either and
10447 # implicitly export all symbols.
10448 # This should be the same for all languages, so no per-tag cache variable.
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10450 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10451 if ${lt_cv_irix_exported_symbol+:} false; then :
10452 $as_echo_n "(cached) " >&6
10454 save_LDFLAGS="$LDFLAGS"
10455 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10458 int foo (void) { return 0; }
10460 if ac_fn_c_try_link "$LINENO"; then :
10461 lt_cv_irix_exported_symbol=yes
10463 lt_cv_irix_exported_symbol=no
10465 rm -f core conftest.err conftest.$ac_objext \
10466 conftest$ac_exeext conftest.$ac_ext
10467 LDFLAGS="$save_LDFLAGS"
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10470 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10471 if test "$lt_cv_irix_exported_symbol" = yes; then
10472 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10475 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10476 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10478 archive_cmds_need_lc='no'
10479 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10480 hardcode_libdir_separator=:
10482 link_all_deplibs=yes
10485 netbsd* | netbsdelf*-gnu)
10486 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10487 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10489 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10491 hardcode_libdir_flag_spec='-R$libdir'
10492 hardcode_direct=yes
10493 hardcode_shlibpath_var=no
10497 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10498 hardcode_direct=yes
10499 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10500 hardcode_libdir_separator=:
10501 hardcode_shlibpath_var=no
10508 if test -f /usr/libexec/ld.so; then
10509 hardcode_direct=yes
10510 hardcode_shlibpath_var=no
10511 hardcode_direct_absolute=yes
10512 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10513 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10514 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10515 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10516 export_dynamic_flag_spec='${wl}-E'
10519 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10520 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10521 hardcode_libdir_flag_spec='-R$libdir'
10524 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10525 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10535 hardcode_libdir_flag_spec='-L$libdir'
10536 hardcode_minus_L=yes
10537 allow_undefined_flag=unsupported
10538 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'
10539 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10543 if test "$GCC" = yes; then
10544 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10545 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10547 allow_undefined_flag=' -expect_unresolved \*'
10548 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10550 archive_cmds_need_lc='no'
10551 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10552 hardcode_libdir_separator=:
10555 osf4* | osf5*) # as osf3* with the addition of -msym flag
10556 if test "$GCC" = yes; then
10557 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10558 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10559 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10561 allow_undefined_flag=' -expect_unresolved \*'
10562 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10563 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~
10564 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10566 # Both c and cxx compiler support -rpath directly
10567 hardcode_libdir_flag_spec='-rpath $libdir'
10569 archive_cmds_need_lc='no'
10570 hardcode_libdir_separator=:
10574 no_undefined_flag=' -z defs'
10575 if test "$GCC" = yes; then
10577 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10578 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10579 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10581 case `$CC -V 2>&1` in
10584 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10585 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10586 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10590 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10591 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10592 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10596 hardcode_libdir_flag_spec='-R$libdir'
10597 hardcode_shlibpath_var=no
10599 solaris2.[0-5] | solaris2.[0-5].*) ;;
10601 # The compiler driver will combine and reorder linker options,
10602 # but understands `-z linker_flag'. GCC discards it without `$wl',
10603 # but is careful enough not to reorder.
10604 # Supported since Solaris 2.6 (maybe 2.5.1?)
10605 if test "$GCC" = yes; then
10606 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10608 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10612 link_all_deplibs=yes
10616 if test "x$host_vendor" = xsequent; then
10617 # Use $CC to link under sequent, because it throws in some extra .o
10618 # files that make .init and .fini sections work.
10619 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10621 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10623 hardcode_libdir_flag_spec='-L$libdir'
10624 hardcode_direct=yes
10625 hardcode_minus_L=yes
10626 hardcode_shlibpath_var=no
10630 case $host_vendor in
10632 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10633 hardcode_direct=yes # is this really true???
10636 ## LD is ld it makes a PLAMLIB
10637 ## CC just makes a GrossModule.
10638 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10639 reload_cmds='$CC -r -o $output$reload_objs'
10643 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10644 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10647 runpath_var='LD_RUN_PATH'
10648 hardcode_shlibpath_var=no
10652 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10653 hardcode_shlibpath_var=no
10654 export_dynamic_flag_spec='-Bexport'
10658 if test -d /usr/nec; then
10659 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10660 hardcode_shlibpath_var=no
10661 runpath_var=LD_RUN_PATH
10662 hardcode_runpath_var=yes
10667 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10668 no_undefined_flag='${wl}-z,text'
10669 archive_cmds_need_lc=no
10670 hardcode_shlibpath_var=no
10671 runpath_var='LD_RUN_PATH'
10673 if test "$GCC" = yes; then
10674 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10675 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10677 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10678 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10682 sysv5* | sco3.2v5* | sco5v6*)
10683 # Note: We can NOT use -z defs as we might desire, because we do not
10684 # link with -lc, and that would cause any symbols used from libc to
10685 # always be unresolved, which means just about no library would
10686 # ever link correctly. If we're not using GNU ld we use -z text
10687 # though, which does catch some bad symbols but isn't as heavy-handed
10689 no_undefined_flag='${wl}-z,text'
10690 allow_undefined_flag='${wl}-z,nodefs'
10691 archive_cmds_need_lc=no
10692 hardcode_shlibpath_var=no
10693 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10694 hardcode_libdir_separator=':'
10695 link_all_deplibs=yes
10696 export_dynamic_flag_spec='${wl}-Bexport'
10697 runpath_var='LD_RUN_PATH'
10699 if test "$GCC" = yes; then
10700 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10701 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10703 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10704 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10709 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10710 hardcode_libdir_flag_spec='-L$libdir'
10711 hardcode_shlibpath_var=no
10719 if test x$host_vendor = xsni; then
10721 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10722 export_dynamic_flag_spec='${wl}-Blargedynsym'
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10729 $as_echo "$ld_shlibs" >&6; }
10730 test "$ld_shlibs" = no && can_build_shared=no
10732 with_gnu_ld=$with_gnu_ld
10749 # Do we need to explicitly link libc?
10751 case "x$archive_cmds_need_lc" in
10753 # Assume -lc should be added
10754 archive_cmds_need_lc=yes
10756 if test "$enable_shared" = yes && test "$GCC" = yes; then
10757 case $archive_cmds in
10759 # FIXME: we may have to deal with multi-command sequences.
10762 # Test whether the compiler implicitly links with -lc since on some
10763 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10764 # to ld, don't add -lc before -lgcc.
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10766 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10767 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10768 $as_echo_n "(cached) " >&6
10771 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10774 (eval $ac_compile) 2>&5
10776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10777 test $ac_status = 0; } 2>conftest.err; then
10780 libobjs=conftest.$ac_objext
10782 wl=$lt_prog_compiler_wl
10783 pic_flag=$lt_prog_compiler_pic
10789 lt_save_allow_undefined_flag=$allow_undefined_flag
10790 allow_undefined_flag=
10791 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10792 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10795 test $ac_status = 0; }
10797 lt_cv_archive_cmds_need_lc=no
10799 lt_cv_archive_cmds_need_lc=yes
10801 allow_undefined_flag=$lt_save_allow_undefined_flag
10803 cat conftest.err 1>&5
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10809 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10810 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10969 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10971 if test "$GCC" = yes; then
10973 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10974 *) lt_awk_arg="/^libraries:/" ;;
10977 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10978 *) lt_sed_strip_eq="s,=/,/,g" ;;
10980 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10981 case $lt_search_path_spec in
10983 # if the path contains ";" then we assume it to be the separator
10984 # otherwise default to the standard path separator (i.e. ":") - it is
10985 # assumed that no part of a normal pathname contains ";" but that should
10986 # okay in the real world where ";" in dirpaths is itself problematic.
10987 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10990 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10993 # Ok, now we have the path, separated by spaces, we can step through it
10994 # and add multilib dir if necessary.
10995 lt_tmp_lt_search_path_spec=
10996 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10997 for lt_sys_path in $lt_search_path_spec; do
10998 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10999 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11001 test -d "$lt_sys_path" && \
11002 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11005 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11006 BEGIN {RS=" "; FS="/|\n";} {
11009 for (lt_i = NF; lt_i > 0; lt_i--) {
11010 if ($lt_i != "" && $lt_i != ".") {
11011 if ($lt_i == "..") {
11014 if (lt_count == 0) {
11015 lt_foo="/" $lt_i lt_foo;
11022 if (lt_foo != "") { lt_freq[lt_foo]++; }
11023 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11025 # AWK program above erroneously prepends '/' to C:/dos/paths
11028 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11029 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11031 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11033 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11035 library_names_spec=
11036 libname_spec='lib$name'
11040 postuninstall_cmds=
11044 shlibpath_overrides_runpath=unknown
11046 dynamic_linker="$host_os ld.so"
11047 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11048 need_lib_prefix=unknown
11049 hardcode_into_libs=no
11051 # when you set need_version to no, make sure it does not cause -set_version
11052 # flags to be left without arguments
11053 need_version=unknown
11057 version_type=linux # correct to gnu/linux during the next big refactor
11058 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11059 shlibpath_var=LIBPATH
11061 # AIX 3 has no versioning support, so we append a major version to the name.
11062 soname_spec='${libname}${release}${shared_ext}$major'
11066 version_type=linux # correct to gnu/linux during the next big refactor
11069 hardcode_into_libs=yes
11070 if test "$host_cpu" = ia64; then
11071 # AIX 5 supports IA64
11072 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11073 shlibpath_var=LD_LIBRARY_PATH
11075 # With GCC up to 2.95.x, collect2 would create an import file
11076 # for dependence libraries. The import file would start with
11077 # the line `#! .'. This would cause the generated library to
11078 # depend on `.', always an invalid library. This was fixed in
11079 # development snapshots of GCC prior to 3.0.
11081 aix4 | aix4.[01] | aix4.[01].*)
11082 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11084 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11087 can_build_shared=no
11091 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11092 # soname into executable. Probably we can add versioning support to
11093 # collect2, so additional links can be useful in future.
11094 if test "$aix_use_runtimelinking" = yes; then
11095 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11096 # instead of lib<name>.a to let people know that these are not
11097 # typical AIX shared libraries.
11098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11100 # We preserve .a as extension for shared libraries through AIX4.2
11101 # and later when we are not doing run time linking.
11102 library_names_spec='${libname}${release}.a $libname.a'
11103 soname_spec='${libname}${release}${shared_ext}$major'
11105 shlibpath_var=LIBPATH
11112 # Since July 2007 AmigaOS4 officially supports .so libraries.
11113 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11114 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11117 library_names_spec='$libname.ixlibrary $libname.a'
11118 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11119 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11125 library_names_spec='${libname}${shared_ext}'
11126 dynamic_linker="$host_os ld.so"
11127 shlibpath_var=LIBRARY_PATH
11131 version_type=linux # correct to gnu/linux during the next big refactor
11133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11134 soname_spec='${libname}${release}${shared_ext}$major'
11135 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11136 shlibpath_var=LD_LIBRARY_PATH
11137 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11138 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11139 # the default ld.so.conf also contains /usr/contrib/lib and
11140 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11141 # libtool to hard-code these into programs
11144 cygwin* | mingw* | pw32* | cegcc*)
11145 version_type=windows
11150 case $GCC,$cc_basename in
11153 library_names_spec='$libname.dll.a'
11154 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11155 postinstall_cmds='base_file=`basename \${file}`~
11156 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11157 dldir=$destdir/`dirname \$dlpath`~
11158 test -d \$dldir || mkdir -p \$dldir~
11159 $install_prog $dir/$dlname \$dldir/$dlname~
11160 chmod a+x \$dldir/$dlname~
11161 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11162 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11164 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11165 dlpath=$dir/\$dldll~
11167 shlibpath_overrides_runpath=yes
11171 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11172 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11174 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11177 # MinGW DLLs use traditional 'lib' prefix
11178 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11181 # pw32 DLLs use 'pw' prefix rather than 'lib'
11182 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11185 dynamic_linker='Win32 ld.exe'
11190 libname_spec='$name'
11191 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11192 library_names_spec='${libname}.dll.lib'
11196 sys_lib_search_path_spec=
11199 for lt_path in $LIB
11202 # Let DOS variable expansion print the short 8.3 style file name.
11203 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11204 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11207 # Convert to MSYS style.
11208 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11211 # Convert to unix form, then to dos form, then back to unix form
11212 # but this time dos style (no spaces!) so that the unix form looks
11213 # like /cygdrive/c/PROGRA~1:/cygdr...
11214 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11215 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11216 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11219 sys_lib_search_path_spec="$LIB"
11220 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11221 # It is most probably a Windows format PATH.
11222 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11224 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11226 # FIXME: find the short name or the path components, as spaces are
11227 # common. (e.g. "Program Files" -> "PROGRA~1")
11231 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11232 postinstall_cmds='base_file=`basename \${file}`~
11233 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11234 dldir=$destdir/`dirname \$dlpath`~
11235 test -d \$dldir || mkdir -p \$dldir~
11236 $install_prog $dir/$dlname \$dldir/$dlname'
11237 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11238 dlpath=$dir/\$dldll~
11240 shlibpath_overrides_runpath=yes
11241 dynamic_linker='Win32 link.exe'
11245 # Assume MSVC wrapper
11246 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11247 dynamic_linker='Win32 ld.exe'
11250 # FIXME: first we should search . and the directory the executable is in
11254 darwin* | rhapsody*)
11255 dynamic_linker="$host_os dyld"
11256 version_type=darwin
11259 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11260 soname_spec='${libname}${release}${major}$shared_ext'
11261 shlibpath_overrides_runpath=yes
11262 shlibpath_var=DYLD_LIBRARY_PATH
11263 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11265 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11266 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11270 version_type=linux # correct to gnu/linux during the next big refactor
11273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11274 soname_spec='${libname}${release}${shared_ext}$major'
11275 shlibpath_var=LD_LIBRARY_PATH
11278 freebsd* | dragonfly*)
11279 # DragonFly does not have aout. When/if they implement a new
11280 # versioning mechanism, adjust this.
11281 if test -x /usr/bin/objformat; then
11282 objformat=`/usr/bin/objformat`
11285 freebsd[23].*) objformat=aout ;;
11286 *) objformat=elf ;;
11289 version_type=freebsd-$objformat
11290 case $version_type in
11292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11297 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11301 shlibpath_var=LD_LIBRARY_PATH
11304 shlibpath_overrides_runpath=yes
11306 freebsd3.[01]* | freebsdelf3.[01]*)
11307 shlibpath_overrides_runpath=yes
11308 hardcode_into_libs=yes
11310 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11311 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11312 shlibpath_overrides_runpath=no
11313 hardcode_into_libs=yes
11315 *) # from 4.6 on, and DragonFly
11316 shlibpath_overrides_runpath=yes
11317 hardcode_into_libs=yes
11323 version_type=linux # correct to gnu/linux during the next big refactor
11326 dynamic_linker="$host_os runtime_loader"
11327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11328 soname_spec='${libname}${release}${shared_ext}$major'
11329 shlibpath_var=LIBRARY_PATH
11330 shlibpath_overrides_runpath=yes
11331 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11332 hardcode_into_libs=yes
11335 hpux9* | hpux10* | hpux11*)
11336 # Give a soname corresponding to the major version so that dld.sl refuses to
11337 # link against other versions.
11344 hardcode_into_libs=yes
11345 dynamic_linker="$host_os dld.so"
11346 shlibpath_var=LD_LIBRARY_PATH
11347 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11349 soname_spec='${libname}${release}${shared_ext}$major'
11350 if test "X$HPUX_IA64_MODE" = X32; then
11351 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11353 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11355 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11359 hardcode_into_libs=yes
11360 dynamic_linker="$host_os dld.sl"
11361 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11362 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11364 soname_spec='${libname}${release}${shared_ext}$major'
11365 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11366 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11370 dynamic_linker="$host_os dld.sl"
11371 shlibpath_var=SHLIB_PATH
11372 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11374 soname_spec='${libname}${release}${shared_ext}$major'
11377 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11378 postinstall_cmds='chmod 555 $lib'
11379 # or fails outright, so override atomically:
11380 install_override_mode=555
11384 version_type=linux # correct to gnu/linux during the next big refactor
11387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11388 soname_spec='${libname}${release}${shared_ext}$major'
11389 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11390 shlibpath_var=LD_LIBRARY_PATH
11391 shlibpath_overrides_runpath=no
11392 hardcode_into_libs=yes
11395 irix5* | irix6* | nonstopux*)
11397 nonstopux*) version_type=nonstopux ;;
11399 if test "$lt_cv_prog_gnu_ld" = yes; then
11400 version_type=linux # correct to gnu/linux during the next big refactor
11407 soname_spec='${libname}${release}${shared_ext}$major'
11408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11410 irix5* | nonstopux*)
11411 libsuff= shlibsuff=
11414 case $LD in # libtool.m4 will add one of these switches to LD
11415 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11416 libsuff= shlibsuff= libmagic=32-bit;;
11417 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11418 libsuff=32 shlibsuff=N32 libmagic=N32;;
11419 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11420 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11421 *) libsuff= shlibsuff= libmagic=never-match;;
11425 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11426 shlibpath_overrides_runpath=no
11427 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11428 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11429 hardcode_into_libs=yes
11432 # No shared lib support for Linux oldld, aout, or coff.
11433 linux*oldld* | linux*aout* | linux*coff*)
11437 # This must be glibc/ELF.
11438 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11439 version_type=linux # correct to gnu/linux during the next big refactor
11442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11443 soname_spec='${libname}${release}${shared_ext}$major'
11444 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11445 shlibpath_var=LD_LIBRARY_PATH
11446 shlibpath_overrides_runpath=no
11448 # Some binutils ld are patched to set DT_RUNPATH
11449 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11450 $as_echo_n "(cached) " >&6
11452 lt_cv_shlibpath_overrides_runpath=no
11453 save_LDFLAGS=$LDFLAGS
11454 save_libdir=$libdir
11455 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11456 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11458 /* end confdefs.h. */
11468 if ac_fn_c_try_link "$LINENO"; then :
11469 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11470 lt_cv_shlibpath_overrides_runpath=yes
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LDFLAGS=$save_LDFLAGS
11476 libdir=$save_libdir
11480 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11482 # This implies no fast_install, which is unacceptable.
11483 # Some rework will be needed to allow for fast_install
11484 # before this can be enabled.
11485 hardcode_into_libs=yes
11487 # Append ld.so.conf contents to the search path
11488 if test -f /etc/ld.so.conf; then
11489 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11490 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11493 # We used to test for /lib/ld.so.1 and disable shared libraries on
11494 # powerpc, because MkLinux only supported shared libraries with the
11495 # GNU dynamic linker. Since this was broken with cross compilers,
11496 # most powerpc-linux boxes support dynamic linking these days and
11497 # people can always --disable-shared, the test was removed, and we
11498 # assume the GNU/Linux dynamic linker is in use.
11499 dynamic_linker='GNU/Linux ld.so'
11506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11507 soname_spec='${libname}${release}${shared_ext}$major'
11508 shlibpath_var=LD_LIBRARY_PATH
11509 shlibpath_overrides_runpath=no
11510 hardcode_into_libs=yes
11511 dynamic_linker='NetBSD ld.elf_so'
11518 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11520 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11521 dynamic_linker='NetBSD (a.out) ld.so'
11523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11524 soname_spec='${libname}${release}${shared_ext}$major'
11525 dynamic_linker='NetBSD ld.elf_so'
11527 shlibpath_var=LD_LIBRARY_PATH
11528 shlibpath_overrides_runpath=yes
11529 hardcode_into_libs=yes
11533 version_type=linux # correct to gnu/linux during the next big refactor
11534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11535 shlibpath_var=LD_LIBRARY_PATH
11536 shlibpath_overrides_runpath=yes
11543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11544 soname_spec='${libname}${release}${shared_ext}$major'
11545 shlibpath_var=LD_LIBRARY_PATH
11546 shlibpath_overrides_runpath=no
11547 hardcode_into_libs=yes
11548 dynamic_linker='ldqnx.so'
11553 sys_lib_dlsearch_path_spec="/usr/lib"
11555 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11557 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11558 *) need_version=no ;;
11560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11561 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11562 shlibpath_var=LD_LIBRARY_PATH
11563 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11565 openbsd2.[89] | openbsd2.[89].*)
11566 shlibpath_overrides_runpath=no
11569 shlibpath_overrides_runpath=yes
11573 shlibpath_overrides_runpath=yes
11578 libname_spec='$name'
11581 library_names_spec='$libname${shared_ext} $libname.a'
11582 dynamic_linker='OS/2 ld.exe'
11583 shlibpath_var=LIBPATH
11586 osf3* | osf4* | osf5*)
11590 soname_spec='${libname}${release}${shared_ext}$major'
11591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11592 shlibpath_var=LD_LIBRARY_PATH
11593 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11594 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11602 version_type=linux # correct to gnu/linux during the next big refactor
11605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11606 soname_spec='${libname}${release}${shared_ext}$major'
11607 shlibpath_var=LD_LIBRARY_PATH
11608 shlibpath_overrides_runpath=yes
11609 hardcode_into_libs=yes
11610 # ldd complains unless libraries are executable
11611 postinstall_cmds='chmod +x $lib'
11616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11617 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11618 shlibpath_var=LD_LIBRARY_PATH
11619 shlibpath_overrides_runpath=yes
11620 if test "$with_gnu_ld" = yes; then
11627 version_type=linux # correct to gnu/linux during the next big refactor
11628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11629 soname_spec='${libname}${release}${shared_ext}$major'
11630 shlibpath_var=LD_LIBRARY_PATH
11631 case $host_vendor in
11633 shlibpath_overrides_runpath=no
11635 runpath_var=LD_RUN_PATH
11643 shlibpath_overrides_runpath=no
11644 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11650 if test -d /usr/nec ;then
11651 version_type=linux # correct to gnu/linux during the next big refactor
11652 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11653 soname_spec='$libname${shared_ext}.$major'
11654 shlibpath_var=LD_LIBRARY_PATH
11658 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11659 version_type=freebsd-elf
11662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11663 soname_spec='${libname}${release}${shared_ext}$major'
11664 shlibpath_var=LD_LIBRARY_PATH
11665 shlibpath_overrides_runpath=yes
11666 hardcode_into_libs=yes
11667 if test "$with_gnu_ld" = yes; then
11668 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11670 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11673 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11677 sys_lib_dlsearch_path_spec='/usr/lib'
11681 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11682 version_type=linux # correct to gnu/linux during the next big refactor
11685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11686 shlibpath_var=LD_LIBRARY_PATH
11687 shlibpath_overrides_runpath=no
11688 hardcode_into_libs=yes
11692 version_type=linux # correct to gnu/linux during the next big refactor
11693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11694 soname_spec='${libname}${release}${shared_ext}$major'
11695 shlibpath_var=LD_LIBRARY_PATH
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11703 $as_echo "$dynamic_linker" >&6; }
11704 test "$dynamic_linker" = no && can_build_shared=no
11706 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11707 if test "$GCC" = yes; then
11708 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11711 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11712 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11714 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11715 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11810 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11812 if test -n "$hardcode_libdir_flag_spec" ||
11813 test -n "$runpath_var" ||
11814 test "X$hardcode_automatic" = "Xyes" ; then
11816 # We can hardcode non-existent directories.
11817 if test "$hardcode_direct" != no &&
11818 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11819 # have to relink, otherwise we might link with an installed library
11820 # when we should be linking with a yet-to-be-installed one
11821 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11822 test "$hardcode_minus_L" != no; then
11823 # Linking always hardcodes the temporary library directory.
11824 hardcode_action=relink
11826 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11827 hardcode_action=immediate
11830 # We cannot hardcode anything, or else we can only hardcode existing
11832 hardcode_action=unsupported
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11835 $as_echo "$hardcode_action" >&6; }
11837 if test "$hardcode_action" = relink ||
11838 test "$inherit_rpath" = yes; then
11839 # Fast installation is not supported
11840 enable_fast_install=no
11841 elif test "$shlibpath_overrides_runpath" = yes ||
11842 test "$enable_shared" = no; then
11843 # Fast installation is not necessary
11844 enable_fast_install=needless
11852 if test "x$enable_dlopen" != xyes; then
11853 enable_dlopen=unknown
11854 enable_dlopen_self=unknown
11855 enable_dlopen_self_static=unknown
11862 lt_cv_dlopen="load_add_on"
11864 lt_cv_dlopen_self=yes
11867 mingw* | pw32* | cegcc*)
11868 lt_cv_dlopen="LoadLibrary"
11873 lt_cv_dlopen="dlopen"
11878 # if libdl is installed we need to link against it
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11880 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11881 if ${ac_cv_lib_dl_dlopen+:} false; then :
11882 $as_echo_n "(cached) " >&6
11884 ac_check_lib_save_LIBS=$LIBS
11886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11887 /* end confdefs.h. */
11889 /* Override any GCC internal prototype to avoid an error.
11890 Use char because int might match the return type of a GCC
11891 builtin and then its argument prototype would still apply. */
11904 if ac_fn_c_try_link "$LINENO"; then :
11905 ac_cv_lib_dl_dlopen=yes
11907 ac_cv_lib_dl_dlopen=no
11909 rm -f core conftest.err conftest.$ac_objext \
11910 conftest$ac_exeext conftest.$ac_ext
11911 LIBS=$ac_check_lib_save_LIBS
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11914 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11915 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11916 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11919 lt_cv_dlopen="dyld"
11921 lt_cv_dlopen_self=yes
11928 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11929 if test "x$ac_cv_func_shl_load" = xyes; then :
11930 lt_cv_dlopen="shl_load"
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11933 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11934 if ${ac_cv_lib_dld_shl_load+:} false; then :
11935 $as_echo_n "(cached) " >&6
11937 ac_check_lib_save_LIBS=$LIBS
11939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11940 /* end confdefs.h. */
11942 /* Override any GCC internal prototype to avoid an error.
11943 Use char because int might match the return type of a GCC
11944 builtin and then its argument prototype would still apply. */
11952 return shl_load ();
11957 if ac_fn_c_try_link "$LINENO"; then :
11958 ac_cv_lib_dld_shl_load=yes
11960 ac_cv_lib_dld_shl_load=no
11962 rm -f core conftest.err conftest.$ac_objext \
11963 conftest$ac_exeext conftest.$ac_ext
11964 LIBS=$ac_check_lib_save_LIBS
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11967 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11968 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11969 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11971 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11972 if test "x$ac_cv_func_dlopen" = xyes; then :
11973 lt_cv_dlopen="dlopen"
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11976 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11977 if ${ac_cv_lib_dl_dlopen+:} false; then :
11978 $as_echo_n "(cached) " >&6
11980 ac_check_lib_save_LIBS=$LIBS
11982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h. */
11985 /* Override any GCC internal prototype to avoid an error.
11986 Use char because int might match the return type of a GCC
11987 builtin and then its argument prototype would still apply. */
12000 if ac_fn_c_try_link "$LINENO"; then :
12001 ac_cv_lib_dl_dlopen=yes
12003 ac_cv_lib_dl_dlopen=no
12005 rm -f core conftest.err conftest.$ac_objext \
12006 conftest$ac_exeext conftest.$ac_ext
12007 LIBS=$ac_check_lib_save_LIBS
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12010 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12011 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12012 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12015 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12016 if ${ac_cv_lib_svld_dlopen+:} false; then :
12017 $as_echo_n "(cached) " >&6
12019 ac_check_lib_save_LIBS=$LIBS
12020 LIBS="-lsvld $LIBS"
12021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12022 /* end confdefs.h. */
12024 /* Override any GCC internal prototype to avoid an error.
12025 Use char because int might match the return type of a GCC
12026 builtin and then its argument prototype would still apply. */
12039 if ac_fn_c_try_link "$LINENO"; then :
12040 ac_cv_lib_svld_dlopen=yes
12042 ac_cv_lib_svld_dlopen=no
12044 rm -f core conftest.err conftest.$ac_objext \
12045 conftest$ac_exeext conftest.$ac_ext
12046 LIBS=$ac_check_lib_save_LIBS
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12049 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12050 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12051 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12054 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12055 if ${ac_cv_lib_dld_dld_link+:} false; then :
12056 $as_echo_n "(cached) " >&6
12058 ac_check_lib_save_LIBS=$LIBS
12060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12061 /* end confdefs.h. */
12063 /* Override any GCC internal prototype to avoid an error.
12064 Use char because int might match the return type of a GCC
12065 builtin and then its argument prototype would still apply. */
12073 return dld_link ();
12078 if ac_fn_c_try_link "$LINENO"; then :
12079 ac_cv_lib_dld_dld_link=yes
12081 ac_cv_lib_dld_dld_link=no
12083 rm -f core conftest.err conftest.$ac_objext \
12084 conftest$ac_exeext conftest.$ac_ext
12085 LIBS=$ac_check_lib_save_LIBS
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12088 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12089 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12090 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12111 if test "x$lt_cv_dlopen" != xno; then
12117 case $lt_cv_dlopen in
12119 save_CPPFLAGS="$CPPFLAGS"
12120 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12122 save_LDFLAGS="$LDFLAGS"
12123 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12126 LIBS="$lt_cv_dlopen_libs $LIBS"
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12129 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12130 if ${lt_cv_dlopen_self+:} false; then :
12131 $as_echo_n "(cached) " >&6
12133 if test "$cross_compiling" = yes; then :
12134 lt_cv_dlopen_self=cross
12136 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12137 lt_status=$lt_dlunknown
12138 cat > conftest.$ac_ext <<_LT_EOF
12139 #line $LINENO "configure"
12140 #include "confdefs.h"
12149 # define LT_DLGLOBAL RTLD_GLOBAL
12152 # define LT_DLGLOBAL DL_GLOBAL
12154 # define LT_DLGLOBAL 0
12158 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12159 find out it does not work in some platform. */
12160 #ifndef LT_DLLAZY_OR_NOW
12162 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12165 # define LT_DLLAZY_OR_NOW DL_LAZY
12168 # define LT_DLLAZY_OR_NOW RTLD_NOW
12171 # define LT_DLLAZY_OR_NOW DL_NOW
12173 # define LT_DLLAZY_OR_NOW 0
12180 /* When -fvisbility=hidden is used, assume the code has been annotated
12181 correspondingly for the symbols needed. */
12182 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12183 int fnord () __attribute__((visibility("default")));
12186 int fnord () { return 42; }
12189 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12190 int status = $lt_dlunknown;
12194 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12197 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12198 else puts (dlerror ());
12200 /* dlclose (self); */
12208 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12209 (eval $ac_link) 2>&5
12211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12212 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12213 (./conftest; exit; ) >&5 2>/dev/null
12215 case x$lt_status in
12216 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12217 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12218 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12221 # compilation failed
12222 lt_cv_dlopen_self=no
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12230 $as_echo "$lt_cv_dlopen_self" >&6; }
12232 if test "x$lt_cv_dlopen_self" = xyes; then
12233 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12235 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12236 if ${lt_cv_dlopen_self_static+:} false; then :
12237 $as_echo_n "(cached) " >&6
12239 if test "$cross_compiling" = yes; then :
12240 lt_cv_dlopen_self_static=cross
12242 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12243 lt_status=$lt_dlunknown
12244 cat > conftest.$ac_ext <<_LT_EOF
12245 #line $LINENO "configure"
12246 #include "confdefs.h"
12255 # define LT_DLGLOBAL RTLD_GLOBAL
12258 # define LT_DLGLOBAL DL_GLOBAL
12260 # define LT_DLGLOBAL 0
12264 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12265 find out it does not work in some platform. */
12266 #ifndef LT_DLLAZY_OR_NOW
12268 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12271 # define LT_DLLAZY_OR_NOW DL_LAZY
12274 # define LT_DLLAZY_OR_NOW RTLD_NOW
12277 # define LT_DLLAZY_OR_NOW DL_NOW
12279 # define LT_DLLAZY_OR_NOW 0
12286 /* When -fvisbility=hidden is used, assume the code has been annotated
12287 correspondingly for the symbols needed. */
12288 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12289 int fnord () __attribute__((visibility("default")));
12292 int fnord () { return 42; }
12295 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12296 int status = $lt_dlunknown;
12300 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12303 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12304 else puts (dlerror ());
12306 /* dlclose (self); */
12314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12315 (eval $ac_link) 2>&5
12317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12318 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12319 (./conftest; exit; ) >&5 2>/dev/null
12321 case x$lt_status in
12322 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12323 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12324 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12327 # compilation failed
12328 lt_cv_dlopen_self_static=no
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12336 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12339 CPPFLAGS="$save_CPPFLAGS"
12340 LDFLAGS="$save_LDFLAGS"
12345 case $lt_cv_dlopen_self in
12346 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12347 *) enable_dlopen_self=unknown ;;
12350 case $lt_cv_dlopen_self_static in
12351 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12352 *) enable_dlopen_self_static=unknown ;;
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12375 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12376 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12377 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12378 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12380 $as_echo "yes" >&6; }
12382 # FIXME - insert some real tests, host_os isn't really good enough
12385 if test -n "$STRIP" ; then
12386 striplib="$STRIP -x"
12387 old_striplib="$STRIP -S"
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12389 $as_echo "yes" >&6; }
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12392 $as_echo "no" >&6; }
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12397 $as_echo "no" >&6; }
12413 # Report which library types will actually be built
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12415 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12417 $as_echo "$can_build_shared" >&6; }
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12420 $as_echo_n "checking whether to build shared libraries... " >&6; }
12421 test "$can_build_shared" = "no" && enable_shared=no
12423 # On AIX, shared libraries and static libraries use the same namespace, and
12424 # are all built from PIC.
12427 test "$enable_shared" = yes && enable_static=no
12428 if test -n "$RANLIB"; then
12429 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12430 postinstall_cmds='$RANLIB $lib'
12435 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12436 test "$enable_shared" = yes && enable_static=no
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12441 $as_echo "$enable_shared" >&6; }
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12444 $as_echo_n "checking whether to build static libraries... " >&6; }
12445 # Make sure either enable_shared or enable_static is yes.
12446 test "$enable_shared" = yes || enable_static=yes
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12448 $as_echo "$enable_static" >&6; }
12455 ac_cpp='$CPP $CPPFLAGS'
12456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12462 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12463 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12464 (test "X$CXX" != "Xg++"))) ; then
12466 ac_cpp='$CXXCPP $CPPFLAGS'
12467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12471 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12472 if test -z "$CXXCPP"; then
12473 if ${ac_cv_prog_CXXCPP+:} false; then :
12474 $as_echo_n "(cached) " >&6
12476 # Double quotes because CXXCPP needs to be expanded
12477 for CXXCPP in "$CXX -E" "/lib/cpp"
12479 ac_preproc_ok=false
12480 for ac_cxx_preproc_warn_flag in '' yes
12482 # Use a header file that comes with gcc, so configuring glibc
12483 # with a fresh cross-compiler works.
12484 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12485 # <limits.h> exists even on freestanding compilers.
12486 # On the NeXT, cc -E runs the code through the compiler's parser,
12487 # not just through cpp. "Syntax error" is here to catch this case.
12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12491 # include <limits.h>
12493 # include <assert.h>
12497 if ac_fn_cxx_try_cpp "$LINENO"; then :
12500 # Broken: fails on valid input.
12503 rm -f conftest.err conftest.i conftest.$ac_ext
12505 # OK, works on sane cases. Now check whether nonexistent headers
12506 # can be detected and how.
12507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12508 /* end confdefs.h. */
12509 #include <ac_nonexistent.h>
12511 if ac_fn_cxx_try_cpp "$LINENO"; then :
12512 # Broken: success on invalid input.
12515 # Passes both tests.
12519 rm -f conftest.err conftest.i conftest.$ac_ext
12522 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12523 rm -f conftest.i conftest.err conftest.$ac_ext
12524 if $ac_preproc_ok; then :
12529 ac_cv_prog_CXXCPP=$CXXCPP
12532 CXXCPP=$ac_cv_prog_CXXCPP
12534 ac_cv_prog_CXXCPP=$CXXCPP
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12537 $as_echo "$CXXCPP" >&6; }
12538 ac_preproc_ok=false
12539 for ac_cxx_preproc_warn_flag in '' yes
12541 # Use a header file that comes with gcc, so configuring glibc
12542 # with a fresh cross-compiler works.
12543 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12544 # <limits.h> exists even on freestanding compilers.
12545 # On the NeXT, cc -E runs the code through the compiler's parser,
12546 # not just through cpp. "Syntax error" is here to catch this case.
12547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12548 /* end confdefs.h. */
12550 # include <limits.h>
12552 # include <assert.h>
12556 if ac_fn_cxx_try_cpp "$LINENO"; then :
12559 # Broken: fails on valid input.
12562 rm -f conftest.err conftest.i conftest.$ac_ext
12564 # OK, works on sane cases. Now check whether nonexistent headers
12565 # can be detected and how.
12566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12568 #include <ac_nonexistent.h>
12570 if ac_fn_cxx_try_cpp "$LINENO"; then :
12571 # Broken: success on invalid input.
12574 # Passes both tests.
12578 rm -f conftest.err conftest.i conftest.$ac_ext
12581 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12582 rm -f conftest.i conftest.err conftest.$ac_ext
12583 if $ac_preproc_ok; then :
12586 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12588 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12589 See \`config.log' for more details" "$LINENO" 5; }
12593 ac_cpp='$CPP $CPPFLAGS'
12594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12599 _lt_caught_CXX_error=yes
12603 ac_cpp='$CXXCPP $CPPFLAGS'
12604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12608 archive_cmds_need_lc_CXX=no
12609 allow_undefined_flag_CXX=
12610 always_export_symbols_CXX=no
12611 archive_expsym_cmds_CXX=
12612 compiler_needs_object_CXX=no
12613 export_dynamic_flag_spec_CXX=
12614 hardcode_direct_CXX=no
12615 hardcode_direct_absolute_CXX=no
12616 hardcode_libdir_flag_spec_CXX=
12617 hardcode_libdir_separator_CXX=
12618 hardcode_minus_L_CXX=no
12619 hardcode_shlibpath_var_CXX=unsupported
12620 hardcode_automatic_CXX=no
12621 inherit_rpath_CXX=no
12623 module_expsym_cmds_CXX=
12624 link_all_deplibs_CXX=unknown
12625 old_archive_cmds_CXX=$old_archive_cmds
12626 reload_flag_CXX=$reload_flag
12627 reload_cmds_CXX=$reload_cmds
12628 no_undefined_flag_CXX=
12629 whole_archive_flag_spec_CXX=
12630 enable_shared_with_static_runtimes_CXX=no
12632 # Source file extension for C++ test sources.
12635 # Object file extension for compiled C++ test sources.
12639 # No sense in running all these tests if we already determined that
12640 # the CXX compiler isn't working. Some variables (like enable_shared)
12641 # are currently assumed to apply to all compilers on this platform,
12642 # and will be corrupted by setting them based on a non-working compiler.
12643 if test "$_lt_caught_CXX_error" != yes; then
12644 # Code to be used in simple compile tests
12645 lt_simple_compile_test_code="int some_variable = 0;"
12647 # Code to be used in simple link tests
12648 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12650 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12657 # If no C compiler was specified, use CC.
12660 # If no C compiler flags were specified, use CFLAGS.
12661 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12663 # Allow CC to be a program name with arguments.
12667 # save warnings/boilerplate of simple test code
12668 ac_outfile=conftest.$ac_objext
12669 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12670 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12671 _lt_compiler_boilerplate=`cat conftest.err`
12674 ac_outfile=conftest.$ac_objext
12675 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12676 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12677 _lt_linker_boilerplate=`cat conftest.err`
12681 # Allow CC to be a program name with arguments.
12683 lt_save_CFLAGS=$CFLAGS
12687 lt_save_with_gnu_ld=$with_gnu_ld
12688 lt_save_path_LD=$lt_cv_path_LD
12689 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12690 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12692 $as_unset lt_cv_prog_gnu_ld
12694 if test -n "${lt_cv_path_LDCXX+set}"; then
12695 lt_cv_path_LD=$lt_cv_path_LDCXX
12697 $as_unset lt_cv_path_LD
12699 test -z "${LDCXX+set}" || LD=$LDCXX
12704 for cc_temp in $compiler""; do
12706 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12707 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12712 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12715 if test -n "$compiler"; then
12716 # We don't want -fno-exception when compiling C++ code, so set the
12717 # no_builtin_flag separately
12718 if test "$GXX" = yes; then
12719 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12721 lt_prog_compiler_no_builtin_flag_CXX=
12724 if test "$GXX" = yes; then
12725 # Set up default GNU C++ configuration
12729 # Check whether --with-gnu-ld was given.
12730 if test "${with_gnu_ld+set}" = set; then :
12731 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12737 if test "$GCC" = yes; then
12738 # Check if gcc -print-prog-name=ld gives a path.
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12740 $as_echo_n "checking for ld used by $CC... " >&6; }
12743 # gcc leaves a trailing carriage return which upsets mingw
12744 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12746 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12749 # Accept absolute paths.
12751 re_direlt='/[^/][^/]*/\.\./'
12752 # Canonicalize the pathname of ld
12753 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12754 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12755 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12757 test -z "$LD" && LD="$ac_prog"
12760 # If it fails, then pretend we aren't using GCC.
12764 # If it is relative, then search for the first ld in PATH.
12765 with_gnu_ld=unknown
12768 elif test "$with_gnu_ld" = yes; then
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12770 $as_echo_n "checking for GNU ld... " >&6; }
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12773 $as_echo_n "checking for non-GNU ld... " >&6; }
12775 if ${lt_cv_path_LD+:} false; then :
12776 $as_echo_n "(cached) " >&6
12778 if test -z "$LD"; then
12779 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12780 for ac_dir in $PATH; do
12782 test -z "$ac_dir" && ac_dir=.
12783 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12784 lt_cv_path_LD="$ac_dir/$ac_prog"
12785 # Check to see if the program is GNU ld. I'd rather use --version,
12786 # but apparently some variants of GNU ld only accept -v.
12787 # Break only if it was the GNU/non-GNU ld that we prefer.
12788 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12789 *GNU* | *'with BFD'*)
12790 test "$with_gnu_ld" != no && break
12793 test "$with_gnu_ld" != yes && break
12800 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12804 LD="$lt_cv_path_LD"
12805 if test -n "$LD"; then
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12807 $as_echo "$LD" >&6; }
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12810 $as_echo "no" >&6; }
12812 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12814 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12815 if ${lt_cv_prog_gnu_ld+:} false; then :
12816 $as_echo_n "(cached) " >&6
12818 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12819 case `$LD -v 2>&1 </dev/null` in
12820 *GNU* | *'with BFD'*)
12821 lt_cv_prog_gnu_ld=yes
12824 lt_cv_prog_gnu_ld=no
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12829 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12830 with_gnu_ld=$lt_cv_prog_gnu_ld
12838 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12839 # archiving commands below assume that GNU ld is being used.
12840 if test "$with_gnu_ld" = yes; then
12841 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12844 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12845 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12847 # If archive_cmds runs LD, not CC, wlarc should be empty
12848 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12849 # investigate it a little bit more. (MM)
12852 # ancient GNU ld didn't support --whole-archive et. al.
12853 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12854 $GREP 'no-whole-archive' > /dev/null; then
12855 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12857 whole_archive_flag_spec_CXX=
12863 # A generic and very simple default shared library creation
12864 # command for GNU C++ for the case where it uses the native
12865 # linker, instead of GNU ld. If possible, this setting should
12866 # overridden to take advantage of the native linker features on
12867 # the platform it is being used on.
12868 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12871 # Commands to make compiler produce verbose output that lists
12872 # what "hidden" libraries, object files and flags are used when
12873 # linking a shared library.
12874 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12882 # PORTME: fill in a description of your system's C++ link characteristics
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12884 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12888 # FIXME: insert proper C++ library support
12892 if test "$host_cpu" = ia64; then
12893 # On IA64, the linker does run time linking by default, so we don't
12894 # have to do anything special.
12895 aix_use_runtimelinking=no
12896 exp_sym_flag='-Bexport'
12899 aix_use_runtimelinking=no
12901 # Test if we are trying to use run time linking or normal
12902 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12903 # need to do runtime linking.
12904 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12905 for ld_flag in $LDFLAGS; do
12908 aix_use_runtimelinking=yes
12916 exp_sym_flag='-bexport'
12917 no_entry_flag='-bnoentry'
12920 # When large executables or shared objects are built, AIX ld can
12921 # have problems creating the table of contents. If linking a library
12922 # or program results in "error TOC overflow" add -mminimal-toc to
12923 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12924 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12926 archive_cmds_CXX=''
12927 hardcode_direct_CXX=yes
12928 hardcode_direct_absolute_CXX=yes
12929 hardcode_libdir_separator_CXX=':'
12930 link_all_deplibs_CXX=yes
12931 file_list_spec_CXX='${wl}-f,'
12933 if test "$GXX" = yes; then
12934 case $host_os in aix4.[012]|aix4.[012].*)
12935 # We only want to do this on AIX 4.2 and lower, the check
12936 # below for broken collect2 doesn't work under 4.3+
12937 collect2name=`${CC} -print-prog-name=collect2`
12938 if test -f "$collect2name" &&
12939 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12941 # We have reworked collect2
12944 # We have old collect2
12945 hardcode_direct_CXX=unsupported
12946 # It fails to find uninstalled libraries when the uninstalled
12947 # path is not listed in the libpath. Setting hardcode_minus_L
12948 # to unsupported forces relinking
12949 hardcode_minus_L_CXX=yes
12950 hardcode_libdir_flag_spec_CXX='-L$libdir'
12951 hardcode_libdir_separator_CXX=
12954 shared_flag='-shared'
12955 if test "$aix_use_runtimelinking" = yes; then
12956 shared_flag="$shared_flag "'${wl}-G'
12960 if test "$host_cpu" = ia64; then
12961 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12962 # chokes on -Wl,-G. The following line is correct:
12965 if test "$aix_use_runtimelinking" = yes; then
12966 shared_flag='${wl}-G'
12968 shared_flag='${wl}-bM:SRE'
12973 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12974 # It seems that -bexpall does not export symbols beginning with
12975 # underscore (_), so it is better to generate a list of symbols to
12977 always_export_symbols_CXX=yes
12978 if test "$aix_use_runtimelinking" = yes; then
12979 # Warning - without using the other runtime loading flags (-brtl),
12980 # -berok will link without error, but may produce a broken library.
12981 allow_undefined_flag_CXX='-berok'
12982 # Determine the default libpath from the value encoded in an empty
12984 if test "${lt_cv_aix_libpath+set}" = set; then
12985 aix_libpath=$lt_cv_aix_libpath
12987 if ${lt_cv_aix_libpath__CXX+:} false; then :
12988 $as_echo_n "(cached) " >&6
12990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h. */
13001 if ac_fn_cxx_try_link "$LINENO"; then :
13003 lt_aix_libpath_sed='
13004 /Import File Strings/,/^$/ {
13006 s/^0 *\([^ ]*\) *$/\1/
13010 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13011 # Check for a 64-bit object if we didn't find anything.
13012 if test -z "$lt_cv_aix_libpath__CXX"; then
13013 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13016 rm -f core conftest.err conftest.$ac_objext \
13017 conftest$ac_exeext conftest.$ac_ext
13018 if test -z "$lt_cv_aix_libpath__CXX"; then
13019 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13024 aix_libpath=$lt_cv_aix_libpath__CXX
13027 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13029 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13031 if test "$host_cpu" = ia64; then
13032 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13033 allow_undefined_flag_CXX="-z nodefs"
13034 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"
13036 # Determine the default libpath from the value encoded in an
13037 # empty executable.
13038 if test "${lt_cv_aix_libpath+set}" = set; then
13039 aix_libpath=$lt_cv_aix_libpath
13041 if ${lt_cv_aix_libpath__CXX+:} false; then :
13042 $as_echo_n "(cached) " >&6
13044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13045 /* end confdefs.h. */
13055 if ac_fn_cxx_try_link "$LINENO"; then :
13057 lt_aix_libpath_sed='
13058 /Import File Strings/,/^$/ {
13060 s/^0 *\([^ ]*\) *$/\1/
13064 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13065 # Check for a 64-bit object if we didn't find anything.
13066 if test -z "$lt_cv_aix_libpath__CXX"; then
13067 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13070 rm -f core conftest.err conftest.$ac_objext \
13071 conftest$ac_exeext conftest.$ac_ext
13072 if test -z "$lt_cv_aix_libpath__CXX"; then
13073 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13078 aix_libpath=$lt_cv_aix_libpath__CXX
13081 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13082 # Warning - without using the other run time loading flags,
13083 # -berok will link without error, but may produce a broken library.
13084 no_undefined_flag_CXX=' ${wl}-bernotok'
13085 allow_undefined_flag_CXX=' ${wl}-berok'
13086 if test "$with_gnu_ld" = yes; then
13087 # We only use this code for GNU lds that support --whole-archive.
13088 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13090 # Exported symbols can be pulled into shared objects from archives
13091 whole_archive_flag_spec_CXX='$convenience'
13093 archive_cmds_need_lc_CXX=yes
13094 # This is similar to how AIX traditionally builds its shared
13096 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'
13102 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13103 allow_undefined_flag_CXX=unsupported
13104 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13105 # support --undefined. This deserves some investigation. FIXME
13106 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13113 case $cc_basename in
13115 # FIXME: insert proper C++ library support
13121 cygwin* | mingw* | pw32* | cegcc*)
13122 case $GXX,$cc_basename in
13125 # hardcode_libdir_flag_spec is actually meaningless, as there is
13126 # no search path for DLLs.
13127 hardcode_libdir_flag_spec_CXX=' '
13128 allow_undefined_flag_CXX=unsupported
13129 always_export_symbols_CXX=yes
13130 file_list_spec_CXX='@'
13131 # Tell ltmain to make .lib files, not .a files.
13133 # Tell ltmain to make .dll files, not .so files.
13135 # FIXME: Setting linknames here is a bad hack.
13136 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13137 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13138 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13140 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13142 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13144 # The linker will not automatically build a static lib if we build a DLL.
13145 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13146 enable_shared_with_static_runtimes_CXX=yes
13148 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13149 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13150 lt_tool_outputfile="@TOOL_OUTPUT@"~
13151 case $lt_outputfile in
13154 lt_outputfile="$lt_outputfile.exe"
13155 lt_tool_outputfile="$lt_tool_outputfile.exe"
13158 func_to_tool_file "$lt_outputfile"~
13159 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13160 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13161 $RM "$lt_outputfile.manifest";
13166 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13167 # as there is no search path for DLLs.
13168 hardcode_libdir_flag_spec_CXX='-L$libdir'
13169 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13170 allow_undefined_flag_CXX=unsupported
13171 always_export_symbols_CXX=no
13172 enable_shared_with_static_runtimes_CXX=yes
13174 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13175 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'
13176 # If the export-symbols file already is a .def file (1st line
13177 # is EXPORTS), use it as is; otherwise, prepend...
13178 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13179 cp $export_symbols $output_objdir/$soname.def;
13181 echo EXPORTS > $output_objdir/$soname.def;
13182 cat $export_symbols >> $output_objdir/$soname.def;
13184 $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'
13191 darwin* | rhapsody*)
13194 archive_cmds_need_lc_CXX=no
13195 hardcode_direct_CXX=no
13196 hardcode_automatic_CXX=yes
13197 hardcode_shlibpath_var_CXX=unsupported
13198 if test "$lt_cv_ld_force_load" = "yes"; then
13199 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13202 whole_archive_flag_spec_CXX=''
13204 link_all_deplibs_CXX=yes
13205 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13206 case $cc_basename in
13207 ifort*) _lt_dar_can_shared=yes ;;
13208 *) _lt_dar_can_shared=$GCC ;;
13210 if test "$_lt_dar_can_shared" = "yes"; then
13211 output_verbose_link_cmd=func_echo_all
13212 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}"
13213 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13214 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}"
13215 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}"
13216 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13217 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}"
13218 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}"
13228 case $cc_basename in
13230 # FIXME: insert proper C++ library support
13234 # Green Hills C++ Compiler
13235 # FIXME: insert proper C++ library support
13239 # FIXME: insert proper C++ library support
13246 # C++ shared libraries reported to be fairly broken before
13252 archive_cmds_need_lc_CXX=no
13255 freebsd* | dragonfly*)
13256 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13262 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13263 link_all_deplibs_CXX=yes
13267 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13268 hardcode_libdir_separator_CXX=:
13269 export_dynamic_flag_spec_CXX='${wl}-E'
13270 hardcode_direct_CXX=yes
13271 hardcode_minus_L_CXX=yes # Not in the search PATH,
13272 # but as the default
13273 # location of the library.
13275 case $cc_basename in
13277 # FIXME: insert proper C++ library support
13281 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'
13282 # Commands to make compiler produce verbose output that lists
13283 # what "hidden" libraries, object files and flags are used when
13284 # linking a shared library.
13286 # There doesn't appear to be a way to prevent this compiler from
13287 # explicitly linking system object files so we need to strip them
13288 # from the output so that they don't get included in the library
13290 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13293 if test "$GXX" = yes; then
13294 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13296 # FIXME: insert proper C++ library support
13304 if test $with_gnu_ld = no; then
13305 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13306 hardcode_libdir_separator_CXX=:
13312 export_dynamic_flag_spec_CXX='${wl}-E'
13318 hardcode_direct_CXX=no
13319 hardcode_shlibpath_var_CXX=no
13322 hardcode_direct_CXX=yes
13323 hardcode_direct_absolute_CXX=yes
13324 hardcode_minus_L_CXX=yes # Not in the search PATH,
13325 # but as the default
13326 # location of the library.
13330 case $cc_basename in
13332 # FIXME: insert proper C++ library support
13338 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13341 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13344 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13347 # Commands to make compiler produce verbose output that lists
13348 # what "hidden" libraries, object files and flags are used when
13349 # linking a shared library.
13351 # There doesn't appear to be a way to prevent this compiler from
13352 # explicitly linking system object files so we need to strip them
13353 # from the output so that they don't get included in the library
13355 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13358 if test "$GXX" = yes; then
13359 if test $with_gnu_ld = no; then
13362 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13365 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13368 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13373 # FIXME: insert proper C++ library support
13381 hardcode_direct_CXX=no
13382 hardcode_shlibpath_var_CXX=no
13383 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13384 export_dynamic_flag_spec_CXX='${wl}-E'
13385 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13386 # Instead, shared libraries are loaded at an image base (0x10000000 by
13387 # default) and relocated if they conflict, which is a slow very memory
13388 # consuming and fragmenting process. To avoid this, we pick a random,
13389 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13390 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13391 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'
13392 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'
13395 case $cc_basename in
13398 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13400 # Archives containing C++ object files must be created using
13401 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13402 # necessary to make sure instantiated templates are included
13404 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13407 if test "$GXX" = yes; then
13408 if test "$with_gnu_ld" = no; then
13409 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13411 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13414 link_all_deplibs_CXX=yes
13417 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13418 hardcode_libdir_separator_CXX=:
13419 inherit_rpath_CXX=yes
13422 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13423 case $cc_basename in
13425 # Kuck and Associates, Inc. (KAI) C++ Compiler
13427 # KCC will only create a shared library if the output file
13428 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13429 # to its proper name (with version) after linking.
13430 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'
13431 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'
13432 # Commands to make compiler produce verbose output that lists
13433 # what "hidden" libraries, object files and flags are used when
13434 # linking a shared library.
13436 # There doesn't appear to be a way to prevent this compiler from
13437 # explicitly linking system object files so we need to strip them
13438 # from the output so that they don't get included in the library
13440 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13442 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13443 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13445 # Archives containing C++ object files must be created using
13446 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13447 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13452 # version 8.0 and above of icpc choke on multiply defined symbols
13453 # if we add $predep_objects and $postdep_objects, however 7.1 and
13454 # earlier do not add the objects themselves.
13455 case `$CC -V 2>&1` in
13457 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13458 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'
13460 *) # Version 8.0 or newer
13463 ia64*) tmp_idyn=' -i_dynamic';;
13465 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13466 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'
13469 archive_cmds_need_lc_CXX=no
13470 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13471 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13472 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13475 # Portland Group C++ compiler
13477 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13478 prelink_cmds_CXX='tpldir=Template.dir~
13480 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13481 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13482 old_archive_cmds_CXX='tpldir=Template.dir~
13484 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13485 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13487 archive_cmds_CXX='tpldir=Template.dir~
13489 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13490 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13491 archive_expsym_cmds_CXX='tpldir=Template.dir~
13493 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13494 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13496 *) # Version 6 and above use weak symbols
13497 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13498 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'
13502 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13503 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13504 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13508 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13509 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'
13511 runpath_var=LD_RUN_PATH
13512 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13513 hardcode_libdir_separator_CXX=:
13515 # Commands to make compiler produce verbose output that lists
13516 # what "hidden" libraries, object files and flags are used when
13517 # linking a shared library.
13519 # There doesn't appear to be a way to prevent this compiler from
13520 # explicitly linking system object files so we need to strip them
13521 # from the output so that they don't get included in the library
13523 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13525 xl* | mpixl* | bgxl*)
13526 # IBM XL 8.0 on PPC, with GNU ld
13527 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13528 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13529 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13530 if test "x$supports_anon_versioning" = xyes; then
13531 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13532 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13533 echo "local: *; };" >> $output_objdir/$libname.ver~
13534 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13538 case `$CC -V 2>&1 | sed 5q` in
13541 no_undefined_flag_CXX=' -zdefs'
13542 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13543 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'
13544 hardcode_libdir_flag_spec_CXX='-R$libdir'
13545 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13546 compiler_needs_object_CXX=yes
13548 # Not sure whether something based on
13549 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13551 output_verbose_link_cmd='func_echo_all'
13553 # Archives containing C++ object files must be created using
13554 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13555 # necessary to make sure instantiated templates are included
13557 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13565 # FIXME: insert proper C++ library support
13570 # FIXME: insert proper C++ library support
13575 case $cc_basename in
13577 # FIXME: insert proper C++ library support
13581 # FIXME: insert proper C++ library support
13588 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13589 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13591 hardcode_libdir_flag_spec_CXX='-R$libdir'
13592 hardcode_direct_CXX=yes
13593 hardcode_shlibpath_var_CXX=no
13595 # Workaround some broken pre-1.5 toolchains
13596 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13604 # C++ shared libraries are fairly broken
13609 if test -f /usr/libexec/ld.so; then
13610 hardcode_direct_CXX=yes
13611 hardcode_shlibpath_var_CXX=no
13612 hardcode_direct_absolute_CXX=yes
13613 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13614 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13615 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13616 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13617 export_dynamic_flag_spec_CXX='${wl}-E'
13618 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13620 output_verbose_link_cmd=func_echo_all
13626 osf3* | osf4* | osf5*)
13627 case $cc_basename in
13629 # Kuck and Associates, Inc. (KAI) C++ Compiler
13631 # KCC will only create a shared library if the output file
13632 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13633 # to its proper name (with version) after linking.
13634 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'
13636 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13637 hardcode_libdir_separator_CXX=:
13639 # Archives containing C++ object files must be created using
13640 # the KAI C++ compiler.
13642 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13643 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13647 # Rational C++ 2.4.1
13648 # FIXME: insert proper C++ library support
13654 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13655 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13656 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13659 allow_undefined_flag_CXX=' -expect_unresolved \*'
13660 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13661 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13662 echo "-hidden">> $lib.exp~
13663 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13665 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13669 hardcode_libdir_separator_CXX=:
13671 # Commands to make compiler produce verbose output that lists
13672 # what "hidden" libraries, object files and flags are used when
13673 # linking a shared library.
13675 # There doesn't appear to be a way to prevent this compiler from
13676 # explicitly linking system object files so we need to strip them
13677 # from the output so that they don't get included in the library
13679 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13682 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13683 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13686 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13689 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13693 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13694 hardcode_libdir_separator_CXX=:
13696 # Commands to make compiler produce verbose output that lists
13697 # what "hidden" libraries, object files and flags are used when
13698 # linking a shared library.
13699 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13702 # FIXME: insert proper C++ library support
13710 # FIXME: insert proper C++ library support
13715 case $cc_basename in
13718 # FIXME: insert proper C++ library support
13723 # FIXME: insert proper C++ library support
13727 # FIXME: insert proper C++ library support
13734 case $cc_basename in
13736 # Sun C++ 4.2, 5.x and Centerline C++
13737 archive_cmds_need_lc_CXX=yes
13738 no_undefined_flag_CXX=' -zdefs'
13739 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13740 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13741 $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'
13743 hardcode_libdir_flag_spec_CXX='-R$libdir'
13744 hardcode_shlibpath_var_CXX=no
13746 solaris2.[0-5] | solaris2.[0-5].*) ;;
13748 # The compiler driver will combine and reorder linker options,
13749 # but understands `-z linker_flag'.
13750 # Supported since Solaris 2.6 (maybe 2.5.1?)
13751 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13754 link_all_deplibs_CXX=yes
13756 output_verbose_link_cmd='func_echo_all'
13758 # Archives containing C++ object files must be created using
13759 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13760 # necessary to make sure instantiated templates are included
13762 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13765 # Green Hills C++ Compiler
13766 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13768 # The C++ compiler must be used to create the archive.
13769 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13772 # GNU C++ compiler with Solaris linker
13773 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13774 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13775 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13776 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13777 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13778 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13780 # Commands to make compiler produce verbose output that lists
13781 # what "hidden" libraries, object files and flags are used when
13782 # linking a shared library.
13783 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13785 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13787 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13788 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13789 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13791 # Commands to make compiler produce verbose output that lists
13792 # what "hidden" libraries, object files and flags are used when
13793 # linking a shared library.
13794 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13797 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13799 solaris2.[0-5] | solaris2.[0-5].*) ;;
13801 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13809 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13810 no_undefined_flag_CXX='${wl}-z,text'
13811 archive_cmds_need_lc_CXX=no
13812 hardcode_shlibpath_var_CXX=no
13813 runpath_var='LD_RUN_PATH'
13815 case $cc_basename in
13817 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13818 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13821 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13822 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13827 sysv5* | sco3.2v5* | sco5v6*)
13828 # Note: We can NOT use -z defs as we might desire, because we do not
13829 # link with -lc, and that would cause any symbols used from libc to
13830 # always be unresolved, which means just about no library would
13831 # ever link correctly. If we're not using GNU ld we use -z text
13832 # though, which does catch some bad symbols but isn't as heavy-handed
13834 no_undefined_flag_CXX='${wl}-z,text'
13835 allow_undefined_flag_CXX='${wl}-z,nodefs'
13836 archive_cmds_need_lc_CXX=no
13837 hardcode_shlibpath_var_CXX=no
13838 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13839 hardcode_libdir_separator_CXX=':'
13840 link_all_deplibs_CXX=yes
13841 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13842 runpath_var='LD_RUN_PATH'
13844 case $cc_basename in
13846 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13847 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13848 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13849 '"$old_archive_cmds_CXX"
13850 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13851 '"$reload_cmds_CXX"
13854 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13855 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13861 case $cc_basename in
13863 # NonStop-UX NCC 3.20
13864 # FIXME: insert proper C++ library support
13868 # FIXME: insert proper C++ library support
13875 # FIXME: insert proper C++ library support
13880 # FIXME: insert proper C++ library support
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13886 $as_echo "$ld_shlibs_CXX" >&6; }
13887 test "$ld_shlibs_CXX" = no && can_build_shared=no
13893 ## There is no encapsulation within the following macros, do not change
13894 ## the running order or otherwise move them around unless you know exactly
13895 ## what you are doing...
13896 # Dependencies to place before and after the object being linked:
13897 predep_objects_CXX=
13898 postdep_objects_CXX=
13901 compiler_lib_search_path_CXX=
13903 cat > conftest.$ac_ext <<_LT_EOF
13907 Foo (void) { a = 0; }
13914 _lt_libdeps_save_CFLAGS=$CFLAGS
13915 case "$CC $CFLAGS " in #(
13916 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13917 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13918 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13921 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13922 (eval $ac_compile) 2>&5
13924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13925 test $ac_status = 0; }; then
13926 # Parse the compiler output and extract the necessary
13927 # objects, libraries and library flags.
13929 # Sentinel used to keep track of whether or not we are before
13930 # the conftest object file.
13931 pre_test_object_deps_done=no
13933 for p in `eval "$output_verbose_link_cmd"`; do
13934 case ${prev}${p} in
13937 # Some compilers place space between "-{L,R}" and the path.
13938 # Remove the space.
13939 if test $p = "-L" ||
13940 test $p = "-R"; then
13945 # Expand the sysroot to ease extracting the directories later.
13946 if test -z "$prev"; then
13948 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13949 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13950 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13954 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13956 if test "$pre_test_object_deps_done" = no; then
13959 # Internal compiler library paths should come after those
13960 # provided the user. The postdeps already come after the
13961 # user supplied libs so there is no need to process them.
13962 if test -z "$compiler_lib_search_path_CXX"; then
13963 compiler_lib_search_path_CXX="${prev}${p}"
13965 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13968 # The "-l" case would never come before the object being
13969 # linked, so don't bother handling this case.
13972 if test -z "$postdeps_CXX"; then
13973 postdeps_CXX="${prev}${p}"
13975 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13981 *.lto.$objext) ;; # Ignore GCC LTO objects
13983 # This assumes that the test object file only shows up
13984 # once in the compiler output.
13985 if test "$p" = "conftest.$objext"; then
13986 pre_test_object_deps_done=yes
13990 if test "$pre_test_object_deps_done" = no; then
13991 if test -z "$predep_objects_CXX"; then
13992 predep_objects_CXX="$p"
13994 predep_objects_CXX="$predep_objects_CXX $p"
13997 if test -z "$postdep_objects_CXX"; then
13998 postdep_objects_CXX="$p"
14000 postdep_objects_CXX="$postdep_objects_CXX $p"
14005 *) ;; # Ignore the rest.
14013 echo "libtool.m4: error: problem compiling CXX test program"
14016 $RM -f confest.$objext
14017 CFLAGS=$_lt_libdeps_save_CFLAGS
14019 # PORTME: override above test on systems where it is broken
14022 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14023 # hack all around it, let's just trust "g++" to DTRT.
14024 predep_objects_CXX=
14025 postdep_objects_CXX=
14030 case `$CC -V 2>&1 | sed 5q` in
14034 # The more standards-conforming stlport4 library is
14035 # incompatible with the Cstd library. Avoid specifying
14036 # it if it's in CXXFLAGS. Ignore libCrun as
14037 # -library=stlport4 depends on it.
14038 case " $CXX $CXXFLAGS " in
14039 *" -library=stlport4 "*)
14040 solaris_use_stlport4=yes
14044 if test "$solaris_use_stlport4" != yes; then
14045 postdeps_CXX='-library=Cstd -library=Crun'
14052 case $cc_basename in
14054 # The more standards-conforming stlport4 library is
14055 # incompatible with the Cstd library. Avoid specifying
14056 # it if it's in CXXFLAGS. Ignore libCrun as
14057 # -library=stlport4 depends on it.
14058 case " $CXX $CXXFLAGS " in
14059 *" -library=stlport4 "*)
14060 solaris_use_stlport4=yes
14064 # Adding this requires a known-good setup of shared libraries for
14065 # Sun compiler versions before 5.6, else PIC objects from an old
14066 # archive will be linked into the output, leading to subtle bugs.
14067 if test "$solaris_use_stlport4" != yes; then
14068 postdeps_CXX='-library=Cstd -library=Crun'
14076 case " $postdeps_CXX " in
14077 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14079 compiler_lib_search_dirs_CXX=
14080 if test -n "${compiler_lib_search_path_CXX}"; then
14081 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14114 lt_prog_compiler_wl_CXX=
14115 lt_prog_compiler_pic_CXX=
14116 lt_prog_compiler_static_CXX=
14119 # C++ specific cases for pic, static, wl, etc.
14120 if test "$GXX" = yes; then
14121 lt_prog_compiler_wl_CXX='-Wl,'
14122 lt_prog_compiler_static_CXX='-static'
14126 # All AIX code is PIC.
14127 if test "$host_cpu" = ia64; then
14128 # AIX 5 now supports IA64 processor
14129 lt_prog_compiler_static_CXX='-Bstatic'
14136 # see comment about AmigaOS4 .so support
14137 lt_prog_compiler_pic_CXX='-fPIC'
14140 # FIXME: we need at least 68020 code to build shared libraries, but
14141 # adding the `-m68020' flag to GCC prevents building anything better,
14143 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14148 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14149 # PIC is the default for these OSes.
14151 mingw* | cygwin* | os2* | pw32* | cegcc*)
14152 # This hack is so that the source file can tell whether it is being
14153 # built for inclusion in a dll (and should export symbols for example).
14154 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14155 # (--disable-auto-import) libraries
14156 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14158 darwin* | rhapsody*)
14159 # PIC is the default on this platform
14160 # Common symbols not allowed in MH_DYLIB files
14161 lt_prog_compiler_pic_CXX='-fno-common'
14164 # DJGPP does not support shared libraries at all
14165 lt_prog_compiler_pic_CXX=
14168 # PIC is the default for Haiku.
14169 # The "-static" flag exists, but is broken.
14170 lt_prog_compiler_static_CXX=
14173 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14174 # Instead, we relocate shared libraries at runtime.
14177 if test -d /usr/nec; then
14178 lt_prog_compiler_pic_CXX=-Kconform_pic
14182 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14183 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14184 # sets the default TLS model and affects inlining.
14189 lt_prog_compiler_pic_CXX='-fPIC'
14194 # QNX uses GNU C++, but need to define -shared option too, otherwise
14195 # it will coredump.
14196 lt_prog_compiler_pic_CXX='-fPIC -shared'
14199 lt_prog_compiler_pic_CXX='-fPIC'
14205 # All AIX code is PIC.
14206 if test "$host_cpu" = ia64; then
14207 # AIX 5 now supports IA64 processor
14208 lt_prog_compiler_static_CXX='-Bstatic'
14210 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14214 case $cc_basename in
14216 # Green Hills C++ Compiler
14217 # _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"
14221 mingw* | cygwin* | os2* | pw32* | cegcc*)
14222 # This hack is so that the source file can tell whether it is being
14223 # built for inclusion in a dll (and should export symbols for example).
14224 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14227 case $cc_basename in
14229 lt_prog_compiler_pic_CXX='-KPIC'
14232 # Green Hills C++ Compiler
14233 lt_prog_compiler_pic_CXX='-pic'
14239 freebsd* | dragonfly*)
14240 # FreeBSD uses GNU C++
14242 hpux9* | hpux10* | hpux11*)
14243 case $cc_basename in
14245 lt_prog_compiler_wl_CXX='-Wl,'
14246 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14247 if test "$host_cpu" != ia64; then
14248 lt_prog_compiler_pic_CXX='+Z'
14252 lt_prog_compiler_wl_CXX='-Wl,'
14253 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14259 lt_prog_compiler_pic_CXX='+Z'
14268 # This is c89, which is MS Visual C++ (no shared libs)
14269 # Anyone wants to do a port?
14271 irix5* | irix6* | nonstopux*)
14272 case $cc_basename in
14274 lt_prog_compiler_wl_CXX='-Wl,'
14275 lt_prog_compiler_static_CXX='-non_shared'
14276 # CC pic flag -KPIC is the default.
14282 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14283 case $cc_basename in
14286 lt_prog_compiler_wl_CXX='--backend -Wl,'
14287 lt_prog_compiler_pic_CXX='-fPIC'
14290 # old Intel C++ for x86_64 which still supported -KPIC.
14291 lt_prog_compiler_wl_CXX='-Wl,'
14292 lt_prog_compiler_pic_CXX='-KPIC'
14293 lt_prog_compiler_static_CXX='-static'
14296 # Intel C++, used to be incompatible with GCC.
14297 # ICC 10 doesn't accept -KPIC any more.
14298 lt_prog_compiler_wl_CXX='-Wl,'
14299 lt_prog_compiler_pic_CXX='-fPIC'
14300 lt_prog_compiler_static_CXX='-static'
14303 # Portland Group C++ compiler
14304 lt_prog_compiler_wl_CXX='-Wl,'
14305 lt_prog_compiler_pic_CXX='-fpic'
14306 lt_prog_compiler_static_CXX='-Bstatic'
14310 # Make sure the PIC flag is empty. It appears that all Alpha
14311 # Linux and Compaq Tru64 Unix objects are PIC.
14312 lt_prog_compiler_pic_CXX=
14313 lt_prog_compiler_static_CXX='-non_shared'
14315 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14316 # IBM XL 8.0, 9.0 on PPC and BlueGene
14317 lt_prog_compiler_wl_CXX='-Wl,'
14318 lt_prog_compiler_pic_CXX='-qpic'
14319 lt_prog_compiler_static_CXX='-qstaticlink'
14322 case `$CC -V 2>&1 | sed 5q` in
14325 lt_prog_compiler_pic_CXX='-KPIC'
14326 lt_prog_compiler_static_CXX='-Bstatic'
14327 lt_prog_compiler_wl_CXX='-Qoption ld '
14338 case $cc_basename in
14340 lt_prog_compiler_pic_CXX='-W c,exportall'
14346 netbsd* | netbsdelf*-gnu)
14349 # QNX uses GNU C++, but need to define -shared option too, otherwise
14350 # it will coredump.
14351 lt_prog_compiler_pic_CXX='-fPIC -shared'
14353 osf3* | osf4* | osf5*)
14354 case $cc_basename in
14356 lt_prog_compiler_wl_CXX='--backend -Wl,'
14359 # Rational C++ 2.4.1
14360 lt_prog_compiler_pic_CXX='-pic'
14363 # Digital/Compaq C++
14364 lt_prog_compiler_wl_CXX='-Wl,'
14365 # Make sure the PIC flag is empty. It appears that all Alpha
14366 # Linux and Compaq Tru64 Unix objects are PIC.
14367 lt_prog_compiler_pic_CXX=
14368 lt_prog_compiler_static_CXX='-non_shared'
14377 case $cc_basename in
14379 # Sun C++ 4.2, 5.x and Centerline C++
14380 lt_prog_compiler_pic_CXX='-KPIC'
14381 lt_prog_compiler_static_CXX='-Bstatic'
14382 lt_prog_compiler_wl_CXX='-Qoption ld '
14385 # Green Hills C++ Compiler
14386 lt_prog_compiler_pic_CXX='-PIC'
14393 case $cc_basename in
14396 lt_prog_compiler_pic_CXX='-pic'
14397 lt_prog_compiler_static_CXX='-Bstatic'
14401 lt_prog_compiler_pic_CXX='-pic'
14407 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14408 case $cc_basename in
14410 lt_prog_compiler_wl_CXX='-Wl,'
14411 lt_prog_compiler_pic_CXX='-KPIC'
14412 lt_prog_compiler_static_CXX='-Bstatic'
14417 case $cc_basename in
14419 # NonStop-UX NCC 3.20
14420 lt_prog_compiler_pic_CXX='-KPIC'
14429 lt_prog_compiler_can_build_shared_CXX=no
14435 # For platforms which do not support PIC, -DPIC is meaningless:
14437 lt_prog_compiler_pic_CXX=
14440 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14445 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14446 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14447 $as_echo_n "(cached) " >&6
14449 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14452 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14453 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14456 # Check to make sure the PIC flag actually works.
14458 if test -n "$lt_prog_compiler_pic_CXX"; then
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14460 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14461 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14462 $as_echo_n "(cached) " >&6
14464 lt_cv_prog_compiler_pic_works_CXX=no
14465 ac_outfile=conftest.$ac_objext
14466 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14467 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14468 # Insert the option either (1) after the last *FLAGS variable, or
14469 # (2) before a word containing "conftest.", or (3) at the end.
14470 # Note that $ac_compile itself does not contain backslashes and begins
14471 # with a dollar sign (not a hyphen), so the echo should work correctly.
14472 # The option is referenced via a variable to avoid confusing sed.
14473 lt_compile=`echo "$ac_compile" | $SED \
14474 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14475 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14476 -e 's:$: $lt_compiler_flag:'`
14477 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14478 (eval "$lt_compile" 2>conftest.err)
14480 cat conftest.err >&5
14481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 if (exit $ac_status) && test -s "$ac_outfile"; then
14483 # The compiler can only warn and ignore the option if not recognized
14484 # So say no if there are warnings other than the usual output.
14485 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14486 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14487 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14488 lt_cv_prog_compiler_pic_works_CXX=yes
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14495 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14497 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14498 case $lt_prog_compiler_pic_CXX in
14500 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14503 lt_prog_compiler_pic_CXX=
14504 lt_prog_compiler_can_build_shared_CXX=no
14514 # Check to make sure the static flag actually works.
14516 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14518 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14519 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14520 $as_echo_n "(cached) " >&6
14522 lt_cv_prog_compiler_static_works_CXX=no
14523 save_LDFLAGS="$LDFLAGS"
14524 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14525 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14526 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14527 # The linker can only warn and ignore the option if not recognized
14528 # So say no if there are warnings
14529 if test -s conftest.err; then
14530 # Append any errors to the config.log.
14531 cat conftest.err 1>&5
14532 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14533 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14534 if diff conftest.exp conftest.er2 >/dev/null; then
14535 lt_cv_prog_compiler_static_works_CXX=yes
14538 lt_cv_prog_compiler_static_works_CXX=yes
14542 LDFLAGS="$save_LDFLAGS"
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14546 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14548 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14551 lt_prog_compiler_static_CXX=
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14558 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14559 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14560 $as_echo_n "(cached) " >&6
14562 lt_cv_prog_compiler_c_o_CXX=no
14563 $RM -r conftest 2>/dev/null
14567 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14569 lt_compiler_flag="-o out/conftest2.$ac_objext"
14570 # Insert the option either (1) after the last *FLAGS variable, or
14571 # (2) before a word containing "conftest.", or (3) at the end.
14572 # Note that $ac_compile itself does not contain backslashes and begins
14573 # with a dollar sign (not a hyphen), so the echo should work correctly.
14574 lt_compile=`echo "$ac_compile" | $SED \
14575 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14576 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14577 -e 's:$: $lt_compiler_flag:'`
14578 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14579 (eval "$lt_compile" 2>out/conftest.err)
14581 cat out/conftest.err >&5
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14585 # The compiler can only warn and ignore the option if not recognized
14586 # So say no if there are warnings
14587 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14588 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14589 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14590 lt_cv_prog_compiler_c_o_CXX=yes
14595 # SGI C++ compiler will create directory out/ii_files/ for
14596 # template instantiation
14597 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14598 $RM out/* && rmdir out
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14605 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14610 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14611 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14612 $as_echo_n "(cached) " >&6
14614 lt_cv_prog_compiler_c_o_CXX=no
14615 $RM -r conftest 2>/dev/null
14619 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14621 lt_compiler_flag="-o out/conftest2.$ac_objext"
14622 # Insert the option either (1) after the last *FLAGS variable, or
14623 # (2) before a word containing "conftest.", or (3) at the end.
14624 # Note that $ac_compile itself does not contain backslashes and begins
14625 # with a dollar sign (not a hyphen), so the echo should work correctly.
14626 lt_compile=`echo "$ac_compile" | $SED \
14627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14629 -e 's:$: $lt_compiler_flag:'`
14630 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14631 (eval "$lt_compile" 2>out/conftest.err)
14633 cat out/conftest.err >&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14637 # The compiler can only warn and ignore the option if not recognized
14638 # So say no if there are warnings
14639 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14640 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14641 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14642 lt_cv_prog_compiler_c_o_CXX=yes
14647 # SGI C++ compiler will create directory out/ii_files/ for
14648 # template instantiation
14649 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14650 $RM out/* && rmdir out
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14657 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14662 hard_links="nottested"
14663 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14664 # do not overwrite the value of need_locks provided by the user
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14666 $as_echo_n "checking if we can lock with hard links... " >&6; }
14669 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14671 ln conftest.a conftest.b 2>&5 || hard_links=no
14672 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14674 $as_echo "$hard_links" >&6; }
14675 if test "$hard_links" = no; then
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14677 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14687 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14689 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14690 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14693 # If we're using GNU nm, then we don't want the "-C" option.
14694 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14695 # Also, AIX nm treats weak defined symbols like other global defined
14696 # symbols, whereas GNU nm marks them as "W".
14697 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14698 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14700 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'
14704 export_symbols_cmds_CXX="$ltdll_cmds"
14706 cygwin* | mingw* | cegcc*)
14707 case $cc_basename in
14709 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14712 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14713 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14717 linux* | k*bsd*-gnu | gnu*)
14718 link_all_deplibs_CXX=no
14721 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14726 $as_echo "$ld_shlibs_CXX" >&6; }
14727 test "$ld_shlibs_CXX" = no && can_build_shared=no
14729 with_gnu_ld_CXX=$with_gnu_ld
14737 # Do we need to explicitly link libc?
14739 case "x$archive_cmds_need_lc_CXX" in
14741 # Assume -lc should be added
14742 archive_cmds_need_lc_CXX=yes
14744 if test "$enable_shared" = yes && test "$GCC" = yes; then
14745 case $archive_cmds_CXX in
14747 # FIXME: we may have to deal with multi-command sequences.
14750 # Test whether the compiler implicitly links with -lc since on some
14751 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14752 # to ld, don't add -lc before -lgcc.
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14754 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14755 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14756 $as_echo_n "(cached) " >&6
14759 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14761 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14762 (eval $ac_compile) 2>&5
14764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14765 test $ac_status = 0; } 2>conftest.err; then
14768 libobjs=conftest.$ac_objext
14770 wl=$lt_prog_compiler_wl_CXX
14771 pic_flag=$lt_prog_compiler_pic_CXX
14777 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14778 allow_undefined_flag_CXX=
14779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14780 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14783 test $ac_status = 0; }
14785 lt_cv_archive_cmds_need_lc_CXX=no
14787 lt_cv_archive_cmds_need_lc_CXX=yes
14789 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14791 cat conftest.err 1>&5
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14797 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14798 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14867 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14869 library_names_spec=
14870 libname_spec='lib$name'
14874 postuninstall_cmds=
14878 shlibpath_overrides_runpath=unknown
14880 dynamic_linker="$host_os ld.so"
14881 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14882 need_lib_prefix=unknown
14883 hardcode_into_libs=no
14885 # when you set need_version to no, make sure it does not cause -set_version
14886 # flags to be left without arguments
14887 need_version=unknown
14891 version_type=linux # correct to gnu/linux during the next big refactor
14892 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14893 shlibpath_var=LIBPATH
14895 # AIX 3 has no versioning support, so we append a major version to the name.
14896 soname_spec='${libname}${release}${shared_ext}$major'
14900 version_type=linux # correct to gnu/linux during the next big refactor
14903 hardcode_into_libs=yes
14904 if test "$host_cpu" = ia64; then
14905 # AIX 5 supports IA64
14906 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14907 shlibpath_var=LD_LIBRARY_PATH
14909 # With GCC up to 2.95.x, collect2 would create an import file
14910 # for dependence libraries. The import file would start with
14911 # the line `#! .'. This would cause the generated library to
14912 # depend on `.', always an invalid library. This was fixed in
14913 # development snapshots of GCC prior to 3.0.
14915 aix4 | aix4.[01] | aix4.[01].*)
14916 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14918 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14921 can_build_shared=no
14925 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14926 # soname into executable. Probably we can add versioning support to
14927 # collect2, so additional links can be useful in future.
14928 if test "$aix_use_runtimelinking" = yes; then
14929 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14930 # instead of lib<name>.a to let people know that these are not
14931 # typical AIX shared libraries.
14932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14934 # We preserve .a as extension for shared libraries through AIX4.2
14935 # and later when we are not doing run time linking.
14936 library_names_spec='${libname}${release}.a $libname.a'
14937 soname_spec='${libname}${release}${shared_ext}$major'
14939 shlibpath_var=LIBPATH
14946 # Since July 2007 AmigaOS4 officially supports .so libraries.
14947 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14951 library_names_spec='$libname.ixlibrary $libname.a'
14952 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14953 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14959 library_names_spec='${libname}${shared_ext}'
14960 dynamic_linker="$host_os ld.so"
14961 shlibpath_var=LIBRARY_PATH
14965 version_type=linux # correct to gnu/linux during the next big refactor
14967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14968 soname_spec='${libname}${release}${shared_ext}$major'
14969 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14970 shlibpath_var=LD_LIBRARY_PATH
14971 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14972 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14973 # the default ld.so.conf also contains /usr/contrib/lib and
14974 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14975 # libtool to hard-code these into programs
14978 cygwin* | mingw* | pw32* | cegcc*)
14979 version_type=windows
14984 case $GCC,$cc_basename in
14987 library_names_spec='$libname.dll.a'
14988 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14989 postinstall_cmds='base_file=`basename \${file}`~
14990 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14991 dldir=$destdir/`dirname \$dlpath`~
14992 test -d \$dldir || mkdir -p \$dldir~
14993 $install_prog $dir/$dlname \$dldir/$dlname~
14994 chmod a+x \$dldir/$dlname~
14995 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14996 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14998 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14999 dlpath=$dir/\$dldll~
15001 shlibpath_overrides_runpath=yes
15005 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15006 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15010 # MinGW DLLs use traditional 'lib' prefix
15011 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15014 # pw32 DLLs use 'pw' prefix rather than 'lib'
15015 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15018 dynamic_linker='Win32 ld.exe'
15023 libname_spec='$name'
15024 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15025 library_names_spec='${libname}.dll.lib'
15029 sys_lib_search_path_spec=
15032 for lt_path in $LIB
15035 # Let DOS variable expansion print the short 8.3 style file name.
15036 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15037 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15040 # Convert to MSYS style.
15041 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15044 # Convert to unix form, then to dos form, then back to unix form
15045 # but this time dos style (no spaces!) so that the unix form looks
15046 # like /cygdrive/c/PROGRA~1:/cygdr...
15047 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15048 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15049 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15052 sys_lib_search_path_spec="$LIB"
15053 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15054 # It is most probably a Windows format PATH.
15055 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15057 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15059 # FIXME: find the short name or the path components, as spaces are
15060 # common. (e.g. "Program Files" -> "PROGRA~1")
15064 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15065 postinstall_cmds='base_file=`basename \${file}`~
15066 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15067 dldir=$destdir/`dirname \$dlpath`~
15068 test -d \$dldir || mkdir -p \$dldir~
15069 $install_prog $dir/$dlname \$dldir/$dlname'
15070 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15071 dlpath=$dir/\$dldll~
15073 shlibpath_overrides_runpath=yes
15074 dynamic_linker='Win32 link.exe'
15078 # Assume MSVC wrapper
15079 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15080 dynamic_linker='Win32 ld.exe'
15083 # FIXME: first we should search . and the directory the executable is in
15087 darwin* | rhapsody*)
15088 dynamic_linker="$host_os dyld"
15089 version_type=darwin
15092 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15093 soname_spec='${libname}${release}${major}$shared_ext'
15094 shlibpath_overrides_runpath=yes
15095 shlibpath_var=DYLD_LIBRARY_PATH
15096 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15098 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15102 version_type=linux # correct to gnu/linux during the next big refactor
15105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15106 soname_spec='${libname}${release}${shared_ext}$major'
15107 shlibpath_var=LD_LIBRARY_PATH
15110 freebsd* | dragonfly*)
15111 # DragonFly does not have aout. When/if they implement a new
15112 # versioning mechanism, adjust this.
15113 if test -x /usr/bin/objformat; then
15114 objformat=`/usr/bin/objformat`
15117 freebsd[23].*) objformat=aout ;;
15118 *) objformat=elf ;;
15121 version_type=freebsd-$objformat
15122 case $version_type in
15124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15129 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15133 shlibpath_var=LD_LIBRARY_PATH
15136 shlibpath_overrides_runpath=yes
15138 freebsd3.[01]* | freebsdelf3.[01]*)
15139 shlibpath_overrides_runpath=yes
15140 hardcode_into_libs=yes
15142 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15143 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15144 shlibpath_overrides_runpath=no
15145 hardcode_into_libs=yes
15147 *) # from 4.6 on, and DragonFly
15148 shlibpath_overrides_runpath=yes
15149 hardcode_into_libs=yes
15155 version_type=linux # correct to gnu/linux during the next big refactor
15158 dynamic_linker="$host_os runtime_loader"
15159 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15160 soname_spec='${libname}${release}${shared_ext}$major'
15161 shlibpath_var=LIBRARY_PATH
15162 shlibpath_overrides_runpath=yes
15163 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15164 hardcode_into_libs=yes
15167 hpux9* | hpux10* | hpux11*)
15168 # Give a soname corresponding to the major version so that dld.sl refuses to
15169 # link against other versions.
15176 hardcode_into_libs=yes
15177 dynamic_linker="$host_os dld.so"
15178 shlibpath_var=LD_LIBRARY_PATH
15179 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15181 soname_spec='${libname}${release}${shared_ext}$major'
15182 if test "X$HPUX_IA64_MODE" = X32; then
15183 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15185 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15187 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15191 hardcode_into_libs=yes
15192 dynamic_linker="$host_os dld.sl"
15193 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15194 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15196 soname_spec='${libname}${release}${shared_ext}$major'
15197 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15198 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15202 dynamic_linker="$host_os dld.sl"
15203 shlibpath_var=SHLIB_PATH
15204 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15206 soname_spec='${libname}${release}${shared_ext}$major'
15209 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15210 postinstall_cmds='chmod 555 $lib'
15211 # or fails outright, so override atomically:
15212 install_override_mode=555
15216 version_type=linux # correct to gnu/linux during the next big refactor
15219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15220 soname_spec='${libname}${release}${shared_ext}$major'
15221 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15222 shlibpath_var=LD_LIBRARY_PATH
15223 shlibpath_overrides_runpath=no
15224 hardcode_into_libs=yes
15227 irix5* | irix6* | nonstopux*)
15229 nonstopux*) version_type=nonstopux ;;
15231 if test "$lt_cv_prog_gnu_ld" = yes; then
15232 version_type=linux # correct to gnu/linux during the next big refactor
15239 soname_spec='${libname}${release}${shared_ext}$major'
15240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15242 irix5* | nonstopux*)
15243 libsuff= shlibsuff=
15246 case $LD in # libtool.m4 will add one of these switches to LD
15247 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15248 libsuff= shlibsuff= libmagic=32-bit;;
15249 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15250 libsuff=32 shlibsuff=N32 libmagic=N32;;
15251 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15252 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15253 *) libsuff= shlibsuff= libmagic=never-match;;
15257 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15258 shlibpath_overrides_runpath=no
15259 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15260 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15261 hardcode_into_libs=yes
15264 # No shared lib support for Linux oldld, aout, or coff.
15265 linux*oldld* | linux*aout* | linux*coff*)
15269 # This must be glibc/ELF.
15270 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15271 version_type=linux # correct to gnu/linux during the next big refactor
15274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15275 soname_spec='${libname}${release}${shared_ext}$major'
15276 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15277 shlibpath_var=LD_LIBRARY_PATH
15278 shlibpath_overrides_runpath=no
15280 # Some binutils ld are patched to set DT_RUNPATH
15281 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15282 $as_echo_n "(cached) " >&6
15284 lt_cv_shlibpath_overrides_runpath=no
15285 save_LDFLAGS=$LDFLAGS
15286 save_libdir=$libdir
15287 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15288 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15290 /* end confdefs.h. */
15300 if ac_fn_cxx_try_link "$LINENO"; then :
15301 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15302 lt_cv_shlibpath_overrides_runpath=yes
15305 rm -f core conftest.err conftest.$ac_objext \
15306 conftest$ac_exeext conftest.$ac_ext
15307 LDFLAGS=$save_LDFLAGS
15308 libdir=$save_libdir
15312 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15314 # This implies no fast_install, which is unacceptable.
15315 # Some rework will be needed to allow for fast_install
15316 # before this can be enabled.
15317 hardcode_into_libs=yes
15319 # Append ld.so.conf contents to the search path
15320 if test -f /etc/ld.so.conf; then
15321 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15322 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15325 # We used to test for /lib/ld.so.1 and disable shared libraries on
15326 # powerpc, because MkLinux only supported shared libraries with the
15327 # GNU dynamic linker. Since this was broken with cross compilers,
15328 # most powerpc-linux boxes support dynamic linking these days and
15329 # people can always --disable-shared, the test was removed, and we
15330 # assume the GNU/Linux dynamic linker is in use.
15331 dynamic_linker='GNU/Linux ld.so'
15338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15339 soname_spec='${libname}${release}${shared_ext}$major'
15340 shlibpath_var=LD_LIBRARY_PATH
15341 shlibpath_overrides_runpath=no
15342 hardcode_into_libs=yes
15343 dynamic_linker='NetBSD ld.elf_so'
15350 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15352 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15353 dynamic_linker='NetBSD (a.out) ld.so'
15355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15356 soname_spec='${libname}${release}${shared_ext}$major'
15357 dynamic_linker='NetBSD ld.elf_so'
15359 shlibpath_var=LD_LIBRARY_PATH
15360 shlibpath_overrides_runpath=yes
15361 hardcode_into_libs=yes
15365 version_type=linux # correct to gnu/linux during the next big refactor
15366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15367 shlibpath_var=LD_LIBRARY_PATH
15368 shlibpath_overrides_runpath=yes
15375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15376 soname_spec='${libname}${release}${shared_ext}$major'
15377 shlibpath_var=LD_LIBRARY_PATH
15378 shlibpath_overrides_runpath=no
15379 hardcode_into_libs=yes
15380 dynamic_linker='ldqnx.so'
15385 sys_lib_dlsearch_path_spec="/usr/lib"
15387 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15389 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15390 *) need_version=no ;;
15392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15393 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15394 shlibpath_var=LD_LIBRARY_PATH
15395 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15397 openbsd2.[89] | openbsd2.[89].*)
15398 shlibpath_overrides_runpath=no
15401 shlibpath_overrides_runpath=yes
15405 shlibpath_overrides_runpath=yes
15410 libname_spec='$name'
15413 library_names_spec='$libname${shared_ext} $libname.a'
15414 dynamic_linker='OS/2 ld.exe'
15415 shlibpath_var=LIBPATH
15418 osf3* | osf4* | osf5*)
15422 soname_spec='${libname}${release}${shared_ext}$major'
15423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15424 shlibpath_var=LD_LIBRARY_PATH
15425 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15426 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15434 version_type=linux # correct to gnu/linux during the next big refactor
15437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15438 soname_spec='${libname}${release}${shared_ext}$major'
15439 shlibpath_var=LD_LIBRARY_PATH
15440 shlibpath_overrides_runpath=yes
15441 hardcode_into_libs=yes
15442 # ldd complains unless libraries are executable
15443 postinstall_cmds='chmod +x $lib'
15448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15449 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15450 shlibpath_var=LD_LIBRARY_PATH
15451 shlibpath_overrides_runpath=yes
15452 if test "$with_gnu_ld" = yes; then
15459 version_type=linux # correct to gnu/linux during the next big refactor
15460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15461 soname_spec='${libname}${release}${shared_ext}$major'
15462 shlibpath_var=LD_LIBRARY_PATH
15463 case $host_vendor in
15465 shlibpath_overrides_runpath=no
15467 runpath_var=LD_RUN_PATH
15475 shlibpath_overrides_runpath=no
15476 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15482 if test -d /usr/nec ;then
15483 version_type=linux # correct to gnu/linux during the next big refactor
15484 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15485 soname_spec='$libname${shared_ext}.$major'
15486 shlibpath_var=LD_LIBRARY_PATH
15490 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15491 version_type=freebsd-elf
15494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15495 soname_spec='${libname}${release}${shared_ext}$major'
15496 shlibpath_var=LD_LIBRARY_PATH
15497 shlibpath_overrides_runpath=yes
15498 hardcode_into_libs=yes
15499 if test "$with_gnu_ld" = yes; then
15500 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15502 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15505 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15509 sys_lib_dlsearch_path_spec='/usr/lib'
15513 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15514 version_type=linux # correct to gnu/linux during the next big refactor
15517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15518 shlibpath_var=LD_LIBRARY_PATH
15519 shlibpath_overrides_runpath=no
15520 hardcode_into_libs=yes
15524 version_type=linux # correct to gnu/linux during the next big refactor
15525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15526 soname_spec='${libname}${release}${shared_ext}$major'
15527 shlibpath_var=LD_LIBRARY_PATH
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15535 $as_echo "$dynamic_linker" >&6; }
15536 test "$dynamic_linker" = no && can_build_shared=no
15538 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15539 if test "$GCC" = yes; then
15540 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15543 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15544 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15546 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15547 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15588 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15589 hardcode_action_CXX=
15590 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15591 test -n "$runpath_var_CXX" ||
15592 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15594 # We can hardcode non-existent directories.
15595 if test "$hardcode_direct_CXX" != no &&
15596 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15597 # have to relink, otherwise we might link with an installed library
15598 # when we should be linking with a yet-to-be-installed one
15599 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15600 test "$hardcode_minus_L_CXX" != no; then
15601 # Linking always hardcodes the temporary library directory.
15602 hardcode_action_CXX=relink
15604 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15605 hardcode_action_CXX=immediate
15608 # We cannot hardcode anything, or else we can only hardcode existing
15610 hardcode_action_CXX=unsupported
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15613 $as_echo "$hardcode_action_CXX" >&6; }
15615 if test "$hardcode_action_CXX" = relink ||
15616 test "$inherit_rpath_CXX" = yes; then
15617 # Fast installation is not supported
15618 enable_fast_install=no
15619 elif test "$shlibpath_overrides_runpath" = yes ||
15620 test "$enable_shared" = no; then
15621 # Fast installation is not necessary
15622 enable_fast_install=needless
15631 fi # test -n "$compiler"
15634 CFLAGS=$lt_save_CFLAGS
15638 with_gnu_ld=$lt_save_with_gnu_ld
15639 lt_cv_path_LDCXX=$lt_cv_path_LD
15640 lt_cv_path_LD=$lt_save_path_LD
15641 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15642 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15643 fi # test "$_lt_caught_CXX_error" != yes
15646 ac_cpp='$CPP $CPPFLAGS'
15647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15665 ac_config_commands="$ac_config_commands libtool"
15670 # Only expand once:
15675 for ac_prog in gm4 m4
15677 # Extract the first word of "$ac_prog", so it can be a program name with args.
15678 set dummy $ac_prog; ac_word=$2
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15680 $as_echo_n "checking for $ac_word... " >&6; }
15681 if ${ac_cv_prog_M4+:} false; then :
15682 $as_echo_n "(cached) " >&6
15684 if test -n "$M4"; then
15685 ac_cv_prog_M4="$M4" # Let the user override the test.
15687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15688 for as_dir in $PATH
15691 test -z "$as_dir" && as_dir=.
15692 for ac_exec_ext in '' $ac_executable_extensions; do
15693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15694 ac_cv_prog_M4="$ac_prog"
15695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15705 if test -n "$M4"; then
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
15707 $as_echo "$M4" >&6; }
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15710 $as_echo "no" >&6; }
15714 test -n "$M4" && break
15718 if test "x$M4" = x; then :
15719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15721 as_fn_error $? "The GNU M4 macro processor is required for building libsigc++.
15722 See \`config.log' for more details" "$LINENO" 5; }
15725 # Extract the first word of "perl", so it can be a program name with args.
15726 set dummy perl; ac_word=$2
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15728 $as_echo_n "checking for $ac_word... " >&6; }
15729 if ${ac_cv_path_PERL+:} false; then :
15730 $as_echo_n "(cached) " >&6
15734 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
15737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15738 for as_dir in $PATH
15741 test -z "$as_dir" && as_dir=.
15742 for ac_exec_ext in '' $ac_executable_extensions; do
15743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15744 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
15745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15752 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
15756 PERL=$ac_cv_path_PERL
15757 if test -n "$PERL"; then
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
15759 $as_echo "$PERL" >&6; }
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15762 $as_echo "no" >&6; }
15767 # Extract the first word of "dot", so it can be a program name with args.
15768 set dummy dot; ac_word=$2
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15770 $as_echo_n "checking for $ac_word... " >&6; }
15771 if ${ac_cv_path_DOT+:} false; then :
15772 $as_echo_n "(cached) " >&6
15776 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
15779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15780 for as_dir in $PATH
15783 test -z "$as_dir" && as_dir=.
15784 for ac_exec_ext in '' $ac_executable_extensions; do
15785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15786 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
15787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15794 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot"
15798 DOT=$ac_cv_path_DOT
15799 if test -n "$DOT"; then
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
15801 $as_echo "$DOT" >&6; }
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15804 $as_echo "no" >&6; }
15808 # Extract the first word of "doxygen", so it can be a program name with args.
15809 set dummy doxygen; ac_word=$2
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15811 $as_echo_n "checking for $ac_word... " >&6; }
15812 if ${ac_cv_path_DOXYGEN+:} false; then :
15813 $as_echo_n "(cached) " >&6
15817 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
15820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15821 for as_dir in $PATH
15824 test -z "$as_dir" && as_dir=.
15825 for ac_exec_ext in '' $ac_executable_extensions; do
15826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15827 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
15828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15835 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen"
15839 DOXYGEN=$ac_cv_path_DOXYGEN
15840 if test -n "$DOXYGEN"; then
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
15842 $as_echo "$DOXYGEN" >&6; }
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15845 $as_echo "no" >&6; }
15849 # Extract the first word of "xsltproc", so it can be a program name with args.
15850 set dummy xsltproc; ac_word=$2
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15852 $as_echo_n "checking for $ac_word... " >&6; }
15853 if ${ac_cv_path_XSLTPROC+:} false; then :
15854 $as_echo_n "(cached) " >&6
15858 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
15861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15862 for as_dir in $PATH
15865 test -z "$as_dir" && as_dir=.
15866 for ac_exec_ext in '' $ac_executable_extensions; do
15867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15868 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
15869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15876 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc"
15880 XSLTPROC=$ac_cv_path_XSLTPROC
15881 if test -n "$XSLTPROC"; then
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
15883 $as_echo "$XSLTPROC" >&6; }
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15886 $as_echo "no" >&6; }
15890 # Check whether --enable-documentation was given.
15891 if test "${enable_documentation+set}" = set; then :
15892 enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval
15894 ENABLE_DOCUMENTATION=auto
15897 if test "x$ENABLE_DOCUMENTATION" != xno; then :
15900 if test "x$MMDOCTOOLDIR" = x; then :
15901 mm_err='The mm-common-util module is available, but the installation of mm-common on this
15902 machine is missing the shared documentation utilities of the GNOME C++
15903 bindings. It may be necessary to upgrade to a more recent release of
15904 mm-common in order to build '$PACKAGE_NAME' and install the documentation.'
15905 elif test "x$PERL" = xperl; then :
15906 mm_err='Perl is required for installing the documentation.'
15907 elif test "x$USE_MAINTAINER_MODE" != xno; then :
15909 test "x$DOT" != xdot || mm_err=' dot'
15910 test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen"
15911 test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc"
15912 test -z "$mm_err" || mm_err='The documentation cannot be generated because
15913 not all of the required tools are available:'$mm_err
15916 if test -z "$mm_err"; then :
15917 ENABLE_DOCUMENTATION=yes
15918 elif test "x$ENABLE_DOCUMENTATION" = xyes; then :
15919 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15921 as_fn_error $? "$mm_err
15922 See \`config.log' for more details" "$LINENO" 5; }
15924 ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5
15925 $as_echo "$as_me: WARNING: $mm_err" >&2;}
15929 if test "x$ENABLE_DOCUMENTATION" = xyes; then
15930 ENABLE_DOCUMENTATION_TRUE=
15931 ENABLE_DOCUMENTATION_FALSE='#'
15933 ENABLE_DOCUMENTATION_TRUE='#'
15934 ENABLE_DOCUMENTATION_FALSE=
15949 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15950 if test -n "$ac_tool_prefix"; then
15951 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15952 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15954 $as_echo_n "checking for $ac_word... " >&6; }
15955 if ${ac_cv_path_PKG_CONFIG+:} false; then :
15956 $as_echo_n "(cached) " >&6
15958 case $PKG_CONFIG in
15960 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15964 for as_dir in $PATH
15967 test -z "$as_dir" && as_dir=.
15968 for ac_exec_ext in '' $ac_executable_extensions; do
15969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15970 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15981 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15982 if test -n "$PKG_CONFIG"; then
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15984 $as_echo "$PKG_CONFIG" >&6; }
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15987 $as_echo "no" >&6; }
15992 if test -z "$ac_cv_path_PKG_CONFIG"; then
15993 ac_pt_PKG_CONFIG=$PKG_CONFIG
15994 # Extract the first word of "pkg-config", so it can be a program name with args.
15995 set dummy pkg-config; ac_word=$2
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15997 $as_echo_n "checking for $ac_word... " >&6; }
15998 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15999 $as_echo_n "(cached) " >&6
16001 case $ac_pt_PKG_CONFIG in
16003 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16007 for as_dir in $PATH
16010 test -z "$as_dir" && as_dir=.
16011 for ac_exec_ext in '' $ac_executable_extensions; do
16012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16013 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16024 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16025 if test -n "$ac_pt_PKG_CONFIG"; then
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16027 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16030 $as_echo "no" >&6; }
16033 if test "x$ac_pt_PKG_CONFIG" = x; then
16036 case $cross_compiling:$ac_tool_warned in
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16040 ac_tool_warned=yes ;;
16042 PKG_CONFIG=$ac_pt_PKG_CONFIG
16045 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16049 if test -n "$PKG_CONFIG"; then
16050 _pkg_min_version=0.9.0
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16052 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16053 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16055 $as_echo "yes" >&6; }
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16058 $as_echo "no" >&6; }
16062 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstdc documentation" >&5
16064 $as_echo_n "checking for libstdc documentation... " >&6; }
16066 # Check whether --with-libstdc-doc was given.
16067 if test "${with_libstdc_doc+set}" = set; then :
16068 withval=$with_libstdc_doc;
16069 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16070 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16071 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16072 test "x$mm_tagname" != x || mm_tagname="libstdc++.tag"
16073 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16077 mm_tagname="libstdc++.tag"
16078 mm_tagpath=$mm_tagname
16081 # Prepend working direcory if the tag file path starts with ./ or ../
16082 case $mm_tagpath in #(
16083 .[\\/]*|..[\\/]*) :
16084 mm_tagpath=`pwd`/$mm_tagpath ;; #(
16089 # If no local directory was specified, get the default from the .pc file
16090 if test "x$mm_htmlrefdir" = x; then :
16092 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "mm-common-libstdc++" 2>&5`
16094 # If the user specified a Web URL, allow it to override the public location
16095 case $mm_htmlrefdir in #(
16096 http://*|https://*) :
16097 mm_htmlrefpub=$mm_htmlrefdir ;; #(
16100 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "mm-common-libstdc++" 2>&5`
16101 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16102 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16105 # The user-supplied tag-file name takes precedence if it includes the path
16106 case $mm_tagpath in #(
16111 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "mm-common-libstdc++" 2>&5`
16112 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16115 # Remove trailing slashes and translate to URI
16116 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16117 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16120 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16122 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libstdc++.tag not found" >&5
16124 $as_echo "$as_me: WARNING: Doxygen tag file libstdc++.tag not found" >&2;}
16126 if test "x$mm_htmlrefdir" = x; then :
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libstdc documentation not set" >&5
16128 $as_echo "$as_me: WARNING: Location of external libstdc documentation not set" >&2;}
16130 if test "x$DOCINSTALL_FLAGS" = x; then :
16131 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16133 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16137 if test "x$mm_htmlrefpub" = x; then :
16140 mm_val="$mm_tagpath=$mm_htmlrefpub"
16142 if test "x$DOXYGEN_TAGFILES" = x; then :
16143 DOXYGEN_TAGFILES=\"$mm_val\"
16145 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16150 ac_cpp='$CXXCPP $CPPFLAGS'
16151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the use of a particular specialization when calling operator() template methods." >&5
16157 $as_echo_n "checking if C++ compiler supports the use of a particular specialization when calling operator() template methods.... " >&6; }
16158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16159 /* end confdefs.h. */
16161 #include <iostream>
16170 void operator()(T a, T b)
16173 std::cout << c << std::endl;
16181 void do_something()
16184 thing_.template operator()<T2>(1, 2);
16185 //This fails with or without the template keyword, on SUN Forte C++ 5.3, 5.4, and 5.5:
16193 OtherThing<int> thing;
16194 thing.do_something();
16200 if ac_fn_cxx_try_compile "$LINENO"; then :
16202 sigcm_cxx_gcc_template_specialization_operator_overload=yes
16204 $as_echo "#define SIGC_GCC_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD 1" >>confdefs.h
16209 sigcm_cxx_gcc_template_specialization_operator_overload=no
16212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sigcm_cxx_gcc_template_specialization_operator_overload" >&5
16214 $as_echo "$sigcm_cxx_gcc_template_specialization_operator_overload" >&6; }
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the use of a particular specialization when calling operator() template methods omitting the template keyword." >&5
16218 $as_echo_n "checking if C++ compiler supports the use of a particular specialization when calling operator() template methods omitting the template keyword.... " >&6; }
16219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16220 /* end confdefs.h. */
16222 #include <iostream>
16231 void operator()(T a, T b)
16234 std::cout << c << std::endl;
16242 void do_something()
16245 thing_.operator()<T2>(1, 2);
16246 //This fails with or without the template keyword, on SUN Forte C++ 5.3, 5.4, and 5.5:
16254 OtherThing<int> thing;
16255 thing.do_something();
16261 if ac_fn_cxx_try_compile "$LINENO"; then :
16263 sigcm_cxx_msvc_template_specialization_operator_overload=yes
16265 $as_echo "#define SIGC_MSVC_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD 1" >>confdefs.h
16270 sigcm_cxx_msvc_template_specialization_operator_overload=no
16273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sigcm_cxx_msvc_template_specialization_operator_overload" >&5
16275 $as_echo "$sigcm_cxx_msvc_template_specialization_operator_overload" >&6; }
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler allows usage of member function in initialization of static member field." >&5
16279 $as_echo_n "checking if C++ compiler allows usage of member function in initialization of static member field.... " >&6; }
16280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16281 /* end confdefs.h. */
16285 static char test_function();
16287 // Doesn't work with e.g. GCC 3.2. However, if test_function()
16288 // is wrapped in a nested structure, it works just fine.
16289 static const bool test_value
16290 = (sizeof(test_function()) == sizeof(char));
16301 if ac_fn_cxx_try_compile "$LINENO"; then :
16303 sigcm_cxx_self_reference_in_member_initialization=yes
16305 $as_echo "#define SIGC_SELF_REFERENCE_IN_MEMBER_INITIALIZATION 1" >>confdefs.h
16310 sigcm_cxx_self_reference_in_member_initialization=no
16313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sigcm_cxx_self_reference_in_member_initialization" >&5
16315 $as_echo "$sigcm_cxx_self_reference_in_member_initialization" >&6; }
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ library symbols are declared in namespace std" >&5
16319 $as_echo_n "checking whether C++ library symbols are declared in namespace std... " >&6; }
16320 if ${sigc_cv_cxx_has_namespace_std+:} false; then :
16321 $as_echo_n "(cached) " >&6
16324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16325 /* end confdefs.h. */
16327 #include <algorithm>
16328 #include <iterator>
16329 #include <iostream>
16339 using std::bidirectional_iterator_tag;
16341 using std::istream;
16348 if ac_fn_cxx_try_compile "$LINENO"; then :
16349 sigc_cv_cxx_has_namespace_std='yes'
16351 sigc_cv_cxx_has_namespace_std='no'
16354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sigc_cv_cxx_has_namespace_std" >&5
16358 $as_echo "$sigc_cv_cxx_has_namespace_std" >&6; }
16360 if test "x${sigc_cv_cxx_has_namespace_std}" = 'xyes'; then :
16362 $as_echo "#define SIGC_HAVE_NAMESPACE_STD 1" >>confdefs.h
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-standard Sun libCstd reverse_iterator" >&5
16370 $as_echo_n "checking for non-standard Sun libCstd reverse_iterator... " >&6; }
16371 if ${sigc_cv_cxx_has_sun_reverse_iterator+:} false; then :
16372 $as_echo_n "(cached) " >&6
16375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16376 /* end confdefs.h. */
16378 #include <iterator>
16379 #ifdef SIGC_HAVE_NAMESPACE_STD
16380 using namespace std;
16387 typedef reverse_iterator<char*,random_access_iterator_tag,char,char&,char*,int> ReverseIter;
16393 if ac_fn_cxx_try_compile "$LINENO"; then :
16394 sigc_cv_cxx_has_sun_reverse_iterator='yes'
16396 sigc_cv_cxx_has_sun_reverse_iterator='no'
16399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sigc_cv_cxx_has_sun_reverse_iterator" >&5
16403 $as_echo "$sigc_cv_cxx_has_sun_reverse_iterator" >&6; }
16405 if test "x${sigc_cv_cxx_has_sun_reverse_iterator}" = 'xyes'; then :
16407 $as_echo "#define SIGC_HAVE_SUN_REVERSE_ITERATOR 1" >>confdefs.h
16412 if test "x$config_error" = xyes; then :
16413 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16415 as_fn_error $? "One or more of the required C++ compiler features is missing.
16416 See \`config.log' for more details" "$LINENO" 5; }
16419 # Evaluate the --enable-warnings=level option.
16420 # Check whether --enable-warnings was given.
16421 if test "${enable_warnings+set}" = set; then :
16422 enableval=$enable_warnings; mm_enable_warnings=$enableval
16424 mm_enable_warnings=min
16427 case $ac_compile in #(
16429 mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #(
16431 mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #(
16433 as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;;
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5
16436 $as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; }
16438 case $mm_enable_warnings in #(
16440 mm_warning_flags= ;; #(
16442 mm_warning_flags="-pedantic -Wall -Wextra" ;; #(
16444 mm_warning_flags="-pedantic -Wall -Wextra -Werror" ;; #(
16446 mm_warning_flags="-Wall" ;;
16448 if test "x$mm_warning_flags" != x; then :
16450 # Keep in mind that the dummy source must be devoid of any
16451 # problems that might cause diagnostics.
16452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h. */
16455 int main(int argc, char** argv) { return (argv != 0) ? argc : 0; }
16458 for mm_flag in $mm_warning_flags
16460 # Test whether the compiler accepts the flag. Look at standard output,
16461 # since GCC only shows a warning message if an option is not supported.
16462 mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed`
16463 rm -f "conftest.${OBJEXT-o}"
16465 if test "x$mm_cc_out" = x; then :
16466 if test "x$mm_tested_flags" = x; then :
16467 mm_tested_flags=$mm_flag
16469 mm_tested_flags="$mm_tested_flags $mm_flag"
16478 rm -f "$mm_conftest"
16481 mm_all_flags=$mm_tested_flags
16482 SIGC_WXXFLAGS=$mm_all_flags
16484 test "x$mm_all_flags" != x || mm_all_flags=none
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5
16486 $as_echo "$mm_all_flags" >&6; }
16488 # Offer the ability to omit some API from the library.
16489 # Check whether --enable-deprecated-api was given.
16490 if test "${enable_deprecated_api+set}" = set; then :
16491 enableval=$enable_deprecated_api; mm_enable_deprecated_api=$enableval
16493 mm_enable_deprecated_api=yes
16495 if test "x$mm_enable_deprecated_api" = xno; then :
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Deprecated API will not be built, breaking compatibility.
16497 Do not use this option for distribution packages." >&5
16498 $as_echo "$as_me: WARNING: Deprecated API will not be built, breaking compatibility.
16499 Do not use this option for distribution packages." >&2;}
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: Deprecated API will be built, for backwards-compatibility." >&5
16502 $as_echo "$as_me: Deprecated API will be built, for backwards-compatibility." >&6;}
16504 if test "x$mm_enable_deprecated_api" = xno; then
16505 DISABLE_DEPRECATED_API_TRUE=
16506 DISABLE_DEPRECATED_API_FALSE='#'
16508 DISABLE_DEPRECATED_API_TRUE='#'
16509 DISABLE_DEPRECATED_API_FALSE=
16512 if test "x$mm_enable_deprecated_api" = xno; then :
16514 $as_echo "#define SIGCXX_DISABLE_DEPRECATED 1" >>confdefs.h
16519 ac_config_files="$ac_config_files Makefile ${SIGCXX_MODULE_NAME}.pc:sigc++.pc.in ${SIGCXX_MODULE_NAME}-uninstalled.pc:sigc++-uninstalled.pc.in sigc++/Makefile examples/Makefile tests/Makefile docs/Makefile docs/reference/Doxyfile MSVC_Net2005/sigc.rc MSVC_Net2008/sigc.rc MSVC_Net2010/sigc.rc"
16522 # Copy the generated configuration headers into the MSVC project directories.
16523 ac_config_commands="$ac_config_commands MSVC_Net2005/sigc++config.h"
16525 ac_config_commands="$ac_config_commands MSVC_Net2008/sigc++config.h"
16527 ac_config_commands="$ac_config_commands MSVC_Net2010/sigc++config.h"
16529 cat >confcache <<\_ACEOF
16530 # This file is a shell script that caches the results of configure
16531 # tests run on this system so they can be shared between configure
16532 # scripts and configure runs, see configure's option --config-cache.
16533 # It is not useful on other systems. If it contains results you don't
16534 # want to keep, you may remove or edit it.
16536 # config.status only pays attention to the cache file if you give it
16537 # the --recheck option to rerun configure.
16539 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16540 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16541 # following values.
16545 # The following way of writing the cache mishandles newlines in values,
16546 # but we know of no workaround that is simple, portable, and efficient.
16547 # So, we kill variables containing newlines.
16548 # Ultrix sh set writes to stderr and can't be redirected directly,
16549 # and sets the high bit in the cache file unless we assign to the vars.
16551 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16552 eval ac_val=\$$ac_var
16556 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16557 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16560 _ | IFS | as_nl) ;; #(
16561 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16562 *) { eval $ac_var=; unset $ac_var;} ;;
16568 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16569 *${as_nl}ac_space=\ *)
16570 # `set' does not quote correctly, so add quotes: double-quote
16571 # substitution turns \\\\ into \\, and sed turns \\ into \.
16574 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16577 # `set' quotes correctly as required by POSIX, so do not add quotes.
16578 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16587 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16589 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16591 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16592 if test -w "$cache_file"; then
16593 if test "x$cache_file" != "x/dev/null"; then
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16595 $as_echo "$as_me: updating cache $cache_file" >&6;}
16596 if test ! -f "$cache_file" || test -h "$cache_file"; then
16597 cat confcache >"$cache_file"
16599 case $cache_file in #(
16601 mv -f confcache "$cache_file"$$ &&
16602 mv -f "$cache_file"$$ "$cache_file" ;; #(
16604 mv -f confcache "$cache_file" ;;
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16610 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16615 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16616 # Let make expand exec_prefix.
16617 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16619 DEFS=-DHAVE_CONFIG_H
16624 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16625 # 1. Remove the extension, and $U if already installed.
16626 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16627 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16628 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16629 # will be set to the directory where LIBOBJS objects are built.
16630 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16631 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16633 LIBOBJS=$ac_libobjs
16635 LTLIBOBJS=$ac_ltlibobjs
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16639 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16640 if test -n "$am_sleep_pid"; then
16641 # Hide warnings about reused PIDs.
16642 wait $am_sleep_pid 2>/dev/null
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16645 $as_echo "done" >&6; }
16646 if test -n "$EXEEXT"; then
16648 am__EXEEXT_FALSE='#'
16650 am__EXEEXT_TRUE='#'
16654 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16655 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16658 if test -z "${DIST_DOCTOOLS_TRUE}" && test -z "${DIST_DOCTOOLS_FALSE}"; then
16659 as_fn_error $? "conditional \"DIST_DOCTOOLS\" was never defined.
16660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16662 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16663 as_fn_error $? "conditional \"AMDEP\" was never defined.
16664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16666 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16667 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16670 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16671 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16674 if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then
16675 as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined.
16676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16678 if test -z "${DISABLE_DEPRECATED_API_TRUE}" && test -z "${DISABLE_DEPRECATED_API_FALSE}"; then
16679 as_fn_error $? "conditional \"DISABLE_DEPRECATED_API\" was never defined.
16680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16683 : "${CONFIG_STATUS=./config.status}"
16685 ac_clean_files_save=$ac_clean_files
16686 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16688 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16690 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16692 # Generated by $as_me.
16693 # Run this file to recreate the current configuration.
16694 # Compiler output produced by configure, useful for debugging
16695 # configure, is in config.log if it exists.
16698 ac_cs_recheck=false
16701 SHELL=\${CONFIG_SHELL-$SHELL}
16704 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16705 ## -------------------- ##
16706 ## M4sh Initialization. ##
16707 ## -------------------- ##
16709 # Be more Bourne compatible
16710 DUALCASE=1; export DUALCASE # for MKS sh
16711 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16714 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16715 # is contrary to our usage. Disable this feature.
16716 alias -g '${1+"$@"}'='"$@"'
16717 setopt NO_GLOB_SUBST
16719 case `(set -o) 2>/dev/null` in #(
16731 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16732 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16733 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16734 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16735 # Prefer a ksh shell builtin over an external printf program on Solaris,
16736 # but without wasting forks for bash or zsh.
16737 if test -z "$BASH_VERSION$ZSH_VERSION" \
16738 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16739 as_echo='print -r --'
16740 as_echo_n='print -rn --'
16741 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16742 as_echo='printf %s\n'
16743 as_echo_n='printf %s'
16745 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16746 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16747 as_echo_n='/usr/ucb/echo -n'
16749 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16750 as_echo_n_body='eval
16754 expr "X$arg" : "X\\(.*\\)$as_nl";
16755 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16757 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16759 export as_echo_n_body
16760 as_echo_n='sh -c $as_echo_n_body as_echo'
16762 export as_echo_body
16763 as_echo='sh -c $as_echo_body as_echo'
16766 # The user is always right.
16767 if test "${PATH_SEPARATOR+set}" != set; then
16769 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16770 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16777 # We need space, tab and new line, in precisely that order. Quoting is
16778 # there to prevent editors from complaining about space-tab.
16779 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16780 # splitting by setting IFS to empty value.)
16783 # Find who we are. Look in the path if we contain no directory separator.
16786 *[\\/]* ) as_myself=$0 ;;
16787 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16788 for as_dir in $PATH
16791 test -z "$as_dir" && as_dir=.
16792 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16798 # We did not find ourselves, most probably we were run as `sh COMMAND'
16799 # in which case we are not to be found in the path.
16800 if test "x$as_myself" = x; then
16803 if test ! -f "$as_myself"; then
16804 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16808 # Unset variables that we do not need and which cause bugs (e.g. in
16809 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16810 # suppresses any "Segmentation fault" message there. '((' could
16811 # trigger a bug in pdksh 5.2.14.
16812 for as_var in BASH_ENV ENV MAIL MAILPATH
16813 do eval test x\${$as_var+set} = xset \
16814 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16827 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16830 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16831 # ----------------------------------------
16832 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16833 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16834 # script with STATUS, using 1 if that was 0.
16837 as_status=$1; test $as_status -eq 0 && as_status=1
16839 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16840 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16842 $as_echo "$as_me: error: $2" >&2
16843 as_fn_exit $as_status
16847 # as_fn_set_status STATUS
16848 # -----------------------
16849 # Set $? to STATUS, without forking.
16850 as_fn_set_status ()
16853 } # as_fn_set_status
16855 # as_fn_exit STATUS
16856 # -----------------
16857 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16861 as_fn_set_status $1
16867 # Portably unset VAR.
16870 { eval $1=; unset $1;}
16872 as_unset=as_fn_unset
16873 # as_fn_append VAR VALUE
16874 # ----------------------
16875 # Append the text in VALUE to the end of the definition contained in VAR. Take
16876 # advantage of any shell optimizations that allow amortized linear growth over
16877 # repeated appends, instead of the typical quadratic growth present in naive
16879 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16880 eval 'as_fn_append ()
16891 # as_fn_arith ARG...
16892 # ------------------
16893 # Perform arithmetic evaluation on the ARGs, and store the result in the
16894 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16895 # must be portable across $(()) and expr.
16896 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16897 eval 'as_fn_arith ()
16904 as_val=`expr "$@" || test $? -eq 1`
16909 if expr a : '\(a\)' >/dev/null 2>&1 &&
16910 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16916 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16917 as_basename=basename
16922 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16928 as_me=`$as_basename -- "$0" ||
16929 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16930 X"$0" : 'X\(//\)$' \| \
16931 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16933 sed '/^.*\/\([^/][^/]*\)\/*$/{
16947 # Avoid depending upon Character Ranges.
16948 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16949 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16950 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16951 as_cr_digits='0123456789'
16952 as_cr_alnum=$as_cr_Letters$as_cr_digits
16954 ECHO_C= ECHO_N= ECHO_T=
16955 case `echo -n x` in #(((((
16957 case `echo 'xy\c'` in
16958 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16960 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16967 rm -f conf$$ conf$$.exe conf$$.file
16968 if test -d conf$$.dir; then
16969 rm -f conf$$.dir/conf$$.file
16972 mkdir conf$$.dir 2>/dev/null
16974 if (echo >conf$$.file) 2>/dev/null; then
16975 if ln -s conf$$.file conf$$ 2>/dev/null; then
16977 # ... but there are two gotchas:
16978 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16979 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16980 # In both cases, we have to default to `cp -pR'.
16981 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16983 elif ln conf$$.file conf$$ 2>/dev/null; then
16991 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16992 rmdir conf$$.dir 2>/dev/null
16997 # Create "$as_dir" as a directory, including parents if necessary.
17002 -*) as_dir=./$as_dir;;
17004 test -d "$as_dir" || eval $as_mkdir_p || {
17008 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17009 *) as_qdir=$as_dir;;
17011 as_dirs="'$as_qdir' $as_dirs"
17012 as_dir=`$as_dirname -- "$as_dir" ||
17013 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17014 X"$as_dir" : 'X\(//\)[^/]' \| \
17015 X"$as_dir" : 'X\(//\)$' \| \
17016 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17017 $as_echo X"$as_dir" |
17018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17022 /^X\(\/\/\)[^/].*/{
17035 test -d "$as_dir" && break
17037 test -z "$as_dirs" || eval "mkdir $as_dirs"
17038 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17042 if mkdir -p . 2>/dev/null; then
17043 as_mkdir_p='mkdir -p "$as_dir"'
17045 test -d ./-p && rmdir ./-p
17050 # as_fn_executable_p FILE
17051 # -----------------------
17052 # Test if FILE is an executable regular file.
17053 as_fn_executable_p ()
17055 test -f "$1" && test -x "$1"
17056 } # as_fn_executable_p
17057 as_test_x='test -x'
17058 as_executable_p=as_fn_executable_p
17060 # Sed expression to map a string onto a valid CPP name.
17061 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17063 # Sed expression to map a string onto a valid variable name.
17064 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17068 ## ----------------------------------- ##
17069 ## Main body of $CONFIG_STATUS script. ##
17070 ## ----------------------------------- ##
17072 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17075 # Save the log message, to keep $0 and so on meaningful, and to
17076 # report actual input values of CONFIG_FILES etc. instead of their
17077 # values after options handling.
17079 This file was extended by libsigc++ $as_me 2.4.1, which was
17080 generated by GNU Autoconf 2.69. Invocation command line was
17082 CONFIG_FILES = $CONFIG_FILES
17083 CONFIG_HEADERS = $CONFIG_HEADERS
17084 CONFIG_LINKS = $CONFIG_LINKS
17085 CONFIG_COMMANDS = $CONFIG_COMMANDS
17088 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17093 case $ac_config_files in *"
17094 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17097 case $ac_config_headers in *"
17098 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17103 # Files that config.status was made for.
17104 config_files="$ac_config_files"
17105 config_headers="$ac_config_headers"
17106 config_commands="$ac_config_commands"
17110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17112 \`$as_me' instantiates files and other configuration actions
17113 from templates according to the current configuration. Unless the files
17114 and actions are specified as TAGs, all are instantiated by default.
17116 Usage: $0 [OPTION]... [TAG]...
17118 -h, --help print this help, then exit
17119 -V, --version print version number and configuration settings, then exit
17120 --config print configuration, then exit
17121 -q, --quiet, --silent
17122 do not print progress messages
17123 -d, --debug don't remove temporary files
17124 --recheck update $as_me by reconfiguring in the same conditions
17125 --file=FILE[:TEMPLATE]
17126 instantiate the configuration file FILE
17127 --header=FILE[:TEMPLATE]
17128 instantiate the configuration header FILE
17130 Configuration files:
17133 Configuration headers:
17136 Configuration commands:
17139 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B>.
17140 libsigc++ home page: <http://libsigc.sourceforge.net/>."
17143 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17144 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17146 libsigc++ config.status 2.4.1
17147 configured by $0, generated by GNU Autoconf 2.69,
17148 with options \\"\$ac_cs_config\\"
17150 Copyright (C) 2012 Free Software Foundation, Inc.
17151 This config.status script is free software; the Free Software Foundation
17152 gives unlimited permission to copy, distribute and modify it."
17159 test -n "\$AWK" || AWK=awk
17162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17163 # The default lists apply if the user does not specify any file.
17169 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17170 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17174 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17186 # Handling of the options.
17187 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17189 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17190 $as_echo "$ac_cs_version"; exit ;;
17191 --config | --confi | --conf | --con | --co | --c )
17192 $as_echo "$ac_cs_config"; exit ;;
17193 --debug | --debu | --deb | --de | --d | -d )
17195 --file | --fil | --fi | --f )
17198 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17199 '') as_fn_error $? "missing file argument" ;;
17201 as_fn_append CONFIG_FILES " '$ac_optarg'"
17202 ac_need_defaults=false;;
17203 --header | --heade | --head | --hea )
17206 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17208 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17209 ac_need_defaults=false;;
17211 # Conflict between --help and --header
17212 as_fn_error $? "ambiguous option: \`$1'
17213 Try \`$0 --help' for more information.";;
17214 --help | --hel | -h )
17215 $as_echo "$ac_cs_usage"; exit ;;
17216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17217 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17220 # This is an error.
17221 -*) as_fn_error $? "unrecognized option: \`$1'
17222 Try \`$0 --help' for more information." ;;
17224 *) as_fn_append ac_config_targets " $1"
17225 ac_need_defaults=false ;;
17231 ac_configure_extra_args=
17233 if $ac_cs_silent; then
17235 ac_configure_extra_args="$ac_configure_extra_args --silent"
17239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17240 if \$ac_cs_recheck; then
17241 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17243 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17244 CONFIG_SHELL='$SHELL'
17245 export CONFIG_SHELL
17250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17254 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17255 ## Running $as_me. ##
17261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17265 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17268 # The HP-UX ksh and POSIX shell print the target directory to stdout
17269 # if CDPATH is set.
17270 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17272 sed_quote_subst='$sed_quote_subst'
17273 double_quote_subst='$double_quote_subst'
17274 delay_variable_subst='$delay_variable_subst'
17275 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17276 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17277 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17278 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17279 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17280 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17281 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17282 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17283 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17284 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17285 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17286 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17287 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17288 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17289 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17290 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17291 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17292 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17293 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17294 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17295 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17296 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17297 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17298 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17299 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17300 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17301 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17302 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17303 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17304 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17305 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17306 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17307 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17308 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17309 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17310 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17311 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17312 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17313 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17314 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17315 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17316 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17317 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17318 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17319 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17320 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17321 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17322 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17323 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17324 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17325 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17326 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17327 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17328 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17329 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17330 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17331 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17332 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
17333 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17334 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17335 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17336 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17337 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17338 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17339 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17340 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17341 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17342 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17343 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17344 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17345 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17346 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17347 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17348 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17349 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17350 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17351 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17352 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17353 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17354 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17355 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17356 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17357 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17358 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17359 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17360 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17361 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17362 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17363 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17364 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17365 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17366 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17367 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17368 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17369 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17370 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17371 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17372 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17373 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17374 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17375 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17376 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17377 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17378 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17379 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17380 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17381 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17382 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17383 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17384 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17385 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17386 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17387 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17388 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17389 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17390 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17391 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17392 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17393 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17394 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17395 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17396 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17397 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17398 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17399 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17400 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17401 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17402 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17403 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17404 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17405 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17406 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17407 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17408 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17409 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17410 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17411 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17412 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17413 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17414 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17415 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17416 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17417 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17418 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17419 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17420 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17421 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17422 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17423 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17424 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17425 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17426 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17427 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17428 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17429 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17430 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17431 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17432 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17433 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17434 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17435 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17436 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17437 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17438 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17439 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17440 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17441 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17442 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17443 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17444 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17445 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17446 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17447 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17448 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17449 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17450 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17451 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17452 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17453 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17454 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17455 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17456 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17457 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17458 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17459 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17462 LTCFLAGS='$LTCFLAGS'
17463 compiler='$compiler_DEFAULT'
17465 # A function that is used when there is no print builtin or printf.
17466 func_fallback_echo ()
17468 eval 'cat <<_LTECHO_EOF
17473 # Quote evaled strings.
17490 deplibs_check_method \
17494 sharedlib_from_linklib_cmd \
17497 archiver_list_spec \
17503 lt_cv_sys_global_symbol_pipe \
17504 lt_cv_sys_global_symbol_to_cdecl \
17505 lt_cv_sys_global_symbol_to_c_name_address \
17506 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17507 nm_file_list_spec \
17508 lt_prog_compiler_no_builtin_flag \
17509 lt_prog_compiler_pic \
17510 lt_prog_compiler_wl \
17511 lt_prog_compiler_static \
17512 lt_cv_prog_compiler_c_o \
17521 export_dynamic_flag_spec \
17522 whole_archive_flag_spec \
17523 compiler_needs_object \
17525 allow_undefined_flag \
17526 no_undefined_flag \
17527 hardcode_libdir_flag_spec \
17528 hardcode_libdir_separator \
17532 variables_saved_for_relink \
17534 library_names_spec \
17536 install_override_mode \
17540 compiler_lib_search_dirs \
17545 compiler_lib_search_path \
17549 lt_prog_compiler_no_builtin_flag_CXX \
17550 lt_prog_compiler_pic_CXX \
17551 lt_prog_compiler_wl_CXX \
17552 lt_prog_compiler_static_CXX \
17553 lt_cv_prog_compiler_c_o_CXX \
17554 export_dynamic_flag_spec_CXX \
17555 whole_archive_flag_spec_CXX \
17556 compiler_needs_object_CXX \
17558 allow_undefined_flag_CXX \
17559 no_undefined_flag_CXX \
17560 hardcode_libdir_flag_spec_CXX \
17561 hardcode_libdir_separator_CXX \
17562 exclude_expsyms_CXX \
17563 include_expsyms_CXX \
17564 file_list_spec_CXX \
17565 compiler_lib_search_dirs_CXX \
17566 predep_objects_CXX \
17567 postdep_objects_CXX \
17570 compiler_lib_search_path_CXX; do
17571 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17572 *[\\\\\\\`\\"\\\$]*)
17573 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17576 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17581 # Double-quote double-evaled strings.
17582 for var in reload_cmds \
17583 old_postinstall_cmds \
17584 old_postuninstall_cmds \
17586 extract_expsyms_cmds \
17587 old_archive_from_new_cmds \
17588 old_archive_from_expsyms_cmds \
17590 archive_expsym_cmds \
17592 module_expsym_cmds \
17593 export_symbols_cmds \
17597 postuninstall_cmds \
17599 sys_lib_search_path_spec \
17600 sys_lib_dlsearch_path_spec \
17602 old_archive_cmds_CXX \
17603 old_archive_from_new_cmds_CXX \
17604 old_archive_from_expsyms_cmds_CXX \
17606 archive_expsym_cmds_CXX \
17608 module_expsym_cmds_CXX \
17609 export_symbols_cmds_CXX \
17611 postlink_cmds_CXX; do
17612 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17613 *[\\\\\\\`\\"\\\$]*)
17614 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17617 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17622 ac_aux_dir='$ac_aux_dir'
17623 xsi_shell='$xsi_shell'
17624 lt_shell_append='$lt_shell_append'
17626 # See if we are running on zsh, and set the options which allow our
17627 # commands through without removal of \ escapes INIT.
17628 if test -n "\${ZSH_VERSION+set}" ; then
17629 setopt NO_GLOB_SUBST
17635 TIMESTAMP='$TIMESTAMP'
17646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17648 # Handling of arguments.
17649 for ac_config_target in $ac_config_targets
17651 case $ac_config_target in
17652 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17653 "sigc++config.h") CONFIG_HEADERS="$CONFIG_HEADERS sigc++config.h" ;;
17654 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17655 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17656 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17657 "${SIGCXX_MODULE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${SIGCXX_MODULE_NAME}.pc:sigc++.pc.in" ;;
17658 "${SIGCXX_MODULE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${SIGCXX_MODULE_NAME}-uninstalled.pc:sigc++-uninstalled.pc.in" ;;
17659 "sigc++/Makefile") CONFIG_FILES="$CONFIG_FILES sigc++/Makefile" ;;
17660 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17661 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17662 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17663 "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;;
17664 "MSVC_Net2005/sigc.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/sigc.rc" ;;
17665 "MSVC_Net2008/sigc.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2008/sigc.rc" ;;
17666 "MSVC_Net2010/sigc.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2010/sigc.rc" ;;
17667 "MSVC_Net2005/sigc++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2005/sigc++config.h" ;;
17668 "MSVC_Net2008/sigc++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2008/sigc++config.h" ;;
17669 "MSVC_Net2010/sigc++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2010/sigc++config.h" ;;
17671 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17676 # If the user did not use the arguments to specify the items to instantiate,
17677 # then the envvar interface is used. Set only those that are not.
17678 # We use the long form for the default assignment because of an extremely
17679 # bizarre bug on SunOS 4.1.3.
17680 if $ac_need_defaults; then
17681 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17682 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17683 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17686 # Have a temporary directory for convenience. Make it in the build tree
17687 # simply because there is no reason against having it here, and in addition,
17688 # creating and moving files from /tmp can sometimes cause problems.
17689 # Hook for its removal unless debugging.
17690 # Note that there is a small window in which the directory will not be cleaned:
17691 # after its creation but before its name has been assigned to `$tmp'.
17695 trap 'exit_status=$?
17696 : "${ac_tmp:=$tmp}"
17697 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17699 trap 'as_fn_exit 1' 1 2 13 15
17701 # Create a (secure) tmp directory for tmp files.
17704 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17708 tmp=./conf$$-$RANDOM
17709 (umask 077 && mkdir "$tmp")
17710 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17713 # Set up the scripts for CONFIG_FILES section.
17714 # No need to generate them if there are no CONFIG_FILES.
17715 # This happens for instance with `./config.status config.h'.
17716 if test -n "$CONFIG_FILES"; then
17719 ac_cr=`echo X | tr X '\015'`
17720 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17721 # But we know of no other shell where ac_cr would be empty at this
17722 # point, so we can use a bashism as a fallback.
17723 if test "x$ac_cr" = x; then
17724 eval ac_cr=\$\'\\r\'
17726 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17727 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17730 ac_cs_awk_cr=$ac_cr
17733 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17738 echo "cat >conf$$subs.awk <<_ACEOF" &&
17739 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17741 } >conf$$subs.sh ||
17742 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17743 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17745 for ac_last_try in false false false false false :; do
17746 . ./conf$$subs.sh ||
17747 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17749 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17750 if test $ac_delim_n = $ac_delim_num; then
17752 elif $ac_last_try; then
17753 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17755 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17758 rm -f conf$$subs.sh
17760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17761 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17765 s/^/S["/; s/!.*/"]=/
17775 s/\(.\{148\}\)..*/\1/
17777 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17782 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17789 s/\(.\{148\}\)..*/\1/
17791 s/["\\]/\\&/g; s/^/"/; s/$/"/
17795 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17800 ' <conf$$subs.awk | sed '
17805 ' >>$CONFIG_STATUS || ac_write_fail=1
17806 rm -f conf$$subs.awk
17807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17809 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17810 for (key in S) S_is_set[key] = 1
17816 nfields = split(line, field, "@")
17818 len = length(field[1])
17819 for (i = 2; i < nfields; i++) {
17821 keylen = length(key)
17822 if (S_is_set[key]) {
17824 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17825 len += length(value) + length(field[++i])
17836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17837 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17838 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17841 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17842 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17845 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17846 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17847 # trailing colons and then remove the whole line if VPATH becomes empty
17848 # (actually we leave an empty line to preserve line numbers).
17849 if test "x$srcdir" = x.; then
17850 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17869 fi # test -n "$CONFIG_FILES"
17871 # Set up the scripts for CONFIG_HEADERS section.
17872 # No need to generate them if there are no CONFIG_HEADERS.
17873 # This happens for instance with `./config.status Makefile'.
17874 if test -n "$CONFIG_HEADERS"; then
17875 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17879 # Transform confdefs.h into an awk script `defines.awk', embedded as
17880 # here-document in config.status, that substitutes the proper values into
17881 # config.h.in to produce config.h.
17883 # Create a delimiter string that does not exist in confdefs.h, to ease
17884 # handling of long lines.
17886 for ac_last_try in false false :; do
17887 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17888 if test -z "$ac_tt"; then
17890 elif $ac_last_try; then
17891 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17893 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17897 # For the awk script, D is an array of macro values keyed by name,
17898 # likewise P contains macro parameters if any. Preserve backslash
17899 # newline sequences.
17901 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17903 s/.\{148\}/&'"$ac_delim"'/g
17906 s/^[ ]*#[ ]*define[ ][ ]*/ /
17913 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17915 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17919 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17920 D["\1"]=" \3\\\\\\n"\\/p
17922 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17927 s/.\{148\}/&'"$ac_delim"'/g
17932 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17935 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17937 ' <confdefs.h | sed '
17938 s/'"$ac_delim"'/"\\\
17939 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17942 for (key in D) D_is_set[key] = 1
17945 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17947 split(line, arg, " ")
17948 if (arg[1] == "#") {
17952 defundef = substr(arg[1], 2)
17955 split(mac1, mac2, "(") #)
17957 prefix = substr(line, 1, index(line, defundef) - 1)
17958 if (D_is_set[macro]) {
17959 # Preserve the white space surrounding the "#".
17960 print prefix "define", macro P[macro] D[macro]
17963 # Replace #undef with comments. This is necessary, for example,
17964 # in the case of _POSIX_SOURCE, which is predefined and required
17965 # on some systems where configure will not decide to define it.
17966 if (defundef == "undef") {
17967 print "/*", prefix defundef, macro, "*/"
17975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17976 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17977 fi # test -n "$CONFIG_HEADERS"
17980 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17985 :[FHLC]) ac_mode=$ac_tag; continue;;
17987 case $ac_mode$ac_tag in
17989 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17990 :[FH]-) ac_tag=-:-;;
17991 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18008 -) ac_f="$ac_tmp/stdin";;
18009 *) # Look for the file first in the build tree, then in the source tree
18010 # (if the path is not absolute). The absolute path cannot be DOS-style,
18011 # because $ac_f cannot contain `:'.
18015 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18017 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18019 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18020 as_fn_append ac_file_inputs " '$ac_f'"
18023 # Let's still pretend it is `configure' which instantiates (i.e., don't
18024 # use $as_me), people would be surprised to read:
18025 # /* config.h. Generated by config.status. */
18026 configure_input='Generated from '`
18027 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18029 if test x"$ac_file" != x-; then
18030 configure_input="$ac_file. $configure_input"
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18032 $as_echo "$as_me: creating $ac_file" >&6;}
18034 # Neutralize special characters interpreted by sed in replacement strings.
18035 case $configure_input in #(
18036 *\&* | *\|* | *\\* )
18037 ac_sed_conf_input=`$as_echo "$configure_input" |
18038 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18039 *) ac_sed_conf_input=$configure_input;;
18043 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18044 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18049 ac_dir=`$as_dirname -- "$ac_file" ||
18050 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18051 X"$ac_file" : 'X\(//\)[^/]' \| \
18052 X"$ac_file" : 'X\(//\)$' \| \
18053 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18054 $as_echo X"$ac_file" |
18055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18059 /^X\(\/\/\)[^/].*/{
18072 as_dir="$ac_dir"; as_fn_mkdir_p
18076 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18078 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18079 # A ".." for each directory in $ac_dir_suffix.
18080 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18081 case $ac_top_builddir_sub in
18082 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18083 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18086 ac_abs_top_builddir=$ac_pwd
18087 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18088 # for backward compatibility:
18089 ac_top_builddir=$ac_top_build_prefix
18092 .) # We are building in place.
18094 ac_top_srcdir=$ac_top_builddir_sub
18095 ac_abs_top_srcdir=$ac_pwd ;;
18096 [\\/]* | ?:[\\/]* ) # Absolute name.
18097 ac_srcdir=$srcdir$ac_dir_suffix;
18098 ac_top_srcdir=$srcdir
18099 ac_abs_top_srcdir=$srcdir ;;
18100 *) # Relative name.
18101 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18102 ac_top_srcdir=$ac_top_build_prefix$srcdir
18103 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18105 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18115 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18116 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18118 ac_MKDIR_P=$MKDIR_P
18120 [\\/$]* | ?:[\\/]* ) ;;
18121 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18126 # If the template does not know about datarootdir, expand it.
18127 # FIXME: This hack should be removed a few years after 2.60.
18128 ac_datarootdir_hack=; ac_datarootdir_seen=
18139 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18140 *datarootdir*) ac_datarootdir_seen=yes;;
18141 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18143 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18146 ac_datarootdir_hack='
18147 s&@datadir@&$datadir&g
18148 s&@docdir@&$docdir&g
18149 s&@infodir@&$infodir&g
18150 s&@localedir@&$localedir&g
18151 s&@mandir@&$mandir&g
18152 s&\\\${datarootdir}&$datarootdir&g' ;;
18156 # Neutralize VPATH when `$srcdir' = `.'.
18157 # Shell code in configure.ac might set extrasub.
18158 # FIXME: do we really want to maintain this feature?
18159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18160 ac_sed_extra="$ac_vpsub
18163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18165 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18166 s|@configure_input@|$ac_sed_conf_input|;t t
18167 s&@top_builddir@&$ac_top_builddir_sub&;t t
18168 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18169 s&@srcdir@&$ac_srcdir&;t t
18170 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18171 s&@top_srcdir@&$ac_top_srcdir&;t t
18172 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18173 s&@builddir@&$ac_builddir&;t t
18174 s&@abs_builddir@&$ac_abs_builddir&;t t
18175 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18176 s&@INSTALL@&$ac_INSTALL&;t t
18177 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18178 $ac_datarootdir_hack
18180 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18181 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18183 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18184 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18185 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18186 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18188 which seems to be undefined. Please make sure it is defined" >&5
18189 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18190 which seems to be undefined. Please make sure it is defined" >&2;}
18192 rm -f "$ac_tmp/stdin"
18194 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18195 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18197 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18203 if test x"$ac_file" != x-; then
18205 $as_echo "/* $configure_input */" \
18206 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18207 } >"$ac_tmp/config.h" \
18208 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18209 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18211 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18214 mv "$ac_tmp/config.h" "$ac_file" \
18215 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18218 $as_echo "/* $configure_input */" \
18219 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18220 || as_fn_error $? "could not create -" "$LINENO" 5
18222 # Compute "$ac_file"'s index in $config_headers.
18225 for _am_header in $config_headers :; do
18226 case $_am_header in
18227 $_am_arg | $_am_arg:* )
18230 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18233 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18234 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18235 X"$_am_arg" : 'X\(//\)[^/]' \| \
18236 X"$_am_arg" : 'X\(//\)$' \| \
18237 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18238 $as_echo X"$_am_arg" |
18239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18243 /^X\(\/\/\)[^/].*/{
18255 s/.*/./; q'`/stamp-h$_am_stamp_count
18258 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18259 $as_echo "$as_me: executing $ac_file commands" >&6;}
18264 case $ac_file$ac_mode in
18265 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18266 # Older Autoconf quotes --file arguments for eval, but not when files
18267 # are listed without --file. Let's play safe and only enable the eval
18268 # if we detect the quoting.
18269 case $CONFIG_FILES in
18270 *\'*) eval set x "$CONFIG_FILES" ;;
18271 *) set x $CONFIG_FILES ;;
18276 # Strip MF so we end up with the name of the file.
18277 mf=`echo "$mf" | sed -e 's/:.*$//'`
18278 # Check whether this is an Automake generated Makefile or not.
18279 # We used to match only the files named 'Makefile.in', but
18280 # some people rename them; so instead we look at the file content.
18281 # Grep'ing the first line is not enough: some people post-process
18282 # each Makefile.in and add a new line on top of each file to say so.
18283 # Grep'ing the whole file is not good either: AIX grep has a line
18284 # limit of 2048, but all sed's we know have understand at least 4000.
18285 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18286 dirpart=`$as_dirname -- "$mf" ||
18287 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18288 X"$mf" : 'X\(//\)[^/]' \| \
18289 X"$mf" : 'X\(//\)$' \| \
18290 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18296 /^X\(\/\/\)[^/].*/{
18312 # Extract the definition of DEPDIR, am__include, and am__quote
18313 # from the Makefile without running 'make'.
18314 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18315 test -z "$DEPDIR" && continue
18316 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18317 test -z "$am__include" && continue
18318 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18319 # Find all dependency output files, they are included files with
18320 # $(DEPDIR) in their names. We invoke sed twice because it is the
18321 # simplest approach to changing $(DEPDIR) to its actual value in the
18323 for file in `sed -n "
18324 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18325 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18326 # Make sure the directory exists.
18327 test -f "$dirpart/$file" && continue
18328 fdir=`$as_dirname -- "$file" ||
18329 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18330 X"$file" : 'X\(//\)[^/]' \| \
18331 X"$file" : 'X\(//\)$' \| \
18332 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18333 $as_echo X"$file" |
18334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18338 /^X\(\/\/\)[^/].*/{
18351 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18352 # echo "creating $dirpart/$file"
18353 echo '# dummy' > "$dirpart/$file"
18360 # See if we are running on zsh, and set the options which allow our
18361 # commands through without removal of \ escapes.
18362 if test -n "${ZSH_VERSION+set}" ; then
18363 setopt NO_GLOB_SUBST
18366 cfgfile="${ofile}T"
18367 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18370 cat <<_LT_EOF >> "$cfgfile"
18373 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18374 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18375 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18376 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18378 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18379 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18381 # Written by Gordon Matzigkeit, 1996
18383 # This file is part of GNU Libtool.
18385 # GNU Libtool is free software; you can redistribute it and/or
18386 # modify it under the terms of the GNU General Public License as
18387 # published by the Free Software Foundation; either version 2 of
18388 # the License, or (at your option) any later version.
18390 # As a special exception to the GNU General Public License,
18391 # if you distribute this file as part of a program or library that
18392 # is built using GNU Libtool, you may include this file under the
18393 # same distribution terms that you use for the rest of that program.
18395 # GNU Libtool is distributed in the hope that it will be useful,
18396 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18397 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18398 # GNU General Public License for more details.
18400 # You should have received a copy of the GNU General Public License
18401 # along with GNU Libtool; see the file COPYING. If not, a copy
18402 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18403 # obtained by writing to the Free Software Foundation, Inc.,
18404 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18407 # The names of the tagged configurations supported by this script.
18408 available_tags="CXX "
18410 # ### BEGIN LIBTOOL CONFIG
18412 # Whether or not to build static libraries.
18413 build_old_libs=$enable_static
18415 # Which release of libtool.m4 was used?
18416 macro_version=$macro_version
18417 macro_revision=$macro_revision
18419 # Assembler program.
18422 # DLL creation program.
18423 DLLTOOL=$lt_DLLTOOL
18425 # Object dumper program.
18426 OBJDUMP=$lt_OBJDUMP
18428 # Whether or not to build shared libraries.
18429 build_libtool_libs=$enable_shared
18431 # What type of objects to build.
18434 # Whether or not to optimize for fast installation.
18435 fast_install=$enable_fast_install
18437 # Shell to use when invoking shell scripts.
18440 # An echo program that protects backslashes.
18443 # The PATH separator for the build system.
18444 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18447 host_alias=$host_alias
18451 # The build system.
18452 build_alias=$build_alias
18456 # A sed program that does not truncate output.
18459 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18460 Xsed="\$SED -e 1s/^X//"
18462 # A grep program that handles long lines.
18468 # A literal string matcher.
18471 # A BSD- or MS-compatible name lister.
18474 # Whether we need soft or hard links.
18477 # What is the maximum length of a command?
18478 max_cmd_len=$max_cmd_len
18480 # Object file suffix (normally "o").
18483 # Executable file suffix (normally "").
18486 # whether the shell understands "unset".
18489 # turn spaces into newlines.
18492 # turn newlines into spaces.
18495 # convert \$build file names to \$host format.
18496 to_host_file_cmd=$lt_cv_to_host_file_cmd
18498 # convert \$build files to toolchain format.
18499 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18501 # Method to check whether dependent libraries are shared objects.
18502 deplibs_check_method=$lt_deplibs_check_method
18504 # Command to use when deplibs_check_method = "file_magic".
18505 file_magic_cmd=$lt_file_magic_cmd
18507 # How to find potential files when deplibs_check_method = "file_magic".
18508 file_magic_glob=$lt_file_magic_glob
18510 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18511 want_nocaseglob=$lt_want_nocaseglob
18513 # Command to associate shared and link libraries.
18514 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18519 # Flags to create an archive.
18520 AR_FLAGS=$lt_AR_FLAGS
18522 # How to feed a file listing to the archiver.
18523 archiver_list_spec=$lt_archiver_list_spec
18525 # A symbol stripping program.
18528 # Commands used to install an old-style archive.
18530 old_postinstall_cmds=$lt_old_postinstall_cmds
18531 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18533 # Whether to use a lock for old archive extraction.
18534 lock_old_archive_extraction=$lock_old_archive_extraction
18539 # LTCC compiler flags.
18540 LTCFLAGS=$lt_CFLAGS
18542 # Take the output of nm and produce a listing of raw symbols and C names.
18543 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18545 # Transform the output of nm in a proper C declaration.
18546 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18548 # Transform the output of nm in a C name address pair.
18549 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18551 # Transform the output of nm in a C name address pair when lib prefix is needed.
18552 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18554 # Specify filename containing input files for \$NM.
18555 nm_file_list_spec=$lt_nm_file_list_spec
18557 # The root where to search for dependent libraries,and in which our libraries should be installed.
18558 lt_sysroot=$lt_sysroot
18560 # The name of the directory that contains temporary libtool files.
18563 # Used to examine libraries when file_magic_cmd begins with "file".
18564 MAGIC_CMD=$MAGIC_CMD
18566 # Must we lock files when doing compilation?
18567 need_locks=$lt_need_locks
18570 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18572 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18573 DSYMUTIL=$lt_DSYMUTIL
18575 # Tool to change global to local symbols on Mac OS X.
18578 # Tool to manipulate fat objects and archives on Mac OS X.
18581 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18584 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18585 OTOOL64=$lt_OTOOL64
18587 # Old archive suffix (normally "a").
18590 # Shared library suffix (normally ".so").
18591 shrext_cmds=$lt_shrext_cmds
18593 # The commands to extract the exported symbol list from a shared archive.
18594 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18596 # Variables whose values should be saved in libtool wrapper scripts and
18597 # restored at link time.
18598 variables_saved_for_relink=$lt_variables_saved_for_relink
18600 # Do we need the "lib" prefix for modules?
18601 need_lib_prefix=$need_lib_prefix
18603 # Do we need a version for libraries?
18604 need_version=$need_version
18606 # Library versioning type.
18607 version_type=$version_type
18609 # Shared library runtime path variable.
18610 runpath_var=$runpath_var
18612 # Shared library path variable.
18613 shlibpath_var=$shlibpath_var
18615 # Is shlibpath searched before the hard-coded library search path?
18616 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18618 # Format of library name prefix.
18619 libname_spec=$lt_libname_spec
18621 # List of archive names. First name is the real one, the rest are links.
18622 # The last name is the one that the linker finds with -lNAME
18623 library_names_spec=$lt_library_names_spec
18625 # The coded name of the library, if different from the real name.
18626 soname_spec=$lt_soname_spec
18628 # Permission mode override for installation of shared libraries.
18629 install_override_mode=$lt_install_override_mode
18631 # Command to use after installation of a shared archive.
18632 postinstall_cmds=$lt_postinstall_cmds
18634 # Command to use after uninstallation of a shared archive.
18635 postuninstall_cmds=$lt_postuninstall_cmds
18637 # Commands used to finish a libtool library installation in a directory.
18638 finish_cmds=$lt_finish_cmds
18640 # As "finish_cmds", except a single script fragment to be evaled but
18642 finish_eval=$lt_finish_eval
18644 # Whether we should hardcode library paths into libraries.
18645 hardcode_into_libs=$hardcode_into_libs
18647 # Compile-time system search path for libraries.
18648 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18650 # Run-time system search path for libraries.
18651 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18653 # Whether dlopen is supported.
18654 dlopen_support=$enable_dlopen
18656 # Whether dlopen of programs is supported.
18657 dlopen_self=$enable_dlopen_self
18659 # Whether dlopen of statically linked programs is supported.
18660 dlopen_self_static=$enable_dlopen_self_static
18662 # Commands to strip libraries.
18663 old_striplib=$lt_old_striplib
18664 striplib=$lt_striplib
18667 # The linker used to build libraries.
18670 # How to create reloadable object files.
18671 reload_flag=$lt_reload_flag
18672 reload_cmds=$lt_reload_cmds
18674 # Commands used to build an old-style archive.
18675 old_archive_cmds=$lt_old_archive_cmds
18677 # A language specific compiler.
18680 # Is the compiler the GNU compiler?
18683 # Compiler flag to turn off builtin functions.
18684 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18686 # Additional compiler flags for building library objects.
18687 pic_flag=$lt_lt_prog_compiler_pic
18689 # How to pass a linker flag through the compiler.
18690 wl=$lt_lt_prog_compiler_wl
18692 # Compiler flag to prevent dynamic linking.
18693 link_static_flag=$lt_lt_prog_compiler_static
18695 # Does compiler simultaneously support -c and -o options?
18696 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18698 # Whether or not to add -lc for building shared libraries.
18699 build_libtool_need_lc=$archive_cmds_need_lc
18701 # Whether or not to disallow shared libs when runtime libs are static.
18702 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18704 # Compiler flag to allow reflexive dlopens.
18705 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18707 # Compiler flag to generate shared objects directly from archives.
18708 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18710 # Whether the compiler copes with passing no objects directly.
18711 compiler_needs_object=$lt_compiler_needs_object
18713 # Create an old-style archive from a shared archive.
18714 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18716 # Create a temporary old-style archive to link instead of a shared archive.
18717 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18719 # Commands used to build a shared archive.
18720 archive_cmds=$lt_archive_cmds
18721 archive_expsym_cmds=$lt_archive_expsym_cmds
18723 # Commands used to build a loadable module if different from building
18724 # a shared archive.
18725 module_cmds=$lt_module_cmds
18726 module_expsym_cmds=$lt_module_expsym_cmds
18728 # Whether we are building with GNU ld or not.
18729 with_gnu_ld=$lt_with_gnu_ld
18731 # Flag that allows shared libraries with undefined symbols to be built.
18732 allow_undefined_flag=$lt_allow_undefined_flag
18734 # Flag that enforces no undefined symbols.
18735 no_undefined_flag=$lt_no_undefined_flag
18737 # Flag to hardcode \$libdir into a binary during linking.
18738 # This must work even if \$libdir does not exist
18739 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18741 # Whether we need a single "-rpath" flag with a separated argument.
18742 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18744 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18745 # DIR into the resulting binary.
18746 hardcode_direct=$hardcode_direct
18748 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18749 # DIR into the resulting binary and the resulting library dependency is
18750 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18751 # library is relocated.
18752 hardcode_direct_absolute=$hardcode_direct_absolute
18754 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18755 # into the resulting binary.
18756 hardcode_minus_L=$hardcode_minus_L
18758 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18759 # into the resulting binary.
18760 hardcode_shlibpath_var=$hardcode_shlibpath_var
18762 # Set to "yes" if building a shared library automatically hardcodes DIR
18763 # into the library and all subsequent libraries and executables linked
18765 hardcode_automatic=$hardcode_automatic
18767 # Set to yes if linker adds runtime paths of dependent libraries
18768 # to runtime path list.
18769 inherit_rpath=$inherit_rpath
18771 # Whether libtool must link a program against all its dependency libraries.
18772 link_all_deplibs=$link_all_deplibs
18774 # Set to "yes" if exported symbols are required.
18775 always_export_symbols=$always_export_symbols
18777 # The commands to list exported symbols.
18778 export_symbols_cmds=$lt_export_symbols_cmds
18780 # Symbols that should not be listed in the preloaded symbols.
18781 exclude_expsyms=$lt_exclude_expsyms
18783 # Symbols that must always be exported.
18784 include_expsyms=$lt_include_expsyms
18786 # Commands necessary for linking programs (against libraries) with templates.
18787 prelink_cmds=$lt_prelink_cmds
18789 # Commands necessary for finishing linking programs.
18790 postlink_cmds=$lt_postlink_cmds
18792 # Specify filename containing input files.
18793 file_list_spec=$lt_file_list_spec
18795 # How to hardcode a shared library path into an executable.
18796 hardcode_action=$hardcode_action
18798 # The directories searched by this compiler when creating a shared library.
18799 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18801 # Dependencies to place before and after the objects being linked to
18802 # create a shared library.
18803 predep_objects=$lt_predep_objects
18804 postdep_objects=$lt_postdep_objects
18805 predeps=$lt_predeps
18806 postdeps=$lt_postdeps
18808 # The library search path used internally by the compiler when linking
18809 # a shared library.
18810 compiler_lib_search_path=$lt_compiler_lib_search_path
18812 # ### END LIBTOOL CONFIG
18818 cat <<\_LT_EOF >> "$cfgfile"
18819 # AIX sometimes has problems with the GCC collect2 program. For some
18820 # reason, if we set the COLLECT_NAMES environment variable, the problems
18821 # vanish in a puff of smoke.
18822 if test "X${COLLECT_NAMES+set}" != Xset; then
18824 export COLLECT_NAMES
18831 ltmain="$ac_aux_dir/ltmain.sh"
18834 # We use sed instead of cat because bash on DJGPP gets confused if
18835 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18836 # text mode, it properly converts lines to CR/LF. This bash problem
18837 # is reportedly fixed, but why not run on old versions too?
18838 sed '$q' "$ltmain" >> "$cfgfile" \
18839 || (rm -f "$cfgfile"; exit 1)
18841 if test x"$xsi_shell" = xyes; then
18842 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18846 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18847 \ * ) func_dirname_result="${3}" ;;\
18849 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18850 && mv -f "$cfgfile.tmp" "$cfgfile" \
18851 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18852 test 0 -eq $? || _lt_function_replace_fail=:
18855 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18858 \ func_basename_result="${1##*/}"\
18859 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18860 && mv -f "$cfgfile.tmp" "$cfgfile" \
18861 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18862 test 0 -eq $? || _lt_function_replace_fail=:
18865 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18866 func_dirname_and_basename ()\
18869 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18870 \ * ) func_dirname_result="${3}" ;;\
18872 \ func_basename_result="${1##*/}"\
18873 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18874 && mv -f "$cfgfile.tmp" "$cfgfile" \
18875 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18876 test 0 -eq $? || _lt_function_replace_fail=:
18879 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18882 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18883 \ # positional parameters, so assign one to ordinary parameter first.\
18884 \ func_stripname_result=${3}\
18885 \ func_stripname_result=${func_stripname_result#"${1}"}\
18886 \ func_stripname_result=${func_stripname_result%"${2}"}\
18887 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18888 && mv -f "$cfgfile.tmp" "$cfgfile" \
18889 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18890 test 0 -eq $? || _lt_function_replace_fail=:
18893 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18894 func_split_long_opt ()\
18896 \ func_split_long_opt_name=${1%%=*}\
18897 \ func_split_long_opt_arg=${1#*=}\
18898 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18899 && mv -f "$cfgfile.tmp" "$cfgfile" \
18900 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18901 test 0 -eq $? || _lt_function_replace_fail=:
18904 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18905 func_split_short_opt ()\
18907 \ func_split_short_opt_arg=${1#??}\
18908 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18909 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18910 && mv -f "$cfgfile.tmp" "$cfgfile" \
18911 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18912 test 0 -eq $? || _lt_function_replace_fail=:
18915 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18919 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18920 \ *) func_lo2o_result=${1} ;;\
18922 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18923 && mv -f "$cfgfile.tmp" "$cfgfile" \
18924 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18925 test 0 -eq $? || _lt_function_replace_fail=:
18928 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18931 func_xform_result=${1%.*}.lo\
18932 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18933 && mv -f "$cfgfile.tmp" "$cfgfile" \
18934 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18935 test 0 -eq $? || _lt_function_replace_fail=:
18938 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18941 func_arith_result=$(( $* ))\
18942 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18943 && mv -f "$cfgfile.tmp" "$cfgfile" \
18944 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18945 test 0 -eq $? || _lt_function_replace_fail=:
18948 sed -e '/^func_len ()$/,/^} # func_len /c\
18951 func_len_result=${#1}\
18952 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18953 && mv -f "$cfgfile.tmp" "$cfgfile" \
18954 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18955 test 0 -eq $? || _lt_function_replace_fail=:
18959 if test x"$lt_shell_append" = xyes; then
18960 sed -e '/^func_append ()$/,/^} # func_append /c\
18963 eval "${1}+=\\${2}"\
18964 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18965 && mv -f "$cfgfile.tmp" "$cfgfile" \
18966 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18967 test 0 -eq $? || _lt_function_replace_fail=:
18970 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18971 func_append_quoted ()\
18973 \ func_quote_for_eval "${2}"\
18974 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18975 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18976 && mv -f "$cfgfile.tmp" "$cfgfile" \
18977 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18978 test 0 -eq $? || _lt_function_replace_fail=:
18981 # Save a `func_append' function call where possible by direct use of '+='
18982 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18983 && mv -f "$cfgfile.tmp" "$cfgfile" \
18984 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18985 test 0 -eq $? || _lt_function_replace_fail=:
18987 # Save a `func_append' function call even when '+=' is not available
18988 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18989 && mv -f "$cfgfile.tmp" "$cfgfile" \
18990 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18991 test 0 -eq $? || _lt_function_replace_fail=:
18994 if test x"$_lt_function_replace_fail" = x":"; then
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18996 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19000 mv -f "$cfgfile" "$ofile" ||
19001 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19005 cat <<_LT_EOF >> "$ofile"
19007 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19009 # The linker used to build libraries.
19012 # How to create reloadable object files.
19013 reload_flag=$lt_reload_flag_CXX
19014 reload_cmds=$lt_reload_cmds_CXX
19016 # Commands used to build an old-style archive.
19017 old_archive_cmds=$lt_old_archive_cmds_CXX
19019 # A language specific compiler.
19020 CC=$lt_compiler_CXX
19022 # Is the compiler the GNU compiler?
19025 # Compiler flag to turn off builtin functions.
19026 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19028 # Additional compiler flags for building library objects.
19029 pic_flag=$lt_lt_prog_compiler_pic_CXX
19031 # How to pass a linker flag through the compiler.
19032 wl=$lt_lt_prog_compiler_wl_CXX
19034 # Compiler flag to prevent dynamic linking.
19035 link_static_flag=$lt_lt_prog_compiler_static_CXX
19037 # Does compiler simultaneously support -c and -o options?
19038 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19040 # Whether or not to add -lc for building shared libraries.
19041 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19043 # Whether or not to disallow shared libs when runtime libs are static.
19044 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19046 # Compiler flag to allow reflexive dlopens.
19047 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19049 # Compiler flag to generate shared objects directly from archives.
19050 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19052 # Whether the compiler copes with passing no objects directly.
19053 compiler_needs_object=$lt_compiler_needs_object_CXX
19055 # Create an old-style archive from a shared archive.
19056 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19058 # Create a temporary old-style archive to link instead of a shared archive.
19059 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19061 # Commands used to build a shared archive.
19062 archive_cmds=$lt_archive_cmds_CXX
19063 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19065 # Commands used to build a loadable module if different from building
19066 # a shared archive.
19067 module_cmds=$lt_module_cmds_CXX
19068 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19070 # Whether we are building with GNU ld or not.
19071 with_gnu_ld=$lt_with_gnu_ld_CXX
19073 # Flag that allows shared libraries with undefined symbols to be built.
19074 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19076 # Flag that enforces no undefined symbols.
19077 no_undefined_flag=$lt_no_undefined_flag_CXX
19079 # Flag to hardcode \$libdir into a binary during linking.
19080 # This must work even if \$libdir does not exist
19081 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19083 # Whether we need a single "-rpath" flag with a separated argument.
19084 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19086 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19087 # DIR into the resulting binary.
19088 hardcode_direct=$hardcode_direct_CXX
19090 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19091 # DIR into the resulting binary and the resulting library dependency is
19092 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19093 # library is relocated.
19094 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19096 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19097 # into the resulting binary.
19098 hardcode_minus_L=$hardcode_minus_L_CXX
19100 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19101 # into the resulting binary.
19102 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19104 # Set to "yes" if building a shared library automatically hardcodes DIR
19105 # into the library and all subsequent libraries and executables linked
19107 hardcode_automatic=$hardcode_automatic_CXX
19109 # Set to yes if linker adds runtime paths of dependent libraries
19110 # to runtime path list.
19111 inherit_rpath=$inherit_rpath_CXX
19113 # Whether libtool must link a program against all its dependency libraries.
19114 link_all_deplibs=$link_all_deplibs_CXX
19116 # Set to "yes" if exported symbols are required.
19117 always_export_symbols=$always_export_symbols_CXX
19119 # The commands to list exported symbols.
19120 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19122 # Symbols that should not be listed in the preloaded symbols.
19123 exclude_expsyms=$lt_exclude_expsyms_CXX
19125 # Symbols that must always be exported.
19126 include_expsyms=$lt_include_expsyms_CXX
19128 # Commands necessary for linking programs (against libraries) with templates.
19129 prelink_cmds=$lt_prelink_cmds_CXX
19131 # Commands necessary for finishing linking programs.
19132 postlink_cmds=$lt_postlink_cmds_CXX
19134 # Specify filename containing input files.
19135 file_list_spec=$lt_file_list_spec_CXX
19137 # How to hardcode a shared library path into an executable.
19138 hardcode_action=$hardcode_action_CXX
19140 # The directories searched by this compiler when creating a shared library.
19141 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19143 # Dependencies to place before and after the objects being linked to
19144 # create a shared library.
19145 predep_objects=$lt_predep_objects_CXX
19146 postdep_objects=$lt_postdep_objects_CXX
19147 predeps=$lt_predeps_CXX
19148 postdeps=$lt_postdeps_CXX
19150 # The library search path used internally by the compiler when linking
19151 # a shared library.
19152 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19154 # ### END LIBTOOL TAG CONFIG: CXX
19158 "MSVC_Net2005/sigc++config.h":C) cp -f sigc++config.h MSVC_Net2005/sigc++config.h ;;
19159 "MSVC_Net2008/sigc++config.h":C) cp -f sigc++config.h MSVC_Net2008/sigc++config.h ;;
19160 "MSVC_Net2010/sigc++config.h":C) cp -f sigc++config.h MSVC_Net2010/sigc++config.h ;;
19168 ac_clean_files=$ac_clean_files_save
19170 test $ac_write_fail = 0 ||
19171 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19174 # configure is writing to config.log, and then calls config.status.
19175 # config.status does its own redirection, appending to config.log.
19176 # Unfortunately, on DOS this fails, as config.log is still kept open
19177 # by configure, so config.status won't be able to write to it; its
19178 # output is simply discarded. So we exec the FD to /dev/null,
19179 # effectively closing config.log, so it can be properly (re)opened and
19180 # appended to by config.status. When coming back to configure, we
19181 # need to make the FD available again.
19182 if test "$no_create" != yes; then
19184 ac_config_status_args=
19185 test "$silent" = yes &&
19186 ac_config_status_args="$ac_config_status_args --quiet"
19188 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19190 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19191 # would make configure fail if this is the last instruction.
19192 $ac_cs_success || as_fn_exit 1
19194 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19196 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}