2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libsigc++ 2.99.2.
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.99.2'
595 PACKAGE_STRING='libsigc++ 2.99.2'
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
722 MAINTAINER_MODE_FALSE
736 INSTALL_STRIP_PROGRAM
778 program_transform_name
791 enable_option_checking
793 enable_maintainer_mode
794 enable_dependency_tracking
805 enable_deprecated_api
807 ac_precious_vars='build_alias
831 # Initialize some variables set by options.
833 ac_init_version=false
834 ac_unrecognized_opts=
836 # The variables have the same names as the options, with
837 # dashes changed to underlines.
845 program_transform_name=s,x,x,
853 # Installation directory options.
854 # These are left unexpanded so users can "make install exec_prefix=/foo"
855 # and all the variables that are supposed to be based on exec_prefix
856 # by default will actually change.
857 # Use braces instead of parens because sh, perl, etc. also accept them.
858 # (The list follows the same order as the GNU Coding Standards.)
859 bindir='${exec_prefix}/bin'
860 sbindir='${exec_prefix}/sbin'
861 libexecdir='${exec_prefix}/libexec'
862 datarootdir='${prefix}/share'
863 datadir='${datarootdir}'
864 sysconfdir='${prefix}/etc'
865 sharedstatedir='${prefix}/com'
866 localstatedir='${prefix}/var'
867 includedir='${prefix}/include'
868 oldincludedir='/usr/include'
869 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
870 infodir='${datarootdir}/info'
875 libdir='${exec_prefix}/lib'
876 localedir='${datarootdir}/locale'
877 mandir='${datarootdir}/man'
883 # If the previous option needs an argument, assign it.
884 if test -n "$ac_prev"; then
885 eval $ac_prev=\$ac_option
891 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
896 # Accept the important Cygnus configure options, so we can diagnose typos.
898 case $ac_dashdash$ac_option in
902 -bindir | --bindir | --bindi | --bind | --bin | --bi)
904 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
907 -build | --build | --buil | --bui | --bu)
908 ac_prev=build_alias ;;
909 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
910 build_alias=$ac_optarg ;;
912 -cache-file | --cache-file | --cache-fil | --cache-fi \
913 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
914 ac_prev=cache_file ;;
915 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
916 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
917 cache_file=$ac_optarg ;;
920 cache_file=config.cache ;;
922 -datadir | --datadir | --datadi | --datad)
924 -datadir=* | --datadir=* | --datadi=* | --datad=*)
925 datadir=$ac_optarg ;;
927 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
928 | --dataroo | --dataro | --datar)
929 ac_prev=datarootdir ;;
930 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
931 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
932 datarootdir=$ac_optarg ;;
934 -disable-* | --disable-*)
935 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
936 # Reject names that are not valid shell variable names.
937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938 as_fn_error $? "invalid feature name: $ac_useropt"
939 ac_useropt_orig=$ac_useropt
940 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941 case $ac_user_opts in
945 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
946 ac_unrecognized_sep=', ';;
948 eval enable_$ac_useropt=no ;;
950 -docdir | --docdir | --docdi | --doc | --do)
952 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
955 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
957 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
960 -enable-* | --enable-*)
961 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964 as_fn_error $? "invalid feature name: $ac_useropt"
965 ac_useropt_orig=$ac_useropt
966 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967 case $ac_user_opts in
971 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
972 ac_unrecognized_sep=', ';;
974 eval enable_$ac_useropt=\$ac_optarg ;;
976 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
977 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
978 | --exec | --exe | --ex)
979 ac_prev=exec_prefix ;;
980 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
981 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
982 | --exec=* | --exe=* | --ex=*)
983 exec_prefix=$ac_optarg ;;
985 -gas | --gas | --ga | --g)
986 # Obsolete; use --with-gas.
989 -help | --help | --hel | --he | -h)
991 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
992 ac_init_help=recursive ;;
993 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
994 ac_init_help=short ;;
996 -host | --host | --hos | --ho)
997 ac_prev=host_alias ;;
998 -host=* | --host=* | --hos=* | --ho=*)
999 host_alias=$ac_optarg ;;
1001 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1003 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1005 htmldir=$ac_optarg ;;
1007 -includedir | --includedir | --includedi | --included | --include \
1008 | --includ | --inclu | --incl | --inc)
1009 ac_prev=includedir ;;
1010 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1011 | --includ=* | --inclu=* | --incl=* | --inc=*)
1012 includedir=$ac_optarg ;;
1014 -infodir | --infodir | --infodi | --infod | --info | --inf)
1016 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1017 infodir=$ac_optarg ;;
1019 -libdir | --libdir | --libdi | --libd)
1021 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1022 libdir=$ac_optarg ;;
1024 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1025 | --libexe | --libex | --libe)
1026 ac_prev=libexecdir ;;
1027 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1028 | --libexe=* | --libex=* | --libe=*)
1029 libexecdir=$ac_optarg ;;
1031 -localedir | --localedir | --localedi | --localed | --locale)
1032 ac_prev=localedir ;;
1033 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1034 localedir=$ac_optarg ;;
1036 -localstatedir | --localstatedir | --localstatedi | --localstated \
1037 | --localstate | --localstat | --localsta | --localst | --locals)
1038 ac_prev=localstatedir ;;
1039 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1040 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1041 localstatedir=$ac_optarg ;;
1043 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1045 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1046 mandir=$ac_optarg ;;
1048 -nfp | --nfp | --nf)
1049 # Obsolete; use --without-fp.
1052 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1053 | --no-cr | --no-c | -n)
1056 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1057 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1060 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1061 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1062 | --oldin | --oldi | --old | --ol | --o)
1063 ac_prev=oldincludedir ;;
1064 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1065 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1066 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1067 oldincludedir=$ac_optarg ;;
1069 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1071 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1072 prefix=$ac_optarg ;;
1074 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1075 | --program-pre | --program-pr | --program-p)
1076 ac_prev=program_prefix ;;
1077 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1078 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1079 program_prefix=$ac_optarg ;;
1081 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1082 | --program-suf | --program-su | --program-s)
1083 ac_prev=program_suffix ;;
1084 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1085 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1086 program_suffix=$ac_optarg ;;
1088 -program-transform-name | --program-transform-name \
1089 | --program-transform-nam | --program-transform-na \
1090 | --program-transform-n | --program-transform- \
1091 | --program-transform | --program-transfor \
1092 | --program-transfo | --program-transf \
1093 | --program-trans | --program-tran \
1094 | --progr-tra | --program-tr | --program-t)
1095 ac_prev=program_transform_name ;;
1096 -program-transform-name=* | --program-transform-name=* \
1097 | --program-transform-nam=* | --program-transform-na=* \
1098 | --program-transform-n=* | --program-transform-=* \
1099 | --program-transform=* | --program-transfor=* \
1100 | --program-transfo=* | --program-transf=* \
1101 | --program-trans=* | --program-tran=* \
1102 | --progr-tra=* | --program-tr=* | --program-t=*)
1103 program_transform_name=$ac_optarg ;;
1105 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1107 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1108 pdfdir=$ac_optarg ;;
1110 -psdir | --psdir | --psdi | --psd | --ps)
1112 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1115 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1116 | -silent | --silent | --silen | --sile | --sil)
1119 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1121 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1123 sbindir=$ac_optarg ;;
1125 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1126 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1127 | --sharedst | --shareds | --shared | --share | --shar \
1129 ac_prev=sharedstatedir ;;
1130 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1131 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1132 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1134 sharedstatedir=$ac_optarg ;;
1136 -site | --site | --sit)
1138 -site=* | --site=* | --sit=*)
1141 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1143 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1144 srcdir=$ac_optarg ;;
1146 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1147 | --syscon | --sysco | --sysc | --sys | --sy)
1148 ac_prev=sysconfdir ;;
1149 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1150 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1151 sysconfdir=$ac_optarg ;;
1153 -target | --target | --targe | --targ | --tar | --ta | --t)
1154 ac_prev=target_alias ;;
1155 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1156 target_alias=$ac_optarg ;;
1158 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1161 -version | --version | --versio | --versi | --vers | -V)
1162 ac_init_version=: ;;
1165 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168 as_fn_error $? "invalid package name: $ac_useropt"
1169 ac_useropt_orig=$ac_useropt
1170 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171 case $ac_user_opts in
1175 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1176 ac_unrecognized_sep=', ';;
1178 eval with_$ac_useropt=\$ac_optarg ;;
1180 -without-* | --without-*)
1181 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184 as_fn_error $? "invalid package name: $ac_useropt"
1185 ac_useropt_orig=$ac_useropt
1186 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187 case $ac_user_opts in
1191 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1192 ac_unrecognized_sep=', ';;
1194 eval with_$ac_useropt=no ;;
1197 # Obsolete; use --with-x.
1200 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1201 | --x-incl | --x-inc | --x-in | --x-i)
1202 ac_prev=x_includes ;;
1203 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1204 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1205 x_includes=$ac_optarg ;;
1207 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1208 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1209 ac_prev=x_libraries ;;
1210 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1211 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1212 x_libraries=$ac_optarg ;;
1214 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1215 Try \`$0 --help' for more information"
1219 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1220 # Reject names that are not valid shell variable names.
1221 case $ac_envvar in #(
1222 '' | [0-9]* | *[!_$as_cr_alnum]* )
1223 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1225 eval $ac_envvar=\$ac_optarg
1226 export $ac_envvar ;;
1229 # FIXME: should be removed in autoconf 3.0.
1230 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1231 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1232 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1233 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1239 if test -n "$ac_prev"; then
1240 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1241 as_fn_error $? "missing argument to $ac_option"
1244 if test -n "$ac_unrecognized_opts"; then
1245 case $enable_option_checking in
1247 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1248 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1252 # Check all directory arguments for consistency.
1253 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1254 datadir sysconfdir sharedstatedir localstatedir includedir \
1255 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1256 libdir localedir mandir
1258 eval ac_val=\$$ac_var
1259 # Remove trailing slashes.
1262 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1263 eval $ac_var=\$ac_val;;
1265 # Be sure to have absolute directory names.
1267 [\\/$]* | ?:[\\/]* ) continue;;
1268 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1270 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1273 # There might be people who depend on the old broken behavior: `$host'
1274 # used to hold the argument of --host etc.
1275 # FIXME: To remove some day.
1278 target=$target_alias
1280 # FIXME: To remove some day.
1281 if test "x$host_alias" != x; then
1282 if test "x$build_alias" = x; then
1283 cross_compiling=maybe
1284 elif test "x$build_alias" != "x$host_alias"; then
1290 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1292 test "$silent" = yes && exec 6>/dev/null
1295 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1296 ac_ls_di=`ls -di .` &&
1297 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1298 as_fn_error $? "working directory cannot be determined"
1299 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1300 as_fn_error $? "pwd does not report name of working directory"
1303 # Find the source files, if location was not specified.
1304 if test -z "$srcdir"; then
1305 ac_srcdir_defaulted=yes
1306 # Try the directory containing this script, then the parent directory.
1307 ac_confdir=`$as_dirname -- "$as_myself" ||
1308 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1309 X"$as_myself" : 'X\(//\)[^/]' \| \
1310 X"$as_myself" : 'X\(//\)$' \| \
1311 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1312 $as_echo X"$as_myself" |
1313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1331 if test ! -r "$srcdir/$ac_unique_file"; then
1335 ac_srcdir_defaulted=no
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1338 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1339 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1341 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1343 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1345 # When building in place, set srcdir=.
1346 if test "$ac_abs_confdir" = "$ac_pwd"; then
1349 # Remove unnecessary trailing slashes from srcdir.
1350 # Double slashes in file names in object file debugging info
1351 # mess up M-x gdb in Emacs.
1353 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1355 for ac_var in $ac_precious_vars; do
1356 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1357 eval ac_env_${ac_var}_value=\$${ac_var}
1358 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1359 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1363 # Report the --help message.
1365 if test "$ac_init_help" = "long"; then
1366 # Omit some internal or obsolete options to make the list less imposing.
1367 # This message is too long to be a string in the A/UX 3.1 sh.
1369 \`configure' configures libsigc++ 2.99.2 to adapt to many kinds of systems.
1371 Usage: $0 [OPTION]... [VAR=VALUE]...
1373 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1374 VAR=VALUE. See below for descriptions of some of the useful variables.
1376 Defaults for the options are specified in brackets.
1379 -h, --help display this help and exit
1380 --help=short display options specific to this package
1381 --help=recursive display the short help of all the included packages
1382 -V, --version display version information and exit
1383 -q, --quiet, --silent do not print \`checking ...' messages
1384 --cache-file=FILE cache test results in FILE [disabled]
1385 -C, --config-cache alias for \`--cache-file=config.cache'
1386 -n, --no-create do not create output files
1387 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1389 Installation directories:
1390 --prefix=PREFIX install architecture-independent files in PREFIX
1391 [$ac_default_prefix]
1392 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1395 By default, \`make install' will install all the files in
1396 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1397 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1398 for instance \`--prefix=\$HOME'.
1400 For better control, use the options below.
1402 Fine tuning of the installation directories:
1403 --bindir=DIR user executables [EPREFIX/bin]
1404 --sbindir=DIR system admin executables [EPREFIX/sbin]
1405 --libexecdir=DIR program executables [EPREFIX/libexec]
1406 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1407 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1408 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1409 --libdir=DIR object code libraries [EPREFIX/lib]
1410 --includedir=DIR C header files [PREFIX/include]
1411 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1412 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1413 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1414 --infodir=DIR info documentation [DATAROOTDIR/info]
1415 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1416 --mandir=DIR man documentation [DATAROOTDIR/man]
1417 --docdir=DIR documentation root [DATAROOTDIR/doc/libsigc++]
1418 --htmldir=DIR html documentation [DOCDIR]
1419 --dvidir=DIR dvi documentation [DOCDIR]
1420 --pdfdir=DIR pdf documentation [DOCDIR]
1421 --psdir=DIR ps documentation [DOCDIR]
1427 --program-prefix=PREFIX prepend PREFIX to installed program names
1428 --program-suffix=SUFFIX append SUFFIX to installed program names
1429 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1432 --build=BUILD configure for building on BUILD [guessed]
1433 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1437 if test -n "$ac_init_help"; then
1438 case $ac_init_help in
1439 short | recursive ) echo "Configuration of libsigc++ 2.99.2:";;
1444 --disable-option-checking ignore unrecognized --enable/--with options
1445 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1446 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1447 --enable-silent-rules less verbose build output (undo: "make V=1")
1448 --disable-silent-rules verbose build output (undo: "make V=0")
1449 --enable-maintainer-mode
1450 enable make rules and dependencies not useful (and
1451 sometimes confusing) to the casual installer
1452 --enable-dependency-tracking
1453 do not reject slow dependency extractors
1454 --disable-dependency-tracking
1455 speeds up one-time build
1456 --enable-static[=PKGS] build static libraries [default=no]
1457 --enable-shared[=PKGS] build shared libraries [default=yes]
1458 --enable-fast-install[=PKGS]
1459 optimize for fast installation [default=yes]
1460 --disable-libtool-lock avoid locking (might break parallel builds)
1461 --disable-documentation do not build or install the documentation
1462 --enable-warnings[=min|max|fatal|no]
1463 set compiler pedantry level [default=min]
1464 --disable-deprecated-api
1465 omit deprecated API from the library
1468 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1469 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1470 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1472 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1473 --with-sysroot=DIR Search for dependent libraries within DIR
1474 (or the compiler's sysroot if not specified).
1475 --with-libstdc-doc=[TAGFILE@]HTMLREFDIR
1476 Link to external libstdc documentation [auto]
1478 Some influential environment variables:
1480 aclocal flags, e.g. -I <macro dir>
1481 CXX C++ compiler command
1482 CXXFLAGS C++ compiler flags
1483 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1484 nonstandard directory <lib dir>
1485 LIBS libraries to pass to the linker, e.g. -l<library>
1486 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1487 you have headers in a nonstandard directory <include dir>
1488 CC C compiler command
1489 CFLAGS C compiler flags
1491 CXXCPP C++ preprocessor
1492 M4 M4 macro processor command
1493 PERL path to Perl interpreter
1494 DOT path to dot utility
1495 DOXYGEN path to Doxygen utility
1496 XSLTPROC path to xsltproc utility
1497 PKG_CONFIG path to pkg-config utility
1499 directories to add to pkg-config's search path
1501 path overriding pkg-config's built-in search path
1503 Use these variables to override the choices made by `configure' or to help
1504 it to find libraries and programs with nonstandard names/locations.
1506 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B>.
1507 libsigc++ home page: <http://libsigc.sourceforge.net/>.
1512 if test "$ac_init_help" = "recursive"; then
1513 # If there are subdirs, report their specific --help.
1514 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1515 test -d "$ac_dir" ||
1516 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1521 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1523 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1524 # A ".." for each directory in $ac_dir_suffix.
1525 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1526 case $ac_top_builddir_sub in
1527 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1531 ac_abs_top_builddir=$ac_pwd
1532 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1533 # for backward compatibility:
1534 ac_top_builddir=$ac_top_build_prefix
1537 .) # We are building in place.
1539 ac_top_srcdir=$ac_top_builddir_sub
1540 ac_abs_top_srcdir=$ac_pwd ;;
1541 [\\/]* | ?:[\\/]* ) # Absolute name.
1542 ac_srcdir=$srcdir$ac_dir_suffix;
1543 ac_top_srcdir=$srcdir
1544 ac_abs_top_srcdir=$srcdir ;;
1546 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1547 ac_top_srcdir=$ac_top_build_prefix$srcdir
1548 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1550 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1552 cd "$ac_dir" || { ac_status=$?; continue; }
1553 # Check for guested configure.
1554 if test -f "$ac_srcdir/configure.gnu"; then
1556 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1557 elif test -f "$ac_srcdir/configure"; then
1559 $SHELL "$ac_srcdir/configure" --help=recursive
1561 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1563 cd "$ac_pwd" || { ac_status=$?; break; }
1567 test -n "$ac_init_help" && exit $ac_status
1568 if $ac_init_version; then
1570 libsigc++ configure 2.99.2
1571 generated by GNU Autoconf 2.69
1573 Copyright (C) 2012 Free Software Foundation, Inc.
1574 This configure script is free software; the Free Software Foundation
1575 gives unlimited permission to copy, distribute and modify it.
1580 ## ------------------------ ##
1581 ## Autoconf initialization. ##
1582 ## ------------------------ ##
1584 # ac_fn_cxx_try_compile LINENO
1585 # ----------------------------
1586 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1587 ac_fn_cxx_try_compile ()
1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590 rm -f conftest.$ac_objext
1591 if { { ac_try="$ac_compile"
1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1594 *) ac_try_echo=$ac_try;;
1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598 (eval "$ac_compile") 2>conftest.err
1600 if test -s conftest.err; then
1601 grep -v '^ *+' conftest.err >conftest.er1
1602 cat conftest.er1 >&5
1603 mv -f conftest.er1 conftest.err
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; } && {
1607 test -z "$ac_cxx_werror_flag" ||
1608 test ! -s conftest.err
1609 } && test -s conftest.$ac_objext; then :
1612 $as_echo "$as_me: failed program was:" >&5
1613 sed 's/^/| /' conftest.$ac_ext >&5
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618 as_fn_set_status $ac_retval
1620 } # ac_fn_cxx_try_compile
1622 # ac_fn_c_try_compile LINENO
1623 # --------------------------
1624 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1625 ac_fn_c_try_compile ()
1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628 rm -f conftest.$ac_objext
1629 if { { ac_try="$ac_compile"
1631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1632 *) ac_try_echo=$ac_try;;
1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636 (eval "$ac_compile") 2>conftest.err
1638 if test -s conftest.err; then
1639 grep -v '^ *+' conftest.err >conftest.er1
1640 cat conftest.er1 >&5
1641 mv -f conftest.er1 conftest.err
1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644 test $ac_status = 0; } && {
1645 test -z "$ac_c_werror_flag" ||
1646 test ! -s conftest.err
1647 } && test -s conftest.$ac_objext; then :
1650 $as_echo "$as_me: failed program was:" >&5
1651 sed 's/^/| /' conftest.$ac_ext >&5
1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1656 as_fn_set_status $ac_retval
1658 } # ac_fn_c_try_compile
1660 # ac_fn_c_try_link LINENO
1661 # -----------------------
1662 # Try to link conftest.$ac_ext, and return whether this succeeded.
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 rm -f conftest.$ac_objext conftest$ac_exeext
1667 if { { ac_try="$ac_link"
1669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1670 *) ac_try_echo=$ac_try;;
1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_link") 2>conftest.err
1676 if test -s conftest.err; then
1677 grep -v '^ *+' conftest.err >conftest.er1
1678 cat conftest.er1 >&5
1679 mv -f conftest.er1 conftest.err
1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682 test $ac_status = 0; } && {
1683 test -z "$ac_c_werror_flag" ||
1684 test ! -s conftest.err
1685 } && test -s conftest$ac_exeext && {
1686 test "$cross_compiling" = yes ||
1687 test -x conftest$ac_exeext
1691 $as_echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.$ac_ext >&5
1696 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1697 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1698 # interfere with the next link command; also delete a directory that is
1699 # left behind by Apple's compiler. We do this before executing the actions.
1700 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702 as_fn_set_status $ac_retval
1704 } # ac_fn_c_try_link
1706 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1707 # -------------------------------------------------------
1708 # Tests whether HEADER exists and can be compiled using the include files in
1709 # INCLUDES, setting the cache variable VAR accordingly.
1710 ac_fn_c_check_header_compile ()
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1714 $as_echo_n "checking for $2... " >&6; }
1715 if eval \${$3+:} false; then :
1716 $as_echo_n "(cached) " >&6
1718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1719 /* end confdefs.h. */
1723 if ac_fn_c_try_compile "$LINENO"; then :
1728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1732 $as_echo "$ac_res" >&6; }
1733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735 } # ac_fn_c_check_header_compile
1737 # ac_fn_c_try_cpp LINENO
1738 # ----------------------
1739 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 if { { ac_try="$ac_cpp conftest.$ac_ext"
1745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1746 *) ac_try_echo=$ac_try;;
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1752 if test -s conftest.err; then
1753 grep -v '^ *+' conftest.err >conftest.er1
1754 cat conftest.er1 >&5
1755 mv -f conftest.er1 conftest.err
1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758 test $ac_status = 0; } > conftest.i && {
1759 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1760 test ! -s conftest.err
1764 $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.$ac_ext >&5
1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1770 as_fn_set_status $ac_retval
1774 # ac_fn_c_try_run LINENO
1775 # ----------------------
1776 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1777 # that executables *can* be run.
1780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781 if { { ac_try="$ac_link"
1783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1784 *) ac_try_echo=$ac_try;;
1786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788 (eval "$ac_link") 2>&5
1790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1792 { { case "(($ac_try" in
1793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1794 *) ac_try_echo=$ac_try;;
1796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_try") 2>&5
1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801 test $ac_status = 0; }; }; then :
1804 $as_echo "$as_me: program exited with status $ac_status" >&5
1805 $as_echo "$as_me: failed program was:" >&5
1806 sed 's/^/| /' conftest.$ac_ext >&5
1808 ac_retval=$ac_status
1810 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1812 as_fn_set_status $ac_retval
1816 # ac_fn_c_check_func LINENO FUNC VAR
1817 # ----------------------------------
1818 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1819 ac_fn_c_check_func ()
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1823 $as_echo_n "checking for $2... " >&6; }
1824 if eval \${$3+:} false; then :
1825 $as_echo_n "(cached) " >&6
1827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h. */
1829 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1831 #define $2 innocuous_$2
1833 /* System header to define __stub macros and hopefully few prototypes,
1834 which can conflict with char $2 (); below.
1835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1836 <limits.h> exists even on freestanding compilers. */
1839 # include <limits.h>
1841 # include <assert.h>
1846 /* Override any GCC internal prototype to avoid an error.
1847 Use char because int might match the return type of a GCC
1848 builtin and then its argument prototype would still apply. */
1853 /* The GNU C library defines this for functions which it implements
1854 to always fail with ENOSYS. Some functions are actually named
1855 something starting with __ and the normal name is an alias. */
1856 #if defined __stub_$2 || defined __stub___$2
1868 if ac_fn_c_try_link "$LINENO"; then :
1873 rm -f core conftest.err conftest.$ac_objext \
1874 conftest$ac_exeext conftest.$ac_ext
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1878 $as_echo "$ac_res" >&6; }
1879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881 } # ac_fn_c_check_func
1883 # ac_fn_cxx_try_cpp LINENO
1884 # ------------------------
1885 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1886 ac_fn_cxx_try_cpp ()
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 if { { ac_try="$ac_cpp conftest.$ac_ext"
1891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1892 *) ac_try_echo=$ac_try;;
1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895 $as_echo "$ac_try_echo"; } >&5
1896 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1898 if test -s conftest.err; then
1899 grep -v '^ *+' conftest.err >conftest.er1
1900 cat conftest.er1 >&5
1901 mv -f conftest.er1 conftest.err
1903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1904 test $ac_status = 0; } > conftest.i && {
1905 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1906 test ! -s conftest.err
1910 $as_echo "$as_me: failed program was:" >&5
1911 sed 's/^/| /' conftest.$ac_ext >&5
1915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916 as_fn_set_status $ac_retval
1918 } # ac_fn_cxx_try_cpp
1920 # ac_fn_cxx_try_link LINENO
1921 # -------------------------
1922 # Try to link conftest.$ac_ext, and return whether this succeeded.
1923 ac_fn_cxx_try_link ()
1925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1926 rm -f conftest.$ac_objext conftest$ac_exeext
1927 if { { ac_try="$ac_link"
1929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1930 *) ac_try_echo=$ac_try;;
1932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1933 $as_echo "$ac_try_echo"; } >&5
1934 (eval "$ac_link") 2>conftest.err
1936 if test -s conftest.err; then
1937 grep -v '^ *+' conftest.err >conftest.er1
1938 cat conftest.er1 >&5
1939 mv -f conftest.er1 conftest.err
1941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1942 test $ac_status = 0; } && {
1943 test -z "$ac_cxx_werror_flag" ||
1944 test ! -s conftest.err
1945 } && test -s conftest$ac_exeext && {
1946 test "$cross_compiling" = yes ||
1947 test -x conftest$ac_exeext
1951 $as_echo "$as_me: failed program was:" >&5
1952 sed 's/^/| /' conftest.$ac_ext >&5
1956 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1957 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1958 # interfere with the next link command; also delete a directory that is
1959 # left behind by Apple's compiler. We do this before executing the actions.
1960 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962 as_fn_set_status $ac_retval
1964 } # ac_fn_cxx_try_link
1965 cat >config.log <<_ACEOF
1966 This file contains any messages produced by compilers while
1967 running configure, to aid debugging if configure makes a mistake.
1969 It was created by libsigc++ $as_me 2.99.2, which was
1970 generated by GNU Autoconf 2.69. Invocation command line was
1982 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1983 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1984 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1985 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1986 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1988 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1989 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1991 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1992 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1993 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1994 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1995 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1996 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1997 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2005 test -z "$as_dir" && as_dir=.
2006 $as_echo "PATH: $as_dir"
2022 # Keep a trace of the command line.
2023 # Strip out --no-create and --no-recursion so they do not pile up.
2024 # Strip out --silent because we don't want to record it for future runs.
2025 # Also quote any args containing shell meta-characters.
2026 # Make two passes to allow for proper duplicate-argument suppression.
2030 ac_must_keep_next=false
2036 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2037 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2038 | -silent | --silent | --silen | --sile | --sil)
2041 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2044 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2046 as_fn_append ac_configure_args1 " '$ac_arg'"
2047 if test $ac_must_keep_next = true; then
2048 ac_must_keep_next=false # Got value, back to normal.
2051 *=* | --config-cache | -C | -disable-* | --disable-* \
2052 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2053 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2054 | -with-* | --with-* | -without-* | --without-* | --x)
2055 case "$ac_configure_args0 " in
2056 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2059 -* ) ac_must_keep_next=true ;;
2062 as_fn_append ac_configure_args " '$ac_arg'"
2067 { ac_configure_args0=; unset ac_configure_args0;}
2068 { ac_configure_args1=; unset ac_configure_args1;}
2070 # When interrupted or exit'd, cleanup temporary files, and complete
2071 # config.log. We remove comments because anyway the quotes in there
2072 # would cause problems or look ugly.
2073 # WARNING: Use '\'' to represent an apostrophe within the trap.
2074 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2075 trap 'exit_status=$?
2076 # Save into config.log some information that might help in debugging.
2080 $as_echo "## ---------------- ##
2081 ## Cache variables. ##
2082 ## ---------------- ##"
2084 # The following way of writing the cache mishandles newlines in values,
2086 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2087 eval ac_val=\$$ac_var
2091 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2092 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2095 _ | IFS | as_nl) ;; #(
2096 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2097 *) { eval $ac_var=; unset $ac_var;} ;;
2102 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2103 *${as_nl}ac_space=\ *)
2105 "s/'\''/'\''\\\\'\'''\''/g;
2106 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2109 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2116 $as_echo "## ----------------- ##
2117 ## Output variables. ##
2118 ## ----------------- ##"
2120 for ac_var in $ac_subst_vars
2122 eval ac_val=\$$ac_var
2124 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2126 $as_echo "$ac_var='\''$ac_val'\''"
2130 if test -n "$ac_subst_files"; then
2131 $as_echo "## ------------------- ##
2132 ## File substitutions. ##
2133 ## ------------------- ##"
2135 for ac_var in $ac_subst_files
2137 eval ac_val=\$$ac_var
2139 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2141 $as_echo "$ac_var='\''$ac_val'\''"
2146 if test -s confdefs.h; then
2147 $as_echo "## ----------- ##
2154 test "$ac_signal" != 0 &&
2155 $as_echo "$as_me: caught signal $ac_signal"
2156 $as_echo "$as_me: exit $exit_status"
2158 rm -f core *.core core.conftest.* &&
2159 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2162 for ac_signal in 1 2 13 15; do
2163 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2167 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2168 rm -f -r conftest* confdefs.h
2170 $as_echo "/* confdefs.h */" > confdefs.h
2172 # Predefined preprocessor variables.
2174 cat >>confdefs.h <<_ACEOF
2175 #define PACKAGE_NAME "$PACKAGE_NAME"
2178 cat >>confdefs.h <<_ACEOF
2179 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2182 cat >>confdefs.h <<_ACEOF
2183 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2186 cat >>confdefs.h <<_ACEOF
2187 #define PACKAGE_STRING "$PACKAGE_STRING"
2190 cat >>confdefs.h <<_ACEOF
2191 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2194 cat >>confdefs.h <<_ACEOF
2195 #define PACKAGE_URL "$PACKAGE_URL"
2199 # Let the site file select an alternate cache file if it wants to.
2200 # Prefer an explicitly selected file to automatically selected ones.
2203 if test -n "$CONFIG_SITE"; then
2204 # We do not want a PATH search for config.site.
2205 case $CONFIG_SITE in #((
2206 -*) ac_site_file1=./$CONFIG_SITE;;
2207 */*) ac_site_file1=$CONFIG_SITE;;
2208 *) ac_site_file1=./$CONFIG_SITE;;
2210 elif test "x$prefix" != xNONE; then
2211 ac_site_file1=$prefix/share/config.site
2212 ac_site_file2=$prefix/etc/config.site
2214 ac_site_file1=$ac_default_prefix/share/config.site
2215 ac_site_file2=$ac_default_prefix/etc/config.site
2217 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2219 test "x$ac_site_file" = xNONE && continue
2220 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2222 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2223 sed 's/^/| /' "$ac_site_file" >&5
2225 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2227 as_fn_error $? "failed to load site script $ac_site_file
2228 See \`config.log' for more details" "$LINENO" 5; }
2232 if test -r "$cache_file"; then
2233 # Some versions of bash will fail to source /dev/null (special files
2234 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2235 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2237 $as_echo "$as_me: loading cache $cache_file" >&6;}
2239 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2240 *) . "./$cache_file";;
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2245 $as_echo "$as_me: creating cache $cache_file" >&6;}
2249 # Check that the precious variables saved in the cache have kept the same
2251 ac_cache_corrupted=false
2252 for ac_var in $ac_precious_vars; do
2253 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2254 eval ac_new_set=\$ac_env_${ac_var}_set
2255 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2256 eval ac_new_val=\$ac_env_${ac_var}_value
2257 case $ac_old_set,$ac_new_set in
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2260 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2261 ac_cache_corrupted=: ;;
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2264 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2265 ac_cache_corrupted=: ;;
2268 if test "x$ac_old_val" != "x$ac_new_val"; then
2269 # differences in whitespace do not lead to failure.
2270 ac_old_val_w=`echo x $ac_old_val`
2271 ac_new_val_w=`echo x $ac_new_val`
2272 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2274 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2275 ac_cache_corrupted=:
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2278 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2279 eval $ac_var=\$ac_old_val
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2282 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2284 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2287 # Pass precious variables to config.status.
2288 if test "$ac_new_set" = set; then
2290 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2291 *) ac_arg=$ac_var=$ac_new_val ;;
2293 case " $ac_configure_args " in
2294 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2295 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2299 if $ac_cache_corrupted; then
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2303 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2304 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2306 ## -------------------- ##
2307 ## Main body of script. ##
2308 ## -------------------- ##
2311 ac_cpp='$CPP $CPPFLAGS'
2312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2321 for ac_dir in build "$srcdir"/build; do
2322 if test -f "$ac_dir/install-sh"; then
2324 ac_install_sh="$ac_aux_dir/install-sh -c"
2326 elif test -f "$ac_dir/install.sh"; then
2328 ac_install_sh="$ac_aux_dir/install.sh -c"
2330 elif test -f "$ac_dir/shtool"; then
2332 ac_install_sh="$ac_aux_dir/shtool install -c"
2336 if test -z "$ac_aux_dir"; then
2337 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2340 # These three variables are undocumented and unsupported,
2341 # and are intended to be withdrawn in a future Autoconf release.
2342 # They can cause serious problems if a builder's source tree is in a directory
2343 # whose full name contains unusual characters.
2344 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2345 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2346 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2350 ac_config_headers="$ac_config_headers config.h sigc++config.h"
2353 am__api_version='1.15'
2355 # Find a good install program. We prefer a C program (faster),
2356 # so one script is as good as another. But avoid the broken or
2357 # incompatible versions:
2358 # SysV /etc/install, /usr/sbin/install
2359 # SunOS /usr/etc/install
2360 # IRIX /sbin/install
2362 # AmigaOS /C/install, which installs bootblocks on floppy discs
2363 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2364 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2365 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2366 # OS/2's system install, which has a completely different semantic
2367 # ./install, which can be erroneously created by make from ./install.sh.
2368 # Reject install programs that cannot install multiple files.
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2370 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2371 if test -z "$INSTALL"; then
2372 if ${ac_cv_path_install+:} false; then :
2373 $as_echo_n "(cached) " >&6
2375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379 test -z "$as_dir" && as_dir=.
2380 # Account for people who put trailing slashes in PATH elements.
2381 case $as_dir/ in #((
2382 ./ | .// | /[cC]/* | \
2383 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2384 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2387 # OSF1 and SCO ODT 3.0 have their own names for install.
2388 # Don't use installbsd from OSF since it installs stuff as root
2390 for ac_prog in ginstall scoinst install; do
2391 for ac_exec_ext in '' $ac_executable_extensions; do
2392 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2393 if test $ac_prog = install &&
2394 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2395 # AIX install. It has an incompatible calling convention.
2397 elif test $ac_prog = install &&
2398 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2399 # program-specific install script used by HP pwplus--don't use.
2402 rm -rf conftest.one conftest.two conftest.dir
2403 echo one > conftest.one
2404 echo two > conftest.two
2406 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2407 test -s conftest.one && test -s conftest.two &&
2408 test -s conftest.dir/conftest.one &&
2409 test -s conftest.dir/conftest.two
2411 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2424 rm -rf conftest.one conftest.two conftest.dir
2427 if test "${ac_cv_path_install+set}" = set; then
2428 INSTALL=$ac_cv_path_install
2430 # As a last resort, use the slow shell script. Don't cache a
2431 # value for INSTALL within a source directory, because that will
2432 # break other packages using the cache if that directory is
2433 # removed, or if the value is a relative name.
2434 INSTALL=$ac_install_sh
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2438 $as_echo "$INSTALL" >&6; }
2440 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2441 # It thinks the first close brace ends the variable substitution.
2442 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2444 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2446 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2449 $as_echo_n "checking whether build environment is sane... " >&6; }
2450 # Reject unsafe characters in $srcdir or the absolute working directory
2451 # name. Accept space and tab only in the latter.
2455 *[\\\"\#\$\&\'\`$am_lf]*)
2456 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2459 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2460 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2463 # Do 'set' in a subshell so we don't clobber the current shell's
2464 # arguments. Must try -L first in case configure is actually a
2465 # symlink; some systems play weird games with the mod time of symlinks
2466 # (eg FreeBSD returns the mod time of the symlink's containing
2470 for am_try in 1 2; do
2471 echo "timestamp, slept: $am_has_slept" > conftest.file
2472 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2473 if test "$*" = "X"; then
2475 set X `ls -t "$srcdir/configure" conftest.file`
2477 if test "$*" != "X $srcdir/configure conftest.file" \
2478 && test "$*" != "X conftest.file $srcdir/configure"; then
2480 # If neither matched, then we have a broken ls. This can happen
2481 # if, for instance, CONFIG_SHELL is bash and it inherits a
2482 # broken ls alias from the environment. This has actually
2483 # happened. Such a system could not be considered "sane".
2484 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2485 alias in your environment" "$LINENO" 5
2487 if test "$2" = conftest.file || test $am_try -eq 2; then
2494 test "$2" = conftest.file
2500 as_fn_error $? "newly created file is older than distributed files!
2501 Check your system clock" "$LINENO" 5
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2504 $as_echo "yes" >&6; }
2505 # If we didn't sleep, we still need to ensure time stamps of config.status and
2506 # generated files are strictly newer.
2508 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2515 test "$program_prefix" != NONE &&
2516 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2517 # Use a double $ so make ignores it.
2518 test "$program_suffix" != NONE &&
2519 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2520 # Double any \ or $.
2521 # By default was `s,x,x', remove it if useless.
2522 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2523 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2525 # Expand $ac_aux_dir to an absolute path.
2526 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2528 if test x"${MISSING+set}" != xset; then
2531 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2533 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2536 # Use eval to expand $SHELL
2537 if eval "$MISSING --is-lightweight"; then
2538 am_missing_run="$MISSING "
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2542 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2545 if test x"${install_sh+set}" != xset; then
2548 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2550 install_sh="\${SHELL} $am_aux_dir/install-sh"
2554 # Installed binaries are usually stripped using 'strip' when the user
2555 # run "make install-strip". However 'strip' might not be the right
2556 # tool to use in cross-compilation environments, therefore Automake
2557 # will honor the 'STRIP' environment variable to overrule this program.
2558 if test "$cross_compiling" != no; then
2559 if test -n "$ac_tool_prefix"; then
2560 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2561 set dummy ${ac_tool_prefix}strip; ac_word=$2
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2563 $as_echo_n "checking for $ac_word... " >&6; }
2564 if ${ac_cv_prog_STRIP+:} false; then :
2565 $as_echo_n "(cached) " >&6
2567 if test -n "$STRIP"; then
2568 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 test -z "$as_dir" && as_dir=.
2575 for ac_exec_ext in '' $ac_executable_extensions; do
2576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2577 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 STRIP=$ac_cv_prog_STRIP
2588 if test -n "$STRIP"; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2590 $as_echo "$STRIP" >&6; }
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2593 $as_echo "no" >&6; }
2598 if test -z "$ac_cv_prog_STRIP"; then
2600 # Extract the first word of "strip", so it can be a program name with args.
2601 set dummy strip; ac_word=$2
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2603 $as_echo_n "checking for $ac_word... " >&6; }
2604 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2605 $as_echo_n "(cached) " >&6
2607 if test -n "$ac_ct_STRIP"; then
2608 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614 test -z "$as_dir" && as_dir=.
2615 for ac_exec_ext in '' $ac_executable_extensions; do
2616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2617 ac_cv_prog_ac_ct_STRIP="strip"
2618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2627 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2628 if test -n "$ac_ct_STRIP"; then
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2630 $as_echo "$ac_ct_STRIP" >&6; }
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2633 $as_echo "no" >&6; }
2636 if test "x$ac_ct_STRIP" = x; then
2639 case $cross_compiling:$ac_tool_warned in
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2643 ac_tool_warned=yes ;;
2648 STRIP="$ac_cv_prog_STRIP"
2652 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2655 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2656 if test -z "$MKDIR_P"; then
2657 if ${ac_cv_path_mkdir+:} false; then :
2658 $as_echo_n "(cached) " >&6
2660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2664 test -z "$as_dir" && as_dir=.
2665 for ac_prog in mkdir gmkdir; do
2666 for ac_exec_ext in '' $ac_executable_extensions; do
2667 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2668 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2669 'mkdir (GNU coreutils) '* | \
2670 'mkdir (coreutils) '* | \
2671 'mkdir (fileutils) '4.1*)
2672 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2682 test -d ./--version && rmdir ./--version
2683 if test "${ac_cv_path_mkdir+set}" = set; then
2684 MKDIR_P="$ac_cv_path_mkdir -p"
2686 # As a last resort, use the slow shell script. Don't cache a
2687 # value for MKDIR_P within a source directory, because that will
2688 # break other packages using the cache if that directory is
2689 # removed, or if the value is a relative name.
2690 MKDIR_P="$ac_install_sh -d"
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2694 $as_echo "$MKDIR_P" >&6; }
2696 for ac_prog in gawk mawk nawk awk
2698 # Extract the first word of "$ac_prog", so it can be a program name with args.
2699 set dummy $ac_prog; ac_word=$2
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2701 $as_echo_n "checking for $ac_word... " >&6; }
2702 if ${ac_cv_prog_AWK+:} false; then :
2703 $as_echo_n "(cached) " >&6
2705 if test -n "$AWK"; then
2706 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2712 test -z "$as_dir" && as_dir=.
2713 for ac_exec_ext in '' $ac_executable_extensions; do
2714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2715 ac_cv_prog_AWK="$ac_prog"
2716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2726 if test -n "$AWK"; then
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2728 $as_echo "$AWK" >&6; }
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2731 $as_echo "no" >&6; }
2735 test -n "$AWK" && break
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2739 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2741 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2742 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2743 $as_echo_n "(cached) " >&6
2745 cat >conftest.make <<\_ACEOF
2748 @echo '@@@%%%=$(MAKE)=@@@%%%'
2750 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2751 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2753 eval ac_cv_prog_make_${ac_make}_set=yes;;
2755 eval ac_cv_prog_make_${ac_make}_set=no;;
2759 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2761 $as_echo "yes" >&6; }
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765 $as_echo "no" >&6; }
2766 SET_MAKE="MAKE=${MAKE-make}"
2769 rm -rf .tst 2>/dev/null
2770 mkdir .tst 2>/dev/null
2771 if test -d .tst; then
2776 rmdir .tst 2>/dev/null
2778 # Check whether --enable-silent-rules was given.
2779 if test "${enable_silent_rules+set}" = set; then :
2780 enableval=$enable_silent_rules;
2783 case $enable_silent_rules in # (((
2784 yes) AM_DEFAULT_VERBOSITY=0;;
2785 no) AM_DEFAULT_VERBOSITY=1;;
2786 *) AM_DEFAULT_VERBOSITY=1;;
2788 am_make=${MAKE-make}
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2790 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2791 if ${am_cv_make_support_nested_variables+:} false; then :
2792 $as_echo_n "(cached) " >&6
2794 if $as_echo 'TRUE=$(BAR$(V))
2800 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2801 am_cv_make_support_nested_variables=yes
2803 am_cv_make_support_nested_variables=no
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2807 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2808 if test $am_cv_make_support_nested_variables = yes; then
2810 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2812 AM_V=$AM_DEFAULT_VERBOSITY
2813 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2817 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2818 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2819 # is not polluted with repeated "-I."
2820 am__isrc=' -I$(srcdir)'
2821 # test to see if srcdir already configured
2822 if test -f $srcdir/config.status; then
2823 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2827 # test whether we have cygpath
2828 if test -z "$CYGPATH_W"; then
2829 if (cygpath --version) >/dev/null 2>/dev/null; then
2830 CYGPATH_W='cygpath -w'
2837 # Define the identity of the package.
2842 # Some tools Automake needs.
2844 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2847 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2850 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2853 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2856 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2858 # For better backward compatibility. To be removed once Automake 1.9.x
2859 # dies out for good. For more background, see:
2860 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2861 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2862 mkdir_p='$(MKDIR_P)'
2864 # We need awk for the "check" target (and possibly the TAP driver). The
2865 # system "awk" is bad on some platforms.
2866 # Always define AMTAR for backward compatibility. Yes, it's still used
2867 # in the wild :-( We should find a proper way to deprecate it ...
2871 # We'll loop over all known methods to create a tar archive until one works.
2872 _am_tools='gnutar plaintar pax cpio none'
2874 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
2875 # There is notably a 21 bits limit for the UID and the GID. In fact,
2876 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2878 am_max_uid=2097151 # 2^21 - 1
2879 am_max_gid=$am_max_uid
2880 # The $UID and $GID variables are not portable, so we need to resort
2881 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
2882 # below are definitely unexpected, so allow the users to see them
2883 # (that is, avoid stderr redirection).
2884 am_uid=`id -u || echo unknown`
2885 am_gid=`id -g || echo unknown`
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2887 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2888 if test $am_uid -le $am_max_uid; then
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2890 $as_echo "yes" >&6; }
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2893 $as_echo "no" >&6; }
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2897 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2898 if test $am_gid -le $am_max_gid; then
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2900 $as_echo "yes" >&6; }
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2903 $as_echo "no" >&6; }
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2908 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2910 # Go ahead even if we have the value already cached. We do so because we
2911 # need to set the values for the 'am__tar' and 'am__untar' variables.
2912 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2914 for _am_tool in $_am_tools; do
2917 for _am_tar in tar gnutar gtar; do
2918 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2919 ($_am_tar --version) >&5 2>&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); } && break
2924 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2925 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2926 am__untar="$_am_tar -xf -"
2929 # Must skip GNU tar: if it does not support --format= it doesn't create
2930 # ustar tarball either.
2931 (tar --version) >/dev/null 2>&1 && continue
2932 am__tar='tar chf - "$$tardir"'
2933 am__tar_='tar chf - "$tardir"'
2934 am__untar='tar xf -'
2937 am__tar='pax -L -x ustar -w "$$tardir"'
2938 am__tar_='pax -L -x ustar -w "$tardir"'
2942 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2943 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2944 am__untar='cpio -i -H ustar -d'
2953 # If the value was cached, stop now. We just wanted to have am__tar
2954 # and am__untar set.
2955 test -n "${am_cv_prog_tar_ustar}" && break
2957 # tar/untar a dummy directory, and stop if the command works.
2960 echo GrepMe > conftest.dir/file
2961 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2962 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); }
2967 if test -s conftest.tar; then
2968 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2969 ($am__untar <conftest.tar) >&5 2>&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }
2973 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2974 (cat conftest.dir/file) >&5 2>&5
2976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977 (exit $ac_status); }
2978 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2983 if ${am_cv_prog_tar_ustar+:} false; then :
2984 $as_echo_n "(cached) " >&6
2986 am_cv_prog_tar_ustar=$_am_tool
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2990 $as_echo "$am_cv_prog_tar_ustar" >&6; }
2997 # POSIX will say in a future version that running "rm -f" with no argument
2998 # is OK; and we want to be able to make that assumption in our Makefile
2999 # recipes. So use an aggressive probe to check that the usage we want is
3000 # actually supported "in the wild" to an acceptable degree.
3001 # See automake bug#10828.
3002 # To make any issue more visible, cause the running configure to be aborted
3003 # by default if the 'rm' program in use doesn't match our expectations; the
3004 # user can still override this though.
3005 if rm -f && rm -fr && rm -rf; then : OK; else
3009 Your 'rm' program seems unable to run without file operands specified
3010 on the command line, even when the '-f' option is present. This is contrary
3011 to the behaviour of most rm programs out there, and not conforming with
3012 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3014 Please tell bug-automake@gnu.org about your system, including the value
3015 of your $PATH and any error possibly output before this message. This
3016 can help us improve future automake versions.
3019 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3020 echo 'Configuration will proceed anyway, since you have set the' >&2
3021 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3025 Aborting the configuration process, to ensure you take notice of the issue.
3027 You can download and install GNU coreutils to get an 'rm' implementation
3028 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3030 If you want to complete the configuration process using your problematic
3031 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3032 to "yes", and re-run configure.
3035 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3039 # Check whether --enable-silent-rules was given.
3040 if test "${enable_silent_rules+set}" = set; then :
3041 enableval=$enable_silent_rules;
3044 case $enable_silent_rules in # (((
3045 yes) AM_DEFAULT_VERBOSITY=0;;
3046 no) AM_DEFAULT_VERBOSITY=1;;
3047 *) AM_DEFAULT_VERBOSITY=1;;
3049 am_make=${MAKE-make}
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3051 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3052 if ${am_cv_make_support_nested_variables+:} false; then :
3053 $as_echo_n "(cached) " >&6
3055 if $as_echo 'TRUE=$(BAR$(V))
3061 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3062 am_cv_make_support_nested_variables=yes
3064 am_cv_make_support_nested_variables=no
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3068 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3069 if test $am_cv_make_support_nested_variables = yes; then
3071 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3073 AM_V=$AM_DEFAULT_VERBOSITY
3074 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3080 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3081 # Check whether --enable-maintainer-mode was given.
3082 if test "${enable_maintainer_mode+set}" = set; then :
3083 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3085 USE_MAINTAINER_MODE=no
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3089 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3090 if test $USE_MAINTAINER_MODE = yes; then
3091 MAINTAINER_MODE_TRUE=
3092 MAINTAINER_MODE_FALSE='#'
3094 MAINTAINER_MODE_TRUE='#'
3095 MAINTAINER_MODE_FALSE=
3098 MAINT=$MAINTAINER_MODE_TRUE
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports GNU make features" >&5
3106 $as_echo_n "checking whether ${MAKE-make} supports GNU make features... " >&6; }
3107 cat >conftest.make <<'_MMEOF'
3108 override reverse = $(2)$(subst ,, )$(1)
3109 override result := $(word 2,$(call reverse,success,failure))
3110 all: ; test '$(result)' = success
3113 if ${MAKE-make} -f conftest.make >&5 2>&5; then :
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_gnu_make" >&5
3120 $as_echo "$mm_gnu_make" >&6; }
3121 if test "x$mm_gnu_make" != xyes; then :
3122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3124 as_fn_error $? "The GNU make program is required to build $PACKAGE_NAME.
3125 See \`config.log' for more details" "$LINENO" 5; }
3128 SIGCXX_MODULE_NAME='sigc++-3.0'
3130 SIGCXX_VERSION='2.99.2'
3132 SIGCXX_API_VERSION='3.0'
3134 SIGCXX_MAJOR_VERSION=2
3137 $as_echo "#define SIGCXX_MAJOR_VERSION 2" >>confdefs.h
3139 SIGCXX_MINOR_VERSION=99
3142 $as_echo "#define SIGCXX_MINOR_VERSION 99" >>confdefs.h
3144 SIGCXX_MICRO_VERSION=2
3147 $as_echo "#define SIGCXX_MICRO_VERSION 2" >>confdefs.h
3150 MMDOCTOOLDIR='${top_srcdir}/docs'
3151 if test 'xdocs' != 'x'; then
3153 DIST_DOCTOOLS_FALSE='#'
3155 DIST_DOCTOOLS_TRUE='#'
3156 DIST_DOCTOOLS_FALSE=
3161 ac_cpp='$CXXCPP $CPPFLAGS'
3162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3165 if test -z "$CXX"; then
3166 if test -n "$CCC"; then
3169 if test -n "$ac_tool_prefix"; then
3170 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3172 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3173 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3175 $as_echo_n "checking for $ac_word... " >&6; }
3176 if ${ac_cv_prog_CXX+:} false; then :
3177 $as_echo_n "(cached) " >&6
3179 if test -n "$CXX"; then
3180 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186 test -z "$as_dir" && as_dir=.
3187 for ac_exec_ext in '' $ac_executable_extensions; do
3188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3189 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3200 if test -n "$CXX"; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3202 $as_echo "$CXX" >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 $as_echo "no" >&6; }
3209 test -n "$CXX" && break
3212 if test -z "$CXX"; then
3214 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3216 # Extract the first word of "$ac_prog", so it can be a program name with args.
3217 set dummy $ac_prog; ac_word=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3221 $as_echo_n "(cached) " >&6
3223 if test -n "$ac_ct_CXX"; then
3224 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3230 test -z "$as_dir" && as_dir=.
3231 for ac_exec_ext in '' $ac_executable_extensions; do
3232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3233 ac_cv_prog_ac_ct_CXX="$ac_prog"
3234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3243 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3244 if test -n "$ac_ct_CXX"; then
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3246 $as_echo "$ac_ct_CXX" >&6; }
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3253 test -n "$ac_ct_CXX" && break
3256 if test "x$ac_ct_CXX" = x; then
3259 case $cross_compiling:$ac_tool_warned in
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3263 ac_tool_warned=yes ;;
3271 # Provide some information about the compiler.
3272 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3275 for ac_option in --version -v -V -qversion; do
3276 { { ac_try="$ac_compiler $ac_option >&5"
3278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279 *) ac_try_echo=$ac_try;;
3281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3282 $as_echo "$ac_try_echo"; } >&5
3283 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3285 if test -s conftest.err; then
3287 ... rest of stderr output deleted ...
3288 10q' conftest.err >conftest.er1
3289 cat conftest.er1 >&5
3291 rm -f conftest.er1 conftest.err
3292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3293 test $ac_status = 0; }
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3307 ac_clean_files_save=$ac_clean_files
3308 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3309 # Try to create an executable without -o first, disregard a.out.
3310 # It will help us diagnose broken compilers, and finding out an intuition
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3313 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3314 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3316 # The possible output files:
3317 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3320 for ac_file in $ac_files
3323 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3324 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3329 if { { ac_try="$ac_link_default"
3331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332 *) ac_try_echo=$ac_try;;
3334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3335 $as_echo "$ac_try_echo"; } >&5
3336 (eval "$ac_link_default") 2>&5
3338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3339 test $ac_status = 0; }; then :
3340 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3341 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3342 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3343 # so that the user can short-circuit this test for compilers unknown to
3345 for ac_file in $ac_files ''
3347 test -f "$ac_file" || continue
3349 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3352 # We found the default executable, but exeext='' is most
3356 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3358 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3360 # We set ac_cv_exeext here because the later test for it is not
3361 # safe: cross compilers may not add the suffix if given an `-o'
3362 # argument, so we may need to know it at that point already.
3363 # Even if this section looks crufty: it has the advantage of
3370 test "$ac_cv_exeext" = no && ac_cv_exeext=
3375 if test -z "$ac_file"; then :
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377 $as_echo "no" >&6; }
3378 $as_echo "$as_me: failed program was:" >&5
3379 sed 's/^/| /' conftest.$ac_ext >&5
3381 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3383 as_fn_error 77 "C++ compiler cannot create executables
3384 See \`config.log' for more details" "$LINENO" 5; }
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3387 $as_echo "yes" >&6; }
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3390 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3392 $as_echo "$ac_file" >&6; }
3393 ac_exeext=$ac_cv_exeext
3395 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3396 ac_clean_files=$ac_clean_files_save
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3398 $as_echo_n "checking for suffix of executables... " >&6; }
3399 if { { ac_try="$ac_link"
3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402 *) ac_try_echo=$ac_try;;
3404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3405 $as_echo "$ac_try_echo"; } >&5
3406 (eval "$ac_link") 2>&5
3408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3409 test $ac_status = 0; }; then :
3410 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3411 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3412 # work properly (i.e., refer to `conftest.exe'), while it won't with
3414 for ac_file in conftest.exe conftest conftest.*; do
3415 test -f "$ac_file" || continue
3417 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3418 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3426 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3427 See \`config.log' for more details" "$LINENO" 5; }
3429 rm -f conftest conftest$ac_cv_exeext
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3431 $as_echo "$ac_cv_exeext" >&6; }
3433 rm -f conftest.$ac_ext
3434 EXEEXT=$ac_cv_exeext
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3442 FILE *f = fopen ("conftest.out", "w");
3443 return ferror (f) || fclose (f) != 0;
3449 ac_clean_files="$ac_clean_files conftest.out"
3450 # Check that the compiler produces executables we can run. If not, either
3451 # the compiler is broken, or we cross compile.
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3453 $as_echo_n "checking whether we are cross compiling... " >&6; }
3454 if test "$cross_compiling" != yes; then
3455 { { ac_try="$ac_link"
3457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458 *) ac_try_echo=$ac_try;;
3460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3461 $as_echo "$ac_try_echo"; } >&5
3462 (eval "$ac_link") 2>&5
3464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3465 test $ac_status = 0; }
3466 if { ac_try='./conftest$ac_cv_exeext'
3467 { { case "(($ac_try" in
3468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3469 *) ac_try_echo=$ac_try;;
3471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3472 $as_echo "$ac_try_echo"; } >&5
3473 (eval "$ac_try") 2>&5
3475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3476 test $ac_status = 0; }; }; then
3479 if test "$cross_compiling" = maybe; then
3482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3484 as_fn_error $? "cannot run C++ compiled programs.
3485 If you meant to cross compile, use \`--host'.
3486 See \`config.log' for more details" "$LINENO" 5; }
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3491 $as_echo "$cross_compiling" >&6; }
3493 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3494 ac_clean_files=$ac_clean_files_save
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3496 $as_echo_n "checking for suffix of object files... " >&6; }
3497 if ${ac_cv_objext+:} false; then :
3498 $as_echo_n "(cached) " >&6
3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501 /* end confdefs.h. */
3511 rm -f conftest.o conftest.obj
3512 if { { ac_try="$ac_compile"
3514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3515 *) ac_try_echo=$ac_try;;
3517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3518 $as_echo "$ac_try_echo"; } >&5
3519 (eval "$ac_compile") 2>&5
3521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3522 test $ac_status = 0; }; then :
3523 for ac_file in conftest.o conftest.obj conftest.*; do
3524 test -f "$ac_file" || continue;
3526 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3527 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3532 $as_echo "$as_me: failed program was:" >&5
3533 sed 's/^/| /' conftest.$ac_ext >&5
3535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3537 as_fn_error $? "cannot compute suffix of object files: cannot compile
3538 See \`config.log' for more details" "$LINENO" 5; }
3540 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3543 $as_echo "$ac_cv_objext" >&6; }
3544 OBJEXT=$ac_cv_objext
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3547 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3548 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3549 $as_echo_n "(cached) " >&6
3551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3552 /* end confdefs.h. */
3565 if ac_fn_cxx_try_compile "$LINENO"; then :
3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3575 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3576 if test $ac_compiler_gnu = yes; then
3581 ac_test_CXXFLAGS=${CXXFLAGS+set}
3582 ac_save_CXXFLAGS=$CXXFLAGS
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3584 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3585 if ${ac_cv_prog_cxx_g+:} false; then :
3586 $as_echo_n "(cached) " >&6
3588 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3589 ac_cxx_werror_flag=yes
3592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h. */
3603 if ac_fn_cxx_try_compile "$LINENO"; then :
3604 ac_cv_prog_cxx_g=yes
3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3608 /* end confdefs.h. */
3618 if ac_fn_cxx_try_compile "$LINENO"; then :
3621 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h. */
3634 if ac_fn_cxx_try_compile "$LINENO"; then :
3635 ac_cv_prog_cxx_g=yes
3637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3642 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3645 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3646 if test "$ac_test_CXXFLAGS" = set; then
3647 CXXFLAGS=$ac_save_CXXFLAGS
3648 elif test $ac_cv_prog_cxx_g = yes; then
3649 if test "$GXX" = yes; then
3655 if test "$GXX" = yes; then
3662 ac_cpp='$CPP $CPPFLAGS'
3663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3666 DEPDIR="${am__leading_dot}deps"
3668 ac_config_commands="$ac_config_commands depfiles"
3671 am_make=${MAKE-make}
3672 cat > confinc << 'END'
3674 @echo this is the am__doit target
3677 # If we don't find an include directive, just comment out the code.
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3679 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3683 # First try GNU make style include.
3684 echo "include confinc" > confmf
3685 # Ignore all kinds of additional output from 'make'.
3686 case `$am_make -s -f confmf 2> /dev/null` in #(
3687 *the\ am__doit\ target*)
3693 # Now try BSD make style include.
3694 if test "$am__include" = "#"; then
3695 echo '.include "confinc"' > confmf
3696 case `$am_make -s -f confmf 2> /dev/null` in #(
3697 *the\ am__doit\ target*)
3698 am__include=.include
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3707 $as_echo "$_am_result" >&6; }
3708 rm -f confinc confmf
3710 # Check whether --enable-dependency-tracking was given.
3711 if test "${enable_dependency_tracking+set}" = set; then :
3712 enableval=$enable_dependency_tracking;
3715 if test "x$enable_dependency_tracking" != xno; then
3716 am_depcomp="$ac_aux_dir/depcomp"
3720 if test "x$enable_dependency_tracking" != xno; then
3730 depcc="$CXX" am_compiler_list=
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3733 $as_echo_n "checking dependency style of $depcc... " >&6; }
3734 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3735 $as_echo_n "(cached) " >&6
3737 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3738 # We make a subdir and do the tests there. Otherwise we can end up
3739 # making bogus files that we don't know about and never remove. For
3740 # instance it was reported that on HP-UX the gcc test will end up
3741 # making a dummy file named 'D' -- because '-MD' means "put the output
3745 # Copy depcomp to subdir because otherwise we won't find it if we're
3746 # using a relative directory.
3747 cp "$am_depcomp" conftest.dir
3749 # We will build objects and dependencies in a subdirectory because
3750 # it helps to detect inapplicable dependency modes. For instance
3751 # both Tru64's cc and ICC support -MD to output dependencies as a
3752 # side effect of compilation, but ICC will put the dependencies in
3753 # the current directory while Tru64 will put them in the object
3757 am_cv_CXX_dependencies_compiler_type=none
3758 if test "$am_compiler_list" = ""; then
3759 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3762 case " $depcc " in #(
3763 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3766 for depmode in $am_compiler_list; do
3767 # Setup a source with many dependencies, because some compilers
3768 # like to wrap large dependency lists on column 80 (with \), and
3769 # we should not choose a depcomp mode which is confused by this.
3771 # We need to recreate these files for each test, as the compiler may
3772 # overwrite some of them when testing with obscure command lines.
3773 # This happens at least with the AIX C compiler.
3775 for i in 1 2 3 4 5 6; do
3776 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3777 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3778 # Solaris 10 /bin/sh.
3779 echo '/* dummy */' > sub/conftst$i.h
3781 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3783 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3784 # mode. It turns out that the SunPro C++ compiler does not properly
3785 # handle '-M -o', and we need to detect this. Also, some Intel
3786 # versions had trouble with output in subdirs.
3787 am__obj=sub/conftest.${OBJEXT-o}
3788 am__minus_obj="-o $am__obj"
3791 # This depmode causes a compiler race in universal mode.
3792 test "$am__universal" = false || continue
3795 # After this tag, mechanisms are not by side-effect, so they'll
3796 # only be used when explicitly requested.
3797 if test "x$enable_dependency_tracking" = xyes; then
3803 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3804 # This compiler won't grok '-c -o', but also, the minuso test has
3805 # not run yet. These depmodes are late enough in the game, and
3806 # so weak that their functioning should not be impacted.
3807 am__obj=conftest.${OBJEXT-o}
3812 if depmode=$depmode \
3813 source=sub/conftest.c object=$am__obj \
3814 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3815 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3816 >/dev/null 2>conftest.err &&
3817 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3818 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3819 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3820 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3821 # icc doesn't choke on unknown options, it will just issue warnings
3822 # or remarks (even with -Werror). So we grep stderr for any message
3823 # that says an option was ignored or not supported.
3824 # When given -MP, icc 7.0 and 7.1 complain thusly:
3825 # icc: Command line warning: ignoring option '-M'; no argument required
3826 # The diagnosis changed in icc 8.0:
3827 # icc: Command line remark: option '-MP' not supported
3828 if (grep 'ignoring option' conftest.err ||
3829 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3830 am_cv_CXX_dependencies_compiler_type=$depmode
3839 am_cv_CXX_dependencies_compiler_type=none
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3844 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3845 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3848 test "x$enable_dependency_tracking" != xno \
3849 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3850 am__fastdepCXX_TRUE=
3851 am__fastdepCXX_FALSE='#'
3853 am__fastdepCXX_TRUE='#'
3854 am__fastdepCXX_FALSE=
3859 ax_cxx_compile_cxx14_required=true
3861 ac_cpp='$CXXCPP $CPPFLAGS'
3862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features by default" >&5
3867 $as_echo_n "checking whether $CXX supports C++14 features by default... " >&6; }
3868 if ${ax_cv_cxx_compile_cxx14+:} false; then :
3869 $as_echo_n "(cached) " >&6
3871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3872 /* end confdefs.h. */
3875 // If the compiler admits that it is not ready for C++11, why torture it?
3876 // Hopefully, this will speed up the test.
3880 #error "This is not a C++ compiler"
3882 #elif __cplusplus < 201103L
3884 #error "This is not a C++11 compiler"
3891 namespace test_static_assert
3894 template <typename T>
3897 static_assert(sizeof(int) <= sizeof(T), "not big enough");
3902 namespace test_final_override
3910 struct Derived : public Base
3912 virtual void f() override {}
3917 namespace test_double_right_angle_brackets
3920 template < typename T >
3923 typedef check<void> single_type;
3924 typedef check<check<void>> double_type;
3925 typedef check<check<check<void>>> triple_type;
3926 typedef check<check<check<check<void>>>> quadruple_type;
3930 namespace test_decltype
3943 namespace test_type_deduction
3946 template < typename T1, typename T2 >
3949 static const bool value = false;
3952 template < typename T >
3953 struct is_same<T, T>
3955 static const bool value = true;
3958 template < typename T1, typename T2 >
3960 add(T1 a1, T2 a2) -> decltype(a1 + a2)
3966 test(const int c, volatile int v)
3968 static_assert(is_same<int, decltype(0)>::value == true, "");
3969 static_assert(is_same<int, decltype(c)>::value == false, "");
3970 static_assert(is_same<int, decltype(v)>::value == false, "");
3973 auto sumi = ac + av + 'x';
3974 auto sumf = ac + av + 1.0;
3975 static_assert(is_same<int, decltype(ac)>::value == true, "");
3976 static_assert(is_same<int, decltype(av)>::value == true, "");
3977 static_assert(is_same<int, decltype(sumi)>::value == true, "");
3978 static_assert(is_same<int, decltype(sumf)>::value == false, "");
3979 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
3980 return (sumf > 0.0) ? sumi : add(c, v);
3985 namespace test_noexcept
3988 int f() { return 0; }
3989 int g() noexcept { return 0; }
3991 static_assert(noexcept(f()) == false, "");
3992 static_assert(noexcept(g()) == true, "");
3996 namespace test_constexpr
3999 template < typename CharT >
4000 unsigned long constexpr
4001 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
4003 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
4006 template < typename CharT >
4007 unsigned long constexpr
4008 strlen_c(const CharT *const s) noexcept
4010 return strlen_c_r(s, 0UL);
4013 static_assert(strlen_c("") == 0UL, "");
4014 static_assert(strlen_c("1") == 1UL, "");
4015 static_assert(strlen_c("example") == 7UL, "");
4016 static_assert(strlen_c("another\0example") == 7UL, "");
4020 namespace test_rvalue_references
4026 static constexpr int value = N;
4029 answer<1> f(int&) { return answer<1>(); }
4030 answer<2> f(const int&) { return answer<2>(); }
4031 answer<3> f(int&&) { return answer<3>(); }
4038 static_assert(decltype(f(i))::value == 1, "");
4039 static_assert(decltype(f(c))::value == 2, "");
4040 static_assert(decltype(f(0))::value == 3, "");
4045 namespace test_uniform_initialization
4050 static const int zero {};
4051 static const int one {1};
4054 static_assert(test::zero == 0, "");
4055 static_assert(test::one == 1, "");
4059 namespace test_lambdas
4065 auto lambda1 = [](){};
4066 auto lambda2 = lambda1;
4074 auto a = [](int i, int j){ return i + j; }(1, 2);
4075 auto b = []() -> int { return '0'; }();
4076 auto c = [=](){ return a + b; }();
4077 auto d = [&](){ return c; }();
4078 auto e = [a, &b](int x) mutable {
4079 const auto identity = [](int y){ return y; };
4080 for (auto i = 0; i < a; ++i)
4082 return x + identity(a + b);
4084 return a + b + c + d + e;
4090 const auto nullary = [](){ return 0; };
4091 const auto unary = [](int x){ return x; };
4092 using nullary_t = decltype(nullary);
4093 using unary_t = decltype(unary);
4094 const auto higher1st = [](nullary_t f){ return f(); };
4095 const auto higher2nd = [unary](nullary_t f1){
4096 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
4098 return higher1st(nullary) + higher2nd(nullary)(unary);
4103 namespace test_variadic_templates
4109 template <int N0, int... N1toN>
4110 struct sum<N0, N1toN...>
4112 static constexpr auto value = N0 + sum<N1toN...>::value;
4118 static constexpr auto value = 0;
4121 static_assert(sum<>::value == 0, "");
4122 static_assert(sum<1>::value == 1, "");
4123 static_assert(sum<23>::value == 23, "");
4124 static_assert(sum<1, 2>::value == 3, "");
4125 static_assert(sum<5, 5, 11>::value == 21, "");
4126 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
4130 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
4131 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
4133 namespace test_template_alias_sfinae
4138 template<typename T>
4139 using member = typename T::member_type;
4141 template<typename T>
4144 template<typename T>
4145 void func(member<T>*) {}
4149 void test() { func<foo>(0); }
4153 } // namespace cxx11
4155 #endif // __cplusplus >= 201103L
4160 // If the compiler admits that it is not ready for C++14, why torture it?
4161 // Hopefully, this will speed up the test.
4165 #error "This is not a C++ compiler"
4167 #elif __cplusplus < 201402L
4169 #error "This is not a C++14 compiler"
4176 namespace test_polymorphic_lambdas
4182 const auto lambda = [](auto&&... args){
4183 const auto istiny = [](auto x){
4184 return (sizeof(x) == 1UL) ? 1 : 0;
4186 const int aretiny[] = { istiny(args)... };
4189 return lambda(1, 1L, 1.0f, '1');
4194 namespace test_binary_literals
4197 constexpr auto ivii = 0b0000000000101010;
4198 static_assert(ivii == 42, "wrong value");
4202 namespace test_generalized_constexpr
4205 template < typename CharT >
4206 constexpr unsigned long
4207 strlen_c(const CharT *const s) noexcept
4210 for (auto p = s; *p; ++p)
4215 static_assert(strlen_c("") == 0UL, "");
4216 static_assert(strlen_c("x") == 1UL, "");
4217 static_assert(strlen_c("test") == 4UL, "");
4218 static_assert(strlen_c("another\0test") == 7UL, "");
4222 namespace test_lambda_init_capture
4229 const auto lambda1 = [a = x](int b){ return a + b; };
4230 const auto lambda2 = [a = lambda1(x)](){ return a; };
4236 namespace test_digit_seperators
4239 constexpr auto ten_million = 100'000'000;
4240 static_assert(ten_million == 100000000, "");
4244 namespace test_return_type_deduction
4247 auto f(int& x) { return x; }
4248 decltype(auto) g(int& x) { return x; }
4250 template < typename T1, typename T2 >
4253 static constexpr auto value = false;
4256 template < typename T >
4257 struct is_same<T, T>
4259 static constexpr auto value = true;
4266 static_assert(is_same<int, decltype(f(x))>::value, "");
4267 static_assert(is_same<int&, decltype(g(x))>::value, "");
4273 } // namespace cxx14
4275 #endif // __cplusplus >= 201402L
4280 if ac_fn_cxx_try_compile "$LINENO"; then :
4281 ax_cv_cxx_compile_cxx14=yes
4283 ax_cv_cxx_compile_cxx14=no
4285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx14" >&5
4288 $as_echo "$ax_cv_cxx_compile_cxx14" >&6; }
4289 if test x$ax_cv_cxx_compile_cxx14 = xyes; then
4295 if test x$ac_success = xno; then
4296 for switch in -std=c++14 -std=c++0x +std=c++14 "-h std=c++14"; do
4297 cachevar=`$as_echo "ax_cv_cxx_compile_cxx14_$switch" | $as_tr_sh`
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features with $switch" >&5
4299 $as_echo_n "checking whether $CXX supports C++14 features with $switch... " >&6; }
4300 if eval \${$cachevar+:} false; then :
4301 $as_echo_n "(cached) " >&6
4303 ac_save_CXXFLAGS="$CXXFLAGS"
4304 CXXFLAGS="$CXXFLAGS $switch"
4305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4309 // If the compiler admits that it is not ready for C++11, why torture it?
4310 // Hopefully, this will speed up the test.
4314 #error "This is not a C++ compiler"
4316 #elif __cplusplus < 201103L
4318 #error "This is not a C++11 compiler"
4325 namespace test_static_assert
4328 template <typename T>
4331 static_assert(sizeof(int) <= sizeof(T), "not big enough");
4336 namespace test_final_override
4344 struct Derived : public Base
4346 virtual void f() override {}
4351 namespace test_double_right_angle_brackets
4354 template < typename T >
4357 typedef check<void> single_type;
4358 typedef check<check<void>> double_type;
4359 typedef check<check<check<void>>> triple_type;
4360 typedef check<check<check<check<void>>>> quadruple_type;
4364 namespace test_decltype
4377 namespace test_type_deduction
4380 template < typename T1, typename T2 >
4383 static const bool value = false;
4386 template < typename T >
4387 struct is_same<T, T>
4389 static const bool value = true;
4392 template < typename T1, typename T2 >
4394 add(T1 a1, T2 a2) -> decltype(a1 + a2)
4400 test(const int c, volatile int v)
4402 static_assert(is_same<int, decltype(0)>::value == true, "");
4403 static_assert(is_same<int, decltype(c)>::value == false, "");
4404 static_assert(is_same<int, decltype(v)>::value == false, "");
4407 auto sumi = ac + av + 'x';
4408 auto sumf = ac + av + 1.0;
4409 static_assert(is_same<int, decltype(ac)>::value == true, "");
4410 static_assert(is_same<int, decltype(av)>::value == true, "");
4411 static_assert(is_same<int, decltype(sumi)>::value == true, "");
4412 static_assert(is_same<int, decltype(sumf)>::value == false, "");
4413 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
4414 return (sumf > 0.0) ? sumi : add(c, v);
4419 namespace test_noexcept
4422 int f() { return 0; }
4423 int g() noexcept { return 0; }
4425 static_assert(noexcept(f()) == false, "");
4426 static_assert(noexcept(g()) == true, "");
4430 namespace test_constexpr
4433 template < typename CharT >
4434 unsigned long constexpr
4435 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
4437 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
4440 template < typename CharT >
4441 unsigned long constexpr
4442 strlen_c(const CharT *const s) noexcept
4444 return strlen_c_r(s, 0UL);
4447 static_assert(strlen_c("") == 0UL, "");
4448 static_assert(strlen_c("1") == 1UL, "");
4449 static_assert(strlen_c("example") == 7UL, "");
4450 static_assert(strlen_c("another\0example") == 7UL, "");
4454 namespace test_rvalue_references
4460 static constexpr int value = N;
4463 answer<1> f(int&) { return answer<1>(); }
4464 answer<2> f(const int&) { return answer<2>(); }
4465 answer<3> f(int&&) { return answer<3>(); }
4472 static_assert(decltype(f(i))::value == 1, "");
4473 static_assert(decltype(f(c))::value == 2, "");
4474 static_assert(decltype(f(0))::value == 3, "");
4479 namespace test_uniform_initialization
4484 static const int zero {};
4485 static const int one {1};
4488 static_assert(test::zero == 0, "");
4489 static_assert(test::one == 1, "");
4493 namespace test_lambdas
4499 auto lambda1 = [](){};
4500 auto lambda2 = lambda1;
4508 auto a = [](int i, int j){ return i + j; }(1, 2);
4509 auto b = []() -> int { return '0'; }();
4510 auto c = [=](){ return a + b; }();
4511 auto d = [&](){ return c; }();
4512 auto e = [a, &b](int x) mutable {
4513 const auto identity = [](int y){ return y; };
4514 for (auto i = 0; i < a; ++i)
4516 return x + identity(a + b);
4518 return a + b + c + d + e;
4524 const auto nullary = [](){ return 0; };
4525 const auto unary = [](int x){ return x; };
4526 using nullary_t = decltype(nullary);
4527 using unary_t = decltype(unary);
4528 const auto higher1st = [](nullary_t f){ return f(); };
4529 const auto higher2nd = [unary](nullary_t f1){
4530 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
4532 return higher1st(nullary) + higher2nd(nullary)(unary);
4537 namespace test_variadic_templates
4543 template <int N0, int... N1toN>
4544 struct sum<N0, N1toN...>
4546 static constexpr auto value = N0 + sum<N1toN...>::value;
4552 static constexpr auto value = 0;
4555 static_assert(sum<>::value == 0, "");
4556 static_assert(sum<1>::value == 1, "");
4557 static_assert(sum<23>::value == 23, "");
4558 static_assert(sum<1, 2>::value == 3, "");
4559 static_assert(sum<5, 5, 11>::value == 21, "");
4560 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
4564 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
4565 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
4567 namespace test_template_alias_sfinae
4572 template<typename T>
4573 using member = typename T::member_type;
4575 template<typename T>
4578 template<typename T>
4579 void func(member<T>*) {}
4583 void test() { func<foo>(0); }
4587 } // namespace cxx11
4589 #endif // __cplusplus >= 201103L
4594 // If the compiler admits that it is not ready for C++14, why torture it?
4595 // Hopefully, this will speed up the test.
4599 #error "This is not a C++ compiler"
4601 #elif __cplusplus < 201402L
4603 #error "This is not a C++14 compiler"
4610 namespace test_polymorphic_lambdas
4616 const auto lambda = [](auto&&... args){
4617 const auto istiny = [](auto x){
4618 return (sizeof(x) == 1UL) ? 1 : 0;
4620 const int aretiny[] = { istiny(args)... };
4623 return lambda(1, 1L, 1.0f, '1');
4628 namespace test_binary_literals
4631 constexpr auto ivii = 0b0000000000101010;
4632 static_assert(ivii == 42, "wrong value");
4636 namespace test_generalized_constexpr
4639 template < typename CharT >
4640 constexpr unsigned long
4641 strlen_c(const CharT *const s) noexcept
4644 for (auto p = s; *p; ++p)
4649 static_assert(strlen_c("") == 0UL, "");
4650 static_assert(strlen_c("x") == 1UL, "");
4651 static_assert(strlen_c("test") == 4UL, "");
4652 static_assert(strlen_c("another\0test") == 7UL, "");
4656 namespace test_lambda_init_capture
4663 const auto lambda1 = [a = x](int b){ return a + b; };
4664 const auto lambda2 = [a = lambda1(x)](){ return a; };
4670 namespace test_digit_seperators
4673 constexpr auto ten_million = 100'000'000;
4674 static_assert(ten_million == 100000000, "");
4678 namespace test_return_type_deduction
4681 auto f(int& x) { return x; }
4682 decltype(auto) g(int& x) { return x; }
4684 template < typename T1, typename T2 >
4687 static constexpr auto value = false;
4690 template < typename T >
4691 struct is_same<T, T>
4693 static constexpr auto value = true;
4700 static_assert(is_same<int, decltype(f(x))>::value, "");
4701 static_assert(is_same<int&, decltype(g(x))>::value, "");
4707 } // namespace cxx14
4709 #endif // __cplusplus >= 201402L
4714 if ac_fn_cxx_try_compile "$LINENO"; then :
4719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4720 CXXFLAGS="$ac_save_CXXFLAGS"
4722 eval ac_res=\$$cachevar
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4724 $as_echo "$ac_res" >&6; }
4725 if eval test x\$$cachevar = xyes; then
4726 CXXFLAGS="$CXXFLAGS $switch"
4733 ac_cpp='$CPP $CPPFLAGS'
4734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4738 if test x$ax_cxx_compile_cxx14_required = xtrue; then
4739 if test x$ac_success = xno; then
4740 as_fn_error $? "*** A compiler with support for C++14 language features is required." "$LINENO" 5
4743 if test x$ac_success = xno; then
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++14 support was found" >&5
4746 $as_echo "$as_me: No compiler with C++14 support was found" >&6;}
4750 $as_echo "#define HAVE_CXX14 1" >>confdefs.h
4758 # Check whether --enable-static was given.
4759 if test "${enable_static+set}" = set; then :
4760 enableval=$enable_static; p=${PACKAGE-default}
4762 yes) enable_static=yes ;;
4763 no) enable_static=no ;;
4766 # Look at the argument we got. We use all the common list separators.
4767 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4768 for pkg in $enableval; do
4770 if test "X$pkg" = "X$p"; then
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4792 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4797 macro_version='2.4.2'
4798 macro_revision='1.3337'
4812 ltmain="$ac_aux_dir/ltmain.sh"
4814 # Make sure we can run config.sub.
4815 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4816 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4819 $as_echo_n "checking build system type... " >&6; }
4820 if ${ac_cv_build+:} false; then :
4821 $as_echo_n "(cached) " >&6
4823 ac_build_alias=$build_alias
4824 test "x$ac_build_alias" = x &&
4825 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4826 test "x$ac_build_alias" = x &&
4827 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4828 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4829 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4833 $as_echo "$ac_cv_build" >&6; }
4834 case $ac_cv_build in
4836 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4839 ac_save_IFS=$IFS; IFS='-'
4845 # Remember, the first character of IFS is used to create $*,
4846 # except with old shells:
4849 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4853 $as_echo_n "checking host system type... " >&6; }
4854 if ${ac_cv_host+:} false; then :
4855 $as_echo_n "(cached) " >&6
4857 if test "x$host_alias" = x; then
4858 ac_cv_host=$ac_cv_build
4860 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4861 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4866 $as_echo "$ac_cv_host" >&6; }
4869 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4872 ac_save_IFS=$IFS; IFS='-'
4878 # Remember, the first character of IFS is used to create $*,
4879 # except with old shells:
4882 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4885 # Backslashify metacharacters that are still active within
4886 # double-quoted strings.
4887 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4889 # Same as above, but do not quote variable references.
4890 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4892 # Sed substitution to delay expansion of an escaped shell variable in a
4893 # double_quote_subst'ed string.
4894 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4896 # Sed substitution to delay expansion of an escaped single quote.
4897 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4899 # Sed substitution to avoid accidental globbing in evaled expressions
4900 no_glob_subst='s/\*/\\\*/g'
4902 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4903 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4904 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4907 $as_echo_n "checking how to print strings... " >&6; }
4908 # Test print first, because it will be a builtin if present.
4909 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4910 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4912 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4915 # Use this function as a fallback that always works.
4916 func_fallback_echo ()
4918 eval 'cat <<_LTECHO_EOF
4922 ECHO='func_fallback_echo'
4925 # func_echo_all arg...
4926 # Invoke $ECHO with all args, space-separated.
4933 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4934 $as_echo "printf" >&6; } ;;
4935 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4936 $as_echo "print -r" >&6; } ;;
4937 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4938 $as_echo "cat" >&6; } ;;
4955 ac_cpp='$CPP $CPPFLAGS'
4956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4959 if test -n "$ac_tool_prefix"; then
4960 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4961 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if ${ac_cv_prog_CC+:} false; then :
4965 $as_echo_n "(cached) " >&6
4967 if test -n "$CC"; then
4968 ac_cv_prog_CC="$CC" # Let the user override the test.
4970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4974 test -z "$as_dir" && as_dir=.
4975 for ac_exec_ext in '' $ac_executable_extensions; do
4976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4977 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4988 if test -n "$CC"; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4990 $as_echo "$CC" >&6; }
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993 $as_echo "no" >&6; }
4998 if test -z "$ac_cv_prog_CC"; then
5000 # Extract the first word of "gcc", so it can be a program name with args.
5001 set dummy gcc; ac_word=$2
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5003 $as_echo_n "checking for $ac_word... " >&6; }
5004 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5005 $as_echo_n "(cached) " >&6
5007 if test -n "$ac_ct_CC"; then
5008 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5014 test -z "$as_dir" && as_dir=.
5015 for ac_exec_ext in '' $ac_executable_extensions; do
5016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5017 ac_cv_prog_ac_ct_CC="gcc"
5018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5028 if test -n "$ac_ct_CC"; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5030 $as_echo "$ac_ct_CC" >&6; }
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5033 $as_echo "no" >&6; }
5036 if test "x$ac_ct_CC" = x; then
5039 case $cross_compiling:$ac_tool_warned in
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5043 ac_tool_warned=yes ;;
5051 if test -z "$CC"; then
5052 if test -n "$ac_tool_prefix"; then
5053 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5054 set dummy ${ac_tool_prefix}cc; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if ${ac_cv_prog_CC+:} false; then :
5058 $as_echo_n "(cached) " >&6
5060 if test -n "$CC"; then
5061 ac_cv_prog_CC="$CC" # Let the user override the test.
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5067 test -z "$as_dir" && as_dir=.
5068 for ac_exec_ext in '' $ac_executable_extensions; do
5069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5070 ac_cv_prog_CC="${ac_tool_prefix}cc"
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5081 if test -n "$CC"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5083 $as_echo "$CC" >&6; }
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5092 if test -z "$CC"; then
5093 # Extract the first word of "cc", so it can be a program name with args.
5094 set dummy cc; ac_word=$2
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5096 $as_echo_n "checking for $ac_word... " >&6; }
5097 if ${ac_cv_prog_CC+:} false; then :
5098 $as_echo_n "(cached) " >&6
5100 if test -n "$CC"; then
5101 ac_cv_prog_CC="$CC" # Let the user override the test.
5104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5108 test -z "$as_dir" && as_dir=.
5109 for ac_exec_ext in '' $ac_executable_extensions; do
5110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5111 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5112 ac_prog_rejected=yes
5116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 if test $ac_prog_rejected = yes; then
5124 # We found a bogon in the path, so make sure we never use it.
5125 set dummy $ac_cv_prog_CC
5127 if test $# != 0; then
5128 # We chose a different compiler from the bogus one.
5129 # However, it has the same basename, so the bogon will be chosen
5130 # first if we set CC to just the basename; use the full file name.
5132 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5138 if test -n "$CC"; then
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5140 $as_echo "$CC" >&6; }
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5148 if test -z "$CC"; then
5149 if test -n "$ac_tool_prefix"; then
5150 for ac_prog in cl.exe
5152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5153 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5155 $as_echo_n "checking for $ac_word... " >&6; }
5156 if ${ac_cv_prog_CC+:} false; then :
5157 $as_echo_n "(cached) " >&6
5159 if test -n "$CC"; then
5160 ac_cv_prog_CC="$CC" # Let the user override the test.
5162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166 test -z "$as_dir" && as_dir=.
5167 for ac_exec_ext in '' $ac_executable_extensions; do
5168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5169 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 if test -n "$CC"; then
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5182 $as_echo "$CC" >&6; }
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5185 $as_echo "no" >&6; }
5189 test -n "$CC" && break
5192 if test -z "$CC"; then
5194 for ac_prog in cl.exe
5196 # Extract the first word of "$ac_prog", so it can be a program name with args.
5197 set dummy $ac_prog; ac_word=$2
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5199 $as_echo_n "checking for $ac_word... " >&6; }
5200 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5201 $as_echo_n "(cached) " >&6
5203 if test -n "$ac_ct_CC"; then
5204 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5210 test -z "$as_dir" && as_dir=.
5211 for ac_exec_ext in '' $ac_executable_extensions; do
5212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5213 ac_cv_prog_ac_ct_CC="$ac_prog"
5214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5224 if test -n "$ac_ct_CC"; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5226 $as_echo "$ac_ct_CC" >&6; }
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5229 $as_echo "no" >&6; }
5233 test -n "$ac_ct_CC" && break
5236 if test "x$ac_ct_CC" = x; then
5239 case $cross_compiling:$ac_tool_warned in
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5243 ac_tool_warned=yes ;;
5252 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5254 as_fn_error $? "no acceptable C compiler found in \$PATH
5255 See \`config.log' for more details" "$LINENO" 5; }
5257 # Provide some information about the compiler.
5258 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5261 for ac_option in --version -v -V -qversion; do
5262 { { ac_try="$ac_compiler $ac_option >&5"
5264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5265 *) ac_try_echo=$ac_try;;
5267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5268 $as_echo "$ac_try_echo"; } >&5
5269 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5271 if test -s conftest.err; then
5273 ... rest of stderr output deleted ...
5274 10q' conftest.err >conftest.er1
5275 cat conftest.er1 >&5
5277 rm -f conftest.er1 conftest.err
5278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5279 test $ac_status = 0; }
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5283 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5284 if ${ac_cv_c_compiler_gnu+:} false; then :
5285 $as_echo_n "(cached) " >&6
5287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h. */
5301 if ac_fn_c_try_compile "$LINENO"; then :
5306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5307 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5311 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5312 if test $ac_compiler_gnu = yes; then
5317 ac_test_CFLAGS=${CFLAGS+set}
5318 ac_save_CFLAGS=$CFLAGS
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5320 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5321 if ${ac_cv_prog_cc_g+:} false; then :
5322 $as_echo_n "(cached) " >&6
5324 ac_save_c_werror_flag=$ac_c_werror_flag
5325 ac_c_werror_flag=yes
5328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5329 /* end confdefs.h. */
5339 if ac_fn_c_try_compile "$LINENO"; then :
5343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5344 /* end confdefs.h. */
5354 if ac_fn_c_try_compile "$LINENO"; then :
5357 ac_c_werror_flag=$ac_save_c_werror_flag
5359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h. */
5370 if ac_fn_c_try_compile "$LINENO"; then :
5373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5378 ac_c_werror_flag=$ac_save_c_werror_flag
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5381 $as_echo "$ac_cv_prog_cc_g" >&6; }
5382 if test "$ac_test_CFLAGS" = set; then
5383 CFLAGS=$ac_save_CFLAGS
5384 elif test $ac_cv_prog_cc_g = yes; then
5385 if test "$GCC" = yes; then
5391 if test "$GCC" = yes; then
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5398 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5399 if ${ac_cv_prog_cc_c89+:} false; then :
5400 $as_echo_n "(cached) " >&6
5402 ac_cv_prog_cc_c89=no
5404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5405 /* end confdefs.h. */
5409 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5410 struct buf { int x; };
5411 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5412 static char *e (p, i)
5418 static char *f (char * (*g) (char **, int), char **p, ...)
5423 s = g (p, va_arg (v,int));
5428 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5429 function prototypes and stuff, but not '\xHH' hex character constants.
5430 These don't provoke an error unfortunately, instead are silently treated
5431 as 'x'. The following induces an error, until -std is added to get
5432 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5433 array size at least. It's necessary to write '\x00'==0 to get something
5434 that's true only with -std. */
5435 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5437 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5438 inside strings and character constants. */
5440 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5442 int test (int i, double x);
5443 struct s1 {int (*f) (int a);};
5444 struct s2 {int (*f) (double a);};
5445 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5451 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5456 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5457 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5459 CC="$ac_save_CC $ac_arg"
5460 if ac_fn_c_try_compile "$LINENO"; then :
5461 ac_cv_prog_cc_c89=$ac_arg
5463 rm -f core conftest.err conftest.$ac_objext
5464 test "x$ac_cv_prog_cc_c89" != "xno" && break
5466 rm -f conftest.$ac_ext
5471 case "x$ac_cv_prog_cc_c89" in
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5474 $as_echo "none needed" >&6; } ;;
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5477 $as_echo "unsupported" >&6; } ;;
5479 CC="$CC $ac_cv_prog_cc_c89"
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5481 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5483 if test "x$ac_cv_prog_cc_c89" != xno; then :
5488 ac_cpp='$CPP $CPPFLAGS'
5489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5494 ac_cpp='$CPP $CPPFLAGS'
5495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5499 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5500 if ${am_cv_prog_cc_c_o+:} false; then :
5501 $as_echo_n "(cached) " >&6
5503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5504 /* end confdefs.h. */
5514 # Make sure it works both with $CC and with simple cc.
5515 # Following AC_PROG_CC_C_O, we do the test twice because some
5516 # compilers refuse to overwrite an existing .o file with -o,
5517 # though they will create one.
5518 am_cv_prog_cc_c_o=yes
5520 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5521 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); } \
5525 && test -f conftest2.$ac_objext; then
5528 am_cv_prog_cc_c_o=no
5532 rm -f core conftest*
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5536 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5537 if test "$am_cv_prog_cc_c_o" != yes; then
5538 # Losing compiler, so override with the script.
5539 # FIXME: It is wrong to rewrite CC.
5540 # But if we don't then we get into trouble of one sort or another.
5541 # A longer-term fix would be to have automake use am__CC in this case,
5542 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5543 CC="$am_aux_dir/compile $CC"
5546 ac_cpp='$CPP $CPPFLAGS'
5547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5552 depcc="$CC" am_compiler_list=
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5555 $as_echo_n "checking dependency style of $depcc... " >&6; }
5556 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5557 $as_echo_n "(cached) " >&6
5559 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5560 # We make a subdir and do the tests there. Otherwise we can end up
5561 # making bogus files that we don't know about and never remove. For
5562 # instance it was reported that on HP-UX the gcc test will end up
5563 # making a dummy file named 'D' -- because '-MD' means "put the output
5567 # Copy depcomp to subdir because otherwise we won't find it if we're
5568 # using a relative directory.
5569 cp "$am_depcomp" conftest.dir
5571 # We will build objects and dependencies in a subdirectory because
5572 # it helps to detect inapplicable dependency modes. For instance
5573 # both Tru64's cc and ICC support -MD to output dependencies as a
5574 # side effect of compilation, but ICC will put the dependencies in
5575 # the current directory while Tru64 will put them in the object
5579 am_cv_CC_dependencies_compiler_type=none
5580 if test "$am_compiler_list" = ""; then
5581 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5584 case " $depcc " in #(
5585 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5588 for depmode in $am_compiler_list; do
5589 # Setup a source with many dependencies, because some compilers
5590 # like to wrap large dependency lists on column 80 (with \), and
5591 # we should not choose a depcomp mode which is confused by this.
5593 # We need to recreate these files for each test, as the compiler may
5594 # overwrite some of them when testing with obscure command lines.
5595 # This happens at least with the AIX C compiler.
5597 for i in 1 2 3 4 5 6; do
5598 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5599 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5600 # Solaris 10 /bin/sh.
5601 echo '/* dummy */' > sub/conftst$i.h
5603 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5605 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5606 # mode. It turns out that the SunPro C++ compiler does not properly
5607 # handle '-M -o', and we need to detect this. Also, some Intel
5608 # versions had trouble with output in subdirs.
5609 am__obj=sub/conftest.${OBJEXT-o}
5610 am__minus_obj="-o $am__obj"
5613 # This depmode causes a compiler race in universal mode.
5614 test "$am__universal" = false || continue
5617 # After this tag, mechanisms are not by side-effect, so they'll
5618 # only be used when explicitly requested.
5619 if test "x$enable_dependency_tracking" = xyes; then
5625 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5626 # This compiler won't grok '-c -o', but also, the minuso test has
5627 # not run yet. These depmodes are late enough in the game, and
5628 # so weak that their functioning should not be impacted.
5629 am__obj=conftest.${OBJEXT-o}
5634 if depmode=$depmode \
5635 source=sub/conftest.c object=$am__obj \
5636 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5637 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5638 >/dev/null 2>conftest.err &&
5639 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5640 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5641 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5642 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5643 # icc doesn't choke on unknown options, it will just issue warnings
5644 # or remarks (even with -Werror). So we grep stderr for any message
5645 # that says an option was ignored or not supported.
5646 # When given -MP, icc 7.0 and 7.1 complain thusly:
5647 # icc: Command line warning: ignoring option '-M'; no argument required
5648 # The diagnosis changed in icc 8.0:
5649 # icc: Command line remark: option '-MP' not supported
5650 if (grep 'ignoring option' conftest.err ||
5651 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5652 am_cv_CC_dependencies_compiler_type=$depmode
5661 am_cv_CC_dependencies_compiler_type=none
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5666 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5667 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5670 test "x$enable_dependency_tracking" != xno \
5671 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5673 am__fastdepCC_FALSE='#'
5675 am__fastdepCC_TRUE='#'
5676 am__fastdepCC_FALSE=
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5681 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5682 if ${ac_cv_path_SED+:} false; then :
5683 $as_echo_n "(cached) " >&6
5685 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5686 for ac_i in 1 2 3 4 5 6 7; do
5687 ac_script="$ac_script$as_nl$ac_script"
5689 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5690 { ac_script=; unset ac_script;}
5691 if test -z "$SED"; then
5692 ac_path_SED_found=false
5693 # Loop through the user's path and test for each of PROGNAME-LIST
5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698 test -z "$as_dir" && as_dir=.
5699 for ac_prog in sed gsed; do
5700 for ac_exec_ext in '' $ac_executable_extensions; do
5701 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5702 as_fn_executable_p "$ac_path_SED" || continue
5703 # Check for GNU ac_path_SED and select it if it is found.
5704 # Check for GNU $ac_path_SED
5705 case `"$ac_path_SED" --version 2>&1` in
5707 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5710 $as_echo_n 0123456789 >"conftest.in"
5713 cat "conftest.in" "conftest.in" >"conftest.tmp"
5714 mv "conftest.tmp" "conftest.in"
5715 cp "conftest.in" "conftest.nl"
5716 $as_echo '' >> "conftest.nl"
5717 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5718 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5719 as_fn_arith $ac_count + 1 && ac_count=$as_val
5720 if test $ac_count -gt ${ac_path_SED_max-0}; then
5721 # Best one so far, save it but keep looking for a better one
5722 ac_cv_path_SED="$ac_path_SED"
5723 ac_path_SED_max=$ac_count
5725 # 10*(2^10) chars as input seems more than enough
5726 test $ac_count -gt 10 && break
5728 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5731 $ac_path_SED_found && break 3
5736 if test -z "$ac_cv_path_SED"; then
5737 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5745 $as_echo "$ac_cv_path_SED" >&6; }
5746 SED="$ac_cv_path_SED"
5749 test -z "$SED" && SED=sed
5750 Xsed="$SED -e 1s/^X//"
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5763 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5764 if ${ac_cv_path_GREP+:} false; then :
5765 $as_echo_n "(cached) " >&6
5767 if test -z "$GREP"; then
5768 ac_path_GREP_found=false
5769 # Loop through the user's path and test for each of PROGNAME-LIST
5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5774 test -z "$as_dir" && as_dir=.
5775 for ac_prog in grep ggrep; do
5776 for ac_exec_ext in '' $ac_executable_extensions; do
5777 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5778 as_fn_executable_p "$ac_path_GREP" || continue
5779 # Check for GNU ac_path_GREP and select it if it is found.
5780 # Check for GNU $ac_path_GREP
5781 case `"$ac_path_GREP" --version 2>&1` in
5783 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5786 $as_echo_n 0123456789 >"conftest.in"
5789 cat "conftest.in" "conftest.in" >"conftest.tmp"
5790 mv "conftest.tmp" "conftest.in"
5791 cp "conftest.in" "conftest.nl"
5792 $as_echo 'GREP' >> "conftest.nl"
5793 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5794 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5795 as_fn_arith $ac_count + 1 && ac_count=$as_val
5796 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5797 # Best one so far, save it but keep looking for a better one
5798 ac_cv_path_GREP="$ac_path_GREP"
5799 ac_path_GREP_max=$ac_count
5801 # 10*(2^10) chars as input seems more than enough
5802 test $ac_count -gt 10 && break
5804 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5807 $ac_path_GREP_found && break 3
5812 if test -z "$ac_cv_path_GREP"; then
5813 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5816 ac_cv_path_GREP=$GREP
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5821 $as_echo "$ac_cv_path_GREP" >&6; }
5822 GREP="$ac_cv_path_GREP"
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5826 $as_echo_n "checking for egrep... " >&6; }
5827 if ${ac_cv_path_EGREP+:} false; then :
5828 $as_echo_n "(cached) " >&6
5830 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5831 then ac_cv_path_EGREP="$GREP -E"
5833 if test -z "$EGREP"; then
5834 ac_path_EGREP_found=false
5835 # Loop through the user's path and test for each of PROGNAME-LIST
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5840 test -z "$as_dir" && as_dir=.
5841 for ac_prog in egrep; do
5842 for ac_exec_ext in '' $ac_executable_extensions; do
5843 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5844 as_fn_executable_p "$ac_path_EGREP" || continue
5845 # Check for GNU ac_path_EGREP and select it if it is found.
5846 # Check for GNU $ac_path_EGREP
5847 case `"$ac_path_EGREP" --version 2>&1` in
5849 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5852 $as_echo_n 0123456789 >"conftest.in"
5855 cat "conftest.in" "conftest.in" >"conftest.tmp"
5856 mv "conftest.tmp" "conftest.in"
5857 cp "conftest.in" "conftest.nl"
5858 $as_echo 'EGREP' >> "conftest.nl"
5859 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5860 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5861 as_fn_arith $ac_count + 1 && ac_count=$as_val
5862 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5863 # Best one so far, save it but keep looking for a better one
5864 ac_cv_path_EGREP="$ac_path_EGREP"
5865 ac_path_EGREP_max=$ac_count
5867 # 10*(2^10) chars as input seems more than enough
5868 test $ac_count -gt 10 && break
5870 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5873 $ac_path_EGREP_found && break 3
5878 if test -z "$ac_cv_path_EGREP"; then
5879 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5882 ac_cv_path_EGREP=$EGREP
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5888 $as_echo "$ac_cv_path_EGREP" >&6; }
5889 EGREP="$ac_cv_path_EGREP"
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5893 $as_echo_n "checking for fgrep... " >&6; }
5894 if ${ac_cv_path_FGREP+:} false; then :
5895 $as_echo_n "(cached) " >&6
5897 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5898 then ac_cv_path_FGREP="$GREP -F"
5900 if test -z "$FGREP"; then
5901 ac_path_FGREP_found=false
5902 # Loop through the user's path and test for each of PROGNAME-LIST
5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5907 test -z "$as_dir" && as_dir=.
5908 for ac_prog in fgrep; do
5909 for ac_exec_ext in '' $ac_executable_extensions; do
5910 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5911 as_fn_executable_p "$ac_path_FGREP" || continue
5912 # Check for GNU ac_path_FGREP and select it if it is found.
5913 # Check for GNU $ac_path_FGREP
5914 case `"$ac_path_FGREP" --version 2>&1` in
5916 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5919 $as_echo_n 0123456789 >"conftest.in"
5922 cat "conftest.in" "conftest.in" >"conftest.tmp"
5923 mv "conftest.tmp" "conftest.in"
5924 cp "conftest.in" "conftest.nl"
5925 $as_echo 'FGREP' >> "conftest.nl"
5926 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5927 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5928 as_fn_arith $ac_count + 1 && ac_count=$as_val
5929 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5930 # Best one so far, save it but keep looking for a better one
5931 ac_cv_path_FGREP="$ac_path_FGREP"
5932 ac_path_FGREP_max=$ac_count
5934 # 10*(2^10) chars as input seems more than enough
5935 test $ac_count -gt 10 && break
5937 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5940 $ac_path_FGREP_found && break 3
5945 if test -z "$ac_cv_path_FGREP"; then
5946 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5949 ac_cv_path_FGREP=$FGREP
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5955 $as_echo "$ac_cv_path_FGREP" >&6; }
5956 FGREP="$ac_cv_path_FGREP"
5959 test -z "$GREP" && GREP=grep
5979 # Check whether --with-gnu-ld was given.
5980 if test "${with_gnu_ld+set}" = set; then :
5981 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5987 if test "$GCC" = yes; then
5988 # Check if gcc -print-prog-name=ld gives a path.
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5990 $as_echo_n "checking for ld used by $CC... " >&6; }
5993 # gcc leaves a trailing carriage return which upsets mingw
5994 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5996 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5999 # Accept absolute paths.
6001 re_direlt='/[^/][^/]*/\.\./'
6002 # Canonicalize the pathname of ld
6003 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6004 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6005 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6007 test -z "$LD" && LD="$ac_prog"
6010 # If it fails, then pretend we aren't using GCC.
6014 # If it is relative, then search for the first ld in PATH.
6018 elif test "$with_gnu_ld" = yes; then
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6020 $as_echo_n "checking for GNU ld... " >&6; }
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6023 $as_echo_n "checking for non-GNU ld... " >&6; }
6025 if ${lt_cv_path_LD+:} false; then :
6026 $as_echo_n "(cached) " >&6
6028 if test -z "$LD"; then
6029 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6030 for ac_dir in $PATH; do
6032 test -z "$ac_dir" && ac_dir=.
6033 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6034 lt_cv_path_LD="$ac_dir/$ac_prog"
6035 # Check to see if the program is GNU ld. I'd rather use --version,
6036 # but apparently some variants of GNU ld only accept -v.
6037 # Break only if it was the GNU/non-GNU ld that we prefer.
6038 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6039 *GNU* | *'with BFD'*)
6040 test "$with_gnu_ld" != no && break
6043 test "$with_gnu_ld" != yes && break
6050 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6055 if test -n "$LD"; then
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6057 $as_echo "$LD" >&6; }
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6060 $as_echo "no" >&6; }
6062 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6064 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6065 if ${lt_cv_prog_gnu_ld+:} false; then :
6066 $as_echo_n "(cached) " >&6
6068 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6069 case `$LD -v 2>&1 </dev/null` in
6070 *GNU* | *'with BFD'*)
6071 lt_cv_prog_gnu_ld=yes
6074 lt_cv_prog_gnu_ld=no
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6079 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6080 with_gnu_ld=$lt_cv_prog_gnu_ld
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6091 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6092 if ${lt_cv_path_NM+:} false; then :
6093 $as_echo_n "(cached) " >&6
6095 if test -n "$NM"; then
6096 # Let the user override the test.
6099 lt_nm_to_check="${ac_tool_prefix}nm"
6100 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6101 lt_nm_to_check="$lt_nm_to_check nm"
6103 for lt_tmp_nm in $lt_nm_to_check; do
6104 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6105 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6107 test -z "$ac_dir" && ac_dir=.
6108 tmp_nm="$ac_dir/$lt_tmp_nm"
6109 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6110 # Check to see if the nm accepts a BSD-compat flag.
6111 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6112 # nm: unknown option "B" ignored
6113 # Tru64's nm complains that /dev/null is an invalid object file
6114 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6115 */dev/null* | *'Invalid file or object type'*)
6116 lt_cv_path_NM="$tmp_nm -B"
6120 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6122 lt_cv_path_NM="$tmp_nm -p"
6126 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6127 continue # so that we can try to find one that supports BSD flags
6136 : ${lt_cv_path_NM=no}
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6140 $as_echo "$lt_cv_path_NM" >&6; }
6141 if test "$lt_cv_path_NM" != "no"; then
6144 # Didn't find any BSD compatible name lister, look for dumpbin.
6145 if test -n "$DUMPBIN"; then :
6146 # Let the user override the test.
6148 if test -n "$ac_tool_prefix"; then
6149 for ac_prog in dumpbin "link -dump"
6151 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6152 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6154 $as_echo_n "checking for $ac_word... " >&6; }
6155 if ${ac_cv_prog_DUMPBIN+:} false; then :
6156 $as_echo_n "(cached) " >&6
6158 if test -n "$DUMPBIN"; then
6159 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6165 test -z "$as_dir" && as_dir=.
6166 for ac_exec_ext in '' $ac_executable_extensions; do
6167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6168 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6178 DUMPBIN=$ac_cv_prog_DUMPBIN
6179 if test -n "$DUMPBIN"; then
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6181 $as_echo "$DUMPBIN" >&6; }
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6184 $as_echo "no" >&6; }
6188 test -n "$DUMPBIN" && break
6191 if test -z "$DUMPBIN"; then
6192 ac_ct_DUMPBIN=$DUMPBIN
6193 for ac_prog in dumpbin "link -dump"
6195 # Extract the first word of "$ac_prog", so it can be a program name with args.
6196 set dummy $ac_prog; ac_word=$2
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6198 $as_echo_n "checking for $ac_word... " >&6; }
6199 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6200 $as_echo_n "(cached) " >&6
6202 if test -n "$ac_ct_DUMPBIN"; then
6203 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6209 test -z "$as_dir" && as_dir=.
6210 for ac_exec_ext in '' $ac_executable_extensions; do
6211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6212 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6222 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6223 if test -n "$ac_ct_DUMPBIN"; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6225 $as_echo "$ac_ct_DUMPBIN" >&6; }
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6228 $as_echo "no" >&6; }
6232 test -n "$ac_ct_DUMPBIN" && break
6235 if test "x$ac_ct_DUMPBIN" = x; then
6238 case $cross_compiling:$ac_tool_warned in
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6242 ac_tool_warned=yes ;;
6244 DUMPBIN=$ac_ct_DUMPBIN
6248 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6250 DUMPBIN="$DUMPBIN -symbols"
6258 if test "$DUMPBIN" != ":"; then
6262 test -z "$NM" && NM=nm
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6270 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6271 if ${lt_cv_nm_interface+:} false; then :
6272 $as_echo_n "(cached) " >&6
6274 lt_cv_nm_interface="BSD nm"
6275 echo "int some_variable = 0;" > conftest.$ac_ext
6276 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6277 (eval "$ac_compile" 2>conftest.err)
6278 cat conftest.err >&5
6279 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6280 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6281 cat conftest.err >&5
6282 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6283 cat conftest.out >&5
6284 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6285 lt_cv_nm_interface="MS dumpbin"
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6290 $as_echo "$lt_cv_nm_interface" >&6; }
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6293 $as_echo_n "checking whether ln -s works... " >&6; }
6295 if test "$LN_S" = "ln -s"; then
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6297 $as_echo "yes" >&6; }
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6300 $as_echo "no, using $LN_S" >&6; }
6303 # find the maximum length of command line arguments
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6305 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6306 if ${lt_cv_sys_max_cmd_len+:} false; then :
6307 $as_echo_n "(cached) " >&6
6314 # On DJGPP, this test can blow up pretty badly due to problems in libc
6315 # (any single argument exceeding 2000 bytes causes a buffer overrun
6316 # during glob expansion). Even if it were fixed, the result of this
6317 # check would be larger than it should be.
6318 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6322 # Under GNU Hurd, this test is not required because there is
6323 # no limit to the length of command line arguments.
6324 # Libtool will interpret -1 as no limit whatsoever
6325 lt_cv_sys_max_cmd_len=-1;
6328 cygwin* | mingw* | cegcc*)
6329 # On Win9x/ME, this test blows up -- it succeeds, but takes
6330 # about 5 minutes as the teststring grows exponentially.
6331 # Worse, since 9x/ME are not pre-emptively multitasking,
6332 # you end up with a "frozen" computer, even though with patience
6333 # the test eventually succeeds (with a max line length of 256k).
6334 # Instead, let's just punt: use the minimum linelength reported by
6335 # all of the supported platforms: 8192 (on NT/2K/XP).
6336 lt_cv_sys_max_cmd_len=8192;
6340 # On MiNT this can take a long time and run out of memory.
6341 lt_cv_sys_max_cmd_len=8192;
6345 # On AmigaOS with pdksh, this test takes hours, literally.
6346 # So we just punt and use a minimum line length of 8192.
6347 lt_cv_sys_max_cmd_len=8192;
6350 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6351 # This has been around since 386BSD, at least. Likely further.
6352 if test -x /sbin/sysctl; then
6353 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6354 elif test -x /usr/sbin/sysctl; then
6355 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6357 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6359 # And add a safety zone
6360 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6361 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6365 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6366 lt_cv_sys_max_cmd_len=196608
6370 # The test takes a long time on OS/2.
6371 lt_cv_sys_max_cmd_len=8192
6375 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6376 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6377 # nice to cause kernel panics so lets avoid the loop below.
6378 # First set a reasonable default.
6379 lt_cv_sys_max_cmd_len=16384
6381 if test -x /sbin/sysconfig; then
6382 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6383 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6388 lt_cv_sys_max_cmd_len=102400
6390 sysv5* | sco5v6* | sysv4.2uw2*)
6391 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6392 if test -n "$kargmax"; then
6393 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6395 lt_cv_sys_max_cmd_len=32768
6399 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6400 if test -n "$lt_cv_sys_max_cmd_len" && \
6401 test undefined != "$lt_cv_sys_max_cmd_len"; then
6402 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6403 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6405 # Make teststring a little bigger before we do anything with it.
6406 # a 1K string should be a reasonable start.
6407 for i in 1 2 3 4 5 6 7 8 ; do
6408 teststring=$teststring$teststring
6410 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6411 # If test is not a shell built-in, we'll probably end up computing a
6412 # maximum length that is only half of the actual maximum length, but
6414 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6415 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6416 test $i != 17 # 1/2 MB should be enough
6419 teststring=$teststring$teststring
6421 # Only check the string length outside the loop.
6422 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6424 # Add a significant safety factor because C++ compilers can tack on
6425 # massive amounts of additional arguments before passing them to the
6426 # linker. It appears as though 1/2 is a usable value.
6427 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6434 if test -n $lt_cv_sys_max_cmd_len ; then
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6436 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6439 $as_echo "none" >&6; }
6441 max_cmd_len=$lt_cv_sys_max_cmd_len
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6453 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6454 # Try some XSI features
6457 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6459 && eval 'test $(( 1 + 1 )) -eq 2 \
6460 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6463 $as_echo "$xsi_shell" >&6; }
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6467 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6469 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6471 && lt_shell_append=yes
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6473 $as_echo "$lt_shell_append" >&6; }
6476 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6486 # test EBCDIC or ASCII
6487 case `echo X|tr X '\101'` in
6488 A) # ASCII based system
6489 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6490 lt_SP2NL='tr \040 \012'
6491 lt_NL2SP='tr \015\012 \040\040'
6493 *) # EBCDIC based system
6494 lt_SP2NL='tr \100 \n'
6495 lt_NL2SP='tr \r\n \100\100'
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6508 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6509 if ${lt_cv_to_host_file_cmd+:} false; then :
6510 $as_echo_n "(cached) " >&6
6515 *-*-mingw* ) # actually msys
6516 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6519 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6521 * ) # otherwise, assume *nix
6522 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6528 *-*-mingw* ) # actually msys
6529 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6532 lt_cv_to_host_file_cmd=func_convert_file_noop
6534 * ) # otherwise, assume *nix
6535 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6539 * ) # unhandled hosts (and "normal" native builds)
6540 lt_cv_to_host_file_cmd=func_convert_file_noop
6546 to_host_file_cmd=$lt_cv_to_host_file_cmd
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6548 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6555 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6556 if ${lt_cv_to_tool_file_cmd+:} false; then :
6557 $as_echo_n "(cached) " >&6
6559 #assume ordinary cross tools, or native build.
6560 lt_cv_to_tool_file_cmd=func_convert_file_noop
6564 *-*-mingw* ) # actually msys
6565 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6573 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6575 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6582 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6583 if ${lt_cv_ld_reload_flag+:} false; then :
6584 $as_echo_n "(cached) " >&6
6586 lt_cv_ld_reload_flag='-r'
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6589 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6590 reload_flag=$lt_cv_ld_reload_flag
6591 case $reload_flag in
6593 *) reload_flag=" $reload_flag" ;;
6595 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6597 cygwin* | mingw* | pw32* | cegcc*)
6598 if test "$GCC" != yes; then
6603 if test "$GCC" = yes; then
6604 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6606 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6619 if test -n "$ac_tool_prefix"; then
6620 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6621 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6623 $as_echo_n "checking for $ac_word... " >&6; }
6624 if ${ac_cv_prog_OBJDUMP+:} false; then :
6625 $as_echo_n "(cached) " >&6
6627 if test -n "$OBJDUMP"; then
6628 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6634 test -z "$as_dir" && as_dir=.
6635 for ac_exec_ext in '' $ac_executable_extensions; do
6636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6637 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6647 OBJDUMP=$ac_cv_prog_OBJDUMP
6648 if test -n "$OBJDUMP"; then
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6650 $as_echo "$OBJDUMP" >&6; }
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6653 $as_echo "no" >&6; }
6658 if test -z "$ac_cv_prog_OBJDUMP"; then
6659 ac_ct_OBJDUMP=$OBJDUMP
6660 # Extract the first word of "objdump", so it can be a program name with args.
6661 set dummy objdump; ac_word=$2
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6663 $as_echo_n "checking for $ac_word... " >&6; }
6664 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6665 $as_echo_n "(cached) " >&6
6667 if test -n "$ac_ct_OBJDUMP"; then
6668 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6674 test -z "$as_dir" && as_dir=.
6675 for ac_exec_ext in '' $ac_executable_extensions; do
6676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6677 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6687 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6688 if test -n "$ac_ct_OBJDUMP"; then
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6690 $as_echo "$ac_ct_OBJDUMP" >&6; }
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693 $as_echo "no" >&6; }
6696 if test "x$ac_ct_OBJDUMP" = x; then
6699 case $cross_compiling:$ac_tool_warned in
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6702 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6703 ac_tool_warned=yes ;;
6705 OBJDUMP=$ac_ct_OBJDUMP
6708 OBJDUMP="$ac_cv_prog_OBJDUMP"
6711 test -z "$OBJDUMP" && OBJDUMP=objdump
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6719 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6720 if ${lt_cv_deplibs_check_method+:} false; then :
6721 $as_echo_n "(cached) " >&6
6723 lt_cv_file_magic_cmd='$MAGIC_CMD'
6724 lt_cv_file_magic_test_file=
6725 lt_cv_deplibs_check_method='unknown'
6726 # Need to set the preceding variable on all platforms that support
6727 # interlibrary dependencies.
6728 # 'none' -- dependencies not supported.
6729 # `unknown' -- same as none, but documents that we really don't know.
6730 # 'pass_all' -- all dependencies passed with no checks.
6731 # 'test_compile' -- check by making test program.
6732 # 'file_magic [[regex]]' -- check by looking for files in library path
6733 # which responds to the $file_magic_cmd with a given extended regex.
6734 # If you have `file' or equivalent on your system and you're not sure
6735 # whether `pass_all' will *always* work, you probably want this one.
6739 lt_cv_deplibs_check_method=pass_all
6743 lt_cv_deplibs_check_method=pass_all
6747 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6748 lt_cv_file_magic_cmd='/usr/bin/file -L'
6749 lt_cv_file_magic_test_file=/shlib/libc.so
6753 # func_win32_libid is a shell function defined in ltmain.sh
6754 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6755 lt_cv_file_magic_cmd='func_win32_libid'
6759 # Base MSYS/MinGW do not provide the 'file' command needed by
6760 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6761 # unless we find 'file', for example because we are cross-compiling.
6762 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6763 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6764 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6765 lt_cv_file_magic_cmd='func_win32_libid'
6767 # Keep this pattern in sync with the one in func_win32_libid.
6768 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6769 lt_cv_file_magic_cmd='$OBJDUMP -f'
6774 # use the weaker test based on 'objdump'. See mingw*.
6775 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6776 lt_cv_file_magic_cmd='$OBJDUMP -f'
6779 darwin* | rhapsody*)
6780 lt_cv_deplibs_check_method=pass_all
6783 freebsd* | dragonfly*)
6784 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6787 # Not sure whether the presence of OpenBSD here was a mistake.
6788 # Let's accept both of them until this is cleared up.
6789 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6790 lt_cv_file_magic_cmd=/usr/bin/file
6791 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6795 lt_cv_deplibs_check_method=pass_all
6800 lt_cv_deplibs_check_method=pass_all
6803 hpux10.20* | hpux11*)
6804 lt_cv_file_magic_cmd=/usr/bin/file
6807 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6808 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6811 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]'
6812 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6815 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6816 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6822 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6823 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6826 irix5* | irix6* | nonstopux*)
6828 *-32|*"-32 ") libmagic=32-bit;;
6829 *-n32|*"-n32 ") libmagic=N32;;
6830 *-64|*"-64 ") libmagic=64-bit;;
6831 *) libmagic=never-match;;
6833 lt_cv_deplibs_check_method=pass_all
6836 # This must be glibc/ELF.
6837 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6838 lt_cv_deplibs_check_method=pass_all
6841 netbsd* | netbsdelf*-gnu)
6842 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6843 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6845 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6850 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6851 lt_cv_file_magic_cmd=/usr/bin/file
6852 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6856 lt_cv_deplibs_check_method=pass_all
6860 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6861 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6863 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6867 osf3* | osf4* | osf5*)
6868 lt_cv_deplibs_check_method=pass_all
6872 lt_cv_deplibs_check_method=pass_all
6876 lt_cv_deplibs_check_method=pass_all
6879 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6880 lt_cv_deplibs_check_method=pass_all
6884 case $host_vendor in
6886 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]'
6887 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6890 lt_cv_deplibs_check_method=pass_all
6893 lt_cv_file_magic_cmd='/bin/file'
6894 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6897 lt_cv_file_magic_cmd='/bin/file'
6898 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6899 lt_cv_file_magic_test_file=/lib/libc.so
6902 lt_cv_deplibs_check_method=pass_all
6905 lt_cv_deplibs_check_method=pass_all
6911 lt_cv_deplibs_check_method=pass_all
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6917 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6921 if test "$build" = "$host"; then
6924 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6927 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6933 file_magic_cmd=$lt_cv_file_magic_cmd
6934 deplibs_check_method=$lt_cv_deplibs_check_method
6935 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6958 if test -n "$ac_tool_prefix"; then
6959 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6960 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_prog_DLLTOOL+:} false; then :
6964 $as_echo_n "(cached) " >&6
6966 if test -n "$DLLTOOL"; then
6967 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6973 test -z "$as_dir" && as_dir=.
6974 for ac_exec_ext in '' $ac_executable_extensions; do
6975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6976 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986 DLLTOOL=$ac_cv_prog_DLLTOOL
6987 if test -n "$DLLTOOL"; then
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6989 $as_echo "$DLLTOOL" >&6; }
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6997 if test -z "$ac_cv_prog_DLLTOOL"; then
6998 ac_ct_DLLTOOL=$DLLTOOL
6999 # Extract the first word of "dlltool", so it can be a program name with args.
7000 set dummy dlltool; ac_word=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7004 $as_echo_n "(cached) " >&6
7006 if test -n "$ac_ct_DLLTOOL"; then
7007 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7013 test -z "$as_dir" && as_dir=.
7014 for ac_exec_ext in '' $ac_executable_extensions; do
7015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7016 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7026 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7027 if test -n "$ac_ct_DLLTOOL"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7029 $as_echo "$ac_ct_DLLTOOL" >&6; }
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7035 if test "x$ac_ct_DLLTOOL" = x; then
7038 case $cross_compiling:$ac_tool_warned in
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7042 ac_tool_warned=yes ;;
7044 DLLTOOL=$ac_ct_DLLTOOL
7047 DLLTOOL="$ac_cv_prog_DLLTOOL"
7050 test -z "$DLLTOOL" && DLLTOOL=dlltool
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7059 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7060 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7061 $as_echo_n "(cached) " >&6
7063 lt_cv_sharedlib_from_linklib_cmd='unknown'
7066 cygwin* | mingw* | pw32* | cegcc*)
7067 # two different shell functions defined in ltmain.sh
7068 # decide which to use based on capabilities of $DLLTOOL
7069 case `$DLLTOOL --help 2>&1` in
7070 *--identify-strict*)
7071 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7074 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7079 # fallback: assume linklib IS sharedlib
7080 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7086 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7087 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7088 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7097 if test -n "$ac_tool_prefix"; then
7100 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7101 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7103 $as_echo_n "checking for $ac_word... " >&6; }
7104 if ${ac_cv_prog_AR+:} false; then :
7105 $as_echo_n "(cached) " >&6
7107 if test -n "$AR"; then
7108 ac_cv_prog_AR="$AR" # Let the user override the test.
7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7114 test -z "$as_dir" && as_dir=.
7115 for ac_exec_ext in '' $ac_executable_extensions; do
7116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7117 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7128 if test -n "$AR"; then
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7130 $as_echo "$AR" >&6; }
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7133 $as_echo "no" >&6; }
7137 test -n "$AR" && break
7140 if test -z "$AR"; then
7144 # Extract the first word of "$ac_prog", so it can be a program name with args.
7145 set dummy $ac_prog; ac_word=$2
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7147 $as_echo_n "checking for $ac_word... " >&6; }
7148 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7149 $as_echo_n "(cached) " >&6
7151 if test -n "$ac_ct_AR"; then
7152 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7158 test -z "$as_dir" && as_dir=.
7159 for ac_exec_ext in '' $ac_executable_extensions; do
7160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7161 ac_cv_prog_ac_ct_AR="$ac_prog"
7162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7171 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7172 if test -n "$ac_ct_AR"; then
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7174 $as_echo "$ac_ct_AR" >&6; }
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 $as_echo "no" >&6; }
7181 test -n "$ac_ct_AR" && break
7184 if test "x$ac_ct_AR" = x; then
7187 case $cross_compiling:$ac_tool_warned in
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7191 ac_tool_warned=yes ;;
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7211 $as_echo_n "checking for archiver @FILE support... " >&6; }
7212 if ${lt_cv_ar_at_file+:} false; then :
7213 $as_echo_n "(cached) " >&6
7216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7217 /* end confdefs.h. */
7227 if ac_fn_c_try_compile "$LINENO"; then :
7228 echo conftest.$ac_objext > conftest.lst
7229 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7230 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7231 (eval $lt_ar_try) 2>&5
7233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7234 test $ac_status = 0; }
7235 if test "$ac_status" -eq 0; then
7236 # Ensure the archiver fails upon bogus file names.
7237 rm -f conftest.$ac_objext libconftest.a
7238 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7239 (eval $lt_ar_try) 2>&5
7241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7242 test $ac_status = 0; }
7243 if test "$ac_status" -ne 0; then
7247 rm -f conftest.* libconftest.a
7250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7254 $as_echo "$lt_cv_ar_at_file" >&6; }
7256 if test "x$lt_cv_ar_at_file" = xno; then
7259 archiver_list_spec=$lt_cv_ar_at_file
7268 if test -n "$ac_tool_prefix"; then
7269 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7270 set dummy ${ac_tool_prefix}strip; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if ${ac_cv_prog_STRIP+:} false; then :
7274 $as_echo_n "(cached) " >&6
7276 if test -n "$STRIP"; then
7277 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 test -z "$as_dir" && as_dir=.
7284 for ac_exec_ext in '' $ac_executable_extensions; do
7285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7286 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7296 STRIP=$ac_cv_prog_STRIP
7297 if test -n "$STRIP"; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7299 $as_echo "$STRIP" >&6; }
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7307 if test -z "$ac_cv_prog_STRIP"; then
7309 # Extract the first word of "strip", so it can be a program name with args.
7310 set dummy strip; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7314 $as_echo_n "(cached) " >&6
7316 if test -n "$ac_ct_STRIP"; then
7317 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7326 ac_cv_prog_ac_ct_STRIP="strip"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7337 if test -n "$ac_ct_STRIP"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7339 $as_echo "$ac_ct_STRIP" >&6; }
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7345 if test "x$ac_ct_STRIP" = x; then
7348 case $cross_compiling:$ac_tool_warned in
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7352 ac_tool_warned=yes ;;
7357 STRIP="$ac_cv_prog_STRIP"
7360 test -z "$STRIP" && STRIP=:
7367 if test -n "$ac_tool_prefix"; then
7368 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7369 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371 $as_echo_n "checking for $ac_word... " >&6; }
7372 if ${ac_cv_prog_RANLIB+:} false; then :
7373 $as_echo_n "(cached) " >&6
7375 if test -n "$RANLIB"; then
7376 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7382 test -z "$as_dir" && as_dir=.
7383 for ac_exec_ext in '' $ac_executable_extensions; do
7384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7385 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7395 RANLIB=$ac_cv_prog_RANLIB
7396 if test -n "$RANLIB"; then
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7398 $as_echo "$RANLIB" >&6; }
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7401 $as_echo "no" >&6; }
7406 if test -z "$ac_cv_prog_RANLIB"; then
7407 ac_ct_RANLIB=$RANLIB
7408 # Extract the first word of "ranlib", so it can be a program name with args.
7409 set dummy ranlib; ac_word=$2
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7411 $as_echo_n "checking for $ac_word... " >&6; }
7412 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7413 $as_echo_n "(cached) " >&6
7415 if test -n "$ac_ct_RANLIB"; then
7416 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7422 test -z "$as_dir" && as_dir=.
7423 for ac_exec_ext in '' $ac_executable_extensions; do
7424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7425 ac_cv_prog_ac_ct_RANLIB="ranlib"
7426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7435 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7436 if test -n "$ac_ct_RANLIB"; then
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7438 $as_echo "$ac_ct_RANLIB" >&6; }
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7441 $as_echo "no" >&6; }
7444 if test "x$ac_ct_RANLIB" = x; then
7447 case $cross_compiling:$ac_tool_warned in
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7451 ac_tool_warned=yes ;;
7453 RANLIB=$ac_ct_RANLIB
7456 RANLIB="$ac_cv_prog_RANLIB"
7459 test -z "$RANLIB" && RANLIB=:
7466 # Determine commands to create old-style static archives.
7467 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7468 old_postinstall_cmds='chmod 644 $oldlib'
7469 old_postuninstall_cmds=
7471 if test -n "$RANLIB"; then
7474 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7477 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7480 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7485 lock_old_archive_extraction=yes ;;
7487 lock_old_archive_extraction=no ;;
7528 # If no C compiler was specified, use CC.
7531 # If no C compiler flags were specified, use CFLAGS.
7532 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7534 # Allow CC to be a program name with arguments.
7538 # Check for command to grab the raw symbol name followed by C symbol from nm.
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7540 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7541 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7542 $as_echo_n "(cached) " >&6
7545 # These are sane defaults that work on at least a few old systems.
7546 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7548 # Character class describing NM global symbol codes.
7549 symcode='[BCDEGRST]'
7551 # Regexp to match symbols that can be accessed directly from C.
7552 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7554 # Define system-specific variables.
7559 cygwin* | mingw* | pw32* | cegcc*)
7560 symcode='[ABCDGISTW]'
7563 if test "$host_cpu" = ia64; then
7564 symcode='[ABCDEGRST]'
7568 symcode='[BCDEGRST]'
7571 symcode='[BCDEGQRST]'
7582 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7590 # If we're using GNU nm, then use its standard symbol codes.
7591 case `$NM -V 2>&1` in
7592 *GNU* | *'with BFD'*)
7593 symcode='[ABCDGIRSTW]' ;;
7596 # Transform an extracted symbol line into a proper C declaration.
7597 # Some systems (esp. on ia64) link data and code symbols differently,
7598 # so use this general approach.
7599 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7601 # Transform an extracted symbol line into symbol name and symbol address
7602 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7603 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'"
7605 # Handle CRLF in mingw tool chain
7609 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7613 # Try without a prefix underscore, then with it.
7614 for ac_symprfx in "" "_"; do
7616 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7617 symxfrm="\\1 $ac_symprfx\\2 \\2"
7619 # Write the raw and C identifiers.
7620 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7621 # Fake it for dumpbin and say T for any non-static function
7622 # and D for any global variable.
7623 # Also find C++ and __fastcall symbols from MSVC++,
7624 # which start with @ or ?.
7625 lt_cv_sys_global_symbol_pipe="$AWK '"\
7626 " {last_section=section; section=\$ 3};"\
7627 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7628 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7629 " \$ 0!~/External *\|/{next};"\
7630 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7631 " {if(hide[section]) next};"\
7632 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7633 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7634 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7635 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7636 " ' prfx=^$ac_symprfx"
7638 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7640 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7642 # Check to see that the pipe works correctly.
7646 cat > conftest.$ac_ext <<_LT_EOF
7651 void nm_test_func(void);
7652 void nm_test_func(void){}
7656 int main(){nm_test_var='a';nm_test_func();return(0);}
7659 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7660 (eval $ac_compile) 2>&5
7662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7663 test $ac_status = 0; }; then
7664 # Now try to grab the symbols.
7666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7667 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7670 test $ac_status = 0; } && test -s "$nlist"; then
7671 # Try sorting and uniquifying the output.
7672 if sort "$nlist" | uniq > "$nlist"T; then
7673 mv -f "$nlist"T "$nlist"
7678 # Make sure that we snagged all the symbols we need.
7679 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7680 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7681 cat <<_LT_EOF > conftest.$ac_ext
7682 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7683 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7684 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7685 relocations are performed -- see ld's documentation on pseudo-relocs. */
7686 # define LT_DLSYM_CONST
7687 #elif defined(__osf__)
7688 /* This system does not cope well with relocations in const data. */
7689 # define LT_DLSYM_CONST
7691 # define LT_DLSYM_CONST const
7699 # Now generate the symbol file.
7700 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7702 cat <<_LT_EOF >> conftest.$ac_ext
7704 /* The mapping between symbol names and symbols. */
7705 LT_DLSYM_CONST struct {
7709 lt__PROGRAM__LTX_preloaded_symbols[] =
7711 { "@PROGRAM@", (void *) 0 },
7713 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7714 cat <<\_LT_EOF >> conftest.$ac_ext
7718 /* This works around a problem in FreeBSD linker */
7719 #ifdef FREEBSD_WORKAROUND
7720 static const void *lt_preloaded_setup() {
7721 return lt__PROGRAM__LTX_preloaded_symbols;
7729 # Now try linking the two files.
7730 mv conftest.$ac_objext conftstm.$ac_objext
7731 lt_globsym_save_LIBS=$LIBS
7732 lt_globsym_save_CFLAGS=$CFLAGS
7733 LIBS="conftstm.$ac_objext"
7734 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7735 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7736 (eval $ac_link) 2>&5
7738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7739 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7742 LIBS=$lt_globsym_save_LIBS
7743 CFLAGS=$lt_globsym_save_CFLAGS
7745 echo "cannot find nm_test_func in $nlist" >&5
7748 echo "cannot find nm_test_var in $nlist" >&5
7751 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7754 echo "$progname: failed program was:" >&5
7755 cat conftest.$ac_ext >&5
7757 rm -rf conftest* conftst*
7759 # Do not use the global_symbol_pipe unless it works.
7760 if test "$pipe_works" = yes; then
7763 lt_cv_sys_global_symbol_pipe=
7769 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7770 lt_cv_sys_global_symbol_to_cdecl=
7772 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7774 $as_echo "failed" >&6; }
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7777 $as_echo "ok" >&6; }
7780 # Response file support.
7781 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7782 nm_file_list_spec='@'
7783 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7784 nm_file_list_spec='@'
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7814 $as_echo_n "checking for sysroot... " >&6; }
7816 # Check whether --with-sysroot was given.
7817 if test "${with_sysroot+set}" = set; then :
7818 withval=$with_sysroot;
7825 case ${with_sysroot} in #(
7827 if test "$GCC" = yes; then
7828 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7832 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7838 $as_echo "${with_sysroot}" >&6; }
7839 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7844 $as_echo "${lt_sysroot:-no}" >&6; }
7850 # Check whether --enable-libtool-lock was given.
7851 if test "${enable_libtool_lock+set}" = set; then :
7852 enableval=$enable_libtool_lock;
7855 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7857 # Some flags need to be propagated to the compiler or linker for good
7861 # Find out which ABI we are using.
7862 echo 'int i;' > conftest.$ac_ext
7863 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7864 (eval $ac_compile) 2>&5
7866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7867 test $ac_status = 0; }; then
7868 case `/usr/bin/file conftest.$ac_objext` in
7880 # Find out which ABI we are using.
7881 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7882 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7883 (eval $ac_compile) 2>&5
7885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7886 test $ac_status = 0; }; then
7887 if test "$lt_cv_prog_gnu_ld" = yes; then
7888 case `/usr/bin/file conftest.$ac_objext` in
7890 LD="${LD-ld} -melf32bsmip"
7893 LD="${LD-ld} -melf32bmipn32"
7896 LD="${LD-ld} -melf64bmip"
7900 case `/usr/bin/file conftest.$ac_objext` in
7916 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7917 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7918 # Find out which ABI we are using.
7919 echo 'int i;' > conftest.$ac_ext
7920 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7921 (eval $ac_compile) 2>&5
7923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7924 test $ac_status = 0; }; then
7925 case `/usr/bin/file conftest.o` in
7928 x86_64-*kfreebsd*-gnu)
7929 LD="${LD-ld} -m elf_i386_fbsd"
7932 case `/usr/bin/file conftest.o` in
7934 LD="${LD-ld} -m elf32_x86_64"
7937 LD="${LD-ld} -m elf_i386"
7942 LD="${LD-ld} -m elf32lppclinux"
7945 LD="${LD-ld} -m elf32ppclinux"
7948 LD="${LD-ld} -m elf_s390"
7951 LD="${LD-ld} -m elf32_sparc"
7957 x86_64-*kfreebsd*-gnu)
7958 LD="${LD-ld} -m elf_x86_64_fbsd"
7961 LD="${LD-ld} -m elf_x86_64"
7964 LD="${LD-ld} -m elf64lppc"
7967 LD="${LD-ld} -m elf64ppc"
7969 s390*-*linux*|s390*-*tpf*)
7970 LD="${LD-ld} -m elf64_s390"
7973 LD="${LD-ld} -m elf64_sparc"
7983 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7984 SAVE_CFLAGS="$CFLAGS"
7985 CFLAGS="$CFLAGS -belf"
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7987 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7988 if ${lt_cv_cc_needs_belf+:} false; then :
7989 $as_echo_n "(cached) " >&6
7992 ac_cpp='$CPP $CPPFLAGS'
7993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7998 /* end confdefs.h. */
8008 if ac_fn_c_try_link "$LINENO"; then :
8009 lt_cv_cc_needs_belf=yes
8011 lt_cv_cc_needs_belf=no
8013 rm -f core conftest.err conftest.$ac_objext \
8014 conftest$ac_exeext conftest.$ac_ext
8016 ac_cpp='$CPP $CPPFLAGS'
8017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8023 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8024 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8025 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8026 CFLAGS="$SAVE_CFLAGS"
8030 # Find out which ABI we are using.
8031 echo 'int i;' > conftest.$ac_ext
8032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8033 (eval $ac_compile) 2>&5
8035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8036 test $ac_status = 0; }; then
8037 case `/usr/bin/file conftest.o` in
8039 case $lt_cv_prog_gnu_ld in
8043 LD="${LD-ld} -m elf_x86_64"
8046 LD="${LD-ld} -m elf64_sparc"
8049 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8050 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8055 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8067 need_locks="$enable_libtool_lock"
8069 if test -n "$ac_tool_prefix"; then
8070 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8071 set dummy ${ac_tool_prefix}mt; ac_word=$2
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8073 $as_echo_n "checking for $ac_word... " >&6; }
8074 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8075 $as_echo_n "(cached) " >&6
8077 if test -n "$MANIFEST_TOOL"; then
8078 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8084 test -z "$as_dir" && as_dir=.
8085 for ac_exec_ext in '' $ac_executable_extensions; do
8086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8087 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8097 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8098 if test -n "$MANIFEST_TOOL"; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8100 $as_echo "$MANIFEST_TOOL" >&6; }
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8103 $as_echo "no" >&6; }
8108 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8109 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8110 # Extract the first word of "mt", so it can be a program name with args.
8111 set dummy mt; ac_word=$2
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8113 $as_echo_n "checking for $ac_word... " >&6; }
8114 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8115 $as_echo_n "(cached) " >&6
8117 if test -n "$ac_ct_MANIFEST_TOOL"; then
8118 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8124 test -z "$as_dir" && as_dir=.
8125 for ac_exec_ext in '' $ac_executable_extensions; do
8126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8127 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8137 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8138 if test -n "$ac_ct_MANIFEST_TOOL"; then
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8140 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8143 $as_echo "no" >&6; }
8146 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8149 case $cross_compiling:$ac_tool_warned in
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8153 ac_tool_warned=yes ;;
8155 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8158 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8161 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8163 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8164 if ${lt_cv_path_mainfest_tool+:} false; then :
8165 $as_echo_n "(cached) " >&6
8167 lt_cv_path_mainfest_tool=no
8168 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8169 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8170 cat conftest.err >&5
8171 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8172 lt_cv_path_mainfest_tool=yes
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8177 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8178 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8188 rhapsody* | darwin*)
8189 if test -n "$ac_tool_prefix"; then
8190 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8191 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8193 $as_echo_n "checking for $ac_word... " >&6; }
8194 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8195 $as_echo_n "(cached) " >&6
8197 if test -n "$DSYMUTIL"; then
8198 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8204 test -z "$as_dir" && as_dir=.
8205 for ac_exec_ext in '' $ac_executable_extensions; do
8206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8207 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8217 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8218 if test -n "$DSYMUTIL"; then
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8220 $as_echo "$DSYMUTIL" >&6; }
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8223 $as_echo "no" >&6; }
8228 if test -z "$ac_cv_prog_DSYMUTIL"; then
8229 ac_ct_DSYMUTIL=$DSYMUTIL
8230 # Extract the first word of "dsymutil", so it can be a program name with args.
8231 set dummy dsymutil; ac_word=$2
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8233 $as_echo_n "checking for $ac_word... " >&6; }
8234 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8235 $as_echo_n "(cached) " >&6
8237 if test -n "$ac_ct_DSYMUTIL"; then
8238 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8244 test -z "$as_dir" && as_dir=.
8245 for ac_exec_ext in '' $ac_executable_extensions; do
8246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8247 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8257 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8258 if test -n "$ac_ct_DSYMUTIL"; then
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8260 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8263 $as_echo "no" >&6; }
8266 if test "x$ac_ct_DSYMUTIL" = x; then
8269 case $cross_compiling:$ac_tool_warned in
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8273 ac_tool_warned=yes ;;
8275 DSYMUTIL=$ac_ct_DSYMUTIL
8278 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8281 if test -n "$ac_tool_prefix"; then
8282 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8283 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8285 $as_echo_n "checking for $ac_word... " >&6; }
8286 if ${ac_cv_prog_NMEDIT+:} false; then :
8287 $as_echo_n "(cached) " >&6
8289 if test -n "$NMEDIT"; then
8290 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8296 test -z "$as_dir" && as_dir=.
8297 for ac_exec_ext in '' $ac_executable_extensions; do
8298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8299 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8309 NMEDIT=$ac_cv_prog_NMEDIT
8310 if test -n "$NMEDIT"; then
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8312 $as_echo "$NMEDIT" >&6; }
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8315 $as_echo "no" >&6; }
8320 if test -z "$ac_cv_prog_NMEDIT"; then
8321 ac_ct_NMEDIT=$NMEDIT
8322 # Extract the first word of "nmedit", so it can be a program name with args.
8323 set dummy nmedit; ac_word=$2
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8325 $as_echo_n "checking for $ac_word... " >&6; }
8326 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8327 $as_echo_n "(cached) " >&6
8329 if test -n "$ac_ct_NMEDIT"; then
8330 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8336 test -z "$as_dir" && as_dir=.
8337 for ac_exec_ext in '' $ac_executable_extensions; do
8338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8339 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8349 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8350 if test -n "$ac_ct_NMEDIT"; then
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8352 $as_echo "$ac_ct_NMEDIT" >&6; }
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8355 $as_echo "no" >&6; }
8358 if test "x$ac_ct_NMEDIT" = x; then
8361 case $cross_compiling:$ac_tool_warned in
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8365 ac_tool_warned=yes ;;
8367 NMEDIT=$ac_ct_NMEDIT
8370 NMEDIT="$ac_cv_prog_NMEDIT"
8373 if test -n "$ac_tool_prefix"; then
8374 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8375 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8377 $as_echo_n "checking for $ac_word... " >&6; }
8378 if ${ac_cv_prog_LIPO+:} false; then :
8379 $as_echo_n "(cached) " >&6
8381 if test -n "$LIPO"; then
8382 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8388 test -z "$as_dir" && as_dir=.
8389 for ac_exec_ext in '' $ac_executable_extensions; do
8390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8391 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8401 LIPO=$ac_cv_prog_LIPO
8402 if test -n "$LIPO"; then
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8404 $as_echo "$LIPO" >&6; }
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8407 $as_echo "no" >&6; }
8412 if test -z "$ac_cv_prog_LIPO"; then
8414 # Extract the first word of "lipo", so it can be a program name with args.
8415 set dummy lipo; ac_word=$2
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8417 $as_echo_n "checking for $ac_word... " >&6; }
8418 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8419 $as_echo_n "(cached) " >&6
8421 if test -n "$ac_ct_LIPO"; then
8422 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8428 test -z "$as_dir" && as_dir=.
8429 for ac_exec_ext in '' $ac_executable_extensions; do
8430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8431 ac_cv_prog_ac_ct_LIPO="lipo"
8432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8441 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8442 if test -n "$ac_ct_LIPO"; then
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8444 $as_echo "$ac_ct_LIPO" >&6; }
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8447 $as_echo "no" >&6; }
8450 if test "x$ac_ct_LIPO" = x; then
8453 case $cross_compiling:$ac_tool_warned in
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8457 ac_tool_warned=yes ;;
8462 LIPO="$ac_cv_prog_LIPO"
8465 if test -n "$ac_tool_prefix"; then
8466 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8467 set dummy ${ac_tool_prefix}otool; ac_word=$2
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8469 $as_echo_n "checking for $ac_word... " >&6; }
8470 if ${ac_cv_prog_OTOOL+:} false; then :
8471 $as_echo_n "(cached) " >&6
8473 if test -n "$OTOOL"; then
8474 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8480 test -z "$as_dir" && as_dir=.
8481 for ac_exec_ext in '' $ac_executable_extensions; do
8482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8483 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8493 OTOOL=$ac_cv_prog_OTOOL
8494 if test -n "$OTOOL"; then
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8496 $as_echo "$OTOOL" >&6; }
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8499 $as_echo "no" >&6; }
8504 if test -z "$ac_cv_prog_OTOOL"; then
8506 # Extract the first word of "otool", so it can be a program name with args.
8507 set dummy otool; ac_word=$2
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8509 $as_echo_n "checking for $ac_word... " >&6; }
8510 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8511 $as_echo_n "(cached) " >&6
8513 if test -n "$ac_ct_OTOOL"; then
8514 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8520 test -z "$as_dir" && as_dir=.
8521 for ac_exec_ext in '' $ac_executable_extensions; do
8522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8523 ac_cv_prog_ac_ct_OTOOL="otool"
8524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8533 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8534 if test -n "$ac_ct_OTOOL"; then
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8536 $as_echo "$ac_ct_OTOOL" >&6; }
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8539 $as_echo "no" >&6; }
8542 if test "x$ac_ct_OTOOL" = x; then
8545 case $cross_compiling:$ac_tool_warned in
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8549 ac_tool_warned=yes ;;
8554 OTOOL="$ac_cv_prog_OTOOL"
8557 if test -n "$ac_tool_prefix"; then
8558 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8559 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8561 $as_echo_n "checking for $ac_word... " >&6; }
8562 if ${ac_cv_prog_OTOOL64+:} false; then :
8563 $as_echo_n "(cached) " >&6
8565 if test -n "$OTOOL64"; then
8566 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8572 test -z "$as_dir" && as_dir=.
8573 for ac_exec_ext in '' $ac_executable_extensions; do
8574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8575 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8585 OTOOL64=$ac_cv_prog_OTOOL64
8586 if test -n "$OTOOL64"; then
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8588 $as_echo "$OTOOL64" >&6; }
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8591 $as_echo "no" >&6; }
8596 if test -z "$ac_cv_prog_OTOOL64"; then
8597 ac_ct_OTOOL64=$OTOOL64
8598 # Extract the first word of "otool64", so it can be a program name with args.
8599 set dummy otool64; ac_word=$2
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8601 $as_echo_n "checking for $ac_word... " >&6; }
8602 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8603 $as_echo_n "(cached) " >&6
8605 if test -n "$ac_ct_OTOOL64"; then
8606 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8612 test -z "$as_dir" && as_dir=.
8613 for ac_exec_ext in '' $ac_executable_extensions; do
8614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8615 ac_cv_prog_ac_ct_OTOOL64="otool64"
8616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8625 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8626 if test -n "$ac_ct_OTOOL64"; then
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8628 $as_echo "$ac_ct_OTOOL64" >&6; }
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8631 $as_echo "no" >&6; }
8634 if test "x$ac_ct_OTOOL64" = x; then
8637 case $cross_compiling:$ac_tool_warned in
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8641 ac_tool_warned=yes ;;
8643 OTOOL64=$ac_ct_OTOOL64
8646 OTOOL64="$ac_cv_prog_OTOOL64"
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8676 $as_echo_n "checking for -single_module linker flag... " >&6; }
8677 if ${lt_cv_apple_cc_single_mod+:} false; then :
8678 $as_echo_n "(cached) " >&6
8680 lt_cv_apple_cc_single_mod=no
8681 if test -z "${LT_MULTI_MODULE}"; then
8682 # By default we will add the -single_module flag. You can override
8683 # by either setting the environment variable LT_MULTI_MODULE
8684 # non-empty at configure time, or by adding -multi_module to the
8686 rm -rf libconftest.dylib*
8687 echo "int foo(void){return 1;}" > conftest.c
8688 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8689 -dynamiclib -Wl,-single_module conftest.c" >&5
8690 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8691 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8693 # If there is a non-empty error log, and "single_module"
8694 # appears in it, assume the flag caused a linker warning
8695 if test -s conftest.err && $GREP single_module conftest.err; then
8696 cat conftest.err >&5
8697 # Otherwise, if the output was created with a 0 exit code from
8698 # the compiler, it worked.
8699 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8700 lt_cv_apple_cc_single_mod=yes
8702 cat conftest.err >&5
8704 rm -rf libconftest.dylib*
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8709 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8712 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8713 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8714 $as_echo_n "(cached) " >&6
8716 lt_cv_ld_exported_symbols_list=no
8717 save_LDFLAGS=$LDFLAGS
8718 echo "_main" > conftest.sym
8719 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8731 if ac_fn_c_try_link "$LINENO"; then :
8732 lt_cv_ld_exported_symbols_list=yes
8734 lt_cv_ld_exported_symbols_list=no
8736 rm -f core conftest.err conftest.$ac_objext \
8737 conftest$ac_exeext conftest.$ac_ext
8738 LDFLAGS="$save_LDFLAGS"
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8742 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8745 $as_echo_n "checking for -force_load linker flag... " >&6; }
8746 if ${lt_cv_ld_force_load+:} false; then :
8747 $as_echo_n "(cached) " >&6
8749 lt_cv_ld_force_load=no
8750 cat > conftest.c << _LT_EOF
8751 int forced_loaded() { return 2;}
8753 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8754 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8755 echo "$AR cru libconftest.a conftest.o" >&5
8756 $AR cru libconftest.a conftest.o 2>&5
8757 echo "$RANLIB libconftest.a" >&5
8758 $RANLIB libconftest.a 2>&5
8759 cat > conftest.c << _LT_EOF
8760 int main() { return 0;}
8762 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8763 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8765 if test -s conftest.err && $GREP force_load conftest.err; then
8766 cat conftest.err >&5
8767 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8768 lt_cv_ld_force_load=yes
8770 cat conftest.err >&5
8772 rm -f conftest.err libconftest.a conftest conftest.c
8773 rm -rf conftest.dSYM
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8777 $as_echo "$lt_cv_ld_force_load" >&6; }
8779 rhapsody* | darwin1.[012])
8780 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8782 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8783 darwin*) # darwin 5.x on
8784 # if running on 10.5 or later, the deployment target defaults
8785 # to the OS version, if on x86, and 10.4, the deployment
8786 # target defaults to 10.4. Don't you love it?
8787 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8788 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8789 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8791 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8793 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8797 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8798 _lt_dar_single_mod='$single_module'
8800 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8801 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8803 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8805 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8806 _lt_dsymutil='~$DSYMUTIL $lib || :'
8814 ac_cpp='$CPP $CPPFLAGS'
8815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8819 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8820 # On Suns, sometimes $CPP names a directory.
8821 if test -n "$CPP" && test -d "$CPP"; then
8824 if test -z "$CPP"; then
8825 if ${ac_cv_prog_CPP+:} false; then :
8826 $as_echo_n "(cached) " >&6
8828 # Double quotes because CPP needs to be expanded
8829 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8832 for ac_c_preproc_warn_flag in '' yes
8834 # Use a header file that comes with gcc, so configuring glibc
8835 # with a fresh cross-compiler works.
8836 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8837 # <limits.h> exists even on freestanding compilers.
8838 # On the NeXT, cc -E runs the code through the compiler's parser,
8839 # not just through cpp. "Syntax error" is here to catch this case.
8840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8843 # include <limits.h>
8845 # include <assert.h>
8849 if ac_fn_c_try_cpp "$LINENO"; then :
8852 # Broken: fails on valid input.
8855 rm -f conftest.err conftest.i conftest.$ac_ext
8857 # OK, works on sane cases. Now check whether nonexistent headers
8858 # can be detected and how.
8859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8860 /* end confdefs.h. */
8861 #include <ac_nonexistent.h>
8863 if ac_fn_c_try_cpp "$LINENO"; then :
8864 # Broken: success on invalid input.
8867 # Passes both tests.
8871 rm -f conftest.err conftest.i conftest.$ac_ext
8874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8875 rm -f conftest.i conftest.err conftest.$ac_ext
8876 if $ac_preproc_ok; then :
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8889 $as_echo "$CPP" >&6; }
8891 for ac_c_preproc_warn_flag in '' yes
8893 # Use a header file that comes with gcc, so configuring glibc
8894 # with a fresh cross-compiler works.
8895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8896 # <limits.h> exists even on freestanding compilers.
8897 # On the NeXT, cc -E runs the code through the compiler's parser,
8898 # not just through cpp. "Syntax error" is here to catch this case.
8899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8900 /* end confdefs.h. */
8902 # include <limits.h>
8904 # include <assert.h>
8908 if ac_fn_c_try_cpp "$LINENO"; then :
8911 # Broken: fails on valid input.
8914 rm -f conftest.err conftest.i conftest.$ac_ext
8916 # OK, works on sane cases. Now check whether nonexistent headers
8917 # can be detected and how.
8918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8919 /* end confdefs.h. */
8920 #include <ac_nonexistent.h>
8922 if ac_fn_c_try_cpp "$LINENO"; then :
8923 # Broken: success on invalid input.
8926 # Passes both tests.
8930 rm -f conftest.err conftest.i conftest.$ac_ext
8933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8934 rm -f conftest.i conftest.err conftest.$ac_ext
8935 if $ac_preproc_ok; then :
8938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8940 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8941 See \`config.log' for more details" "$LINENO" 5; }
8945 ac_cpp='$CPP $CPPFLAGS'
8946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8952 $as_echo_n "checking for ANSI C header files... " >&6; }
8953 if ${ac_cv_header_stdc+:} false; then :
8954 $as_echo_n "(cached) " >&6
8956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8957 /* end confdefs.h. */
8971 if ac_fn_c_try_compile "$LINENO"; then :
8972 ac_cv_header_stdc=yes
8974 ac_cv_header_stdc=no
8976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8978 if test $ac_cv_header_stdc = yes; then
8979 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8981 /* end confdefs.h. */
8985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8986 $EGREP "memchr" >/dev/null 2>&1; then :
8989 ac_cv_header_stdc=no
8995 if test $ac_cv_header_stdc = yes; then
8996 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8998 /* end confdefs.h. */
9002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9003 $EGREP "free" >/dev/null 2>&1; then :
9006 ac_cv_header_stdc=no
9012 if test $ac_cv_header_stdc = yes; then
9013 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9014 if test "$cross_compiling" = yes; then :
9017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9021 #if ((' ' & 0x0FF) == 0x020)
9022 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9023 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9025 # define ISLOWER(c) \
9026 (('a' <= (c) && (c) <= 'i') \
9027 || ('j' <= (c) && (c) <= 'r') \
9028 || ('s' <= (c) && (c) <= 'z'))
9029 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9032 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9037 for (i = 0; i < 256; i++)
9038 if (XOR (islower (i), ISLOWER (i))
9039 || toupper (i) != TOUPPER (i))
9044 if ac_fn_c_try_run "$LINENO"; then :
9047 ac_cv_header_stdc=no
9049 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9050 conftest.$ac_objext conftest.beam conftest.$ac_ext
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9056 $as_echo "$ac_cv_header_stdc" >&6; }
9057 if test $ac_cv_header_stdc = yes; then
9059 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9063 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9064 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9065 inttypes.h stdint.h unistd.h
9067 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9068 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9070 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9071 cat >>confdefs.h <<_ACEOF
9072 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9080 for ac_header in dlfcn.h
9082 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9084 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9085 cat >>confdefs.h <<_ACEOF
9086 #define HAVE_DLFCN_H 1
9095 func_stripname_cnf ()
9098 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
9099 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
9101 } # func_stripname_cnf
9108 enable_win32_dll=yes
9111 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
9112 if test -n "$ac_tool_prefix"; then
9113 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9114 set dummy ${ac_tool_prefix}as; ac_word=$2
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9116 $as_echo_n "checking for $ac_word... " >&6; }
9117 if ${ac_cv_prog_AS+:} false; then :
9118 $as_echo_n "(cached) " >&6
9120 if test -n "$AS"; then
9121 ac_cv_prog_AS="$AS" # Let the user override the test.
9123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9127 test -z "$as_dir" && as_dir=.
9128 for ac_exec_ext in '' $ac_executable_extensions; do
9129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9130 ac_cv_prog_AS="${ac_tool_prefix}as"
9131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9141 if test -n "$AS"; then
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9143 $as_echo "$AS" >&6; }
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9146 $as_echo "no" >&6; }
9151 if test -z "$ac_cv_prog_AS"; then
9153 # Extract the first word of "as", so it can be a program name with args.
9154 set dummy as; ac_word=$2
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9156 $as_echo_n "checking for $ac_word... " >&6; }
9157 if ${ac_cv_prog_ac_ct_AS+:} false; then :
9158 $as_echo_n "(cached) " >&6
9160 if test -n "$ac_ct_AS"; then
9161 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9167 test -z "$as_dir" && as_dir=.
9168 for ac_exec_ext in '' $ac_executable_extensions; do
9169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9170 ac_cv_prog_ac_ct_AS="as"
9171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9180 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9181 if test -n "$ac_ct_AS"; then
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9183 $as_echo "$ac_ct_AS" >&6; }
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9186 $as_echo "no" >&6; }
9189 if test "x$ac_ct_AS" = x; then
9192 case $cross_compiling:$ac_tool_warned in
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9196 ac_tool_warned=yes ;;
9204 if test -n "$ac_tool_prefix"; then
9205 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9206 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9208 $as_echo_n "checking for $ac_word... " >&6; }
9209 if ${ac_cv_prog_DLLTOOL+:} false; then :
9210 $as_echo_n "(cached) " >&6
9212 if test -n "$DLLTOOL"; then
9213 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9219 test -z "$as_dir" && as_dir=.
9220 for ac_exec_ext in '' $ac_executable_extensions; do
9221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9222 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9232 DLLTOOL=$ac_cv_prog_DLLTOOL
9233 if test -n "$DLLTOOL"; then
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9235 $as_echo "$DLLTOOL" >&6; }
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9238 $as_echo "no" >&6; }
9243 if test -z "$ac_cv_prog_DLLTOOL"; then
9244 ac_ct_DLLTOOL=$DLLTOOL
9245 # Extract the first word of "dlltool", so it can be a program name with args.
9246 set dummy dlltool; ac_word=$2
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9248 $as_echo_n "checking for $ac_word... " >&6; }
9249 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
9250 $as_echo_n "(cached) " >&6
9252 if test -n "$ac_ct_DLLTOOL"; then
9253 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9259 test -z "$as_dir" && as_dir=.
9260 for ac_exec_ext in '' $ac_executable_extensions; do
9261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9262 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9272 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9273 if test -n "$ac_ct_DLLTOOL"; then
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9275 $as_echo "$ac_ct_DLLTOOL" >&6; }
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9278 $as_echo "no" >&6; }
9281 if test "x$ac_ct_DLLTOOL" = x; then
9284 case $cross_compiling:$ac_tool_warned in
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9288 ac_tool_warned=yes ;;
9290 DLLTOOL=$ac_ct_DLLTOOL
9293 DLLTOOL="$ac_cv_prog_DLLTOOL"
9296 if test -n "$ac_tool_prefix"; then
9297 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9298 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9300 $as_echo_n "checking for $ac_word... " >&6; }
9301 if ${ac_cv_prog_OBJDUMP+:} false; then :
9302 $as_echo_n "(cached) " >&6
9304 if test -n "$OBJDUMP"; then
9305 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9311 test -z "$as_dir" && as_dir=.
9312 for ac_exec_ext in '' $ac_executable_extensions; do
9313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9314 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9324 OBJDUMP=$ac_cv_prog_OBJDUMP
9325 if test -n "$OBJDUMP"; then
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9327 $as_echo "$OBJDUMP" >&6; }
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9330 $as_echo "no" >&6; }
9335 if test -z "$ac_cv_prog_OBJDUMP"; then
9336 ac_ct_OBJDUMP=$OBJDUMP
9337 # Extract the first word of "objdump", so it can be a program name with args.
9338 set dummy objdump; ac_word=$2
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9340 $as_echo_n "checking for $ac_word... " >&6; }
9341 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9342 $as_echo_n "(cached) " >&6
9344 if test -n "$ac_ct_OBJDUMP"; then
9345 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9351 test -z "$as_dir" && as_dir=.
9352 for ac_exec_ext in '' $ac_executable_extensions; do
9353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9354 ac_cv_prog_ac_ct_OBJDUMP="objdump"
9355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9364 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9365 if test -n "$ac_ct_OBJDUMP"; then
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9367 $as_echo "$ac_ct_OBJDUMP" >&6; }
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9370 $as_echo "no" >&6; }
9373 if test "x$ac_ct_OBJDUMP" = x; then
9376 case $cross_compiling:$ac_tool_warned in
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9380 ac_tool_warned=yes ;;
9382 OBJDUMP=$ac_ct_OBJDUMP
9385 OBJDUMP="$ac_cv_prog_OBJDUMP"
9391 test -z "$AS" && AS=as
9397 test -z "$DLLTOOL" && DLLTOOL=dlltool
9403 test -z "$OBJDUMP" && OBJDUMP=objdump
9415 # Check whether --enable-shared was given.
9416 if test "${enable_shared+set}" = set; then :
9417 enableval=$enable_shared; p=${PACKAGE-default}
9419 yes) enable_shared=yes ;;
9420 no) enable_shared=no ;;
9423 # Look at the argument we got. We use all the common list separators.
9424 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9425 for pkg in $enableval; do
9427 if test "X$pkg" = "X$p"; then
9448 # Check whether --with-pic was given.
9449 if test "${with_pic+set}" = set; then :
9450 withval=$with_pic; lt_p=${PACKAGE-default}
9452 yes|no) pic_mode=$withval ;;
9455 # Look at the argument we got. We use all the common list separators.
9456 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9457 for lt_pkg in $withval; do
9459 if test "X$lt_pkg" = "X$lt_p"; then
9471 test -z "$pic_mode" && pic_mode=default
9479 # Check whether --enable-fast-install was given.
9480 if test "${enable_fast_install+set}" = set; then :
9481 enableval=$enable_fast_install; p=${PACKAGE-default}
9483 yes) enable_fast_install=yes ;;
9484 no) enable_fast_install=no ;;
9486 enable_fast_install=no
9487 # Look at the argument we got. We use all the common list separators.
9488 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9489 for pkg in $enableval; do
9491 if test "X$pkg" = "X$p"; then
9492 enable_fast_install=yes
9499 enable_fast_install=yes
9512 # This can be used to rebuild libtool when needed
9513 LIBTOOL_DEPS="$ltmain"
9515 # Always use our own libtool.
9516 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9547 test -z "$LN_S" && LN_S="ln -s"
9562 if test -n "${ZSH_VERSION+set}" ; then
9563 setopt NO_GLOB_SUBST
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9567 $as_echo_n "checking for objdir... " >&6; }
9568 if ${lt_cv_objdir+:} false; then :
9569 $as_echo_n "(cached) " >&6
9571 rm -f .libs 2>/dev/null
9572 mkdir .libs 2>/dev/null
9573 if test -d .libs; then
9576 # MS-DOS does not allow filenames that begin with a dot.
9579 rmdir .libs 2>/dev/null
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9582 $as_echo "$lt_cv_objdir" >&6; }
9583 objdir=$lt_cv_objdir
9589 cat >>confdefs.h <<_ACEOF
9590 #define LT_OBJDIR "$lt_cv_objdir/"
9598 # AIX sometimes has problems with the GCC collect2 program. For some
9599 # reason, if we set the COLLECT_NAMES environment variable, the problems
9600 # vanish in a puff of smoke.
9601 if test "X${COLLECT_NAMES+set}" != Xset; then
9603 export COLLECT_NAMES
9610 can_build_shared=yes
9612 # All known linkers require a `.a' archive for static linking (except MSVC,
9613 # which needs '.lib').
9616 with_gnu_ld="$lt_cv_prog_gnu_ld"
9619 old_CFLAGS="$CFLAGS"
9621 # Set sane defaults for various variables
9622 test -z "$CC" && CC=cc
9623 test -z "$LTCC" && LTCC=$CC
9624 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9625 test -z "$LD" && LD=ld
9626 test -z "$ac_objext" && ac_objext=o
9628 for cc_temp in $compiler""; do
9630 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9631 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9636 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9639 # Only perform the check for file, if the check method requires it
9640 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9641 case $deplibs_check_method in
9643 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9645 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9646 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9647 $as_echo_n "(cached) " >&6
9651 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9654 lt_save_MAGIC_CMD="$MAGIC_CMD"
9655 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9656 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9657 for ac_dir in $ac_dummy; do
9659 test -z "$ac_dir" && ac_dir=.
9660 if test -f $ac_dir/${ac_tool_prefix}file; then
9661 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9662 if test -n "$file_magic_test_file"; then
9663 case $deplibs_check_method in
9665 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9666 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9667 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9668 $EGREP "$file_magic_regex" > /dev/null; then
9673 *** Warning: the command libtool uses to detect shared libraries,
9674 *** $file_magic_cmd, produces output that libtool cannot recognize.
9675 *** The result is that libtool may fail to recognize shared libraries
9676 *** as such. This will affect the creation of libtool libraries that
9677 *** depend on shared libraries, but programs linked with such libtool
9678 *** libraries will work regardless of this problem. Nevertheless, you
9679 *** may want to report the problem to your system manager and/or to
9680 *** bug-libtool@gnu.org
9690 MAGIC_CMD="$lt_save_MAGIC_CMD"
9695 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9696 if test -n "$MAGIC_CMD"; then
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9698 $as_echo "$MAGIC_CMD" >&6; }
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9701 $as_echo "no" >&6; }
9708 if test -z "$lt_cv_path_MAGIC_CMD"; then
9709 if test -n "$ac_tool_prefix"; then
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9711 $as_echo_n "checking for file... " >&6; }
9712 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9713 $as_echo_n "(cached) " >&6
9717 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9720 lt_save_MAGIC_CMD="$MAGIC_CMD"
9721 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9722 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9723 for ac_dir in $ac_dummy; do
9725 test -z "$ac_dir" && ac_dir=.
9726 if test -f $ac_dir/file; then
9727 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9728 if test -n "$file_magic_test_file"; then
9729 case $deplibs_check_method in
9731 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9732 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9733 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9734 $EGREP "$file_magic_regex" > /dev/null; then
9739 *** Warning: the command libtool uses to detect shared libraries,
9740 *** $file_magic_cmd, produces output that libtool cannot recognize.
9741 *** The result is that libtool may fail to recognize shared libraries
9742 *** as such. This will affect the creation of libtool libraries that
9743 *** depend on shared libraries, but programs linked with such libtool
9744 *** libraries will work regardless of this problem. Nevertheless, you
9745 *** may want to report the problem to your system manager and/or to
9746 *** bug-libtool@gnu.org
9756 MAGIC_CMD="$lt_save_MAGIC_CMD"
9761 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9762 if test -n "$MAGIC_CMD"; then
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9764 $as_echo "$MAGIC_CMD" >&6; }
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9767 $as_echo "no" >&6; }
9780 # Use C for the default configuration in the libtool script
9784 ac_cpp='$CPP $CPPFLAGS'
9785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9790 # Source file extension for C test sources.
9793 # Object file extension for compiled C test sources.
9797 # Code to be used in simple compile tests
9798 lt_simple_compile_test_code="int some_variable = 0;"
9800 # Code to be used in simple link tests
9801 lt_simple_link_test_code='int main(){return(0);}'
9809 # If no C compiler was specified, use CC.
9812 # If no C compiler flags were specified, use CFLAGS.
9813 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9815 # Allow CC to be a program name with arguments.
9818 # Save the default compiler, since it gets overwritten when the other
9819 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9820 compiler_DEFAULT=$CC
9822 # save warnings/boilerplate of simple test code
9823 ac_outfile=conftest.$ac_objext
9824 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9825 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9826 _lt_compiler_boilerplate=`cat conftest.err`
9829 ac_outfile=conftest.$ac_objext
9830 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9831 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9832 _lt_linker_boilerplate=`cat conftest.err`
9837 ## There is no encapsulation within the following macros, do not change
9838 ## the running order or otherwise move them around unless you know exactly
9839 ## what you are doing...
9840 if test -n "$compiler"; then
9842 lt_prog_compiler_no_builtin_flag=
9844 if test "$GCC" = yes; then
9845 case $cc_basename in
9847 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9849 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9853 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9854 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9855 $as_echo_n "(cached) " >&6
9857 lt_cv_prog_compiler_rtti_exceptions=no
9858 ac_outfile=conftest.$ac_objext
9859 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9860 lt_compiler_flag="-fno-rtti -fno-exceptions"
9861 # Insert the option either (1) after the last *FLAGS variable, or
9862 # (2) before a word containing "conftest.", or (3) at the end.
9863 # Note that $ac_compile itself does not contain backslashes and begins
9864 # with a dollar sign (not a hyphen), so the echo should work correctly.
9865 # The option is referenced via a variable to avoid confusing sed.
9866 lt_compile=`echo "$ac_compile" | $SED \
9867 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9868 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9869 -e 's:$: $lt_compiler_flag:'`
9870 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9871 (eval "$lt_compile" 2>conftest.err)
9873 cat conftest.err >&5
9874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875 if (exit $ac_status) && test -s "$ac_outfile"; then
9876 # The compiler can only warn and ignore the option if not recognized
9877 # So say no if there are warnings other than the usual output.
9878 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9879 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9880 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9881 lt_cv_prog_compiler_rtti_exceptions=yes
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9888 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9890 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9891 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9903 lt_prog_compiler_wl=
9904 lt_prog_compiler_pic=
9905 lt_prog_compiler_static=
9908 if test "$GCC" = yes; then
9909 lt_prog_compiler_wl='-Wl,'
9910 lt_prog_compiler_static='-static'
9914 # All AIX code is PIC.
9915 if test "$host_cpu" = ia64; then
9916 # AIX 5 now supports IA64 processor
9917 lt_prog_compiler_static='-Bstatic'
9924 # see comment about AmigaOS4 .so support
9925 lt_prog_compiler_pic='-fPIC'
9928 # FIXME: we need at least 68020 code to build shared libraries, but
9929 # adding the `-m68020' flag to GCC prevents building anything better,
9931 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9936 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9937 # PIC is the default for these OSes.
9940 mingw* | cygwin* | pw32* | os2* | cegcc*)
9941 # This hack is so that the source file can tell whether it is being
9942 # built for inclusion in a dll (and should export symbols for example).
9943 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9944 # (--disable-auto-import) libraries
9945 lt_prog_compiler_pic='-DDLL_EXPORT'
9948 darwin* | rhapsody*)
9949 # PIC is the default on this platform
9950 # Common symbols not allowed in MH_DYLIB files
9951 lt_prog_compiler_pic='-fno-common'
9955 # PIC is the default for Haiku.
9956 # The "-static" flag exists, but is broken.
9957 lt_prog_compiler_static=
9961 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9962 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9963 # sets the default TLS model and affects inlining.
9969 lt_prog_compiler_pic='-fPIC'
9975 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9976 # Instead, we relocate shared libraries at runtime.
9980 # Just because we use GCC doesn't mean we suddenly get shared libraries
9981 # on systems that don't support them.
9982 lt_prog_compiler_can_build_shared=no
9987 # QNX uses GNU C++, but need to define -shared option too, otherwise
9989 lt_prog_compiler_pic='-fPIC -shared'
9993 if test -d /usr/nec; then
9994 lt_prog_compiler_pic=-Kconform_pic
9999 lt_prog_compiler_pic='-fPIC'
10003 case $cc_basename in
10004 nvcc*) # Cuda Compiler Driver 2.2
10005 lt_prog_compiler_wl='-Xlinker '
10006 if test -n "$lt_prog_compiler_pic"; then
10007 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10012 # PORTME Check for flag to pass linker flags through the system compiler.
10015 lt_prog_compiler_wl='-Wl,'
10016 if test "$host_cpu" = ia64; then
10017 # AIX 5 now supports IA64 processor
10018 lt_prog_compiler_static='-Bstatic'
10020 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10024 mingw* | cygwin* | pw32* | os2* | cegcc*)
10025 # This hack is so that the source file can tell whether it is being
10026 # built for inclusion in a dll (and should export symbols for example).
10027 lt_prog_compiler_pic='-DDLL_EXPORT'
10030 hpux9* | hpux10* | hpux11*)
10031 lt_prog_compiler_wl='-Wl,'
10032 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10033 # not for PA HP-UX.
10039 lt_prog_compiler_pic='+Z'
10042 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10043 lt_prog_compiler_static='${wl}-a ${wl}archive'
10046 irix5* | irix6* | nonstopux*)
10047 lt_prog_compiler_wl='-Wl,'
10048 # PIC (with -KPIC) is the default.
10049 lt_prog_compiler_static='-non_shared'
10052 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10053 case $cc_basename in
10054 # old Intel for x86_64 which still supported -KPIC.
10056 lt_prog_compiler_wl='-Wl,'
10057 lt_prog_compiler_pic='-KPIC'
10058 lt_prog_compiler_static='-static'
10060 # icc used to be incompatible with GCC.
10061 # ICC 10 doesn't accept -KPIC any more.
10063 lt_prog_compiler_wl='-Wl,'
10064 lt_prog_compiler_pic='-fPIC'
10065 lt_prog_compiler_static='-static'
10067 # Lahey Fortran 8.1.
10069 lt_prog_compiler_wl='-Wl,'
10070 lt_prog_compiler_pic='--shared'
10071 lt_prog_compiler_static='--static'
10074 # NAG Fortran compiler
10075 lt_prog_compiler_wl='-Wl,-Wl,,'
10076 lt_prog_compiler_pic='-PIC'
10077 lt_prog_compiler_static='-Bstatic'
10079 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10080 # Portland Group compilers (*not* the Pentium gcc compiler,
10081 # which looks to be a dead project)
10082 lt_prog_compiler_wl='-Wl,'
10083 lt_prog_compiler_pic='-fpic'
10084 lt_prog_compiler_static='-Bstatic'
10087 lt_prog_compiler_wl='-Wl,'
10088 # All Alpha code is PIC.
10089 lt_prog_compiler_static='-non_shared'
10091 xl* | bgxl* | bgf* | mpixl*)
10092 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10093 lt_prog_compiler_wl='-Wl,'
10094 lt_prog_compiler_pic='-qpic'
10095 lt_prog_compiler_static='-qstaticlink'
10098 case `$CC -V 2>&1 | sed 5q` in
10099 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10100 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10101 lt_prog_compiler_pic='-KPIC'
10102 lt_prog_compiler_static='-Bstatic'
10103 lt_prog_compiler_wl=''
10105 *Sun\ F* | *Sun*Fortran*)
10106 lt_prog_compiler_pic='-KPIC'
10107 lt_prog_compiler_static='-Bstatic'
10108 lt_prog_compiler_wl='-Qoption ld '
10112 lt_prog_compiler_pic='-KPIC'
10113 lt_prog_compiler_static='-Bstatic'
10114 lt_prog_compiler_wl='-Wl,'
10116 *Intel*\ [CF]*Compiler*)
10117 lt_prog_compiler_wl='-Wl,'
10118 lt_prog_compiler_pic='-fPIC'
10119 lt_prog_compiler_static='-static'
10122 lt_prog_compiler_wl='-Wl,'
10123 lt_prog_compiler_pic='-fpic'
10124 lt_prog_compiler_static='-Bstatic'
10132 lt_prog_compiler_pic='-KPIC'
10133 lt_prog_compiler_static='-Bstatic'
10137 # QNX uses GNU C++, but need to define -shared option too, otherwise
10138 # it will coredump.
10139 lt_prog_compiler_pic='-fPIC -shared'
10142 osf3* | osf4* | osf5*)
10143 lt_prog_compiler_wl='-Wl,'
10144 # All OSF/1 code is PIC.
10145 lt_prog_compiler_static='-non_shared'
10149 lt_prog_compiler_static='-non_shared'
10153 lt_prog_compiler_pic='-KPIC'
10154 lt_prog_compiler_static='-Bstatic'
10155 case $cc_basename in
10156 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10157 lt_prog_compiler_wl='-Qoption ld ';;
10159 lt_prog_compiler_wl='-Wl,';;
10164 lt_prog_compiler_wl='-Qoption ld '
10165 lt_prog_compiler_pic='-PIC'
10166 lt_prog_compiler_static='-Bstatic'
10169 sysv4 | sysv4.2uw2* | sysv4.3*)
10170 lt_prog_compiler_wl='-Wl,'
10171 lt_prog_compiler_pic='-KPIC'
10172 lt_prog_compiler_static='-Bstatic'
10176 if test -d /usr/nec ;then
10177 lt_prog_compiler_pic='-Kconform_pic'
10178 lt_prog_compiler_static='-Bstatic'
10182 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10183 lt_prog_compiler_wl='-Wl,'
10184 lt_prog_compiler_pic='-KPIC'
10185 lt_prog_compiler_static='-Bstatic'
10189 lt_prog_compiler_wl='-Wl,'
10190 lt_prog_compiler_can_build_shared=no
10194 lt_prog_compiler_pic='-pic'
10195 lt_prog_compiler_static='-Bstatic'
10199 lt_prog_compiler_can_build_shared=no
10205 # For platforms which do not support PIC, -DPIC is meaningless:
10207 lt_prog_compiler_pic=
10210 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10215 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10216 if ${lt_cv_prog_compiler_pic+:} false; then :
10217 $as_echo_n "(cached) " >&6
10219 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10222 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10223 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10226 # Check to make sure the PIC flag actually works.
10228 if test -n "$lt_prog_compiler_pic"; then
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10230 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10231 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10232 $as_echo_n "(cached) " >&6
10234 lt_cv_prog_compiler_pic_works=no
10235 ac_outfile=conftest.$ac_objext
10236 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10237 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10238 # Insert the option either (1) after the last *FLAGS variable, or
10239 # (2) before a word containing "conftest.", or (3) at the end.
10240 # Note that $ac_compile itself does not contain backslashes and begins
10241 # with a dollar sign (not a hyphen), so the echo should work correctly.
10242 # The option is referenced via a variable to avoid confusing sed.
10243 lt_compile=`echo "$ac_compile" | $SED \
10244 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10245 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10246 -e 's:$: $lt_compiler_flag:'`
10247 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10248 (eval "$lt_compile" 2>conftest.err)
10250 cat conftest.err >&5
10251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 if (exit $ac_status) && test -s "$ac_outfile"; then
10253 # The compiler can only warn and ignore the option if not recognized
10254 # So say no if there are warnings other than the usual output.
10255 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10256 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10257 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10258 lt_cv_prog_compiler_pic_works=yes
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10265 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10267 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10268 case $lt_prog_compiler_pic in
10270 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10273 lt_prog_compiler_pic=
10274 lt_prog_compiler_can_build_shared=no
10290 # Check to make sure the static flag actually works.
10292 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10294 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10295 if ${lt_cv_prog_compiler_static_works+:} false; then :
10296 $as_echo_n "(cached) " >&6
10298 lt_cv_prog_compiler_static_works=no
10299 save_LDFLAGS="$LDFLAGS"
10300 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10301 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10302 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10303 # The linker can only warn and ignore the option if not recognized
10304 # So say no if there are warnings
10305 if test -s conftest.err; then
10306 # Append any errors to the config.log.
10307 cat conftest.err 1>&5
10308 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10309 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10310 if diff conftest.exp conftest.er2 >/dev/null; then
10311 lt_cv_prog_compiler_static_works=yes
10314 lt_cv_prog_compiler_static_works=yes
10318 LDFLAGS="$save_LDFLAGS"
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10322 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10324 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10327 lt_prog_compiler_static=
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10337 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10338 if ${lt_cv_prog_compiler_c_o+:} false; then :
10339 $as_echo_n "(cached) " >&6
10341 lt_cv_prog_compiler_c_o=no
10342 $RM -r conftest 2>/dev/null
10346 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10348 lt_compiler_flag="-o out/conftest2.$ac_objext"
10349 # Insert the option either (1) after the last *FLAGS variable, or
10350 # (2) before a word containing "conftest.", or (3) at the end.
10351 # Note that $ac_compile itself does not contain backslashes and begins
10352 # with a dollar sign (not a hyphen), so the echo should work correctly.
10353 lt_compile=`echo "$ac_compile" | $SED \
10354 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10355 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10356 -e 's:$: $lt_compiler_flag:'`
10357 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10358 (eval "$lt_compile" 2>out/conftest.err)
10360 cat out/conftest.err >&5
10361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10364 # The compiler can only warn and ignore the option if not recognized
10365 # So say no if there are warnings
10366 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10367 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10368 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10369 lt_cv_prog_compiler_c_o=yes
10374 # SGI C++ compiler will create directory out/ii_files/ for
10375 # template instantiation
10376 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10377 $RM out/* && rmdir out
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10384 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10392 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10393 if ${lt_cv_prog_compiler_c_o+:} false; then :
10394 $as_echo_n "(cached) " >&6
10396 lt_cv_prog_compiler_c_o=no
10397 $RM -r conftest 2>/dev/null
10401 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10403 lt_compiler_flag="-o out/conftest2.$ac_objext"
10404 # Insert the option either (1) after the last *FLAGS variable, or
10405 # (2) before a word containing "conftest.", or (3) at the end.
10406 # Note that $ac_compile itself does not contain backslashes and begins
10407 # with a dollar sign (not a hyphen), so the echo should work correctly.
10408 lt_compile=`echo "$ac_compile" | $SED \
10409 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10410 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10411 -e 's:$: $lt_compiler_flag:'`
10412 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10413 (eval "$lt_compile" 2>out/conftest.err)
10415 cat out/conftest.err >&5
10416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10419 # The compiler can only warn and ignore the option if not recognized
10420 # So say no if there are warnings
10421 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10422 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10423 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10424 lt_cv_prog_compiler_c_o=yes
10429 # SGI C++ compiler will create directory out/ii_files/ for
10430 # template instantiation
10431 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10432 $RM out/* && rmdir out
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10439 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10444 hard_links="nottested"
10445 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10446 # do not overwrite the value of need_locks provided by the user
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10448 $as_echo_n "checking if we can lock with hard links... " >&6; }
10451 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10453 ln conftest.a conftest.b 2>&5 || hard_links=no
10454 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10456 $as_echo "$hard_links" >&6; }
10457 if test "$hard_links" = no; then
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10459 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10472 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10475 allow_undefined_flag=
10476 always_export_symbols=no
10478 archive_expsym_cmds=
10479 compiler_needs_object=no
10480 enable_shared_with_static_runtimes=no
10481 export_dynamic_flag_spec=
10482 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10483 hardcode_automatic=no
10485 hardcode_direct_absolute=no
10486 hardcode_libdir_flag_spec=
10487 hardcode_libdir_separator=
10488 hardcode_minus_L=no
10489 hardcode_shlibpath_var=unsupported
10491 link_all_deplibs=unknown
10493 module_expsym_cmds=
10494 old_archive_from_new_cmds=
10495 old_archive_from_expsyms_cmds=
10496 thread_safe_flag_spec=
10497 whole_archive_flag_spec=
10498 # include_expsyms should be a list of space-separated symbols to be *always*
10499 # included in the symbol list
10501 # exclude_expsyms can be an extended regexp of symbols to exclude
10502 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10503 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10504 # as well as any symbol that contains `d'.
10505 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10506 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10507 # platforms (ab)use it in PIC code, but their linkers get confused if
10508 # the symbol is explicitly referenced. Since portable code cannot
10509 # rely on this symbol name, it's probably fine to never include it in
10510 # preloaded symbol tables.
10511 # Exclude shared library initialization/finalization symbols.
10512 extract_expsyms_cmds=
10515 cygwin* | mingw* | pw32* | cegcc*)
10516 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10517 # When not using gcc, we currently assume that we are using
10518 # Microsoft Visual C++.
10519 if test "$GCC" != yes; then
10524 # we just hope/assume this is gcc and not c89 (= MSVC++)
10530 linux* | k*bsd*-gnu | gnu*)
10531 link_all_deplibs=no
10537 # On some targets, GNU ld is compatible enough with the native linker
10538 # that we're better off using the native interface for both.
10539 lt_use_gnu_ld_interface=no
10540 if test "$with_gnu_ld" = yes; then
10543 # The AIX port of GNU ld has always aspired to compatibility
10544 # with the native linker. However, as the warning in the GNU ld
10545 # block says, versions before 2.19.5* couldn't really create working
10546 # shared libraries, regardless of the interface used.
10547 case `$LD -v 2>&1` in
10548 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10549 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10550 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10552 lt_use_gnu_ld_interface=yes
10557 lt_use_gnu_ld_interface=yes
10562 if test "$lt_use_gnu_ld_interface" = yes; then
10563 # If archive_cmds runs LD, not CC, wlarc should be empty
10566 # Set some defaults for GNU ld with shared library support. These
10567 # are reset later if shared libraries are not supported. Putting them
10568 # here allows them to be overridden if necessary.
10569 runpath_var=LD_RUN_PATH
10570 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10571 export_dynamic_flag_spec='${wl}--export-dynamic'
10572 # ancient GNU ld didn't support --whole-archive et. al.
10573 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10574 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10576 whole_archive_flag_spec=
10578 supports_anon_versioning=no
10579 case `$LD -v 2>&1` in
10580 *GNU\ gold*) supports_anon_versioning=yes ;;
10581 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10582 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10583 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10584 *\ 2.11.*) ;; # other 2.11 versions
10585 *) supports_anon_versioning=yes ;;
10588 # See if GNU ld supports shared libraries.
10591 # On AIX/PPC, the GNU linker is very broken
10592 if test "$host_cpu" != ia64; then
10596 *** Warning: the GNU linker, at least up to release 2.19, is reported
10597 *** to be unable to reliably create shared libraries on AIX.
10598 *** Therefore, libtool is disabling shared libraries support. If you
10599 *** really care for shared libraries, you may want to install binutils
10600 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10601 *** You will then need to restart the configuration process.
10610 # see comment about AmigaOS4 .so support
10611 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10612 archive_expsym_cmds=''
10615 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)'
10616 hardcode_libdir_flag_spec='-L$libdir'
10617 hardcode_minus_L=yes
10623 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10624 allow_undefined_flag=unsupported
10625 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10626 # support --undefined. This deserves some investigation. FIXME
10627 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10633 cygwin* | mingw* | pw32* | cegcc*)
10634 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10635 # as there is no search path for DLLs.
10636 hardcode_libdir_flag_spec='-L$libdir'
10637 export_dynamic_flag_spec='${wl}--export-all-symbols'
10638 allow_undefined_flag=unsupported
10639 always_export_symbols=no
10640 enable_shared_with_static_runtimes=yes
10641 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'
10642 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10644 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10645 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10646 # If the export-symbols file already is a .def file (1st line
10647 # is EXPORTS), use it as is; otherwise, prepend...
10648 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10649 cp $export_symbols $output_objdir/$soname.def;
10651 echo EXPORTS > $output_objdir/$soname.def;
10652 cat $export_symbols >> $output_objdir/$soname.def;
10654 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10661 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10662 link_all_deplibs=yes
10667 hardcode_shlibpath_var=no
10668 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10669 export_dynamic_flag_spec='${wl}-E'
10670 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10671 # Instead, shared libraries are loaded at an image base (0x10000000 by
10672 # default) and relocated if they conflict, which is a slow very memory
10673 # consuming and fragmenting process. To avoid this, we pick a random,
10674 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10675 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10676 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10677 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'
10680 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10682 if test "$host_os" = linux-dietlibc; then
10683 case $cc_basename in
10684 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10687 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10688 && test "$tmp_diet" = no
10690 tmp_addflag=' $pic_flag'
10691 tmp_sharedflag='-shared'
10692 case $cc_basename,$host_cpu in
10693 pgcc*) # Portland Group C compiler
10694 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'
10695 tmp_addflag=' $pic_flag'
10697 pgf77* | pgf90* | pgf95* | pgfortran*)
10698 # Portland Group f77 and f90 compilers
10699 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'
10700 tmp_addflag=' $pic_flag -Mnomain' ;;
10701 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10702 tmp_addflag=' -i_dynamic' ;;
10703 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10704 tmp_addflag=' -i_dynamic -nofor_main' ;;
10705 ifc* | ifort*) # Intel Fortran compiler
10706 tmp_addflag=' -nofor_main' ;;
10707 lf95*) # Lahey Fortran 8.1
10708 whole_archive_flag_spec=
10709 tmp_sharedflag='--shared' ;;
10710 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10711 tmp_sharedflag='-qmkshrobj'
10713 nvcc*) # Cuda Compiler Driver 2.2
10714 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'
10715 compiler_needs_object=yes
10718 case `$CC -V 2>&1 | sed 5q` in
10719 *Sun\ C*) # Sun C 5.9
10720 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'
10721 compiler_needs_object=yes
10722 tmp_sharedflag='-G' ;;
10723 *Sun\ F*) # Sun Fortran 8.3
10724 tmp_sharedflag='-G' ;;
10726 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10728 if test "x$supports_anon_versioning" = xyes; then
10729 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10730 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10731 echo "local: *; };" >> $output_objdir/$libname.ver~
10732 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10735 case $cc_basename in
10736 xlf* | bgf* | bgxlf* | mpixlf*)
10737 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10738 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10739 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10740 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10741 if test "x$supports_anon_versioning" = xyes; then
10742 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10743 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10744 echo "local: *; };" >> $output_objdir/$libname.ver~
10745 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10754 netbsd* | netbsdelf*-gnu)
10755 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10756 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10759 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10760 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10765 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10769 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10770 *** create shared libraries on Solaris systems. Therefore, libtool
10771 *** is disabling shared libraries support. We urge you to upgrade GNU
10772 *** binutils to release 2.9.1 or newer. Another option is to modify
10773 *** your PATH or compiler configuration so that the native linker is
10774 *** used, and then restart.
10777 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10778 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10779 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10785 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10786 case `$LD -v 2>&1` in
10787 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10791 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10792 *** reliably create shared libraries on SCO systems. Therefore, libtool
10793 *** is disabling shared libraries support. We urge you to upgrade GNU
10794 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10795 *** your PATH or compiler configuration so that the native linker is
10796 *** used, and then restart.
10801 # For security reasons, it is highly recommended that you always
10802 # use absolute paths for naming shared libraries, and exclude the
10803 # DT_RUNPATH tag from executables and libraries. But doing so
10804 # requires that you compile everything twice, which is a pain.
10805 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10806 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10807 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10808 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10817 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10819 hardcode_direct=yes
10820 hardcode_shlibpath_var=no
10824 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10825 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10826 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10833 if test "$ld_shlibs" = no; then
10835 hardcode_libdir_flag_spec=
10836 export_dynamic_flag_spec=
10837 whole_archive_flag_spec=
10840 # PORTME fill in a description of your system's linker (not GNU ld)
10843 allow_undefined_flag=unsupported
10844 always_export_symbols=yes
10845 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'
10846 # Note: this linker hardcodes the directories in LIBPATH if there
10847 # are no directories specified by -L.
10848 hardcode_minus_L=yes
10849 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10850 # Neither direct hardcoding nor static linking is supported with a
10852 hardcode_direct=unsupported
10857 if test "$host_cpu" = ia64; then
10858 # On IA64, the linker does run time linking by default, so we don't
10859 # have to do anything special.
10860 aix_use_runtimelinking=no
10861 exp_sym_flag='-Bexport'
10864 # If we're using GNU nm, then we don't want the "-C" option.
10865 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10866 # Also, AIX nm treats weak defined symbols like other global
10867 # defined symbols, whereas GNU nm marks them as "W".
10868 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10869 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'
10871 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'
10873 aix_use_runtimelinking=no
10875 # Test if we are trying to use run time linking or normal
10876 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10877 # need to do runtime linking.
10878 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10879 for ld_flag in $LDFLAGS; do
10880 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10881 aix_use_runtimelinking=yes
10888 exp_sym_flag='-bexport'
10889 no_entry_flag='-bnoentry'
10892 # When large executables or shared objects are built, AIX ld can
10893 # have problems creating the table of contents. If linking a library
10894 # or program results in "error TOC overflow" add -mminimal-toc to
10895 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10896 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10899 hardcode_direct=yes
10900 hardcode_direct_absolute=yes
10901 hardcode_libdir_separator=':'
10902 link_all_deplibs=yes
10903 file_list_spec='${wl}-f,'
10905 if test "$GCC" = yes; then
10906 case $host_os in aix4.[012]|aix4.[012].*)
10907 # We only want to do this on AIX 4.2 and lower, the check
10908 # below for broken collect2 doesn't work under 4.3+
10909 collect2name=`${CC} -print-prog-name=collect2`
10910 if test -f "$collect2name" &&
10911 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10913 # We have reworked collect2
10916 # We have old collect2
10917 hardcode_direct=unsupported
10918 # It fails to find uninstalled libraries when the uninstalled
10919 # path is not listed in the libpath. Setting hardcode_minus_L
10920 # to unsupported forces relinking
10921 hardcode_minus_L=yes
10922 hardcode_libdir_flag_spec='-L$libdir'
10923 hardcode_libdir_separator=
10927 shared_flag='-shared'
10928 if test "$aix_use_runtimelinking" = yes; then
10929 shared_flag="$shared_flag "'${wl}-G'
10931 link_all_deplibs=no
10934 if test "$host_cpu" = ia64; then
10935 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10936 # chokes on -Wl,-G. The following line is correct:
10939 if test "$aix_use_runtimelinking" = yes; then
10940 shared_flag='${wl}-G'
10942 shared_flag='${wl}-bM:SRE'
10947 export_dynamic_flag_spec='${wl}-bexpall'
10948 # It seems that -bexpall does not export symbols beginning with
10949 # underscore (_), so it is better to generate a list of symbols to export.
10950 always_export_symbols=yes
10951 if test "$aix_use_runtimelinking" = yes; then
10952 # Warning - without using the other runtime loading flags (-brtl),
10953 # -berok will link without error, but may produce a broken library.
10954 allow_undefined_flag='-berok'
10955 # Determine the default libpath from the value encoded in an
10956 # empty executable.
10957 if test "${lt_cv_aix_libpath+set}" = set; then
10958 aix_libpath=$lt_cv_aix_libpath
10960 if ${lt_cv_aix_libpath_+:} false; then :
10961 $as_echo_n "(cached) " >&6
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10974 if ac_fn_c_try_link "$LINENO"; then :
10976 lt_aix_libpath_sed='
10977 /Import File Strings/,/^$/ {
10979 s/^0 *\([^ ]*\) *$/\1/
10983 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10984 # Check for a 64-bit object if we didn't find anything.
10985 if test -z "$lt_cv_aix_libpath_"; then
10986 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10989 rm -f core conftest.err conftest.$ac_objext \
10990 conftest$ac_exeext conftest.$ac_ext
10991 if test -z "$lt_cv_aix_libpath_"; then
10992 lt_cv_aix_libpath_="/usr/lib:/lib"
10997 aix_libpath=$lt_cv_aix_libpath_
11000 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11001 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"
11003 if test "$host_cpu" = ia64; then
11004 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11005 allow_undefined_flag="-z nodefs"
11006 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"
11008 # Determine the default libpath from the value encoded in an
11009 # empty executable.
11010 if test "${lt_cv_aix_libpath+set}" = set; then
11011 aix_libpath=$lt_cv_aix_libpath
11013 if ${lt_cv_aix_libpath_+:} false; then :
11014 $as_echo_n "(cached) " >&6
11016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11027 if ac_fn_c_try_link "$LINENO"; then :
11029 lt_aix_libpath_sed='
11030 /Import File Strings/,/^$/ {
11032 s/^0 *\([^ ]*\) *$/\1/
11036 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11037 # Check for a 64-bit object if we didn't find anything.
11038 if test -z "$lt_cv_aix_libpath_"; then
11039 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11042 rm -f core conftest.err conftest.$ac_objext \
11043 conftest$ac_exeext conftest.$ac_ext
11044 if test -z "$lt_cv_aix_libpath_"; then
11045 lt_cv_aix_libpath_="/usr/lib:/lib"
11050 aix_libpath=$lt_cv_aix_libpath_
11053 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11054 # Warning - without using the other run time loading flags,
11055 # -berok will link without error, but may produce a broken library.
11056 no_undefined_flag=' ${wl}-bernotok'
11057 allow_undefined_flag=' ${wl}-berok'
11058 if test "$with_gnu_ld" = yes; then
11059 # We only use this code for GNU lds that support --whole-archive.
11060 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11062 # Exported symbols can be pulled into shared objects from archives
11063 whole_archive_flag_spec='$convenience'
11065 archive_cmds_need_lc=yes
11066 # This is similar to how AIX traditionally builds its shared libraries.
11067 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'
11075 # see comment about AmigaOS4 .so support
11076 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11077 archive_expsym_cmds=''
11080 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)'
11081 hardcode_libdir_flag_spec='-L$libdir'
11082 hardcode_minus_L=yes
11088 export_dynamic_flag_spec=-rdynamic
11091 cygwin* | mingw* | pw32* | cegcc*)
11092 # When not using gcc, we currently assume that we are using
11093 # Microsoft Visual C++.
11094 # hardcode_libdir_flag_spec is actually meaningless, as there is
11095 # no search path for DLLs.
11096 case $cc_basename in
11099 hardcode_libdir_flag_spec=' '
11100 allow_undefined_flag=unsupported
11101 always_export_symbols=yes
11103 # Tell ltmain to make .lib files, not .a files.
11105 # Tell ltmain to make .dll files, not .so files.
11107 # FIXME: Setting linknames here is a bad hack.
11108 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11109 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11110 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11112 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11114 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11116 # The linker will not automatically build a static lib if we build a DLL.
11117 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11118 enable_shared_with_static_runtimes=yes
11119 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11120 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11122 old_postinstall_cmds='chmod 644 $oldlib'
11123 postlink_cmds='lt_outputfile="@OUTPUT@"~
11124 lt_tool_outputfile="@TOOL_OUTPUT@"~
11125 case $lt_outputfile in
11128 lt_outputfile="$lt_outputfile.exe"
11129 lt_tool_outputfile="$lt_tool_outputfile.exe"
11132 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11133 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11134 $RM "$lt_outputfile.manifest";
11138 # Assume MSVC wrapper
11139 hardcode_libdir_flag_spec=' '
11140 allow_undefined_flag=unsupported
11141 # Tell ltmain to make .lib files, not .a files.
11143 # Tell ltmain to make .dll files, not .so files.
11145 # FIXME: Setting linknames here is a bad hack.
11146 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11147 # The linker will automatically build a .lib file if we build a DLL.
11148 old_archive_from_new_cmds='true'
11149 # FIXME: Should let the user specify the lib program.
11150 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11151 enable_shared_with_static_runtimes=yes
11156 darwin* | rhapsody*)
11159 archive_cmds_need_lc=no
11161 hardcode_automatic=yes
11162 hardcode_shlibpath_var=unsupported
11163 if test "$lt_cv_ld_force_load" = "yes"; then
11164 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\"`'
11167 whole_archive_flag_spec=''
11169 link_all_deplibs=yes
11170 allow_undefined_flag="$_lt_dar_allow_undefined"
11171 case $cc_basename in
11172 ifort*) _lt_dar_can_shared=yes ;;
11173 *) _lt_dar_can_shared=$GCC ;;
11175 if test "$_lt_dar_can_shared" = "yes"; then
11176 output_verbose_link_cmd=func_echo_all
11177 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11178 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11179 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}"
11180 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}"
11189 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11190 hardcode_libdir_flag_spec='-L$libdir'
11191 hardcode_shlibpath_var=no
11194 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11195 # support. Future versions do this automatically, but an explicit c++rt0.o
11196 # does not break anything, and helps significantly (at the cost of a little
11199 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11200 hardcode_libdir_flag_spec='-R$libdir'
11201 hardcode_direct=yes
11202 hardcode_shlibpath_var=no
11205 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11207 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11208 hardcode_direct=yes
11209 hardcode_minus_L=yes
11210 hardcode_shlibpath_var=no
11213 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11214 freebsd* | dragonfly*)
11215 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11216 hardcode_libdir_flag_spec='-R$libdir'
11217 hardcode_direct=yes
11218 hardcode_shlibpath_var=no
11222 if test "$GCC" = yes; then
11223 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'
11225 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'
11227 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11228 hardcode_libdir_separator=:
11229 hardcode_direct=yes
11231 # hardcode_minus_L: Not really in the search PATH,
11232 # but as the default location of the library.
11233 hardcode_minus_L=yes
11234 export_dynamic_flag_spec='${wl}-E'
11238 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11239 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11241 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11243 if test "$with_gnu_ld" = no; then
11244 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11245 hardcode_libdir_separator=:
11246 hardcode_direct=yes
11247 hardcode_direct_absolute=yes
11248 export_dynamic_flag_spec='${wl}-E'
11249 # hardcode_minus_L: Not really in the search PATH,
11250 # but as the default location of the library.
11251 hardcode_minus_L=yes
11256 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11259 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11262 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11265 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11271 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11274 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11278 # Older versions of the 11.00 compiler do not understand -b yet
11279 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11281 $as_echo_n "checking if $CC understands -b... " >&6; }
11282 if ${lt_cv_prog_compiler__b+:} false; then :
11283 $as_echo_n "(cached) " >&6
11285 lt_cv_prog_compiler__b=no
11286 save_LDFLAGS="$LDFLAGS"
11287 LDFLAGS="$LDFLAGS -b"
11288 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11289 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11290 # The linker can only warn and ignore the option if not recognized
11291 # So say no if there are warnings
11292 if test -s conftest.err; then
11293 # Append any errors to the config.log.
11294 cat conftest.err 1>&5
11295 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11296 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11297 if diff conftest.exp conftest.er2 >/dev/null; then
11298 lt_cv_prog_compiler__b=yes
11301 lt_cv_prog_compiler__b=yes
11305 LDFLAGS="$save_LDFLAGS"
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11309 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11311 if test x"$lt_cv_prog_compiler__b" = xyes; then
11312 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11314 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11320 if test "$with_gnu_ld" = no; then
11321 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11322 hardcode_libdir_separator=:
11327 hardcode_shlibpath_var=no
11330 hardcode_direct=yes
11331 hardcode_direct_absolute=yes
11332 export_dynamic_flag_spec='${wl}-E'
11334 # hardcode_minus_L: Not really in the search PATH,
11335 # but as the default location of the library.
11336 hardcode_minus_L=yes
11342 irix5* | irix6* | nonstopux*)
11343 if test "$GCC" = yes; then
11344 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'
11345 # Try to use the -exported_symbol ld option, if it does not
11346 # work, assume that -exports_file does not work either and
11347 # implicitly export all symbols.
11348 # This should be the same for all languages, so no per-tag cache variable.
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11350 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11351 if ${lt_cv_irix_exported_symbol+:} false; then :
11352 $as_echo_n "(cached) " >&6
11354 save_LDFLAGS="$LDFLAGS"
11355 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11358 int foo (void) { return 0; }
11360 if ac_fn_c_try_link "$LINENO"; then :
11361 lt_cv_irix_exported_symbol=yes
11363 lt_cv_irix_exported_symbol=no
11365 rm -f core conftest.err conftest.$ac_objext \
11366 conftest$ac_exeext conftest.$ac_ext
11367 LDFLAGS="$save_LDFLAGS"
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11370 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11371 if test "$lt_cv_irix_exported_symbol" = yes; then
11372 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'
11375 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'
11376 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'
11378 archive_cmds_need_lc='no'
11379 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11380 hardcode_libdir_separator=:
11382 link_all_deplibs=yes
11385 netbsd* | netbsdelf*-gnu)
11386 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11387 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11389 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11391 hardcode_libdir_flag_spec='-R$libdir'
11392 hardcode_direct=yes
11393 hardcode_shlibpath_var=no
11397 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11398 hardcode_direct=yes
11399 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11400 hardcode_libdir_separator=:
11401 hardcode_shlibpath_var=no
11408 if test -f /usr/libexec/ld.so; then
11409 hardcode_direct=yes
11410 hardcode_shlibpath_var=no
11411 hardcode_direct_absolute=yes
11412 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11413 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11414 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11415 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11416 export_dynamic_flag_spec='${wl}-E'
11419 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11420 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11421 hardcode_libdir_flag_spec='-R$libdir'
11424 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11425 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11435 hardcode_libdir_flag_spec='-L$libdir'
11436 hardcode_minus_L=yes
11437 allow_undefined_flag=unsupported
11438 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'
11439 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11443 if test "$GCC" = yes; then
11444 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11445 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'
11447 allow_undefined_flag=' -expect_unresolved \*'
11448 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'
11450 archive_cmds_need_lc='no'
11451 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11452 hardcode_libdir_separator=:
11455 osf4* | osf5*) # as osf3* with the addition of -msym flag
11456 if test "$GCC" = yes; then
11457 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11458 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'
11459 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11461 allow_undefined_flag=' -expect_unresolved \*'
11462 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'
11463 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~
11464 $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'
11466 # Both c and cxx compiler support -rpath directly
11467 hardcode_libdir_flag_spec='-rpath $libdir'
11469 archive_cmds_need_lc='no'
11470 hardcode_libdir_separator=:
11474 no_undefined_flag=' -z defs'
11475 if test "$GCC" = yes; then
11477 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11478 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11479 $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'
11481 case `$CC -V 2>&1` in
11484 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11485 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11486 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11490 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11491 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11492 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11496 hardcode_libdir_flag_spec='-R$libdir'
11497 hardcode_shlibpath_var=no
11499 solaris2.[0-5] | solaris2.[0-5].*) ;;
11501 # The compiler driver will combine and reorder linker options,
11502 # but understands `-z linker_flag'. GCC discards it without `$wl',
11503 # but is careful enough not to reorder.
11504 # Supported since Solaris 2.6 (maybe 2.5.1?)
11505 if test "$GCC" = yes; then
11506 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11508 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11512 link_all_deplibs=yes
11516 if test "x$host_vendor" = xsequent; then
11517 # Use $CC to link under sequent, because it throws in some extra .o
11518 # files that make .init and .fini sections work.
11519 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11521 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11523 hardcode_libdir_flag_spec='-L$libdir'
11524 hardcode_direct=yes
11525 hardcode_minus_L=yes
11526 hardcode_shlibpath_var=no
11530 case $host_vendor in
11532 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11533 hardcode_direct=yes # is this really true???
11536 ## LD is ld it makes a PLAMLIB
11537 ## CC just makes a GrossModule.
11538 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11539 reload_cmds='$CC -r -o $output$reload_objs'
11543 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11544 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11547 runpath_var='LD_RUN_PATH'
11548 hardcode_shlibpath_var=no
11552 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11553 hardcode_shlibpath_var=no
11554 export_dynamic_flag_spec='-Bexport'
11558 if test -d /usr/nec; then
11559 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11560 hardcode_shlibpath_var=no
11561 runpath_var=LD_RUN_PATH
11562 hardcode_runpath_var=yes
11567 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11568 no_undefined_flag='${wl}-z,text'
11569 archive_cmds_need_lc=no
11570 hardcode_shlibpath_var=no
11571 runpath_var='LD_RUN_PATH'
11573 if test "$GCC" = yes; then
11574 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11575 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11577 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11578 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11582 sysv5* | sco3.2v5* | sco5v6*)
11583 # Note: We can NOT use -z defs as we might desire, because we do not
11584 # link with -lc, and that would cause any symbols used from libc to
11585 # always be unresolved, which means just about no library would
11586 # ever link correctly. If we're not using GNU ld we use -z text
11587 # though, which does catch some bad symbols but isn't as heavy-handed
11589 no_undefined_flag='${wl}-z,text'
11590 allow_undefined_flag='${wl}-z,nodefs'
11591 archive_cmds_need_lc=no
11592 hardcode_shlibpath_var=no
11593 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11594 hardcode_libdir_separator=':'
11595 link_all_deplibs=yes
11596 export_dynamic_flag_spec='${wl}-Bexport'
11597 runpath_var='LD_RUN_PATH'
11599 if test "$GCC" = yes; then
11600 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11601 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11603 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11604 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11609 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11610 hardcode_libdir_flag_spec='-L$libdir'
11611 hardcode_shlibpath_var=no
11619 if test x$host_vendor = xsni; then
11621 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11622 export_dynamic_flag_spec='${wl}-Blargedynsym'
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11629 $as_echo "$ld_shlibs" >&6; }
11630 test "$ld_shlibs" = no && can_build_shared=no
11632 with_gnu_ld=$with_gnu_ld
11649 # Do we need to explicitly link libc?
11651 case "x$archive_cmds_need_lc" in
11653 # Assume -lc should be added
11654 archive_cmds_need_lc=yes
11656 if test "$enable_shared" = yes && test "$GCC" = yes; then
11657 case $archive_cmds in
11659 # FIXME: we may have to deal with multi-command sequences.
11662 # Test whether the compiler implicitly links with -lc since on some
11663 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11664 # to ld, don't add -lc before -lgcc.
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11666 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11667 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11668 $as_echo_n "(cached) " >&6
11671 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11673 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11674 (eval $ac_compile) 2>&5
11676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11677 test $ac_status = 0; } 2>conftest.err; then
11680 libobjs=conftest.$ac_objext
11682 wl=$lt_prog_compiler_wl
11683 pic_flag=$lt_prog_compiler_pic
11689 lt_save_allow_undefined_flag=$allow_undefined_flag
11690 allow_undefined_flag=
11691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11692 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11695 test $ac_status = 0; }
11697 lt_cv_archive_cmds_need_lc=no
11699 lt_cv_archive_cmds_need_lc=yes
11701 allow_undefined_flag=$lt_save_allow_undefined_flag
11703 cat conftest.err 1>&5
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11709 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11710 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11869 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11871 if test "$GCC" = yes; then
11873 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11874 *) lt_awk_arg="/^libraries:/" ;;
11877 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11878 *) lt_sed_strip_eq="s,=/,/,g" ;;
11880 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11881 case $lt_search_path_spec in
11883 # if the path contains ";" then we assume it to be the separator
11884 # otherwise default to the standard path separator (i.e. ":") - it is
11885 # assumed that no part of a normal pathname contains ";" but that should
11886 # okay in the real world where ";" in dirpaths is itself problematic.
11887 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11890 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11893 # Ok, now we have the path, separated by spaces, we can step through it
11894 # and add multilib dir if necessary.
11895 lt_tmp_lt_search_path_spec=
11896 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11897 for lt_sys_path in $lt_search_path_spec; do
11898 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11899 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11901 test -d "$lt_sys_path" && \
11902 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11905 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11906 BEGIN {RS=" "; FS="/|\n";} {
11909 for (lt_i = NF; lt_i > 0; lt_i--) {
11910 if ($lt_i != "" && $lt_i != ".") {
11911 if ($lt_i == "..") {
11914 if (lt_count == 0) {
11915 lt_foo="/" $lt_i lt_foo;
11922 if (lt_foo != "") { lt_freq[lt_foo]++; }
11923 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11925 # AWK program above erroneously prepends '/' to C:/dos/paths
11928 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11929 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11931 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11933 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11935 library_names_spec=
11936 libname_spec='lib$name'
11940 postuninstall_cmds=
11944 shlibpath_overrides_runpath=unknown
11946 dynamic_linker="$host_os ld.so"
11947 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11948 need_lib_prefix=unknown
11949 hardcode_into_libs=no
11951 # when you set need_version to no, make sure it does not cause -set_version
11952 # flags to be left without arguments
11953 need_version=unknown
11957 version_type=linux # correct to gnu/linux during the next big refactor
11958 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11959 shlibpath_var=LIBPATH
11961 # AIX 3 has no versioning support, so we append a major version to the name.
11962 soname_spec='${libname}${release}${shared_ext}$major'
11966 version_type=linux # correct to gnu/linux during the next big refactor
11969 hardcode_into_libs=yes
11970 if test "$host_cpu" = ia64; then
11971 # AIX 5 supports IA64
11972 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11973 shlibpath_var=LD_LIBRARY_PATH
11975 # With GCC up to 2.95.x, collect2 would create an import file
11976 # for dependence libraries. The import file would start with
11977 # the line `#! .'. This would cause the generated library to
11978 # depend on `.', always an invalid library. This was fixed in
11979 # development snapshots of GCC prior to 3.0.
11981 aix4 | aix4.[01] | aix4.[01].*)
11982 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11984 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11987 can_build_shared=no
11991 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11992 # soname into executable. Probably we can add versioning support to
11993 # collect2, so additional links can be useful in future.
11994 if test "$aix_use_runtimelinking" = yes; then
11995 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11996 # instead of lib<name>.a to let people know that these are not
11997 # typical AIX shared libraries.
11998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12000 # We preserve .a as extension for shared libraries through AIX4.2
12001 # and later when we are not doing run time linking.
12002 library_names_spec='${libname}${release}.a $libname.a'
12003 soname_spec='${libname}${release}${shared_ext}$major'
12005 shlibpath_var=LIBPATH
12012 # Since July 2007 AmigaOS4 officially supports .so libraries.
12013 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12017 library_names_spec='$libname.ixlibrary $libname.a'
12018 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12019 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'
12025 library_names_spec='${libname}${shared_ext}'
12026 dynamic_linker="$host_os ld.so"
12027 shlibpath_var=LIBRARY_PATH
12031 version_type=linux # correct to gnu/linux during the next big refactor
12033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12034 soname_spec='${libname}${release}${shared_ext}$major'
12035 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12036 shlibpath_var=LD_LIBRARY_PATH
12037 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12038 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12039 # the default ld.so.conf also contains /usr/contrib/lib and
12040 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12041 # libtool to hard-code these into programs
12044 cygwin* | mingw* | pw32* | cegcc*)
12045 version_type=windows
12050 case $GCC,$cc_basename in
12053 library_names_spec='$libname.dll.a'
12054 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12055 postinstall_cmds='base_file=`basename \${file}`~
12056 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12057 dldir=$destdir/`dirname \$dlpath`~
12058 test -d \$dldir || mkdir -p \$dldir~
12059 $install_prog $dir/$dlname \$dldir/$dlname~
12060 chmod a+x \$dldir/$dlname~
12061 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12062 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12064 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12065 dlpath=$dir/\$dldll~
12067 shlibpath_overrides_runpath=yes
12071 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12072 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12074 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12077 # MinGW DLLs use traditional 'lib' prefix
12078 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12081 # pw32 DLLs use 'pw' prefix rather than 'lib'
12082 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12085 dynamic_linker='Win32 ld.exe'
12090 libname_spec='$name'
12091 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12092 library_names_spec='${libname}.dll.lib'
12096 sys_lib_search_path_spec=
12099 for lt_path in $LIB
12102 # Let DOS variable expansion print the short 8.3 style file name.
12103 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12104 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12107 # Convert to MSYS style.
12108 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12111 # Convert to unix form, then to dos form, then back to unix form
12112 # but this time dos style (no spaces!) so that the unix form looks
12113 # like /cygdrive/c/PROGRA~1:/cygdr...
12114 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12115 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12116 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12119 sys_lib_search_path_spec="$LIB"
12120 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12121 # It is most probably a Windows format PATH.
12122 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12124 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12126 # FIXME: find the short name or the path components, as spaces are
12127 # common. (e.g. "Program Files" -> "PROGRA~1")
12131 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12132 postinstall_cmds='base_file=`basename \${file}`~
12133 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12134 dldir=$destdir/`dirname \$dlpath`~
12135 test -d \$dldir || mkdir -p \$dldir~
12136 $install_prog $dir/$dlname \$dldir/$dlname'
12137 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12138 dlpath=$dir/\$dldll~
12140 shlibpath_overrides_runpath=yes
12141 dynamic_linker='Win32 link.exe'
12145 # Assume MSVC wrapper
12146 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12147 dynamic_linker='Win32 ld.exe'
12150 # FIXME: first we should search . and the directory the executable is in
12154 darwin* | rhapsody*)
12155 dynamic_linker="$host_os dyld"
12156 version_type=darwin
12159 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12160 soname_spec='${libname}${release}${major}$shared_ext'
12161 shlibpath_overrides_runpath=yes
12162 shlibpath_var=DYLD_LIBRARY_PATH
12163 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12165 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12166 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12170 version_type=linux # correct to gnu/linux during the next big refactor
12173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12174 soname_spec='${libname}${release}${shared_ext}$major'
12175 shlibpath_var=LD_LIBRARY_PATH
12178 freebsd* | dragonfly*)
12179 # DragonFly does not have aout. When/if they implement a new
12180 # versioning mechanism, adjust this.
12181 if test -x /usr/bin/objformat; then
12182 objformat=`/usr/bin/objformat`
12185 freebsd[23].*) objformat=aout ;;
12186 *) objformat=elf ;;
12189 version_type=freebsd-$objformat
12190 case $version_type in
12192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12197 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12201 shlibpath_var=LD_LIBRARY_PATH
12204 shlibpath_overrides_runpath=yes
12206 freebsd3.[01]* | freebsdelf3.[01]*)
12207 shlibpath_overrides_runpath=yes
12208 hardcode_into_libs=yes
12210 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12211 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12212 shlibpath_overrides_runpath=no
12213 hardcode_into_libs=yes
12215 *) # from 4.6 on, and DragonFly
12216 shlibpath_overrides_runpath=yes
12217 hardcode_into_libs=yes
12223 version_type=linux # correct to gnu/linux during the next big refactor
12226 dynamic_linker="$host_os runtime_loader"
12227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12228 soname_spec='${libname}${release}${shared_ext}$major'
12229 shlibpath_var=LIBRARY_PATH
12230 shlibpath_overrides_runpath=yes
12231 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12232 hardcode_into_libs=yes
12235 hpux9* | hpux10* | hpux11*)
12236 # Give a soname corresponding to the major version so that dld.sl refuses to
12237 # link against other versions.
12244 hardcode_into_libs=yes
12245 dynamic_linker="$host_os dld.so"
12246 shlibpath_var=LD_LIBRARY_PATH
12247 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12249 soname_spec='${libname}${release}${shared_ext}$major'
12250 if test "X$HPUX_IA64_MODE" = X32; then
12251 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12253 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12255 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12259 hardcode_into_libs=yes
12260 dynamic_linker="$host_os dld.sl"
12261 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12262 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12264 soname_spec='${libname}${release}${shared_ext}$major'
12265 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12266 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12270 dynamic_linker="$host_os dld.sl"
12271 shlibpath_var=SHLIB_PATH
12272 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12274 soname_spec='${libname}${release}${shared_ext}$major'
12277 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12278 postinstall_cmds='chmod 555 $lib'
12279 # or fails outright, so override atomically:
12280 install_override_mode=555
12284 version_type=linux # correct to gnu/linux during the next big refactor
12287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12288 soname_spec='${libname}${release}${shared_ext}$major'
12289 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12290 shlibpath_var=LD_LIBRARY_PATH
12291 shlibpath_overrides_runpath=no
12292 hardcode_into_libs=yes
12295 irix5* | irix6* | nonstopux*)
12297 nonstopux*) version_type=nonstopux ;;
12299 if test "$lt_cv_prog_gnu_ld" = yes; then
12300 version_type=linux # correct to gnu/linux during the next big refactor
12307 soname_spec='${libname}${release}${shared_ext}$major'
12308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12310 irix5* | nonstopux*)
12311 libsuff= shlibsuff=
12314 case $LD in # libtool.m4 will add one of these switches to LD
12315 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12316 libsuff= shlibsuff= libmagic=32-bit;;
12317 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12318 libsuff=32 shlibsuff=N32 libmagic=N32;;
12319 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12320 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12321 *) libsuff= shlibsuff= libmagic=never-match;;
12325 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12326 shlibpath_overrides_runpath=no
12327 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12328 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12329 hardcode_into_libs=yes
12332 # No shared lib support for Linux oldld, aout, or coff.
12333 linux*oldld* | linux*aout* | linux*coff*)
12337 # This must be glibc/ELF.
12338 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12339 version_type=linux # correct to gnu/linux during the next big refactor
12342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12343 soname_spec='${libname}${release}${shared_ext}$major'
12344 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12345 shlibpath_var=LD_LIBRARY_PATH
12346 shlibpath_overrides_runpath=no
12348 # Some binutils ld are patched to set DT_RUNPATH
12349 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12350 $as_echo_n "(cached) " >&6
12352 lt_cv_shlibpath_overrides_runpath=no
12353 save_LDFLAGS=$LDFLAGS
12354 save_libdir=$libdir
12355 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12356 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */
12368 if ac_fn_c_try_link "$LINENO"; then :
12369 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12370 lt_cv_shlibpath_overrides_runpath=yes
12373 rm -f core conftest.err conftest.$ac_objext \
12374 conftest$ac_exeext conftest.$ac_ext
12375 LDFLAGS=$save_LDFLAGS
12376 libdir=$save_libdir
12380 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12382 # This implies no fast_install, which is unacceptable.
12383 # Some rework will be needed to allow for fast_install
12384 # before this can be enabled.
12385 hardcode_into_libs=yes
12387 # Append ld.so.conf contents to the search path
12388 if test -f /etc/ld.so.conf; then
12389 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' ' '`
12390 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12393 # We used to test for /lib/ld.so.1 and disable shared libraries on
12394 # powerpc, because MkLinux only supported shared libraries with the
12395 # GNU dynamic linker. Since this was broken with cross compilers,
12396 # most powerpc-linux boxes support dynamic linking these days and
12397 # people can always --disable-shared, the test was removed, and we
12398 # assume the GNU/Linux dynamic linker is in use.
12399 dynamic_linker='GNU/Linux ld.so'
12406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12407 soname_spec='${libname}${release}${shared_ext}$major'
12408 shlibpath_var=LD_LIBRARY_PATH
12409 shlibpath_overrides_runpath=no
12410 hardcode_into_libs=yes
12411 dynamic_linker='NetBSD ld.elf_so'
12418 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12420 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12421 dynamic_linker='NetBSD (a.out) ld.so'
12423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12424 soname_spec='${libname}${release}${shared_ext}$major'
12425 dynamic_linker='NetBSD ld.elf_so'
12427 shlibpath_var=LD_LIBRARY_PATH
12428 shlibpath_overrides_runpath=yes
12429 hardcode_into_libs=yes
12433 version_type=linux # correct to gnu/linux during the next big refactor
12434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12435 shlibpath_var=LD_LIBRARY_PATH
12436 shlibpath_overrides_runpath=yes
12443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12444 soname_spec='${libname}${release}${shared_ext}$major'
12445 shlibpath_var=LD_LIBRARY_PATH
12446 shlibpath_overrides_runpath=no
12447 hardcode_into_libs=yes
12448 dynamic_linker='ldqnx.so'
12453 sys_lib_dlsearch_path_spec="/usr/lib"
12455 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12457 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12458 *) need_version=no ;;
12460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12461 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12462 shlibpath_var=LD_LIBRARY_PATH
12463 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12465 openbsd2.[89] | openbsd2.[89].*)
12466 shlibpath_overrides_runpath=no
12469 shlibpath_overrides_runpath=yes
12473 shlibpath_overrides_runpath=yes
12478 libname_spec='$name'
12481 library_names_spec='$libname${shared_ext} $libname.a'
12482 dynamic_linker='OS/2 ld.exe'
12483 shlibpath_var=LIBPATH
12486 osf3* | osf4* | osf5*)
12490 soname_spec='${libname}${release}${shared_ext}$major'
12491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12492 shlibpath_var=LD_LIBRARY_PATH
12493 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12494 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12502 version_type=linux # correct to gnu/linux during the next big refactor
12505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12506 soname_spec='${libname}${release}${shared_ext}$major'
12507 shlibpath_var=LD_LIBRARY_PATH
12508 shlibpath_overrides_runpath=yes
12509 hardcode_into_libs=yes
12510 # ldd complains unless libraries are executable
12511 postinstall_cmds='chmod +x $lib'
12516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12517 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12518 shlibpath_var=LD_LIBRARY_PATH
12519 shlibpath_overrides_runpath=yes
12520 if test "$with_gnu_ld" = yes; then
12527 version_type=linux # correct to gnu/linux during the next big refactor
12528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12529 soname_spec='${libname}${release}${shared_ext}$major'
12530 shlibpath_var=LD_LIBRARY_PATH
12531 case $host_vendor in
12533 shlibpath_overrides_runpath=no
12535 runpath_var=LD_RUN_PATH
12543 shlibpath_overrides_runpath=no
12544 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12550 if test -d /usr/nec ;then
12551 version_type=linux # correct to gnu/linux during the next big refactor
12552 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12553 soname_spec='$libname${shared_ext}.$major'
12554 shlibpath_var=LD_LIBRARY_PATH
12558 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12559 version_type=freebsd-elf
12562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12563 soname_spec='${libname}${release}${shared_ext}$major'
12564 shlibpath_var=LD_LIBRARY_PATH
12565 shlibpath_overrides_runpath=yes
12566 hardcode_into_libs=yes
12567 if test "$with_gnu_ld" = yes; then
12568 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12570 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12573 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12577 sys_lib_dlsearch_path_spec='/usr/lib'
12581 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12582 version_type=linux # correct to gnu/linux during the next big refactor
12585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12586 shlibpath_var=LD_LIBRARY_PATH
12587 shlibpath_overrides_runpath=no
12588 hardcode_into_libs=yes
12592 version_type=linux # correct to gnu/linux during the next big refactor
12593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12594 soname_spec='${libname}${release}${shared_ext}$major'
12595 shlibpath_var=LD_LIBRARY_PATH
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12603 $as_echo "$dynamic_linker" >&6; }
12604 test "$dynamic_linker" = no && can_build_shared=no
12606 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12607 if test "$GCC" = yes; then
12608 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12611 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12612 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12614 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12615 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12710 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12712 if test -n "$hardcode_libdir_flag_spec" ||
12713 test -n "$runpath_var" ||
12714 test "X$hardcode_automatic" = "Xyes" ; then
12716 # We can hardcode non-existent directories.
12717 if test "$hardcode_direct" != no &&
12718 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12719 # have to relink, otherwise we might link with an installed library
12720 # when we should be linking with a yet-to-be-installed one
12721 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12722 test "$hardcode_minus_L" != no; then
12723 # Linking always hardcodes the temporary library directory.
12724 hardcode_action=relink
12726 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12727 hardcode_action=immediate
12730 # We cannot hardcode anything, or else we can only hardcode existing
12732 hardcode_action=unsupported
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12735 $as_echo "$hardcode_action" >&6; }
12737 if test "$hardcode_action" = relink ||
12738 test "$inherit_rpath" = yes; then
12739 # Fast installation is not supported
12740 enable_fast_install=no
12741 elif test "$shlibpath_overrides_runpath" = yes ||
12742 test "$enable_shared" = no; then
12743 # Fast installation is not necessary
12744 enable_fast_install=needless
12752 if test "x$enable_dlopen" != xyes; then
12753 enable_dlopen=unknown
12754 enable_dlopen_self=unknown
12755 enable_dlopen_self_static=unknown
12762 lt_cv_dlopen="load_add_on"
12764 lt_cv_dlopen_self=yes
12767 mingw* | pw32* | cegcc*)
12768 lt_cv_dlopen="LoadLibrary"
12773 lt_cv_dlopen="dlopen"
12778 # if libdl is installed we need to link against it
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12780 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12781 if ${ac_cv_lib_dl_dlopen+:} false; then :
12782 $as_echo_n "(cached) " >&6
12784 ac_check_lib_save_LIBS=$LIBS
12786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12787 /* end confdefs.h. */
12789 /* Override any GCC internal prototype to avoid an error.
12790 Use char because int might match the return type of a GCC
12791 builtin and then its argument prototype would still apply. */
12804 if ac_fn_c_try_link "$LINENO"; then :
12805 ac_cv_lib_dl_dlopen=yes
12807 ac_cv_lib_dl_dlopen=no
12809 rm -f core conftest.err conftest.$ac_objext \
12810 conftest$ac_exeext conftest.$ac_ext
12811 LIBS=$ac_check_lib_save_LIBS
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12814 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12815 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12816 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12819 lt_cv_dlopen="dyld"
12821 lt_cv_dlopen_self=yes
12828 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12829 if test "x$ac_cv_func_shl_load" = xyes; then :
12830 lt_cv_dlopen="shl_load"
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12833 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12834 if ${ac_cv_lib_dld_shl_load+:} false; then :
12835 $as_echo_n "(cached) " >&6
12837 ac_check_lib_save_LIBS=$LIBS
12839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12840 /* end confdefs.h. */
12842 /* Override any GCC internal prototype to avoid an error.
12843 Use char because int might match the return type of a GCC
12844 builtin and then its argument prototype would still apply. */
12852 return shl_load ();
12857 if ac_fn_c_try_link "$LINENO"; then :
12858 ac_cv_lib_dld_shl_load=yes
12860 ac_cv_lib_dld_shl_load=no
12862 rm -f core conftest.err conftest.$ac_objext \
12863 conftest$ac_exeext conftest.$ac_ext
12864 LIBS=$ac_check_lib_save_LIBS
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12867 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12868 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12869 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12871 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12872 if test "x$ac_cv_func_dlopen" = xyes; then :
12873 lt_cv_dlopen="dlopen"
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12876 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12877 if ${ac_cv_lib_dl_dlopen+:} false; then :
12878 $as_echo_n "(cached) " >&6
12880 ac_check_lib_save_LIBS=$LIBS
12882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12883 /* end confdefs.h. */
12885 /* Override any GCC internal prototype to avoid an error.
12886 Use char because int might match the return type of a GCC
12887 builtin and then its argument prototype would still apply. */
12900 if ac_fn_c_try_link "$LINENO"; then :
12901 ac_cv_lib_dl_dlopen=yes
12903 ac_cv_lib_dl_dlopen=no
12905 rm -f core conftest.err conftest.$ac_objext \
12906 conftest$ac_exeext conftest.$ac_ext
12907 LIBS=$ac_check_lib_save_LIBS
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12910 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12911 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12912 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12915 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12916 if ${ac_cv_lib_svld_dlopen+:} false; then :
12917 $as_echo_n "(cached) " >&6
12919 ac_check_lib_save_LIBS=$LIBS
12920 LIBS="-lsvld $LIBS"
12921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12922 /* end confdefs.h. */
12924 /* Override any GCC internal prototype to avoid an error.
12925 Use char because int might match the return type of a GCC
12926 builtin and then its argument prototype would still apply. */
12939 if ac_fn_c_try_link "$LINENO"; then :
12940 ac_cv_lib_svld_dlopen=yes
12942 ac_cv_lib_svld_dlopen=no
12944 rm -f core conftest.err conftest.$ac_objext \
12945 conftest$ac_exeext conftest.$ac_ext
12946 LIBS=$ac_check_lib_save_LIBS
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12949 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12950 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12951 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12954 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12955 if ${ac_cv_lib_dld_dld_link+:} false; then :
12956 $as_echo_n "(cached) " >&6
12958 ac_check_lib_save_LIBS=$LIBS
12960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12961 /* end confdefs.h. */
12963 /* Override any GCC internal prototype to avoid an error.
12964 Use char because int might match the return type of a GCC
12965 builtin and then its argument prototype would still apply. */
12973 return dld_link ();
12978 if ac_fn_c_try_link "$LINENO"; then :
12979 ac_cv_lib_dld_dld_link=yes
12981 ac_cv_lib_dld_dld_link=no
12983 rm -f core conftest.err conftest.$ac_objext \
12984 conftest$ac_exeext conftest.$ac_ext
12985 LIBS=$ac_check_lib_save_LIBS
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12988 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12989 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12990 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13011 if test "x$lt_cv_dlopen" != xno; then
13017 case $lt_cv_dlopen in
13019 save_CPPFLAGS="$CPPFLAGS"
13020 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13022 save_LDFLAGS="$LDFLAGS"
13023 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13026 LIBS="$lt_cv_dlopen_libs $LIBS"
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13029 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13030 if ${lt_cv_dlopen_self+:} false; then :
13031 $as_echo_n "(cached) " >&6
13033 if test "$cross_compiling" = yes; then :
13034 lt_cv_dlopen_self=cross
13036 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13037 lt_status=$lt_dlunknown
13038 cat > conftest.$ac_ext <<_LT_EOF
13039 #line $LINENO "configure"
13040 #include "confdefs.h"
13049 # define LT_DLGLOBAL RTLD_GLOBAL
13052 # define LT_DLGLOBAL DL_GLOBAL
13054 # define LT_DLGLOBAL 0
13058 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13059 find out it does not work in some platform. */
13060 #ifndef LT_DLLAZY_OR_NOW
13062 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13065 # define LT_DLLAZY_OR_NOW DL_LAZY
13068 # define LT_DLLAZY_OR_NOW RTLD_NOW
13071 # define LT_DLLAZY_OR_NOW DL_NOW
13073 # define LT_DLLAZY_OR_NOW 0
13080 /* When -fvisbility=hidden is used, assume the code has been annotated
13081 correspondingly for the symbols needed. */
13082 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13083 int fnord () __attribute__((visibility("default")));
13086 int fnord () { return 42; }
13089 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13090 int status = $lt_dlunknown;
13094 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13097 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13098 else puts (dlerror ());
13100 /* dlclose (self); */
13108 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13109 (eval $ac_link) 2>&5
13111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13112 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13113 (./conftest; exit; ) >&5 2>/dev/null
13115 case x$lt_status in
13116 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13117 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13118 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13121 # compilation failed
13122 lt_cv_dlopen_self=no
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13130 $as_echo "$lt_cv_dlopen_self" >&6; }
13132 if test "x$lt_cv_dlopen_self" = xyes; then
13133 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13135 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13136 if ${lt_cv_dlopen_self_static+:} false; then :
13137 $as_echo_n "(cached) " >&6
13139 if test "$cross_compiling" = yes; then :
13140 lt_cv_dlopen_self_static=cross
13142 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13143 lt_status=$lt_dlunknown
13144 cat > conftest.$ac_ext <<_LT_EOF
13145 #line $LINENO "configure"
13146 #include "confdefs.h"
13155 # define LT_DLGLOBAL RTLD_GLOBAL
13158 # define LT_DLGLOBAL DL_GLOBAL
13160 # define LT_DLGLOBAL 0
13164 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13165 find out it does not work in some platform. */
13166 #ifndef LT_DLLAZY_OR_NOW
13168 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13171 # define LT_DLLAZY_OR_NOW DL_LAZY
13174 # define LT_DLLAZY_OR_NOW RTLD_NOW
13177 # define LT_DLLAZY_OR_NOW DL_NOW
13179 # define LT_DLLAZY_OR_NOW 0
13186 /* When -fvisbility=hidden is used, assume the code has been annotated
13187 correspondingly for the symbols needed. */
13188 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13189 int fnord () __attribute__((visibility("default")));
13192 int fnord () { return 42; }
13195 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13196 int status = $lt_dlunknown;
13200 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13203 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13204 else puts (dlerror ());
13206 /* dlclose (self); */
13214 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13215 (eval $ac_link) 2>&5
13217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13218 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13219 (./conftest; exit; ) >&5 2>/dev/null
13221 case x$lt_status in
13222 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13223 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13224 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13227 # compilation failed
13228 lt_cv_dlopen_self_static=no
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13236 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13239 CPPFLAGS="$save_CPPFLAGS"
13240 LDFLAGS="$save_LDFLAGS"
13245 case $lt_cv_dlopen_self in
13246 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13247 *) enable_dlopen_self=unknown ;;
13250 case $lt_cv_dlopen_self_static in
13251 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13252 *) enable_dlopen_self_static=unknown ;;
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13275 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13276 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13277 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13278 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13280 $as_echo "yes" >&6; }
13282 # FIXME - insert some real tests, host_os isn't really good enough
13285 if test -n "$STRIP" ; then
13286 striplib="$STRIP -x"
13287 old_striplib="$STRIP -S"
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13289 $as_echo "yes" >&6; }
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13292 $as_echo "no" >&6; }
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13297 $as_echo "no" >&6; }
13313 # Report which library types will actually be built
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13315 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13317 $as_echo "$can_build_shared" >&6; }
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13320 $as_echo_n "checking whether to build shared libraries... " >&6; }
13321 test "$can_build_shared" = "no" && enable_shared=no
13323 # On AIX, shared libraries and static libraries use the same namespace, and
13324 # are all built from PIC.
13327 test "$enable_shared" = yes && enable_static=no
13328 if test -n "$RANLIB"; then
13329 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13330 postinstall_cmds='$RANLIB $lib'
13335 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13336 test "$enable_shared" = yes && enable_static=no
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13341 $as_echo "$enable_shared" >&6; }
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13344 $as_echo_n "checking whether to build static libraries... " >&6; }
13345 # Make sure either enable_shared or enable_static is yes.
13346 test "$enable_shared" = yes || enable_static=yes
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13348 $as_echo "$enable_static" >&6; }
13355 ac_cpp='$CPP $CPPFLAGS'
13356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13362 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13363 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13364 (test "X$CXX" != "Xg++"))) ; then
13366 ac_cpp='$CXXCPP $CPPFLAGS'
13367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13371 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13372 if test -z "$CXXCPP"; then
13373 if ${ac_cv_prog_CXXCPP+:} false; then :
13374 $as_echo_n "(cached) " >&6
13376 # Double quotes because CXXCPP needs to be expanded
13377 for CXXCPP in "$CXX -E" "/lib/cpp"
13379 ac_preproc_ok=false
13380 for ac_cxx_preproc_warn_flag in '' yes
13382 # Use a header file that comes with gcc, so configuring glibc
13383 # with a fresh cross-compiler works.
13384 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13385 # <limits.h> exists even on freestanding compilers.
13386 # On the NeXT, cc -E runs the code through the compiler's parser,
13387 # not just through cpp. "Syntax error" is here to catch this case.
13388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h. */
13391 # include <limits.h>
13393 # include <assert.h>
13397 if ac_fn_cxx_try_cpp "$LINENO"; then :
13400 # Broken: fails on valid input.
13403 rm -f conftest.err conftest.i conftest.$ac_ext
13405 # OK, works on sane cases. Now check whether nonexistent headers
13406 # can be detected and how.
13407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13408 /* end confdefs.h. */
13409 #include <ac_nonexistent.h>
13411 if ac_fn_cxx_try_cpp "$LINENO"; then :
13412 # Broken: success on invalid input.
13415 # Passes both tests.
13419 rm -f conftest.err conftest.i conftest.$ac_ext
13422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13423 rm -f conftest.i conftest.err conftest.$ac_ext
13424 if $ac_preproc_ok; then :
13429 ac_cv_prog_CXXCPP=$CXXCPP
13432 CXXCPP=$ac_cv_prog_CXXCPP
13434 ac_cv_prog_CXXCPP=$CXXCPP
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13437 $as_echo "$CXXCPP" >&6; }
13438 ac_preproc_ok=false
13439 for ac_cxx_preproc_warn_flag in '' yes
13441 # Use a header file that comes with gcc, so configuring glibc
13442 # with a fresh cross-compiler works.
13443 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13444 # <limits.h> exists even on freestanding compilers.
13445 # On the NeXT, cc -E runs the code through the compiler's parser,
13446 # not just through cpp. "Syntax error" is here to catch this case.
13447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13448 /* end confdefs.h. */
13450 # include <limits.h>
13452 # include <assert.h>
13456 if ac_fn_cxx_try_cpp "$LINENO"; then :
13459 # Broken: fails on valid input.
13462 rm -f conftest.err conftest.i conftest.$ac_ext
13464 # OK, works on sane cases. Now check whether nonexistent headers
13465 # can be detected and how.
13466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13467 /* end confdefs.h. */
13468 #include <ac_nonexistent.h>
13470 if ac_fn_cxx_try_cpp "$LINENO"; then :
13471 # Broken: success on invalid input.
13474 # Passes both tests.
13478 rm -f conftest.err conftest.i conftest.$ac_ext
13481 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13482 rm -f conftest.i conftest.err conftest.$ac_ext
13483 if $ac_preproc_ok; then :
13486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13488 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13489 See \`config.log' for more details" "$LINENO" 5; }
13493 ac_cpp='$CPP $CPPFLAGS'
13494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13499 _lt_caught_CXX_error=yes
13503 ac_cpp='$CXXCPP $CPPFLAGS'
13504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13508 archive_cmds_need_lc_CXX=no
13509 allow_undefined_flag_CXX=
13510 always_export_symbols_CXX=no
13511 archive_expsym_cmds_CXX=
13512 compiler_needs_object_CXX=no
13513 export_dynamic_flag_spec_CXX=
13514 hardcode_direct_CXX=no
13515 hardcode_direct_absolute_CXX=no
13516 hardcode_libdir_flag_spec_CXX=
13517 hardcode_libdir_separator_CXX=
13518 hardcode_minus_L_CXX=no
13519 hardcode_shlibpath_var_CXX=unsupported
13520 hardcode_automatic_CXX=no
13521 inherit_rpath_CXX=no
13523 module_expsym_cmds_CXX=
13524 link_all_deplibs_CXX=unknown
13525 old_archive_cmds_CXX=$old_archive_cmds
13526 reload_flag_CXX=$reload_flag
13527 reload_cmds_CXX=$reload_cmds
13528 no_undefined_flag_CXX=
13529 whole_archive_flag_spec_CXX=
13530 enable_shared_with_static_runtimes_CXX=no
13532 # Source file extension for C++ test sources.
13535 # Object file extension for compiled C++ test sources.
13539 # No sense in running all these tests if we already determined that
13540 # the CXX compiler isn't working. Some variables (like enable_shared)
13541 # are currently assumed to apply to all compilers on this platform,
13542 # and will be corrupted by setting them based on a non-working compiler.
13543 if test "$_lt_caught_CXX_error" != yes; then
13544 # Code to be used in simple compile tests
13545 lt_simple_compile_test_code="int some_variable = 0;"
13547 # Code to be used in simple link tests
13548 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13550 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13557 # If no C compiler was specified, use CC.
13560 # If no C compiler flags were specified, use CFLAGS.
13561 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13563 # Allow CC to be a program name with arguments.
13567 # save warnings/boilerplate of simple test code
13568 ac_outfile=conftest.$ac_objext
13569 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13570 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13571 _lt_compiler_boilerplate=`cat conftest.err`
13574 ac_outfile=conftest.$ac_objext
13575 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13576 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13577 _lt_linker_boilerplate=`cat conftest.err`
13581 # Allow CC to be a program name with arguments.
13583 lt_save_CFLAGS=$CFLAGS
13587 lt_save_with_gnu_ld=$with_gnu_ld
13588 lt_save_path_LD=$lt_cv_path_LD
13589 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13590 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13592 $as_unset lt_cv_prog_gnu_ld
13594 if test -n "${lt_cv_path_LDCXX+set}"; then
13595 lt_cv_path_LD=$lt_cv_path_LDCXX
13597 $as_unset lt_cv_path_LD
13599 test -z "${LDCXX+set}" || LD=$LDCXX
13604 for cc_temp in $compiler""; do
13606 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13607 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13612 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13615 if test -n "$compiler"; then
13616 # We don't want -fno-exception when compiling C++ code, so set the
13617 # no_builtin_flag separately
13618 if test "$GXX" = yes; then
13619 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13621 lt_prog_compiler_no_builtin_flag_CXX=
13624 if test "$GXX" = yes; then
13625 # Set up default GNU C++ configuration
13629 # Check whether --with-gnu-ld was given.
13630 if test "${with_gnu_ld+set}" = set; then :
13631 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13637 if test "$GCC" = yes; then
13638 # Check if gcc -print-prog-name=ld gives a path.
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13640 $as_echo_n "checking for ld used by $CC... " >&6; }
13643 # gcc leaves a trailing carriage return which upsets mingw
13644 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13646 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13649 # Accept absolute paths.
13651 re_direlt='/[^/][^/]*/\.\./'
13652 # Canonicalize the pathname of ld
13653 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13654 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13655 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13657 test -z "$LD" && LD="$ac_prog"
13660 # If it fails, then pretend we aren't using GCC.
13664 # If it is relative, then search for the first ld in PATH.
13665 with_gnu_ld=unknown
13668 elif test "$with_gnu_ld" = yes; then
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13670 $as_echo_n "checking for GNU ld... " >&6; }
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13673 $as_echo_n "checking for non-GNU ld... " >&6; }
13675 if ${lt_cv_path_LD+:} false; then :
13676 $as_echo_n "(cached) " >&6
13678 if test -z "$LD"; then
13679 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13680 for ac_dir in $PATH; do
13682 test -z "$ac_dir" && ac_dir=.
13683 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13684 lt_cv_path_LD="$ac_dir/$ac_prog"
13685 # Check to see if the program is GNU ld. I'd rather use --version,
13686 # but apparently some variants of GNU ld only accept -v.
13687 # Break only if it was the GNU/non-GNU ld that we prefer.
13688 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13689 *GNU* | *'with BFD'*)
13690 test "$with_gnu_ld" != no && break
13693 test "$with_gnu_ld" != yes && break
13700 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13704 LD="$lt_cv_path_LD"
13705 if test -n "$LD"; then
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13707 $as_echo "$LD" >&6; }
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13710 $as_echo "no" >&6; }
13712 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13714 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13715 if ${lt_cv_prog_gnu_ld+:} false; then :
13716 $as_echo_n "(cached) " >&6
13718 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13719 case `$LD -v 2>&1 </dev/null` in
13720 *GNU* | *'with BFD'*)
13721 lt_cv_prog_gnu_ld=yes
13724 lt_cv_prog_gnu_ld=no
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13729 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13730 with_gnu_ld=$lt_cv_prog_gnu_ld
13738 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13739 # archiving commands below assume that GNU ld is being used.
13740 if test "$with_gnu_ld" = yes; then
13741 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13742 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'
13744 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13745 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13747 # If archive_cmds runs LD, not CC, wlarc should be empty
13748 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13749 # investigate it a little bit more. (MM)
13752 # ancient GNU ld didn't support --whole-archive et. al.
13753 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13754 $GREP 'no-whole-archive' > /dev/null; then
13755 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13757 whole_archive_flag_spec_CXX=
13763 # A generic and very simple default shared library creation
13764 # command for GNU C++ for the case where it uses the native
13765 # linker, instead of GNU ld. If possible, this setting should
13766 # overridden to take advantage of the native linker features on
13767 # the platform it is being used on.
13768 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13771 # Commands to make compiler produce verbose output that lists
13772 # what "hidden" libraries, object files and flags are used when
13773 # linking a shared library.
13774 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13782 # PORTME: fill in a description of your system's C++ link characteristics
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13784 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13788 # FIXME: insert proper C++ library support
13792 if test "$host_cpu" = ia64; then
13793 # On IA64, the linker does run time linking by default, so we don't
13794 # have to do anything special.
13795 aix_use_runtimelinking=no
13796 exp_sym_flag='-Bexport'
13799 aix_use_runtimelinking=no
13801 # Test if we are trying to use run time linking or normal
13802 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13803 # need to do runtime linking.
13804 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13805 for ld_flag in $LDFLAGS; do
13808 aix_use_runtimelinking=yes
13816 exp_sym_flag='-bexport'
13817 no_entry_flag='-bnoentry'
13820 # When large executables or shared objects are built, AIX ld can
13821 # have problems creating the table of contents. If linking a library
13822 # or program results in "error TOC overflow" add -mminimal-toc to
13823 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13824 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13826 archive_cmds_CXX=''
13827 hardcode_direct_CXX=yes
13828 hardcode_direct_absolute_CXX=yes
13829 hardcode_libdir_separator_CXX=':'
13830 link_all_deplibs_CXX=yes
13831 file_list_spec_CXX='${wl}-f,'
13833 if test "$GXX" = yes; then
13834 case $host_os in aix4.[012]|aix4.[012].*)
13835 # We only want to do this on AIX 4.2 and lower, the check
13836 # below for broken collect2 doesn't work under 4.3+
13837 collect2name=`${CC} -print-prog-name=collect2`
13838 if test -f "$collect2name" &&
13839 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13841 # We have reworked collect2
13844 # We have old collect2
13845 hardcode_direct_CXX=unsupported
13846 # It fails to find uninstalled libraries when the uninstalled
13847 # path is not listed in the libpath. Setting hardcode_minus_L
13848 # to unsupported forces relinking
13849 hardcode_minus_L_CXX=yes
13850 hardcode_libdir_flag_spec_CXX='-L$libdir'
13851 hardcode_libdir_separator_CXX=
13854 shared_flag='-shared'
13855 if test "$aix_use_runtimelinking" = yes; then
13856 shared_flag="$shared_flag "'${wl}-G'
13860 if test "$host_cpu" = ia64; then
13861 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13862 # chokes on -Wl,-G. The following line is correct:
13865 if test "$aix_use_runtimelinking" = yes; then
13866 shared_flag='${wl}-G'
13868 shared_flag='${wl}-bM:SRE'
13873 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13874 # It seems that -bexpall does not export symbols beginning with
13875 # underscore (_), so it is better to generate a list of symbols to
13877 always_export_symbols_CXX=yes
13878 if test "$aix_use_runtimelinking" = yes; then
13879 # Warning - without using the other runtime loading flags (-brtl),
13880 # -berok will link without error, but may produce a broken library.
13881 allow_undefined_flag_CXX='-berok'
13882 # Determine the default libpath from the value encoded in an empty
13884 if test "${lt_cv_aix_libpath+set}" = set; then
13885 aix_libpath=$lt_cv_aix_libpath
13887 if ${lt_cv_aix_libpath__CXX+:} false; then :
13888 $as_echo_n "(cached) " >&6
13890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13891 /* end confdefs.h. */
13901 if ac_fn_cxx_try_link "$LINENO"; then :
13903 lt_aix_libpath_sed='
13904 /Import File Strings/,/^$/ {
13906 s/^0 *\([^ ]*\) *$/\1/
13910 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13911 # Check for a 64-bit object if we didn't find anything.
13912 if test -z "$lt_cv_aix_libpath__CXX"; then
13913 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13916 rm -f core conftest.err conftest.$ac_objext \
13917 conftest$ac_exeext conftest.$ac_ext
13918 if test -z "$lt_cv_aix_libpath__CXX"; then
13919 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13924 aix_libpath=$lt_cv_aix_libpath__CXX
13927 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13929 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"
13931 if test "$host_cpu" = ia64; then
13932 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13933 allow_undefined_flag_CXX="-z nodefs"
13934 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"
13936 # Determine the default libpath from the value encoded in an
13937 # empty executable.
13938 if test "${lt_cv_aix_libpath+set}" = set; then
13939 aix_libpath=$lt_cv_aix_libpath
13941 if ${lt_cv_aix_libpath__CXX+:} false; then :
13942 $as_echo_n "(cached) " >&6
13944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13955 if ac_fn_cxx_try_link "$LINENO"; then :
13957 lt_aix_libpath_sed='
13958 /Import File Strings/,/^$/ {
13960 s/^0 *\([^ ]*\) *$/\1/
13964 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13965 # Check for a 64-bit object if we didn't find anything.
13966 if test -z "$lt_cv_aix_libpath__CXX"; then
13967 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13970 rm -f core conftest.err conftest.$ac_objext \
13971 conftest$ac_exeext conftest.$ac_ext
13972 if test -z "$lt_cv_aix_libpath__CXX"; then
13973 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13978 aix_libpath=$lt_cv_aix_libpath__CXX
13981 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13982 # Warning - without using the other run time loading flags,
13983 # -berok will link without error, but may produce a broken library.
13984 no_undefined_flag_CXX=' ${wl}-bernotok'
13985 allow_undefined_flag_CXX=' ${wl}-berok'
13986 if test "$with_gnu_ld" = yes; then
13987 # We only use this code for GNU lds that support --whole-archive.
13988 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13990 # Exported symbols can be pulled into shared objects from archives
13991 whole_archive_flag_spec_CXX='$convenience'
13993 archive_cmds_need_lc_CXX=yes
13994 # This is similar to how AIX traditionally builds its shared
13996 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'
14002 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14003 allow_undefined_flag_CXX=unsupported
14004 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14005 # support --undefined. This deserves some investigation. FIXME
14006 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14013 case $cc_basename in
14015 # FIXME: insert proper C++ library support
14021 cygwin* | mingw* | pw32* | cegcc*)
14022 case $GXX,$cc_basename in
14025 # hardcode_libdir_flag_spec is actually meaningless, as there is
14026 # no search path for DLLs.
14027 hardcode_libdir_flag_spec_CXX=' '
14028 allow_undefined_flag_CXX=unsupported
14029 always_export_symbols_CXX=yes
14030 file_list_spec_CXX='@'
14031 # Tell ltmain to make .lib files, not .a files.
14033 # Tell ltmain to make .dll files, not .so files.
14035 # FIXME: Setting linknames here is a bad hack.
14036 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
14037 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14038 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
14040 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
14042 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14044 # The linker will not automatically build a static lib if we build a DLL.
14045 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14046 enable_shared_with_static_runtimes_CXX=yes
14048 old_postinstall_cmds_CXX='chmod 644 $oldlib'
14049 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14050 lt_tool_outputfile="@TOOL_OUTPUT@"~
14051 case $lt_outputfile in
14054 lt_outputfile="$lt_outputfile.exe"
14055 lt_tool_outputfile="$lt_tool_outputfile.exe"
14058 func_to_tool_file "$lt_outputfile"~
14059 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
14060 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14061 $RM "$lt_outputfile.manifest";
14066 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14067 # as there is no search path for DLLs.
14068 hardcode_libdir_flag_spec_CXX='-L$libdir'
14069 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
14070 allow_undefined_flag_CXX=unsupported
14071 always_export_symbols_CXX=no
14072 enable_shared_with_static_runtimes_CXX=yes
14074 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14075 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'
14076 # If the export-symbols file already is a .def file (1st line
14077 # is EXPORTS), use it as is; otherwise, prepend...
14078 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14079 cp $export_symbols $output_objdir/$soname.def;
14081 echo EXPORTS > $output_objdir/$soname.def;
14082 cat $export_symbols >> $output_objdir/$soname.def;
14084 $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'
14091 darwin* | rhapsody*)
14094 archive_cmds_need_lc_CXX=no
14095 hardcode_direct_CXX=no
14096 hardcode_automatic_CXX=yes
14097 hardcode_shlibpath_var_CXX=unsupported
14098 if test "$lt_cv_ld_force_load" = "yes"; then
14099 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\"`'
14102 whole_archive_flag_spec_CXX=''
14104 link_all_deplibs_CXX=yes
14105 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14106 case $cc_basename in
14107 ifort*) _lt_dar_can_shared=yes ;;
14108 *) _lt_dar_can_shared=$GCC ;;
14110 if test "$_lt_dar_can_shared" = "yes"; then
14111 output_verbose_link_cmd=func_echo_all
14112 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}"
14113 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14114 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}"
14115 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}"
14116 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14117 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}"
14118 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}"
14128 case $cc_basename in
14130 # FIXME: insert proper C++ library support
14134 # Green Hills C++ Compiler
14135 # FIXME: insert proper C++ library support
14139 # FIXME: insert proper C++ library support
14146 # C++ shared libraries reported to be fairly broken before
14152 archive_cmds_need_lc_CXX=no
14155 freebsd* | dragonfly*)
14156 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14162 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14163 link_all_deplibs_CXX=yes
14167 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14168 hardcode_libdir_separator_CXX=:
14169 export_dynamic_flag_spec_CXX='${wl}-E'
14170 hardcode_direct_CXX=yes
14171 hardcode_minus_L_CXX=yes # Not in the search PATH,
14172 # but as the default
14173 # location of the library.
14175 case $cc_basename in
14177 # FIXME: insert proper C++ library support
14181 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'
14182 # Commands to make compiler produce verbose output that lists
14183 # what "hidden" libraries, object files and flags are used when
14184 # linking a shared library.
14186 # There doesn't appear to be a way to prevent this compiler from
14187 # explicitly linking system object files so we need to strip them
14188 # from the output so that they don't get included in the library
14190 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"'
14193 if test "$GXX" = yes; then
14194 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'
14196 # FIXME: insert proper C++ library support
14204 if test $with_gnu_ld = no; then
14205 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14206 hardcode_libdir_separator_CXX=:
14212 export_dynamic_flag_spec_CXX='${wl}-E'
14218 hardcode_direct_CXX=no
14219 hardcode_shlibpath_var_CXX=no
14222 hardcode_direct_CXX=yes
14223 hardcode_direct_absolute_CXX=yes
14224 hardcode_minus_L_CXX=yes # Not in the search PATH,
14225 # but as the default
14226 # location of the library.
14230 case $cc_basename in
14232 # FIXME: insert proper C++ library support
14238 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14241 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14244 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14247 # Commands to make compiler produce verbose output that lists
14248 # what "hidden" libraries, object files and flags are used when
14249 # linking a shared library.
14251 # There doesn't appear to be a way to prevent this compiler from
14252 # explicitly linking system object files so we need to strip them
14253 # from the output so that they don't get included in the library
14255 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"'
14258 if test "$GXX" = yes; then
14259 if test $with_gnu_ld = no; then
14262 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14265 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14268 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'
14273 # FIXME: insert proper C++ library support
14281 hardcode_direct_CXX=no
14282 hardcode_shlibpath_var_CXX=no
14283 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14284 export_dynamic_flag_spec_CXX='${wl}-E'
14285 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14286 # Instead, shared libraries are loaded at an image base (0x10000000 by
14287 # default) and relocated if they conflict, which is a slow very memory
14288 # consuming and fragmenting process. To avoid this, we pick a random,
14289 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14290 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14291 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'
14292 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'
14295 case $cc_basename in
14298 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'
14300 # Archives containing C++ object files must be created using
14301 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14302 # necessary to make sure instantiated templates are included
14304 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14307 if test "$GXX" = yes; then
14308 if test "$with_gnu_ld" = no; then
14309 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'
14311 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'
14314 link_all_deplibs_CXX=yes
14317 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14318 hardcode_libdir_separator_CXX=:
14319 inherit_rpath_CXX=yes
14322 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14323 case $cc_basename in
14325 # Kuck and Associates, Inc. (KAI) C++ Compiler
14327 # KCC will only create a shared library if the output file
14328 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14329 # to its proper name (with version) after linking.
14330 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'
14331 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'
14332 # Commands to make compiler produce verbose output that lists
14333 # what "hidden" libraries, object files and flags are used when
14334 # linking a shared library.
14336 # There doesn't appear to be a way to prevent this compiler from
14337 # explicitly linking system object files so we need to strip them
14338 # from the output so that they don't get included in the library
14340 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"'
14342 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14343 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14345 # Archives containing C++ object files must be created using
14346 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14347 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14352 # version 8.0 and above of icpc choke on multiply defined symbols
14353 # if we add $predep_objects and $postdep_objects, however 7.1 and
14354 # earlier do not add the objects themselves.
14355 case `$CC -V 2>&1` in
14357 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14358 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'
14360 *) # Version 8.0 or newer
14363 ia64*) tmp_idyn=' -i_dynamic';;
14365 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14366 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'
14369 archive_cmds_need_lc_CXX=no
14370 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14371 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14372 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14375 # Portland Group C++ compiler
14377 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14378 prelink_cmds_CXX='tpldir=Template.dir~
14380 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14381 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14382 old_archive_cmds_CXX='tpldir=Template.dir~
14384 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14385 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14387 archive_cmds_CXX='tpldir=Template.dir~
14389 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14390 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14391 archive_expsym_cmds_CXX='tpldir=Template.dir~
14393 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14394 $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'
14396 *) # Version 6 and above use weak symbols
14397 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14398 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'
14402 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14403 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14404 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'
14408 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14409 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'
14411 runpath_var=LD_RUN_PATH
14412 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14413 hardcode_libdir_separator_CXX=:
14415 # Commands to make compiler produce verbose output that lists
14416 # what "hidden" libraries, object files and flags are used when
14417 # linking a shared library.
14419 # There doesn't appear to be a way to prevent this compiler from
14420 # explicitly linking system object files so we need to strip them
14421 # from the output so that they don't get included in the library
14423 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'
14425 xl* | mpixl* | bgxl*)
14426 # IBM XL 8.0 on PPC, with GNU ld
14427 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14428 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14429 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14430 if test "x$supports_anon_versioning" = xyes; then
14431 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14432 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14433 echo "local: *; };" >> $output_objdir/$libname.ver~
14434 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14438 case `$CC -V 2>&1 | sed 5q` in
14441 no_undefined_flag_CXX=' -zdefs'
14442 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14443 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'
14444 hardcode_libdir_flag_spec_CXX='-R$libdir'
14445 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'
14446 compiler_needs_object_CXX=yes
14448 # Not sure whether something based on
14449 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14451 output_verbose_link_cmd='func_echo_all'
14453 # Archives containing C++ object files must be created using
14454 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14455 # necessary to make sure instantiated templates are included
14457 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14465 # FIXME: insert proper C++ library support
14470 # FIXME: insert proper C++ library support
14475 case $cc_basename in
14477 # FIXME: insert proper C++ library support
14481 # FIXME: insert proper C++ library support
14488 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14489 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14491 hardcode_libdir_flag_spec_CXX='-R$libdir'
14492 hardcode_direct_CXX=yes
14493 hardcode_shlibpath_var_CXX=no
14495 # Workaround some broken pre-1.5 toolchains
14496 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14504 # C++ shared libraries are fairly broken
14509 if test -f /usr/libexec/ld.so; then
14510 hardcode_direct_CXX=yes
14511 hardcode_shlibpath_var_CXX=no
14512 hardcode_direct_absolute_CXX=yes
14513 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14514 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14515 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14516 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14517 export_dynamic_flag_spec_CXX='${wl}-E'
14518 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14520 output_verbose_link_cmd=func_echo_all
14526 osf3* | osf4* | osf5*)
14527 case $cc_basename in
14529 # Kuck and Associates, Inc. (KAI) C++ Compiler
14531 # KCC will only create a shared library if the output file
14532 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14533 # to its proper name (with version) after linking.
14534 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'
14536 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14537 hardcode_libdir_separator_CXX=:
14539 # Archives containing C++ object files must be created using
14540 # the KAI C++ compiler.
14542 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14543 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14547 # Rational C++ 2.4.1
14548 # FIXME: insert proper C++ library support
14554 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14555 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'
14556 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14559 allow_undefined_flag_CXX=' -expect_unresolved \*'
14560 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'
14561 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14562 echo "-hidden">> $lib.exp~
14563 $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~
14565 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14569 hardcode_libdir_separator_CXX=:
14571 # Commands to make compiler produce verbose output that lists
14572 # what "hidden" libraries, object files and flags are used when
14573 # linking a shared library.
14575 # There doesn't appear to be a way to prevent this compiler from
14576 # explicitly linking system object files so we need to strip them
14577 # from the output so that they don't get included in the library
14579 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"'
14582 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14583 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14586 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'
14589 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'
14593 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14594 hardcode_libdir_separator_CXX=:
14596 # Commands to make compiler produce verbose output that lists
14597 # what "hidden" libraries, object files and flags are used when
14598 # linking a shared library.
14599 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14602 # FIXME: insert proper C++ library support
14610 # FIXME: insert proper C++ library support
14615 case $cc_basename in
14618 # FIXME: insert proper C++ library support
14623 # FIXME: insert proper C++ library support
14627 # FIXME: insert proper C++ library support
14634 case $cc_basename in
14636 # Sun C++ 4.2, 5.x and Centerline C++
14637 archive_cmds_need_lc_CXX=yes
14638 no_undefined_flag_CXX=' -zdefs'
14639 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14640 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14641 $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'
14643 hardcode_libdir_flag_spec_CXX='-R$libdir'
14644 hardcode_shlibpath_var_CXX=no
14646 solaris2.[0-5] | solaris2.[0-5].*) ;;
14648 # The compiler driver will combine and reorder linker options,
14649 # but understands `-z linker_flag'.
14650 # Supported since Solaris 2.6 (maybe 2.5.1?)
14651 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14654 link_all_deplibs_CXX=yes
14656 output_verbose_link_cmd='func_echo_all'
14658 # Archives containing C++ object files must be created using
14659 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14660 # necessary to make sure instantiated templates are included
14662 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14665 # Green Hills C++ Compiler
14666 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14668 # The C++ compiler must be used to create the archive.
14669 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14672 # GNU C++ compiler with Solaris linker
14673 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14674 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14675 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14676 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14677 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14678 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14680 # Commands to make compiler produce verbose output that lists
14681 # what "hidden" libraries, object files and flags are used when
14682 # linking a shared library.
14683 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14685 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14687 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14688 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14689 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14691 # Commands to make compiler produce verbose output that lists
14692 # what "hidden" libraries, object files and flags are used when
14693 # linking a shared library.
14694 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14697 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14699 solaris2.[0-5] | solaris2.[0-5].*) ;;
14701 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14709 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14710 no_undefined_flag_CXX='${wl}-z,text'
14711 archive_cmds_need_lc_CXX=no
14712 hardcode_shlibpath_var_CXX=no
14713 runpath_var='LD_RUN_PATH'
14715 case $cc_basename in
14717 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14718 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14721 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14722 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14727 sysv5* | sco3.2v5* | sco5v6*)
14728 # Note: We can NOT use -z defs as we might desire, because we do not
14729 # link with -lc, and that would cause any symbols used from libc to
14730 # always be unresolved, which means just about no library would
14731 # ever link correctly. If we're not using GNU ld we use -z text
14732 # though, which does catch some bad symbols but isn't as heavy-handed
14734 no_undefined_flag_CXX='${wl}-z,text'
14735 allow_undefined_flag_CXX='${wl}-z,nodefs'
14736 archive_cmds_need_lc_CXX=no
14737 hardcode_shlibpath_var_CXX=no
14738 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14739 hardcode_libdir_separator_CXX=':'
14740 link_all_deplibs_CXX=yes
14741 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14742 runpath_var='LD_RUN_PATH'
14744 case $cc_basename in
14746 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14747 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14748 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14749 '"$old_archive_cmds_CXX"
14750 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14751 '"$reload_cmds_CXX"
14754 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14755 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14761 case $cc_basename in
14763 # NonStop-UX NCC 3.20
14764 # FIXME: insert proper C++ library support
14768 # FIXME: insert proper C++ library support
14775 # FIXME: insert proper C++ library support
14780 # FIXME: insert proper C++ library support
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14786 $as_echo "$ld_shlibs_CXX" >&6; }
14787 test "$ld_shlibs_CXX" = no && can_build_shared=no
14793 ## There is no encapsulation within the following macros, do not change
14794 ## the running order or otherwise move them around unless you know exactly
14795 ## what you are doing...
14796 # Dependencies to place before and after the object being linked:
14797 predep_objects_CXX=
14798 postdep_objects_CXX=
14801 compiler_lib_search_path_CXX=
14803 cat > conftest.$ac_ext <<_LT_EOF
14807 Foo (void) { a = 0; }
14814 _lt_libdeps_save_CFLAGS=$CFLAGS
14815 case "$CC $CFLAGS " in #(
14816 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14817 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14818 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14821 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14822 (eval $ac_compile) 2>&5
14824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14825 test $ac_status = 0; }; then
14826 # Parse the compiler output and extract the necessary
14827 # objects, libraries and library flags.
14829 # Sentinel used to keep track of whether or not we are before
14830 # the conftest object file.
14831 pre_test_object_deps_done=no
14833 for p in `eval "$output_verbose_link_cmd"`; do
14834 case ${prev}${p} in
14837 # Some compilers place space between "-{L,R}" and the path.
14838 # Remove the space.
14839 if test $p = "-L" ||
14840 test $p = "-R"; then
14845 # Expand the sysroot to ease extracting the directories later.
14846 if test -z "$prev"; then
14848 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14849 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14850 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14854 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14856 if test "$pre_test_object_deps_done" = no; then
14859 # Internal compiler library paths should come after those
14860 # provided the user. The postdeps already come after the
14861 # user supplied libs so there is no need to process them.
14862 if test -z "$compiler_lib_search_path_CXX"; then
14863 compiler_lib_search_path_CXX="${prev}${p}"
14865 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14868 # The "-l" case would never come before the object being
14869 # linked, so don't bother handling this case.
14872 if test -z "$postdeps_CXX"; then
14873 postdeps_CXX="${prev}${p}"
14875 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14881 *.lto.$objext) ;; # Ignore GCC LTO objects
14883 # This assumes that the test object file only shows up
14884 # once in the compiler output.
14885 if test "$p" = "conftest.$objext"; then
14886 pre_test_object_deps_done=yes
14890 if test "$pre_test_object_deps_done" = no; then
14891 if test -z "$predep_objects_CXX"; then
14892 predep_objects_CXX="$p"
14894 predep_objects_CXX="$predep_objects_CXX $p"
14897 if test -z "$postdep_objects_CXX"; then
14898 postdep_objects_CXX="$p"
14900 postdep_objects_CXX="$postdep_objects_CXX $p"
14905 *) ;; # Ignore the rest.
14913 echo "libtool.m4: error: problem compiling CXX test program"
14916 $RM -f confest.$objext
14917 CFLAGS=$_lt_libdeps_save_CFLAGS
14919 # PORTME: override above test on systems where it is broken
14922 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14923 # hack all around it, let's just trust "g++" to DTRT.
14924 predep_objects_CXX=
14925 postdep_objects_CXX=
14930 case `$CC -V 2>&1 | sed 5q` in
14934 # The more standards-conforming stlport4 library is
14935 # incompatible with the Cstd library. Avoid specifying
14936 # it if it's in CXXFLAGS. Ignore libCrun as
14937 # -library=stlport4 depends on it.
14938 case " $CXX $CXXFLAGS " in
14939 *" -library=stlport4 "*)
14940 solaris_use_stlport4=yes
14944 if test "$solaris_use_stlport4" != yes; then
14945 postdeps_CXX='-library=Cstd -library=Crun'
14952 case $cc_basename in
14954 # The more standards-conforming stlport4 library is
14955 # incompatible with the Cstd library. Avoid specifying
14956 # it if it's in CXXFLAGS. Ignore libCrun as
14957 # -library=stlport4 depends on it.
14958 case " $CXX $CXXFLAGS " in
14959 *" -library=stlport4 "*)
14960 solaris_use_stlport4=yes
14964 # Adding this requires a known-good setup of shared libraries for
14965 # Sun compiler versions before 5.6, else PIC objects from an old
14966 # archive will be linked into the output, leading to subtle bugs.
14967 if test "$solaris_use_stlport4" != yes; then
14968 postdeps_CXX='-library=Cstd -library=Crun'
14976 case " $postdeps_CXX " in
14977 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14979 compiler_lib_search_dirs_CXX=
14980 if test -n "${compiler_lib_search_path_CXX}"; then
14981 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15014 lt_prog_compiler_wl_CXX=
15015 lt_prog_compiler_pic_CXX=
15016 lt_prog_compiler_static_CXX=
15019 # C++ specific cases for pic, static, wl, etc.
15020 if test "$GXX" = yes; then
15021 lt_prog_compiler_wl_CXX='-Wl,'
15022 lt_prog_compiler_static_CXX='-static'
15026 # All AIX code is PIC.
15027 if test "$host_cpu" = ia64; then
15028 # AIX 5 now supports IA64 processor
15029 lt_prog_compiler_static_CXX='-Bstatic'
15036 # see comment about AmigaOS4 .so support
15037 lt_prog_compiler_pic_CXX='-fPIC'
15040 # FIXME: we need at least 68020 code to build shared libraries, but
15041 # adding the `-m68020' flag to GCC prevents building anything better,
15043 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15048 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15049 # PIC is the default for these OSes.
15051 mingw* | cygwin* | os2* | pw32* | cegcc*)
15052 # This hack is so that the source file can tell whether it is being
15053 # built for inclusion in a dll (and should export symbols for example).
15054 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15055 # (--disable-auto-import) libraries
15056 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15058 darwin* | rhapsody*)
15059 # PIC is the default on this platform
15060 # Common symbols not allowed in MH_DYLIB files
15061 lt_prog_compiler_pic_CXX='-fno-common'
15064 # DJGPP does not support shared libraries at all
15065 lt_prog_compiler_pic_CXX=
15068 # PIC is the default for Haiku.
15069 # The "-static" flag exists, but is broken.
15070 lt_prog_compiler_static_CXX=
15073 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15074 # Instead, we relocate shared libraries at runtime.
15077 if test -d /usr/nec; then
15078 lt_prog_compiler_pic_CXX=-Kconform_pic
15082 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15083 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15084 # sets the default TLS model and affects inlining.
15089 lt_prog_compiler_pic_CXX='-fPIC'
15094 # QNX uses GNU C++, but need to define -shared option too, otherwise
15095 # it will coredump.
15096 lt_prog_compiler_pic_CXX='-fPIC -shared'
15099 lt_prog_compiler_pic_CXX='-fPIC'
15105 # All AIX code is PIC.
15106 if test "$host_cpu" = ia64; then
15107 # AIX 5 now supports IA64 processor
15108 lt_prog_compiler_static_CXX='-Bstatic'
15110 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15114 case $cc_basename in
15116 # Green Hills C++ Compiler
15117 # _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"
15121 mingw* | cygwin* | os2* | pw32* | cegcc*)
15122 # This hack is so that the source file can tell whether it is being
15123 # built for inclusion in a dll (and should export symbols for example).
15124 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15127 case $cc_basename in
15129 lt_prog_compiler_pic_CXX='-KPIC'
15132 # Green Hills C++ Compiler
15133 lt_prog_compiler_pic_CXX='-pic'
15139 freebsd* | dragonfly*)
15140 # FreeBSD uses GNU C++
15142 hpux9* | hpux10* | hpux11*)
15143 case $cc_basename in
15145 lt_prog_compiler_wl_CXX='-Wl,'
15146 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15147 if test "$host_cpu" != ia64; then
15148 lt_prog_compiler_pic_CXX='+Z'
15152 lt_prog_compiler_wl_CXX='-Wl,'
15153 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15159 lt_prog_compiler_pic_CXX='+Z'
15168 # This is c89, which is MS Visual C++ (no shared libs)
15169 # Anyone wants to do a port?
15171 irix5* | irix6* | nonstopux*)
15172 case $cc_basename in
15174 lt_prog_compiler_wl_CXX='-Wl,'
15175 lt_prog_compiler_static_CXX='-non_shared'
15176 # CC pic flag -KPIC is the default.
15182 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15183 case $cc_basename in
15186 lt_prog_compiler_wl_CXX='--backend -Wl,'
15187 lt_prog_compiler_pic_CXX='-fPIC'
15190 # old Intel C++ for x86_64 which still supported -KPIC.
15191 lt_prog_compiler_wl_CXX='-Wl,'
15192 lt_prog_compiler_pic_CXX='-KPIC'
15193 lt_prog_compiler_static_CXX='-static'
15196 # Intel C++, used to be incompatible with GCC.
15197 # ICC 10 doesn't accept -KPIC any more.
15198 lt_prog_compiler_wl_CXX='-Wl,'
15199 lt_prog_compiler_pic_CXX='-fPIC'
15200 lt_prog_compiler_static_CXX='-static'
15203 # Portland Group C++ compiler
15204 lt_prog_compiler_wl_CXX='-Wl,'
15205 lt_prog_compiler_pic_CXX='-fpic'
15206 lt_prog_compiler_static_CXX='-Bstatic'
15210 # Make sure the PIC flag is empty. It appears that all Alpha
15211 # Linux and Compaq Tru64 Unix objects are PIC.
15212 lt_prog_compiler_pic_CXX=
15213 lt_prog_compiler_static_CXX='-non_shared'
15215 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15216 # IBM XL 8.0, 9.0 on PPC and BlueGene
15217 lt_prog_compiler_wl_CXX='-Wl,'
15218 lt_prog_compiler_pic_CXX='-qpic'
15219 lt_prog_compiler_static_CXX='-qstaticlink'
15222 case `$CC -V 2>&1 | sed 5q` in
15225 lt_prog_compiler_pic_CXX='-KPIC'
15226 lt_prog_compiler_static_CXX='-Bstatic'
15227 lt_prog_compiler_wl_CXX='-Qoption ld '
15238 case $cc_basename in
15240 lt_prog_compiler_pic_CXX='-W c,exportall'
15246 netbsd* | netbsdelf*-gnu)
15249 # QNX uses GNU C++, but need to define -shared option too, otherwise
15250 # it will coredump.
15251 lt_prog_compiler_pic_CXX='-fPIC -shared'
15253 osf3* | osf4* | osf5*)
15254 case $cc_basename in
15256 lt_prog_compiler_wl_CXX='--backend -Wl,'
15259 # Rational C++ 2.4.1
15260 lt_prog_compiler_pic_CXX='-pic'
15263 # Digital/Compaq C++
15264 lt_prog_compiler_wl_CXX='-Wl,'
15265 # Make sure the PIC flag is empty. It appears that all Alpha
15266 # Linux and Compaq Tru64 Unix objects are PIC.
15267 lt_prog_compiler_pic_CXX=
15268 lt_prog_compiler_static_CXX='-non_shared'
15277 case $cc_basename in
15279 # Sun C++ 4.2, 5.x and Centerline C++
15280 lt_prog_compiler_pic_CXX='-KPIC'
15281 lt_prog_compiler_static_CXX='-Bstatic'
15282 lt_prog_compiler_wl_CXX='-Qoption ld '
15285 # Green Hills C++ Compiler
15286 lt_prog_compiler_pic_CXX='-PIC'
15293 case $cc_basename in
15296 lt_prog_compiler_pic_CXX='-pic'
15297 lt_prog_compiler_static_CXX='-Bstatic'
15301 lt_prog_compiler_pic_CXX='-pic'
15307 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15308 case $cc_basename in
15310 lt_prog_compiler_wl_CXX='-Wl,'
15311 lt_prog_compiler_pic_CXX='-KPIC'
15312 lt_prog_compiler_static_CXX='-Bstatic'
15317 case $cc_basename in
15319 # NonStop-UX NCC 3.20
15320 lt_prog_compiler_pic_CXX='-KPIC'
15329 lt_prog_compiler_can_build_shared_CXX=no
15335 # For platforms which do not support PIC, -DPIC is meaningless:
15337 lt_prog_compiler_pic_CXX=
15340 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15345 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15346 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15347 $as_echo_n "(cached) " >&6
15349 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15352 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15353 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15356 # Check to make sure the PIC flag actually works.
15358 if test -n "$lt_prog_compiler_pic_CXX"; then
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15360 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15361 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15362 $as_echo_n "(cached) " >&6
15364 lt_cv_prog_compiler_pic_works_CXX=no
15365 ac_outfile=conftest.$ac_objext
15366 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15367 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15368 # Insert the option either (1) after the last *FLAGS variable, or
15369 # (2) before a word containing "conftest.", or (3) at the end.
15370 # Note that $ac_compile itself does not contain backslashes and begins
15371 # with a dollar sign (not a hyphen), so the echo should work correctly.
15372 # The option is referenced via a variable to avoid confusing sed.
15373 lt_compile=`echo "$ac_compile" | $SED \
15374 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15375 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15376 -e 's:$: $lt_compiler_flag:'`
15377 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15378 (eval "$lt_compile" 2>conftest.err)
15380 cat conftest.err >&5
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382 if (exit $ac_status) && test -s "$ac_outfile"; then
15383 # The compiler can only warn and ignore the option if not recognized
15384 # So say no if there are warnings other than the usual output.
15385 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15386 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15387 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15388 lt_cv_prog_compiler_pic_works_CXX=yes
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15395 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15397 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15398 case $lt_prog_compiler_pic_CXX in
15400 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15403 lt_prog_compiler_pic_CXX=
15404 lt_prog_compiler_can_build_shared_CXX=no
15414 # Check to make sure the static flag actually works.
15416 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15418 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15419 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15420 $as_echo_n "(cached) " >&6
15422 lt_cv_prog_compiler_static_works_CXX=no
15423 save_LDFLAGS="$LDFLAGS"
15424 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15425 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15426 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15427 # The linker can only warn and ignore the option if not recognized
15428 # So say no if there are warnings
15429 if test -s conftest.err; then
15430 # Append any errors to the config.log.
15431 cat conftest.err 1>&5
15432 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15433 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15434 if diff conftest.exp conftest.er2 >/dev/null; then
15435 lt_cv_prog_compiler_static_works_CXX=yes
15438 lt_cv_prog_compiler_static_works_CXX=yes
15442 LDFLAGS="$save_LDFLAGS"
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15446 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15448 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15451 lt_prog_compiler_static_CXX=
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15458 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15459 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15460 $as_echo_n "(cached) " >&6
15462 lt_cv_prog_compiler_c_o_CXX=no
15463 $RM -r conftest 2>/dev/null
15467 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15469 lt_compiler_flag="-o out/conftest2.$ac_objext"
15470 # Insert the option either (1) after the last *FLAGS variable, or
15471 # (2) before a word containing "conftest.", or (3) at the end.
15472 # Note that $ac_compile itself does not contain backslashes and begins
15473 # with a dollar sign (not a hyphen), so the echo should work correctly.
15474 lt_compile=`echo "$ac_compile" | $SED \
15475 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15476 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15477 -e 's:$: $lt_compiler_flag:'`
15478 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15479 (eval "$lt_compile" 2>out/conftest.err)
15481 cat out/conftest.err >&5
15482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15485 # The compiler can only warn and ignore the option if not recognized
15486 # So say no if there are warnings
15487 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15488 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15489 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15490 lt_cv_prog_compiler_c_o_CXX=yes
15495 # SGI C++ compiler will create directory out/ii_files/ for
15496 # template instantiation
15497 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15498 $RM out/* && rmdir out
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15505 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15510 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15511 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15512 $as_echo_n "(cached) " >&6
15514 lt_cv_prog_compiler_c_o_CXX=no
15515 $RM -r conftest 2>/dev/null
15519 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15521 lt_compiler_flag="-o out/conftest2.$ac_objext"
15522 # Insert the option either (1) after the last *FLAGS variable, or
15523 # (2) before a word containing "conftest.", or (3) at the end.
15524 # Note that $ac_compile itself does not contain backslashes and begins
15525 # with a dollar sign (not a hyphen), so the echo should work correctly.
15526 lt_compile=`echo "$ac_compile" | $SED \
15527 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15528 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15529 -e 's:$: $lt_compiler_flag:'`
15530 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15531 (eval "$lt_compile" 2>out/conftest.err)
15533 cat out/conftest.err >&5
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15537 # The compiler can only warn and ignore the option if not recognized
15538 # So say no if there are warnings
15539 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15540 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15541 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15542 lt_cv_prog_compiler_c_o_CXX=yes
15547 # SGI C++ compiler will create directory out/ii_files/ for
15548 # template instantiation
15549 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15550 $RM out/* && rmdir out
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15557 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15562 hard_links="nottested"
15563 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15564 # do not overwrite the value of need_locks provided by the user
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15566 $as_echo_n "checking if we can lock with hard links... " >&6; }
15569 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15571 ln conftest.a conftest.b 2>&5 || hard_links=no
15572 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15574 $as_echo "$hard_links" >&6; }
15575 if test "$hard_links" = no; then
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15577 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15587 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15589 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15590 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15593 # If we're using GNU nm, then we don't want the "-C" option.
15594 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15595 # Also, AIX nm treats weak defined symbols like other global defined
15596 # symbols, whereas GNU nm marks them as "W".
15597 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15598 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'
15600 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'
15604 export_symbols_cmds_CXX="$ltdll_cmds"
15606 cygwin* | mingw* | cegcc*)
15607 case $cc_basename in
15609 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15612 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'
15613 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15617 linux* | k*bsd*-gnu | gnu*)
15618 link_all_deplibs_CXX=no
15621 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15626 $as_echo "$ld_shlibs_CXX" >&6; }
15627 test "$ld_shlibs_CXX" = no && can_build_shared=no
15629 with_gnu_ld_CXX=$with_gnu_ld
15637 # Do we need to explicitly link libc?
15639 case "x$archive_cmds_need_lc_CXX" in
15641 # Assume -lc should be added
15642 archive_cmds_need_lc_CXX=yes
15644 if test "$enable_shared" = yes && test "$GCC" = yes; then
15645 case $archive_cmds_CXX in
15647 # FIXME: we may have to deal with multi-command sequences.
15650 # Test whether the compiler implicitly links with -lc since on some
15651 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15652 # to ld, don't add -lc before -lgcc.
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15654 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15655 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15656 $as_echo_n "(cached) " >&6
15659 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15661 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15662 (eval $ac_compile) 2>&5
15664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15665 test $ac_status = 0; } 2>conftest.err; then
15668 libobjs=conftest.$ac_objext
15670 wl=$lt_prog_compiler_wl_CXX
15671 pic_flag=$lt_prog_compiler_pic_CXX
15677 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15678 allow_undefined_flag_CXX=
15679 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15680 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15683 test $ac_status = 0; }
15685 lt_cv_archive_cmds_need_lc_CXX=no
15687 lt_cv_archive_cmds_need_lc_CXX=yes
15689 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15691 cat conftest.err 1>&5
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15697 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15698 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15767 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15769 library_names_spec=
15770 libname_spec='lib$name'
15774 postuninstall_cmds=
15778 shlibpath_overrides_runpath=unknown
15780 dynamic_linker="$host_os ld.so"
15781 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15782 need_lib_prefix=unknown
15783 hardcode_into_libs=no
15785 # when you set need_version to no, make sure it does not cause -set_version
15786 # flags to be left without arguments
15787 need_version=unknown
15791 version_type=linux # correct to gnu/linux during the next big refactor
15792 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15793 shlibpath_var=LIBPATH
15795 # AIX 3 has no versioning support, so we append a major version to the name.
15796 soname_spec='${libname}${release}${shared_ext}$major'
15800 version_type=linux # correct to gnu/linux during the next big refactor
15803 hardcode_into_libs=yes
15804 if test "$host_cpu" = ia64; then
15805 # AIX 5 supports IA64
15806 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15807 shlibpath_var=LD_LIBRARY_PATH
15809 # With GCC up to 2.95.x, collect2 would create an import file
15810 # for dependence libraries. The import file would start with
15811 # the line `#! .'. This would cause the generated library to
15812 # depend on `.', always an invalid library. This was fixed in
15813 # development snapshots of GCC prior to 3.0.
15815 aix4 | aix4.[01] | aix4.[01].*)
15816 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15818 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15821 can_build_shared=no
15825 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15826 # soname into executable. Probably we can add versioning support to
15827 # collect2, so additional links can be useful in future.
15828 if test "$aix_use_runtimelinking" = yes; then
15829 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15830 # instead of lib<name>.a to let people know that these are not
15831 # typical AIX shared libraries.
15832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15834 # We preserve .a as extension for shared libraries through AIX4.2
15835 # and later when we are not doing run time linking.
15836 library_names_spec='${libname}${release}.a $libname.a'
15837 soname_spec='${libname}${release}${shared_ext}$major'
15839 shlibpath_var=LIBPATH
15846 # Since July 2007 AmigaOS4 officially supports .so libraries.
15847 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15851 library_names_spec='$libname.ixlibrary $libname.a'
15852 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15853 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'
15859 library_names_spec='${libname}${shared_ext}'
15860 dynamic_linker="$host_os ld.so"
15861 shlibpath_var=LIBRARY_PATH
15865 version_type=linux # correct to gnu/linux during the next big refactor
15867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15868 soname_spec='${libname}${release}${shared_ext}$major'
15869 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15870 shlibpath_var=LD_LIBRARY_PATH
15871 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15872 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15873 # the default ld.so.conf also contains /usr/contrib/lib and
15874 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15875 # libtool to hard-code these into programs
15878 cygwin* | mingw* | pw32* | cegcc*)
15879 version_type=windows
15884 case $GCC,$cc_basename in
15887 library_names_spec='$libname.dll.a'
15888 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15889 postinstall_cmds='base_file=`basename \${file}`~
15890 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15891 dldir=$destdir/`dirname \$dlpath`~
15892 test -d \$dldir || mkdir -p \$dldir~
15893 $install_prog $dir/$dlname \$dldir/$dlname~
15894 chmod a+x \$dldir/$dlname~
15895 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15896 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15898 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15899 dlpath=$dir/\$dldll~
15901 shlibpath_overrides_runpath=yes
15905 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15906 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15910 # MinGW DLLs use traditional 'lib' prefix
15911 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15914 # pw32 DLLs use 'pw' prefix rather than 'lib'
15915 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15918 dynamic_linker='Win32 ld.exe'
15923 libname_spec='$name'
15924 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15925 library_names_spec='${libname}.dll.lib'
15929 sys_lib_search_path_spec=
15932 for lt_path in $LIB
15935 # Let DOS variable expansion print the short 8.3 style file name.
15936 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15937 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15940 # Convert to MSYS style.
15941 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15944 # Convert to unix form, then to dos form, then back to unix form
15945 # but this time dos style (no spaces!) so that the unix form looks
15946 # like /cygdrive/c/PROGRA~1:/cygdr...
15947 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15948 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15949 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15952 sys_lib_search_path_spec="$LIB"
15953 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15954 # It is most probably a Windows format PATH.
15955 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15957 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15959 # FIXME: find the short name or the path components, as spaces are
15960 # common. (e.g. "Program Files" -> "PROGRA~1")
15964 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15965 postinstall_cmds='base_file=`basename \${file}`~
15966 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15967 dldir=$destdir/`dirname \$dlpath`~
15968 test -d \$dldir || mkdir -p \$dldir~
15969 $install_prog $dir/$dlname \$dldir/$dlname'
15970 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15971 dlpath=$dir/\$dldll~
15973 shlibpath_overrides_runpath=yes
15974 dynamic_linker='Win32 link.exe'
15978 # Assume MSVC wrapper
15979 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15980 dynamic_linker='Win32 ld.exe'
15983 # FIXME: first we should search . and the directory the executable is in
15987 darwin* | rhapsody*)
15988 dynamic_linker="$host_os dyld"
15989 version_type=darwin
15992 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15993 soname_spec='${libname}${release}${major}$shared_ext'
15994 shlibpath_overrides_runpath=yes
15995 shlibpath_var=DYLD_LIBRARY_PATH
15996 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15998 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16002 version_type=linux # correct to gnu/linux during the next big refactor
16005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16006 soname_spec='${libname}${release}${shared_ext}$major'
16007 shlibpath_var=LD_LIBRARY_PATH
16010 freebsd* | dragonfly*)
16011 # DragonFly does not have aout. When/if they implement a new
16012 # versioning mechanism, adjust this.
16013 if test -x /usr/bin/objformat; then
16014 objformat=`/usr/bin/objformat`
16017 freebsd[23].*) objformat=aout ;;
16018 *) objformat=elf ;;
16021 version_type=freebsd-$objformat
16022 case $version_type in
16024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16029 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16033 shlibpath_var=LD_LIBRARY_PATH
16036 shlibpath_overrides_runpath=yes
16038 freebsd3.[01]* | freebsdelf3.[01]*)
16039 shlibpath_overrides_runpath=yes
16040 hardcode_into_libs=yes
16042 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16043 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16044 shlibpath_overrides_runpath=no
16045 hardcode_into_libs=yes
16047 *) # from 4.6 on, and DragonFly
16048 shlibpath_overrides_runpath=yes
16049 hardcode_into_libs=yes
16055 version_type=linux # correct to gnu/linux during the next big refactor
16058 dynamic_linker="$host_os runtime_loader"
16059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16060 soname_spec='${libname}${release}${shared_ext}$major'
16061 shlibpath_var=LIBRARY_PATH
16062 shlibpath_overrides_runpath=yes
16063 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16064 hardcode_into_libs=yes
16067 hpux9* | hpux10* | hpux11*)
16068 # Give a soname corresponding to the major version so that dld.sl refuses to
16069 # link against other versions.
16076 hardcode_into_libs=yes
16077 dynamic_linker="$host_os dld.so"
16078 shlibpath_var=LD_LIBRARY_PATH
16079 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16081 soname_spec='${libname}${release}${shared_ext}$major'
16082 if test "X$HPUX_IA64_MODE" = X32; then
16083 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16085 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16087 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16091 hardcode_into_libs=yes
16092 dynamic_linker="$host_os dld.sl"
16093 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16094 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16096 soname_spec='${libname}${release}${shared_ext}$major'
16097 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16098 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16102 dynamic_linker="$host_os dld.sl"
16103 shlibpath_var=SHLIB_PATH
16104 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16106 soname_spec='${libname}${release}${shared_ext}$major'
16109 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16110 postinstall_cmds='chmod 555 $lib'
16111 # or fails outright, so override atomically:
16112 install_override_mode=555
16116 version_type=linux # correct to gnu/linux during the next big refactor
16119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16120 soname_spec='${libname}${release}${shared_ext}$major'
16121 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16122 shlibpath_var=LD_LIBRARY_PATH
16123 shlibpath_overrides_runpath=no
16124 hardcode_into_libs=yes
16127 irix5* | irix6* | nonstopux*)
16129 nonstopux*) version_type=nonstopux ;;
16131 if test "$lt_cv_prog_gnu_ld" = yes; then
16132 version_type=linux # correct to gnu/linux during the next big refactor
16139 soname_spec='${libname}${release}${shared_ext}$major'
16140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16142 irix5* | nonstopux*)
16143 libsuff= shlibsuff=
16146 case $LD in # libtool.m4 will add one of these switches to LD
16147 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16148 libsuff= shlibsuff= libmagic=32-bit;;
16149 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16150 libsuff=32 shlibsuff=N32 libmagic=N32;;
16151 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16152 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16153 *) libsuff= shlibsuff= libmagic=never-match;;
16157 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16158 shlibpath_overrides_runpath=no
16159 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16160 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16161 hardcode_into_libs=yes
16164 # No shared lib support for Linux oldld, aout, or coff.
16165 linux*oldld* | linux*aout* | linux*coff*)
16169 # This must be glibc/ELF.
16170 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16171 version_type=linux # correct to gnu/linux during the next big refactor
16174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16175 soname_spec='${libname}${release}${shared_ext}$major'
16176 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16177 shlibpath_var=LD_LIBRARY_PATH
16178 shlibpath_overrides_runpath=no
16180 # Some binutils ld are patched to set DT_RUNPATH
16181 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16182 $as_echo_n "(cached) " >&6
16184 lt_cv_shlibpath_overrides_runpath=no
16185 save_LDFLAGS=$LDFLAGS
16186 save_libdir=$libdir
16187 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16188 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16190 /* end confdefs.h. */
16200 if ac_fn_cxx_try_link "$LINENO"; then :
16201 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16202 lt_cv_shlibpath_overrides_runpath=yes
16205 rm -f core conftest.err conftest.$ac_objext \
16206 conftest$ac_exeext conftest.$ac_ext
16207 LDFLAGS=$save_LDFLAGS
16208 libdir=$save_libdir
16212 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16214 # This implies no fast_install, which is unacceptable.
16215 # Some rework will be needed to allow for fast_install
16216 # before this can be enabled.
16217 hardcode_into_libs=yes
16219 # Append ld.so.conf contents to the search path
16220 if test -f /etc/ld.so.conf; then
16221 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' ' '`
16222 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16225 # We used to test for /lib/ld.so.1 and disable shared libraries on
16226 # powerpc, because MkLinux only supported shared libraries with the
16227 # GNU dynamic linker. Since this was broken with cross compilers,
16228 # most powerpc-linux boxes support dynamic linking these days and
16229 # people can always --disable-shared, the test was removed, and we
16230 # assume the GNU/Linux dynamic linker is in use.
16231 dynamic_linker='GNU/Linux ld.so'
16238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16239 soname_spec='${libname}${release}${shared_ext}$major'
16240 shlibpath_var=LD_LIBRARY_PATH
16241 shlibpath_overrides_runpath=no
16242 hardcode_into_libs=yes
16243 dynamic_linker='NetBSD ld.elf_so'
16250 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16251 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16252 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16253 dynamic_linker='NetBSD (a.out) ld.so'
16255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16256 soname_spec='${libname}${release}${shared_ext}$major'
16257 dynamic_linker='NetBSD ld.elf_so'
16259 shlibpath_var=LD_LIBRARY_PATH
16260 shlibpath_overrides_runpath=yes
16261 hardcode_into_libs=yes
16265 version_type=linux # correct to gnu/linux during the next big refactor
16266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16267 shlibpath_var=LD_LIBRARY_PATH
16268 shlibpath_overrides_runpath=yes
16275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16276 soname_spec='${libname}${release}${shared_ext}$major'
16277 shlibpath_var=LD_LIBRARY_PATH
16278 shlibpath_overrides_runpath=no
16279 hardcode_into_libs=yes
16280 dynamic_linker='ldqnx.so'
16285 sys_lib_dlsearch_path_spec="/usr/lib"
16287 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16289 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16290 *) need_version=no ;;
16292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16293 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16294 shlibpath_var=LD_LIBRARY_PATH
16295 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16297 openbsd2.[89] | openbsd2.[89].*)
16298 shlibpath_overrides_runpath=no
16301 shlibpath_overrides_runpath=yes
16305 shlibpath_overrides_runpath=yes
16310 libname_spec='$name'
16313 library_names_spec='$libname${shared_ext} $libname.a'
16314 dynamic_linker='OS/2 ld.exe'
16315 shlibpath_var=LIBPATH
16318 osf3* | osf4* | osf5*)
16322 soname_spec='${libname}${release}${shared_ext}$major'
16323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16324 shlibpath_var=LD_LIBRARY_PATH
16325 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16326 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16334 version_type=linux # correct to gnu/linux during the next big refactor
16337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16338 soname_spec='${libname}${release}${shared_ext}$major'
16339 shlibpath_var=LD_LIBRARY_PATH
16340 shlibpath_overrides_runpath=yes
16341 hardcode_into_libs=yes
16342 # ldd complains unless libraries are executable
16343 postinstall_cmds='chmod +x $lib'
16348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16349 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16350 shlibpath_var=LD_LIBRARY_PATH
16351 shlibpath_overrides_runpath=yes
16352 if test "$with_gnu_ld" = yes; then
16359 version_type=linux # correct to gnu/linux during the next big refactor
16360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16361 soname_spec='${libname}${release}${shared_ext}$major'
16362 shlibpath_var=LD_LIBRARY_PATH
16363 case $host_vendor in
16365 shlibpath_overrides_runpath=no
16367 runpath_var=LD_RUN_PATH
16375 shlibpath_overrides_runpath=no
16376 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16382 if test -d /usr/nec ;then
16383 version_type=linux # correct to gnu/linux during the next big refactor
16384 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16385 soname_spec='$libname${shared_ext}.$major'
16386 shlibpath_var=LD_LIBRARY_PATH
16390 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16391 version_type=freebsd-elf
16394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16395 soname_spec='${libname}${release}${shared_ext}$major'
16396 shlibpath_var=LD_LIBRARY_PATH
16397 shlibpath_overrides_runpath=yes
16398 hardcode_into_libs=yes
16399 if test "$with_gnu_ld" = yes; then
16400 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16402 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16405 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16409 sys_lib_dlsearch_path_spec='/usr/lib'
16413 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16414 version_type=linux # correct to gnu/linux during the next big refactor
16417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16418 shlibpath_var=LD_LIBRARY_PATH
16419 shlibpath_overrides_runpath=no
16420 hardcode_into_libs=yes
16424 version_type=linux # correct to gnu/linux during the next big refactor
16425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16426 soname_spec='${libname}${release}${shared_ext}$major'
16427 shlibpath_var=LD_LIBRARY_PATH
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16435 $as_echo "$dynamic_linker" >&6; }
16436 test "$dynamic_linker" = no && can_build_shared=no
16438 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16439 if test "$GCC" = yes; then
16440 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16443 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16444 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16446 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16447 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16488 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16489 hardcode_action_CXX=
16490 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16491 test -n "$runpath_var_CXX" ||
16492 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16494 # We can hardcode non-existent directories.
16495 if test "$hardcode_direct_CXX" != no &&
16496 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16497 # have to relink, otherwise we might link with an installed library
16498 # when we should be linking with a yet-to-be-installed one
16499 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16500 test "$hardcode_minus_L_CXX" != no; then
16501 # Linking always hardcodes the temporary library directory.
16502 hardcode_action_CXX=relink
16504 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16505 hardcode_action_CXX=immediate
16508 # We cannot hardcode anything, or else we can only hardcode existing
16510 hardcode_action_CXX=unsupported
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16513 $as_echo "$hardcode_action_CXX" >&6; }
16515 if test "$hardcode_action_CXX" = relink ||
16516 test "$inherit_rpath_CXX" = yes; then
16517 # Fast installation is not supported
16518 enable_fast_install=no
16519 elif test "$shlibpath_overrides_runpath" = yes ||
16520 test "$enable_shared" = no; then
16521 # Fast installation is not necessary
16522 enable_fast_install=needless
16531 fi # test -n "$compiler"
16534 CFLAGS=$lt_save_CFLAGS
16538 with_gnu_ld=$lt_save_with_gnu_ld
16539 lt_cv_path_LDCXX=$lt_cv_path_LD
16540 lt_cv_path_LD=$lt_save_path_LD
16541 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16542 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16543 fi # test "$_lt_caught_CXX_error" != yes
16546 ac_cpp='$CPP $CPPFLAGS'
16547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16565 ac_config_commands="$ac_config_commands libtool"
16570 # Only expand once:
16575 for ac_prog in gm4 m4
16577 # Extract the first word of "$ac_prog", so it can be a program name with args.
16578 set dummy $ac_prog; ac_word=$2
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16580 $as_echo_n "checking for $ac_word... " >&6; }
16581 if ${ac_cv_prog_M4+:} false; then :
16582 $as_echo_n "(cached) " >&6
16584 if test -n "$M4"; then
16585 ac_cv_prog_M4="$M4" # Let the user override the test.
16587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16588 for as_dir in $PATH
16591 test -z "$as_dir" && as_dir=.
16592 for ac_exec_ext in '' $ac_executable_extensions; do
16593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16594 ac_cv_prog_M4="$ac_prog"
16595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16605 if test -n "$M4"; then
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
16607 $as_echo "$M4" >&6; }
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16610 $as_echo "no" >&6; }
16614 test -n "$M4" && break
16618 if test "x$M4" = x; then :
16619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16621 as_fn_error $? "The GNU M4 macro processor is required for building libsigc++.
16622 See \`config.log' for more details" "$LINENO" 5; }
16625 # Extract the first word of "perl", so it can be a program name with args.
16626 set dummy perl; ac_word=$2
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16628 $as_echo_n "checking for $ac_word... " >&6; }
16629 if ${ac_cv_path_PERL+:} false; then :
16630 $as_echo_n "(cached) " >&6
16634 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
16637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16638 for as_dir in $PATH
16641 test -z "$as_dir" && as_dir=.
16642 for ac_exec_ext in '' $ac_executable_extensions; do
16643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16644 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
16645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16652 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
16656 PERL=$ac_cv_path_PERL
16657 if test -n "$PERL"; then
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16659 $as_echo "$PERL" >&6; }
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16662 $as_echo "no" >&6; }
16667 # Extract the first word of "dot", so it can be a program name with args.
16668 set dummy dot; ac_word=$2
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16670 $as_echo_n "checking for $ac_word... " >&6; }
16671 if ${ac_cv_path_DOT+:} false; then :
16672 $as_echo_n "(cached) " >&6
16676 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
16679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16680 for as_dir in $PATH
16683 test -z "$as_dir" && as_dir=.
16684 for ac_exec_ext in '' $ac_executable_extensions; do
16685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16686 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
16687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16694 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot"
16698 DOT=$ac_cv_path_DOT
16699 if test -n "$DOT"; then
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
16701 $as_echo "$DOT" >&6; }
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16704 $as_echo "no" >&6; }
16708 # Extract the first word of "doxygen", so it can be a program name with args.
16709 set dummy doxygen; ac_word=$2
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16711 $as_echo_n "checking for $ac_word... " >&6; }
16712 if ${ac_cv_path_DOXYGEN+:} false; then :
16713 $as_echo_n "(cached) " >&6
16717 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
16720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16721 for as_dir in $PATH
16724 test -z "$as_dir" && as_dir=.
16725 for ac_exec_ext in '' $ac_executable_extensions; do
16726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16727 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
16728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16735 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen"
16739 DOXYGEN=$ac_cv_path_DOXYGEN
16740 if test -n "$DOXYGEN"; then
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
16742 $as_echo "$DOXYGEN" >&6; }
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16745 $as_echo "no" >&6; }
16749 # Extract the first word of "xsltproc", so it can be a program name with args.
16750 set dummy xsltproc; ac_word=$2
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16752 $as_echo_n "checking for $ac_word... " >&6; }
16753 if ${ac_cv_path_XSLTPROC+:} false; then :
16754 $as_echo_n "(cached) " >&6
16758 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
16761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16762 for as_dir in $PATH
16765 test -z "$as_dir" && as_dir=.
16766 for ac_exec_ext in '' $ac_executable_extensions; do
16767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16768 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
16769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16776 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc"
16780 XSLTPROC=$ac_cv_path_XSLTPROC
16781 if test -n "$XSLTPROC"; then
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
16783 $as_echo "$XSLTPROC" >&6; }
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16786 $as_echo "no" >&6; }
16790 # Check whether --enable-documentation was given.
16791 if test "${enable_documentation+set}" = set; then :
16792 enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval
16794 ENABLE_DOCUMENTATION=auto
16797 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16800 if test "x$MMDOCTOOLDIR" = x; then :
16801 mm_err='The mm-common-util module is available, but the installation of mm-common on this
16802 machine is missing the shared documentation utilities of the GNOME C++
16803 bindings. It may be necessary to upgrade to a more recent release of
16804 mm-common in order to build '$PACKAGE_NAME' and install the documentation.'
16805 elif test "x$PERL" = xperl; then :
16806 mm_err='Perl is required for installing the documentation.'
16807 elif test "x$USE_MAINTAINER_MODE" != xno; then :
16809 test "x$DOT" != xdot || mm_err=' dot'
16810 test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen"
16811 test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc"
16812 test -z "$mm_err" || mm_err='The documentation cannot be generated because
16813 not all of the required tools are available:'$mm_err
16816 if test -z "$mm_err"; then :
16817 ENABLE_DOCUMENTATION=yes
16818 elif test "x$ENABLE_DOCUMENTATION" = xyes; then :
16819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16821 as_fn_error $? "$mm_err
16822 See \`config.log' for more details" "$LINENO" 5; }
16824 ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5
16825 $as_echo "$as_me: WARNING: $mm_err" >&2;}
16829 if test "x$ENABLE_DOCUMENTATION" = xyes; then
16830 ENABLE_DOCUMENTATION_TRUE=
16831 ENABLE_DOCUMENTATION_FALSE='#'
16833 ENABLE_DOCUMENTATION_TRUE='#'
16834 ENABLE_DOCUMENTATION_FALSE=
16849 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16850 if test -n "$ac_tool_prefix"; then
16851 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16852 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16854 $as_echo_n "checking for $ac_word... " >&6; }
16855 if ${ac_cv_path_PKG_CONFIG+:} false; then :
16856 $as_echo_n "(cached) " >&6
16858 case $PKG_CONFIG in
16860 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16864 for as_dir in $PATH
16867 test -z "$as_dir" && as_dir=.
16868 for ac_exec_ext in '' $ac_executable_extensions; do
16869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16870 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16881 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16882 if test -n "$PKG_CONFIG"; then
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16884 $as_echo "$PKG_CONFIG" >&6; }
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16887 $as_echo "no" >&6; }
16892 if test -z "$ac_cv_path_PKG_CONFIG"; then
16893 ac_pt_PKG_CONFIG=$PKG_CONFIG
16894 # Extract the first word of "pkg-config", so it can be a program name with args.
16895 set dummy pkg-config; ac_word=$2
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16897 $as_echo_n "checking for $ac_word... " >&6; }
16898 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16899 $as_echo_n "(cached) " >&6
16901 case $ac_pt_PKG_CONFIG in
16903 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16907 for as_dir in $PATH
16910 test -z "$as_dir" && as_dir=.
16911 for ac_exec_ext in '' $ac_executable_extensions; do
16912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16913 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16924 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16925 if test -n "$ac_pt_PKG_CONFIG"; then
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16927 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16930 $as_echo "no" >&6; }
16933 if test "x$ac_pt_PKG_CONFIG" = x; then
16936 case $cross_compiling:$ac_tool_warned in
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16940 ac_tool_warned=yes ;;
16942 PKG_CONFIG=$ac_pt_PKG_CONFIG
16945 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16949 if test -n "$PKG_CONFIG"; then
16950 _pkg_min_version=0.9.0
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16952 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16953 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16955 $as_echo "yes" >&6; }
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16958 $as_echo "no" >&6; }
16962 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstdc documentation" >&5
16964 $as_echo_n "checking for libstdc documentation... " >&6; }
16966 # Check whether --with-libstdc-doc was given.
16967 if test "${with_libstdc_doc+set}" = set; then :
16968 withval=$with_libstdc_doc;
16969 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16970 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16971 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16972 test "x$mm_tagname" != x || mm_tagname="libstdc++.tag"
16973 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16977 mm_tagname="libstdc++.tag"
16978 mm_tagpath=$mm_tagname
16981 # Prepend working direcory if the tag file path starts with ./ or ../
16982 case $mm_tagpath in #(
16983 .[\\/]*|..[\\/]*) :
16984 mm_tagpath=`pwd`/$mm_tagpath ;; #(
16989 # If no local directory was specified, get the default from the .pc file
16990 if test "x$mm_htmlrefdir" = x; then :
16992 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "mm-common-libstdc++" 2>&5`
16994 # If the user specified a Web URL, allow it to override the public location
16995 case $mm_htmlrefdir in #(
16996 http://*|https://*) :
16997 mm_htmlrefpub=$mm_htmlrefdir ;; #(
17000 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "mm-common-libstdc++" 2>&5`
17001 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
17002 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
17005 # The user-supplied tag-file name takes precedence if it includes the path
17006 case $mm_tagpath in #(
17011 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "mm-common-libstdc++" 2>&5`
17012 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
17015 # Remove trailing slashes and translate to URI
17016 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17017 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
17020 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
17022 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libstdc++.tag not found" >&5
17024 $as_echo "$as_me: WARNING: Doxygen tag file libstdc++.tag not found" >&2;}
17026 if test "x$mm_htmlrefdir" = x; then :
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libstdc documentation not set" >&5
17028 $as_echo "$as_me: WARNING: Location of external libstdc documentation not set" >&2;}
17030 if test "x$DOCINSTALL_FLAGS" = x; then :
17031 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
17033 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
17037 if test "x$mm_htmlrefpub" = x; then :
17040 mm_val="$mm_tagpath=$mm_htmlrefpub"
17042 if test "x$DOXYGEN_TAGFILES" = x; then :
17043 DOXYGEN_TAGFILES=\"$mm_val\"
17045 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
17050 ac_cpp='$CXXCPP $CPPFLAGS'
17051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17056 if test "x$config_error" = xyes; then :
17057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17059 as_fn_error $? "One or more of the required C++ compiler features is missing.
17060 See \`config.log' for more details" "$LINENO" 5; }
17063 # Evaluate the --enable-warnings=level option.
17064 # Check whether --enable-warnings was given.
17065 if test "${enable_warnings+set}" = set; then :
17066 enableval=$enable_warnings; mm_enable_warnings=$enableval
17068 mm_enable_warnings=min
17071 case $ac_compile in #(
17073 mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #(
17075 mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #(
17077 as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;;
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5
17080 $as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; }
17082 case $mm_enable_warnings in #(
17084 mm_warning_flags= ;; #(
17086 mm_warning_flags="-pedantic -Wall -Wextra -Wsuggest-override -Wshadow -Wzero-as-null-pointer-constant -Wformat-security" ;; #(
17088 mm_warning_flags="-pedantic -Wall -Wextra -Wsuggest-override -Wshadow -Wzero-as-null-pointer-constant -Wformat-security -Werror" ;; #(
17090 mm_warning_flags="-Wall" ;;
17092 if test "x$mm_warning_flags" != x; then :
17094 # Keep in mind that the dummy source must be devoid of any
17095 # problems that might cause diagnostics.
17096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17097 /* end confdefs.h. */
17099 int main(int argc, char** argv) { return !argv ? 0 : argc; }
17102 for mm_flag in $mm_warning_flags
17104 # Test whether the compiler accepts the flag. Look at standard output,
17105 # since GCC only shows a warning message if an option is not supported.
17106 mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed`
17107 rm -f "conftest.${OBJEXT-o}"
17109 if test "x$mm_cc_out" = x; then :
17110 if test "x$mm_tested_flags" = x; then :
17111 mm_tested_flags=$mm_flag
17113 mm_tested_flags="$mm_tested_flags $mm_flag"
17122 rm -f "$mm_conftest"
17125 mm_all_flags=$mm_tested_flags
17126 SIGC_WXXFLAGS=$mm_all_flags
17128 test "x$mm_all_flags" != x || mm_all_flags=none
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5
17130 $as_echo "$mm_all_flags" >&6; }
17132 # Offer the ability to omit some API from the library.
17133 # Check whether --enable-deprecated-api was given.
17134 if test "${enable_deprecated_api+set}" = set; then :
17135 enableval=$enable_deprecated_api; mm_enable_deprecated_api=$enableval
17137 mm_enable_deprecated_api=yes
17139 if test "x$mm_enable_deprecated_api" = xno; then :
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Deprecated API will not be built, breaking compatibility.
17141 Do not use this option for distribution packages." >&5
17142 $as_echo "$as_me: WARNING: Deprecated API will not be built, breaking compatibility.
17143 Do not use this option for distribution packages." >&2;}
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: Deprecated API will be built, for backwards-compatibility." >&5
17146 $as_echo "$as_me: Deprecated API will be built, for backwards-compatibility." >&6;}
17148 if test "x$mm_enable_deprecated_api" = xno; then
17149 DISABLE_DEPRECATED_API_TRUE=
17150 DISABLE_DEPRECATED_API_FALSE='#'
17152 DISABLE_DEPRECATED_API_TRUE='#'
17153 DISABLE_DEPRECATED_API_FALSE=
17156 if test "x$mm_enable_deprecated_api" = xno; then :
17158 $as_echo "#define SIGCXX_DISABLE_DEPRECATED 1" >>confdefs.h
17163 ac_config_files="$ac_config_files Makefile ${SIGCXX_MODULE_NAME}.pc:sigc++.pc.in ${SIGCXX_MODULE_NAME}-uninstalled.pc:sigc++-uninstalled.pc.in cmake/Makefile sigc++/Makefile examples/Makefile tests/Makefile docs/Makefile docs/reference/Doxyfile MSVC_Net2013/sigc.rc"
17166 # Copy the generated configuration headers into the MSVC project directories.
17167 ac_config_commands="$ac_config_commands MSVC_Net2013/sigc++config.h"
17169 cat >confcache <<\_ACEOF
17170 # This file is a shell script that caches the results of configure
17171 # tests run on this system so they can be shared between configure
17172 # scripts and configure runs, see configure's option --config-cache.
17173 # It is not useful on other systems. If it contains results you don't
17174 # want to keep, you may remove or edit it.
17176 # config.status only pays attention to the cache file if you give it
17177 # the --recheck option to rerun configure.
17179 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17180 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17181 # following values.
17185 # The following way of writing the cache mishandles newlines in values,
17186 # but we know of no workaround that is simple, portable, and efficient.
17187 # So, we kill variables containing newlines.
17188 # Ultrix sh set writes to stderr and can't be redirected directly,
17189 # and sets the high bit in the cache file unless we assign to the vars.
17191 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17192 eval ac_val=\$$ac_var
17196 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17197 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17200 _ | IFS | as_nl) ;; #(
17201 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17202 *) { eval $ac_var=; unset $ac_var;} ;;
17208 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17209 *${as_nl}ac_space=\ *)
17210 # `set' does not quote correctly, so add quotes: double-quote
17211 # substitution turns \\\\ into \\, and sed turns \\ into \.
17214 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17217 # `set' quotes correctly as required by POSIX, so do not add quotes.
17218 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17227 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17229 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17231 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17232 if test -w "$cache_file"; then
17233 if test "x$cache_file" != "x/dev/null"; then
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17235 $as_echo "$as_me: updating cache $cache_file" >&6;}
17236 if test ! -f "$cache_file" || test -h "$cache_file"; then
17237 cat confcache >"$cache_file"
17239 case $cache_file in #(
17241 mv -f confcache "$cache_file"$$ &&
17242 mv -f "$cache_file"$$ "$cache_file" ;; #(
17244 mv -f confcache "$cache_file" ;;
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17250 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17255 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17256 # Let make expand exec_prefix.
17257 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17259 DEFS=-DHAVE_CONFIG_H
17264 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17265 # 1. Remove the extension, and $U if already installed.
17266 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17267 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17268 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17269 # will be set to the directory where LIBOBJS objects are built.
17270 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17271 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17273 LIBOBJS=$ac_libobjs
17275 LTLIBOBJS=$ac_ltlibobjs
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17279 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17280 if test -n "$am_sleep_pid"; then
17281 # Hide warnings about reused PIDs.
17282 wait $am_sleep_pid 2>/dev/null
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17285 $as_echo "done" >&6; }
17286 if test -n "$EXEEXT"; then
17288 am__EXEEXT_FALSE='#'
17290 am__EXEEXT_TRUE='#'
17294 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17295 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17298 if test -z "${DIST_DOCTOOLS_TRUE}" && test -z "${DIST_DOCTOOLS_FALSE}"; then
17299 as_fn_error $? "conditional \"DIST_DOCTOOLS\" was never defined.
17300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17302 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17303 as_fn_error $? "conditional \"AMDEP\" was never defined.
17304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17306 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17307 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17310 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17311 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17314 if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then
17315 as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined.
17316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17318 if test -z "${DISABLE_DEPRECATED_API_TRUE}" && test -z "${DISABLE_DEPRECATED_API_FALSE}"; then
17319 as_fn_error $? "conditional \"DISABLE_DEPRECATED_API\" was never defined.
17320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17323 : "${CONFIG_STATUS=./config.status}"
17325 ac_clean_files_save=$ac_clean_files
17326 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17328 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17330 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17332 # Generated by $as_me.
17333 # Run this file to recreate the current configuration.
17334 # Compiler output produced by configure, useful for debugging
17335 # configure, is in config.log if it exists.
17338 ac_cs_recheck=false
17341 SHELL=\${CONFIG_SHELL-$SHELL}
17344 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17345 ## -------------------- ##
17346 ## M4sh Initialization. ##
17347 ## -------------------- ##
17349 # Be more Bourne compatible
17350 DUALCASE=1; export DUALCASE # for MKS sh
17351 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17354 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17355 # is contrary to our usage. Disable this feature.
17356 alias -g '${1+"$@"}'='"$@"'
17357 setopt NO_GLOB_SUBST
17359 case `(set -o) 2>/dev/null` in #(
17371 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17372 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17373 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17374 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17375 # Prefer a ksh shell builtin over an external printf program on Solaris,
17376 # but without wasting forks for bash or zsh.
17377 if test -z "$BASH_VERSION$ZSH_VERSION" \
17378 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17379 as_echo='print -r --'
17380 as_echo_n='print -rn --'
17381 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17382 as_echo='printf %s\n'
17383 as_echo_n='printf %s'
17385 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17386 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17387 as_echo_n='/usr/ucb/echo -n'
17389 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17390 as_echo_n_body='eval
17394 expr "X$arg" : "X\\(.*\\)$as_nl";
17395 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17397 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17399 export as_echo_n_body
17400 as_echo_n='sh -c $as_echo_n_body as_echo'
17402 export as_echo_body
17403 as_echo='sh -c $as_echo_body as_echo'
17406 # The user is always right.
17407 if test "${PATH_SEPARATOR+set}" != set; then
17409 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17410 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17417 # We need space, tab and new line, in precisely that order. Quoting is
17418 # there to prevent editors from complaining about space-tab.
17419 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17420 # splitting by setting IFS to empty value.)
17423 # Find who we are. Look in the path if we contain no directory separator.
17426 *[\\/]* ) as_myself=$0 ;;
17427 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17428 for as_dir in $PATH
17431 test -z "$as_dir" && as_dir=.
17432 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17438 # We did not find ourselves, most probably we were run as `sh COMMAND'
17439 # in which case we are not to be found in the path.
17440 if test "x$as_myself" = x; then
17443 if test ! -f "$as_myself"; then
17444 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17448 # Unset variables that we do not need and which cause bugs (e.g. in
17449 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17450 # suppresses any "Segmentation fault" message there. '((' could
17451 # trigger a bug in pdksh 5.2.14.
17452 for as_var in BASH_ENV ENV MAIL MAILPATH
17453 do eval test x\${$as_var+set} = xset \
17454 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17467 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17470 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17471 # ----------------------------------------
17472 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17473 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17474 # script with STATUS, using 1 if that was 0.
17477 as_status=$1; test $as_status -eq 0 && as_status=1
17479 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17480 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17482 $as_echo "$as_me: error: $2" >&2
17483 as_fn_exit $as_status
17487 # as_fn_set_status STATUS
17488 # -----------------------
17489 # Set $? to STATUS, without forking.
17490 as_fn_set_status ()
17493 } # as_fn_set_status
17495 # as_fn_exit STATUS
17496 # -----------------
17497 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17501 as_fn_set_status $1
17507 # Portably unset VAR.
17510 { eval $1=; unset $1;}
17512 as_unset=as_fn_unset
17513 # as_fn_append VAR VALUE
17514 # ----------------------
17515 # Append the text in VALUE to the end of the definition contained in VAR. Take
17516 # advantage of any shell optimizations that allow amortized linear growth over
17517 # repeated appends, instead of the typical quadratic growth present in naive
17519 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17520 eval 'as_fn_append ()
17531 # as_fn_arith ARG...
17532 # ------------------
17533 # Perform arithmetic evaluation on the ARGs, and store the result in the
17534 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17535 # must be portable across $(()) and expr.
17536 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17537 eval 'as_fn_arith ()
17544 as_val=`expr "$@" || test $? -eq 1`
17549 if expr a : '\(a\)' >/dev/null 2>&1 &&
17550 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17556 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17557 as_basename=basename
17562 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17568 as_me=`$as_basename -- "$0" ||
17569 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17570 X"$0" : 'X\(//\)$' \| \
17571 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17573 sed '/^.*\/\([^/][^/]*\)\/*$/{
17587 # Avoid depending upon Character Ranges.
17588 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17589 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17590 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17591 as_cr_digits='0123456789'
17592 as_cr_alnum=$as_cr_Letters$as_cr_digits
17594 ECHO_C= ECHO_N= ECHO_T=
17595 case `echo -n x` in #(((((
17597 case `echo 'xy\c'` in
17598 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17600 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17607 rm -f conf$$ conf$$.exe conf$$.file
17608 if test -d conf$$.dir; then
17609 rm -f conf$$.dir/conf$$.file
17612 mkdir conf$$.dir 2>/dev/null
17614 if (echo >conf$$.file) 2>/dev/null; then
17615 if ln -s conf$$.file conf$$ 2>/dev/null; then
17617 # ... but there are two gotchas:
17618 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17619 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17620 # In both cases, we have to default to `cp -pR'.
17621 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17623 elif ln conf$$.file conf$$ 2>/dev/null; then
17631 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17632 rmdir conf$$.dir 2>/dev/null
17637 # Create "$as_dir" as a directory, including parents if necessary.
17642 -*) as_dir=./$as_dir;;
17644 test -d "$as_dir" || eval $as_mkdir_p || {
17648 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17649 *) as_qdir=$as_dir;;
17651 as_dirs="'$as_qdir' $as_dirs"
17652 as_dir=`$as_dirname -- "$as_dir" ||
17653 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17654 X"$as_dir" : 'X\(//\)[^/]' \| \
17655 X"$as_dir" : 'X\(//\)$' \| \
17656 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17657 $as_echo X"$as_dir" |
17658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17662 /^X\(\/\/\)[^/].*/{
17675 test -d "$as_dir" && break
17677 test -z "$as_dirs" || eval "mkdir $as_dirs"
17678 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17682 if mkdir -p . 2>/dev/null; then
17683 as_mkdir_p='mkdir -p "$as_dir"'
17685 test -d ./-p && rmdir ./-p
17690 # as_fn_executable_p FILE
17691 # -----------------------
17692 # Test if FILE is an executable regular file.
17693 as_fn_executable_p ()
17695 test -f "$1" && test -x "$1"
17696 } # as_fn_executable_p
17697 as_test_x='test -x'
17698 as_executable_p=as_fn_executable_p
17700 # Sed expression to map a string onto a valid CPP name.
17701 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17703 # Sed expression to map a string onto a valid variable name.
17704 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17708 ## ----------------------------------- ##
17709 ## Main body of $CONFIG_STATUS script. ##
17710 ## ----------------------------------- ##
17712 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17715 # Save the log message, to keep $0 and so on meaningful, and to
17716 # report actual input values of CONFIG_FILES etc. instead of their
17717 # values after options handling.
17719 This file was extended by libsigc++ $as_me 2.99.2, which was
17720 generated by GNU Autoconf 2.69. Invocation command line was
17722 CONFIG_FILES = $CONFIG_FILES
17723 CONFIG_HEADERS = $CONFIG_HEADERS
17724 CONFIG_LINKS = $CONFIG_LINKS
17725 CONFIG_COMMANDS = $CONFIG_COMMANDS
17728 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17733 case $ac_config_files in *"
17734 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17737 case $ac_config_headers in *"
17738 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17743 # Files that config.status was made for.
17744 config_files="$ac_config_files"
17745 config_headers="$ac_config_headers"
17746 config_commands="$ac_config_commands"
17750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17752 \`$as_me' instantiates files and other configuration actions
17753 from templates according to the current configuration. Unless the files
17754 and actions are specified as TAGs, all are instantiated by default.
17756 Usage: $0 [OPTION]... [TAG]...
17758 -h, --help print this help, then exit
17759 -V, --version print version number and configuration settings, then exit
17760 --config print configuration, then exit
17761 -q, --quiet, --silent
17762 do not print progress messages
17763 -d, --debug don't remove temporary files
17764 --recheck update $as_me by reconfiguring in the same conditions
17765 --file=FILE[:TEMPLATE]
17766 instantiate the configuration file FILE
17767 --header=FILE[:TEMPLATE]
17768 instantiate the configuration header FILE
17770 Configuration files:
17773 Configuration headers:
17776 Configuration commands:
17779 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B>.
17780 libsigc++ home page: <http://libsigc.sourceforge.net/>."
17783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17784 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17786 libsigc++ config.status 2.99.2
17787 configured by $0, generated by GNU Autoconf 2.69,
17788 with options \\"\$ac_cs_config\\"
17790 Copyright (C) 2012 Free Software Foundation, Inc.
17791 This config.status script is free software; the Free Software Foundation
17792 gives unlimited permission to copy, distribute and modify it."
17799 test -n "\$AWK" || AWK=awk
17802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17803 # The default lists apply if the user does not specify any file.
17809 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17810 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17814 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17826 # Handling of the options.
17827 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17829 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17830 $as_echo "$ac_cs_version"; exit ;;
17831 --config | --confi | --conf | --con | --co | --c )
17832 $as_echo "$ac_cs_config"; exit ;;
17833 --debug | --debu | --deb | --de | --d | -d )
17835 --file | --fil | --fi | --f )
17838 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17839 '') as_fn_error $? "missing file argument" ;;
17841 as_fn_append CONFIG_FILES " '$ac_optarg'"
17842 ac_need_defaults=false;;
17843 --header | --heade | --head | --hea )
17846 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17848 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17849 ac_need_defaults=false;;
17851 # Conflict between --help and --header
17852 as_fn_error $? "ambiguous option: \`$1'
17853 Try \`$0 --help' for more information.";;
17854 --help | --hel | -h )
17855 $as_echo "$ac_cs_usage"; exit ;;
17856 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17857 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17860 # This is an error.
17861 -*) as_fn_error $? "unrecognized option: \`$1'
17862 Try \`$0 --help' for more information." ;;
17864 *) as_fn_append ac_config_targets " $1"
17865 ac_need_defaults=false ;;
17871 ac_configure_extra_args=
17873 if $ac_cs_silent; then
17875 ac_configure_extra_args="$ac_configure_extra_args --silent"
17879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17880 if \$ac_cs_recheck; then
17881 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17883 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17884 CONFIG_SHELL='$SHELL'
17885 export CONFIG_SHELL
17890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17894 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17895 ## Running $as_me. ##
17901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17905 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17908 # The HP-UX ksh and POSIX shell print the target directory to stdout
17909 # if CDPATH is set.
17910 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17912 sed_quote_subst='$sed_quote_subst'
17913 double_quote_subst='$double_quote_subst'
17914 delay_variable_subst='$delay_variable_subst'
17915 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17916 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17917 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17918 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17919 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17920 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17921 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17922 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17923 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17924 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17925 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17926 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17927 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17928 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17929 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17930 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17931 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17932 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17933 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17934 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17935 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17936 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17937 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17938 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17939 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17940 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17941 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17942 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17943 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17944 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17945 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17946 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17947 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17948 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17949 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17950 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17951 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17952 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17953 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17954 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17955 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17956 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17957 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17958 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17959 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17960 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17961 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17962 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17963 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17964 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17965 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17966 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17967 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17968 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17969 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17970 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17971 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17972 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"`'
17973 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17974 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17975 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17976 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17977 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17978 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17979 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17980 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17981 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17982 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17983 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17984 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17985 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17986 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17987 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17988 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17989 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17990 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17991 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17992 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17993 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17994 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17995 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17996 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17997 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17998 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17999 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18000 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18001 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18002 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18003 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18004 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18005 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18006 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18007 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18008 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18009 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18010 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18011 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18012 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18013 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18014 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18015 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18016 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18017 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18018 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18019 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18020 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18021 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18022 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18023 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18024 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18025 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18026 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18027 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18028 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18029 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18030 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18031 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18032 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18033 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18034 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18035 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18036 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18037 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18038 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18039 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18040 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18041 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18042 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18043 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18044 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18045 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18046 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18047 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18048 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18049 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18050 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18051 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18052 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18053 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18054 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18055 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18056 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18057 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18058 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18059 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18060 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18061 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18062 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18063 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18064 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18065 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18066 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18067 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18068 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18069 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18070 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18071 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18072 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18073 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18074 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18075 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18076 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18077 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18078 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18079 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18080 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18081 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18082 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18083 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18084 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18085 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18086 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18087 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18088 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18089 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18090 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18091 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18092 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18093 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18094 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18095 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18096 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18097 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18098 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18099 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18102 LTCFLAGS='$LTCFLAGS'
18103 compiler='$compiler_DEFAULT'
18105 # A function that is used when there is no print builtin or printf.
18106 func_fallback_echo ()
18108 eval 'cat <<_LTECHO_EOF
18113 # Quote evaled strings.
18130 deplibs_check_method \
18134 sharedlib_from_linklib_cmd \
18137 archiver_list_spec \
18143 lt_cv_sys_global_symbol_pipe \
18144 lt_cv_sys_global_symbol_to_cdecl \
18145 lt_cv_sys_global_symbol_to_c_name_address \
18146 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18147 nm_file_list_spec \
18148 lt_prog_compiler_no_builtin_flag \
18149 lt_prog_compiler_pic \
18150 lt_prog_compiler_wl \
18151 lt_prog_compiler_static \
18152 lt_cv_prog_compiler_c_o \
18161 export_dynamic_flag_spec \
18162 whole_archive_flag_spec \
18163 compiler_needs_object \
18165 allow_undefined_flag \
18166 no_undefined_flag \
18167 hardcode_libdir_flag_spec \
18168 hardcode_libdir_separator \
18172 variables_saved_for_relink \
18174 library_names_spec \
18176 install_override_mode \
18180 compiler_lib_search_dirs \
18185 compiler_lib_search_path \
18189 lt_prog_compiler_no_builtin_flag_CXX \
18190 lt_prog_compiler_pic_CXX \
18191 lt_prog_compiler_wl_CXX \
18192 lt_prog_compiler_static_CXX \
18193 lt_cv_prog_compiler_c_o_CXX \
18194 export_dynamic_flag_spec_CXX \
18195 whole_archive_flag_spec_CXX \
18196 compiler_needs_object_CXX \
18198 allow_undefined_flag_CXX \
18199 no_undefined_flag_CXX \
18200 hardcode_libdir_flag_spec_CXX \
18201 hardcode_libdir_separator_CXX \
18202 exclude_expsyms_CXX \
18203 include_expsyms_CXX \
18204 file_list_spec_CXX \
18205 compiler_lib_search_dirs_CXX \
18206 predep_objects_CXX \
18207 postdep_objects_CXX \
18210 compiler_lib_search_path_CXX; do
18211 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18212 *[\\\\\\\`\\"\\\$]*)
18213 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18216 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18221 # Double-quote double-evaled strings.
18222 for var in reload_cmds \
18223 old_postinstall_cmds \
18224 old_postuninstall_cmds \
18226 extract_expsyms_cmds \
18227 old_archive_from_new_cmds \
18228 old_archive_from_expsyms_cmds \
18230 archive_expsym_cmds \
18232 module_expsym_cmds \
18233 export_symbols_cmds \
18237 postuninstall_cmds \
18239 sys_lib_search_path_spec \
18240 sys_lib_dlsearch_path_spec \
18242 old_archive_cmds_CXX \
18243 old_archive_from_new_cmds_CXX \
18244 old_archive_from_expsyms_cmds_CXX \
18246 archive_expsym_cmds_CXX \
18248 module_expsym_cmds_CXX \
18249 export_symbols_cmds_CXX \
18251 postlink_cmds_CXX; do
18252 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18253 *[\\\\\\\`\\"\\\$]*)
18254 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18257 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18262 ac_aux_dir='$ac_aux_dir'
18263 xsi_shell='$xsi_shell'
18264 lt_shell_append='$lt_shell_append'
18266 # See if we are running on zsh, and set the options which allow our
18267 # commands through without removal of \ escapes INIT.
18268 if test -n "\${ZSH_VERSION+set}" ; then
18269 setopt NO_GLOB_SUBST
18275 TIMESTAMP='$TIMESTAMP'
18286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18288 # Handling of arguments.
18289 for ac_config_target in $ac_config_targets
18291 case $ac_config_target in
18292 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18293 "sigc++config.h") CONFIG_HEADERS="$CONFIG_HEADERS sigc++config.h" ;;
18294 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18295 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18296 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18297 "${SIGCXX_MODULE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${SIGCXX_MODULE_NAME}.pc:sigc++.pc.in" ;;
18298 "${SIGCXX_MODULE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${SIGCXX_MODULE_NAME}-uninstalled.pc:sigc++-uninstalled.pc.in" ;;
18299 "cmake/Makefile") CONFIG_FILES="$CONFIG_FILES cmake/Makefile" ;;
18300 "sigc++/Makefile") CONFIG_FILES="$CONFIG_FILES sigc++/Makefile" ;;
18301 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
18302 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
18303 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
18304 "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;;
18305 "MSVC_Net2013/sigc.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2013/sigc.rc" ;;
18306 "MSVC_Net2013/sigc++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2013/sigc++config.h" ;;
18308 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18313 # If the user did not use the arguments to specify the items to instantiate,
18314 # then the envvar interface is used. Set only those that are not.
18315 # We use the long form for the default assignment because of an extremely
18316 # bizarre bug on SunOS 4.1.3.
18317 if $ac_need_defaults; then
18318 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18319 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18320 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18323 # Have a temporary directory for convenience. Make it in the build tree
18324 # simply because there is no reason against having it here, and in addition,
18325 # creating and moving files from /tmp can sometimes cause problems.
18326 # Hook for its removal unless debugging.
18327 # Note that there is a small window in which the directory will not be cleaned:
18328 # after its creation but before its name has been assigned to `$tmp'.
18332 trap 'exit_status=$?
18333 : "${ac_tmp:=$tmp}"
18334 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18336 trap 'as_fn_exit 1' 1 2 13 15
18338 # Create a (secure) tmp directory for tmp files.
18341 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18345 tmp=./conf$$-$RANDOM
18346 (umask 077 && mkdir "$tmp")
18347 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18350 # Set up the scripts for CONFIG_FILES section.
18351 # No need to generate them if there are no CONFIG_FILES.
18352 # This happens for instance with `./config.status config.h'.
18353 if test -n "$CONFIG_FILES"; then
18356 ac_cr=`echo X | tr X '\015'`
18357 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18358 # But we know of no other shell where ac_cr would be empty at this
18359 # point, so we can use a bashism as a fallback.
18360 if test "x$ac_cr" = x; then
18361 eval ac_cr=\$\'\\r\'
18363 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18364 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18367 ac_cs_awk_cr=$ac_cr
18370 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18375 echo "cat >conf$$subs.awk <<_ACEOF" &&
18376 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18378 } >conf$$subs.sh ||
18379 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18380 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18382 for ac_last_try in false false false false false :; do
18383 . ./conf$$subs.sh ||
18384 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18386 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18387 if test $ac_delim_n = $ac_delim_num; then
18389 elif $ac_last_try; then
18390 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18392 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18395 rm -f conf$$subs.sh
18397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18398 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18402 s/^/S["/; s/!.*/"]=/
18412 s/\(.\{148\}\)..*/\1/
18414 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18419 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18426 s/\(.\{148\}\)..*/\1/
18428 s/["\\]/\\&/g; s/^/"/; s/$/"/
18432 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18437 ' <conf$$subs.awk | sed '
18442 ' >>$CONFIG_STATUS || ac_write_fail=1
18443 rm -f conf$$subs.awk
18444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18446 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18447 for (key in S) S_is_set[key] = 1
18453 nfields = split(line, field, "@")
18455 len = length(field[1])
18456 for (i = 2; i < nfields; i++) {
18458 keylen = length(key)
18459 if (S_is_set[key]) {
18461 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18462 len += length(value) + length(field[++i])
18473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18474 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18475 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18478 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18479 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18482 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18483 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18484 # trailing colons and then remove the whole line if VPATH becomes empty
18485 # (actually we leave an empty line to preserve line numbers).
18486 if test "x$srcdir" = x.; then
18487 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18506 fi # test -n "$CONFIG_FILES"
18508 # Set up the scripts for CONFIG_HEADERS section.
18509 # No need to generate them if there are no CONFIG_HEADERS.
18510 # This happens for instance with `./config.status Makefile'.
18511 if test -n "$CONFIG_HEADERS"; then
18512 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18516 # Transform confdefs.h into an awk script `defines.awk', embedded as
18517 # here-document in config.status, that substitutes the proper values into
18518 # config.h.in to produce config.h.
18520 # Create a delimiter string that does not exist in confdefs.h, to ease
18521 # handling of long lines.
18523 for ac_last_try in false false :; do
18524 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18525 if test -z "$ac_tt"; then
18527 elif $ac_last_try; then
18528 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18530 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18534 # For the awk script, D is an array of macro values keyed by name,
18535 # likewise P contains macro parameters if any. Preserve backslash
18536 # newline sequences.
18538 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18540 s/.\{148\}/&'"$ac_delim"'/g
18543 s/^[ ]*#[ ]*define[ ][ ]*/ /
18550 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18552 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18556 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18557 D["\1"]=" \3\\\\\\n"\\/p
18559 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18564 s/.\{148\}/&'"$ac_delim"'/g
18569 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18572 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18574 ' <confdefs.h | sed '
18575 s/'"$ac_delim"'/"\\\
18576 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18579 for (key in D) D_is_set[key] = 1
18582 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18584 split(line, arg, " ")
18585 if (arg[1] == "#") {
18589 defundef = substr(arg[1], 2)
18592 split(mac1, mac2, "(") #)
18594 prefix = substr(line, 1, index(line, defundef) - 1)
18595 if (D_is_set[macro]) {
18596 # Preserve the white space surrounding the "#".
18597 print prefix "define", macro P[macro] D[macro]
18600 # Replace #undef with comments. This is necessary, for example,
18601 # in the case of _POSIX_SOURCE, which is predefined and required
18602 # on some systems where configure will not decide to define it.
18603 if (defundef == "undef") {
18604 print "/*", prefix defundef, macro, "*/"
18612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18613 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18614 fi # test -n "$CONFIG_HEADERS"
18617 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18622 :[FHLC]) ac_mode=$ac_tag; continue;;
18624 case $ac_mode$ac_tag in
18626 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18627 :[FH]-) ac_tag=-:-;;
18628 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18645 -) ac_f="$ac_tmp/stdin";;
18646 *) # Look for the file first in the build tree, then in the source tree
18647 # (if the path is not absolute). The absolute path cannot be DOS-style,
18648 # because $ac_f cannot contain `:'.
18652 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18654 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18656 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18657 as_fn_append ac_file_inputs " '$ac_f'"
18660 # Let's still pretend it is `configure' which instantiates (i.e., don't
18661 # use $as_me), people would be surprised to read:
18662 # /* config.h. Generated by config.status. */
18663 configure_input='Generated from '`
18664 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18666 if test x"$ac_file" != x-; then
18667 configure_input="$ac_file. $configure_input"
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18669 $as_echo "$as_me: creating $ac_file" >&6;}
18671 # Neutralize special characters interpreted by sed in replacement strings.
18672 case $configure_input in #(
18673 *\&* | *\|* | *\\* )
18674 ac_sed_conf_input=`$as_echo "$configure_input" |
18675 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18676 *) ac_sed_conf_input=$configure_input;;
18680 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18681 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18686 ac_dir=`$as_dirname -- "$ac_file" ||
18687 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18688 X"$ac_file" : 'X\(//\)[^/]' \| \
18689 X"$ac_file" : 'X\(//\)$' \| \
18690 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18691 $as_echo X"$ac_file" |
18692 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18696 /^X\(\/\/\)[^/].*/{
18709 as_dir="$ac_dir"; as_fn_mkdir_p
18713 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18715 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18716 # A ".." for each directory in $ac_dir_suffix.
18717 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18718 case $ac_top_builddir_sub in
18719 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18720 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18723 ac_abs_top_builddir=$ac_pwd
18724 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18725 # for backward compatibility:
18726 ac_top_builddir=$ac_top_build_prefix
18729 .) # We are building in place.
18731 ac_top_srcdir=$ac_top_builddir_sub
18732 ac_abs_top_srcdir=$ac_pwd ;;
18733 [\\/]* | ?:[\\/]* ) # Absolute name.
18734 ac_srcdir=$srcdir$ac_dir_suffix;
18735 ac_top_srcdir=$srcdir
18736 ac_abs_top_srcdir=$srcdir ;;
18737 *) # Relative name.
18738 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18739 ac_top_srcdir=$ac_top_build_prefix$srcdir
18740 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18742 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18752 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18753 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18755 ac_MKDIR_P=$MKDIR_P
18757 [\\/$]* | ?:[\\/]* ) ;;
18758 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18763 # If the template does not know about datarootdir, expand it.
18764 # FIXME: This hack should be removed a few years after 2.60.
18765 ac_datarootdir_hack=; ac_datarootdir_seen=
18776 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18777 *datarootdir*) ac_datarootdir_seen=yes;;
18778 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18780 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18783 ac_datarootdir_hack='
18784 s&@datadir@&$datadir&g
18785 s&@docdir@&$docdir&g
18786 s&@infodir@&$infodir&g
18787 s&@localedir@&$localedir&g
18788 s&@mandir@&$mandir&g
18789 s&\\\${datarootdir}&$datarootdir&g' ;;
18793 # Neutralize VPATH when `$srcdir' = `.'.
18794 # Shell code in configure.ac might set extrasub.
18795 # FIXME: do we really want to maintain this feature?
18796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18797 ac_sed_extra="$ac_vpsub
18800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18802 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18803 s|@configure_input@|$ac_sed_conf_input|;t t
18804 s&@top_builddir@&$ac_top_builddir_sub&;t t
18805 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18806 s&@srcdir@&$ac_srcdir&;t t
18807 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18808 s&@top_srcdir@&$ac_top_srcdir&;t t
18809 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18810 s&@builddir@&$ac_builddir&;t t
18811 s&@abs_builddir@&$ac_abs_builddir&;t t
18812 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18813 s&@INSTALL@&$ac_INSTALL&;t t
18814 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18815 $ac_datarootdir_hack
18817 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18818 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18820 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18821 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18822 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18823 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18825 which seems to be undefined. Please make sure it is defined" >&5
18826 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18827 which seems to be undefined. Please make sure it is defined" >&2;}
18829 rm -f "$ac_tmp/stdin"
18831 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18832 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18834 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18840 if test x"$ac_file" != x-; then
18842 $as_echo "/* $configure_input */" \
18843 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18844 } >"$ac_tmp/config.h" \
18845 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18846 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18848 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18851 mv "$ac_tmp/config.h" "$ac_file" \
18852 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18855 $as_echo "/* $configure_input */" \
18856 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18857 || as_fn_error $? "could not create -" "$LINENO" 5
18859 # Compute "$ac_file"'s index in $config_headers.
18862 for _am_header in $config_headers :; do
18863 case $_am_header in
18864 $_am_arg | $_am_arg:* )
18867 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18870 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18871 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18872 X"$_am_arg" : 'X\(//\)[^/]' \| \
18873 X"$_am_arg" : 'X\(//\)$' \| \
18874 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18875 $as_echo X"$_am_arg" |
18876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18880 /^X\(\/\/\)[^/].*/{
18892 s/.*/./; q'`/stamp-h$_am_stamp_count
18895 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18896 $as_echo "$as_me: executing $ac_file commands" >&6;}
18901 case $ac_file$ac_mode in
18902 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18903 # Older Autoconf quotes --file arguments for eval, but not when files
18904 # are listed without --file. Let's play safe and only enable the eval
18905 # if we detect the quoting.
18906 case $CONFIG_FILES in
18907 *\'*) eval set x "$CONFIG_FILES" ;;
18908 *) set x $CONFIG_FILES ;;
18913 # Strip MF so we end up with the name of the file.
18914 mf=`echo "$mf" | sed -e 's/:.*$//'`
18915 # Check whether this is an Automake generated Makefile or not.
18916 # We used to match only the files named 'Makefile.in', but
18917 # some people rename them; so instead we look at the file content.
18918 # Grep'ing the first line is not enough: some people post-process
18919 # each Makefile.in and add a new line on top of each file to say so.
18920 # Grep'ing the whole file is not good either: AIX grep has a line
18921 # limit of 2048, but all sed's we know have understand at least 4000.
18922 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18923 dirpart=`$as_dirname -- "$mf" ||
18924 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18925 X"$mf" : 'X\(//\)[^/]' \| \
18926 X"$mf" : 'X\(//\)$' \| \
18927 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18933 /^X\(\/\/\)[^/].*/{
18949 # Extract the definition of DEPDIR, am__include, and am__quote
18950 # from the Makefile without running 'make'.
18951 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18952 test -z "$DEPDIR" && continue
18953 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18954 test -z "$am__include" && continue
18955 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18956 # Find all dependency output files, they are included files with
18957 # $(DEPDIR) in their names. We invoke sed twice because it is the
18958 # simplest approach to changing $(DEPDIR) to its actual value in the
18960 for file in `sed -n "
18961 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18962 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18963 # Make sure the directory exists.
18964 test -f "$dirpart/$file" && continue
18965 fdir=`$as_dirname -- "$file" ||
18966 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18967 X"$file" : 'X\(//\)[^/]' \| \
18968 X"$file" : 'X\(//\)$' \| \
18969 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18970 $as_echo X"$file" |
18971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18975 /^X\(\/\/\)[^/].*/{
18988 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18989 # echo "creating $dirpart/$file"
18990 echo '# dummy' > "$dirpart/$file"
18997 # See if we are running on zsh, and set the options which allow our
18998 # commands through without removal of \ escapes.
18999 if test -n "${ZSH_VERSION+set}" ; then
19000 setopt NO_GLOB_SUBST
19003 cfgfile="${ofile}T"
19004 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19007 cat <<_LT_EOF >> "$cfgfile"
19010 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19011 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19012 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19013 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19015 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19016 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
19018 # Written by Gordon Matzigkeit, 1996
19020 # This file is part of GNU Libtool.
19022 # GNU Libtool is free software; you can redistribute it and/or
19023 # modify it under the terms of the GNU General Public License as
19024 # published by the Free Software Foundation; either version 2 of
19025 # the License, or (at your option) any later version.
19027 # As a special exception to the GNU General Public License,
19028 # if you distribute this file as part of a program or library that
19029 # is built using GNU Libtool, you may include this file under the
19030 # same distribution terms that you use for the rest of that program.
19032 # GNU Libtool is distributed in the hope that it will be useful,
19033 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19034 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19035 # GNU General Public License for more details.
19037 # You should have received a copy of the GNU General Public License
19038 # along with GNU Libtool; see the file COPYING. If not, a copy
19039 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19040 # obtained by writing to the Free Software Foundation, Inc.,
19041 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19044 # The names of the tagged configurations supported by this script.
19045 available_tags="CXX "
19047 # ### BEGIN LIBTOOL CONFIG
19049 # Whether or not to build static libraries.
19050 build_old_libs=$enable_static
19052 # Which release of libtool.m4 was used?
19053 macro_version=$macro_version
19054 macro_revision=$macro_revision
19056 # Assembler program.
19059 # DLL creation program.
19060 DLLTOOL=$lt_DLLTOOL
19062 # Object dumper program.
19063 OBJDUMP=$lt_OBJDUMP
19065 # Whether or not to build shared libraries.
19066 build_libtool_libs=$enable_shared
19068 # What type of objects to build.
19071 # Whether or not to optimize for fast installation.
19072 fast_install=$enable_fast_install
19074 # Shell to use when invoking shell scripts.
19077 # An echo program that protects backslashes.
19080 # The PATH separator for the build system.
19081 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19084 host_alias=$host_alias
19088 # The build system.
19089 build_alias=$build_alias
19093 # A sed program that does not truncate output.
19096 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19097 Xsed="\$SED -e 1s/^X//"
19099 # A grep program that handles long lines.
19105 # A literal string matcher.
19108 # A BSD- or MS-compatible name lister.
19111 # Whether we need soft or hard links.
19114 # What is the maximum length of a command?
19115 max_cmd_len=$max_cmd_len
19117 # Object file suffix (normally "o").
19120 # Executable file suffix (normally "").
19123 # whether the shell understands "unset".
19126 # turn spaces into newlines.
19129 # turn newlines into spaces.
19132 # convert \$build file names to \$host format.
19133 to_host_file_cmd=$lt_cv_to_host_file_cmd
19135 # convert \$build files to toolchain format.
19136 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19138 # Method to check whether dependent libraries are shared objects.
19139 deplibs_check_method=$lt_deplibs_check_method
19141 # Command to use when deplibs_check_method = "file_magic".
19142 file_magic_cmd=$lt_file_magic_cmd
19144 # How to find potential files when deplibs_check_method = "file_magic".
19145 file_magic_glob=$lt_file_magic_glob
19147 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19148 want_nocaseglob=$lt_want_nocaseglob
19150 # Command to associate shared and link libraries.
19151 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19156 # Flags to create an archive.
19157 AR_FLAGS=$lt_AR_FLAGS
19159 # How to feed a file listing to the archiver.
19160 archiver_list_spec=$lt_archiver_list_spec
19162 # A symbol stripping program.
19165 # Commands used to install an old-style archive.
19167 old_postinstall_cmds=$lt_old_postinstall_cmds
19168 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19170 # Whether to use a lock for old archive extraction.
19171 lock_old_archive_extraction=$lock_old_archive_extraction
19176 # LTCC compiler flags.
19177 LTCFLAGS=$lt_CFLAGS
19179 # Take the output of nm and produce a listing of raw symbols and C names.
19180 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19182 # Transform the output of nm in a proper C declaration.
19183 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19185 # Transform the output of nm in a C name address pair.
19186 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19188 # Transform the output of nm in a C name address pair when lib prefix is needed.
19189 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19191 # Specify filename containing input files for \$NM.
19192 nm_file_list_spec=$lt_nm_file_list_spec
19194 # The root where to search for dependent libraries,and in which our libraries should be installed.
19195 lt_sysroot=$lt_sysroot
19197 # The name of the directory that contains temporary libtool files.
19200 # Used to examine libraries when file_magic_cmd begins with "file".
19201 MAGIC_CMD=$MAGIC_CMD
19203 # Must we lock files when doing compilation?
19204 need_locks=$lt_need_locks
19207 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19209 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19210 DSYMUTIL=$lt_DSYMUTIL
19212 # Tool to change global to local symbols on Mac OS X.
19215 # Tool to manipulate fat objects and archives on Mac OS X.
19218 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19221 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19222 OTOOL64=$lt_OTOOL64
19224 # Old archive suffix (normally "a").
19227 # Shared library suffix (normally ".so").
19228 shrext_cmds=$lt_shrext_cmds
19230 # The commands to extract the exported symbol list from a shared archive.
19231 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19233 # Variables whose values should be saved in libtool wrapper scripts and
19234 # restored at link time.
19235 variables_saved_for_relink=$lt_variables_saved_for_relink
19237 # Do we need the "lib" prefix for modules?
19238 need_lib_prefix=$need_lib_prefix
19240 # Do we need a version for libraries?
19241 need_version=$need_version
19243 # Library versioning type.
19244 version_type=$version_type
19246 # Shared library runtime path variable.
19247 runpath_var=$runpath_var
19249 # Shared library path variable.
19250 shlibpath_var=$shlibpath_var
19252 # Is shlibpath searched before the hard-coded library search path?
19253 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19255 # Format of library name prefix.
19256 libname_spec=$lt_libname_spec
19258 # List of archive names. First name is the real one, the rest are links.
19259 # The last name is the one that the linker finds with -lNAME
19260 library_names_spec=$lt_library_names_spec
19262 # The coded name of the library, if different from the real name.
19263 soname_spec=$lt_soname_spec
19265 # Permission mode override for installation of shared libraries.
19266 install_override_mode=$lt_install_override_mode
19268 # Command to use after installation of a shared archive.
19269 postinstall_cmds=$lt_postinstall_cmds
19271 # Command to use after uninstallation of a shared archive.
19272 postuninstall_cmds=$lt_postuninstall_cmds
19274 # Commands used to finish a libtool library installation in a directory.
19275 finish_cmds=$lt_finish_cmds
19277 # As "finish_cmds", except a single script fragment to be evaled but
19279 finish_eval=$lt_finish_eval
19281 # Whether we should hardcode library paths into libraries.
19282 hardcode_into_libs=$hardcode_into_libs
19284 # Compile-time system search path for libraries.
19285 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19287 # Run-time system search path for libraries.
19288 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19290 # Whether dlopen is supported.
19291 dlopen_support=$enable_dlopen
19293 # Whether dlopen of programs is supported.
19294 dlopen_self=$enable_dlopen_self
19296 # Whether dlopen of statically linked programs is supported.
19297 dlopen_self_static=$enable_dlopen_self_static
19299 # Commands to strip libraries.
19300 old_striplib=$lt_old_striplib
19301 striplib=$lt_striplib
19304 # The linker used to build libraries.
19307 # How to create reloadable object files.
19308 reload_flag=$lt_reload_flag
19309 reload_cmds=$lt_reload_cmds
19311 # Commands used to build an old-style archive.
19312 old_archive_cmds=$lt_old_archive_cmds
19314 # A language specific compiler.
19317 # Is the compiler the GNU compiler?
19320 # Compiler flag to turn off builtin functions.
19321 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19323 # Additional compiler flags for building library objects.
19324 pic_flag=$lt_lt_prog_compiler_pic
19326 # How to pass a linker flag through the compiler.
19327 wl=$lt_lt_prog_compiler_wl
19329 # Compiler flag to prevent dynamic linking.
19330 link_static_flag=$lt_lt_prog_compiler_static
19332 # Does compiler simultaneously support -c and -o options?
19333 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19335 # Whether or not to add -lc for building shared libraries.
19336 build_libtool_need_lc=$archive_cmds_need_lc
19338 # Whether or not to disallow shared libs when runtime libs are static.
19339 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19341 # Compiler flag to allow reflexive dlopens.
19342 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19344 # Compiler flag to generate shared objects directly from archives.
19345 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19347 # Whether the compiler copes with passing no objects directly.
19348 compiler_needs_object=$lt_compiler_needs_object
19350 # Create an old-style archive from a shared archive.
19351 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19353 # Create a temporary old-style archive to link instead of a shared archive.
19354 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19356 # Commands used to build a shared archive.
19357 archive_cmds=$lt_archive_cmds
19358 archive_expsym_cmds=$lt_archive_expsym_cmds
19360 # Commands used to build a loadable module if different from building
19361 # a shared archive.
19362 module_cmds=$lt_module_cmds
19363 module_expsym_cmds=$lt_module_expsym_cmds
19365 # Whether we are building with GNU ld or not.
19366 with_gnu_ld=$lt_with_gnu_ld
19368 # Flag that allows shared libraries with undefined symbols to be built.
19369 allow_undefined_flag=$lt_allow_undefined_flag
19371 # Flag that enforces no undefined symbols.
19372 no_undefined_flag=$lt_no_undefined_flag
19374 # Flag to hardcode \$libdir into a binary during linking.
19375 # This must work even if \$libdir does not exist
19376 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19378 # Whether we need a single "-rpath" flag with a separated argument.
19379 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19381 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19382 # DIR into the resulting binary.
19383 hardcode_direct=$hardcode_direct
19385 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19386 # DIR into the resulting binary and the resulting library dependency is
19387 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19388 # library is relocated.
19389 hardcode_direct_absolute=$hardcode_direct_absolute
19391 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19392 # into the resulting binary.
19393 hardcode_minus_L=$hardcode_minus_L
19395 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19396 # into the resulting binary.
19397 hardcode_shlibpath_var=$hardcode_shlibpath_var
19399 # Set to "yes" if building a shared library automatically hardcodes DIR
19400 # into the library and all subsequent libraries and executables linked
19402 hardcode_automatic=$hardcode_automatic
19404 # Set to yes if linker adds runtime paths of dependent libraries
19405 # to runtime path list.
19406 inherit_rpath=$inherit_rpath
19408 # Whether libtool must link a program against all its dependency libraries.
19409 link_all_deplibs=$link_all_deplibs
19411 # Set to "yes" if exported symbols are required.
19412 always_export_symbols=$always_export_symbols
19414 # The commands to list exported symbols.
19415 export_symbols_cmds=$lt_export_symbols_cmds
19417 # Symbols that should not be listed in the preloaded symbols.
19418 exclude_expsyms=$lt_exclude_expsyms
19420 # Symbols that must always be exported.
19421 include_expsyms=$lt_include_expsyms
19423 # Commands necessary for linking programs (against libraries) with templates.
19424 prelink_cmds=$lt_prelink_cmds
19426 # Commands necessary for finishing linking programs.
19427 postlink_cmds=$lt_postlink_cmds
19429 # Specify filename containing input files.
19430 file_list_spec=$lt_file_list_spec
19432 # How to hardcode a shared library path into an executable.
19433 hardcode_action=$hardcode_action
19435 # The directories searched by this compiler when creating a shared library.
19436 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19438 # Dependencies to place before and after the objects being linked to
19439 # create a shared library.
19440 predep_objects=$lt_predep_objects
19441 postdep_objects=$lt_postdep_objects
19442 predeps=$lt_predeps
19443 postdeps=$lt_postdeps
19445 # The library search path used internally by the compiler when linking
19446 # a shared library.
19447 compiler_lib_search_path=$lt_compiler_lib_search_path
19449 # ### END LIBTOOL CONFIG
19455 cat <<\_LT_EOF >> "$cfgfile"
19456 # AIX sometimes has problems with the GCC collect2 program. For some
19457 # reason, if we set the COLLECT_NAMES environment variable, the problems
19458 # vanish in a puff of smoke.
19459 if test "X${COLLECT_NAMES+set}" != Xset; then
19461 export COLLECT_NAMES
19468 ltmain="$ac_aux_dir/ltmain.sh"
19471 # We use sed instead of cat because bash on DJGPP gets confused if
19472 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19473 # text mode, it properly converts lines to CR/LF. This bash problem
19474 # is reportedly fixed, but why not run on old versions too?
19475 sed '$q' "$ltmain" >> "$cfgfile" \
19476 || (rm -f "$cfgfile"; exit 1)
19478 if test x"$xsi_shell" = xyes; then
19479 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19483 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19484 \ * ) func_dirname_result="${3}" ;;\
19486 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19487 && mv -f "$cfgfile.tmp" "$cfgfile" \
19488 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19489 test 0 -eq $? || _lt_function_replace_fail=:
19492 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19495 \ func_basename_result="${1##*/}"\
19496 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19497 && mv -f "$cfgfile.tmp" "$cfgfile" \
19498 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19499 test 0 -eq $? || _lt_function_replace_fail=:
19502 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19503 func_dirname_and_basename ()\
19506 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19507 \ * ) func_dirname_result="${3}" ;;\
19509 \ func_basename_result="${1##*/}"\
19510 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19511 && mv -f "$cfgfile.tmp" "$cfgfile" \
19512 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19513 test 0 -eq $? || _lt_function_replace_fail=:
19516 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19519 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19520 \ # positional parameters, so assign one to ordinary parameter first.\
19521 \ func_stripname_result=${3}\
19522 \ func_stripname_result=${func_stripname_result#"${1}"}\
19523 \ func_stripname_result=${func_stripname_result%"${2}"}\
19524 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19525 && mv -f "$cfgfile.tmp" "$cfgfile" \
19526 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19527 test 0 -eq $? || _lt_function_replace_fail=:
19530 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19531 func_split_long_opt ()\
19533 \ func_split_long_opt_name=${1%%=*}\
19534 \ func_split_long_opt_arg=${1#*=}\
19535 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19536 && mv -f "$cfgfile.tmp" "$cfgfile" \
19537 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19538 test 0 -eq $? || _lt_function_replace_fail=:
19541 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19542 func_split_short_opt ()\
19544 \ func_split_short_opt_arg=${1#??}\
19545 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19546 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19547 && mv -f "$cfgfile.tmp" "$cfgfile" \
19548 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19549 test 0 -eq $? || _lt_function_replace_fail=:
19552 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19556 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19557 \ *) func_lo2o_result=${1} ;;\
19559 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19560 && mv -f "$cfgfile.tmp" "$cfgfile" \
19561 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19562 test 0 -eq $? || _lt_function_replace_fail=:
19565 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19568 func_xform_result=${1%.*}.lo\
19569 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19570 && mv -f "$cfgfile.tmp" "$cfgfile" \
19571 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19572 test 0 -eq $? || _lt_function_replace_fail=:
19575 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19578 func_arith_result=$(( $* ))\
19579 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19580 && mv -f "$cfgfile.tmp" "$cfgfile" \
19581 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19582 test 0 -eq $? || _lt_function_replace_fail=:
19585 sed -e '/^func_len ()$/,/^} # func_len /c\
19588 func_len_result=${#1}\
19589 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19590 && mv -f "$cfgfile.tmp" "$cfgfile" \
19591 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19592 test 0 -eq $? || _lt_function_replace_fail=:
19596 if test x"$lt_shell_append" = xyes; then
19597 sed -e '/^func_append ()$/,/^} # func_append /c\
19600 eval "${1}+=\\${2}"\
19601 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19602 && mv -f "$cfgfile.tmp" "$cfgfile" \
19603 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19604 test 0 -eq $? || _lt_function_replace_fail=:
19607 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19608 func_append_quoted ()\
19610 \ func_quote_for_eval "${2}"\
19611 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19612 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19613 && mv -f "$cfgfile.tmp" "$cfgfile" \
19614 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19615 test 0 -eq $? || _lt_function_replace_fail=:
19618 # Save a `func_append' function call where possible by direct use of '+='
19619 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19620 && mv -f "$cfgfile.tmp" "$cfgfile" \
19621 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19622 test 0 -eq $? || _lt_function_replace_fail=:
19624 # Save a `func_append' function call even when '+=' is not available
19625 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19626 && mv -f "$cfgfile.tmp" "$cfgfile" \
19627 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19628 test 0 -eq $? || _lt_function_replace_fail=:
19631 if test x"$_lt_function_replace_fail" = x":"; then
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19633 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19637 mv -f "$cfgfile" "$ofile" ||
19638 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19642 cat <<_LT_EOF >> "$ofile"
19644 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19646 # The linker used to build libraries.
19649 # How to create reloadable object files.
19650 reload_flag=$lt_reload_flag_CXX
19651 reload_cmds=$lt_reload_cmds_CXX
19653 # Commands used to build an old-style archive.
19654 old_archive_cmds=$lt_old_archive_cmds_CXX
19656 # A language specific compiler.
19657 CC=$lt_compiler_CXX
19659 # Is the compiler the GNU compiler?
19662 # Compiler flag to turn off builtin functions.
19663 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19665 # Additional compiler flags for building library objects.
19666 pic_flag=$lt_lt_prog_compiler_pic_CXX
19668 # How to pass a linker flag through the compiler.
19669 wl=$lt_lt_prog_compiler_wl_CXX
19671 # Compiler flag to prevent dynamic linking.
19672 link_static_flag=$lt_lt_prog_compiler_static_CXX
19674 # Does compiler simultaneously support -c and -o options?
19675 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19677 # Whether or not to add -lc for building shared libraries.
19678 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19680 # Whether or not to disallow shared libs when runtime libs are static.
19681 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19683 # Compiler flag to allow reflexive dlopens.
19684 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19686 # Compiler flag to generate shared objects directly from archives.
19687 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19689 # Whether the compiler copes with passing no objects directly.
19690 compiler_needs_object=$lt_compiler_needs_object_CXX
19692 # Create an old-style archive from a shared archive.
19693 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19695 # Create a temporary old-style archive to link instead of a shared archive.
19696 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19698 # Commands used to build a shared archive.
19699 archive_cmds=$lt_archive_cmds_CXX
19700 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19702 # Commands used to build a loadable module if different from building
19703 # a shared archive.
19704 module_cmds=$lt_module_cmds_CXX
19705 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19707 # Whether we are building with GNU ld or not.
19708 with_gnu_ld=$lt_with_gnu_ld_CXX
19710 # Flag that allows shared libraries with undefined symbols to be built.
19711 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19713 # Flag that enforces no undefined symbols.
19714 no_undefined_flag=$lt_no_undefined_flag_CXX
19716 # Flag to hardcode \$libdir into a binary during linking.
19717 # This must work even if \$libdir does not exist
19718 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19720 # Whether we need a single "-rpath" flag with a separated argument.
19721 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19723 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19724 # DIR into the resulting binary.
19725 hardcode_direct=$hardcode_direct_CXX
19727 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19728 # DIR into the resulting binary and the resulting library dependency is
19729 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19730 # library is relocated.
19731 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19733 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19734 # into the resulting binary.
19735 hardcode_minus_L=$hardcode_minus_L_CXX
19737 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19738 # into the resulting binary.
19739 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19741 # Set to "yes" if building a shared library automatically hardcodes DIR
19742 # into the library and all subsequent libraries and executables linked
19744 hardcode_automatic=$hardcode_automatic_CXX
19746 # Set to yes if linker adds runtime paths of dependent libraries
19747 # to runtime path list.
19748 inherit_rpath=$inherit_rpath_CXX
19750 # Whether libtool must link a program against all its dependency libraries.
19751 link_all_deplibs=$link_all_deplibs_CXX
19753 # Set to "yes" if exported symbols are required.
19754 always_export_symbols=$always_export_symbols_CXX
19756 # The commands to list exported symbols.
19757 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19759 # Symbols that should not be listed in the preloaded symbols.
19760 exclude_expsyms=$lt_exclude_expsyms_CXX
19762 # Symbols that must always be exported.
19763 include_expsyms=$lt_include_expsyms_CXX
19765 # Commands necessary for linking programs (against libraries) with templates.
19766 prelink_cmds=$lt_prelink_cmds_CXX
19768 # Commands necessary for finishing linking programs.
19769 postlink_cmds=$lt_postlink_cmds_CXX
19771 # Specify filename containing input files.
19772 file_list_spec=$lt_file_list_spec_CXX
19774 # How to hardcode a shared library path into an executable.
19775 hardcode_action=$hardcode_action_CXX
19777 # The directories searched by this compiler when creating a shared library.
19778 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19780 # Dependencies to place before and after the objects being linked to
19781 # create a shared library.
19782 predep_objects=$lt_predep_objects_CXX
19783 postdep_objects=$lt_postdep_objects_CXX
19784 predeps=$lt_predeps_CXX
19785 postdeps=$lt_postdeps_CXX
19787 # The library search path used internally by the compiler when linking
19788 # a shared library.
19789 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19791 # ### END LIBTOOL TAG CONFIG: CXX
19795 "MSVC_Net2013/sigc++config.h":C) cp -f sigc++config.h MSVC_Net2013/sigc++config.h ;;
19803 ac_clean_files=$ac_clean_files_save
19805 test $ac_write_fail = 0 ||
19806 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19809 # configure is writing to config.log, and then calls config.status.
19810 # config.status does its own redirection, appending to config.log.
19811 # Unfortunately, on DOS this fails, as config.log is still kept open
19812 # by configure, so config.status won't be able to write to it; its
19813 # output is simply discarded. So we exec the FD to /dev/null,
19814 # effectively closing config.log, so it can be properly (re)opened and
19815 # appended to by config.status. When coming back to configure, we
19816 # need to make the FD available again.
19817 if test "$no_create" != yes; then
19819 ac_config_status_args=
19820 test "$silent" = yes &&
19821 ac_config_status_args="$ac_config_status_args --quiet"
19823 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19825 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19826 # would make configure fail if this is the last instruction.
19827 $ac_cs_success || as_fn_exit 1
19829 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19831 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}